-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34cd0c0
commit 3f068a1
Showing
3 changed files
with
79 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/routes/console/project-[project]/messaging/topics/store.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
import type { Column } from '$lib/helpers/types'; | ||
import { writable } from 'svelte/store'; | ||
|
||
export let showCreate = writable(false); | ||
|
||
export const columns = writable<Column[]>([ | ||
{ id: '$id', title: 'Topic ID', type: 'string', show: true, width: 140 }, | ||
{ id: 'name', title: 'Name', type: 'string', show: true, width: 140 }, | ||
{ id: 'total', title: 'Subscribers', type: 'integer', show: true, width: 140 }, | ||
{ id: '$createdAt', title: 'Created', type: 'datetime', show: true, width: 140 } | ||
]); |