mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-20 00:46:46 +00:00
16 lines
372 B
TypeScript
16 lines
372 B
TypeScript
|
|
import ROUTES from 'constants/routes';
|
||
|
|
|
||
|
|
export const SOURCEPAGE_VS_ROUTES: {
|
||
|
|
[key: string]: Partial<typeof ROUTES[keyof typeof ROUTES]>;
|
||
|
|
} = {
|
||
|
|
logs: ROUTES.LOGS_EXPLORER,
|
||
|
|
traces: ROUTES.TRACES_EXPLORER,
|
||
|
|
} as const;
|
||
|
|
|
||
|
|
export const ROUTES_VS_SOURCEPAGE: {
|
||
|
|
[key: string]: string;
|
||
|
|
} = {
|
||
|
|
[ROUTES.LOGS_SAVE_VIEWS]: 'logs',
|
||
|
|
[ROUTES.TRACES_SAVE_VIEWS]: 'traces',
|
||
|
|
} as const;
|