feat: add more relevant links to the From the Team section (#380)
* feat: add more relevant links to the From the Team section * feat: add CRXPages.ts * chore: update to TS 4.9 satisfies --------- Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
This commit is contained in:
15
src/shared/types/CRXPages.ts
Normal file
15
src/shared/types/CRXPages.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* An object containing the paths to various pages used in the CRX application.
|
||||
*/
|
||||
export const CRX_PAGES = {
|
||||
DEBUG: '/debug.html',
|
||||
CALENDAR: '/calendar.html',
|
||||
OPTIONS: '/options.html',
|
||||
REPORT: '/report.html',
|
||||
} as const;
|
||||
|
||||
/**
|
||||
* Represents a type that corresponds to the keys of the `CRX_PAGES` object.
|
||||
* This type is used to ensure that only valid page keys are used within the application.
|
||||
*/
|
||||
export type CRX_Page = keyof typeof CRX_PAGES;
|
||||
Reference in New Issue
Block a user