← Public packages
@noah/mega-radio
MEGA Radio (the WAKE album) for members of the MEGA.dev Discord: sign in with Kody, verify with Discord, listen with repeat.
Files
/** This package's radio file store (internal; the owner-only ./audio-store export and the app use it). */
import { packageStorage } from 'kody:runtime'
import { createAudioStore } from './audio-core.ts'
export const store = createAudioStore(async (query, bindings = []) => {
const result = (await packageStorage().sql(query, bindings as never)) as { rows?: Record<string, unknown>[] } | null
return result?.rows ?? []
})