diff --git a/core/fetch/src/type.ts b/core/fetch/src/type.ts index 745d3586a..32e316370 100644 --- a/core/fetch/src/type.ts +++ b/core/fetch/src/type.ts @@ -128,3 +128,15 @@ export type AlwatrServiceResponse, TMeta = Recor | AlwatrServiceResponseSuccess | AlwatrServiceResponseSuccessWithMeta | AlwatrServiceResponseFailed; + +export type AlwatrDocumentMeta = { + formatVersion: number; + reversion: number; + lastUpdated: number; + lastAutoId: number; +}; + +export type AlwatrDocumentStorage = Omit< + AlwatrServiceResponseSuccessWithMeta, AlwatrDocumentMeta>, + 'statusCode' | 'errorCode' +>;