@supernova-studio/client 0.47.70 → 0.47.71
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 +205 -1
- package/dist/index.d.ts +205 -1
- package/dist/index.js +57 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +56 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/documentation/page-actions-v2.ts +26 -1
- package/src/api/dto/elements/documentation/page-v2.ts +12 -0
- package/src/api/dto/elements/elements-action-v2.ts +12 -0
- package/src/yjs/docs-editor/blocks-to-prosemirror.ts +4 -0
- package/src/yjs/version-room/backend.ts +2 -0
package/dist/index.d.mts
CHANGED
|
@@ -17460,6 +17460,48 @@ declare const DTODocumentationPageDeleteActionOutputV2: z.ZodObject<{
|
|
|
17460
17460
|
};
|
|
17461
17461
|
}>;
|
|
17462
17462
|
type DTODocumentationPageDeleteActionOutputV2 = z.infer<typeof DTODocumentationPageDeleteActionOutputV2>;
|
|
17463
|
+
declare const DTODocumentationPageRestoreActionOutput: z.ZodObject<{
|
|
17464
|
+
type: z.ZodLiteral<"DocumentationPageRestore">;
|
|
17465
|
+
output: z.ZodObject<{
|
|
17466
|
+
success: z.ZodLiteral<true>;
|
|
17467
|
+
}, "strip", z.ZodTypeAny, {
|
|
17468
|
+
success: true;
|
|
17469
|
+
}, {
|
|
17470
|
+
success: true;
|
|
17471
|
+
}>;
|
|
17472
|
+
}, "strip", z.ZodTypeAny, {
|
|
17473
|
+
type: "DocumentationPageRestore";
|
|
17474
|
+
output: {
|
|
17475
|
+
success: true;
|
|
17476
|
+
};
|
|
17477
|
+
}, {
|
|
17478
|
+
type: "DocumentationPageRestore";
|
|
17479
|
+
output: {
|
|
17480
|
+
success: true;
|
|
17481
|
+
};
|
|
17482
|
+
}>;
|
|
17483
|
+
type DTODocumentationPageRestoreActionOutput = z.infer<typeof DTODocumentationPageRestoreActionOutput>;
|
|
17484
|
+
declare const DTODocumentationGroupRestoreActionOutput: z.ZodObject<{
|
|
17485
|
+
type: z.ZodLiteral<"DocumentationGroupRestore">;
|
|
17486
|
+
output: z.ZodObject<{
|
|
17487
|
+
success: z.ZodLiteral<true>;
|
|
17488
|
+
}, "strip", z.ZodTypeAny, {
|
|
17489
|
+
success: true;
|
|
17490
|
+
}, {
|
|
17491
|
+
success: true;
|
|
17492
|
+
}>;
|
|
17493
|
+
}, "strip", z.ZodTypeAny, {
|
|
17494
|
+
type: "DocumentationGroupRestore";
|
|
17495
|
+
output: {
|
|
17496
|
+
success: true;
|
|
17497
|
+
};
|
|
17498
|
+
}, {
|
|
17499
|
+
type: "DocumentationGroupRestore";
|
|
17500
|
+
output: {
|
|
17501
|
+
success: true;
|
|
17502
|
+
};
|
|
17503
|
+
}>;
|
|
17504
|
+
type DTODocumentationGroupRestoreActionOutput = z.infer<typeof DTODocumentationGroupRestoreActionOutput>;
|
|
17463
17505
|
declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
17464
17506
|
type: z.ZodLiteral<"DocumentationPageCreate">;
|
|
17465
17507
|
input: z.ZodObject<{
|
|
@@ -18254,6 +18296,58 @@ declare const DTODocumentationPageDeleteActionInputV2: z.ZodObject<{
|
|
|
18254
18296
|
};
|
|
18255
18297
|
}>;
|
|
18256
18298
|
type DTODocumentationPageDeleteActionInputV2 = z.infer<typeof DTODocumentationPageDeleteActionInputV2>;
|
|
18299
|
+
declare const DTODocumentationPageRestoreActionInput: z.ZodObject<{
|
|
18300
|
+
type: z.ZodLiteral<"DocumentationPageRestore">;
|
|
18301
|
+
input: z.ZodObject<{
|
|
18302
|
+
persistentId: z.ZodString;
|
|
18303
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
18304
|
+
}, "strip", z.ZodTypeAny, {
|
|
18305
|
+
persistentId: string;
|
|
18306
|
+
snapshotId?: string | undefined;
|
|
18307
|
+
}, {
|
|
18308
|
+
persistentId: string;
|
|
18309
|
+
snapshotId?: string | undefined;
|
|
18310
|
+
}>;
|
|
18311
|
+
}, "strip", z.ZodTypeAny, {
|
|
18312
|
+
type: "DocumentationPageRestore";
|
|
18313
|
+
input: {
|
|
18314
|
+
persistentId: string;
|
|
18315
|
+
snapshotId?: string | undefined;
|
|
18316
|
+
};
|
|
18317
|
+
}, {
|
|
18318
|
+
type: "DocumentationPageRestore";
|
|
18319
|
+
input: {
|
|
18320
|
+
persistentId: string;
|
|
18321
|
+
snapshotId?: string | undefined;
|
|
18322
|
+
};
|
|
18323
|
+
}>;
|
|
18324
|
+
type DTODocumentationPageRestoreActionInput = z.infer<typeof DTODocumentationPageRestoreActionInput>;
|
|
18325
|
+
declare const DTODocumentationGroupRestoreActionInput: z.ZodObject<{
|
|
18326
|
+
type: z.ZodLiteral<"DocumentationGroupRestore">;
|
|
18327
|
+
input: z.ZodObject<{
|
|
18328
|
+
persistentId: z.ZodString;
|
|
18329
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
18330
|
+
}, "strip", z.ZodTypeAny, {
|
|
18331
|
+
persistentId: string;
|
|
18332
|
+
snapshotId?: string | undefined;
|
|
18333
|
+
}, {
|
|
18334
|
+
persistentId: string;
|
|
18335
|
+
snapshotId?: string | undefined;
|
|
18336
|
+
}>;
|
|
18337
|
+
}, "strip", z.ZodTypeAny, {
|
|
18338
|
+
type: "DocumentationGroupRestore";
|
|
18339
|
+
input: {
|
|
18340
|
+
persistentId: string;
|
|
18341
|
+
snapshotId?: string | undefined;
|
|
18342
|
+
};
|
|
18343
|
+
}, {
|
|
18344
|
+
type: "DocumentationGroupRestore";
|
|
18345
|
+
input: {
|
|
18346
|
+
persistentId: string;
|
|
18347
|
+
snapshotId?: string | undefined;
|
|
18348
|
+
};
|
|
18349
|
+
}>;
|
|
18350
|
+
type DTODocumentationGroupRestoreActionInput = z.infer<typeof DTODocumentationGroupRestoreActionInput>;
|
|
18257
18351
|
|
|
18258
18352
|
declare const DTODocumentationPageContent: z.ZodObject<{
|
|
18259
18353
|
id: z.ZodString;
|
|
@@ -24253,6 +24347,28 @@ declare const DTODeleteDocumentationPageInputV2: z.ZodObject<{
|
|
|
24253
24347
|
id: string;
|
|
24254
24348
|
}>;
|
|
24255
24349
|
type DTODeleteDocumentationPageInputV2 = z.infer<typeof DTODeleteDocumentationPageInputV2>;
|
|
24350
|
+
declare const DTORestoreDocumentationPageInput: z.ZodObject<{
|
|
24351
|
+
persistentId: z.ZodString;
|
|
24352
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
24353
|
+
}, "strip", z.ZodTypeAny, {
|
|
24354
|
+
persistentId: string;
|
|
24355
|
+
snapshotId?: string | undefined;
|
|
24356
|
+
}, {
|
|
24357
|
+
persistentId: string;
|
|
24358
|
+
snapshotId?: string | undefined;
|
|
24359
|
+
}>;
|
|
24360
|
+
type DTORestoreDocumentationPageInput = z.infer<typeof DTORestoreDocumentationPageInput>;
|
|
24361
|
+
declare const DTORestoreDocumentationGroupInput: z.ZodObject<{
|
|
24362
|
+
persistentId: z.ZodString;
|
|
24363
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
24364
|
+
}, "strip", z.ZodTypeAny, {
|
|
24365
|
+
persistentId: string;
|
|
24366
|
+
snapshotId?: string | undefined;
|
|
24367
|
+
}, {
|
|
24368
|
+
persistentId: string;
|
|
24369
|
+
snapshotId?: string | undefined;
|
|
24370
|
+
}>;
|
|
24371
|
+
type DTORestoreDocumentationGroupInput = z.infer<typeof DTORestoreDocumentationGroupInput>;
|
|
24256
24372
|
|
|
24257
24373
|
declare const DTOFigmaNodeOrigin: z.ZodObject<{
|
|
24258
24374
|
sourceId: z.ZodString;
|
|
@@ -26449,6 +26565,44 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
26449
26565
|
output: {
|
|
26450
26566
|
success: true;
|
|
26451
26567
|
};
|
|
26568
|
+
}>, z.ZodObject<{
|
|
26569
|
+
type: z.ZodLiteral<"DocumentationPageRestore">;
|
|
26570
|
+
output: z.ZodObject<{
|
|
26571
|
+
success: z.ZodLiteral<true>;
|
|
26572
|
+
}, "strip", z.ZodTypeAny, {
|
|
26573
|
+
success: true;
|
|
26574
|
+
}, {
|
|
26575
|
+
success: true;
|
|
26576
|
+
}>;
|
|
26577
|
+
}, "strip", z.ZodTypeAny, {
|
|
26578
|
+
type: "DocumentationPageRestore";
|
|
26579
|
+
output: {
|
|
26580
|
+
success: true;
|
|
26581
|
+
};
|
|
26582
|
+
}, {
|
|
26583
|
+
type: "DocumentationPageRestore";
|
|
26584
|
+
output: {
|
|
26585
|
+
success: true;
|
|
26586
|
+
};
|
|
26587
|
+
}>, z.ZodObject<{
|
|
26588
|
+
type: z.ZodLiteral<"DocumentationGroupRestore">;
|
|
26589
|
+
output: z.ZodObject<{
|
|
26590
|
+
success: z.ZodLiteral<true>;
|
|
26591
|
+
}, "strip", z.ZodTypeAny, {
|
|
26592
|
+
success: true;
|
|
26593
|
+
}, {
|
|
26594
|
+
success: true;
|
|
26595
|
+
}>;
|
|
26596
|
+
}, "strip", z.ZodTypeAny, {
|
|
26597
|
+
type: "DocumentationGroupRestore";
|
|
26598
|
+
output: {
|
|
26599
|
+
success: true;
|
|
26600
|
+
};
|
|
26601
|
+
}, {
|
|
26602
|
+
type: "DocumentationGroupRestore";
|
|
26603
|
+
output: {
|
|
26604
|
+
success: true;
|
|
26605
|
+
};
|
|
26452
26606
|
}>]>;
|
|
26453
26607
|
type DTOElementActionOutput = z.infer<typeof DTOElementActionOutput>;
|
|
26454
26608
|
declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -28318,6 +28472,54 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
28318
28472
|
input: {
|
|
28319
28473
|
id: string;
|
|
28320
28474
|
};
|
|
28475
|
+
}>, z.ZodObject<{
|
|
28476
|
+
type: z.ZodLiteral<"DocumentationPageRestore">;
|
|
28477
|
+
input: z.ZodObject<{
|
|
28478
|
+
persistentId: z.ZodString;
|
|
28479
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
28480
|
+
}, "strip", z.ZodTypeAny, {
|
|
28481
|
+
persistentId: string;
|
|
28482
|
+
snapshotId?: string | undefined;
|
|
28483
|
+
}, {
|
|
28484
|
+
persistentId: string;
|
|
28485
|
+
snapshotId?: string | undefined;
|
|
28486
|
+
}>;
|
|
28487
|
+
}, "strip", z.ZodTypeAny, {
|
|
28488
|
+
type: "DocumentationPageRestore";
|
|
28489
|
+
input: {
|
|
28490
|
+
persistentId: string;
|
|
28491
|
+
snapshotId?: string | undefined;
|
|
28492
|
+
};
|
|
28493
|
+
}, {
|
|
28494
|
+
type: "DocumentationPageRestore";
|
|
28495
|
+
input: {
|
|
28496
|
+
persistentId: string;
|
|
28497
|
+
snapshotId?: string | undefined;
|
|
28498
|
+
};
|
|
28499
|
+
}>, z.ZodObject<{
|
|
28500
|
+
type: z.ZodLiteral<"DocumentationGroupRestore">;
|
|
28501
|
+
input: z.ZodObject<{
|
|
28502
|
+
persistentId: z.ZodString;
|
|
28503
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
28504
|
+
}, "strip", z.ZodTypeAny, {
|
|
28505
|
+
persistentId: string;
|
|
28506
|
+
snapshotId?: string | undefined;
|
|
28507
|
+
}, {
|
|
28508
|
+
persistentId: string;
|
|
28509
|
+
snapshotId?: string | undefined;
|
|
28510
|
+
}>;
|
|
28511
|
+
}, "strip", z.ZodTypeAny, {
|
|
28512
|
+
type: "DocumentationGroupRestore";
|
|
28513
|
+
input: {
|
|
28514
|
+
persistentId: string;
|
|
28515
|
+
snapshotId?: string | undefined;
|
|
28516
|
+
};
|
|
28517
|
+
}, {
|
|
28518
|
+
type: "DocumentationGroupRestore";
|
|
28519
|
+
input: {
|
|
28520
|
+
persistentId: string;
|
|
28521
|
+
snapshotId?: string | undefined;
|
|
28522
|
+
};
|
|
28321
28523
|
}>]>;
|
|
28322
28524
|
type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
|
|
28323
28525
|
|
|
@@ -43101,6 +43303,7 @@ type ProsemirrorBlockItem = {
|
|
|
43101
43303
|
props: Record<string, PageBlockItemUntypedValue>;
|
|
43102
43304
|
};
|
|
43103
43305
|
|
|
43306
|
+
declare function pageToYDoc(doc: Y.Doc, page: DocumentationPageEditorModel, definitions: PageBlockDefinition[]): void;
|
|
43104
43307
|
declare function pageToYXmlFragment(page: DocumentationPageEditorModel, definitions: PageBlockDefinition[], fragment: Y.XmlFragment): Y.XmlFragment;
|
|
43105
43308
|
declare function pageToProsemirrorDoc(page: DocumentationPageEditorModel, definitions: PageBlockDefinition[]): ProsemirrorNode;
|
|
43106
43309
|
declare function blockToProsemirrorNode(block: PageBlockEditorModel, definition: PageBlockDefinition): ProsemirrorNode | null;
|
|
@@ -43248,6 +43451,7 @@ type DocumentationHierarchyTransaction = {
|
|
|
43248
43451
|
groupSnapshots?: ElementGroupSnapshot[];
|
|
43249
43452
|
groupSnapshotIdsToDelete?: string[];
|
|
43250
43453
|
internalSettings?: DocumentationHierarchySettings;
|
|
43454
|
+
pageHashesToUpdate?: Record<string, string>;
|
|
43251
43455
|
};
|
|
43252
43456
|
declare class BackendVersionRoomYDoc {
|
|
43253
43457
|
private readonly yDoc;
|
|
@@ -43301,4 +43505,4 @@ declare class FrontendVersionRoomYDoc {
|
|
|
43301
43505
|
|
|
43302
43506
|
declare function generatePageContentHash(content: DocumentationPageEditorModel, debug?: boolean): string;
|
|
43303
43507
|
|
|
43304
|
-
export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, 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, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|
|
43508
|
+
export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, 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, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|
package/dist/index.d.ts
CHANGED
|
@@ -17460,6 +17460,48 @@ declare const DTODocumentationPageDeleteActionOutputV2: z.ZodObject<{
|
|
|
17460
17460
|
};
|
|
17461
17461
|
}>;
|
|
17462
17462
|
type DTODocumentationPageDeleteActionOutputV2 = z.infer<typeof DTODocumentationPageDeleteActionOutputV2>;
|
|
17463
|
+
declare const DTODocumentationPageRestoreActionOutput: z.ZodObject<{
|
|
17464
|
+
type: z.ZodLiteral<"DocumentationPageRestore">;
|
|
17465
|
+
output: z.ZodObject<{
|
|
17466
|
+
success: z.ZodLiteral<true>;
|
|
17467
|
+
}, "strip", z.ZodTypeAny, {
|
|
17468
|
+
success: true;
|
|
17469
|
+
}, {
|
|
17470
|
+
success: true;
|
|
17471
|
+
}>;
|
|
17472
|
+
}, "strip", z.ZodTypeAny, {
|
|
17473
|
+
type: "DocumentationPageRestore";
|
|
17474
|
+
output: {
|
|
17475
|
+
success: true;
|
|
17476
|
+
};
|
|
17477
|
+
}, {
|
|
17478
|
+
type: "DocumentationPageRestore";
|
|
17479
|
+
output: {
|
|
17480
|
+
success: true;
|
|
17481
|
+
};
|
|
17482
|
+
}>;
|
|
17483
|
+
type DTODocumentationPageRestoreActionOutput = z.infer<typeof DTODocumentationPageRestoreActionOutput>;
|
|
17484
|
+
declare const DTODocumentationGroupRestoreActionOutput: z.ZodObject<{
|
|
17485
|
+
type: z.ZodLiteral<"DocumentationGroupRestore">;
|
|
17486
|
+
output: z.ZodObject<{
|
|
17487
|
+
success: z.ZodLiteral<true>;
|
|
17488
|
+
}, "strip", z.ZodTypeAny, {
|
|
17489
|
+
success: true;
|
|
17490
|
+
}, {
|
|
17491
|
+
success: true;
|
|
17492
|
+
}>;
|
|
17493
|
+
}, "strip", z.ZodTypeAny, {
|
|
17494
|
+
type: "DocumentationGroupRestore";
|
|
17495
|
+
output: {
|
|
17496
|
+
success: true;
|
|
17497
|
+
};
|
|
17498
|
+
}, {
|
|
17499
|
+
type: "DocumentationGroupRestore";
|
|
17500
|
+
output: {
|
|
17501
|
+
success: true;
|
|
17502
|
+
};
|
|
17503
|
+
}>;
|
|
17504
|
+
type DTODocumentationGroupRestoreActionOutput = z.infer<typeof DTODocumentationGroupRestoreActionOutput>;
|
|
17463
17505
|
declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
17464
17506
|
type: z.ZodLiteral<"DocumentationPageCreate">;
|
|
17465
17507
|
input: z.ZodObject<{
|
|
@@ -18254,6 +18296,58 @@ declare const DTODocumentationPageDeleteActionInputV2: z.ZodObject<{
|
|
|
18254
18296
|
};
|
|
18255
18297
|
}>;
|
|
18256
18298
|
type DTODocumentationPageDeleteActionInputV2 = z.infer<typeof DTODocumentationPageDeleteActionInputV2>;
|
|
18299
|
+
declare const DTODocumentationPageRestoreActionInput: z.ZodObject<{
|
|
18300
|
+
type: z.ZodLiteral<"DocumentationPageRestore">;
|
|
18301
|
+
input: z.ZodObject<{
|
|
18302
|
+
persistentId: z.ZodString;
|
|
18303
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
18304
|
+
}, "strip", z.ZodTypeAny, {
|
|
18305
|
+
persistentId: string;
|
|
18306
|
+
snapshotId?: string | undefined;
|
|
18307
|
+
}, {
|
|
18308
|
+
persistentId: string;
|
|
18309
|
+
snapshotId?: string | undefined;
|
|
18310
|
+
}>;
|
|
18311
|
+
}, "strip", z.ZodTypeAny, {
|
|
18312
|
+
type: "DocumentationPageRestore";
|
|
18313
|
+
input: {
|
|
18314
|
+
persistentId: string;
|
|
18315
|
+
snapshotId?: string | undefined;
|
|
18316
|
+
};
|
|
18317
|
+
}, {
|
|
18318
|
+
type: "DocumentationPageRestore";
|
|
18319
|
+
input: {
|
|
18320
|
+
persistentId: string;
|
|
18321
|
+
snapshotId?: string | undefined;
|
|
18322
|
+
};
|
|
18323
|
+
}>;
|
|
18324
|
+
type DTODocumentationPageRestoreActionInput = z.infer<typeof DTODocumentationPageRestoreActionInput>;
|
|
18325
|
+
declare const DTODocumentationGroupRestoreActionInput: z.ZodObject<{
|
|
18326
|
+
type: z.ZodLiteral<"DocumentationGroupRestore">;
|
|
18327
|
+
input: z.ZodObject<{
|
|
18328
|
+
persistentId: z.ZodString;
|
|
18329
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
18330
|
+
}, "strip", z.ZodTypeAny, {
|
|
18331
|
+
persistentId: string;
|
|
18332
|
+
snapshotId?: string | undefined;
|
|
18333
|
+
}, {
|
|
18334
|
+
persistentId: string;
|
|
18335
|
+
snapshotId?: string | undefined;
|
|
18336
|
+
}>;
|
|
18337
|
+
}, "strip", z.ZodTypeAny, {
|
|
18338
|
+
type: "DocumentationGroupRestore";
|
|
18339
|
+
input: {
|
|
18340
|
+
persistentId: string;
|
|
18341
|
+
snapshotId?: string | undefined;
|
|
18342
|
+
};
|
|
18343
|
+
}, {
|
|
18344
|
+
type: "DocumentationGroupRestore";
|
|
18345
|
+
input: {
|
|
18346
|
+
persistentId: string;
|
|
18347
|
+
snapshotId?: string | undefined;
|
|
18348
|
+
};
|
|
18349
|
+
}>;
|
|
18350
|
+
type DTODocumentationGroupRestoreActionInput = z.infer<typeof DTODocumentationGroupRestoreActionInput>;
|
|
18257
18351
|
|
|
18258
18352
|
declare const DTODocumentationPageContent: z.ZodObject<{
|
|
18259
18353
|
id: z.ZodString;
|
|
@@ -24253,6 +24347,28 @@ declare const DTODeleteDocumentationPageInputV2: z.ZodObject<{
|
|
|
24253
24347
|
id: string;
|
|
24254
24348
|
}>;
|
|
24255
24349
|
type DTODeleteDocumentationPageInputV2 = z.infer<typeof DTODeleteDocumentationPageInputV2>;
|
|
24350
|
+
declare const DTORestoreDocumentationPageInput: z.ZodObject<{
|
|
24351
|
+
persistentId: z.ZodString;
|
|
24352
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
24353
|
+
}, "strip", z.ZodTypeAny, {
|
|
24354
|
+
persistentId: string;
|
|
24355
|
+
snapshotId?: string | undefined;
|
|
24356
|
+
}, {
|
|
24357
|
+
persistentId: string;
|
|
24358
|
+
snapshotId?: string | undefined;
|
|
24359
|
+
}>;
|
|
24360
|
+
type DTORestoreDocumentationPageInput = z.infer<typeof DTORestoreDocumentationPageInput>;
|
|
24361
|
+
declare const DTORestoreDocumentationGroupInput: z.ZodObject<{
|
|
24362
|
+
persistentId: z.ZodString;
|
|
24363
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
24364
|
+
}, "strip", z.ZodTypeAny, {
|
|
24365
|
+
persistentId: string;
|
|
24366
|
+
snapshotId?: string | undefined;
|
|
24367
|
+
}, {
|
|
24368
|
+
persistentId: string;
|
|
24369
|
+
snapshotId?: string | undefined;
|
|
24370
|
+
}>;
|
|
24371
|
+
type DTORestoreDocumentationGroupInput = z.infer<typeof DTORestoreDocumentationGroupInput>;
|
|
24256
24372
|
|
|
24257
24373
|
declare const DTOFigmaNodeOrigin: z.ZodObject<{
|
|
24258
24374
|
sourceId: z.ZodString;
|
|
@@ -26449,6 +26565,44 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
26449
26565
|
output: {
|
|
26450
26566
|
success: true;
|
|
26451
26567
|
};
|
|
26568
|
+
}>, z.ZodObject<{
|
|
26569
|
+
type: z.ZodLiteral<"DocumentationPageRestore">;
|
|
26570
|
+
output: z.ZodObject<{
|
|
26571
|
+
success: z.ZodLiteral<true>;
|
|
26572
|
+
}, "strip", z.ZodTypeAny, {
|
|
26573
|
+
success: true;
|
|
26574
|
+
}, {
|
|
26575
|
+
success: true;
|
|
26576
|
+
}>;
|
|
26577
|
+
}, "strip", z.ZodTypeAny, {
|
|
26578
|
+
type: "DocumentationPageRestore";
|
|
26579
|
+
output: {
|
|
26580
|
+
success: true;
|
|
26581
|
+
};
|
|
26582
|
+
}, {
|
|
26583
|
+
type: "DocumentationPageRestore";
|
|
26584
|
+
output: {
|
|
26585
|
+
success: true;
|
|
26586
|
+
};
|
|
26587
|
+
}>, z.ZodObject<{
|
|
26588
|
+
type: z.ZodLiteral<"DocumentationGroupRestore">;
|
|
26589
|
+
output: z.ZodObject<{
|
|
26590
|
+
success: z.ZodLiteral<true>;
|
|
26591
|
+
}, "strip", z.ZodTypeAny, {
|
|
26592
|
+
success: true;
|
|
26593
|
+
}, {
|
|
26594
|
+
success: true;
|
|
26595
|
+
}>;
|
|
26596
|
+
}, "strip", z.ZodTypeAny, {
|
|
26597
|
+
type: "DocumentationGroupRestore";
|
|
26598
|
+
output: {
|
|
26599
|
+
success: true;
|
|
26600
|
+
};
|
|
26601
|
+
}, {
|
|
26602
|
+
type: "DocumentationGroupRestore";
|
|
26603
|
+
output: {
|
|
26604
|
+
success: true;
|
|
26605
|
+
};
|
|
26452
26606
|
}>]>;
|
|
26453
26607
|
type DTOElementActionOutput = z.infer<typeof DTOElementActionOutput>;
|
|
26454
26608
|
declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -28318,6 +28472,54 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
28318
28472
|
input: {
|
|
28319
28473
|
id: string;
|
|
28320
28474
|
};
|
|
28475
|
+
}>, z.ZodObject<{
|
|
28476
|
+
type: z.ZodLiteral<"DocumentationPageRestore">;
|
|
28477
|
+
input: z.ZodObject<{
|
|
28478
|
+
persistentId: z.ZodString;
|
|
28479
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
28480
|
+
}, "strip", z.ZodTypeAny, {
|
|
28481
|
+
persistentId: string;
|
|
28482
|
+
snapshotId?: string | undefined;
|
|
28483
|
+
}, {
|
|
28484
|
+
persistentId: string;
|
|
28485
|
+
snapshotId?: string | undefined;
|
|
28486
|
+
}>;
|
|
28487
|
+
}, "strip", z.ZodTypeAny, {
|
|
28488
|
+
type: "DocumentationPageRestore";
|
|
28489
|
+
input: {
|
|
28490
|
+
persistentId: string;
|
|
28491
|
+
snapshotId?: string | undefined;
|
|
28492
|
+
};
|
|
28493
|
+
}, {
|
|
28494
|
+
type: "DocumentationPageRestore";
|
|
28495
|
+
input: {
|
|
28496
|
+
persistentId: string;
|
|
28497
|
+
snapshotId?: string | undefined;
|
|
28498
|
+
};
|
|
28499
|
+
}>, z.ZodObject<{
|
|
28500
|
+
type: z.ZodLiteral<"DocumentationGroupRestore">;
|
|
28501
|
+
input: z.ZodObject<{
|
|
28502
|
+
persistentId: z.ZodString;
|
|
28503
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
28504
|
+
}, "strip", z.ZodTypeAny, {
|
|
28505
|
+
persistentId: string;
|
|
28506
|
+
snapshotId?: string | undefined;
|
|
28507
|
+
}, {
|
|
28508
|
+
persistentId: string;
|
|
28509
|
+
snapshotId?: string | undefined;
|
|
28510
|
+
}>;
|
|
28511
|
+
}, "strip", z.ZodTypeAny, {
|
|
28512
|
+
type: "DocumentationGroupRestore";
|
|
28513
|
+
input: {
|
|
28514
|
+
persistentId: string;
|
|
28515
|
+
snapshotId?: string | undefined;
|
|
28516
|
+
};
|
|
28517
|
+
}, {
|
|
28518
|
+
type: "DocumentationGroupRestore";
|
|
28519
|
+
input: {
|
|
28520
|
+
persistentId: string;
|
|
28521
|
+
snapshotId?: string | undefined;
|
|
28522
|
+
};
|
|
28321
28523
|
}>]>;
|
|
28322
28524
|
type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
|
|
28323
28525
|
|
|
@@ -43101,6 +43303,7 @@ type ProsemirrorBlockItem = {
|
|
|
43101
43303
|
props: Record<string, PageBlockItemUntypedValue>;
|
|
43102
43304
|
};
|
|
43103
43305
|
|
|
43306
|
+
declare function pageToYDoc(doc: Y.Doc, page: DocumentationPageEditorModel, definitions: PageBlockDefinition[]): void;
|
|
43104
43307
|
declare function pageToYXmlFragment(page: DocumentationPageEditorModel, definitions: PageBlockDefinition[], fragment: Y.XmlFragment): Y.XmlFragment;
|
|
43105
43308
|
declare function pageToProsemirrorDoc(page: DocumentationPageEditorModel, definitions: PageBlockDefinition[]): ProsemirrorNode;
|
|
43106
43309
|
declare function blockToProsemirrorNode(block: PageBlockEditorModel, definition: PageBlockDefinition): ProsemirrorNode | null;
|
|
@@ -43248,6 +43451,7 @@ type DocumentationHierarchyTransaction = {
|
|
|
43248
43451
|
groupSnapshots?: ElementGroupSnapshot[];
|
|
43249
43452
|
groupSnapshotIdsToDelete?: string[];
|
|
43250
43453
|
internalSettings?: DocumentationHierarchySettings;
|
|
43454
|
+
pageHashesToUpdate?: Record<string, string>;
|
|
43251
43455
|
};
|
|
43252
43456
|
declare class BackendVersionRoomYDoc {
|
|
43253
43457
|
private readonly yDoc;
|
|
@@ -43301,4 +43505,4 @@ declare class FrontendVersionRoomYDoc {
|
|
|
43301
43505
|
|
|
43302
43506
|
declare function generatePageContentHash(content: DocumentationPageEditorModel, debug?: boolean): string;
|
|
43303
43507
|
|
|
43304
|
-
export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, 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, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|
|
43508
|
+
export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, 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, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|