Add testing store info to browse tab (#504)

This commit is contained in:
EMERALD
2023-07-12 18:52:32 -05:00
committed by GitHub
parent 7c805e9b80
commit 6d086fb5d5
3 changed files with 49 additions and 7 deletions
+4
View File
@@ -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);