Sfoglia il codice sorgente

create type for apiv1 response

Shun Miyazawa 4 anni fa
parent
commit
b87848b982
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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,
+};