Add plugin framework and settings UI
This commit is contained in:
@@ -75,4 +75,20 @@ export const queryKeys = {
|
||||
liveRuns: (companyId: string) => ["live-runs", companyId] as const,
|
||||
runIssues: (runId: string) => ["run-issues", runId] as const,
|
||||
org: (companyId: string) => ["org", companyId] as const,
|
||||
plugins: {
|
||||
all: ["plugins"] as const,
|
||||
examples: ["plugins", "examples"] as const,
|
||||
detail: (pluginId: string) => ["plugins", pluginId] as const,
|
||||
health: (pluginId: string) => ["plugins", pluginId, "health"] as const,
|
||||
uiContributions: (companyId?: string | null) =>
|
||||
["plugins", "ui-contributions", companyId ?? "global"] as const,
|
||||
config: (pluginId: string) => ["plugins", pluginId, "config"] as const,
|
||||
dashboard: (pluginId: string) => ["plugins", pluginId, "dashboard"] as const,
|
||||
logs: (pluginId: string) => ["plugins", pluginId, "logs"] as const,
|
||||
company: (companyId: string) => ["plugins", "company", companyId] as const,
|
||||
companyList: (companyId: string, available?: boolean) =>
|
||||
["plugins", "company", companyId, "list", available ?? "all"] as const,
|
||||
companyDetail: (companyId: string, pluginId: string) =>
|
||||
["plugins", "company", companyId, pluginId] as const,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user