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
|
|
|
|
|
*/
|
|
|
|
|
AUTHENTICATE = '/authenticate',
|
2021-01-17 12:54:49 -08:00
|
|
|
LOG_IN = '/login',
|
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-03-02 10:52:57 -08:00
|
|
|
ASSETS = '/assets',
|
2021-05-11 15:41:42 -07:00
|
|
|
ANALYTICS = '/analytics',
|
2021-09-02 19:05:13 -07:00
|
|
|
POLICIES = '/policies',
|
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';
|