Add a new type
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
import { ACCOUNTS_PAGES, AUTH_PAGES, PHOTOS_PAGES } from "../constants/pages";
|
||||
|
||||
/**
|
||||
* Arbitrary names that we used as keys for indexing various constants for each
|
||||
* of our apps.
|
||||
*/
|
||||
export type AppName = "account" | "albums" | "auth" | "photos";
|
||||
|
||||
export enum APPS {
|
||||
PHOTOS = "PHOTOS",
|
||||
AUTH = "AUTH",
|
||||
|
||||
Reference in New Issue
Block a user