@supernova-studio/client 0.42.0 → 0.44.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/dist/index.d.mts +2089 -434
- package/dist/index.d.ts +2089 -434
- package/dist/index.js +80 -46
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +510 -476
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/conversion/documentation/documentation-group-v2-to-dto.ts +1 -0
- package/src/api/conversion/documentation/documentation-page-v2-to-dto.ts +1 -0
- package/src/api/conversion/index.ts +1 -0
- package/src/api/conversion/integrations/index.ts +1 -0
- package/src/api/conversion/integrations/integration.ts +12 -0
- package/src/api/dto/elements/documentation/group-v2.ts +5 -7
- package/src/api/dto/elements/documentation/page-v2.ts +8 -9
- package/src/api/dto/workspaces/integrations.ts +12 -1
- package/src/api/payloads/liveblocks/auth.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -230,6 +230,8 @@ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr)
|
|
|
230
230
|
|
|
231
231
|
|
|
232
232
|
|
|
233
|
+
|
|
234
|
+
|
|
233
235
|
|
|
234
236
|
|
|
235
237
|
|
|
@@ -331,7 +333,8 @@ var FeaturesSummary = _zod.z.object({
|
|
|
331
333
|
sso: featureToggleSchema,
|
|
332
334
|
workspacePaidSeats: featureLimitedSchema,
|
|
333
335
|
workspaceViewers: featureLimitedSchema,
|
|
334
|
-
customDocumentationExporter: featureToggleSchema
|
|
336
|
+
customDocumentationExporter: featureToggleSchema,
|
|
337
|
+
protectedPages: featureToggleSchema
|
|
335
338
|
});
|
|
336
339
|
var InvoiceSchema = _zod.z.object({
|
|
337
340
|
id: _zod.z.string(),
|
|
@@ -1284,8 +1287,8 @@ var defaultDocumentationItemHeaderV2 = {
|
|
|
1284
1287
|
};
|
|
1285
1288
|
var DocumentationItemConfigurationV2 = _zod.z.object({
|
|
1286
1289
|
showSidebar: _zod.z.boolean(),
|
|
1287
|
-
isPrivate: _zod.z.boolean()
|
|
1288
|
-
isHidden: _zod.z.boolean()
|
|
1290
|
+
isPrivate: _zod.z.boolean(),
|
|
1291
|
+
isHidden: _zod.z.boolean(),
|
|
1289
1292
|
header: DocumentationItemHeaderV2
|
|
1290
1293
|
});
|
|
1291
1294
|
var DocumentationPageDataV2 = _zod.z.object({
|
|
@@ -2886,6 +2889,11 @@ var UserLinkedIntegrations = _zod.z.object({
|
|
|
2886
2889
|
gitlab: IntegrationUserInfo.array().optional(),
|
|
2887
2890
|
bitbucket: IntegrationUserInfo.array().optional()
|
|
2888
2891
|
});
|
|
2892
|
+
var CreateUserInput = _zod.z.object({
|
|
2893
|
+
email: _zod.z.string(),
|
|
2894
|
+
name: _zod.z.string(),
|
|
2895
|
+
username: _zod.z.string()
|
|
2896
|
+
});
|
|
2889
2897
|
var UserIdentity = _zod.z.object({
|
|
2890
2898
|
id: _zod.z.string(),
|
|
2891
2899
|
userId: _zod.z.string()
|
|
@@ -2907,6 +2915,10 @@ var UserProfile = _zod.z.object({
|
|
|
2907
2915
|
nickname: _zod.z.string().optional(),
|
|
2908
2916
|
onboarding: UserOnboarding.optional()
|
|
2909
2917
|
});
|
|
2918
|
+
var UserTest = _zod.z.object({
|
|
2919
|
+
id: _zod.z.string(),
|
|
2920
|
+
email: _zod.z.string()
|
|
2921
|
+
});
|
|
2910
2922
|
var User = _zod.z.object({
|
|
2911
2923
|
id: _zod.z.string(),
|
|
2912
2924
|
email: _zod.z.string(),
|
|
@@ -2966,13 +2978,6 @@ var ExternalOAuthRequest = _zod.z.object({
|
|
|
2966
2978
|
state: _zod.z.string(),
|
|
2967
2979
|
createdAt: _zod.z.coerce.date()
|
|
2968
2980
|
});
|
|
2969
|
-
var IntegrationType = _zod.z.enum(["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]);
|
|
2970
|
-
var Integration = _zod.z.object({
|
|
2971
|
-
id: _zod.z.string(),
|
|
2972
|
-
workspaceId: _zod.z.string(),
|
|
2973
|
-
type: IntegrationType,
|
|
2974
|
-
createdAt: _zod.z.coerce.date()
|
|
2975
|
-
});
|
|
2976
2981
|
var IntegrationCredentialsType = _zod.z.enum(["OAuth2", "PAT"]);
|
|
2977
2982
|
var IntegrationCredentialsProfile = _zod.z.object({
|
|
2978
2983
|
id: _zod.z.string(),
|
|
@@ -2989,6 +2994,14 @@ var IntegrationCredentialsSchema = _zod.z.object({
|
|
|
2989
2994
|
refreshToken: _zod.z.string().optional(),
|
|
2990
2995
|
profile: IntegrationCredentialsProfile.optional()
|
|
2991
2996
|
});
|
|
2997
|
+
var IntegrationType = _zod.z.enum(["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]);
|
|
2998
|
+
var Integration = _zod.z.object({
|
|
2999
|
+
id: _zod.z.string(),
|
|
3000
|
+
workspaceId: _zod.z.string(),
|
|
3001
|
+
type: IntegrationType,
|
|
3002
|
+
createdAt: _zod.z.coerce.date(),
|
|
3003
|
+
integrationCredentials: _zod.z.array(IntegrationCredentialsSchema).optional()
|
|
3004
|
+
});
|
|
2992
3005
|
var IntegrationTokenSchema = _zod.z.object({
|
|
2993
3006
|
id: _zod.z.string(),
|
|
2994
3007
|
provider: OAuthProviderSchema,
|
|
@@ -3826,9 +3839,10 @@ function elementGroupToDocumentationGroupStructureDTOV2(group, childrenIdsMap) {
|
|
|
3826
3839
|
createdAt: group.createdAt,
|
|
3827
3840
|
updatedAt: group.updatedAt,
|
|
3828
3841
|
title: group.meta.name,
|
|
3842
|
+
configuration: documentationItemConfigurationToDTOV2(_optionalChain([group, 'optionalAccess', _5 => _5.data, 'optionalAccess', _6 => _6.configuration])),
|
|
3829
3843
|
childrenIds,
|
|
3830
3844
|
isRoot: !group.parentPersistentId,
|
|
3831
|
-
groupBehavior: _nullishCoalesce(_optionalChain([group, 'access',
|
|
3845
|
+
groupBehavior: _nullishCoalesce(_optionalChain([group, 'access', _7 => _7.data, 'optionalAccess', _8 => _8.behavior]), () => ( "Group")),
|
|
3832
3846
|
shortPersistentId: group.shortPersistentId,
|
|
3833
3847
|
type: "Group"
|
|
3834
3848
|
};
|
|
@@ -3879,7 +3893,7 @@ function calculateElementParentChain(elementParentPersistentId, groupPersistentI
|
|
|
3879
3893
|
const parent = groupPersistentIdToGroupMap.get(parentId);
|
|
3880
3894
|
if (parent)
|
|
3881
3895
|
result.push(parent);
|
|
3882
|
-
parentId = _optionalChain([parent, 'optionalAccess',
|
|
3896
|
+
parentId = _optionalChain([parent, 'optionalAccess', _9 => _9.parentPersistentId]);
|
|
3883
3897
|
}
|
|
3884
3898
|
return result;
|
|
3885
3899
|
}
|
|
@@ -3912,6 +3926,7 @@ function documentationPageToStructureDTOV2(page, pagePathMap) {
|
|
|
3912
3926
|
title: page.meta.name,
|
|
3913
3927
|
slug: page.slug,
|
|
3914
3928
|
userSlug: page.userSlug,
|
|
3929
|
+
configuration: documentationItemConfigurationToDTOV2(page.data.configuration),
|
|
3915
3930
|
createdAt: page.createdAt,
|
|
3916
3931
|
updatedAt: page.updatedAt,
|
|
3917
3932
|
path,
|
|
@@ -3978,7 +3993,7 @@ function elementGroupsToDocumentationGroupDTOV1(groups, pages) {
|
|
|
3978
3993
|
return groups.map((group) => {
|
|
3979
3994
|
return {
|
|
3980
3995
|
...elementGroupToDocumentationGroupStructureDTOV1(group, childrenIdsMap),
|
|
3981
|
-
configuration: _optionalChain([group, 'access',
|
|
3996
|
+
configuration: _optionalChain([group, 'access', _10 => _10.data, 'optionalAccess', _11 => _11.configuration]) ? documentationItemConfigurationToDTOV1(group.data.configuration) : dtoDefaultItemConfigurationV1
|
|
3982
3997
|
};
|
|
3983
3998
|
});
|
|
3984
3999
|
}
|
|
@@ -3998,7 +4013,7 @@ function elementGroupToDocumentationGroupStructureDTOV1(group, childrenIdsMap) {
|
|
|
3998
4013
|
title: group.meta.name,
|
|
3999
4014
|
childrenIds,
|
|
4000
4015
|
isRoot: !group.parentPersistentId,
|
|
4001
|
-
groupBehavior: _nullishCoalesce(_optionalChain([group, 'access',
|
|
4016
|
+
groupBehavior: _nullishCoalesce(_optionalChain([group, 'access', _12 => _12.data, 'optionalAccess', _13 => _13.behavior]), () => ( "Group")),
|
|
4002
4017
|
shortPersistentId: group.shortPersistentId,
|
|
4003
4018
|
type: "Group"
|
|
4004
4019
|
};
|
|
@@ -4044,6 +4059,17 @@ function documentationPagesToDTOV1(pages, groups, routingVersion) {
|
|
|
4044
4059
|
});
|
|
4045
4060
|
}
|
|
4046
4061
|
|
|
4062
|
+
// src/api/conversion/integrations/integration.ts
|
|
4063
|
+
function integrationToDto(integration) {
|
|
4064
|
+
return {
|
|
4065
|
+
id: integration.id,
|
|
4066
|
+
workspaceId: integration.workspaceId,
|
|
4067
|
+
type: integration.type,
|
|
4068
|
+
createdAt: integration.createdAt,
|
|
4069
|
+
integrationCredentials: _nullishCoalesce(integration.integrationCredentials, () => ( void 0))
|
|
4070
|
+
};
|
|
4071
|
+
}
|
|
4072
|
+
|
|
4047
4073
|
// src/api/dto/design-systems/brand.ts
|
|
4048
4074
|
|
|
4049
4075
|
var DTOBrand = _zod.z.object({
|
|
@@ -4162,7 +4188,7 @@ var DTODocumentationItemConfigurationV2 = _zod.z.object({
|
|
|
4162
4188
|
});
|
|
4163
4189
|
|
|
4164
4190
|
// src/api/dto/elements/documentation/group-v2.ts
|
|
4165
|
-
var
|
|
4191
|
+
var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
4166
4192
|
sortOrder: true,
|
|
4167
4193
|
parentPersistentId: true,
|
|
4168
4194
|
brandPersistentId: true,
|
|
@@ -4176,11 +4202,10 @@ var DTODocumentationGroupStructureV2 = ElementGroup.omit({
|
|
|
4176
4202
|
childrenIds: _zod.z.array(_zod.z.string()),
|
|
4177
4203
|
groupBehavior: DocumentationGroupBehavior,
|
|
4178
4204
|
shortPersistentId: _zod.z.string(),
|
|
4205
|
+
configuration: DTODocumentationItemConfigurationV2,
|
|
4179
4206
|
type: _zod.z.literal("Group")
|
|
4180
4207
|
});
|
|
4181
|
-
var
|
|
4182
|
-
configuration: DTODocumentationItemConfigurationV2
|
|
4183
|
-
});
|
|
4208
|
+
var DTODocumentationGroupStructureV2 = DTODocumentationGroupV2;
|
|
4184
4209
|
var DTOCreateDocumentationGroupInput = _zod.z.object({
|
|
4185
4210
|
// Identifier
|
|
4186
4211
|
persistentId: _zod.z.string().uuid(),
|
|
@@ -4196,7 +4221,7 @@ var DTOUpdateDocumentationGroupInput = _zod.z.object({
|
|
|
4196
4221
|
id: _zod.z.string(),
|
|
4197
4222
|
// Group properties
|
|
4198
4223
|
title: _zod.z.string().optional(),
|
|
4199
|
-
configuration: DTODocumentationItemConfigurationV2.optional()
|
|
4224
|
+
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
4200
4225
|
});
|
|
4201
4226
|
var DTOMoveDocumentationGroupInput = _zod.z.object({
|
|
4202
4227
|
// Identifier of the group to update
|
|
@@ -4343,7 +4368,7 @@ var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
|
|
|
4343
4368
|
|
|
4344
4369
|
// src/api/dto/elements/documentation/page-v2.ts
|
|
4345
4370
|
|
|
4346
|
-
var
|
|
4371
|
+
var DTODocumentationPageV2 = DocumentationPageV2.omit({
|
|
4347
4372
|
data: true,
|
|
4348
4373
|
meta: true,
|
|
4349
4374
|
parentPersistentId: true,
|
|
@@ -4351,11 +4376,10 @@ var DTODocumentationPageStructureV2 = DocumentationPageV2.omit({
|
|
|
4351
4376
|
}).extend({
|
|
4352
4377
|
title: _zod.z.string(),
|
|
4353
4378
|
path: _zod.z.string(),
|
|
4354
|
-
type: _zod.z.literal("Page")
|
|
4355
|
-
});
|
|
4356
|
-
var DTODocumentationPageV2 = DTODocumentationPageStructureV2.extend({
|
|
4379
|
+
type: _zod.z.literal("Page"),
|
|
4357
4380
|
configuration: DTODocumentationItemConfigurationV2
|
|
4358
4381
|
});
|
|
4382
|
+
var DTODocumentationPageStructureV2 = DTODocumentationPageV2;
|
|
4359
4383
|
var DTODocumentationHierarchyV2 = _zod.z.object({
|
|
4360
4384
|
pages: _zod.z.array(DTODocumentationPageStructureV2),
|
|
4361
4385
|
groups: _zod.z.array(DTODocumentationGroupStructureV2)
|
|
@@ -4375,7 +4399,7 @@ var DTOUpdateDocumentationPageInputV2 = _zod.z.object({
|
|
|
4375
4399
|
id: _zod.z.string(),
|
|
4376
4400
|
// Page properties
|
|
4377
4401
|
title: _zod.z.string().optional(),
|
|
4378
|
-
configuration: DTODocumentationItemConfigurationV2.optional()
|
|
4402
|
+
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
4379
4403
|
});
|
|
4380
4404
|
var DTOMoveDocumentationPageInputV2 = _zod.z.object({
|
|
4381
4405
|
// Identifier of the group to update
|
|
@@ -4643,11 +4667,18 @@ var DTOIntegration = _zod.z.object({
|
|
|
4643
4667
|
id: _zod.z.string(),
|
|
4644
4668
|
workspaceId: _zod.z.string(),
|
|
4645
4669
|
type: IntegrationType,
|
|
4646
|
-
createdAt: _zod.z.coerce.date()
|
|
4670
|
+
createdAt: _zod.z.coerce.date(),
|
|
4671
|
+
integrationCredentials: _zod.z.array(IntegrationCredentialsSchema).optional()
|
|
4647
4672
|
});
|
|
4648
4673
|
var DTOIntegrationOAuthGetResponse = _zod.z.object({
|
|
4649
4674
|
url: _zod.z.string()
|
|
4650
4675
|
});
|
|
4676
|
+
var DTOIntegrationPostResponse = _zod.z.object({
|
|
4677
|
+
integration: DTOIntegration
|
|
4678
|
+
});
|
|
4679
|
+
var DTOIntegrationsGetListResponse = _zod.z.object({
|
|
4680
|
+
integrations: DTOIntegration.array()
|
|
4681
|
+
});
|
|
4651
4682
|
|
|
4652
4683
|
// src/api/dto/workspaces/membership.ts
|
|
4653
4684
|
|
|
@@ -4733,7 +4764,7 @@ var DTOGetBlockDefinitionsOutput = _zod.z.object({
|
|
|
4733
4764
|
// src/api/payloads/liveblocks/auth.ts
|
|
4734
4765
|
|
|
4735
4766
|
var DTOLiveblocksAuthRequest = _zod.z.object({
|
|
4736
|
-
room: _zod.z.string()
|
|
4767
|
+
room: _zod.z.string().optional()
|
|
4737
4768
|
});
|
|
4738
4769
|
|
|
4739
4770
|
// src/api/payloads/workspaces/workspace-configuration.ts
|
|
@@ -4813,7 +4844,7 @@ function documentationHierarchyToYjs(doc, transaction) {
|
|
|
4813
4844
|
const sanitizedGroup = {
|
|
4814
4845
|
...group,
|
|
4815
4846
|
data: {
|
|
4816
|
-
behavior: _optionalChain([group, 'access',
|
|
4847
|
+
behavior: _optionalChain([group, 'access', _14 => _14.data, 'optionalAccess', _15 => _15.behavior])
|
|
4817
4848
|
}
|
|
4818
4849
|
};
|
|
4819
4850
|
groupsMap.set(group.id, JSON.parse(JSON.stringify(sanitizedGroup)));
|
|
@@ -4877,7 +4908,7 @@ var DTODocumentationPageRoomHeaderDataUpdate = _zod.z.object({
|
|
|
4877
4908
|
function itemConfigurationToYjs(yDoc, item) {
|
|
4878
4909
|
yDoc.transact((trx) => {
|
|
4879
4910
|
const { title, configuration } = item;
|
|
4880
|
-
const header = _optionalChain([configuration, 'optionalAccess',
|
|
4911
|
+
const header = _optionalChain([configuration, 'optionalAccess', _16 => _16.header]);
|
|
4881
4912
|
if (title !== void 0) {
|
|
4882
4913
|
const headerYMap = trx.doc.getMap("itemTitle");
|
|
4883
4914
|
headerYMap.set("title", title);
|
|
@@ -4895,9 +4926,9 @@ function itemConfigurationToYjs(yDoc, item) {
|
|
|
4895
4926
|
header.minHeight !== void 0 && headerYMap.set("minHeight", header.minHeight);
|
|
4896
4927
|
}
|
|
4897
4928
|
const configYMap = trx.doc.getMap("itemConfiguration");
|
|
4898
|
-
_optionalChain([configuration, 'optionalAccess',
|
|
4899
|
-
_optionalChain([configuration, 'optionalAccess',
|
|
4900
|
-
_optionalChain([configuration, 'optionalAccess',
|
|
4929
|
+
_optionalChain([configuration, 'optionalAccess', _17 => _17.showSidebar]) !== void 0 && configYMap.set("showSidebar", configuration.showSidebar);
|
|
4930
|
+
_optionalChain([configuration, 'optionalAccess', _18 => _18.isHidden]) !== void 0 && configYMap.set("isHidden", configuration.isHidden);
|
|
4931
|
+
_optionalChain([configuration, 'optionalAccess', _19 => _19.isPrivate]) !== void 0 && configYMap.set("isPrivate", configuration.isPrivate);
|
|
4901
4932
|
});
|
|
4902
4933
|
}
|
|
4903
4934
|
function yjsToItemConfiguration(yDoc) {
|
|
@@ -5686,7 +5717,7 @@ var BlockDefinitionUtils = {
|
|
|
5686
5717
|
var ListTreeBuilder = class {
|
|
5687
5718
|
addWithProperty(block, multiRichTextProperty) {
|
|
5688
5719
|
const parsedOptions = PageBlockDefinitionMutiRichTextOptions.optional().parse(multiRichTextProperty.options);
|
|
5689
|
-
return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess',
|
|
5720
|
+
return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess', _20 => _20.multiRichTextStyle]) || "OL");
|
|
5690
5721
|
}
|
|
5691
5722
|
add(block, multiRichTextPropertyId, multiRichTextPropertyStyle) {
|
|
5692
5723
|
const list = this.createList(block, multiRichTextPropertyId, multiRichTextPropertyStyle);
|
|
@@ -5706,7 +5737,7 @@ var ListTreeBuilder = class {
|
|
|
5706
5737
|
}
|
|
5707
5738
|
const listParent = this.getParentOfDepth(block.data.indentLevel);
|
|
5708
5739
|
const lastChild = listParent.children[listParent.children.length - 1];
|
|
5709
|
-
if (_optionalChain([lastChild, 'optionalAccess',
|
|
5740
|
+
if (_optionalChain([lastChild, 'optionalAccess', _21 => _21.type]) === "List") {
|
|
5710
5741
|
lastChild.children.push(...list.leadingChildren);
|
|
5711
5742
|
return;
|
|
5712
5743
|
} else {
|
|
@@ -5890,7 +5921,7 @@ function serializeAsRichTextBlock(input) {
|
|
|
5890
5921
|
const textPropertyValue = BlockParsingUtils.richTextPropertyValue(blockItem, richTextProperty.id);
|
|
5891
5922
|
const enrichedInput = { ...input, richTextPropertyValue: textPropertyValue };
|
|
5892
5923
|
const parsedOptions = PageBlockDefinitionRichTextOptions.optional().parse(richTextProperty.options);
|
|
5893
|
-
const style = _nullishCoalesce(_optionalChain([parsedOptions, 'optionalAccess',
|
|
5924
|
+
const style = _nullishCoalesce(_optionalChain([parsedOptions, 'optionalAccess', _22 => _22.richTextStyle]), () => ( "Default"));
|
|
5894
5925
|
switch (style) {
|
|
5895
5926
|
case "Callout":
|
|
5896
5927
|
return serializeAsCallout(enrichedInput);
|
|
@@ -6111,7 +6142,7 @@ function serializeBlockNodeAttributes(block) {
|
|
|
6111
6142
|
};
|
|
6112
6143
|
}
|
|
6113
6144
|
function richTextHeadingLevel(property) {
|
|
6114
|
-
const style = _optionalChain([property, 'access',
|
|
6145
|
+
const style = _optionalChain([property, 'access', _23 => _23.options, 'optionalAccess', _24 => _24.richTextStyle]);
|
|
6115
6146
|
if (!style)
|
|
6116
6147
|
return void 0;
|
|
6117
6148
|
switch (style) {
|
|
@@ -6224,7 +6255,7 @@ function serializeAsCustomBlock(block, definition) {
|
|
|
6224
6255
|
linksTo: i.linksTo
|
|
6225
6256
|
};
|
|
6226
6257
|
});
|
|
6227
|
-
const columns = _optionalChain([block, 'access',
|
|
6258
|
+
const columns = _optionalChain([block, 'access', _25 => _25.data, 'access', _26 => _26.appearance, 'optionalAccess', _27 => _27.numberOfColumns]);
|
|
6228
6259
|
return {
|
|
6229
6260
|
type: serializeCustomBlockNodeType(block, definition),
|
|
6230
6261
|
attrs: {
|
|
@@ -8071,10 +8102,10 @@ function parseAsMultiRichText(prosemirrorNode, definition, property, definitions
|
|
|
8071
8102
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
8072
8103
|
const result = [];
|
|
8073
8104
|
const listItems = [];
|
|
8074
|
-
_optionalChain([prosemirrorNode, 'access',
|
|
8105
|
+
_optionalChain([prosemirrorNode, 'access', _28 => _28.content, 'optionalAccess', _29 => _29.forEach, 'call', _30 => _30((c) => {
|
|
8075
8106
|
if (c.type !== "listItem")
|
|
8076
8107
|
return;
|
|
8077
|
-
_optionalChain([c, 'access',
|
|
8108
|
+
_optionalChain([c, 'access', _31 => _31.content, 'optionalAccess', _32 => _32.forEach, 'call', _33 => _33((cc) => {
|
|
8078
8109
|
listItems.push(cc);
|
|
8079
8110
|
})]);
|
|
8080
8111
|
})]);
|
|
@@ -8177,17 +8208,17 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
8177
8208
|
return null;
|
|
8178
8209
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
8179
8210
|
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", _zod.z.boolean().optional()) !== false;
|
|
8180
|
-
const tableChild = _optionalChain([prosemirrorNode, 'access',
|
|
8211
|
+
const tableChild = _optionalChain([prosemirrorNode, 'access', _34 => _34.content, 'optionalAccess', _35 => _35.find, 'call', _36 => _36((c) => c.type === "table")]);
|
|
8181
8212
|
if (!tableChild) {
|
|
8182
8213
|
return emptyTable(id, variantId, 0);
|
|
8183
8214
|
}
|
|
8184
|
-
const rows = _nullishCoalesce(_optionalChain([tableChild, 'access',
|
|
8215
|
+
const rows = _nullishCoalesce(_optionalChain([tableChild, 'access', _37 => _37.content, 'optionalAccess', _38 => _38.filter, 'call', _39 => _39((c) => c.type === "tableRow" && !!_optionalChain([c, 'access', _40 => _40.content, 'optionalAccess', _41 => _41.length]))]), () => ( []));
|
|
8185
8216
|
if (!rows.length) {
|
|
8186
8217
|
return emptyTable(id, variantId, 0);
|
|
8187
8218
|
}
|
|
8188
|
-
const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access',
|
|
8189
|
-
const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access',
|
|
8190
|
-
const hasHeaderRow = _optionalChain([rows, 'access',
|
|
8219
|
+
const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access', _42 => _42[0], 'access', _43 => _43.content, 'optionalAccess', _44 => _44.filter, 'call', _45 => _45((c) => c.type === "tableHeader"), 'access', _46 => _46.length]), () => ( 0));
|
|
8220
|
+
const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access', _47 => _47.content, 'optionalAccess', _48 => _48[0], 'optionalAccess', _49 => _49.type]) === "tableHeader").length;
|
|
8221
|
+
const hasHeaderRow = _optionalChain([rows, 'access', _50 => _50[0], 'access', _51 => _51.content, 'optionalAccess', _52 => _52.length]) === rowHeaderCells;
|
|
8191
8222
|
const hasHeaderColumn = rows.length === columnHeaderCells;
|
|
8192
8223
|
const tableValue = {
|
|
8193
8224
|
showBorder: hasBorder,
|
|
@@ -8269,7 +8300,7 @@ function parseAsTableNode(prosemirrorNode) {
|
|
|
8269
8300
|
const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
|
|
8270
8301
|
if (!parsedItems.success)
|
|
8271
8302
|
return null;
|
|
8272
|
-
const rawImagePropertyValue = _optionalChain([parsedItems, 'access',
|
|
8303
|
+
const rawImagePropertyValue = _optionalChain([parsedItems, 'access', _53 => _53.data, 'access', _54 => _54[0], 'optionalAccess', _55 => _55.props, 'access', _56 => _56.image]);
|
|
8273
8304
|
if (!rawImagePropertyValue)
|
|
8274
8305
|
return null;
|
|
8275
8306
|
const imagePropertyValueParseResult = PageBlockItemImageValue.safeParse(rawImagePropertyValue);
|
|
@@ -8491,7 +8522,7 @@ function getProsemirrorBlockVariantId(prosemirrorNode) {
|
|
|
8491
8522
|
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(_zod.z.string()));
|
|
8492
8523
|
}
|
|
8493
8524
|
function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
|
|
8494
|
-
const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access',
|
|
8525
|
+
const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access', _57 => _57.attrs, 'optionalAccess', _58 => _58[attributeName]]));
|
|
8495
8526
|
if (parsedAttr.success) {
|
|
8496
8527
|
return parsedAttr.data;
|
|
8497
8528
|
} else {
|
|
@@ -8663,5 +8694,8 @@ function mapByUnique2(items, keyFn) {
|
|
|
8663
8694
|
|
|
8664
8695
|
|
|
8665
8696
|
|
|
8666
|
-
exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOBrand = DTOBrand; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateElementPropertyDefinitionInputV2 = DTOCreateElementPropertyDefinitionInputV2; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODeleteElementPropertyDefinitionInputV2 = DTODeleteElementPropertyDefinitionInputV2; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupStructureV2 = DTODocumentationGroupStructureV2; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageStructureV2 = DTODocumentationPageStructureV2; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionsGetResponse = DTOElementPropertyDefinitionsGetResponse; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValuesGetResponse = DTOElementPropertyValuesGetResponse; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTOPropertyDefinitionCreateActionInputV2 = DTOPropertyDefinitionCreateActionInputV2; exports.DTOPropertyDefinitionCreateActionOutputV2 = DTOPropertyDefinitionCreateActionOutputV2; exports.DTOPropertyDefinitionDeleteActionInputV2 = DTOPropertyDefinitionDeleteActionInputV2; exports.DTOPropertyDefinitionDeleteActionOutputV2 = DTOPropertyDefinitionDeleteActionOutputV2; exports.DTOPropertyDefinitionUpdateActionInputV2 = DTOPropertyDefinitionUpdateActionInputV2; exports.DTOPropertyDefinitionUpdateActionOutputV2 = DTOPropertyDefinitionUpdateActionOutputV2; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateElementPropertyDefinitionInputV2 = DTOUpdateElementPropertyDefinitionInputV2; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.ListTreeBuilder = ListTreeBuilder; exports.NpmRegistryInput = NpmRegistryInput; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.designSystemBrandToDto = designSystemBrandToDto; exports.designSystemVersionToDto = designSystemVersionToDto; exports.documentationElementsToHierarchyDto = documentationElementsToHierarchyDto; exports.documentationHierarchyToYjs = documentationHierarchyToYjs; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.documentationPagesToStructureDTOV2 = documentationPagesToStructureDTOV2; exports.dtoDefaultItemConfigurationV1 = dtoDefaultItemConfigurationV1; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.elementGroupsToDocumentationGroupStructureDTOV2 = elementGroupsToDocumentationGroupStructureDTOV2; exports.elementPropertyDefinitionToDto = elementPropertyDefinitionToDto; exports.elementPropertyValueToDto = elementPropertyValueToDto; exports.elementViewToDto = elementViewToDto; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateSemver = validateSemver; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
8697
|
+
|
|
8698
|
+
|
|
8699
|
+
|
|
8700
|
+
exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOBrand = DTOBrand; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateElementPropertyDefinitionInputV2 = DTOCreateElementPropertyDefinitionInputV2; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODeleteElementPropertyDefinitionInputV2 = DTODeleteElementPropertyDefinitionInputV2; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupStructureV2 = DTODocumentationGroupStructureV2; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageStructureV2 = DTODocumentationPageStructureV2; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionsGetResponse = DTOElementPropertyDefinitionsGetResponse; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValuesGetResponse = DTOElementPropertyValuesGetResponse; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTOPropertyDefinitionCreateActionInputV2 = DTOPropertyDefinitionCreateActionInputV2; exports.DTOPropertyDefinitionCreateActionOutputV2 = DTOPropertyDefinitionCreateActionOutputV2; exports.DTOPropertyDefinitionDeleteActionInputV2 = DTOPropertyDefinitionDeleteActionInputV2; exports.DTOPropertyDefinitionDeleteActionOutputV2 = DTOPropertyDefinitionDeleteActionOutputV2; exports.DTOPropertyDefinitionUpdateActionInputV2 = DTOPropertyDefinitionUpdateActionInputV2; exports.DTOPropertyDefinitionUpdateActionOutputV2 = DTOPropertyDefinitionUpdateActionOutputV2; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateElementPropertyDefinitionInputV2 = DTOUpdateElementPropertyDefinitionInputV2; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.ListTreeBuilder = ListTreeBuilder; exports.NpmRegistryInput = NpmRegistryInput; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.designSystemBrandToDto = designSystemBrandToDto; exports.designSystemVersionToDto = designSystemVersionToDto; exports.documentationElementsToHierarchyDto = documentationElementsToHierarchyDto; exports.documentationHierarchyToYjs = documentationHierarchyToYjs; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.documentationPagesToStructureDTOV2 = documentationPagesToStructureDTOV2; exports.dtoDefaultItemConfigurationV1 = dtoDefaultItemConfigurationV1; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.elementGroupsToDocumentationGroupStructureDTOV2 = elementGroupsToDocumentationGroupStructureDTOV2; exports.elementPropertyDefinitionToDto = elementPropertyDefinitionToDto; exports.elementPropertyValueToDto = elementPropertyValueToDto; exports.elementViewToDto = elementViewToDto; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.integrationToDto = integrationToDto; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateSemver = validateSemver; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
8667
8701
|
//# sourceMappingURL=index.js.map
|