api-arreya-types 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/presentation.type.d.ts +4 -0
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Account, CreateAccount, UpdateAccount, CreateAccountRequestBody, UpdateAccountDBRequestBody, UpdateAccountSubscriptionRequestBody } from './account.type';
|
|
2
2
|
export { Device, CreateDevice, UpdateDevice, CreateDeviceRequestBody, UpdateDeviceRequestBody, PairDeviceRequestBody } from './device.type';
|
|
3
|
-
export { File, CreateFile, UpdateFile, CreateFilesRequestBody, UploadFileRequestBody, UpdateFileRequestBody, UpdateFilesRequestBody } from './file.type';
|
|
3
|
+
export { File, CreateFile, UpdateFile, UpdateFiles, CreateFilesRequestBody, UploadFileRequestBody, UpdateFileRequestBody, UpdateFilesRequestBody } from './file.type';
|
|
4
4
|
export { Folder, CreateFolder, UpdateFolder, CreateFolderRequestBody, UpdateFolderRequestBody } from './folder.type';
|
|
5
5
|
export { Page, CreatePage, UpdatePage, CreatePageRequestBody, UpdatePageRequestBody } from './page.type';
|
|
6
6
|
export { Presentation, CreatePresentation, UpdatePresentation, CreatePresentationRequestBody, UpdatePresentationRequestBody } from './presentation.type';
|
package/package.json
CHANGED
package/presentation.type.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { Page } from './page.type';
|
|
2
3
|
export declare const Presentation: z.ZodObject<{
|
|
3
4
|
id: z.ZodString;
|
|
4
5
|
projectId: z.ZodString;
|
|
@@ -199,6 +200,9 @@ export declare const CreatePresentationRequestBody: z.ZodDiscriminatedUnion<"tem
|
|
|
199
200
|
templateId?: null | undefined;
|
|
200
201
|
}>]>;
|
|
201
202
|
export type Presentation = z.infer<typeof Presentation>;
|
|
203
|
+
export type PresentationExtended = Presentation & {
|
|
204
|
+
pages: Page[];
|
|
205
|
+
};
|
|
202
206
|
export type CreatePresentation = z.infer<typeof CreatePresentation>;
|
|
203
207
|
export type UpdatePresentation = z.infer<typeof UpdatePresentation>;
|
|
204
208
|
export type CreatePresentationRequestBody = z.infer<typeof CreatePresentationRequestBody>;
|