@supernova-studio/client 0.52.13 → 0.52.15

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 CHANGED
@@ -8962,12 +8962,170 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
8962
8962
  }>;
8963
8963
  type DTOPublishDocumentationResponse = z.infer<typeof DTOPublishDocumentationResponse>;
8964
8964
 
8965
+ declare const DTOFigmaComponentBooleanProperty: z.ZodObject<{
8966
+ type: z.ZodLiteral<"Boolean">;
8967
+ defaultValue: z.ZodBoolean;
8968
+ }, "strip", z.ZodTypeAny, {
8969
+ type: "Boolean";
8970
+ defaultValue: boolean;
8971
+ }, {
8972
+ type: "Boolean";
8973
+ defaultValue: boolean;
8974
+ }>;
8975
+ type DTOFigmaComponentBooleanProperty = z.infer<typeof DTOFigmaComponentBooleanProperty>;
8976
+ declare const DTOFigmaComponentInstanceSwapProperty: z.ZodObject<{
8977
+ type: z.ZodLiteral<"InstanceSwap">;
8978
+ defaultValue: z.ZodString;
8979
+ preferredValues: z.ZodArray<z.ZodObject<{
8980
+ type: z.ZodEnum<["Component", "ComponentSet"]>;
8981
+ key: z.ZodString;
8982
+ }, "strip", z.ZodTypeAny, {
8983
+ type: "Component" | "ComponentSet";
8984
+ key: string;
8985
+ }, {
8986
+ type: "Component" | "ComponentSet";
8987
+ key: string;
8988
+ }>, "many">;
8989
+ }, "strip", z.ZodTypeAny, {
8990
+ type: "InstanceSwap";
8991
+ defaultValue: string;
8992
+ preferredValues: {
8993
+ type: "Component" | "ComponentSet";
8994
+ key: string;
8995
+ }[];
8996
+ }, {
8997
+ type: "InstanceSwap";
8998
+ defaultValue: string;
8999
+ preferredValues: {
9000
+ type: "Component" | "ComponentSet";
9001
+ key: string;
9002
+ }[];
9003
+ }>;
9004
+ type DTOFigmaComponentInstanceSwapProperty = z.infer<typeof DTOFigmaComponentInstanceSwapProperty>;
9005
+ declare const DTOFigmaComponentTextProperty: z.ZodObject<{
9006
+ type: z.ZodLiteral<"Text">;
9007
+ defaultValue: z.ZodString;
9008
+ }, "strip", z.ZodTypeAny, {
9009
+ type: "Text";
9010
+ defaultValue: string;
9011
+ }, {
9012
+ type: "Text";
9013
+ defaultValue: string;
9014
+ }>;
9015
+ type DTOFigmaComponentTextProperty = z.infer<typeof DTOFigmaComponentTextProperty>;
9016
+ declare const DTOFigmaComponentVariantProperty: z.ZodObject<{
9017
+ type: z.ZodLiteral<"Variant">;
9018
+ defaultValue: z.ZodString;
9019
+ options: z.ZodArray<z.ZodString, "many">;
9020
+ }, "strip", z.ZodTypeAny, {
9021
+ options: string[];
9022
+ type: "Variant";
9023
+ defaultValue: string;
9024
+ }, {
9025
+ options: string[];
9026
+ type: "Variant";
9027
+ defaultValue: string;
9028
+ }>;
9029
+ type DTOFigmaComponentVariantProperty = z.infer<typeof DTOFigmaComponentVariantProperty>;
9030
+ declare const DTOFigmaComponentProperty: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9031
+ type: z.ZodLiteral<"Boolean">;
9032
+ defaultValue: z.ZodBoolean;
9033
+ }, "strip", z.ZodTypeAny, {
9034
+ type: "Boolean";
9035
+ defaultValue: boolean;
9036
+ }, {
9037
+ type: "Boolean";
9038
+ defaultValue: boolean;
9039
+ }>, z.ZodObject<{
9040
+ type: z.ZodLiteral<"InstanceSwap">;
9041
+ defaultValue: z.ZodString;
9042
+ preferredValues: z.ZodArray<z.ZodObject<{
9043
+ type: z.ZodEnum<["Component", "ComponentSet"]>;
9044
+ key: z.ZodString;
9045
+ }, "strip", z.ZodTypeAny, {
9046
+ type: "Component" | "ComponentSet";
9047
+ key: string;
9048
+ }, {
9049
+ type: "Component" | "ComponentSet";
9050
+ key: string;
9051
+ }>, "many">;
9052
+ }, "strip", z.ZodTypeAny, {
9053
+ type: "InstanceSwap";
9054
+ defaultValue: string;
9055
+ preferredValues: {
9056
+ type: "Component" | "ComponentSet";
9057
+ key: string;
9058
+ }[];
9059
+ }, {
9060
+ type: "InstanceSwap";
9061
+ defaultValue: string;
9062
+ preferredValues: {
9063
+ type: "Component" | "ComponentSet";
9064
+ key: string;
9065
+ }[];
9066
+ }>, z.ZodObject<{
9067
+ type: z.ZodLiteral<"Text">;
9068
+ defaultValue: z.ZodString;
9069
+ }, "strip", z.ZodTypeAny, {
9070
+ type: "Text";
9071
+ defaultValue: string;
9072
+ }, {
9073
+ type: "Text";
9074
+ defaultValue: string;
9075
+ }>]>;
9076
+ type DTOFigmaComponentProperty = z.infer<typeof DTOFigmaComponentProperty>;
9077
+ declare const DTOFigmaComponentPropertyMap: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9078
+ type: z.ZodLiteral<"Boolean">;
9079
+ defaultValue: z.ZodBoolean;
9080
+ }, "strip", z.ZodTypeAny, {
9081
+ type: "Boolean";
9082
+ defaultValue: boolean;
9083
+ }, {
9084
+ type: "Boolean";
9085
+ defaultValue: boolean;
9086
+ }>, z.ZodObject<{
9087
+ type: z.ZodLiteral<"InstanceSwap">;
9088
+ defaultValue: z.ZodString;
9089
+ preferredValues: z.ZodArray<z.ZodObject<{
9090
+ type: z.ZodEnum<["Component", "ComponentSet"]>;
9091
+ key: z.ZodString;
9092
+ }, "strip", z.ZodTypeAny, {
9093
+ type: "Component" | "ComponentSet";
9094
+ key: string;
9095
+ }, {
9096
+ type: "Component" | "ComponentSet";
9097
+ key: string;
9098
+ }>, "many">;
9099
+ }, "strip", z.ZodTypeAny, {
9100
+ type: "InstanceSwap";
9101
+ defaultValue: string;
9102
+ preferredValues: {
9103
+ type: "Component" | "ComponentSet";
9104
+ key: string;
9105
+ }[];
9106
+ }, {
9107
+ type: "InstanceSwap";
9108
+ defaultValue: string;
9109
+ preferredValues: {
9110
+ type: "Component" | "ComponentSet";
9111
+ key: string;
9112
+ }[];
9113
+ }>, z.ZodObject<{
9114
+ type: z.ZodLiteral<"Text">;
9115
+ defaultValue: z.ZodString;
9116
+ }, "strip", z.ZodTypeAny, {
9117
+ type: "Text";
9118
+ defaultValue: string;
9119
+ }, {
9120
+ type: "Text";
9121
+ defaultValue: string;
9122
+ }>]>>;
9123
+ type DTOFigmaComponentPropertyMap = z.infer<typeof DTOFigmaComponentPropertyMap>;
8965
9124
  declare const DTOFigmaComponent: z.ZodObject<{
8966
9125
  id: z.ZodString;
8967
9126
  persistentId: z.ZodString;
8968
9127
  designSystemVersionId: z.ZodString;
8969
9128
  brandId: z.ZodString;
8970
- parentComponentId: z.ZodOptional<z.ZodString>;
8971
9129
  thumbnailUrl: z.ZodOptional<z.ZodString>;
8972
9130
  svgUrl: z.ZodOptional<z.ZodString>;
8973
9131
  exportProperties: z.ZodObject<{
@@ -9012,6 +9170,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
9012
9170
  height?: number | undefined;
9013
9171
  nodeId?: string | undefined;
9014
9172
  }>>;
9173
+ parentComponentPersistentId: z.ZodOptional<z.ZodString>;
9015
9174
  componentPropertyDefinitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9016
9175
  type: z.ZodLiteral<"Boolean">;
9017
9176
  defaultValue: z.ZodBoolean;
@@ -9072,7 +9231,6 @@ declare const DTOFigmaComponent: z.ZodObject<{
9072
9231
  exportProperties: {
9073
9232
  isAsset: boolean;
9074
9233
  };
9075
- parentComponentId?: string | undefined;
9076
9234
  thumbnailUrl?: string | undefined;
9077
9235
  svgUrl?: string | undefined;
9078
9236
  originComponent?: {
@@ -9083,6 +9241,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
9083
9241
  height?: number | undefined;
9084
9242
  nodeId?: string | undefined;
9085
9243
  } | undefined;
9244
+ parentComponentPersistentId?: string | undefined;
9086
9245
  componentPropertyDefinitions?: Record<string, {
9087
9246
  type: "Boolean";
9088
9247
  defaultValue: boolean;
@@ -9111,7 +9270,6 @@ declare const DTOFigmaComponent: z.ZodObject<{
9111
9270
  exportProperties: {
9112
9271
  isAsset: boolean;
9113
9272
  };
9114
- parentComponentId?: string | undefined;
9115
9273
  thumbnailUrl?: string | undefined;
9116
9274
  svgUrl?: string | undefined;
9117
9275
  originComponent?: {
@@ -9122,6 +9280,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
9122
9280
  height?: number | undefined;
9123
9281
  nodeId?: string | undefined;
9124
9282
  } | undefined;
9283
+ parentComponentPersistentId?: string | undefined;
9125
9284
  componentPropertyDefinitions?: Record<string, {
9126
9285
  type: "Boolean";
9127
9286
  defaultValue: boolean;
@@ -43922,4 +44081,4 @@ declare class FrontendVersionRoomYDoc {
43922
44081
 
43923
44082
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
43924
44083
 
43925
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
44084
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
package/dist/index.d.ts CHANGED
@@ -8962,12 +8962,170 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
8962
8962
  }>;
8963
8963
  type DTOPublishDocumentationResponse = z.infer<typeof DTOPublishDocumentationResponse>;
8964
8964
 
8965
+ declare const DTOFigmaComponentBooleanProperty: z.ZodObject<{
8966
+ type: z.ZodLiteral<"Boolean">;
8967
+ defaultValue: z.ZodBoolean;
8968
+ }, "strip", z.ZodTypeAny, {
8969
+ type: "Boolean";
8970
+ defaultValue: boolean;
8971
+ }, {
8972
+ type: "Boolean";
8973
+ defaultValue: boolean;
8974
+ }>;
8975
+ type DTOFigmaComponentBooleanProperty = z.infer<typeof DTOFigmaComponentBooleanProperty>;
8976
+ declare const DTOFigmaComponentInstanceSwapProperty: z.ZodObject<{
8977
+ type: z.ZodLiteral<"InstanceSwap">;
8978
+ defaultValue: z.ZodString;
8979
+ preferredValues: z.ZodArray<z.ZodObject<{
8980
+ type: z.ZodEnum<["Component", "ComponentSet"]>;
8981
+ key: z.ZodString;
8982
+ }, "strip", z.ZodTypeAny, {
8983
+ type: "Component" | "ComponentSet";
8984
+ key: string;
8985
+ }, {
8986
+ type: "Component" | "ComponentSet";
8987
+ key: string;
8988
+ }>, "many">;
8989
+ }, "strip", z.ZodTypeAny, {
8990
+ type: "InstanceSwap";
8991
+ defaultValue: string;
8992
+ preferredValues: {
8993
+ type: "Component" | "ComponentSet";
8994
+ key: string;
8995
+ }[];
8996
+ }, {
8997
+ type: "InstanceSwap";
8998
+ defaultValue: string;
8999
+ preferredValues: {
9000
+ type: "Component" | "ComponentSet";
9001
+ key: string;
9002
+ }[];
9003
+ }>;
9004
+ type DTOFigmaComponentInstanceSwapProperty = z.infer<typeof DTOFigmaComponentInstanceSwapProperty>;
9005
+ declare const DTOFigmaComponentTextProperty: z.ZodObject<{
9006
+ type: z.ZodLiteral<"Text">;
9007
+ defaultValue: z.ZodString;
9008
+ }, "strip", z.ZodTypeAny, {
9009
+ type: "Text";
9010
+ defaultValue: string;
9011
+ }, {
9012
+ type: "Text";
9013
+ defaultValue: string;
9014
+ }>;
9015
+ type DTOFigmaComponentTextProperty = z.infer<typeof DTOFigmaComponentTextProperty>;
9016
+ declare const DTOFigmaComponentVariantProperty: z.ZodObject<{
9017
+ type: z.ZodLiteral<"Variant">;
9018
+ defaultValue: z.ZodString;
9019
+ options: z.ZodArray<z.ZodString, "many">;
9020
+ }, "strip", z.ZodTypeAny, {
9021
+ options: string[];
9022
+ type: "Variant";
9023
+ defaultValue: string;
9024
+ }, {
9025
+ options: string[];
9026
+ type: "Variant";
9027
+ defaultValue: string;
9028
+ }>;
9029
+ type DTOFigmaComponentVariantProperty = z.infer<typeof DTOFigmaComponentVariantProperty>;
9030
+ declare const DTOFigmaComponentProperty: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9031
+ type: z.ZodLiteral<"Boolean">;
9032
+ defaultValue: z.ZodBoolean;
9033
+ }, "strip", z.ZodTypeAny, {
9034
+ type: "Boolean";
9035
+ defaultValue: boolean;
9036
+ }, {
9037
+ type: "Boolean";
9038
+ defaultValue: boolean;
9039
+ }>, z.ZodObject<{
9040
+ type: z.ZodLiteral<"InstanceSwap">;
9041
+ defaultValue: z.ZodString;
9042
+ preferredValues: z.ZodArray<z.ZodObject<{
9043
+ type: z.ZodEnum<["Component", "ComponentSet"]>;
9044
+ key: z.ZodString;
9045
+ }, "strip", z.ZodTypeAny, {
9046
+ type: "Component" | "ComponentSet";
9047
+ key: string;
9048
+ }, {
9049
+ type: "Component" | "ComponentSet";
9050
+ key: string;
9051
+ }>, "many">;
9052
+ }, "strip", z.ZodTypeAny, {
9053
+ type: "InstanceSwap";
9054
+ defaultValue: string;
9055
+ preferredValues: {
9056
+ type: "Component" | "ComponentSet";
9057
+ key: string;
9058
+ }[];
9059
+ }, {
9060
+ type: "InstanceSwap";
9061
+ defaultValue: string;
9062
+ preferredValues: {
9063
+ type: "Component" | "ComponentSet";
9064
+ key: string;
9065
+ }[];
9066
+ }>, z.ZodObject<{
9067
+ type: z.ZodLiteral<"Text">;
9068
+ defaultValue: z.ZodString;
9069
+ }, "strip", z.ZodTypeAny, {
9070
+ type: "Text";
9071
+ defaultValue: string;
9072
+ }, {
9073
+ type: "Text";
9074
+ defaultValue: string;
9075
+ }>]>;
9076
+ type DTOFigmaComponentProperty = z.infer<typeof DTOFigmaComponentProperty>;
9077
+ declare const DTOFigmaComponentPropertyMap: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9078
+ type: z.ZodLiteral<"Boolean">;
9079
+ defaultValue: z.ZodBoolean;
9080
+ }, "strip", z.ZodTypeAny, {
9081
+ type: "Boolean";
9082
+ defaultValue: boolean;
9083
+ }, {
9084
+ type: "Boolean";
9085
+ defaultValue: boolean;
9086
+ }>, z.ZodObject<{
9087
+ type: z.ZodLiteral<"InstanceSwap">;
9088
+ defaultValue: z.ZodString;
9089
+ preferredValues: z.ZodArray<z.ZodObject<{
9090
+ type: z.ZodEnum<["Component", "ComponentSet"]>;
9091
+ key: z.ZodString;
9092
+ }, "strip", z.ZodTypeAny, {
9093
+ type: "Component" | "ComponentSet";
9094
+ key: string;
9095
+ }, {
9096
+ type: "Component" | "ComponentSet";
9097
+ key: string;
9098
+ }>, "many">;
9099
+ }, "strip", z.ZodTypeAny, {
9100
+ type: "InstanceSwap";
9101
+ defaultValue: string;
9102
+ preferredValues: {
9103
+ type: "Component" | "ComponentSet";
9104
+ key: string;
9105
+ }[];
9106
+ }, {
9107
+ type: "InstanceSwap";
9108
+ defaultValue: string;
9109
+ preferredValues: {
9110
+ type: "Component" | "ComponentSet";
9111
+ key: string;
9112
+ }[];
9113
+ }>, z.ZodObject<{
9114
+ type: z.ZodLiteral<"Text">;
9115
+ defaultValue: z.ZodString;
9116
+ }, "strip", z.ZodTypeAny, {
9117
+ type: "Text";
9118
+ defaultValue: string;
9119
+ }, {
9120
+ type: "Text";
9121
+ defaultValue: string;
9122
+ }>]>>;
9123
+ type DTOFigmaComponentPropertyMap = z.infer<typeof DTOFigmaComponentPropertyMap>;
8965
9124
  declare const DTOFigmaComponent: z.ZodObject<{
8966
9125
  id: z.ZodString;
8967
9126
  persistentId: z.ZodString;
8968
9127
  designSystemVersionId: z.ZodString;
8969
9128
  brandId: z.ZodString;
8970
- parentComponentId: z.ZodOptional<z.ZodString>;
8971
9129
  thumbnailUrl: z.ZodOptional<z.ZodString>;
8972
9130
  svgUrl: z.ZodOptional<z.ZodString>;
8973
9131
  exportProperties: z.ZodObject<{
@@ -9012,6 +9170,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
9012
9170
  height?: number | undefined;
9013
9171
  nodeId?: string | undefined;
9014
9172
  }>>;
9173
+ parentComponentPersistentId: z.ZodOptional<z.ZodString>;
9015
9174
  componentPropertyDefinitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9016
9175
  type: z.ZodLiteral<"Boolean">;
9017
9176
  defaultValue: z.ZodBoolean;
@@ -9072,7 +9231,6 @@ declare const DTOFigmaComponent: z.ZodObject<{
9072
9231
  exportProperties: {
9073
9232
  isAsset: boolean;
9074
9233
  };
9075
- parentComponentId?: string | undefined;
9076
9234
  thumbnailUrl?: string | undefined;
9077
9235
  svgUrl?: string | undefined;
9078
9236
  originComponent?: {
@@ -9083,6 +9241,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
9083
9241
  height?: number | undefined;
9084
9242
  nodeId?: string | undefined;
9085
9243
  } | undefined;
9244
+ parentComponentPersistentId?: string | undefined;
9086
9245
  componentPropertyDefinitions?: Record<string, {
9087
9246
  type: "Boolean";
9088
9247
  defaultValue: boolean;
@@ -9111,7 +9270,6 @@ declare const DTOFigmaComponent: z.ZodObject<{
9111
9270
  exportProperties: {
9112
9271
  isAsset: boolean;
9113
9272
  };
9114
- parentComponentId?: string | undefined;
9115
9273
  thumbnailUrl?: string | undefined;
9116
9274
  svgUrl?: string | undefined;
9117
9275
  originComponent?: {
@@ -9122,6 +9280,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
9122
9280
  height?: number | undefined;
9123
9281
  nodeId?: string | undefined;
9124
9282
  } | undefined;
9283
+ parentComponentPersistentId?: string | undefined;
9125
9284
  componentPropertyDefinitions?: Record<string, {
9126
9285
  type: "Boolean";
9127
9286
  defaultValue: boolean;
@@ -43922,4 +44081,4 @@ declare class FrontendVersionRoomYDoc {
43922
44081
 
43923
44082
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
43924
44083
 
43925
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
44084
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
package/dist/index.js CHANGED
@@ -670,15 +670,6 @@ var FigmaComponentProperty = _zod.z.discriminatedUnion("type", [
670
670
  FigmaComponentTextProperty
671
671
  ]);
672
672
  var FigmaComponentPropertyMap = _zod.z.record(_zod.z.string(), FigmaComponentProperty);
673
- var FigmaComponentSetProperties = _zod.z.record(
674
- _zod.z.string(),
675
- _zod.z.discriminatedUnion("type", [
676
- FigmaComponentBooleanProperty,
677
- FigmaComponentInstanceSwapProperty,
678
- FigmaComponentTextProperty,
679
- FigmaComponentVariantProperty
680
- ])
681
- );
682
673
  var ComponentElementData = _zod.z.object({
683
674
  value: _zod.z.object({
684
675
  thumbnailImage: _zod.z.object({
@@ -5627,12 +5618,13 @@ var DTOPublishDocumentationResponse = _zod.z.object({
5627
5618
 
5628
5619
  // src/api/dto/elements/components/figma-component.ts
5629
5620
 
5621
+ var DTOFigmaComponentProperty = FigmaComponentProperty;
5622
+ var DTOFigmaComponentPropertyMap = _zod.z.record(DTOFigmaComponentProperty);
5630
5623
  var DTOFigmaComponent = _zod.z.object({
5631
5624
  id: _zod.z.string(),
5632
5625
  persistentId: _zod.z.string(),
5633
5626
  designSystemVersionId: _zod.z.string(),
5634
5627
  brandId: _zod.z.string(),
5635
- parentComponentId: _zod.z.string().optional(),
5636
5628
  thumbnailUrl: _zod.z.string().optional(),
5637
5629
  svgUrl: _zod.z.string().optional(),
5638
5630
  exportProperties: _zod.z.object({
@@ -5642,7 +5634,8 @@ var DTOFigmaComponent = _zod.z.object({
5642
5634
  updatedAt: _zod.z.coerce.date(),
5643
5635
  meta: ObjectMeta,
5644
5636
  originComponent: FigmaComponentOrigin.optional(),
5645
- componentPropertyDefinitions: FigmaComponentPropertyMap.optional()
5637
+ parentComponentPersistentId: _zod.z.string().optional(),
5638
+ componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional()
5646
5639
  });
5647
5640
 
5648
5641
  // src/api/dto/elements/documentation/group-action.ts