Browse Source

create type for apiv1 response

Shun Miyazawa 4 năm trước cách đây
mục cha
commit
b87848b982
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      packages/app/src/interfaces/page.ts

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

@@ -70,3 +70,8 @@ export type IPageWithMeta<M = Record<string, unknown>> = {
   pageData: IPageHasId,
   pageMeta?: Partial<IPageInfo> & M,
 };
+
+export type IPageApiv1Result = {
+  ok: boolean
+  page: IPageHasId,
+};