summaryrefslogtreecommitdiff
path: root/frontend/src/store.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/store.tsx')
-rw-r--r--frontend/src/store.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx
index f0ad0c1b..55d1e731 100644
--- a/frontend/src/store.tsx
+++ b/frontend/src/store.tsx
@@ -32,6 +32,10 @@ export interface PluginInstallRequest {
// name: version
export type PluginUpdateMapping = Map<string, StorePluginVersion>;
+export async function getStore(): Promise<Store> {
+ return await getSetting<Store>('store', Store.Default);
+}
+
export async function getPluginList(): Promise<StorePlugin[]> {
let version = await window.DeckyPluginLoader.updateVersion();
let store = await getSetting<Store>('store', Store.Default);