mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
add: collections to the store.
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user