* locale for web app * more translations * Rename profiles service to avoid locale conflict * More translation work * Lint fix --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
27 lines
754 B
TypeScript
27 lines
754 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 bookmarksStore = writable([] as any);
|
|
|
|
export const searchHistoryStore = writable([] as any);
|
|
|
|
export const tr = writable((s: string) => s as any);
|