@supernova-studio/client 1.0.0-alpha.11 → 1.0.0-alpha.12

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
@@ -1,4 +1,4 @@
1
- import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, OmitStrict, ElementGroup, DocumentationPageSnapshot, ElementGroupSnapshot, DocumentationPageApproval, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SupernovaExceptionType, SsoProvider, UpdateMembershipRolesInput, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemRichTextEditorValue, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
1
+ import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, ElementGroup, DocumentationPageSnapshot, ElementGroupSnapshot, DocumentationPageApproval, OmitStrict, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SupernovaExceptionType, SsoProvider, UpdateMembershipRolesInput, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemRichTextEditorValue, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
2
2
  import * as zod from 'zod';
3
3
  import zod__default, { z, ZodSchema, ZodTypeDef } from 'zod';
4
4
  import * as Y from 'yjs';
@@ -1127,29 +1127,6 @@ declare function elementGroupsToDocumentationGroupStructureDTOV1(groups: Documen
1127
1127
  declare function elementGroupsToDocumentationGroupDTOV1(groups: DocumentationGroupV1[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV1[];
1128
1128
  declare function elementGroupsToDocumentationGroupFixedConfigurationDTOV1(groups: DocumentationGroupV1[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV1[];
1129
1129
 
1130
- type LocalDocsPage = OmitStrict<DocumentationPageV2, "id" | "userSlug"> & {
1131
- userSlug?: undefined;
1132
- };
1133
- type LocalDocsPageGroup = OmitStrict<ElementGroup, "id" | "brandPersistentId" | "childType" | "userSlug"> & {
1134
- userSlug?: undefined;
1135
- };
1136
- declare class LocalStorage {
1137
- private readonly pages;
1138
- private readonly liveblocksRoomIds;
1139
- private readonly deletedPageIds;
1140
- private readonly groups;
1141
- setPage(page: LocalDocsPage): void;
1142
- deletePage(persistentId: string): void;
1143
- tryGetPage(persistentId: string): LocalDocsPage | undefined;
1144
- getPage(persistentId: string): LocalDocsPage;
1145
- getAllPages(): LocalDocsPage[];
1146
- getAllDeletedPages(): Set<string>;
1147
- removePage(persistentId: string): void;
1148
- setPageLiveblocksRoomId(pagePersistentId: string, id: string): void;
1149
- getPageLiveblocksRoomId(pagePersistentId: string): string | undefined;
1150
- getAllPageLiveblocksRoomIds(): Map<string, string>;
1151
- }
1152
-
1153
1130
  declare const DocumentationHierarchySettings: z.ZodObject<{
1154
1131
  routingVersion: z.ZodString;
1155
1132
  isDraftFeatureAdopted: z.ZodBoolean;
@@ -1837,6 +1814,13 @@ type VersionRoomBaseYDocState = {
1837
1814
  settings: DocumentationHierarchySettings;
1838
1815
  };
1839
1816
 
1817
+ type LocalDocsPage = OmitStrict<DocumentationPageV2, "id" | "userSlug"> & {
1818
+ userSlug?: undefined;
1819
+ };
1820
+ type LocalDocsPageGroup = OmitStrict<ElementGroup, "id" | "brandPersistentId" | "childType" | "userSlug"> & {
1821
+ userSlug?: undefined;
1822
+ };
1823
+
1840
1824
  declare const DTOColorTokenInlineData: z.ZodObject<{
1841
1825
  value: z.ZodString;
1842
1826
  }, "strip", z.ZodTypeAny, {
@@ -96820,56 +96804,89 @@ declare class SupernovaApiClient {
96820
96804
  constructor(config: SupernovaApiClientConfig);
96821
96805
  }
96822
96806
 
96823
- type HierarchyObserver$1 = (hierarchy: DTODocumentationHierarchyV2) => void;
96824
- type DocPageCreate = {
96825
- persistentId: string;
96826
- title: string;
96827
- configuration?: DTODocumentationItemConfigurationV2;
96828
- parentPersistentId: string;
96829
- afterPersistentId?: string | null;
96830
- };
96831
- type DocPageUpdate = {
96832
- persistentId: string;
96833
- title?: string;
96834
- configuration?: Partial<DTODocumentationItemConfigurationV2>;
96835
- };
96836
- type TransactionExecutor$1 = (trx: DTOElementActionInput) => Promise<void>;
96837
- declare class DocsStructureRepository {
96838
- private readonly localState;
96839
- private designSystemVersionId;
96840
- private readonly yDoc;
96841
- private readonly yObserver;
96842
- private _yState;
96843
- private _currentHierarchy;
96844
- private readonly trxQueue;
96845
- private readonly hierarchyObservers;
96846
- private readonly initCallbacks;
96847
- constructor(designSystemVersionId: string, yDoc: Y.Doc, transactionExecutor: TransactionExecutor$1);
96848
- private get yState();
96849
- get isInitialized(): boolean;
96850
- onInitialized(): Promise<void>;
96851
- addHierarchyObserver(observer: HierarchyObserver$1): void;
96852
- removeHierarchyObserver(observer: HierarchyObserver$1): void;
96853
- dispose(): void;
96854
- get currentHierarchy(): DTODocumentationHierarchyV2;
96855
- createPage(input: DocPageCreate): void;
96856
- createPagePromise(input: DocPageCreate): Promise<void>;
96857
- updatePage(update: DocPageUpdate): void;
96858
- updatePagePromise(update: DocPageUpdate): Promise<void>;
96859
- private updatePageLocally;
96860
- deletePagePromise(persistentId: string): Promise<void>;
96861
- deletePage(persistentId: string): void;
96862
- private createLocalPageUpdate;
96863
- private lookupPage;
96864
- private refreshHierarchy;
96865
- private calculateHierarchy;
96866
- private onYUpdate;
96867
- private calculateSortOrder;
96868
- }
96807
+ declare const DTOEventFigmaNodesRendered: z.ZodObject<{
96808
+ type: z.ZodLiteral<"DesignSystem.FigmaNodesRendered">;
96809
+ designSystemId: z.ZodString;
96810
+ versionId: z.ZodString;
96811
+ figmaNodePersistentIds: z.ZodArray<z.ZodString, "many">;
96812
+ }, "strip", z.ZodTypeAny, {
96813
+ type: "DesignSystem.FigmaNodesRendered";
96814
+ designSystemId: string;
96815
+ versionId: string;
96816
+ figmaNodePersistentIds: string[];
96817
+ }, {
96818
+ type: "DesignSystem.FigmaNodesRendered";
96819
+ designSystemId: string;
96820
+ versionId: string;
96821
+ figmaNodePersistentIds: string[];
96822
+ }>;
96823
+ type DTOEventFigmaNodesRendered = z.infer<typeof DTOEventFigmaNodesRendered>;
96824
+ declare const DTOEventDataSourcesImported: z.ZodObject<{
96825
+ type: z.ZodLiteral<"DesignSystem.ImportJobFinished">;
96826
+ designSystemId: z.ZodString;
96827
+ versionId: z.ZodString;
96828
+ importJobId: z.ZodString;
96829
+ dataSourceType: z.ZodEnum<["Figma", "TokenStudio", "FigmaVariablesPlugin"]>;
96830
+ dataSourceIds: z.ZodArray<z.ZodString, "many">;
96831
+ }, "strip", z.ZodTypeAny, {
96832
+ type: "DesignSystem.ImportJobFinished";
96833
+ designSystemId: string;
96834
+ versionId: string;
96835
+ importJobId: string;
96836
+ dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
96837
+ dataSourceIds: string[];
96838
+ }, {
96839
+ type: "DesignSystem.ImportJobFinished";
96840
+ designSystemId: string;
96841
+ versionId: string;
96842
+ importJobId: string;
96843
+ dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
96844
+ dataSourceIds: string[];
96845
+ }>;
96846
+ type DTOEventDataSourcesImported = z.infer<typeof DTOEventDataSourcesImported>;
96847
+
96848
+ declare const DTOEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
96849
+ type: z.ZodLiteral<"DesignSystem.ImportJobFinished">;
96850
+ designSystemId: z.ZodString;
96851
+ versionId: z.ZodString;
96852
+ importJobId: z.ZodString;
96853
+ dataSourceType: z.ZodEnum<["Figma", "TokenStudio", "FigmaVariablesPlugin"]>;
96854
+ dataSourceIds: z.ZodArray<z.ZodString, "many">;
96855
+ }, "strip", z.ZodTypeAny, {
96856
+ type: "DesignSystem.ImportJobFinished";
96857
+ designSystemId: string;
96858
+ versionId: string;
96859
+ importJobId: string;
96860
+ dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
96861
+ dataSourceIds: string[];
96862
+ }, {
96863
+ type: "DesignSystem.ImportJobFinished";
96864
+ designSystemId: string;
96865
+ versionId: string;
96866
+ importJobId: string;
96867
+ dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
96868
+ dataSourceIds: string[];
96869
+ }>, z.ZodObject<{
96870
+ type: z.ZodLiteral<"DesignSystem.FigmaNodesRendered">;
96871
+ designSystemId: z.ZodString;
96872
+ versionId: z.ZodString;
96873
+ figmaNodePersistentIds: z.ZodArray<z.ZodString, "many">;
96874
+ }, "strip", z.ZodTypeAny, {
96875
+ type: "DesignSystem.FigmaNodesRendered";
96876
+ designSystemId: string;
96877
+ versionId: string;
96878
+ figmaNodePersistentIds: string[];
96879
+ }, {
96880
+ type: "DesignSystem.FigmaNodesRendered";
96881
+ designSystemId: string;
96882
+ versionId: string;
96883
+ figmaNodePersistentIds: string[];
96884
+ }>]>;
96885
+ type DTOEvent = z.infer<typeof DTOEvent>;
96869
96886
 
96870
96887
  type HierarchyObserver = (hierarchy: DTODocumentationHierarchyV2) => void;
96871
96888
  type TransactionExecutor = (trx: DTOElementActionInput) => Promise<void>;
96872
- declare class DocsStructureRepositoryV2 {
96889
+ declare class DocsStructureRepository {
96873
96890
  private designSystemVersionId;
96874
96891
  private readonly yDoc;
96875
96892
  private readonly yObserver;
@@ -98803,4 +98820,4 @@ declare class FrontendVersionRoomYDoc {
98803
98820
 
98804
98821
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
98805
98822
 
98806
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, BrandsEndpoint, CodegenEndpoint, Collection, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBffFigmaImportRequestBody, DTOBffImportRequestBody, DTOBffUploadImportRequestBody, DTOBrand, DTOBrandCreatePayload, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandUpdatePayload, DTOBrandsListResponse, DTOColorTokenInlineData, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateVersionInput, DTODataSource, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaCreatePayload, DTODataSourceFigmaImportPayload, DTODataSourceFigmaScope, DTODataSourceFigmaVariablesPlugin, DTODataSourceResponse, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemComponent, DTODesignSystemComponentCreateInput, DTODesignSystemComponentListResponse, DTODesignSystemComponentResponse, DTODesignSystemContactsResponse, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODesignToken, DTODesignTokenCreatePayload, DTODesignTokenGroup, DTODesignTokenGroupCreatePayload, DTODesignTokenGroupListResponse, DTODesignTokenGroupResponse, DTODesignTokenListResponse, DTODesignTokenResponse, 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, DTODocumentationPageRoom, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageRoomResponse, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationStructure, DTODocumentationStructureGroupItem, DTODocumentationStructureItem, DTODocumentationStructurePageItem, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, type DTOElementActionInputOfType, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionCreatePayload, DTOElementPropertyDefinitionListResponse, DTOElementPropertyDefinitionOption, DTOElementPropertyDefinitionResponse, DTOElementPropertyDefinitionUpdatePayload, DTOElementPropertyValue, DTOElementPropertyValueListResponse, DTOElementPropertyValueResponse, DTOElementPropertyValueUpsertPaylod, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, DTOElementsGetOutputV2, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResponseLegacy, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterGitProviderEnum, DTOExporterListQuery, DTOExporterListResponse, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterPropertyDefinition, DTOExporterPropertyDefinitionArray, DTOExporterPropertyDefinitionBoolean, DTOExporterPropertyDefinitionEnum, DTOExporterPropertyDefinitionEnumOption, DTOExporterPropertyDefinitionNumber, DTOExporterPropertyDefinitionObject, DTOExporterPropertyDefinitionString, DTOExporterPropertyDefinitionValue, DTOExporterPropertyDefinitionValueMap, DTOExporterPropertyDefinitionsResponse, DTOExporterPropertyType, DTOExporterResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentGroup, DTOFigmaComponentGroupListResponse, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeDataV2, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderAsyncActionInput, DTOFigmaNodeRenderAsyncActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderIdInput, DTOFigmaNodeRenderInput, DTOFigmaNodeRenderUrlInput, DTOFigmaNodeRerenderInput, DTOFigmaNodeV2, DTOFrameNodeStructure, DTOFrameNodeStructureListResponse, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOImportJob, DTOImportJobResponse, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOObjectMeta, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineListQuery, DTOPipelineListResponse, DTOPipelineResponse, DTOPipelineTriggerBody, DTOPipelineUpdateBody, type DTOPropertyDefinitionBase, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOTheme, DTOThemeCreatePayload, DTOThemeListResponse, DTOThemeOverride, DTOThemeOverrideCreatePayload, DTOThemeResponse, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOTransferOwnershipPayload, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdate, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationUpdateResponse, DTOWorkspaceInvitationsListInput, DTOWorkspaceInvitationsResponse, DTOWorkspaceInviteUpdate, DTOWorkspaceMember, DTOWorkspaceMembersListResponse, DTOWorkspaceProfile, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemBffEndpoint, DesignSystemComponentEndpoint, DesignSystemContactsEndpoint, DesignSystemMembersEndpoint, DesignSystemSourcesEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DimensionsVariableScopeType, DocsStructureRepository, DocsStructureRepositoryV2, DocumentationEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, ElementPropertyDefinitionsEndpoint, ElementPropertyValuesEndpoint, ElementsActionEndpoint, ElementsEndpoint, ExporterJobsEndpoint, ExportersEndpoint, FigmaComponentGroupsEndpoint, FigmaComponentsEndpoint, FigmaFrameStructuresEndpoint, FigmaUtils, FormattedCollections, FrontendVersionRoomYDoc, ImportJobsEndpoint, type ListItemNode, type ListNode, ListTreeBuilder, LiveblocksEndpoint, type LocalDocsPage, type LocalDocsPageGroup, LocalStorage, NpmRegistryInput, ObjectMeta, OverridesEndpoint, PageBlockEditorModel, PageSectionEditorModel, ParsedFigmaFileURLError, PipelinesEndpoint, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RGB, RGBA, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, ResolvedVariableType, StringVariableScopeType, SupernovaApiClient, ThemesEndpoint, TokenCollectionsEndpoint, TokenGroupsEndpoint, TokensEndpoint, UsersEndpoint, Variable, VariableAlias, VariableMode, VariableValue, VariablesMapping, VersionRoomBaseYDoc, type VersionRoomBaseYDocState, type VersionRoomDocsPage, type VersionRoomDocsPageGroup, VersionSQSPayload, VersionStatsEndpoint, WorkspaceConfigurationPayload, WorkspaceInvitationsEndpoint, WorkspaceMembersEndpoint, WorkspacesEndpoint, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, computeDocsHierarchy, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, serializeQuery, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
98823
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, BrandsEndpoint, CodegenEndpoint, Collection, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBffFigmaImportRequestBody, DTOBffImportRequestBody, DTOBffUploadImportRequestBody, DTOBrand, DTOBrandCreatePayload, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandUpdatePayload, DTOBrandsListResponse, DTOColorTokenInlineData, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateVersionInput, DTODataSource, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaCreatePayload, DTODataSourceFigmaImportPayload, DTODataSourceFigmaScope, DTODataSourceFigmaVariablesPlugin, DTODataSourceResponse, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemComponent, DTODesignSystemComponentCreateInput, DTODesignSystemComponentListResponse, DTODesignSystemComponentResponse, DTODesignSystemContactsResponse, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODesignToken, DTODesignTokenCreatePayload, DTODesignTokenGroup, DTODesignTokenGroupCreatePayload, DTODesignTokenGroupListResponse, DTODesignTokenGroupResponse, DTODesignTokenListResponse, DTODesignTokenResponse, 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, DTODocumentationPageRoom, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageRoomResponse, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationStructure, DTODocumentationStructureGroupItem, DTODocumentationStructureItem, DTODocumentationStructurePageItem, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, type DTOElementActionInputOfType, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionCreatePayload, DTOElementPropertyDefinitionListResponse, DTOElementPropertyDefinitionOption, DTOElementPropertyDefinitionResponse, DTOElementPropertyDefinitionUpdatePayload, DTOElementPropertyValue, DTOElementPropertyValueListResponse, DTOElementPropertyValueResponse, DTOElementPropertyValueUpsertPaylod, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, DTOElementsGetOutputV2, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOEvent, DTOEventDataSourcesImported, DTOEventFigmaNodesRendered, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResponseLegacy, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterGitProviderEnum, DTOExporterListQuery, DTOExporterListResponse, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterPropertyDefinition, DTOExporterPropertyDefinitionArray, DTOExporterPropertyDefinitionBoolean, DTOExporterPropertyDefinitionEnum, DTOExporterPropertyDefinitionEnumOption, DTOExporterPropertyDefinitionNumber, DTOExporterPropertyDefinitionObject, DTOExporterPropertyDefinitionString, DTOExporterPropertyDefinitionValue, DTOExporterPropertyDefinitionValueMap, DTOExporterPropertyDefinitionsResponse, DTOExporterPropertyType, DTOExporterResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentGroup, DTOFigmaComponentGroupListResponse, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeDataV2, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderAsyncActionInput, DTOFigmaNodeRenderAsyncActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderIdInput, DTOFigmaNodeRenderInput, DTOFigmaNodeRenderUrlInput, DTOFigmaNodeRerenderInput, DTOFigmaNodeV2, DTOFrameNodeStructure, DTOFrameNodeStructureListResponse, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOImportJob, DTOImportJobResponse, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOObjectMeta, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineListQuery, DTOPipelineListResponse, DTOPipelineResponse, DTOPipelineTriggerBody, DTOPipelineUpdateBody, type DTOPropertyDefinitionBase, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOTheme, DTOThemeCreatePayload, DTOThemeListResponse, DTOThemeOverride, DTOThemeOverrideCreatePayload, DTOThemeResponse, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOTransferOwnershipPayload, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdate, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationUpdateResponse, DTOWorkspaceInvitationsListInput, DTOWorkspaceInvitationsResponse, DTOWorkspaceInviteUpdate, DTOWorkspaceMember, DTOWorkspaceMembersListResponse, DTOWorkspaceProfile, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemBffEndpoint, DesignSystemComponentEndpoint, DesignSystemContactsEndpoint, DesignSystemMembersEndpoint, DesignSystemSourcesEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DimensionsVariableScopeType, DocsStructureRepository, DocumentationEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, ElementPropertyDefinitionsEndpoint, ElementPropertyValuesEndpoint, ElementsActionEndpoint, ElementsEndpoint, ExporterJobsEndpoint, ExportersEndpoint, FigmaComponentGroupsEndpoint, FigmaComponentsEndpoint, FigmaFrameStructuresEndpoint, FigmaUtils, FormattedCollections, FrontendVersionRoomYDoc, ImportJobsEndpoint, type ListItemNode, type ListNode, ListTreeBuilder, LiveblocksEndpoint, NpmRegistryInput, ObjectMeta, OverridesEndpoint, PageBlockEditorModel, PageSectionEditorModel, ParsedFigmaFileURLError, PipelinesEndpoint, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RGB, RGBA, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, ResolvedVariableType, StringVariableScopeType, SupernovaApiClient, ThemesEndpoint, TokenCollectionsEndpoint, TokenGroupsEndpoint, TokensEndpoint, UsersEndpoint, Variable, VariableAlias, VariableMode, VariableValue, VariablesMapping, VersionRoomBaseYDoc, type VersionRoomBaseYDocState, type VersionRoomDocsPage, type VersionRoomDocsPageGroup, VersionSQSPayload, VersionStatsEndpoint, WorkspaceConfigurationPayload, WorkspaceInvitationsEndpoint, WorkspaceMembersEndpoint, WorkspacesEndpoint, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, computeDocsHierarchy, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, serializeQuery, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, OmitStrict, ElementGroup, DocumentationPageSnapshot, ElementGroupSnapshot, DocumentationPageApproval, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SupernovaExceptionType, SsoProvider, UpdateMembershipRolesInput, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemRichTextEditorValue, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
1
+ import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, ElementGroup, DocumentationPageSnapshot, ElementGroupSnapshot, DocumentationPageApproval, OmitStrict, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SupernovaExceptionType, SsoProvider, UpdateMembershipRolesInput, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemRichTextEditorValue, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
2
2
  import * as zod from 'zod';
3
3
  import zod__default, { z, ZodSchema, ZodTypeDef } from 'zod';
4
4
  import * as Y from 'yjs';
@@ -1127,29 +1127,6 @@ declare function elementGroupsToDocumentationGroupStructureDTOV1(groups: Documen
1127
1127
  declare function elementGroupsToDocumentationGroupDTOV1(groups: DocumentationGroupV1[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV1[];
1128
1128
  declare function elementGroupsToDocumentationGroupFixedConfigurationDTOV1(groups: DocumentationGroupV1[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV1[];
1129
1129
 
1130
- type LocalDocsPage = OmitStrict<DocumentationPageV2, "id" | "userSlug"> & {
1131
- userSlug?: undefined;
1132
- };
1133
- type LocalDocsPageGroup = OmitStrict<ElementGroup, "id" | "brandPersistentId" | "childType" | "userSlug"> & {
1134
- userSlug?: undefined;
1135
- };
1136
- declare class LocalStorage {
1137
- private readonly pages;
1138
- private readonly liveblocksRoomIds;
1139
- private readonly deletedPageIds;
1140
- private readonly groups;
1141
- setPage(page: LocalDocsPage): void;
1142
- deletePage(persistentId: string): void;
1143
- tryGetPage(persistentId: string): LocalDocsPage | undefined;
1144
- getPage(persistentId: string): LocalDocsPage;
1145
- getAllPages(): LocalDocsPage[];
1146
- getAllDeletedPages(): Set<string>;
1147
- removePage(persistentId: string): void;
1148
- setPageLiveblocksRoomId(pagePersistentId: string, id: string): void;
1149
- getPageLiveblocksRoomId(pagePersistentId: string): string | undefined;
1150
- getAllPageLiveblocksRoomIds(): Map<string, string>;
1151
- }
1152
-
1153
1130
  declare const DocumentationHierarchySettings: z.ZodObject<{
1154
1131
  routingVersion: z.ZodString;
1155
1132
  isDraftFeatureAdopted: z.ZodBoolean;
@@ -1837,6 +1814,13 @@ type VersionRoomBaseYDocState = {
1837
1814
  settings: DocumentationHierarchySettings;
1838
1815
  };
1839
1816
 
1817
+ type LocalDocsPage = OmitStrict<DocumentationPageV2, "id" | "userSlug"> & {
1818
+ userSlug?: undefined;
1819
+ };
1820
+ type LocalDocsPageGroup = OmitStrict<ElementGroup, "id" | "brandPersistentId" | "childType" | "userSlug"> & {
1821
+ userSlug?: undefined;
1822
+ };
1823
+
1840
1824
  declare const DTOColorTokenInlineData: z.ZodObject<{
1841
1825
  value: z.ZodString;
1842
1826
  }, "strip", z.ZodTypeAny, {
@@ -96820,56 +96804,89 @@ declare class SupernovaApiClient {
96820
96804
  constructor(config: SupernovaApiClientConfig);
96821
96805
  }
96822
96806
 
96823
- type HierarchyObserver$1 = (hierarchy: DTODocumentationHierarchyV2) => void;
96824
- type DocPageCreate = {
96825
- persistentId: string;
96826
- title: string;
96827
- configuration?: DTODocumentationItemConfigurationV2;
96828
- parentPersistentId: string;
96829
- afterPersistentId?: string | null;
96830
- };
96831
- type DocPageUpdate = {
96832
- persistentId: string;
96833
- title?: string;
96834
- configuration?: Partial<DTODocumentationItemConfigurationV2>;
96835
- };
96836
- type TransactionExecutor$1 = (trx: DTOElementActionInput) => Promise<void>;
96837
- declare class DocsStructureRepository {
96838
- private readonly localState;
96839
- private designSystemVersionId;
96840
- private readonly yDoc;
96841
- private readonly yObserver;
96842
- private _yState;
96843
- private _currentHierarchy;
96844
- private readonly trxQueue;
96845
- private readonly hierarchyObservers;
96846
- private readonly initCallbacks;
96847
- constructor(designSystemVersionId: string, yDoc: Y.Doc, transactionExecutor: TransactionExecutor$1);
96848
- private get yState();
96849
- get isInitialized(): boolean;
96850
- onInitialized(): Promise<void>;
96851
- addHierarchyObserver(observer: HierarchyObserver$1): void;
96852
- removeHierarchyObserver(observer: HierarchyObserver$1): void;
96853
- dispose(): void;
96854
- get currentHierarchy(): DTODocumentationHierarchyV2;
96855
- createPage(input: DocPageCreate): void;
96856
- createPagePromise(input: DocPageCreate): Promise<void>;
96857
- updatePage(update: DocPageUpdate): void;
96858
- updatePagePromise(update: DocPageUpdate): Promise<void>;
96859
- private updatePageLocally;
96860
- deletePagePromise(persistentId: string): Promise<void>;
96861
- deletePage(persistentId: string): void;
96862
- private createLocalPageUpdate;
96863
- private lookupPage;
96864
- private refreshHierarchy;
96865
- private calculateHierarchy;
96866
- private onYUpdate;
96867
- private calculateSortOrder;
96868
- }
96807
+ declare const DTOEventFigmaNodesRendered: z.ZodObject<{
96808
+ type: z.ZodLiteral<"DesignSystem.FigmaNodesRendered">;
96809
+ designSystemId: z.ZodString;
96810
+ versionId: z.ZodString;
96811
+ figmaNodePersistentIds: z.ZodArray<z.ZodString, "many">;
96812
+ }, "strip", z.ZodTypeAny, {
96813
+ type: "DesignSystem.FigmaNodesRendered";
96814
+ designSystemId: string;
96815
+ versionId: string;
96816
+ figmaNodePersistentIds: string[];
96817
+ }, {
96818
+ type: "DesignSystem.FigmaNodesRendered";
96819
+ designSystemId: string;
96820
+ versionId: string;
96821
+ figmaNodePersistentIds: string[];
96822
+ }>;
96823
+ type DTOEventFigmaNodesRendered = z.infer<typeof DTOEventFigmaNodesRendered>;
96824
+ declare const DTOEventDataSourcesImported: z.ZodObject<{
96825
+ type: z.ZodLiteral<"DesignSystem.ImportJobFinished">;
96826
+ designSystemId: z.ZodString;
96827
+ versionId: z.ZodString;
96828
+ importJobId: z.ZodString;
96829
+ dataSourceType: z.ZodEnum<["Figma", "TokenStudio", "FigmaVariablesPlugin"]>;
96830
+ dataSourceIds: z.ZodArray<z.ZodString, "many">;
96831
+ }, "strip", z.ZodTypeAny, {
96832
+ type: "DesignSystem.ImportJobFinished";
96833
+ designSystemId: string;
96834
+ versionId: string;
96835
+ importJobId: string;
96836
+ dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
96837
+ dataSourceIds: string[];
96838
+ }, {
96839
+ type: "DesignSystem.ImportJobFinished";
96840
+ designSystemId: string;
96841
+ versionId: string;
96842
+ importJobId: string;
96843
+ dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
96844
+ dataSourceIds: string[];
96845
+ }>;
96846
+ type DTOEventDataSourcesImported = z.infer<typeof DTOEventDataSourcesImported>;
96847
+
96848
+ declare const DTOEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
96849
+ type: z.ZodLiteral<"DesignSystem.ImportJobFinished">;
96850
+ designSystemId: z.ZodString;
96851
+ versionId: z.ZodString;
96852
+ importJobId: z.ZodString;
96853
+ dataSourceType: z.ZodEnum<["Figma", "TokenStudio", "FigmaVariablesPlugin"]>;
96854
+ dataSourceIds: z.ZodArray<z.ZodString, "many">;
96855
+ }, "strip", z.ZodTypeAny, {
96856
+ type: "DesignSystem.ImportJobFinished";
96857
+ designSystemId: string;
96858
+ versionId: string;
96859
+ importJobId: string;
96860
+ dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
96861
+ dataSourceIds: string[];
96862
+ }, {
96863
+ type: "DesignSystem.ImportJobFinished";
96864
+ designSystemId: string;
96865
+ versionId: string;
96866
+ importJobId: string;
96867
+ dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
96868
+ dataSourceIds: string[];
96869
+ }>, z.ZodObject<{
96870
+ type: z.ZodLiteral<"DesignSystem.FigmaNodesRendered">;
96871
+ designSystemId: z.ZodString;
96872
+ versionId: z.ZodString;
96873
+ figmaNodePersistentIds: z.ZodArray<z.ZodString, "many">;
96874
+ }, "strip", z.ZodTypeAny, {
96875
+ type: "DesignSystem.FigmaNodesRendered";
96876
+ designSystemId: string;
96877
+ versionId: string;
96878
+ figmaNodePersistentIds: string[];
96879
+ }, {
96880
+ type: "DesignSystem.FigmaNodesRendered";
96881
+ designSystemId: string;
96882
+ versionId: string;
96883
+ figmaNodePersistentIds: string[];
96884
+ }>]>;
96885
+ type DTOEvent = z.infer<typeof DTOEvent>;
96869
96886
 
96870
96887
  type HierarchyObserver = (hierarchy: DTODocumentationHierarchyV2) => void;
96871
96888
  type TransactionExecutor = (trx: DTOElementActionInput) => Promise<void>;
96872
- declare class DocsStructureRepositoryV2 {
96889
+ declare class DocsStructureRepository {
96873
96890
  private designSystemVersionId;
96874
96891
  private readonly yDoc;
96875
96892
  private readonly yObserver;
@@ -98803,4 +98820,4 @@ declare class FrontendVersionRoomYDoc {
98803
98820
 
98804
98821
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
98805
98822
 
98806
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, BrandsEndpoint, CodegenEndpoint, Collection, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBffFigmaImportRequestBody, DTOBffImportRequestBody, DTOBffUploadImportRequestBody, DTOBrand, DTOBrandCreatePayload, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandUpdatePayload, DTOBrandsListResponse, DTOColorTokenInlineData, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateVersionInput, DTODataSource, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaCreatePayload, DTODataSourceFigmaImportPayload, DTODataSourceFigmaScope, DTODataSourceFigmaVariablesPlugin, DTODataSourceResponse, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemComponent, DTODesignSystemComponentCreateInput, DTODesignSystemComponentListResponse, DTODesignSystemComponentResponse, DTODesignSystemContactsResponse, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODesignToken, DTODesignTokenCreatePayload, DTODesignTokenGroup, DTODesignTokenGroupCreatePayload, DTODesignTokenGroupListResponse, DTODesignTokenGroupResponse, DTODesignTokenListResponse, DTODesignTokenResponse, 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, DTODocumentationPageRoom, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageRoomResponse, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationStructure, DTODocumentationStructureGroupItem, DTODocumentationStructureItem, DTODocumentationStructurePageItem, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, type DTOElementActionInputOfType, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionCreatePayload, DTOElementPropertyDefinitionListResponse, DTOElementPropertyDefinitionOption, DTOElementPropertyDefinitionResponse, DTOElementPropertyDefinitionUpdatePayload, DTOElementPropertyValue, DTOElementPropertyValueListResponse, DTOElementPropertyValueResponse, DTOElementPropertyValueUpsertPaylod, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, DTOElementsGetOutputV2, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResponseLegacy, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterGitProviderEnum, DTOExporterListQuery, DTOExporterListResponse, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterPropertyDefinition, DTOExporterPropertyDefinitionArray, DTOExporterPropertyDefinitionBoolean, DTOExporterPropertyDefinitionEnum, DTOExporterPropertyDefinitionEnumOption, DTOExporterPropertyDefinitionNumber, DTOExporterPropertyDefinitionObject, DTOExporterPropertyDefinitionString, DTOExporterPropertyDefinitionValue, DTOExporterPropertyDefinitionValueMap, DTOExporterPropertyDefinitionsResponse, DTOExporterPropertyType, DTOExporterResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentGroup, DTOFigmaComponentGroupListResponse, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeDataV2, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderAsyncActionInput, DTOFigmaNodeRenderAsyncActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderIdInput, DTOFigmaNodeRenderInput, DTOFigmaNodeRenderUrlInput, DTOFigmaNodeRerenderInput, DTOFigmaNodeV2, DTOFrameNodeStructure, DTOFrameNodeStructureListResponse, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOImportJob, DTOImportJobResponse, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOObjectMeta, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineListQuery, DTOPipelineListResponse, DTOPipelineResponse, DTOPipelineTriggerBody, DTOPipelineUpdateBody, type DTOPropertyDefinitionBase, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOTheme, DTOThemeCreatePayload, DTOThemeListResponse, DTOThemeOverride, DTOThemeOverrideCreatePayload, DTOThemeResponse, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOTransferOwnershipPayload, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdate, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationUpdateResponse, DTOWorkspaceInvitationsListInput, DTOWorkspaceInvitationsResponse, DTOWorkspaceInviteUpdate, DTOWorkspaceMember, DTOWorkspaceMembersListResponse, DTOWorkspaceProfile, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemBffEndpoint, DesignSystemComponentEndpoint, DesignSystemContactsEndpoint, DesignSystemMembersEndpoint, DesignSystemSourcesEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DimensionsVariableScopeType, DocsStructureRepository, DocsStructureRepositoryV2, DocumentationEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, ElementPropertyDefinitionsEndpoint, ElementPropertyValuesEndpoint, ElementsActionEndpoint, ElementsEndpoint, ExporterJobsEndpoint, ExportersEndpoint, FigmaComponentGroupsEndpoint, FigmaComponentsEndpoint, FigmaFrameStructuresEndpoint, FigmaUtils, FormattedCollections, FrontendVersionRoomYDoc, ImportJobsEndpoint, type ListItemNode, type ListNode, ListTreeBuilder, LiveblocksEndpoint, type LocalDocsPage, type LocalDocsPageGroup, LocalStorage, NpmRegistryInput, ObjectMeta, OverridesEndpoint, PageBlockEditorModel, PageSectionEditorModel, ParsedFigmaFileURLError, PipelinesEndpoint, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RGB, RGBA, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, ResolvedVariableType, StringVariableScopeType, SupernovaApiClient, ThemesEndpoint, TokenCollectionsEndpoint, TokenGroupsEndpoint, TokensEndpoint, UsersEndpoint, Variable, VariableAlias, VariableMode, VariableValue, VariablesMapping, VersionRoomBaseYDoc, type VersionRoomBaseYDocState, type VersionRoomDocsPage, type VersionRoomDocsPageGroup, VersionSQSPayload, VersionStatsEndpoint, WorkspaceConfigurationPayload, WorkspaceInvitationsEndpoint, WorkspaceMembersEndpoint, WorkspacesEndpoint, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, computeDocsHierarchy, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, serializeQuery, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
98823
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, BrandsEndpoint, CodegenEndpoint, Collection, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBffFigmaImportRequestBody, DTOBffImportRequestBody, DTOBffUploadImportRequestBody, DTOBrand, DTOBrandCreatePayload, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandUpdatePayload, DTOBrandsListResponse, DTOColorTokenInlineData, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateVersionInput, DTODataSource, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaCreatePayload, DTODataSourceFigmaImportPayload, DTODataSourceFigmaScope, DTODataSourceFigmaVariablesPlugin, DTODataSourceResponse, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemComponent, DTODesignSystemComponentCreateInput, DTODesignSystemComponentListResponse, DTODesignSystemComponentResponse, DTODesignSystemContactsResponse, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODesignToken, DTODesignTokenCreatePayload, DTODesignTokenGroup, DTODesignTokenGroupCreatePayload, DTODesignTokenGroupListResponse, DTODesignTokenGroupResponse, DTODesignTokenListResponse, DTODesignTokenResponse, 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, DTODocumentationPageRoom, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageRoomResponse, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationStructure, DTODocumentationStructureGroupItem, DTODocumentationStructureItem, DTODocumentationStructurePageItem, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, type DTOElementActionInputOfType, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionCreatePayload, DTOElementPropertyDefinitionListResponse, DTOElementPropertyDefinitionOption, DTOElementPropertyDefinitionResponse, DTOElementPropertyDefinitionUpdatePayload, DTOElementPropertyValue, DTOElementPropertyValueListResponse, DTOElementPropertyValueResponse, DTOElementPropertyValueUpsertPaylod, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, DTOElementsGetOutputV2, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOEvent, DTOEventDataSourcesImported, DTOEventFigmaNodesRendered, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResponseLegacy, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterGitProviderEnum, DTOExporterListQuery, DTOExporterListResponse, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterPropertyDefinition, DTOExporterPropertyDefinitionArray, DTOExporterPropertyDefinitionBoolean, DTOExporterPropertyDefinitionEnum, DTOExporterPropertyDefinitionEnumOption, DTOExporterPropertyDefinitionNumber, DTOExporterPropertyDefinitionObject, DTOExporterPropertyDefinitionString, DTOExporterPropertyDefinitionValue, DTOExporterPropertyDefinitionValueMap, DTOExporterPropertyDefinitionsResponse, DTOExporterPropertyType, DTOExporterResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentGroup, DTOFigmaComponentGroupListResponse, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeDataV2, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderAsyncActionInput, DTOFigmaNodeRenderAsyncActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderIdInput, DTOFigmaNodeRenderInput, DTOFigmaNodeRenderUrlInput, DTOFigmaNodeRerenderInput, DTOFigmaNodeV2, DTOFrameNodeStructure, DTOFrameNodeStructureListResponse, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOImportJob, DTOImportJobResponse, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOObjectMeta, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineListQuery, DTOPipelineListResponse, DTOPipelineResponse, DTOPipelineTriggerBody, DTOPipelineUpdateBody, type DTOPropertyDefinitionBase, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOTheme, DTOThemeCreatePayload, DTOThemeListResponse, DTOThemeOverride, DTOThemeOverrideCreatePayload, DTOThemeResponse, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOTransferOwnershipPayload, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdate, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationUpdateResponse, DTOWorkspaceInvitationsListInput, DTOWorkspaceInvitationsResponse, DTOWorkspaceInviteUpdate, DTOWorkspaceMember, DTOWorkspaceMembersListResponse, DTOWorkspaceProfile, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemBffEndpoint, DesignSystemComponentEndpoint, DesignSystemContactsEndpoint, DesignSystemMembersEndpoint, DesignSystemSourcesEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DimensionsVariableScopeType, DocsStructureRepository, DocumentationEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, ElementPropertyDefinitionsEndpoint, ElementPropertyValuesEndpoint, ElementsActionEndpoint, ElementsEndpoint, ExporterJobsEndpoint, ExportersEndpoint, FigmaComponentGroupsEndpoint, FigmaComponentsEndpoint, FigmaFrameStructuresEndpoint, FigmaUtils, FormattedCollections, FrontendVersionRoomYDoc, ImportJobsEndpoint, type ListItemNode, type ListNode, ListTreeBuilder, LiveblocksEndpoint, NpmRegistryInput, ObjectMeta, OverridesEndpoint, PageBlockEditorModel, PageSectionEditorModel, ParsedFigmaFileURLError, PipelinesEndpoint, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RGB, RGBA, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, ResolvedVariableType, StringVariableScopeType, SupernovaApiClient, ThemesEndpoint, TokenCollectionsEndpoint, TokenGroupsEndpoint, TokensEndpoint, UsersEndpoint, Variable, VariableAlias, VariableMode, VariableValue, VariablesMapping, VersionRoomBaseYDoc, type VersionRoomBaseYDocState, type VersionRoomDocsPage, type VersionRoomDocsPageGroup, VersionSQSPayload, VersionStatsEndpoint, WorkspaceConfigurationPayload, WorkspaceInvitationsEndpoint, WorkspaceMembersEndpoint, WorkspacesEndpoint, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, computeDocsHierarchy, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, serializeQuery, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };