Add RESERVED_SLUGS constant and consolidate exports
Introduce a RESERVED_SLUGS constant to standardize restricted slugs across the application. Created a `constants/index.ts` file to centralize and streamline exports for better maintainability.
This commit is contained in:
1
frontend/src/constants/common.ts
Normal file
1
frontend/src/constants/common.ts
Normal file
@@ -0,0 +1 @@
|
||||
export const RESERVED_SLUGS = ["new", "edit", "delete", "settings"];
|
||||
1
frontend/src/constants/index.ts
Normal file
1
frontend/src/constants/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./common";
|
||||
Reference in New Issue
Block a user