@supernova-studio/client 0.48.22 → 0.48.24
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 +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3461,18 +3461,18 @@ var DesignSystemWithWorkspace = z115.object({
|
|
|
3461
3461
|
});
|
|
3462
3462
|
var DS_NAME_MIN_LENGTH = 2;
|
|
3463
3463
|
var DS_NAME_MAX_LENGTH = 64;
|
|
3464
|
-
var DS_DESC_MAX_LENGTH =
|
|
3464
|
+
var DS_DESC_MAX_LENGTH = 2048;
|
|
3465
3465
|
var DesignSystemUpdateInputMetadata = z116.object({
|
|
3466
3466
|
name: z116.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim().optional(),
|
|
3467
3467
|
description: z116.string().max(DS_DESC_MAX_LENGTH).trim().optional()
|
|
3468
3468
|
});
|
|
3469
3469
|
var DesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
3470
3470
|
id: true,
|
|
3471
|
+
workspaceId: true,
|
|
3471
3472
|
createdAt: true,
|
|
3472
3473
|
updatedAt: true,
|
|
3473
3474
|
docSlug: true,
|
|
3474
|
-
docViewUrl: true
|
|
3475
|
-
designSystemSwitcher: true
|
|
3475
|
+
docViewUrl: true
|
|
3476
3476
|
}).extend({
|
|
3477
3477
|
meta: DesignSystemUpdateInputMetadata.optional()
|
|
3478
3478
|
});
|
|
@@ -3713,12 +3713,15 @@ var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.ex
|
|
|
3713
3713
|
pageItems: z126.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
3714
3714
|
blockDefinitions: z126.array(PageBlockDefinition)
|
|
3715
3715
|
});
|
|
3716
|
+
var DocumentationPageRestorationType = z126.enum(["Restore", "Revert"]);
|
|
3716
3717
|
var RestoredDocumentationPage = z126.object({
|
|
3717
3718
|
page: DocumentationPageV2,
|
|
3718
3719
|
pageParent: ElementGroup,
|
|
3719
3720
|
pageContent: DocumentationPageContentData,
|
|
3720
3721
|
contentHash: z126.string(),
|
|
3721
|
-
|
|
3722
|
+
snapshotId: z126.string(),
|
|
3723
|
+
roomId: z126.string().optional(),
|
|
3724
|
+
type: DocumentationPageRestorationType
|
|
3722
3725
|
});
|
|
3723
3726
|
var RestoredDocumentationGroup = z126.object({
|
|
3724
3727
|
group: ElementGroup,
|