Parcourir la source

create type for apiv1 response

Shun Miyazawa il y a 4 ans
Parent
commit
b87848b982
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  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,
+};