@supernova-studio/client 0.55.26 → 0.55.28

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.55.26",
3
+ "version": "0.55.28",
4
4
  "description": "Supernova Data Models",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -44,15 +44,15 @@ export type DTODocumentationGroupV2 = z.infer<typeof DTODocumentationGroupV2>;
44
44
 
45
45
  export const DTOCreateDocumentationGroupInput = z.object({
46
46
  // Identifier
47
- persistentId: z.string().uuid(),
47
+ persistentId: z.string(),
48
48
 
49
49
  // Group properties
50
50
  title: z.string(),
51
51
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
52
52
 
53
53
  // Group placement properties
54
- afterPersistentId: z.string().uuid().nullish(),
55
- parentPersistentId: z.string().uuid(),
54
+ afterPersistentId: z.string().nullish(),
55
+ parentPersistentId: z.string(),
56
56
  });
57
57
 
58
58
  export const DTOUpdateDocumentationGroupInput = z.object({
@@ -69,8 +69,8 @@ export const DTOMoveDocumentationGroupInput = z.object({
69
69
  id: z.string(),
70
70
 
71
71
  // Group placement properties
72
- parentPersistentId: z.string().uuid(),
73
- afterPersistentId: z.string().uuid().nullish(),
72
+ parentPersistentId: z.string(),
73
+ afterPersistentId: z.string().nullish(),
74
74
  });
75
75
 
76
76
  export const DTODuplicateDocumentationGroupInput = z.object({
@@ -78,16 +78,16 @@ export const DTODuplicateDocumentationGroupInput = z.object({
78
78
  id: z.string(),
79
79
 
80
80
  // New group persistent id
81
- persistentId: z.string().uuid(),
81
+ persistentId: z.string(),
82
82
 
83
83
  // Group placement properties
84
- afterPersistentId: z.string().uuid().nullish(),
85
- parentPersistentId: z.string().uuid(),
84
+ afterPersistentId: z.string().nullish(),
85
+ parentPersistentId: z.string(),
86
86
  });
87
87
 
88
88
  export const DTOCreateDocumentationTabInput = z.object({
89
89
  // New group persistent id
90
- persistentId: z.string().uuid(),
90
+ persistentId: z.string(),
91
91
 
92
92
  // If this is page, we will attempt to convert it to tab
93
93
  // If this is tab group, we will add a new tab to it
@@ -49,15 +49,15 @@ export type DTODocumentationPageV2 = z.infer<typeof DTODocumentationPageV2>;
49
49
 
50
50
  export const DTOCreateDocumentationPageInputV2 = z.object({
51
51
  // Identifier
52
- persistentId: z.string().uuid(),
52
+ persistentId: z.string(),
53
53
 
54
54
  // Page properties
55
55
  title: z.string(),
56
56
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
57
57
 
58
58
  // Page placement properties
59
- parentPersistentId: z.string().uuid(),
60
- afterPersistentId: z.string().uuid().nullish(),
59
+ parentPersistentId: z.string(),
60
+ afterPersistentId: z.string().nullish(),
61
61
  });
62
62
 
63
63
  export const DTOUpdateDocumentationPageInputV2 = z.object({
@@ -74,8 +74,8 @@ export const DTOMoveDocumentationPageInputV2 = z.object({
74
74
  id: z.string(),
75
75
 
76
76
  // Page placement properties
77
- parentPersistentId: z.string().uuid(),
78
- afterPersistentId: z.string().uuid().nullish(),
77
+ parentPersistentId: z.string(),
78
+ afterPersistentId: z.string().nullish(),
79
79
  });
80
80
 
81
81
  export const DTODuplicateDocumentationPageInputV2 = z.object({
@@ -83,11 +83,11 @@ export const DTODuplicateDocumentationPageInputV2 = z.object({
83
83
  id: z.string(),
84
84
 
85
85
  // New page persistent id
86
- persistentId: z.string().uuid(),
86
+ persistentId: z.string(),
87
87
 
88
88
  // Page placement properties
89
- parentPersistentId: z.string().uuid(),
90
- afterPersistentId: z.string().uuid().nullish(),
89
+ parentPersistentId: z.string(),
90
+ afterPersistentId: z.string().nullish(),
91
91
  });
92
92
 
93
93
  export const DTODeleteDocumentationPageInputV2 = z.object({