@supernova-studio/client 0.15.0 → 0.16.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supernova-studio/client",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Supernova Data Models",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -29,7 +29,7 @@ export const DTODuplicateDocumentationPageInput = z.object({
29
29
  afterPersistentId: z.string().uuid().optional(),
30
30
  });
31
31
 
32
- export const DTODocumentationTransactionInput = z.object({
32
+ export const DTODocumentationElementsTransactionInput = z.object({
33
33
  create: z.array(DTOCreateDocumentationPageInput).optional(),
34
34
  update: z.array(DTOUpdateDocumentationPageInput).optional(),
35
35
  duplicate: z.array(DTODuplicateDocumentationPageInput).optional(),
@@ -40,14 +40,14 @@ export type DTOCreateDocumentationPageInput = z.infer<typeof DTOCreateDocumentat
40
40
  export type DTOUpdateDocumentationPageInput = z.infer<typeof DTOUpdateDocumentationPageInput>;
41
41
  export type DTODuplicateDocumentationPageInput = z.infer<typeof DTODuplicateDocumentationPageInput>;
42
42
 
43
- export type DTODocumentationTransactionInput = z.infer<typeof DTODocumentationTransactionInput>;
43
+ export type DTODocumentationElementsTransactionInput = z.infer<typeof DTODocumentationElementsTransactionInput>;
44
44
 
45
45
  //
46
46
  // Transaction
47
47
  //
48
48
 
49
49
  export const DTOElementsTransactionInput = z.object({
50
- documentationPages: DTODocumentationTransactionInput,
50
+ documentationPages: DTODocumentationElementsTransactionInput,
51
51
  });
52
52
 
53
53
  export type DTOElementsTransactionInput = z.infer<typeof DTOElementsTransactionInput>;