-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get workflow counts working with api
- Loading branch information
1 parent
b658da3
commit 124a3da
Showing
9 changed files
with
57 additions
and
73 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import { writable } from 'svelte/store'; | ||
import { derived } from 'svelte/store'; | ||
|
||
import type { GetClusterInfoResponse } from '$lib/types'; | ||
import { page } from '$app/stores'; | ||
|
||
export const cluster = writable<GetClusterInfoResponse>({}); | ||
export const cluster = derived([page], ([$page]) => { | ||
return $page.data?.cluster; | ||
}); |
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,33 +1,5 @@ | ||
import { writable } from 'svelte/store'; | ||
import { derived } from 'svelte/store'; | ||
|
||
import type { Settings } from '$lib/types/global'; | ||
import { page } from '$app/stores'; | ||
|
||
export const settings = writable<Settings>({ | ||
auth: { | ||
enabled: false, | ||
options: null, | ||
}, | ||
baseUrl: '', | ||
codec: { | ||
endpoint: '', | ||
passAccessToken: false, | ||
includeCredentials: false, | ||
}, | ||
defaultNamespace: null, | ||
disableWriteActions: false, | ||
batchActionsDisabled: false, | ||
workflowTerminateDisabled: false, | ||
workflowCancelDisabled: false, | ||
workflowSignalDisabled: false, | ||
workflowResetDisabled: false, | ||
hideWorkflowQueryErrors: false, | ||
showTemporalSystemNamespace: false, | ||
notifyOnNewVersion: false, | ||
feedbackURL: '', | ||
runtimeEnvironment: { | ||
isCloud: false, | ||
isLocal: true, | ||
envOverride: true, | ||
}, | ||
version: '', | ||
}); | ||
export const settings = derived([page], ([$page]) => $page.data.settings); |
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