@supernova-studio/client 0.46.0 → 0.46.4
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 +453 -88
- package/dist/index.d.ts +453 -88
- package/dist/index.js +182 -92
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1030 -940
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -2
- package/src/api/conversion/integrations/integration.ts +3 -2
- package/src/api/dto/design-systems/version.ts +17 -1
- package/src/api/dto/elements/figma-nodes/figma-node.ts +9 -0
- package/src/api/dto/workspaces/integrations.ts +3 -2
- package/src/api/payloads/design-systems/version.ts +4 -4
- package/src/yjs/design-system-content/item-title.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -116,10 +116,13 @@ var _zod = require('zod');
|
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
|
|
119
|
+
var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
119
123
|
|
|
120
124
|
|
|
121
125
|
|
|
122
|
-
var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
|
|
123
126
|
|
|
124
127
|
|
|
125
128
|
|
|
@@ -811,6 +814,7 @@ var PageBlockShortcut = _zod.z.object({
|
|
|
811
814
|
description: nullishToOptional(_zod.z.string()),
|
|
812
815
|
asset: nullishToOptional(PageBlockAsset),
|
|
813
816
|
documentationItemId: nullishToOptional(_zod.z.string()),
|
|
817
|
+
pageHeadingId: nullishToOptional(_zod.z.string()),
|
|
814
818
|
url: nullishToOptional(_zod.z.string()),
|
|
815
819
|
openInNewTab: nullishToOptional(_zod.z.boolean()),
|
|
816
820
|
urlPreview: nullishToOptional(PageBlockUrlPreview),
|
|
@@ -1499,7 +1503,8 @@ var FigmaFileStructure = DesignElementBase.extend({
|
|
|
1499
1503
|
data: FigmaFileStructureData
|
|
1500
1504
|
});
|
|
1501
1505
|
var FigmaNodeReferenceOrigin = _zod.z.object({
|
|
1502
|
-
sourceId: _zod.z.string()
|
|
1506
|
+
sourceId: _zod.z.string(),
|
|
1507
|
+
parentName: _zod.z.string().optional()
|
|
1503
1508
|
});
|
|
1504
1509
|
var FigmaNodeReference = DesignElementBase.extend({
|
|
1505
1510
|
data: FigmaNodeReferenceData,
|
|
@@ -2217,49 +2222,6 @@ var DocumentationPage = _zod.z.object({
|
|
|
2217
2222
|
createdAt: _zod.z.coerce.date(),
|
|
2218
2223
|
updatedAt: _zod.z.coerce.date()
|
|
2219
2224
|
});
|
|
2220
|
-
var DesignSystemVersionRoom = Entity.extend({
|
|
2221
|
-
designSystemVersionId: _zod.z.string(),
|
|
2222
|
-
liveblocksId: _zod.z.string()
|
|
2223
|
-
});
|
|
2224
|
-
var DesignSystemVersionRoomInternalSettings = _zod.z.object({
|
|
2225
|
-
routingVersion: _zod.z.string()
|
|
2226
|
-
});
|
|
2227
|
-
var DesignSystemVersionRoomInitialState = _zod.z.object({
|
|
2228
|
-
pages: _zod.z.array(DocumentationPageV2),
|
|
2229
|
-
groups: _zod.z.array(ElementGroup),
|
|
2230
|
-
internalSettings: DesignSystemVersionRoomInternalSettings
|
|
2231
|
-
});
|
|
2232
|
-
var DesignSystemVersionRoomUpdate = _zod.z.object({
|
|
2233
|
-
pages: _zod.z.array(DocumentationPageV2),
|
|
2234
|
-
groups: _zod.z.array(ElementGroup),
|
|
2235
|
-
deletedPageIds: _zod.z.array(_zod.z.string()),
|
|
2236
|
-
deletedGroupIds: _zod.z.array(_zod.z.string())
|
|
2237
|
-
});
|
|
2238
|
-
var DocumentationPageRoom = Entity.extend({
|
|
2239
|
-
designSystemVersionId: _zod.z.string(),
|
|
2240
|
-
documentationPageId: _zod.z.string(),
|
|
2241
|
-
liveblocksId: _zod.z.string(),
|
|
2242
|
-
isDirty: _zod.z.boolean()
|
|
2243
|
-
});
|
|
2244
|
-
var DocumentationPageRoomState = _zod.z.object({
|
|
2245
|
-
pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
2246
|
-
itemConfiguration: DocumentationItemConfigurationV2
|
|
2247
|
-
});
|
|
2248
|
-
var DocumentationPageRoomRoomUpdate = _zod.z.object({
|
|
2249
|
-
page: DocumentationPageV2,
|
|
2250
|
-
pageParent: ElementGroup
|
|
2251
|
-
});
|
|
2252
|
-
var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
|
|
2253
|
-
pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
2254
|
-
blockDefinitions: _zod.z.array(PageBlockDefinition)
|
|
2255
|
-
});
|
|
2256
|
-
var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
|
|
2257
|
-
RoomTypeEnum2["DocumentationPage"] = "documentation-page";
|
|
2258
|
-
RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
|
|
2259
|
-
return RoomTypeEnum2;
|
|
2260
|
-
})(RoomTypeEnum || {});
|
|
2261
|
-
var RoomTypeSchema = _zod.z.nativeEnum(RoomTypeEnum);
|
|
2262
|
-
var RoomType = RoomTypeSchema.enum;
|
|
2263
2225
|
var ElementViewBaseColumnType = _zod.z.enum(["Name", "Description", "Value", "UpdatedAt"]);
|
|
2264
2226
|
var ElementViewColumnType = _zod.z.union([
|
|
2265
2227
|
_zod.z.literal("BaseProperty"),
|
|
@@ -2531,7 +2493,6 @@ var PublishedDocPage = _zod.z.object({
|
|
|
2531
2493
|
pathV1: _zod.z.string(),
|
|
2532
2494
|
pathV2: _zod.z.string(),
|
|
2533
2495
|
storagePath: _zod.z.string(),
|
|
2534
|
-
fallbackPublicPath: _zod.z.string().optional(),
|
|
2535
2496
|
locale: _zod.z.string().optional(),
|
|
2536
2497
|
isPrivate: _zod.z.boolean(),
|
|
2537
2498
|
isHidden: _zod.z.boolean(),
|
|
@@ -2569,36 +2530,14 @@ var DesignSystemVersion = _zod.z.object({
|
|
|
2569
2530
|
changeLog: _zod.z.string(),
|
|
2570
2531
|
parentId: _zod.z.string().optional()
|
|
2571
2532
|
});
|
|
2572
|
-
var
|
|
2573
|
-
var
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
});
|
|
2581
|
-
var ExporterJobResultPullRequestDestination = _zod.z.object({
|
|
2582
|
-
pullRequestUrl: _zod.z.string()
|
|
2583
|
-
});
|
|
2584
|
-
var ExporterJobResultS3Destination = _zod.z.object({
|
|
2585
|
-
bucket: _zod.z.string(),
|
|
2586
|
-
urlPrefix: _zod.z.string().optional(),
|
|
2587
|
-
path: _zod.z.string(),
|
|
2588
|
-
files: _zod.z.array(_zod.z.string())
|
|
2589
|
-
});
|
|
2590
|
-
var ExporterJobResultDocsDestination = _zod.z.object({
|
|
2591
|
-
url: _zod.z.string()
|
|
2592
|
-
});
|
|
2593
|
-
var ExporterJobResult = _zod.z.object({
|
|
2594
|
-
error: _zod.z.string().optional(),
|
|
2595
|
-
logs: _zod.z.array(ExporterJobLogEntry).optional(),
|
|
2596
|
-
s3: ExporterJobResultS3Destination.optional(),
|
|
2597
|
-
github: ExporterJobResultPullRequestDestination.optional(),
|
|
2598
|
-
azure: ExporterJobResultPullRequestDestination.optional(),
|
|
2599
|
-
gitlab: ExporterJobResultPullRequestDestination.optional(),
|
|
2600
|
-
bitbucket: ExporterJobResultPullRequestDestination.optional(),
|
|
2601
|
-
sndocs: ExporterJobResultDocsDestination.optional()
|
|
2533
|
+
var VersionCreationJobStatus = _zod.z.enum(["Success", "InProgress", "Error"]);
|
|
2534
|
+
var VersionCreationJob = _zod.z.object({
|
|
2535
|
+
id: _zod.z.string(),
|
|
2536
|
+
version: _zod.z.string(),
|
|
2537
|
+
designSystemId: _zod.z.string(),
|
|
2538
|
+
designSystemVersionId: nullishToOptional(_zod.z.string()),
|
|
2539
|
+
status: VersionCreationJobStatus,
|
|
2540
|
+
errorMessage: nullishToOptional(_zod.z.string())
|
|
2602
2541
|
});
|
|
2603
2542
|
var ExporterDestinationSnDocs = _zod.z.object({
|
|
2604
2543
|
environment: PublishedDocEnvironment
|
|
@@ -2645,6 +2584,37 @@ var ExporterDestinationBitbucket = _zod.z.object({
|
|
|
2645
2584
|
userId: _zod.z.coerce.string(),
|
|
2646
2585
|
url: _zod.z.string()
|
|
2647
2586
|
});
|
|
2587
|
+
var ExporterJobDestination = _zod.z.enum(["s3", "webhookUrl", "github", "documentation", "azure", "gitlab"]);
|
|
2588
|
+
var ExporterJobStatus = _zod.z.enum(["InProgress", "Success", "Failed", "Timeout"]);
|
|
2589
|
+
var ExporterJobLogEntryType = _zod.z.enum(["success", "info", "warning", "error", "user"]);
|
|
2590
|
+
var ExporterJobLogEntry = _zod.z.object({
|
|
2591
|
+
id: _zod.z.string().optional(),
|
|
2592
|
+
time: _zod.z.coerce.date(),
|
|
2593
|
+
type: ExporterJobLogEntryType,
|
|
2594
|
+
message: _zod.z.string()
|
|
2595
|
+
});
|
|
2596
|
+
var ExporterJobResultPullRequestDestination = _zod.z.object({
|
|
2597
|
+
pullRequestUrl: _zod.z.string()
|
|
2598
|
+
});
|
|
2599
|
+
var ExporterJobResultS3Destination = _zod.z.object({
|
|
2600
|
+
bucket: _zod.z.string(),
|
|
2601
|
+
urlPrefix: _zod.z.string().optional(),
|
|
2602
|
+
path: _zod.z.string(),
|
|
2603
|
+
files: _zod.z.array(_zod.z.string())
|
|
2604
|
+
});
|
|
2605
|
+
var ExporterJobResultDocsDestination = _zod.z.object({
|
|
2606
|
+
url: _zod.z.string()
|
|
2607
|
+
});
|
|
2608
|
+
var ExporterJobResult = _zod.z.object({
|
|
2609
|
+
error: _zod.z.string().optional(),
|
|
2610
|
+
logs: _zod.z.array(ExporterJobLogEntry).optional(),
|
|
2611
|
+
s3: ExporterJobResultS3Destination.optional(),
|
|
2612
|
+
github: ExporterJobResultPullRequestDestination.optional(),
|
|
2613
|
+
azure: ExporterJobResultPullRequestDestination.optional(),
|
|
2614
|
+
gitlab: ExporterJobResultPullRequestDestination.optional(),
|
|
2615
|
+
bitbucket: ExporterJobResultPullRequestDestination.optional(),
|
|
2616
|
+
sndocs: ExporterJobResultDocsDestination.optional()
|
|
2617
|
+
});
|
|
2648
2618
|
var ExporterJob = _zod.z.object({
|
|
2649
2619
|
id: _zod.z.coerce.string(),
|
|
2650
2620
|
createdAt: _zod.z.coerce.date(),
|
|
@@ -2683,6 +2653,26 @@ var ExporterJobFindByFilter = ExporterJob.pick({
|
|
|
2683
2653
|
destinations: _zod.z.array(ExporterJobDestination),
|
|
2684
2654
|
docsEnvironment: PublishedDocEnvironment
|
|
2685
2655
|
}).partial();
|
|
2656
|
+
var ExporterScheduleEventType = _zod.z.enum(["InProgress", "Success", "Failed", "Timeout"]);
|
|
2657
|
+
var ExporterSchedule = _zod.z.object({
|
|
2658
|
+
id: _zod.z.coerce.string(),
|
|
2659
|
+
name: _zod.z.coerce.string(),
|
|
2660
|
+
eventType: ExporterScheduleEventType,
|
|
2661
|
+
isEnabled: _zod.z.coerce.boolean(),
|
|
2662
|
+
workspaceId: _zod.z.coerce.string(),
|
|
2663
|
+
designSystemId: _zod.z.coerce.string(),
|
|
2664
|
+
exporterId: _zod.z.coerce.string(),
|
|
2665
|
+
brandId: _zod.z.coerce.string().optional(),
|
|
2666
|
+
themeId: _zod.z.coerce.string().optional(),
|
|
2667
|
+
// CodegenDestinationsModel
|
|
2668
|
+
webhookUrl: _zod.z.string().optional(),
|
|
2669
|
+
destinationSnDocs: ExporterDestinationSnDocs.optional(),
|
|
2670
|
+
destinationS3: ExporterDestinationS3.optional(),
|
|
2671
|
+
destinationGithub: ExporterDestinationGithub.optional(),
|
|
2672
|
+
destinationAzure: ExporterDestinationAzure.optional(),
|
|
2673
|
+
destinationGitlab: ExporterDestinationGitlab.optional(),
|
|
2674
|
+
destinationBitbucket: ExporterDestinationBitbucket.optional()
|
|
2675
|
+
});
|
|
2686
2676
|
var ExporterWorkspaceMembershipRole = _zod.z.enum(["Owner", "OwnerArchived", "User"]);
|
|
2687
2677
|
var ExporterWorkspaceMembership = _zod.z.object({
|
|
2688
2678
|
id: _zod.z.string(),
|
|
@@ -2897,10 +2887,18 @@ var ExternalOAuthRequest = _zod.z.object({
|
|
|
2897
2887
|
state: _zod.z.string(),
|
|
2898
2888
|
createdAt: _zod.z.coerce.date()
|
|
2899
2889
|
});
|
|
2890
|
+
var IntegrationDesignSystem = _zod.z.object({
|
|
2891
|
+
designSystemId: _zod.z.string(),
|
|
2892
|
+
brandId: _zod.z.string(),
|
|
2893
|
+
title: _zod.z.string().optional(),
|
|
2894
|
+
userId: _zod.z.string().optional(),
|
|
2895
|
+
date: _zod.z.coerce.date().optional()
|
|
2896
|
+
});
|
|
2900
2897
|
var IntegrationCredentialsType = _zod.z.enum(["OAuth2", "PAT", "GithubApp"]);
|
|
2901
2898
|
var IntegrationCredentialsProfile = _zod.z.object({
|
|
2902
2899
|
id: _zod.z.string(),
|
|
2903
|
-
|
|
2900
|
+
email: _zod.z.string().optional(),
|
|
2901
|
+
handle: _zod.z.string().optional(),
|
|
2904
2902
|
avatarUrl: _zod.z.string().optional()
|
|
2905
2903
|
});
|
|
2906
2904
|
var IntegrationCredentials = _zod.z.object({
|
|
@@ -2911,10 +2909,21 @@ var IntegrationCredentials = _zod.z.object({
|
|
|
2911
2909
|
userId: _zod.z.string(),
|
|
2912
2910
|
createdAt: _zod.z.coerce.date(),
|
|
2913
2911
|
refreshToken: _zod.z.string().optional(),
|
|
2912
|
+
tokenName: _zod.z.string().optional(),
|
|
2913
|
+
expiresAt: _zod.z.coerce.date().optional(),
|
|
2914
2914
|
profile: IntegrationCredentialsProfile.optional(),
|
|
2915
2915
|
customUrl: _zod.z.string().optional()
|
|
2916
2916
|
});
|
|
2917
|
-
var
|
|
2917
|
+
var ExtendedIntegrationType = _zod.z.enum([
|
|
2918
|
+
"Figma",
|
|
2919
|
+
"Github",
|
|
2920
|
+
"Gitlab",
|
|
2921
|
+
"Bitbucket",
|
|
2922
|
+
"Azure",
|
|
2923
|
+
"TokenStudio",
|
|
2924
|
+
"FigmaVariablesPlugin"
|
|
2925
|
+
]);
|
|
2926
|
+
var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
|
|
2918
2927
|
var Integration = _zod.z.object({
|
|
2919
2928
|
id: _zod.z.string(),
|
|
2920
2929
|
workspaceId: _zod.z.string(),
|
|
@@ -2926,8 +2935,13 @@ var forbiddenCustomUrldomainList = ["github.com", "gitlab.com", "bitbucket.org",
|
|
|
2926
2935
|
var IntegrationTokenResponse = _zod.z.object({
|
|
2927
2936
|
access_token: _zod.z.string(),
|
|
2928
2937
|
refresh_token: _zod.z.string().optional(),
|
|
2929
|
-
expires_in: _zod.z.number().optional(),
|
|
2938
|
+
expires_in: _zod.z.union([_zod.z.number().optional(), _zod.z.string().optional()]),
|
|
2930
2939
|
token_type: _zod.z.string().optional(),
|
|
2940
|
+
token_name: _zod.z.string().optional(),
|
|
2941
|
+
token_azure_organization_name: _zod.z.string().optional(),
|
|
2942
|
+
// Azure only
|
|
2943
|
+
token_bitbucket_username: _zod.z.string().optional(),
|
|
2944
|
+
// Bitbucket only
|
|
2931
2945
|
custom_url: _zod.z.string().optional().refine((value) => {
|
|
2932
2946
|
if (!value)
|
|
2933
2947
|
return true;
|
|
@@ -2935,12 +2949,20 @@ var IntegrationTokenResponse = _zod.z.object({
|
|
|
2935
2949
|
return false;
|
|
2936
2950
|
return true;
|
|
2937
2951
|
}, "Custom URL validation failed")
|
|
2938
|
-
}).
|
|
2952
|
+
}).refine((data) => {
|
|
2953
|
+
if (data.custom_url && data.token_azure_organization_name) {
|
|
2954
|
+
return false;
|
|
2955
|
+
}
|
|
2956
|
+
return true;
|
|
2957
|
+
}, "Custom URL and Azure organization name cannot be present at the same time").transform((data) => {
|
|
2939
2958
|
return {
|
|
2940
2959
|
accessToken: data.access_token,
|
|
2941
2960
|
refreshToken: data.refresh_token,
|
|
2942
|
-
expiresIn: data.expires_in,
|
|
2961
|
+
expiresIn: typeof data.expires_in === "string" ? Number(data.expires_in) : data.expires_in,
|
|
2943
2962
|
tokenType: data.token_type,
|
|
2963
|
+
tokenName: data.token_name,
|
|
2964
|
+
tokenBitbucketUsername: data.token_bitbucket_username,
|
|
2965
|
+
tokenAzureOrganizationName: data.token_azure_organization_name,
|
|
2944
2966
|
customUrl: data.custom_url
|
|
2945
2967
|
};
|
|
2946
2968
|
});
|
|
@@ -2961,6 +2983,54 @@ var WorkspaceOAuthRequestSchema = _zod.z.object({
|
|
|
2961
2983
|
userId: _zod.z.string(),
|
|
2962
2984
|
createdAt: _zod.z.coerce.date()
|
|
2963
2985
|
});
|
|
2986
|
+
var DesignSystemVersionRoom = Entity.extend({
|
|
2987
|
+
designSystemVersionId: _zod.z.string(),
|
|
2988
|
+
liveblocksId: _zod.z.string()
|
|
2989
|
+
});
|
|
2990
|
+
var DesignSystemVersionRoomInternalSettings = _zod.z.object({
|
|
2991
|
+
routingVersion: _zod.z.string()
|
|
2992
|
+
});
|
|
2993
|
+
var DesignSystemVersionRoomInitialState = _zod.z.object({
|
|
2994
|
+
pages: _zod.z.array(DocumentationPageV2),
|
|
2995
|
+
groups: _zod.z.array(ElementGroup),
|
|
2996
|
+
internalSettings: DesignSystemVersionRoomInternalSettings
|
|
2997
|
+
});
|
|
2998
|
+
var DesignSystemVersionRoomUpdate = _zod.z.object({
|
|
2999
|
+
pages: _zod.z.array(DocumentationPageV2),
|
|
3000
|
+
groups: _zod.z.array(ElementGroup),
|
|
3001
|
+
deletedPageIds: _zod.z.array(_zod.z.string()),
|
|
3002
|
+
deletedGroupIds: _zod.z.array(_zod.z.string())
|
|
3003
|
+
});
|
|
3004
|
+
var DocumentationPageRoom = Entity.extend({
|
|
3005
|
+
designSystemVersionId: _zod.z.string(),
|
|
3006
|
+
documentationPageId: _zod.z.string(),
|
|
3007
|
+
liveblocksId: _zod.z.string(),
|
|
3008
|
+
isDirty: _zod.z.boolean()
|
|
3009
|
+
});
|
|
3010
|
+
var DocumentationPageRoomState = _zod.z.object({
|
|
3011
|
+
pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
3012
|
+
itemConfiguration: DocumentationItemConfigurationV2
|
|
3013
|
+
});
|
|
3014
|
+
var DocumentationPageRoomRoomUpdate = _zod.z.object({
|
|
3015
|
+
page: DocumentationPageV2,
|
|
3016
|
+
pageParent: ElementGroup
|
|
3017
|
+
});
|
|
3018
|
+
var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
|
|
3019
|
+
pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
3020
|
+
blockDefinitions: _zod.z.array(PageBlockDefinition)
|
|
3021
|
+
});
|
|
3022
|
+
var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
|
|
3023
|
+
RoomTypeEnum2["DocumentationPage"] = "documentation-page";
|
|
3024
|
+
RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
|
|
3025
|
+
RoomTypeEnum2["Workspace"] = "workspace";
|
|
3026
|
+
return RoomTypeEnum2;
|
|
3027
|
+
})(RoomTypeEnum || {});
|
|
3028
|
+
var RoomTypeSchema = _zod.z.nativeEnum(RoomTypeEnum);
|
|
3029
|
+
var RoomType = RoomTypeSchema.enum;
|
|
3030
|
+
var WorkspaceRoom = Entity.extend({
|
|
3031
|
+
workspaceId: _zod.z.string(),
|
|
3032
|
+
liveblocksId: _zod.z.string()
|
|
3033
|
+
});
|
|
2964
3034
|
var AnyRecord = _zod.z.record(_zod.z.any());
|
|
2965
3035
|
var NpmPackageVersionDist = AnyRecord.and(
|
|
2966
3036
|
_zod.z.object({
|
|
@@ -4069,7 +4139,8 @@ function integrationToDto(integration) {
|
|
|
4069
4139
|
workspaceId: integration.workspaceId,
|
|
4070
4140
|
type: integration.type,
|
|
4071
4141
|
createdAt: integration.createdAt,
|
|
4072
|
-
integrationCredentials: _nullishCoalesce(integration.integrationCredentials, () => ( void 0))
|
|
4142
|
+
integrationCredentials: _nullishCoalesce(integration.integrationCredentials, () => ( void 0)),
|
|
4143
|
+
integrationDesignSystems: _nullishCoalesce(integration.integrationDesignSystems, () => ( void 0))
|
|
4073
4144
|
};
|
|
4074
4145
|
}
|
|
4075
4146
|
|
|
@@ -4122,13 +4193,13 @@ var ObjectMeta2 = _zod.z.object({
|
|
|
4122
4193
|
name: _zod.z.string().max(150).optional(),
|
|
4123
4194
|
description: _zod.z.string().max(2e3).optional()
|
|
4124
4195
|
});
|
|
4125
|
-
function
|
|
4126
|
-
const
|
|
4127
|
-
return
|
|
4196
|
+
function validateDesignSystemVersion(version) {
|
|
4197
|
+
const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
|
|
4198
|
+
return urlCompliantRegex.test(version);
|
|
4128
4199
|
}
|
|
4129
4200
|
var DTOCreateVersionInput = _zod.z.object({
|
|
4130
4201
|
meta: ObjectMeta2,
|
|
4131
|
-
version: _zod.z.string().refine(
|
|
4202
|
+
version: _zod.z.string().refine(validateDesignSystemVersion, {
|
|
4132
4203
|
message: "Invalid semantic versioning format"
|
|
4133
4204
|
}),
|
|
4134
4205
|
changeLog: _zod.z.string().max(2e3).optional()
|
|
@@ -4223,12 +4294,20 @@ var DTODesignSystemVersionCreationResponse = _zod.z.object({
|
|
|
4223
4294
|
version: _zod.z.string(),
|
|
4224
4295
|
changeLog: _zod.z.string(),
|
|
4225
4296
|
isReadOnly: _zod.z.boolean(),
|
|
4226
|
-
designSystemId: _zod.z.string()
|
|
4297
|
+
designSystemId: _zod.z.string(),
|
|
4298
|
+
jobId: _zod.z.string()
|
|
4227
4299
|
});
|
|
4228
4300
|
var VersionSQSPayload = _zod.z.object({
|
|
4301
|
+
jobId: _zod.z.string(),
|
|
4229
4302
|
designSystemId: _zod.z.string(),
|
|
4230
4303
|
input: DTOCreateVersionInput
|
|
4231
4304
|
});
|
|
4305
|
+
var DTODesignSystemVersionJobsResponse = _zod.z.object({
|
|
4306
|
+
jobs: _zod.z.array(VersionCreationJob)
|
|
4307
|
+
});
|
|
4308
|
+
var DTODesignSystemVersionJobStatusResponse = _zod.z.object({
|
|
4309
|
+
job: VersionCreationJob
|
|
4310
|
+
});
|
|
4232
4311
|
|
|
4233
4312
|
// src/api/dto/design-systems/view.ts
|
|
4234
4313
|
|
|
@@ -4602,6 +4681,11 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
|
|
|
4602
4681
|
|
|
4603
4682
|
// src/api/dto/elements/figma-nodes/figma-node.ts
|
|
4604
4683
|
|
|
4684
|
+
var DTOFigmaNodeOrigin = _zod.z.object({
|
|
4685
|
+
sourceId: _zod.z.string(),
|
|
4686
|
+
fileId: _zod.z.string().optional(),
|
|
4687
|
+
parentName: _zod.z.string().optional()
|
|
4688
|
+
});
|
|
4605
4689
|
var DTOFigmaNodeData = _zod.z.object({
|
|
4606
4690
|
// Id of the node in the Figma file
|
|
4607
4691
|
figmaNodeId: _zod.z.string(),
|
|
@@ -4616,9 +4700,11 @@ var DTOFigmaNodeData = _zod.z.object({
|
|
|
4616
4700
|
assetHeight: _zod.z.number().optional()
|
|
4617
4701
|
});
|
|
4618
4702
|
var DTOFigmaNode = FigmaFileStructure.omit({
|
|
4619
|
-
data: true
|
|
4703
|
+
data: true,
|
|
4704
|
+
origin: true
|
|
4620
4705
|
}).extend({
|
|
4621
|
-
data: DTOFigmaNodeData
|
|
4706
|
+
data: DTOFigmaNodeData,
|
|
4707
|
+
origin: DTOFigmaNodeOrigin
|
|
4622
4708
|
});
|
|
4623
4709
|
var DTOFigmaNodeRenderInput = _zod.z.object({
|
|
4624
4710
|
// Id of a design system's data source representing a linked Figma file
|
|
@@ -4778,9 +4864,10 @@ var DTOElementsGetOutput = _zod.z.object({
|
|
|
4778
4864
|
var DTOIntegration = _zod.z.object({
|
|
4779
4865
|
id: _zod.z.string(),
|
|
4780
4866
|
workspaceId: _zod.z.string(),
|
|
4781
|
-
type:
|
|
4867
|
+
type: ExtendedIntegrationType,
|
|
4782
4868
|
createdAt: _zod.z.coerce.date(),
|
|
4783
|
-
integrationCredentials: _zod.z.array(IntegrationCredentials).optional()
|
|
4869
|
+
integrationCredentials: _zod.z.array(IntegrationCredentials).optional(),
|
|
4870
|
+
integrationDesignSystems: _zod.z.array(IntegrationDesignSystem).optional()
|
|
4784
4871
|
});
|
|
4785
4872
|
var DTOIntegrationOAuthGetResponse = _zod.z.object({
|
|
4786
4873
|
url: _zod.z.string()
|
|
@@ -8726,5 +8813,8 @@ function mapByUnique2(items, keyFn) {
|
|
|
8726
8813
|
|
|
8727
8814
|
|
|
8728
8815
|
|
|
8729
|
-
exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOBrand = DTOBrand; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateElementPropertyDefinitionInputV2 = DTOCreateElementPropertyDefinitionInputV2; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODeleteElementPropertyDefinitionInputV2 = DTODeleteElementPropertyDefinitionInputV2; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupStructureV2 = DTODocumentationGroupStructureV2; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageStructureV2 = DTODocumentationPageStructureV2; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionsGetResponse = DTOElementPropertyDefinitionsGetResponse; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValuesGetResponse = DTOElementPropertyValuesGetResponse; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTOPropertyDefinitionCreateActionInputV2 = DTOPropertyDefinitionCreateActionInputV2; exports.DTOPropertyDefinitionCreateActionOutputV2 = DTOPropertyDefinitionCreateActionOutputV2; exports.DTOPropertyDefinitionDeleteActionInputV2 = DTOPropertyDefinitionDeleteActionInputV2; exports.DTOPropertyDefinitionDeleteActionOutputV2 = DTOPropertyDefinitionDeleteActionOutputV2; exports.DTOPropertyDefinitionUpdateActionInputV2 = DTOPropertyDefinitionUpdateActionInputV2; exports.DTOPropertyDefinitionUpdateActionOutputV2 = DTOPropertyDefinitionUpdateActionOutputV2; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateElementPropertyDefinitionInputV2 = DTOUpdateElementPropertyDefinitionInputV2; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.ListTreeBuilder = ListTreeBuilder; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.VersionSQSPayload = VersionSQSPayload; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.documentationElementsToHierarchyDto = documentationElementsToHierarchyDto; exports.documentationHierarchyToYjs = documentationHierarchyToYjs; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.documentationPagesToStructureDTOV2 = documentationPagesToStructureDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.elementGroupsToDocumentationGroupStructureDTOV2 = elementGroupsToDocumentationGroupStructureDTOV2; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.integrationToDto = integrationToDto; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateSemver = validateSemver; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
8816
|
+
|
|
8817
|
+
|
|
8818
|
+
|
|
8819
|
+
exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOBrand = DTOBrand; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateElementPropertyDefinitionInputV2 = DTOCreateElementPropertyDefinitionInputV2; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODeleteElementPropertyDefinitionInputV2 = DTODeleteElementPropertyDefinitionInputV2; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupStructureV2 = DTODocumentationGroupStructureV2; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageStructureV2 = DTODocumentationPageStructureV2; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionsGetResponse = DTOElementPropertyDefinitionsGetResponse; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValuesGetResponse = DTOElementPropertyValuesGetResponse; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTOPropertyDefinitionCreateActionInputV2 = DTOPropertyDefinitionCreateActionInputV2; exports.DTOPropertyDefinitionCreateActionOutputV2 = DTOPropertyDefinitionCreateActionOutputV2; exports.DTOPropertyDefinitionDeleteActionInputV2 = DTOPropertyDefinitionDeleteActionInputV2; exports.DTOPropertyDefinitionDeleteActionOutputV2 = DTOPropertyDefinitionDeleteActionOutputV2; exports.DTOPropertyDefinitionUpdateActionInputV2 = DTOPropertyDefinitionUpdateActionInputV2; exports.DTOPropertyDefinitionUpdateActionOutputV2 = DTOPropertyDefinitionUpdateActionOutputV2; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateElementPropertyDefinitionInputV2 = DTOUpdateElementPropertyDefinitionInputV2; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.ListTreeBuilder = ListTreeBuilder; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.VersionSQSPayload = VersionSQSPayload; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.documentationElementsToHierarchyDto = documentationElementsToHierarchyDto; exports.documentationHierarchyToYjs = documentationHierarchyToYjs; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.documentationPagesToStructureDTOV2 = documentationPagesToStructureDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.elementGroupsToDocumentationGroupStructureDTOV2 = elementGroupsToDocumentationGroupStructureDTOV2; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.integrationToDto = integrationToDto; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
8730
8820
|
//# sourceMappingURL=index.js.map
|