Browse Source

Added IPageHasId

Taichi Masuyama 4 năm trước cách đây
mục cha
commit
0d976acb69

+ 4 - 0
packages/app/src/interfaces/page.ts

@@ -32,3 +32,7 @@ export type IPage = {
 }
 }
 
 
 export type IPageForItem = Partial<IPage & {isTarget?: boolean} & HasObjectId>;
 export type IPageForItem = Partial<IPage & {isTarget?: boolean} & HasObjectId>;
+
+export type IPageHasId = IPage & {
+  _id: string,
+};