* SponsorBlock categories * perf * remove todo * tweak * UI is working * Lint fix * changelog * Bug fix * Restore timer * Locale * Comment * tweaks * web app * remove unsued svelte ignore * lint web app --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
29 lines
822 B
TypeScript
29 lines
822 B
TypeScript
import { writable } from 'svelte/store';
|
|
import type { AppState, PlayletState } from './Types';
|
|
|
|
export const playletStateStore = writable({} as PlayletState);
|
|
|
|
export const appStateStore = writable({
|
|
screen: 'home',
|
|
} as AppState);
|
|
|
|
export const appThemeStore = writable("dark" as "dark" | "light");
|
|
|
|
export const preferencesModelStore = writable([] as any);
|
|
|
|
export const userPreferencesStore = writable({} as any);
|
|
|
|
export const invidiousVideoApiStore = writable({} as any);
|
|
|
|
export const homeLayoutStore = writable([] as any);
|
|
|
|
export const homeLayoutFileStore = writable([] as any);
|
|
|
|
export const sponsorBlockConfigStore = writable({} as any);
|
|
|
|
export const bookmarksStore = writable([] as any);
|
|
|
|
export const searchHistoryStore = writable([] as any);
|
|
|
|
export const translate = writable((s: string) => s as any);
|