Update busterAppRoutes.ts

This commit is contained in:
Nate Kelley 2025-04-07 22:19:43 -06:00
parent 5e5c6c7175
commit dd784ad703
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 18 additions and 0 deletions

View File

@ -5,10 +5,12 @@ export enum BusterAppRoutes {
APP_METRIC = '/app/metrics',
APP_METRIC_ID = '/app/metrics/:metricId',
APP_METRIC_ID_CHART = '/app/metrics/:metricId/chart',
APP_METRIC_ID_VERSION_NUMBER = '/app/metrics/:metricId/chart?metric_version_number=:versionNumber',
APP_METRIC_ID_FILE = '/app/metrics/:metricId/file',
APP_METRIC_ID_RESULTS = '/app/metrics/:metricId/results',
APP_DASHBOARDS = '/app/dashboards',
APP_DASHBOARD_ID = '/app/dashboards/:dashboardId',
APP_DASHBOARD_ID_VERSION_NUMBER = '/app/dashboards/:dashboardId?dashboard_version_number=:versionNumber',
APP_DASHBOARD_ID_FILE = '/app/dashboards/:dashboardId/file',
APP_LOGS = '/app/logs',
APP_DATASETS = '/app/datasets',
@ -56,6 +58,11 @@ export type BusterAppRoutesWithArgs = {
route: BusterAppRoutes.APP_METRIC_ID_CHART;
metricId: string;
};
[BusterAppRoutes.APP_METRIC_ID_VERSION_NUMBER]: {
route: BusterAppRoutes.APP_METRIC_ID_VERSION_NUMBER;
metricId: string;
versionNumber: string;
};
[BusterAppRoutes.APP_METRIC_ID_FILE]: {
route: BusterAppRoutes.APP_METRIC_ID_FILE;
metricId: string;
@ -69,6 +76,11 @@ export type BusterAppRoutesWithArgs = {
route: BusterAppRoutes.APP_DASHBOARD_ID;
dashboardId: string;
};
[BusterAppRoutes.APP_DASHBOARD_ID_VERSION_NUMBER]: {
route: BusterAppRoutes.APP_DASHBOARD_ID_VERSION_NUMBER;
dashboardId: string;
versionNumber: string;
};
[BusterAppRoutes.APP_DASHBOARD_ID_FILE]: {
route: BusterAppRoutes.APP_DASHBOARD_ID_FILE;
dashboardId: string;
@ -146,6 +158,12 @@ export type BusterAppRoutesWithArgs = {
chatId: string;
dashboardId: string;
};
[BusterAppRoutes.APP_CHAT_ID_DASHBOARD_ID_VERSION_NUMBER]: {
route: BusterAppRoutes.APP_CHAT_ID_DASHBOARD_ID_VERSION_NUMBER;
chatId: string;
dashboardId: string;
versionNumber: string;
};
[BusterAppRoutes.APP_CHAT_ID_DASHBOARD_ID_FILE]: {
route: BusterAppRoutes.APP_CHAT_ID_DASHBOARD_ID_FILE;
chatId: string;