2021-01-17 12:54:49 -08:00
|
|
|
/*
|
2021-02-03 11:49:51 -08:00
|
|
|
Default top-level page route names (excludes entity pages)
|
2021-01-17 12:54:49 -08:00
|
|
|
*/
|
|
|
|
|
export enum PageRoutes {
|
2021-03-11 13:38:35 -08:00
|
|
|
/**
|
|
|
|
|
* Server-side authentication route
|
|
|
|
|
*/
|
2022-06-08 21:13:22 -04:00
|
|
|
ROOT = '/',
|
2021-03-11 13:38:35 -08:00
|
|
|
AUTHENTICATE = '/authenticate',
|
2022-06-08 21:13:22 -04:00
|
|
|
SIGN_UP = '/signup',
|
2021-01-17 12:54:49 -08:00
|
|
|
LOG_IN = '/login',
|
2022-06-08 21:13:22 -04:00
|
|
|
RESET_CREDENTIALS = '/reset',
|
2021-02-09 14:30:23 -08:00
|
|
|
SEARCH_RESULTS = '/search/:type?',
|
2021-01-17 12:54:49 -08:00
|
|
|
SEARCH = '/search',
|
2021-01-27 10:52:46 -08:00
|
|
|
BROWSE = '/browse',
|
2021-01-25 13:29:23 -08:00
|
|
|
BROWSE_RESULTS = '/browse/:type',
|
2021-01-17 12:54:49 -08:00
|
|
|
DATASETS = '/datasets',
|
2021-05-11 15:41:42 -07:00
|
|
|
ANALYTICS = '/analytics',
|
2021-09-02 19:05:13 -07:00
|
|
|
POLICIES = '/policies',
|
2022-08-30 18:31:34 -07:00
|
|
|
SETTINGS_POLICIES = '/settings/policies',
|
|
|
|
|
PERMISSIONS = '/permissions',
|
2021-10-07 16:14:35 -07:00
|
|
|
IDENTITIES = '/identities',
|
2022-01-27 10:33:12 -08:00
|
|
|
INGESTION = '/ingestion',
|
2021-11-22 16:33:14 -08:00
|
|
|
SETTINGS = '/settings',
|
2022-01-27 22:02:41 -08:00
|
|
|
DOMAINS = '/domains',
|
2023-09-18 16:14:33 -04:00
|
|
|
DOMAIN = '/domain',
|
2022-05-30 00:26:07 -04:00
|
|
|
GLOSSARY = '/glossary',
|
2024-12-11 18:45:46 -05:00
|
|
|
STRUCTURED_PROPERTIES = '/structured-properties',
|
2022-12-12 12:30:09 -08:00
|
|
|
SETTINGS_VIEWS = '/settings/views',
|
2023-01-26 12:14:31 -05:00
|
|
|
EMBED = '/embed',
|
2023-05-19 11:42:46 -07:00
|
|
|
EMBED_LOOKUP = '/embed/lookup/:url',
|
2023-08-23 21:30:27 -04:00
|
|
|
SETTINGS_POSTS = '/settings/posts',
|
2024-04-16 04:49:21 +05:30
|
|
|
BUSINESS_ATTRIBUTE = '/business-attribute',
|
2025-01-29 20:42:01 -05:00
|
|
|
INTRODUCE = '/introduce',
|
|
|
|
|
// Temporary route to view all data products
|
|
|
|
|
DATA_PRODUCTS = '/search?filter__entityType___false___EQUAL___0=DATA_PRODUCT&page=1&query=%2A&unionType=0',
|
2025-03-31 15:30:51 -07:00
|
|
|
MANAGE_TAGS = '/tags',
|
2025-07-08 06:50:33 -07:00
|
|
|
MANAGE_APPLICATIONS = '/applications',
|
2025-01-29 20:42:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum HelpLinkRoutes {
|
|
|
|
|
GRAPHIQL = '/api/graphiql',
|
|
|
|
|
OPENAPI = '/openapi/swagger-ui/index.html',
|
2021-01-17 12:54:49 -08:00
|
|
|
}
|
2021-03-11 13:38:35 -08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Name of the auth cookie checked on client side (contains the currently authenticated user urn).
|
|
|
|
|
*/
|
|
|
|
|
export const CLIENT_AUTH_COOKIE = 'actor';
|
2021-05-11 15:41:42 -07:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Name of the unique browser id cookie generated on client side
|
|
|
|
|
*/
|
|
|
|
|
export const BROWSER_ID_COOKIE = 'bid';
|
2024-07-27 02:54:23 +05:30
|
|
|
|
|
|
|
|
/** New Routes Map for redirection */
|
|
|
|
|
export const NEW_ROUTE_MAP = {
|
|
|
|
|
'/Validation/Assertions': '/Quality/List',
|
|
|
|
|
'/Validation/Tests': '/Governance/Tests',
|
|
|
|
|
'/Validation/Data%20Contract': '/Quality/Data%20Contract',
|
|
|
|
|
'/Validation': '/Quality',
|
|
|
|
|
};
|