@supernova-studio/client 0.59.18 → 0.59.19
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 +5217 -2055
- package/dist/index.d.ts +5217 -2055
- package/dist/index.js +22 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/documentation/page-actions-v2.ts +17 -0
- package/src/api/dto/elements/documentation/page-v2.ts +11 -2
- package/src/api/dto/elements/elements-action-v2.ts +4 -0
package/dist/index.mjs
CHANGED
|
@@ -4420,9 +4420,7 @@ var RestoredDocumentationPage = z152.object({
|
|
|
4420
4420
|
page: DocumentationPageV2,
|
|
4421
4421
|
pageParent: ElementGroup,
|
|
4422
4422
|
pageContent: DocumentationPageContentData,
|
|
4423
|
-
contentHash: z152.string()
|
|
4424
|
-
snapshotId: z152.string(),
|
|
4425
|
-
roomId: z152.string().optional()
|
|
4423
|
+
contentHash: z152.string()
|
|
4426
4424
|
});
|
|
4427
4425
|
var RestoredDocumentationGroup = z152.object({
|
|
4428
4426
|
group: ElementGroup,
|
|
@@ -6472,12 +6470,18 @@ var DTOCreateDocumentationPageInputV2 = z227.object({
|
|
|
6472
6470
|
afterPersistentId: z227.string().nullish()
|
|
6473
6471
|
});
|
|
6474
6472
|
var DTOUpdateDocumentationPageInputV2 = z227.object({
|
|
6475
|
-
// Identifier of the
|
|
6473
|
+
// Identifier of the page to update
|
|
6476
6474
|
id: z227.string(),
|
|
6477
6475
|
// Page properties
|
|
6478
6476
|
title: z227.string().optional(),
|
|
6479
6477
|
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
6480
6478
|
});
|
|
6479
|
+
var DTOUpdateDocumentationPageDocumentInputV2 = z227.object({
|
|
6480
|
+
// Identifier of the page to update
|
|
6481
|
+
id: z227.string(),
|
|
6482
|
+
// Page properties
|
|
6483
|
+
documentItems: z227.array(DocumentationPageContentItem)
|
|
6484
|
+
});
|
|
6481
6485
|
var DTOMoveDocumentationPageInputV2 = z227.object({
|
|
6482
6486
|
// Identifier of the group to update
|
|
6483
6487
|
id: z227.string(),
|
|
@@ -6954,6 +6958,10 @@ var DTODocumentationPageUpdateActionOutputV2 = z242.object({
|
|
|
6954
6958
|
type: z242.literal("DocumentationPageUpdate"),
|
|
6955
6959
|
output: SuccessPayload2
|
|
6956
6960
|
});
|
|
6961
|
+
var DTODocumentationPageUpdateDocumentActionOutputV2 = z242.object({
|
|
6962
|
+
type: z242.literal("DocumentationPageUpdateDocument"),
|
|
6963
|
+
output: SuccessPayload2
|
|
6964
|
+
});
|
|
6957
6965
|
var DTODocumentationPageMoveActionOutputV2 = z242.object({
|
|
6958
6966
|
type: z242.literal("DocumentationPageMove"),
|
|
6959
6967
|
output: SuccessPayload2
|
|
@@ -6986,6 +6994,10 @@ var DTODocumentationPageUpdateActionInputV2 = z242.object({
|
|
|
6986
6994
|
type: z242.literal("DocumentationPageUpdate"),
|
|
6987
6995
|
input: DTOUpdateDocumentationPageInputV2
|
|
6988
6996
|
});
|
|
6997
|
+
var DTODocumentationPageUpdateDocumentActionInputV2 = z242.object({
|
|
6998
|
+
type: z242.literal("DocumentationPageUpdateDocument"),
|
|
6999
|
+
input: DTOUpdateDocumentationPageDocumentInputV2
|
|
7000
|
+
});
|
|
6989
7001
|
var DTODocumentationPageMoveActionInputV2 = z242.object({
|
|
6990
7002
|
type: z242.literal("DocumentationPageMove"),
|
|
6991
7003
|
input: DTOMoveDocumentationPageInputV2
|
|
@@ -7264,6 +7276,7 @@ var DTOElementActionOutput = z253.discriminatedUnion("type", [
|
|
|
7264
7276
|
// Documentation pages
|
|
7265
7277
|
DTODocumentationPageCreateActionOutputV2,
|
|
7266
7278
|
DTODocumentationPageUpdateActionOutputV2,
|
|
7279
|
+
DTODocumentationPageUpdateDocumentActionOutputV2,
|
|
7267
7280
|
DTODocumentationPageMoveActionOutputV2,
|
|
7268
7281
|
DTODocumentationPageDuplicateActionOutputV2,
|
|
7269
7282
|
DTODocumentationPageDeleteActionOutputV2,
|
|
@@ -7288,6 +7301,7 @@ var DTOElementActionInput = z253.discriminatedUnion("type", [
|
|
|
7288
7301
|
// Documentation pages
|
|
7289
7302
|
DTODocumentationPageCreateActionInputV2,
|
|
7290
7303
|
DTODocumentationPageUpdateActionInputV2,
|
|
7304
|
+
DTODocumentationPageUpdateDocumentActionInputV2,
|
|
7291
7305
|
DTODocumentationPageMoveActionInputV2,
|
|
7292
7306
|
DTODocumentationPageDuplicateActionInputV2,
|
|
7293
7307
|
DTODocumentationPageDeleteActionInputV2,
|
|
@@ -13581,6 +13595,8 @@ export {
|
|
|
13581
13595
|
DTODocumentationPageSnapshot,
|
|
13582
13596
|
DTODocumentationPageUpdateActionInputV2,
|
|
13583
13597
|
DTODocumentationPageUpdateActionOutputV2,
|
|
13598
|
+
DTODocumentationPageUpdateDocumentActionInputV2,
|
|
13599
|
+
DTODocumentationPageUpdateDocumentActionOutputV2,
|
|
13584
13600
|
DTODocumentationPageV2,
|
|
13585
13601
|
DTODocumentationPublishMetadata,
|
|
13586
13602
|
DTODocumentationPublishTypeQueryParams,
|
|
@@ -13732,6 +13748,7 @@ export {
|
|
|
13732
13748
|
DTOTokenCollectionsListReponse,
|
|
13733
13749
|
DTOTransferOwnershipPayload,
|
|
13734
13750
|
DTOUpdateDocumentationGroupInput,
|
|
13751
|
+
DTOUpdateDocumentationPageDocumentInputV2,
|
|
13735
13752
|
DTOUpdateDocumentationPageInputV2,
|
|
13736
13753
|
DTOUpdateUserNotificationSettingsPayload,
|
|
13737
13754
|
DTOUpdateVersionInput,
|