Something went wrong. Try again.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728/** * The app's command line: one store, one instance. * * Module-scope, as `player()` and `library()` are — see lib/player/index.ts for the * argument, which is not about hot reloads so much as about there being one thing * for the UI to share. Here the question answers itself: there is one field on the * page, and two modes of it. * * Note what is *not* in it: the query. That is the library's needle and lives in * lib/library/query.ts, provided per mounted app, because a search belongs to the * collection it filters. */import { createCommandLineStore, type CommandLineStore } from "./store";
const instance: CommandLineStore = createCommandLineStore();
/** The line above the transport. */export function commandLine(): CommandLineStore { return instance;}
export type { CommandLineHost, CommandLineMode, CommandLineNotice, CommandLineStore,} from "./store";