refactor: repartition server-side and client-side code
This commit is contained in:
9
app/types/pages.ts
Normal file
9
app/types/pages.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { Page, Section } from '~/types/actions';
|
||||
|
||||
export type PageSection = Section & {
|
||||
validRootDomId?: boolean;
|
||||
};
|
||||
|
||||
export type PageMap = Record<string, Page | undefined>;
|
||||
|
||||
export type SectionMap = Record<string, PageSection | undefined>;
|
||||
Reference in New Issue
Block a user