-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
2 changed files
with
43 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters