@supernova-studio/client 0.47.38 → 0.47.40
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 +83 -3
- package/dist/index.d.ts +83 -3
- package/dist/index.js +90 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1649 -1568
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/conversion/documentation/documentation-elements-to-hierarchy-v2-dto.ts +3 -1
- package/src/api/dto/elements/documentation/page-v2.ts +3 -2
- package/src/index.ts +1 -0
- package/src/utils/hash.ts +35 -0
- package/src/utils/index.ts +1 -0
- package/src/yjs/design-system-content/documentation-hierarchy.ts +33 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _supernova_studio_model from '@supernova-studio/model';
|
|
2
|
-
import { PageBlockV1, DocumentationPageV2, ElementGroup, DocumentationGroupV1, DocumentationPageV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SsoProvider, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
|
|
2
|
+
import { PageBlockV1, DocumentationPageV2, ElementGroup, DesignElementSnapshot, DocumentationGroupV1, DocumentationPageV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SsoProvider, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import { z, ZodTypeDef } from 'zod';
|
|
5
5
|
import * as Y from 'yjs';
|
|
@@ -15329,6 +15329,10 @@ declare const DTODocumentationPageV2: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
15329
15329
|
type: z.ZodLiteral<"Page">;
|
|
15330
15330
|
configuration: z.ZodObject<{
|
|
15331
15331
|
showSidebar: z.ZodBoolean;
|
|
15332
|
+
/**
|
|
15333
|
+
* Structure DTO is element properties minus element data (in other words data required
|
|
15334
|
+
* to display the element in the left panel)
|
|
15335
|
+
*/
|
|
15332
15336
|
isPrivate: z.ZodBoolean;
|
|
15333
15337
|
isHidden: z.ZodBoolean;
|
|
15334
15338
|
header: z.ZodObject<{
|
|
@@ -16204,6 +16208,10 @@ declare const DTODocumentationPageStructureV2: z.ZodObject<z.objectUtil.extendSh
|
|
|
16204
16208
|
type: z.ZodLiteral<"Page">;
|
|
16205
16209
|
configuration: z.ZodObject<{
|
|
16206
16210
|
showSidebar: z.ZodBoolean;
|
|
16211
|
+
/**
|
|
16212
|
+
* Structure DTO is element properties minus element data (in other words data required
|
|
16213
|
+
* to display the element in the left panel)
|
|
16214
|
+
*/
|
|
16207
16215
|
isPrivate: z.ZodBoolean;
|
|
16208
16216
|
isHidden: z.ZodBoolean;
|
|
16209
16217
|
header: z.ZodObject<{
|
|
@@ -17080,6 +17088,10 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
17080
17088
|
type: z.ZodLiteral<"Page">;
|
|
17081
17089
|
configuration: z.ZodObject<{
|
|
17082
17090
|
showSidebar: z.ZodBoolean;
|
|
17091
|
+
/**
|
|
17092
|
+
* Structure DTO is element properties minus element data (in other words data required
|
|
17093
|
+
* to display the element in the left panel)
|
|
17094
|
+
*/
|
|
17083
17095
|
isPrivate: z.ZodBoolean;
|
|
17084
17096
|
isHidden: z.ZodBoolean;
|
|
17085
17097
|
header: z.ZodObject<{
|
|
@@ -17588,6 +17600,10 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
17588
17600
|
shortPersistentId: z.ZodString;
|
|
17589
17601
|
configuration: z.ZodObject<{
|
|
17590
17602
|
showSidebar: z.ZodBoolean;
|
|
17603
|
+
/**
|
|
17604
|
+
* Structure DTO is element properties minus element data (in other words data required
|
|
17605
|
+
* to display the element in the left panel)
|
|
17606
|
+
*/
|
|
17591
17607
|
isPrivate: z.ZodBoolean;
|
|
17592
17608
|
isHidden: z.ZodBoolean;
|
|
17593
17609
|
header: z.ZodObject<{
|
|
@@ -17870,6 +17886,40 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
17870
17886
|
slug?: string | undefined;
|
|
17871
17887
|
userSlug?: string | undefined;
|
|
17872
17888
|
}>, "many">;
|
|
17889
|
+
publishedPagesSnapshots: z.ZodArray<z.ZodObject<{
|
|
17890
|
+
id: z.ZodString;
|
|
17891
|
+
designSystemVersionId: z.ZodString;
|
|
17892
|
+
elementId: z.ZodString;
|
|
17893
|
+
elementType: z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Component", "Theme", "Documentation", "DocumentationPage", "DesignSystemComponent", "ElementGroup", "FigmaNodeStructure", "FigmaNodeReference", "PageBlock"]>]>;
|
|
17894
|
+
elementPersistentId: z.ZodString;
|
|
17895
|
+
elementParentPersistentId: z.ZodString;
|
|
17896
|
+
elementName: z.ZodString;
|
|
17897
|
+
hash: z.ZodString;
|
|
17898
|
+
storageKey: z.ZodString;
|
|
17899
|
+
createdAt: z.ZodDate;
|
|
17900
|
+
}, "strip", z.ZodTypeAny, {
|
|
17901
|
+
id: string;
|
|
17902
|
+
createdAt: Date;
|
|
17903
|
+
designSystemVersionId: string;
|
|
17904
|
+
elementId: string;
|
|
17905
|
+
elementType: "Documentation" | "Theme" | "Component" | "DocumentationPage" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "DesignSystemComponent" | "ElementGroup" | "FigmaNodeStructure" | "FigmaNodeReference" | "PageBlock";
|
|
17906
|
+
elementPersistentId: string;
|
|
17907
|
+
elementParentPersistentId: string;
|
|
17908
|
+
elementName: string;
|
|
17909
|
+
hash: string;
|
|
17910
|
+
storageKey: string;
|
|
17911
|
+
}, {
|
|
17912
|
+
id: string;
|
|
17913
|
+
createdAt: Date;
|
|
17914
|
+
designSystemVersionId: string;
|
|
17915
|
+
elementId: string;
|
|
17916
|
+
elementType: "Documentation" | "Theme" | "Component" | "DocumentationPage" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "DesignSystemComponent" | "ElementGroup" | "FigmaNodeStructure" | "FigmaNodeReference" | "PageBlock";
|
|
17917
|
+
elementPersistentId: string;
|
|
17918
|
+
elementParentPersistentId: string;
|
|
17919
|
+
elementName: string;
|
|
17920
|
+
hash: string;
|
|
17921
|
+
storageKey: string;
|
|
17922
|
+
}>, "many">;
|
|
17873
17923
|
}, "strip", z.ZodTypeAny, {
|
|
17874
17924
|
pages: {
|
|
17875
17925
|
id: string;
|
|
@@ -17963,6 +18013,18 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
17963
18013
|
slug?: string | undefined;
|
|
17964
18014
|
userSlug?: string | undefined;
|
|
17965
18015
|
}[];
|
|
18016
|
+
publishedPagesSnapshots: {
|
|
18017
|
+
id: string;
|
|
18018
|
+
createdAt: Date;
|
|
18019
|
+
designSystemVersionId: string;
|
|
18020
|
+
elementId: string;
|
|
18021
|
+
elementType: "Documentation" | "Theme" | "Component" | "DocumentationPage" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "DesignSystemComponent" | "ElementGroup" | "FigmaNodeStructure" | "FigmaNodeReference" | "PageBlock";
|
|
18022
|
+
elementPersistentId: string;
|
|
18023
|
+
elementParentPersistentId: string;
|
|
18024
|
+
elementName: string;
|
|
18025
|
+
hash: string;
|
|
18026
|
+
storageKey: string;
|
|
18027
|
+
}[];
|
|
17966
18028
|
}, {
|
|
17967
18029
|
pages: {
|
|
17968
18030
|
id: string;
|
|
@@ -18056,6 +18118,18 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
18056
18118
|
slug?: string | undefined;
|
|
18057
18119
|
userSlug?: string | undefined;
|
|
18058
18120
|
}[];
|
|
18121
|
+
publishedPagesSnapshots: {
|
|
18122
|
+
id: string;
|
|
18123
|
+
createdAt: Date;
|
|
18124
|
+
designSystemVersionId: string;
|
|
18125
|
+
elementId: string;
|
|
18126
|
+
elementType: "Documentation" | "Theme" | "Component" | "DocumentationPage" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "DesignSystemComponent" | "ElementGroup" | "FigmaNodeStructure" | "FigmaNodeReference" | "PageBlock";
|
|
18127
|
+
elementPersistentId: string;
|
|
18128
|
+
elementParentPersistentId: string;
|
|
18129
|
+
elementName: string;
|
|
18130
|
+
hash: string;
|
|
18131
|
+
storageKey: string;
|
|
18132
|
+
}[];
|
|
18059
18133
|
}>;
|
|
18060
18134
|
type DTODocumentationHierarchyV2 = z.infer<typeof DTODocumentationHierarchyV2>;
|
|
18061
18135
|
declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
|
|
@@ -32820,7 +32894,7 @@ declare const DTOWorkspace: z.ZodObject<{
|
|
|
32820
32894
|
}>;
|
|
32821
32895
|
type DTOWorkspace = z.infer<typeof DTOWorkspace>;
|
|
32822
32896
|
|
|
32823
|
-
declare function documentationElementsToHierarchyDto(docPages: DocumentationPageV2[], docGroups: ElementGroup[], routingVersion: string): DTODocumentationHierarchyV2;
|
|
32897
|
+
declare function documentationElementsToHierarchyDto(docPages: DocumentationPageV2[], docGroups: ElementGroup[], publishedPagesSnapshots: DesignElementSnapshot[], routingVersion: string): DTODocumentationHierarchyV2;
|
|
32824
32898
|
|
|
32825
32899
|
declare function elementGroupsToDocumentationGroupStructureDTOV1(groups: DocumentationGroupV1[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupStructureV1[];
|
|
32826
32900
|
declare function elementGroupsToDocumentationGroupDTOV1(groups: DocumentationGroupV1[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV1[];
|
|
@@ -34963,19 +35037,25 @@ declare const DTOWorkspaceIntegrationGetGitObjectsInput: z.ZodObject<{
|
|
|
34963
35037
|
}>;
|
|
34964
35038
|
type DTOWorkspaceIntegrationGetGitObjectsInput = z.infer<typeof DTOWorkspaceIntegrationGetGitObjectsInput>;
|
|
34965
35039
|
|
|
35040
|
+
declare function generateHash(input: object | string): string;
|
|
35041
|
+
|
|
34966
35042
|
type DocumentationHierarchyTransaction = {
|
|
34967
35043
|
pages: DocumentationPageV2[];
|
|
34968
35044
|
groups: ElementGroup[];
|
|
34969
35045
|
pageIdsToDelete: string[];
|
|
34970
35046
|
groupIdsToDelete: string[];
|
|
35047
|
+
publishedPageSnapshots: DesignElementSnapshot[];
|
|
34971
35048
|
internalSettings: DocumentationHierarchySettings | undefined;
|
|
34972
35049
|
};
|
|
34973
35050
|
declare const DocumentationHierarchySettings: z.ZodObject<{
|
|
34974
35051
|
routingVersion: z.ZodString;
|
|
35052
|
+
isDraftFeatureAdopted: z.ZodBoolean;
|
|
34975
35053
|
}, "strip", z.ZodTypeAny, {
|
|
34976
35054
|
routingVersion: string;
|
|
35055
|
+
isDraftFeatureAdopted: boolean;
|
|
34977
35056
|
}, {
|
|
34978
35057
|
routingVersion: string;
|
|
35058
|
+
isDraftFeatureAdopted: boolean;
|
|
34979
35059
|
}>;
|
|
34980
35060
|
type DocumentationHierarchySettings = z.infer<typeof DocumentationHierarchySettings>;
|
|
34981
35061
|
declare function documentationHierarchyToYjs(doc: Y.Doc, transaction: DocumentationHierarchyTransaction): Y.Doc;
|
|
@@ -37409,4 +37489,4 @@ declare const BlockDefinitionUtils: {
|
|
|
37409
37489
|
};
|
|
37410
37490
|
};
|
|
37411
37491
|
|
|
37412
|
-
export { BlockDefinitionUtils, BlockParsingUtils, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV1, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, 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, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, elementGroupsToDocumentationGroupStructureDTOV2, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|
|
37492
|
+
export { BlockDefinitionUtils, BlockParsingUtils, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV1, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, 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, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, elementGroupsToDocumentationGroupStructureDTOV2, generateHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _supernova_studio_model from '@supernova-studio/model';
|
|
2
|
-
import { PageBlockV1, DocumentationPageV2, ElementGroup, DocumentationGroupV1, DocumentationPageV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SsoProvider, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
|
|
2
|
+
import { PageBlockV1, DocumentationPageV2, ElementGroup, DesignElementSnapshot, DocumentationGroupV1, DocumentationPageV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SsoProvider, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import { z, ZodTypeDef } from 'zod';
|
|
5
5
|
import * as Y from 'yjs';
|
|
@@ -15329,6 +15329,10 @@ declare const DTODocumentationPageV2: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
15329
15329
|
type: z.ZodLiteral<"Page">;
|
|
15330
15330
|
configuration: z.ZodObject<{
|
|
15331
15331
|
showSidebar: z.ZodBoolean;
|
|
15332
|
+
/**
|
|
15333
|
+
* Structure DTO is element properties minus element data (in other words data required
|
|
15334
|
+
* to display the element in the left panel)
|
|
15335
|
+
*/
|
|
15332
15336
|
isPrivate: z.ZodBoolean;
|
|
15333
15337
|
isHidden: z.ZodBoolean;
|
|
15334
15338
|
header: z.ZodObject<{
|
|
@@ -16204,6 +16208,10 @@ declare const DTODocumentationPageStructureV2: z.ZodObject<z.objectUtil.extendSh
|
|
|
16204
16208
|
type: z.ZodLiteral<"Page">;
|
|
16205
16209
|
configuration: z.ZodObject<{
|
|
16206
16210
|
showSidebar: z.ZodBoolean;
|
|
16211
|
+
/**
|
|
16212
|
+
* Structure DTO is element properties minus element data (in other words data required
|
|
16213
|
+
* to display the element in the left panel)
|
|
16214
|
+
*/
|
|
16207
16215
|
isPrivate: z.ZodBoolean;
|
|
16208
16216
|
isHidden: z.ZodBoolean;
|
|
16209
16217
|
header: z.ZodObject<{
|
|
@@ -17080,6 +17088,10 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
17080
17088
|
type: z.ZodLiteral<"Page">;
|
|
17081
17089
|
configuration: z.ZodObject<{
|
|
17082
17090
|
showSidebar: z.ZodBoolean;
|
|
17091
|
+
/**
|
|
17092
|
+
* Structure DTO is element properties minus element data (in other words data required
|
|
17093
|
+
* to display the element in the left panel)
|
|
17094
|
+
*/
|
|
17083
17095
|
isPrivate: z.ZodBoolean;
|
|
17084
17096
|
isHidden: z.ZodBoolean;
|
|
17085
17097
|
header: z.ZodObject<{
|
|
@@ -17588,6 +17600,10 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
17588
17600
|
shortPersistentId: z.ZodString;
|
|
17589
17601
|
configuration: z.ZodObject<{
|
|
17590
17602
|
showSidebar: z.ZodBoolean;
|
|
17603
|
+
/**
|
|
17604
|
+
* Structure DTO is element properties minus element data (in other words data required
|
|
17605
|
+
* to display the element in the left panel)
|
|
17606
|
+
*/
|
|
17591
17607
|
isPrivate: z.ZodBoolean;
|
|
17592
17608
|
isHidden: z.ZodBoolean;
|
|
17593
17609
|
header: z.ZodObject<{
|
|
@@ -17870,6 +17886,40 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
17870
17886
|
slug?: string | undefined;
|
|
17871
17887
|
userSlug?: string | undefined;
|
|
17872
17888
|
}>, "many">;
|
|
17889
|
+
publishedPagesSnapshots: z.ZodArray<z.ZodObject<{
|
|
17890
|
+
id: z.ZodString;
|
|
17891
|
+
designSystemVersionId: z.ZodString;
|
|
17892
|
+
elementId: z.ZodString;
|
|
17893
|
+
elementType: z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Component", "Theme", "Documentation", "DocumentationPage", "DesignSystemComponent", "ElementGroup", "FigmaNodeStructure", "FigmaNodeReference", "PageBlock"]>]>;
|
|
17894
|
+
elementPersistentId: z.ZodString;
|
|
17895
|
+
elementParentPersistentId: z.ZodString;
|
|
17896
|
+
elementName: z.ZodString;
|
|
17897
|
+
hash: z.ZodString;
|
|
17898
|
+
storageKey: z.ZodString;
|
|
17899
|
+
createdAt: z.ZodDate;
|
|
17900
|
+
}, "strip", z.ZodTypeAny, {
|
|
17901
|
+
id: string;
|
|
17902
|
+
createdAt: Date;
|
|
17903
|
+
designSystemVersionId: string;
|
|
17904
|
+
elementId: string;
|
|
17905
|
+
elementType: "Documentation" | "Theme" | "Component" | "DocumentationPage" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "DesignSystemComponent" | "ElementGroup" | "FigmaNodeStructure" | "FigmaNodeReference" | "PageBlock";
|
|
17906
|
+
elementPersistentId: string;
|
|
17907
|
+
elementParentPersistentId: string;
|
|
17908
|
+
elementName: string;
|
|
17909
|
+
hash: string;
|
|
17910
|
+
storageKey: string;
|
|
17911
|
+
}, {
|
|
17912
|
+
id: string;
|
|
17913
|
+
createdAt: Date;
|
|
17914
|
+
designSystemVersionId: string;
|
|
17915
|
+
elementId: string;
|
|
17916
|
+
elementType: "Documentation" | "Theme" | "Component" | "DocumentationPage" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "DesignSystemComponent" | "ElementGroup" | "FigmaNodeStructure" | "FigmaNodeReference" | "PageBlock";
|
|
17917
|
+
elementPersistentId: string;
|
|
17918
|
+
elementParentPersistentId: string;
|
|
17919
|
+
elementName: string;
|
|
17920
|
+
hash: string;
|
|
17921
|
+
storageKey: string;
|
|
17922
|
+
}>, "many">;
|
|
17873
17923
|
}, "strip", z.ZodTypeAny, {
|
|
17874
17924
|
pages: {
|
|
17875
17925
|
id: string;
|
|
@@ -17963,6 +18013,18 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
17963
18013
|
slug?: string | undefined;
|
|
17964
18014
|
userSlug?: string | undefined;
|
|
17965
18015
|
}[];
|
|
18016
|
+
publishedPagesSnapshots: {
|
|
18017
|
+
id: string;
|
|
18018
|
+
createdAt: Date;
|
|
18019
|
+
designSystemVersionId: string;
|
|
18020
|
+
elementId: string;
|
|
18021
|
+
elementType: "Documentation" | "Theme" | "Component" | "DocumentationPage" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "DesignSystemComponent" | "ElementGroup" | "FigmaNodeStructure" | "FigmaNodeReference" | "PageBlock";
|
|
18022
|
+
elementPersistentId: string;
|
|
18023
|
+
elementParentPersistentId: string;
|
|
18024
|
+
elementName: string;
|
|
18025
|
+
hash: string;
|
|
18026
|
+
storageKey: string;
|
|
18027
|
+
}[];
|
|
17966
18028
|
}, {
|
|
17967
18029
|
pages: {
|
|
17968
18030
|
id: string;
|
|
@@ -18056,6 +18118,18 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
18056
18118
|
slug?: string | undefined;
|
|
18057
18119
|
userSlug?: string | undefined;
|
|
18058
18120
|
}[];
|
|
18121
|
+
publishedPagesSnapshots: {
|
|
18122
|
+
id: string;
|
|
18123
|
+
createdAt: Date;
|
|
18124
|
+
designSystemVersionId: string;
|
|
18125
|
+
elementId: string;
|
|
18126
|
+
elementType: "Documentation" | "Theme" | "Component" | "DocumentationPage" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "DesignSystemComponent" | "ElementGroup" | "FigmaNodeStructure" | "FigmaNodeReference" | "PageBlock";
|
|
18127
|
+
elementPersistentId: string;
|
|
18128
|
+
elementParentPersistentId: string;
|
|
18129
|
+
elementName: string;
|
|
18130
|
+
hash: string;
|
|
18131
|
+
storageKey: string;
|
|
18132
|
+
}[];
|
|
18059
18133
|
}>;
|
|
18060
18134
|
type DTODocumentationHierarchyV2 = z.infer<typeof DTODocumentationHierarchyV2>;
|
|
18061
18135
|
declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
|
|
@@ -32820,7 +32894,7 @@ declare const DTOWorkspace: z.ZodObject<{
|
|
|
32820
32894
|
}>;
|
|
32821
32895
|
type DTOWorkspace = z.infer<typeof DTOWorkspace>;
|
|
32822
32896
|
|
|
32823
|
-
declare function documentationElementsToHierarchyDto(docPages: DocumentationPageV2[], docGroups: ElementGroup[], routingVersion: string): DTODocumentationHierarchyV2;
|
|
32897
|
+
declare function documentationElementsToHierarchyDto(docPages: DocumentationPageV2[], docGroups: ElementGroup[], publishedPagesSnapshots: DesignElementSnapshot[], routingVersion: string): DTODocumentationHierarchyV2;
|
|
32824
32898
|
|
|
32825
32899
|
declare function elementGroupsToDocumentationGroupStructureDTOV1(groups: DocumentationGroupV1[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupStructureV1[];
|
|
32826
32900
|
declare function elementGroupsToDocumentationGroupDTOV1(groups: DocumentationGroupV1[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV1[];
|
|
@@ -34963,19 +35037,25 @@ declare const DTOWorkspaceIntegrationGetGitObjectsInput: z.ZodObject<{
|
|
|
34963
35037
|
}>;
|
|
34964
35038
|
type DTOWorkspaceIntegrationGetGitObjectsInput = z.infer<typeof DTOWorkspaceIntegrationGetGitObjectsInput>;
|
|
34965
35039
|
|
|
35040
|
+
declare function generateHash(input: object | string): string;
|
|
35041
|
+
|
|
34966
35042
|
type DocumentationHierarchyTransaction = {
|
|
34967
35043
|
pages: DocumentationPageV2[];
|
|
34968
35044
|
groups: ElementGroup[];
|
|
34969
35045
|
pageIdsToDelete: string[];
|
|
34970
35046
|
groupIdsToDelete: string[];
|
|
35047
|
+
publishedPageSnapshots: DesignElementSnapshot[];
|
|
34971
35048
|
internalSettings: DocumentationHierarchySettings | undefined;
|
|
34972
35049
|
};
|
|
34973
35050
|
declare const DocumentationHierarchySettings: z.ZodObject<{
|
|
34974
35051
|
routingVersion: z.ZodString;
|
|
35052
|
+
isDraftFeatureAdopted: z.ZodBoolean;
|
|
34975
35053
|
}, "strip", z.ZodTypeAny, {
|
|
34976
35054
|
routingVersion: string;
|
|
35055
|
+
isDraftFeatureAdopted: boolean;
|
|
34977
35056
|
}, {
|
|
34978
35057
|
routingVersion: string;
|
|
35058
|
+
isDraftFeatureAdopted: boolean;
|
|
34979
35059
|
}>;
|
|
34980
35060
|
type DocumentationHierarchySettings = z.infer<typeof DocumentationHierarchySettings>;
|
|
34981
35061
|
declare function documentationHierarchyToYjs(doc: Y.Doc, transaction: DocumentationHierarchyTransaction): Y.Doc;
|
|
@@ -37409,4 +37489,4 @@ declare const BlockDefinitionUtils: {
|
|
|
37409
37489
|
};
|
|
37410
37490
|
};
|
|
37411
37491
|
|
|
37412
|
-
export { BlockDefinitionUtils, BlockParsingUtils, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV1, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, 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, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, elementGroupsToDocumentationGroupStructureDTOV2, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|
|
37492
|
+
export { BlockDefinitionUtils, BlockParsingUtils, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV1, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, 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, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, elementGroupsToDocumentationGroupStructureDTOV2, generateHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|