@supernova-studio/client 0.46.1 → 0.46.5
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 +483 -63
- package/dist/index.d.ts +483 -63
- package/dist/index.js +182 -96
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +954 -868
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -2
- package/src/api/conversion/integrations/integration.ts +10 -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,14 @@ var _zod = require('zod');
|
|
|
109
116
|
|
|
110
117
|
|
|
111
118
|
|
|
119
|
+
var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
112
124
|
|
|
113
125
|
|
|
114
126
|
|
|
115
|
-
var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
|
|
116
127
|
|
|
117
128
|
|
|
118
129
|
|
|
@@ -2212,49 +2223,6 @@ var DocumentationPage = _zod.z.object({
|
|
|
2212
2223
|
createdAt: _zod.z.coerce.date(),
|
|
2213
2224
|
updatedAt: _zod.z.coerce.date()
|
|
2214
2225
|
});
|
|
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
2226
|
var ElementViewBaseColumnType = _zod.z.enum(["Name", "Description", "Value", "UpdatedAt"]);
|
|
2259
2227
|
var ElementViewColumnType = _zod.z.union([
|
|
2260
2228
|
_zod.z.literal("BaseProperty"),
|
|
@@ -2565,44 +2533,13 @@ var DesignSystemVersion = _zod.z.object({
|
|
|
2565
2533
|
});
|
|
2566
2534
|
var VersionCreationJobStatus = _zod.z.enum(["Success", "InProgress", "Error"]);
|
|
2567
2535
|
var VersionCreationJob = _zod.z.object({
|
|
2568
|
-
|
|
2536
|
+
id: _zod.z.string(),
|
|
2569
2537
|
version: _zod.z.string(),
|
|
2570
2538
|
designSystemId: _zod.z.string(),
|
|
2571
2539
|
designSystemVersionId: nullishToOptional(_zod.z.string()),
|
|
2572
2540
|
status: VersionCreationJobStatus,
|
|
2573
2541
|
errorMessage: nullishToOptional(_zod.z.string())
|
|
2574
2542
|
});
|
|
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
2543
|
var ExporterDestinationSnDocs = _zod.z.object({
|
|
2607
2544
|
environment: PublishedDocEnvironment
|
|
2608
2545
|
});
|
|
@@ -2648,6 +2585,37 @@ var ExporterDestinationBitbucket = _zod.z.object({
|
|
|
2648
2585
|
userId: _zod.z.coerce.string(),
|
|
2649
2586
|
url: _zod.z.string()
|
|
2650
2587
|
});
|
|
2588
|
+
var ExporterJobDestination = _zod.z.enum(["s3", "webhookUrl", "github", "documentation", "azure", "gitlab"]);
|
|
2589
|
+
var ExporterJobStatus = _zod.z.enum(["InProgress", "Success", "Failed", "Timeout"]);
|
|
2590
|
+
var ExporterJobLogEntryType = _zod.z.enum(["success", "info", "warning", "error", "user"]);
|
|
2591
|
+
var ExporterJobLogEntry = _zod.z.object({
|
|
2592
|
+
id: _zod.z.string().optional(),
|
|
2593
|
+
time: _zod.z.coerce.date(),
|
|
2594
|
+
type: ExporterJobLogEntryType,
|
|
2595
|
+
message: _zod.z.string()
|
|
2596
|
+
});
|
|
2597
|
+
var ExporterJobResultPullRequestDestination = _zod.z.object({
|
|
2598
|
+
pullRequestUrl: _zod.z.string()
|
|
2599
|
+
});
|
|
2600
|
+
var ExporterJobResultS3Destination = _zod.z.object({
|
|
2601
|
+
bucket: _zod.z.string(),
|
|
2602
|
+
urlPrefix: _zod.z.string().optional(),
|
|
2603
|
+
path: _zod.z.string(),
|
|
2604
|
+
files: _zod.z.array(_zod.z.string())
|
|
2605
|
+
});
|
|
2606
|
+
var ExporterJobResultDocsDestination = _zod.z.object({
|
|
2607
|
+
url: _zod.z.string()
|
|
2608
|
+
});
|
|
2609
|
+
var ExporterJobResult = _zod.z.object({
|
|
2610
|
+
error: _zod.z.string().optional(),
|
|
2611
|
+
logs: _zod.z.array(ExporterJobLogEntry).optional(),
|
|
2612
|
+
s3: ExporterJobResultS3Destination.optional(),
|
|
2613
|
+
github: ExporterJobResultPullRequestDestination.optional(),
|
|
2614
|
+
azure: ExporterJobResultPullRequestDestination.optional(),
|
|
2615
|
+
gitlab: ExporterJobResultPullRequestDestination.optional(),
|
|
2616
|
+
bitbucket: ExporterJobResultPullRequestDestination.optional(),
|
|
2617
|
+
sndocs: ExporterJobResultDocsDestination.optional()
|
|
2618
|
+
});
|
|
2651
2619
|
var ExporterJob = _zod.z.object({
|
|
2652
2620
|
id: _zod.z.coerce.string(),
|
|
2653
2621
|
createdAt: _zod.z.coerce.date(),
|
|
@@ -2686,6 +2654,26 @@ var ExporterJobFindByFilter = ExporterJob.pick({
|
|
|
2686
2654
|
destinations: _zod.z.array(ExporterJobDestination),
|
|
2687
2655
|
docsEnvironment: PublishedDocEnvironment
|
|
2688
2656
|
}).partial();
|
|
2657
|
+
var ExporterScheduleEventType = _zod.z.enum(["InProgress", "Success", "Failed", "Timeout"]);
|
|
2658
|
+
var ExporterSchedule = _zod.z.object({
|
|
2659
|
+
id: _zod.z.coerce.string(),
|
|
2660
|
+
name: _zod.z.coerce.string(),
|
|
2661
|
+
eventType: ExporterScheduleEventType,
|
|
2662
|
+
isEnabled: _zod.z.coerce.boolean(),
|
|
2663
|
+
workspaceId: _zod.z.coerce.string(),
|
|
2664
|
+
designSystemId: _zod.z.coerce.string(),
|
|
2665
|
+
exporterId: _zod.z.coerce.string(),
|
|
2666
|
+
brandId: _zod.z.coerce.string().optional(),
|
|
2667
|
+
themeId: _zod.z.coerce.string().optional(),
|
|
2668
|
+
// CodegenDestinationsModel
|
|
2669
|
+
webhookUrl: _zod.z.string().optional(),
|
|
2670
|
+
destinationSnDocs: ExporterDestinationSnDocs.optional(),
|
|
2671
|
+
destinationS3: ExporterDestinationS3.optional(),
|
|
2672
|
+
destinationGithub: ExporterDestinationGithub.optional(),
|
|
2673
|
+
destinationAzure: ExporterDestinationAzure.optional(),
|
|
2674
|
+
destinationGitlab: ExporterDestinationGitlab.optional(),
|
|
2675
|
+
destinationBitbucket: ExporterDestinationBitbucket.optional()
|
|
2676
|
+
});
|
|
2689
2677
|
var ExporterWorkspaceMembershipRole = _zod.z.enum(["Owner", "OwnerArchived", "User"]);
|
|
2690
2678
|
var ExporterWorkspaceMembership = _zod.z.object({
|
|
2691
2679
|
id: _zod.z.string(),
|
|
@@ -2820,6 +2808,12 @@ var UserIdentity = _zod.z.object({
|
|
|
2820
2808
|
id: _zod.z.string(),
|
|
2821
2809
|
userId: _zod.z.string()
|
|
2822
2810
|
});
|
|
2811
|
+
var UserMinified = _zod.z.object({
|
|
2812
|
+
id: _zod.z.string(),
|
|
2813
|
+
name: _zod.z.string(),
|
|
2814
|
+
email: _zod.z.string(),
|
|
2815
|
+
avatar: _zod.z.string().optional()
|
|
2816
|
+
});
|
|
2823
2817
|
var UserOnboardingDepartment = _zod.z.enum(["Design", "Engineering", "Brand", "Other"]);
|
|
2824
2818
|
var UserOnboardingJobLevel = _zod.z.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
|
|
2825
2819
|
var UserOnboarding = _zod.z.object({
|
|
@@ -2900,10 +2894,18 @@ var ExternalOAuthRequest = _zod.z.object({
|
|
|
2900
2894
|
state: _zod.z.string(),
|
|
2901
2895
|
createdAt: _zod.z.coerce.date()
|
|
2902
2896
|
});
|
|
2897
|
+
var IntegrationDesignSystem = _zod.z.object({
|
|
2898
|
+
designSystemId: _zod.z.string(),
|
|
2899
|
+
brandId: _zod.z.string(),
|
|
2900
|
+
title: _zod.z.string().optional(),
|
|
2901
|
+
userId: _zod.z.string().optional(),
|
|
2902
|
+
date: _zod.z.coerce.date().optional()
|
|
2903
|
+
});
|
|
2903
2904
|
var IntegrationCredentialsType = _zod.z.enum(["OAuth2", "PAT", "GithubApp"]);
|
|
2904
2905
|
var IntegrationCredentialsProfile = _zod.z.object({
|
|
2905
2906
|
id: _zod.z.string(),
|
|
2906
|
-
|
|
2907
|
+
email: _zod.z.string().optional(),
|
|
2908
|
+
handle: _zod.z.string().optional(),
|
|
2907
2909
|
avatarUrl: _zod.z.string().optional()
|
|
2908
2910
|
});
|
|
2909
2911
|
var IntegrationCredentials = _zod.z.object({
|
|
@@ -2914,10 +2916,22 @@ var IntegrationCredentials = _zod.z.object({
|
|
|
2914
2916
|
userId: _zod.z.string(),
|
|
2915
2917
|
createdAt: _zod.z.coerce.date(),
|
|
2916
2918
|
refreshToken: _zod.z.string().optional(),
|
|
2919
|
+
tokenName: _zod.z.string().optional(),
|
|
2920
|
+
expiresAt: _zod.z.coerce.date().optional(),
|
|
2917
2921
|
profile: IntegrationCredentialsProfile.optional(),
|
|
2918
|
-
customUrl: _zod.z.string().optional()
|
|
2922
|
+
customUrl: _zod.z.string().optional(),
|
|
2923
|
+
user: UserMinified.optional()
|
|
2919
2924
|
});
|
|
2920
|
-
var
|
|
2925
|
+
var ExtendedIntegrationType = _zod.z.enum([
|
|
2926
|
+
"Figma",
|
|
2927
|
+
"Github",
|
|
2928
|
+
"Gitlab",
|
|
2929
|
+
"Bitbucket",
|
|
2930
|
+
"Azure",
|
|
2931
|
+
"TokenStudio",
|
|
2932
|
+
"FigmaVariablesPlugin"
|
|
2933
|
+
]);
|
|
2934
|
+
var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
|
|
2921
2935
|
var Integration = _zod.z.object({
|
|
2922
2936
|
id: _zod.z.string(),
|
|
2923
2937
|
workspaceId: _zod.z.string(),
|
|
@@ -2929,8 +2943,13 @@ var forbiddenCustomUrldomainList = ["github.com", "gitlab.com", "bitbucket.org",
|
|
|
2929
2943
|
var IntegrationTokenResponse = _zod.z.object({
|
|
2930
2944
|
access_token: _zod.z.string(),
|
|
2931
2945
|
refresh_token: _zod.z.string().optional(),
|
|
2932
|
-
expires_in: _zod.z.number().optional(),
|
|
2946
|
+
expires_in: _zod.z.union([_zod.z.number().optional(), _zod.z.string().optional()]),
|
|
2933
2947
|
token_type: _zod.z.string().optional(),
|
|
2948
|
+
token_name: _zod.z.string().optional(),
|
|
2949
|
+
token_azure_organization_name: _zod.z.string().optional(),
|
|
2950
|
+
// Azure only
|
|
2951
|
+
token_bitbucket_username: _zod.z.string().optional(),
|
|
2952
|
+
// Bitbucket only
|
|
2934
2953
|
custom_url: _zod.z.string().optional().refine((value) => {
|
|
2935
2954
|
if (!value)
|
|
2936
2955
|
return true;
|
|
@@ -2938,12 +2957,20 @@ var IntegrationTokenResponse = _zod.z.object({
|
|
|
2938
2957
|
return false;
|
|
2939
2958
|
return true;
|
|
2940
2959
|
}, "Custom URL validation failed")
|
|
2941
|
-
}).
|
|
2960
|
+
}).refine((data) => {
|
|
2961
|
+
if (data.custom_url && data.token_azure_organization_name) {
|
|
2962
|
+
return false;
|
|
2963
|
+
}
|
|
2964
|
+
return true;
|
|
2965
|
+
}, "Custom URL and Azure organization name cannot be present at the same time").transform((data) => {
|
|
2942
2966
|
return {
|
|
2943
2967
|
accessToken: data.access_token,
|
|
2944
2968
|
refreshToken: data.refresh_token,
|
|
2945
|
-
expiresIn: data.expires_in,
|
|
2969
|
+
expiresIn: typeof data.expires_in === "string" ? Number(data.expires_in) : data.expires_in,
|
|
2946
2970
|
tokenType: data.token_type,
|
|
2971
|
+
tokenName: data.token_name,
|
|
2972
|
+
tokenBitbucketUsername: data.token_bitbucket_username,
|
|
2973
|
+
tokenAzureOrganizationName: data.token_azure_organization_name,
|
|
2947
2974
|
customUrl: data.custom_url
|
|
2948
2975
|
};
|
|
2949
2976
|
});
|
|
@@ -2964,6 +2991,54 @@ var WorkspaceOAuthRequestSchema = _zod.z.object({
|
|
|
2964
2991
|
userId: _zod.z.string(),
|
|
2965
2992
|
createdAt: _zod.z.coerce.date()
|
|
2966
2993
|
});
|
|
2994
|
+
var DesignSystemVersionRoom = Entity.extend({
|
|
2995
|
+
designSystemVersionId: _zod.z.string(),
|
|
2996
|
+
liveblocksId: _zod.z.string()
|
|
2997
|
+
});
|
|
2998
|
+
var DesignSystemVersionRoomInternalSettings = _zod.z.object({
|
|
2999
|
+
routingVersion: _zod.z.string()
|
|
3000
|
+
});
|
|
3001
|
+
var DesignSystemVersionRoomInitialState = _zod.z.object({
|
|
3002
|
+
pages: _zod.z.array(DocumentationPageV2),
|
|
3003
|
+
groups: _zod.z.array(ElementGroup),
|
|
3004
|
+
internalSettings: DesignSystemVersionRoomInternalSettings
|
|
3005
|
+
});
|
|
3006
|
+
var DesignSystemVersionRoomUpdate = _zod.z.object({
|
|
3007
|
+
pages: _zod.z.array(DocumentationPageV2),
|
|
3008
|
+
groups: _zod.z.array(ElementGroup),
|
|
3009
|
+
deletedPageIds: _zod.z.array(_zod.z.string()),
|
|
3010
|
+
deletedGroupIds: _zod.z.array(_zod.z.string())
|
|
3011
|
+
});
|
|
3012
|
+
var DocumentationPageRoom = Entity.extend({
|
|
3013
|
+
designSystemVersionId: _zod.z.string(),
|
|
3014
|
+
documentationPageId: _zod.z.string(),
|
|
3015
|
+
liveblocksId: _zod.z.string(),
|
|
3016
|
+
isDirty: _zod.z.boolean()
|
|
3017
|
+
});
|
|
3018
|
+
var DocumentationPageRoomState = _zod.z.object({
|
|
3019
|
+
pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
3020
|
+
itemConfiguration: DocumentationItemConfigurationV2
|
|
3021
|
+
});
|
|
3022
|
+
var DocumentationPageRoomRoomUpdate = _zod.z.object({
|
|
3023
|
+
page: DocumentationPageV2,
|
|
3024
|
+
pageParent: ElementGroup
|
|
3025
|
+
});
|
|
3026
|
+
var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
|
|
3027
|
+
pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
3028
|
+
blockDefinitions: _zod.z.array(PageBlockDefinition)
|
|
3029
|
+
});
|
|
3030
|
+
var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
|
|
3031
|
+
RoomTypeEnum2["DocumentationPage"] = "documentation-page";
|
|
3032
|
+
RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
|
|
3033
|
+
RoomTypeEnum2["Workspace"] = "workspace";
|
|
3034
|
+
return RoomTypeEnum2;
|
|
3035
|
+
})(RoomTypeEnum || {});
|
|
3036
|
+
var RoomTypeSchema = _zod.z.nativeEnum(RoomTypeEnum);
|
|
3037
|
+
var RoomType = RoomTypeSchema.enum;
|
|
3038
|
+
var WorkspaceRoom = Entity.extend({
|
|
3039
|
+
workspaceId: _zod.z.string(),
|
|
3040
|
+
liveblocksId: _zod.z.string()
|
|
3041
|
+
});
|
|
2967
3042
|
var AnyRecord = _zod.z.record(_zod.z.any());
|
|
2968
3043
|
var NpmPackageVersionDist = AnyRecord.and(
|
|
2969
3044
|
_zod.z.object({
|
|
@@ -4067,12 +4142,19 @@ function documentationPageToDTOV1(page, pagePathMap) {
|
|
|
4067
4142
|
|
|
4068
4143
|
// src/api/conversion/integrations/integration.ts
|
|
4069
4144
|
function integrationToDto(integration) {
|
|
4145
|
+
if (integration.integrationCredentials) {
|
|
4146
|
+
integration.integrationCredentials.forEach((credential) => {
|
|
4147
|
+
credential.accessToken = "";
|
|
4148
|
+
delete credential.refreshToken;
|
|
4149
|
+
});
|
|
4150
|
+
}
|
|
4070
4151
|
return {
|
|
4071
4152
|
id: integration.id,
|
|
4072
4153
|
workspaceId: integration.workspaceId,
|
|
4073
4154
|
type: integration.type,
|
|
4074
4155
|
createdAt: integration.createdAt,
|
|
4075
|
-
integrationCredentials: _nullishCoalesce(integration.integrationCredentials, () => ( void 0))
|
|
4156
|
+
integrationCredentials: _nullishCoalesce(integration.integrationCredentials, () => ( void 0)),
|
|
4157
|
+
integrationDesignSystems: _nullishCoalesce(integration.integrationDesignSystems, () => ( void 0))
|
|
4076
4158
|
};
|
|
4077
4159
|
}
|
|
4078
4160
|
|
|
@@ -4125,15 +4207,13 @@ var ObjectMeta2 = _zod.z.object({
|
|
|
4125
4207
|
name: _zod.z.string().max(150).optional(),
|
|
4126
4208
|
description: _zod.z.string().max(2e3).optional()
|
|
4127
4209
|
});
|
|
4128
|
-
function
|
|
4129
|
-
const
|
|
4130
|
-
|
|
4131
|
-
const isValidSemver = semverRegex.test(version) || semverRegexWithSingleDigit.test(version);
|
|
4132
|
-
return isValidSemver;
|
|
4210
|
+
function validateDesignSystemVersion(version) {
|
|
4211
|
+
const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
|
|
4212
|
+
return urlCompliantRegex.test(version);
|
|
4133
4213
|
}
|
|
4134
4214
|
var DTOCreateVersionInput = _zod.z.object({
|
|
4135
4215
|
meta: ObjectMeta2,
|
|
4136
|
-
version: _zod.z.string().refine(
|
|
4216
|
+
version: _zod.z.string().refine(validateDesignSystemVersion, {
|
|
4137
4217
|
message: "Invalid semantic versioning format"
|
|
4138
4218
|
}),
|
|
4139
4219
|
changeLog: _zod.z.string().max(2e3).optional()
|
|
@@ -4236,10 +4316,11 @@ var VersionSQSPayload = _zod.z.object({
|
|
|
4236
4316
|
designSystemId: _zod.z.string(),
|
|
4237
4317
|
input: DTOCreateVersionInput
|
|
4238
4318
|
});
|
|
4319
|
+
var DTODesignSystemVersionJobsResponse = _zod.z.object({
|
|
4320
|
+
jobs: _zod.z.array(VersionCreationJob)
|
|
4321
|
+
});
|
|
4239
4322
|
var DTODesignSystemVersionJobStatusResponse = _zod.z.object({
|
|
4240
|
-
job: VersionCreationJob
|
|
4241
|
-
_id: true
|
|
4242
|
-
})
|
|
4323
|
+
job: VersionCreationJob
|
|
4243
4324
|
});
|
|
4244
4325
|
|
|
4245
4326
|
// src/api/dto/design-systems/view.ts
|
|
@@ -4797,9 +4878,10 @@ var DTOElementsGetOutput = _zod.z.object({
|
|
|
4797
4878
|
var DTOIntegration = _zod.z.object({
|
|
4798
4879
|
id: _zod.z.string(),
|
|
4799
4880
|
workspaceId: _zod.z.string(),
|
|
4800
|
-
type:
|
|
4881
|
+
type: ExtendedIntegrationType,
|
|
4801
4882
|
createdAt: _zod.z.coerce.date(),
|
|
4802
|
-
integrationCredentials: _zod.z.array(IntegrationCredentials).optional()
|
|
4883
|
+
integrationCredentials: _zod.z.array(IntegrationCredentials).optional(),
|
|
4884
|
+
integrationDesignSystems: _zod.z.array(IntegrationDesignSystem).optional()
|
|
4803
4885
|
});
|
|
4804
4886
|
var DTOIntegrationOAuthGetResponse = _zod.z.object({
|
|
4805
4887
|
url: _zod.z.string()
|
|
@@ -5755,6 +5837,9 @@ var BlockDefinitionUtils = {
|
|
|
5755
5837
|
|
|
5756
5838
|
// src/yjs/docs-editor/list-tree-builder.ts
|
|
5757
5839
|
var ListTreeBuilder = class {
|
|
5840
|
+
constructor() {
|
|
5841
|
+
__publicField(this, "rootNode");
|
|
5842
|
+
}
|
|
5758
5843
|
addWithProperty(block, multiRichTextProperty) {
|
|
5759
5844
|
const parsedOptions = PageBlockDefinitionMutiRichTextOptions.optional().parse(multiRichTextProperty.options);
|
|
5760
5845
|
return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess', _34 => _34.multiRichTextStyle]) || "OL");
|
|
@@ -8744,5 +8829,6 @@ function mapByUnique2(items, keyFn) {
|
|
|
8744
8829
|
|
|
8745
8830
|
|
|
8746
8831
|
|
|
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;
|
|
8832
|
+
|
|
8833
|
+
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
8834
|
//# sourceMappingURL=index.js.map
|