Explorar o código

create type for apiv1 response

Shun Miyazawa %!s(int64=4) %!d(string=hai) anos
pai
achega
b87848b982
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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,
+};