mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 18:10:39 +09:00
Add instance heartbeat settings sidebar
This commit is contained in:
parent
369dfa4397
commit
32bdcf1dca
12 changed files with 250 additions and 8 deletions
|
|
@ -14,7 +14,7 @@ const BOARD_ROUTE_ROOTS = new Set([
|
|||
"design-guide",
|
||||
]);
|
||||
|
||||
const GLOBAL_ROUTE_ROOTS = new Set(["auth", "invite", "board-claim", "docs"]);
|
||||
const GLOBAL_ROUTE_ROOTS = new Set(["auth", "invite", "board-claim", "docs", "instance"]);
|
||||
|
||||
export function normalizeCompanyPrefix(prefix: string): string {
|
||||
return prefix.trim().toUpperCase();
|
||||
|
|
|
|||
|
|
@ -56,6 +56,9 @@ export const queryKeys = {
|
|||
auth: {
|
||||
session: ["auth", "session"] as const,
|
||||
},
|
||||
instance: {
|
||||
schedulerHeartbeats: ["instance", "scheduler-heartbeats"] as const,
|
||||
},
|
||||
health: ["health"] as const,
|
||||
secrets: {
|
||||
list: (companyId: string) => ["secrets", companyId] as const,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue