@supernova-studio/client 0.42.0 → 0.45.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.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().optional(),
1288
- isHidden: _zod.z.boolean().optional(),
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', _5 => _5.data, 'optionalAccess', _6 => _6.behavior]), () => ( "Group")),
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', _7 => _7.parentPersistentId]);
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', _8 => _8.data, 'optionalAccess', _9 => _9.configuration]) ? documentationItemConfigurationToDTOV1(group.data.configuration) : dtoDefaultItemConfigurationV1
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', _10 => _10.data, 'optionalAccess', _11 => _11.behavior]), () => ( "Group")),
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 DTODocumentationGroupStructureV2 = ElementGroup.omit({
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 DTODocumentationGroupV2 = DTODocumentationGroupStructureV2.extend({
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 DTODocumentationPageStructureV2 = DocumentationPageV2.omit({
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
@@ -4801,7 +4832,9 @@ function documentationHierarchyToYjs(doc, transaction) {
4801
4832
  transaction.pages.forEach((page) => {
4802
4833
  const sanitizedPage = {
4803
4834
  ...page,
4804
- data: {}
4835
+ data: {
4836
+ configuration: page.data.configuration
4837
+ }
4805
4838
  };
4806
4839
  pagesMap.set(page.id, JSON.parse(JSON.stringify(sanitizedPage)));
4807
4840
  });
@@ -4810,13 +4843,7 @@ function documentationHierarchyToYjs(doc, transaction) {
4810
4843
  groupsMap.delete(id);
4811
4844
  });
4812
4845
  transaction.groups.forEach((group) => {
4813
- const sanitizedGroup = {
4814
- ...group,
4815
- data: {
4816
- behavior: _optionalChain([group, 'access', _12 => _12.data, 'optionalAccess', _13 => _13.behavior])
4817
- }
4818
- };
4819
- groupsMap.set(group.id, JSON.parse(JSON.stringify(sanitizedGroup)));
4846
+ groupsMap.set(group.id, JSON.parse(JSON.stringify(group)));
4820
4847
  });
4821
4848
  if (transaction.internalSettings) {
4822
4849
  serializeDocumentationInternalSettings(trx.doc, transaction.internalSettings);
@@ -8663,5 +8690,8 @@ function mapByUnique2(items, keyFn) {
8663
8690
 
8664
8691
 
8665
8692
 
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;
8693
+
8694
+
8695
+
8696
+ 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
8697
  //# sourceMappingURL=index.js.map