@supernova-studio/client 0.46.8 → 0.46.10
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/dist/index.d.mts +34 -5
- package/dist/index.d.ts +34 -5
- package/dist/index.js +38 -30
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +154 -146
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/payloads/design-systems/version.ts +9 -1
package/package.json
CHANGED
|
@@ -15,7 +15,15 @@ export const DTOCreateVersionInput = z.object({
|
|
|
15
15
|
version: z.string().refine(validateDesignSystemVersion, {
|
|
16
16
|
message: "Invalid semantic versioning format",
|
|
17
17
|
}),
|
|
18
|
-
changeLog: z.string().
|
|
18
|
+
changeLog: z.string().optional(),
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
export type DTOCreateVersionInput = z.infer<typeof DTOCreateVersionInput>;
|
|
22
|
+
|
|
23
|
+
export const DTOUpdateVersionInput = z.object({
|
|
24
|
+
meta: ObjectMeta,
|
|
25
|
+
version: z.string(), // required for PUT, but not editable
|
|
26
|
+
changeLog: z.string(),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export type DTOUpdateVersionInput = z.infer<typeof DTOUpdateVersionInput>;
|