@supernova-studio/client 0.46.1 → 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 +339 -63
- package/dist/index.d.ts +339 -63
- package/dist/index.js +167 -95
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1029 -957
- 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 +7 -3
- package/src/api/dto/workspaces/integrations.ts +3 -2
- package/src/api/payloads/design-systems/version.ts +4 -6
- package/src/yjs/design-system-content/index.ts +0 -1
- package/src/yjs/design-system-content/item-title.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => {
|
|
4
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
+
return value;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
// ../model/dist/index.mjs
|
|
2
9
|
var _zod = require('zod');
|
|
3
10
|
|
|
4
11
|
|
|
@@ -109,10 +116,13 @@ var _zod = require('zod');
|
|
|
109
116
|
|
|
110
117
|
|
|
111
118
|
|
|
119
|
+
var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
112
123
|
|
|
113
124
|
|
|
114
125
|
|
|
115
|
-
var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
|
|
116
126
|
|
|
117
127
|
|
|
118
128
|
|
|
@@ -2212,49 +2222,6 @@ var DocumentationPage = _zod.z.object({
|
|
|
2212
2222
|
createdAt: _zod.z.coerce.date(),
|
|
2213
2223
|
updatedAt: _zod.z.coerce.date()
|
|
2214
2224
|
});
|
|
2215
|
-
var DesignSystemVersionRoom = Entity.extend({
|
|
2216
|
-
designSystemVersionId: _zod.z.string(),
|
|
2217
|
-
liveblocksId: _zod.z.string()
|
|
2218
|
-
});
|
|
2219
|
-
var DesignSystemVersionRoomInternalSettings = _zod.z.object({
|
|
2220
|
-
routingVersion: _zod.z.string()
|
|
2221
|
-
});
|
|
2222
|
-
var DesignSystemVersionRoomInitialState = _zod.z.object({
|
|
2223
|
-
pages: _zod.z.array(DocumentationPageV2),
|
|
2224
|
-
groups: _zod.z.array(ElementGroup),
|
|
2225
|
-
internalSettings: DesignSystemVersionRoomInternalSettings
|
|
2226
|
-
});
|
|
2227
|
-
var DesignSystemVersionRoomUpdate = _zod.z.object({
|
|
2228
|
-
pages: _zod.z.array(DocumentationPageV2),
|
|
2229
|
-
groups: _zod.z.array(ElementGroup),
|
|
2230
|
-
deletedPageIds: _zod.z.array(_zod.z.string()),
|
|
2231
|
-
deletedGroupIds: _zod.z.array(_zod.z.string())
|
|
2232
|
-
});
|
|
2233
|
-
var DocumentationPageRoom = Entity.extend({
|
|
2234
|
-
designSystemVersionId: _zod.z.string(),
|
|
2235
|
-
documentationPageId: _zod.z.string(),
|
|
2236
|
-
liveblocksId: _zod.z.string(),
|
|
2237
|
-
isDirty: _zod.z.boolean()
|
|
2238
|
-
});
|
|
2239
|
-
var DocumentationPageRoomState = _zod.z.object({
|
|
2240
|
-
pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
2241
|
-
itemConfiguration: DocumentationItemConfigurationV2
|
|
2242
|
-
});
|
|
2243
|
-
var DocumentationPageRoomRoomUpdate = _zod.z.object({
|
|
2244
|
-
page: DocumentationPageV2,
|
|
2245
|
-
pageParent: ElementGroup
|
|
2246
|
-
});
|
|
2247
|
-
var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
|
|
2248
|
-
pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
2249
|
-
blockDefinitions: _zod.z.array(PageBlockDefinition)
|
|
2250
|
-
});
|
|
2251
|
-
var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
|
|
2252
|
-
RoomTypeEnum2["DocumentationPage"] = "documentation-page";
|
|
2253
|
-
RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
|
|
2254
|
-
return RoomTypeEnum2;
|
|
2255
|
-
})(RoomTypeEnum || {});
|
|
2256
|
-
var RoomTypeSchema = _zod.z.nativeEnum(RoomTypeEnum);
|
|
2257
|
-
var RoomType = RoomTypeSchema.enum;
|
|
2258
2225
|
var ElementViewBaseColumnType = _zod.z.enum(["Name", "Description", "Value", "UpdatedAt"]);
|
|
2259
2226
|
var ElementViewColumnType = _zod.z.union([
|
|
2260
2227
|
_zod.z.literal("BaseProperty"),
|
|
@@ -2565,44 +2532,13 @@ var DesignSystemVersion = _zod.z.object({
|
|
|
2565
2532
|
});
|
|
2566
2533
|
var VersionCreationJobStatus = _zod.z.enum(["Success", "InProgress", "Error"]);
|
|
2567
2534
|
var VersionCreationJob = _zod.z.object({
|
|
2568
|
-
|
|
2535
|
+
id: _zod.z.string(),
|
|
2569
2536
|
version: _zod.z.string(),
|
|
2570
2537
|
designSystemId: _zod.z.string(),
|
|
2571
2538
|
designSystemVersionId: nullishToOptional(_zod.z.string()),
|
|
2572
2539
|
status: VersionCreationJobStatus,
|
|
2573
2540
|
errorMessage: nullishToOptional(_zod.z.string())
|
|
2574
2541
|
});
|
|
2575
|
-
var ExporterJobDestination = _zod.z.enum(["s3", "webhookUrl", "github", "documentation", "azure", "gitlab"]);
|
|
2576
|
-
var ExporterJobStatus = _zod.z.enum(["InProgress", "Success", "Failed", "Timeout"]);
|
|
2577
|
-
var ExporterJobLogEntryType = _zod.z.enum(["success", "info", "warning", "error", "user"]);
|
|
2578
|
-
var ExporterJobLogEntry = _zod.z.object({
|
|
2579
|
-
id: _zod.z.string().optional(),
|
|
2580
|
-
time: _zod.z.coerce.date(),
|
|
2581
|
-
type: ExporterJobLogEntryType,
|
|
2582
|
-
message: _zod.z.string()
|
|
2583
|
-
});
|
|
2584
|
-
var ExporterJobResultPullRequestDestination = _zod.z.object({
|
|
2585
|
-
pullRequestUrl: _zod.z.string()
|
|
2586
|
-
});
|
|
2587
|
-
var ExporterJobResultS3Destination = _zod.z.object({
|
|
2588
|
-
bucket: _zod.z.string(),
|
|
2589
|
-
urlPrefix: _zod.z.string().optional(),
|
|
2590
|
-
path: _zod.z.string(),
|
|
2591
|
-
files: _zod.z.array(_zod.z.string())
|
|
2592
|
-
});
|
|
2593
|
-
var ExporterJobResultDocsDestination = _zod.z.object({
|
|
2594
|
-
url: _zod.z.string()
|
|
2595
|
-
});
|
|
2596
|
-
var ExporterJobResult = _zod.z.object({
|
|
2597
|
-
error: _zod.z.string().optional(),
|
|
2598
|
-
logs: _zod.z.array(ExporterJobLogEntry).optional(),
|
|
2599
|
-
s3: ExporterJobResultS3Destination.optional(),
|
|
2600
|
-
github: ExporterJobResultPullRequestDestination.optional(),
|
|
2601
|
-
azure: ExporterJobResultPullRequestDestination.optional(),
|
|
2602
|
-
gitlab: ExporterJobResultPullRequestDestination.optional(),
|
|
2603
|
-
bitbucket: ExporterJobResultPullRequestDestination.optional(),
|
|
2604
|
-
sndocs: ExporterJobResultDocsDestination.optional()
|
|
2605
|
-
});
|
|
2606
2542
|
var ExporterDestinationSnDocs = _zod.z.object({
|
|
2607
2543
|
environment: PublishedDocEnvironment
|
|
2608
2544
|
});
|
|
@@ -2648,6 +2584,37 @@ var ExporterDestinationBitbucket = _zod.z.object({
|
|
|
2648
2584
|
userId: _zod.z.coerce.string(),
|
|
2649
2585
|
url: _zod.z.string()
|
|
2650
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
|
+
});
|
|
2651
2618
|
var ExporterJob = _zod.z.object({
|
|
2652
2619
|
id: _zod.z.coerce.string(),
|
|
2653
2620
|
createdAt: _zod.z.coerce.date(),
|
|
@@ -2686,6 +2653,26 @@ var ExporterJobFindByFilter = ExporterJob.pick({
|
|
|
2686
2653
|
destinations: _zod.z.array(ExporterJobDestination),
|
|
2687
2654
|
docsEnvironment: PublishedDocEnvironment
|
|
2688
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
|
+
});
|
|
2689
2676
|
var ExporterWorkspaceMembershipRole = _zod.z.enum(["Owner", "OwnerArchived", "User"]);
|
|
2690
2677
|
var ExporterWorkspaceMembership = _zod.z.object({
|
|
2691
2678
|
id: _zod.z.string(),
|
|
@@ -2900,10 +2887,18 @@ var ExternalOAuthRequest = _zod.z.object({
|
|
|
2900
2887
|
state: _zod.z.string(),
|
|
2901
2888
|
createdAt: _zod.z.coerce.date()
|
|
2902
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
|
+
});
|
|
2903
2897
|
var IntegrationCredentialsType = _zod.z.enum(["OAuth2", "PAT", "GithubApp"]);
|
|
2904
2898
|
var IntegrationCredentialsProfile = _zod.z.object({
|
|
2905
2899
|
id: _zod.z.string(),
|
|
2906
|
-
|
|
2900
|
+
email: _zod.z.string().optional(),
|
|
2901
|
+
handle: _zod.z.string().optional(),
|
|
2907
2902
|
avatarUrl: _zod.z.string().optional()
|
|
2908
2903
|
});
|
|
2909
2904
|
var IntegrationCredentials = _zod.z.object({
|
|
@@ -2914,10 +2909,21 @@ var IntegrationCredentials = _zod.z.object({
|
|
|
2914
2909
|
userId: _zod.z.string(),
|
|
2915
2910
|
createdAt: _zod.z.coerce.date(),
|
|
2916
2911
|
refreshToken: _zod.z.string().optional(),
|
|
2912
|
+
tokenName: _zod.z.string().optional(),
|
|
2913
|
+
expiresAt: _zod.z.coerce.date().optional(),
|
|
2917
2914
|
profile: IntegrationCredentialsProfile.optional(),
|
|
2918
2915
|
customUrl: _zod.z.string().optional()
|
|
2919
2916
|
});
|
|
2920
|
-
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"]);
|
|
2921
2927
|
var Integration = _zod.z.object({
|
|
2922
2928
|
id: _zod.z.string(),
|
|
2923
2929
|
workspaceId: _zod.z.string(),
|
|
@@ -2929,8 +2935,13 @@ var forbiddenCustomUrldomainList = ["github.com", "gitlab.com", "bitbucket.org",
|
|
|
2929
2935
|
var IntegrationTokenResponse = _zod.z.object({
|
|
2930
2936
|
access_token: _zod.z.string(),
|
|
2931
2937
|
refresh_token: _zod.z.string().optional(),
|
|
2932
|
-
expires_in: _zod.z.number().optional(),
|
|
2938
|
+
expires_in: _zod.z.union([_zod.z.number().optional(), _zod.z.string().optional()]),
|
|
2933
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
|
|
2934
2945
|
custom_url: _zod.z.string().optional().refine((value) => {
|
|
2935
2946
|
if (!value)
|
|
2936
2947
|
return true;
|
|
@@ -2938,12 +2949,20 @@ var IntegrationTokenResponse = _zod.z.object({
|
|
|
2938
2949
|
return false;
|
|
2939
2950
|
return true;
|
|
2940
2951
|
}, "Custom URL validation failed")
|
|
2941
|
-
}).
|
|
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) => {
|
|
2942
2958
|
return {
|
|
2943
2959
|
accessToken: data.access_token,
|
|
2944
2960
|
refreshToken: data.refresh_token,
|
|
2945
|
-
expiresIn: data.expires_in,
|
|
2961
|
+
expiresIn: typeof data.expires_in === "string" ? Number(data.expires_in) : data.expires_in,
|
|
2946
2962
|
tokenType: data.token_type,
|
|
2963
|
+
tokenName: data.token_name,
|
|
2964
|
+
tokenBitbucketUsername: data.token_bitbucket_username,
|
|
2965
|
+
tokenAzureOrganizationName: data.token_azure_organization_name,
|
|
2947
2966
|
customUrl: data.custom_url
|
|
2948
2967
|
};
|
|
2949
2968
|
});
|
|
@@ -2964,6 +2983,54 @@ var WorkspaceOAuthRequestSchema = _zod.z.object({
|
|
|
2964
2983
|
userId: _zod.z.string(),
|
|
2965
2984
|
createdAt: _zod.z.coerce.date()
|
|
2966
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
|
+
});
|
|
2967
3034
|
var AnyRecord = _zod.z.record(_zod.z.any());
|
|
2968
3035
|
var NpmPackageVersionDist = AnyRecord.and(
|
|
2969
3036
|
_zod.z.object({
|
|
@@ -4072,7 +4139,8 @@ function integrationToDto(integration) {
|
|
|
4072
4139
|
workspaceId: integration.workspaceId,
|
|
4073
4140
|
type: integration.type,
|
|
4074
4141
|
createdAt: integration.createdAt,
|
|
4075
|
-
integrationCredentials: _nullishCoalesce(integration.integrationCredentials, () => ( void 0))
|
|
4142
|
+
integrationCredentials: _nullishCoalesce(integration.integrationCredentials, () => ( void 0)),
|
|
4143
|
+
integrationDesignSystems: _nullishCoalesce(integration.integrationDesignSystems, () => ( void 0))
|
|
4076
4144
|
};
|
|
4077
4145
|
}
|
|
4078
4146
|
|
|
@@ -4125,15 +4193,13 @@ var ObjectMeta2 = _zod.z.object({
|
|
|
4125
4193
|
name: _zod.z.string().max(150).optional(),
|
|
4126
4194
|
description: _zod.z.string().max(2e3).optional()
|
|
4127
4195
|
});
|
|
4128
|
-
function
|
|
4129
|
-
const
|
|
4130
|
-
|
|
4131
|
-
const isValidSemver = semverRegex.test(version) || semverRegexWithSingleDigit.test(version);
|
|
4132
|
-
return isValidSemver;
|
|
4196
|
+
function validateDesignSystemVersion(version) {
|
|
4197
|
+
const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
|
|
4198
|
+
return urlCompliantRegex.test(version);
|
|
4133
4199
|
}
|
|
4134
4200
|
var DTOCreateVersionInput = _zod.z.object({
|
|
4135
4201
|
meta: ObjectMeta2,
|
|
4136
|
-
version: _zod.z.string().refine(
|
|
4202
|
+
version: _zod.z.string().refine(validateDesignSystemVersion, {
|
|
4137
4203
|
message: "Invalid semantic versioning format"
|
|
4138
4204
|
}),
|
|
4139
4205
|
changeLog: _zod.z.string().max(2e3).optional()
|
|
@@ -4236,10 +4302,11 @@ var VersionSQSPayload = _zod.z.object({
|
|
|
4236
4302
|
designSystemId: _zod.z.string(),
|
|
4237
4303
|
input: DTOCreateVersionInput
|
|
4238
4304
|
});
|
|
4305
|
+
var DTODesignSystemVersionJobsResponse = _zod.z.object({
|
|
4306
|
+
jobs: _zod.z.array(VersionCreationJob)
|
|
4307
|
+
});
|
|
4239
4308
|
var DTODesignSystemVersionJobStatusResponse = _zod.z.object({
|
|
4240
|
-
job: VersionCreationJob
|
|
4241
|
-
_id: true
|
|
4242
|
-
})
|
|
4309
|
+
job: VersionCreationJob
|
|
4243
4310
|
});
|
|
4244
4311
|
|
|
4245
4312
|
// src/api/dto/design-systems/view.ts
|
|
@@ -4797,9 +4864,10 @@ var DTOElementsGetOutput = _zod.z.object({
|
|
|
4797
4864
|
var DTOIntegration = _zod.z.object({
|
|
4798
4865
|
id: _zod.z.string(),
|
|
4799
4866
|
workspaceId: _zod.z.string(),
|
|
4800
|
-
type:
|
|
4867
|
+
type: ExtendedIntegrationType,
|
|
4801
4868
|
createdAt: _zod.z.coerce.date(),
|
|
4802
|
-
integrationCredentials: _zod.z.array(IntegrationCredentials).optional()
|
|
4869
|
+
integrationCredentials: _zod.z.array(IntegrationCredentials).optional(),
|
|
4870
|
+
integrationDesignSystems: _zod.z.array(IntegrationDesignSystem).optional()
|
|
4803
4871
|
});
|
|
4804
4872
|
var DTOIntegrationOAuthGetResponse = _zod.z.object({
|
|
4805
4873
|
url: _zod.z.string()
|
|
@@ -5755,6 +5823,9 @@ var BlockDefinitionUtils = {
|
|
|
5755
5823
|
|
|
5756
5824
|
// src/yjs/docs-editor/list-tree-builder.ts
|
|
5757
5825
|
var ListTreeBuilder = class {
|
|
5826
|
+
constructor() {
|
|
5827
|
+
__publicField(this, "rootNode");
|
|
5828
|
+
}
|
|
5758
5829
|
addWithProperty(block, multiRichTextProperty) {
|
|
5759
5830
|
const parsedOptions = PageBlockDefinitionMutiRichTextOptions.optional().parse(multiRichTextProperty.options);
|
|
5760
5831
|
return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess', _34 => _34.multiRichTextStyle]) || "OL");
|
|
@@ -8744,5 +8815,6 @@ function mapByUnique2(items, keyFn) {
|
|
|
8744
8815
|
|
|
8745
8816
|
|
|
8746
8817
|
|
|
8747
|
-
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.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.validateSemver = validateSemver; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
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;
|
|
8748
8820
|
//# sourceMappingURL=index.js.map
|