add: collections to the store.

This commit is contained in:
ItzNotABug
2024-08-14 13:57:31 +05:30
parent ada3580321
commit 8e77586335
@@ -5,6 +5,7 @@ import { derived, writable } from 'svelte/store';
export const database = derived(page, ($page) => $page.data.database as Models.Database);
export const showCreate = writable(false);
export const collections = writable<Models.CollectionList>({ total: 0, collections: [] });
export const columns = writable<Column[]>([
{ id: '$id', title: 'Collection ID', type: 'string', show: true, width: 150 },