Kaynağa Gözat

create type for apiv1 response

Shun Miyazawa 4 yıl önce
ebeveyn
işleme
b87848b982
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  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,
+};