feat: citizenship built
This commit is contained in:
+14
-2
@@ -17,12 +17,24 @@ export type Page = {
|
||||
status: PageStatus;
|
||||
meta: PageMeta;
|
||||
createdAt: Date;
|
||||
updatedAt: Date | null;
|
||||
updatedAt: Date;
|
||||
publishedAt: Date | null;
|
||||
createdBy: string;
|
||||
createdBy: string | null;
|
||||
updatedBy: string | null;
|
||||
}
|
||||
|
||||
export type PagePublic = {
|
||||
id: string;
|
||||
slug: string;
|
||||
title: string;
|
||||
type: PageType;
|
||||
status: PageStatus;
|
||||
meta: PageMeta;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
publishedAt: Date | null;
|
||||
}
|
||||
|
||||
export const BLOCK_TYPES = ["PARAGRAPH", "HEADING", "QUOTE", "DIVIDER", "CALLOUT", "IMAGE", "LIST", "TABLE", "LINK"] as const;
|
||||
export type BlockType = typeof BLOCK_TYPES[number];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user