@supernova-studio/model 0.48.13 → 0.48.14
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 +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +951 -935
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +894 -878
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/element-snapshots/base.ts +18 -0
- package/src/dsm/element-snapshots/documentation-page-snapshot.ts +9 -1
- package/src/dsm/element-snapshots/group-snapshot.ts +9 -1
package/dist/index.js
CHANGED
|
@@ -2833,949 +2833,248 @@ var DocumentationCommentThread = _zod.z.object({
|
|
|
2833
2833
|
|
|
2834
2834
|
// src/dsm/element-snapshots/base.ts
|
|
2835
2835
|
|
|
2836
|
-
var DesignElementSnapshotReason = _zod.z.enum(["Publish", "Deletion"]);
|
|
2837
|
-
var DesignElementSnapshotBase = _zod.z.object({
|
|
2838
|
-
id: _zod.z.string(),
|
|
2839
|
-
persistentId: _zod.z.string(),
|
|
2840
|
-
designSystemVersionId: _zod.z.string(),
|
|
2841
|
-
createdAt: _zod.z.coerce.date(),
|
|
2842
|
-
updatedAt: _zod.z.coerce.date(),
|
|
2843
|
-
reason: DesignElementSnapshotReason,
|
|
2844
|
-
createdByUserId: _zod.z.string()
|
|
2845
|
-
});
|
|
2846
|
-
|
|
2847
|
-
// src/dsm/element-snapshots/documentation-page-snapshot.ts
|
|
2848
|
-
|
|
2849
|
-
var DocumentationPageSnapshot = DesignElementSnapshotBase.extend({
|
|
2850
|
-
page: DocumentationPageV2,
|
|
2851
|
-
pageContentHash: _zod.z.string(),
|
|
2852
|
-
pageContentStorageKey: _zod.z.string()
|
|
2853
|
-
});
|
|
2854
|
-
|
|
2855
|
-
// src/dsm/element-snapshots/group-snapshot.ts
|
|
2856
|
-
var ElementGroupSnapshot = DesignElementSnapshotBase.extend({
|
|
2857
|
-
group: ElementGroup
|
|
2858
|
-
});
|
|
2859
|
-
|
|
2860
|
-
// src/dsm/views/column.ts
|
|
2861
|
-
|
|
2862
|
-
var ElementViewBaseColumnType = _zod.z.enum(["Name", "Description", "Value", "UpdatedAt"]);
|
|
2863
|
-
var ElementViewColumnType = _zod.z.union([
|
|
2864
|
-
_zod.z.literal("BaseProperty"),
|
|
2865
|
-
_zod.z.literal("PropertyDefinition"),
|
|
2866
|
-
_zod.z.literal("Theme")
|
|
2867
|
-
]);
|
|
2868
|
-
var ElementViewColumnSharedAttributes = _zod.z.object({
|
|
2869
|
-
id: _zod.z.string(),
|
|
2870
|
-
persistentId: _zod.z.string(),
|
|
2871
|
-
elementDataViewId: _zod.z.string(),
|
|
2872
|
-
sortPosition: _zod.z.number(),
|
|
2873
|
-
width: _zod.z.number()
|
|
2874
|
-
});
|
|
2875
|
-
var ElementViewBasePropertyColumn = ElementViewColumnSharedAttributes.extend({
|
|
2876
|
-
type: _zod.z.literal("BaseProperty"),
|
|
2877
|
-
basePropertyType: ElementViewBaseColumnType
|
|
2878
|
-
});
|
|
2879
|
-
var ElementViewPropertyDefinitionColumn = ElementViewColumnSharedAttributes.extend({
|
|
2880
|
-
type: _zod.z.literal("PropertyDefinition"),
|
|
2881
|
-
propertyDefinitionId: _zod.z.string()
|
|
2882
|
-
});
|
|
2883
|
-
var ElementViewThemeColumn = ElementViewColumnSharedAttributes.extend({
|
|
2884
|
-
type: _zod.z.literal("Theme"),
|
|
2885
|
-
themeId: _zod.z.string()
|
|
2886
|
-
});
|
|
2887
|
-
var ElementViewColumn = _zod.z.discriminatedUnion("type", [
|
|
2888
|
-
ElementViewBasePropertyColumn,
|
|
2889
|
-
ElementViewPropertyDefinitionColumn,
|
|
2890
|
-
ElementViewThemeColumn
|
|
2891
|
-
]);
|
|
2892
2836
|
|
|
2893
|
-
// src/
|
|
2837
|
+
// src/utils/errors.ts
|
|
2838
|
+
var SupernovaException = class _SupernovaException extends Error {
|
|
2839
|
+
//
|
|
2840
|
+
// Properties
|
|
2841
|
+
//
|
|
2842
|
+
constructor(type, message) {
|
|
2843
|
+
super(`${type}: ${message}`);
|
|
2844
|
+
this.type = type;
|
|
2845
|
+
}
|
|
2846
|
+
static wrongFormat(message) {
|
|
2847
|
+
return new _SupernovaException("WrongFormat", message);
|
|
2848
|
+
}
|
|
2849
|
+
static validationError(message) {
|
|
2850
|
+
return new _SupernovaException("ValidationError", message);
|
|
2851
|
+
}
|
|
2852
|
+
static accessDenied(message) {
|
|
2853
|
+
return new _SupernovaException("AccessDenied", message);
|
|
2854
|
+
}
|
|
2855
|
+
static tooMuchWork(message) {
|
|
2856
|
+
return new _SupernovaException("TooMuchWork", message);
|
|
2857
|
+
}
|
|
2858
|
+
static notFound(message) {
|
|
2859
|
+
return new _SupernovaException("ResourceNotFound", message);
|
|
2860
|
+
}
|
|
2861
|
+
static timeout(message) {
|
|
2862
|
+
return new _SupernovaException("Timeout", message);
|
|
2863
|
+
}
|
|
2864
|
+
static conflict(message) {
|
|
2865
|
+
return new _SupernovaException("Conflict", message);
|
|
2866
|
+
}
|
|
2867
|
+
static notImplemented(message) {
|
|
2868
|
+
return new _SupernovaException("NotImplemented", message);
|
|
2869
|
+
}
|
|
2870
|
+
static wrongActionOrder(message) {
|
|
2871
|
+
return new _SupernovaException("WrongActionOrder", message);
|
|
2872
|
+
}
|
|
2873
|
+
static invalidOperation(message) {
|
|
2874
|
+
return new _SupernovaException("InvalidOperation", message);
|
|
2875
|
+
}
|
|
2876
|
+
static shouldNotHappen(message) {
|
|
2877
|
+
return new _SupernovaException("UnexpectedError", message);
|
|
2878
|
+
}
|
|
2879
|
+
static ipRestricted(message) {
|
|
2880
|
+
return new _SupernovaException("IPRestricted", message);
|
|
2881
|
+
}
|
|
2882
|
+
static planRestricted(message) {
|
|
2883
|
+
return new _SupernovaException("PlanRestricted", message);
|
|
2884
|
+
}
|
|
2885
|
+
static missingWorkspacePermission(message) {
|
|
2886
|
+
return new _SupernovaException("MissingWorkspacePermission", message);
|
|
2887
|
+
}
|
|
2888
|
+
static missingExporterPermission(message) {
|
|
2889
|
+
return new _SupernovaException("MissingExporterPermission", message);
|
|
2890
|
+
}
|
|
2891
|
+
static missingIntegration(message) {
|
|
2892
|
+
return new _SupernovaException("MissingIntegration", message);
|
|
2893
|
+
}
|
|
2894
|
+
static missingIntegrationAccess(message) {
|
|
2895
|
+
return new _SupernovaException("MissingIntegrationAccess", message);
|
|
2896
|
+
}
|
|
2897
|
+
static noAccess(message) {
|
|
2898
|
+
return new _SupernovaException("NoAccess", message);
|
|
2899
|
+
}
|
|
2900
|
+
static missingCredentials(message) {
|
|
2901
|
+
return new _SupernovaException("MissingCredentials", message);
|
|
2902
|
+
}
|
|
2903
|
+
static thirdPartyError(message) {
|
|
2904
|
+
return new _SupernovaException("ThirdPartyError", message);
|
|
2905
|
+
}
|
|
2906
|
+
//
|
|
2907
|
+
// To refactor
|
|
2908
|
+
//
|
|
2909
|
+
static badRequest(message) {
|
|
2910
|
+
return new _SupernovaException("BadRequest", message);
|
|
2911
|
+
}
|
|
2912
|
+
};
|
|
2894
2913
|
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2914
|
+
// src/utils/common.ts
|
|
2915
|
+
function forceUnwrapNullish(value) {
|
|
2916
|
+
if (value === null)
|
|
2917
|
+
throw new Error("Illegal null");
|
|
2918
|
+
if (value === void 0)
|
|
2919
|
+
throw new Error("Illegal undefined");
|
|
2920
|
+
return value;
|
|
2921
|
+
}
|
|
2922
|
+
function trimLeadingSlash(string) {
|
|
2923
|
+
return string.startsWith("/") ? string.substring(1) : string;
|
|
2924
|
+
}
|
|
2925
|
+
function trimTrailingSlash(string) {
|
|
2926
|
+
return string.endsWith("/") ? string.substring(0, string.length - 1) : string;
|
|
2927
|
+
}
|
|
2928
|
+
function tryParseUrl(url) {
|
|
2929
|
+
try {
|
|
2930
|
+
return parseUrl(url);
|
|
2931
|
+
} catch (e) {
|
|
2932
|
+
console.error(`Error parsing URL ${url}`);
|
|
2933
|
+
console.error(e);
|
|
2934
|
+
return null;
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2937
|
+
function parseUrl(url) {
|
|
2938
|
+
return new URL(url.startsWith("https://") || url.startsWith("http://") ? url : `https://${url}`);
|
|
2939
|
+
}
|
|
2940
|
+
function mapByUnique(items, keyFn) {
|
|
2941
|
+
const result = /* @__PURE__ */ new Map();
|
|
2942
|
+
for (const item of items) {
|
|
2943
|
+
result.set(keyFn(item), item);
|
|
2944
|
+
}
|
|
2945
|
+
return result;
|
|
2946
|
+
}
|
|
2947
|
+
function groupBy(items, keyFn) {
|
|
2948
|
+
const result = /* @__PURE__ */ new Map();
|
|
2949
|
+
for (const item of items) {
|
|
2950
|
+
const key = keyFn(item);
|
|
2951
|
+
const array = result.get(key);
|
|
2952
|
+
if (array) {
|
|
2953
|
+
array.push(item);
|
|
2954
|
+
} else {
|
|
2955
|
+
result.set(key, [item]);
|
|
2956
|
+
}
|
|
2957
|
+
}
|
|
2958
|
+
return result;
|
|
2959
|
+
}
|
|
2960
|
+
function filterNonNullish(items) {
|
|
2961
|
+
return items.filter(Boolean);
|
|
2962
|
+
}
|
|
2963
|
+
function nonNullishFilter(item) {
|
|
2964
|
+
return !!item;
|
|
2965
|
+
}
|
|
2966
|
+
function nonNullFilter(item) {
|
|
2967
|
+
return item !== null;
|
|
2968
|
+
}
|
|
2969
|
+
function buildConstantEnum(values) {
|
|
2970
|
+
const constMap = values.reduce((acc, code) => ({ ...acc, [code]: code }), {});
|
|
2971
|
+
return constMap;
|
|
2972
|
+
}
|
|
2973
|
+
async function promiseWithTimeout(timeoutMs, promise) {
|
|
2974
|
+
let timeoutHandle;
|
|
2975
|
+
const timeoutPromise = new Promise((_, reject) => {
|
|
2976
|
+
timeoutHandle = setTimeout(() => reject(SupernovaException.timeout()), timeoutMs);
|
|
2977
|
+
});
|
|
2978
|
+
const result = await Promise.race([promise(), timeoutPromise]);
|
|
2979
|
+
clearTimeout(timeoutHandle);
|
|
2980
|
+
return result;
|
|
2981
|
+
}
|
|
2982
|
+
async function sleep(ms) {
|
|
2983
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
2984
|
+
}
|
|
2985
|
+
function uniqueBy(items, prop) {
|
|
2986
|
+
return Array.from(mapByUnique(items, prop).values());
|
|
2987
|
+
}
|
|
2904
2988
|
|
|
2905
|
-
// src/
|
|
2989
|
+
// src/utils/content-loader-instruction.ts
|
|
2906
2990
|
|
|
2907
|
-
var
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
description: _zod.z.string()
|
|
2991
|
+
var ContentLoadInstruction = _zod.z.object({
|
|
2992
|
+
from: _zod.z.string(),
|
|
2993
|
+
to: _zod.z.string(),
|
|
2994
|
+
authorizationHeaderKvsId: _zod.z.string().optional(),
|
|
2995
|
+
timeout: _zod.z.number().optional()
|
|
2913
2996
|
});
|
|
2997
|
+
var ContentLoaderPayload = _zod.z.object({
|
|
2998
|
+
type: _zod.z.literal("Single"),
|
|
2999
|
+
instruction: ContentLoadInstruction
|
|
3000
|
+
}).or(
|
|
3001
|
+
_zod.z.object({
|
|
3002
|
+
type: _zod.z.literal("Multiple"),
|
|
3003
|
+
loadingChunkSize: _zod.z.number().optional(),
|
|
3004
|
+
instructions: _zod.z.array(ContentLoadInstruction)
|
|
3005
|
+
})
|
|
3006
|
+
).or(
|
|
3007
|
+
_zod.z.object({
|
|
3008
|
+
type: _zod.z.literal("S3"),
|
|
3009
|
+
location: _zod.z.string()
|
|
3010
|
+
})
|
|
3011
|
+
);
|
|
2914
3012
|
|
|
2915
|
-
// src/
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
}
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
}
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
}
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
});
|
|
2974
|
-
|
|
2975
|
-
// src/workspace/workspace.ts
|
|
2976
|
-
var isValidCIDR = (value) => {
|
|
2977
|
-
return _ipcidr2.default.isValidAddress(value);
|
|
2978
|
-
};
|
|
2979
|
-
var WorkspaceIpWhitelistEntry = _zod.z.object({
|
|
2980
|
-
isEnabled: _zod.z.boolean(),
|
|
2981
|
-
name: _zod.z.string(),
|
|
2982
|
-
range: _zod.z.string().refine(isValidCIDR, {
|
|
2983
|
-
message: "Invalid IP CIDR"
|
|
2984
|
-
})
|
|
2985
|
-
});
|
|
2986
|
-
var WorkspaceIpSettings = _zod.z.object({
|
|
2987
|
-
isEnabledForCloud: _zod.z.boolean(),
|
|
2988
|
-
isEnabledForDocs: _zod.z.boolean(),
|
|
2989
|
-
entries: _zod.z.array(WorkspaceIpWhitelistEntry)
|
|
2990
|
-
});
|
|
2991
|
-
var WorkspaceProfile = _zod.z.object({
|
|
2992
|
-
name: _zod.z.string(),
|
|
2993
|
-
handle: _zod.z.string(),
|
|
2994
|
-
color: _zod.z.string(),
|
|
2995
|
-
avatar: nullishToOptional(_zod.z.string()),
|
|
2996
|
-
billingDetails: nullishToOptional(BillingDetails)
|
|
2997
|
-
});
|
|
2998
|
-
var WorkspaceProfileUpdate = WorkspaceProfile.omit({
|
|
2999
|
-
avatar: true
|
|
3000
|
-
});
|
|
3001
|
-
var Workspace = _zod.z.object({
|
|
3002
|
-
id: _zod.z.string(),
|
|
3003
|
-
profile: WorkspaceProfile,
|
|
3004
|
-
subscription: Subscription,
|
|
3005
|
-
ipWhitelist: nullishToOptional(WorkspaceIpSettings),
|
|
3006
|
-
sso: nullishToOptional(SsoProvider),
|
|
3007
|
-
npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
|
|
3008
|
-
});
|
|
3009
|
-
var WorkspaceWithDesignSystems = _zod.z.object({
|
|
3010
|
-
workspace: Workspace,
|
|
3011
|
-
designSystems: _zod.z.array(DesignSystem)
|
|
3012
|
-
});
|
|
3013
|
-
|
|
3014
|
-
// src/dsm/design-system.ts
|
|
3015
|
-
var DesignSystemSwitcher = _zod.z.object({
|
|
3016
|
-
isEnabled: _zod.z.boolean(),
|
|
3017
|
-
designSystemIds: _zod.z.array(_zod.z.string())
|
|
3018
|
-
});
|
|
3019
|
-
var DesignSystem = _zod.z.object({
|
|
3020
|
-
id: _zod.z.string(),
|
|
3021
|
-
workspaceId: _zod.z.string(),
|
|
3022
|
-
name: _zod.z.string(),
|
|
3023
|
-
description: _zod.z.string(),
|
|
3024
|
-
docExporterId: nullishToOptional(_zod.z.string()),
|
|
3025
|
-
docSlug: _zod.z.string(),
|
|
3026
|
-
docUserSlug: nullishToOptional(_zod.z.string()),
|
|
3027
|
-
docSlugDeprecated: _zod.z.string(),
|
|
3028
|
-
isPublic: _zod.z.boolean(),
|
|
3029
|
-
isMultibrand: _zod.z.boolean(),
|
|
3030
|
-
docViewUrl: nullishToOptional(_zod.z.string()),
|
|
3031
|
-
basePrefixes: _zod.z.array(_zod.z.string()),
|
|
3032
|
-
designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
|
|
3033
|
-
createdAt: _zod.z.coerce.date(),
|
|
3034
|
-
updatedAt: _zod.z.coerce.date()
|
|
3035
|
-
});
|
|
3036
|
-
var DesignSystemWithWorkspace = _zod.z.object({
|
|
3037
|
-
designSystem: DesignSystem,
|
|
3038
|
-
workspace: Workspace
|
|
3039
|
-
});
|
|
3040
|
-
|
|
3041
|
-
// src/dsm/design-system-update.ts
|
|
3042
|
-
var DS_NAME_MIN_LENGTH = 2;
|
|
3043
|
-
var DS_NAME_MAX_LENGTH = 64;
|
|
3044
|
-
var DS_DESC_MAX_LENGTH = 64;
|
|
3045
|
-
var DesignSystemUpdateInputMetadata = _zod.z.object({
|
|
3046
|
-
name: _zod.z.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim().optional(),
|
|
3047
|
-
description: _zod.z.string().max(DS_DESC_MAX_LENGTH).trim().optional()
|
|
3048
|
-
});
|
|
3049
|
-
var DesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
3050
|
-
id: true,
|
|
3051
|
-
createdAt: true,
|
|
3052
|
-
updatedAt: true,
|
|
3053
|
-
docSlug: true,
|
|
3054
|
-
docViewUrl: true,
|
|
3055
|
-
designSystemSwitcher: true
|
|
3056
|
-
}).extend({
|
|
3057
|
-
meta: DesignSystemUpdateInputMetadata.optional()
|
|
3058
|
-
});
|
|
3059
|
-
|
|
3060
|
-
// src/dsm/desing-system-create.ts
|
|
3061
|
-
|
|
3062
|
-
var DS_NAME_MIN_LENGTH2 = 2;
|
|
3063
|
-
var DS_NAME_MAX_LENGTH2 = 64;
|
|
3064
|
-
var DS_DESC_MAX_LENGTH2 = 64;
|
|
3065
|
-
var DesignSystemCreateInputMetadata = _zod.z.object({
|
|
3066
|
-
name: _zod.z.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim(),
|
|
3067
|
-
description: _zod.z.string().max(DS_DESC_MAX_LENGTH2).trim()
|
|
3068
|
-
});
|
|
3069
|
-
var DesignSystemCreateInput = _zod.z.object({
|
|
3070
|
-
meta: DesignSystemCreateInputMetadata,
|
|
3071
|
-
workspaceId: _zod.z.string(),
|
|
3072
|
-
isPublic: _zod.z.boolean().optional(),
|
|
3073
|
-
basePrefixes: _zod.z.array(_zod.z.string()).optional(),
|
|
3074
|
-
docUserSlug: _zod.z.string().nullish().optional(),
|
|
3075
|
-
source: _zod.z.array(_zod.z.string()).optional()
|
|
3076
|
-
});
|
|
3077
|
-
|
|
3078
|
-
// src/dsm/exporter-property-values-collection.ts
|
|
3079
|
-
|
|
3080
|
-
var ExporterPropertyImageValue = _zod.z.object({
|
|
3081
|
-
asset: PageBlockAsset.optional(),
|
|
3082
|
-
assetId: _zod.z.string().optional(),
|
|
3083
|
-
assetUrl: _zod.z.string().optional()
|
|
3084
|
-
});
|
|
3085
|
-
var ExporterPropertyValue = _zod.z.object({
|
|
3086
|
-
key: _zod.z.string(),
|
|
3087
|
-
value: _zod.z.union([
|
|
3088
|
-
_zod.z.number(),
|
|
3089
|
-
_zod.z.string(),
|
|
3090
|
-
_zod.z.boolean(),
|
|
3091
|
-
ExporterPropertyImageValue,
|
|
3092
|
-
ColorTokenData,
|
|
3093
|
-
TypographyTokenData
|
|
3094
|
-
])
|
|
3095
|
-
});
|
|
3096
|
-
var ExporterPropertyValuesCollection = _zod.z.object({
|
|
3097
|
-
id: _zod.z.string(),
|
|
3098
|
-
designSystemId: _zod.z.string(),
|
|
3099
|
-
exporterId: _zod.z.string(),
|
|
3100
|
-
values: _zod.z.array(ExporterPropertyValue)
|
|
3101
|
-
});
|
|
3102
|
-
|
|
3103
|
-
// src/dsm/published-doc-page.ts
|
|
3104
|
-
|
|
3105
|
-
var SHORT_PERSISTENT_ID_LENGTH = 8;
|
|
3106
|
-
function tryParseShortPersistentId(url = "/") {
|
|
3107
|
-
const lastUrlPart = url.split("/").pop() || "";
|
|
3108
|
-
const shortPersistentId = _optionalChain([lastUrlPart, 'access', _2 => _2.split, 'call', _3 => _3("-"), 'access', _4 => _4.pop, 'call', _5 => _5(), 'optionalAccess', _6 => _6.replaceAll, 'call', _7 => _7(".html", "")]) || null;
|
|
3109
|
-
return _optionalChain([shortPersistentId, 'optionalAccess', _8 => _8.length]) === SHORT_PERSISTENT_ID_LENGTH ? shortPersistentId : null;
|
|
3110
|
-
}
|
|
3111
|
-
var PublishedDocPage = _zod.z.object({
|
|
3112
|
-
id: _zod.z.string(),
|
|
3113
|
-
publishedDocId: _zod.z.string(),
|
|
3114
|
-
pageShortPersistentId: _zod.z.string(),
|
|
3115
|
-
pathV1: _zod.z.string(),
|
|
3116
|
-
pathV2: _zod.z.string(),
|
|
3117
|
-
storagePath: _zod.z.string(),
|
|
3118
|
-
locale: _zod.z.string().optional(),
|
|
3119
|
-
isPrivate: _zod.z.boolean(),
|
|
3120
|
-
isHidden: _zod.z.boolean(),
|
|
3121
|
-
createdAt: _zod.z.coerce.date(),
|
|
3122
|
-
updatedAt: _zod.z.coerce.date()
|
|
3123
|
-
});
|
|
3124
|
-
|
|
3125
|
-
// src/dsm/published-doc.ts
|
|
3126
|
-
|
|
3127
|
-
var publishedDocEnvironments = ["Live", "Preview"];
|
|
3128
|
-
var PublishedDocEnvironment = _zod.z.enum(publishedDocEnvironments);
|
|
3129
|
-
var PublishedDocsChecksums = _zod.z.record(_zod.z.string());
|
|
3130
|
-
var PublishedDocRoutingVersion = _zod.z.enum(["1", "2"]);
|
|
3131
|
-
var PublishedDoc = _zod.z.object({
|
|
3132
|
-
id: _zod.z.string(),
|
|
3133
|
-
designSystemVersionId: _zod.z.string(),
|
|
3134
|
-
createdAt: _zod.z.coerce.date(),
|
|
3135
|
-
updatedAt: _zod.z.coerce.date(),
|
|
3136
|
-
lastPublishedAt: _zod.z.coerce.date(),
|
|
3137
|
-
isDefault: _zod.z.boolean(),
|
|
3138
|
-
isPublic: _zod.z.boolean(),
|
|
3139
|
-
environment: PublishedDocEnvironment,
|
|
3140
|
-
checksums: PublishedDocsChecksums,
|
|
3141
|
-
storagePath: _zod.z.string(),
|
|
3142
|
-
wasMigrated: _zod.z.boolean(),
|
|
3143
|
-
routingVersion: PublishedDocRoutingVersion,
|
|
3144
|
-
usesLocalizations: _zod.z.boolean(),
|
|
3145
|
-
wasPublishedWithLocalizations: _zod.z.boolean(),
|
|
3146
|
-
tokenCount: _zod.z.number(),
|
|
3147
|
-
assetCount: _zod.z.number()
|
|
3148
|
-
});
|
|
3149
|
-
|
|
3150
|
-
// src/dsm/version.ts
|
|
3151
|
-
|
|
3152
|
-
var DesignSystemVersion = _zod.z.object({
|
|
3153
|
-
id: _zod.z.string(),
|
|
3154
|
-
version: _zod.z.string(),
|
|
3155
|
-
createdAt: _zod.z.date(),
|
|
3156
|
-
designSystemId: _zod.z.string(),
|
|
3157
|
-
name: _zod.z.string(),
|
|
3158
|
-
comment: _zod.z.string(),
|
|
3159
|
-
isReadonly: _zod.z.boolean(),
|
|
3160
|
-
changeLog: _zod.z.string(),
|
|
3161
|
-
parentId: _zod.z.string().optional(),
|
|
3162
|
-
isDraftsFeatureAdopted: _zod.z.boolean()
|
|
3163
|
-
});
|
|
3164
|
-
var VersionCreationJobStatus = _zod.z.enum(["Success", "InProgress", "Error"]);
|
|
3165
|
-
var VersionCreationJob = _zod.z.object({
|
|
3166
|
-
id: _zod.z.string(),
|
|
3167
|
-
version: _zod.z.string(),
|
|
3168
|
-
designSystemId: _zod.z.string(),
|
|
3169
|
-
designSystemVersionId: nullishToOptional(_zod.z.string()),
|
|
3170
|
-
status: VersionCreationJobStatus,
|
|
3171
|
-
errorMessage: nullishToOptional(_zod.z.string())
|
|
3172
|
-
});
|
|
3173
|
-
|
|
3174
|
-
// src/export/export-destinations.ts
|
|
3175
|
-
var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
|
|
3176
|
-
var BITBUCKET_MAX_LENGTH = 64;
|
|
3177
|
-
var ExportJobDocumentationChanges = _zod.z.object({
|
|
3178
|
-
pagePersistentIds: _zod.z.string().array(),
|
|
3179
|
-
groupPersistentIds: _zod.z.string().array()
|
|
3180
|
-
});
|
|
3181
|
-
var ExporterDestinationDocs = _zod.z.object({
|
|
3182
|
-
environment: PublishedDocEnvironment,
|
|
3183
|
-
changes: nullishToOptional(ExportJobDocumentationChanges)
|
|
3184
|
-
});
|
|
3185
|
-
var ExporterDestinationS3 = _zod.z.object({});
|
|
3186
|
-
var ExporterDestinationGithub = _zod.z.object({
|
|
3187
|
-
credentialId: _zod.z.string().optional(),
|
|
3188
|
-
// Repository
|
|
3189
|
-
url: _zod.z.string(),
|
|
3190
|
-
// Location
|
|
3191
|
-
branch: _zod.z.string(),
|
|
3192
|
-
relativePath: nullishToOptional(_zod.z.string()),
|
|
3193
|
-
// Legacy deprecated fields. Use `credentialId` instead
|
|
3194
|
-
connectionId: nullishToOptional(_zod.z.string()),
|
|
3195
|
-
userId: nullishToOptional(_zod.z.number())
|
|
3196
|
-
});
|
|
3197
|
-
var ExporterDestinationAzure = _zod.z.object({
|
|
3198
|
-
credentialId: _zod.z.string().optional(),
|
|
3199
|
-
// Repository
|
|
3200
|
-
organizationId: _zod.z.string(),
|
|
3201
|
-
projectId: _zod.z.string(),
|
|
3202
|
-
repositoryId: _zod.z.string(),
|
|
3203
|
-
// Location
|
|
3204
|
-
branch: _zod.z.string(),
|
|
3205
|
-
relativePath: nullishToOptional(_zod.z.string()),
|
|
3206
|
-
// Maybe not needed
|
|
3207
|
-
url: nullishToOptional(_zod.z.string()),
|
|
3208
|
-
// Legacy deprecated fields. Use `credentialId` instead
|
|
3209
|
-
connectionId: nullishToOptional(_zod.z.string()),
|
|
3210
|
-
userId: nullishToOptional(_zod.z.number())
|
|
3211
|
-
});
|
|
3212
|
-
var ExporterDestinationGitlab = _zod.z.object({
|
|
3213
|
-
credentialId: _zod.z.string().optional(),
|
|
3214
|
-
// Repository
|
|
3215
|
-
projectId: _zod.z.string(),
|
|
3216
|
-
// Location
|
|
3217
|
-
branch: _zod.z.string(),
|
|
3218
|
-
relativePath: nullishToOptional(_zod.z.string()),
|
|
3219
|
-
// Maybe not needed
|
|
3220
|
-
url: nullishToOptional(_zod.z.string()),
|
|
3221
|
-
// Legacy deprecated fields. Use `credentialId` instead
|
|
3222
|
-
connectionId: nullishToOptional(_zod.z.string()),
|
|
3223
|
-
userId: nullishToOptional(_zod.z.number())
|
|
3224
|
-
});
|
|
3225
|
-
var ExporterDestinationBitbucket = _zod.z.object({
|
|
3226
|
-
credentialId: _zod.z.string().optional(),
|
|
3227
|
-
// Repository
|
|
3228
|
-
workspaceSlug: _zod.z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
3229
|
-
projectKey: _zod.z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
3230
|
-
repoSlug: _zod.z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
3231
|
-
// Location
|
|
3232
|
-
branch: _zod.z.string(),
|
|
3233
|
-
relativePath: nullishToOptional(_zod.z.string()),
|
|
3234
|
-
// Legacy deprecated fields. Use `credentialId` instead
|
|
3235
|
-
connectionId: nullishToOptional(_zod.z.string()),
|
|
3236
|
-
userId: nullishToOptional(_zod.z.number())
|
|
3237
|
-
});
|
|
3238
|
-
var ExportDestinationsMap = _zod.z.object({
|
|
3239
|
-
webhookUrl: _zod.z.string().optional(),
|
|
3240
|
-
destinationSnDocs: ExporterDestinationDocs.optional(),
|
|
3241
|
-
destinationS3: ExporterDestinationS3.optional(),
|
|
3242
|
-
destinationGithub: ExporterDestinationGithub.optional(),
|
|
3243
|
-
destinationAzure: ExporterDestinationAzure.optional(),
|
|
3244
|
-
destinationGitlab: ExporterDestinationGitlab.optional(),
|
|
3245
|
-
destinationBitbucket: ExporterDestinationBitbucket.optional()
|
|
3246
|
-
});
|
|
3247
|
-
|
|
3248
|
-
// src/export/pipeline.ts
|
|
3249
|
-
var PipelineEventType = _zod.z.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
|
|
3250
|
-
var PipelineDestinationGitType = _zod.z.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
|
|
3251
|
-
var PipelineDestinationExtraType = _zod.z.enum(["WebhookUrl", "S3", "Documentation"]);
|
|
3252
|
-
var PipelineDestinationType = _zod.z.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
|
|
3253
|
-
var Pipeline = _zod.z.object({
|
|
3254
|
-
id: _zod.z.string(),
|
|
3255
|
-
name: _zod.z.string(),
|
|
3256
|
-
eventType: PipelineEventType,
|
|
3257
|
-
isEnabled: _zod.z.boolean(),
|
|
3258
|
-
workspaceId: _zod.z.string(),
|
|
3259
|
-
designSystemId: _zod.z.string(),
|
|
3260
|
-
exporterId: _zod.z.string(),
|
|
3261
|
-
brandPersistentId: _zod.z.string().optional(),
|
|
3262
|
-
themePersistentId: _zod.z.string().optional(),
|
|
3263
|
-
// Destinations
|
|
3264
|
-
...ExportDestinationsMap.shape
|
|
3265
|
-
});
|
|
3266
|
-
|
|
3267
|
-
// src/data-dumps/code-integration-dump.ts
|
|
3268
|
-
var ExportJobDump = _zod.z.object({
|
|
3269
|
-
id: _zod.z.string(),
|
|
3270
|
-
createdAt: _zod.z.coerce.date(),
|
|
3271
|
-
finishedAt: _zod.z.coerce.date(),
|
|
3272
|
-
exportArtefacts: _zod.z.string()
|
|
3273
|
-
});
|
|
3274
|
-
var CodeIntegrationDump = _zod.z.object({
|
|
3275
|
-
exporters: Exporter.array(),
|
|
3276
|
-
pipelines: Pipeline.array(),
|
|
3277
|
-
exportJobs: ExportJobDump.array()
|
|
3278
|
-
});
|
|
3279
|
-
|
|
3280
|
-
// src/data-dumps/design-system-dump.ts
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
// src/data-dumps/design-system-version-dump.ts
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
// src/liveblocks/rooms/design-system-version-room.ts
|
|
3287
|
-
|
|
3288
|
-
var DesignSystemVersionRoom = Entity.extend({
|
|
3289
|
-
designSystemVersionId: _zod.z.string(),
|
|
3290
|
-
liveblocksId: _zod.z.string()
|
|
3291
|
-
});
|
|
3292
|
-
var DesignSystemVersionRoomInternalSettings = _zod.z.object({
|
|
3293
|
-
routingVersion: _zod.z.string(),
|
|
3294
|
-
isDraftFeatureAdopted: _zod.z.boolean()
|
|
3295
|
-
});
|
|
3296
|
-
var DesignSystemVersionRoomInitialState = _zod.z.object({
|
|
3297
|
-
pages: _zod.z.array(DocumentationPageV2),
|
|
3298
|
-
groups: _zod.z.array(ElementGroup),
|
|
3299
|
-
pageSnapshots: _zod.z.array(DocumentationPageSnapshot),
|
|
3300
|
-
groupSnapshots: _zod.z.array(ElementGroupSnapshot),
|
|
3301
|
-
internalSettings: DesignSystemVersionRoomInternalSettings
|
|
3302
|
-
});
|
|
3303
|
-
var DesignSystemVersionRoomUpdate = _zod.z.object({
|
|
3304
|
-
pages: _zod.z.array(DocumentationPageV2),
|
|
3305
|
-
groups: _zod.z.array(ElementGroup),
|
|
3306
|
-
pageIdsToDelete: _zod.z.array(_zod.z.string()),
|
|
3307
|
-
groupIdsToDelete: _zod.z.array(_zod.z.string()),
|
|
3308
|
-
pageSnapshots: _zod.z.array(DocumentationPageSnapshot),
|
|
3309
|
-
groupSnapshots: _zod.z.array(ElementGroupSnapshot),
|
|
3310
|
-
pageSnapshotIdsToDelete: _zod.z.array(_zod.z.string()),
|
|
3311
|
-
groupSnapshotIdsToDelete: _zod.z.array(_zod.z.string()),
|
|
3312
|
-
pageHashesToUpdate: _zod.z.record(_zod.z.string(), _zod.z.string())
|
|
3313
|
-
});
|
|
3314
|
-
|
|
3315
|
-
// src/liveblocks/rooms/documentation-page-room.ts
|
|
3316
|
-
|
|
3317
|
-
var DocumentationPageRoom = Entity.extend({
|
|
3318
|
-
designSystemVersionId: _zod.z.string(),
|
|
3319
|
-
documentationPageId: _zod.z.string(),
|
|
3320
|
-
liveblocksId: _zod.z.string(),
|
|
3321
|
-
isDirty: _zod.z.boolean()
|
|
3322
|
-
});
|
|
3323
|
-
var DocumentationPageRoomState = _zod.z.object({
|
|
3324
|
-
pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
3325
|
-
itemConfiguration: DocumentationItemConfigurationV2
|
|
3326
|
-
});
|
|
3327
|
-
var DocumentationPageRoomRoomUpdate = _zod.z.object({
|
|
3328
|
-
page: DocumentationPageV2,
|
|
3329
|
-
pageParent: ElementGroup
|
|
3330
|
-
});
|
|
3331
|
-
var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
|
|
3332
|
-
pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
3333
|
-
blockDefinitions: _zod.z.array(PageBlockDefinition)
|
|
3334
|
-
});
|
|
3335
|
-
var RestoredDocumentationPage = _zod.z.object({
|
|
3336
|
-
page: DocumentationPageV2,
|
|
3337
|
-
pageParent: ElementGroup,
|
|
3338
|
-
pageContent: DocumentationPageContentData,
|
|
3339
|
-
contentHash: _zod.z.string(),
|
|
3340
|
-
roomId: _zod.z.string().optional()
|
|
3341
|
-
});
|
|
3342
|
-
var RestoredDocumentationGroup = _zod.z.object({
|
|
3343
|
-
group: ElementGroup,
|
|
3344
|
-
parent: ElementGroup
|
|
3345
|
-
});
|
|
3346
|
-
|
|
3347
|
-
// src/liveblocks/rooms/room-type.ts
|
|
3348
|
-
|
|
3349
|
-
var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
|
|
3350
|
-
RoomTypeEnum2["DocumentationPage"] = "documentation-page";
|
|
3351
|
-
RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
|
|
3352
|
-
RoomTypeEnum2["Workspace"] = "workspace";
|
|
3353
|
-
return RoomTypeEnum2;
|
|
3354
|
-
})(RoomTypeEnum || {});
|
|
3355
|
-
var RoomTypeSchema = _zod.z.nativeEnum(RoomTypeEnum);
|
|
3356
|
-
var RoomType = RoomTypeSchema.enum;
|
|
3357
|
-
|
|
3358
|
-
// src/liveblocks/rooms/workspace-room.ts
|
|
3359
|
-
|
|
3360
|
-
var WorkspaceRoom = Entity.extend({
|
|
3361
|
-
workspaceId: _zod.z.string(),
|
|
3362
|
-
liveblocksId: _zod.z.string()
|
|
3363
|
-
});
|
|
3364
|
-
|
|
3365
|
-
// src/data-dumps/published-docs-dump.ts
|
|
3366
|
-
|
|
3367
|
-
var PublishedDocsDump = _zod.z.object({
|
|
3368
|
-
documentation: PublishedDoc,
|
|
3369
|
-
pages: PublishedDocPage.array()
|
|
3370
|
-
});
|
|
3371
|
-
|
|
3372
|
-
// src/data-dumps/design-system-version-dump.ts
|
|
3373
|
-
var DocumentationThreadDump = _zod.z.object({
|
|
3374
|
-
thread: DocumentationCommentThread,
|
|
3375
|
-
comments: DocumentationComment.array()
|
|
3376
|
-
});
|
|
3377
|
-
var DocumentationPageRoomDump = _zod.z.object({
|
|
3378
|
-
room: DocumentationPageRoom,
|
|
3379
|
-
threads: DocumentationThreadDump.array()
|
|
3380
|
-
});
|
|
3381
|
-
var DesignSystemVersionMultiplayerDump = _zod.z.object({
|
|
3382
|
-
documentationPages: DocumentationPageRoomDump.array()
|
|
3383
|
-
});
|
|
3384
|
-
var DesignSystemVersionDump = _zod.z.object({
|
|
3385
|
-
version: DesignSystemVersion,
|
|
3386
|
-
brands: Brand.array(),
|
|
3387
|
-
elements: DesignElement.array(),
|
|
3388
|
-
elementPropertyDefinitions: ElementPropertyDefinition.array(),
|
|
3389
|
-
elementPropertyValues: ElementPropertyValue.array(),
|
|
3390
|
-
elementViews: ElementView.array(),
|
|
3391
|
-
elementColumns: ElementViewColumn.array(),
|
|
3392
|
-
documentationPageContents: DocumentationPageContent.array(),
|
|
3393
|
-
documentationPageRooms: DocumentationPageRoomDump.array(),
|
|
3394
|
-
publishedDocumentations: PublishedDocsDump.array(),
|
|
3395
|
-
assetReferences: AssetReference.array()
|
|
3396
|
-
});
|
|
3397
|
-
|
|
3398
|
-
// src/data-dumps/design-system-dump.ts
|
|
3399
|
-
var DesignSystemDump = _zod.z.object({
|
|
3400
|
-
designSystem: DesignSystem,
|
|
3401
|
-
dataSources: DataSource.array(),
|
|
3402
|
-
versions: DesignSystemVersionDump.array(),
|
|
3403
|
-
customDomain: CustomDomain.optional(),
|
|
3404
|
-
files: Asset.array()
|
|
3405
|
-
});
|
|
3406
|
-
|
|
3407
|
-
// src/data-dumps/user-data-dump.ts
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
// src/users/linked-integrations.ts
|
|
3411
|
-
|
|
3412
|
-
var IntegrationAuthType = _zod.z.union([_zod.z.literal("OAuth2"), _zod.z.literal("PAT")]);
|
|
3413
|
-
var ExternalServiceType = _zod.z.union([
|
|
3414
|
-
_zod.z.literal("figma"),
|
|
3415
|
-
_zod.z.literal("github"),
|
|
3416
|
-
_zod.z.literal("azure"),
|
|
3417
|
-
_zod.z.literal("gitlab"),
|
|
3418
|
-
_zod.z.literal("bitbucket")
|
|
3419
|
-
]);
|
|
3420
|
-
var IntegrationUserInfo = _zod.z.object({
|
|
3421
|
-
id: _zod.z.string(),
|
|
3422
|
-
handle: _zod.z.string().optional(),
|
|
3423
|
-
avatarUrl: _zod.z.string().optional(),
|
|
3424
|
-
email: _zod.z.string().optional(),
|
|
3425
|
-
authType: IntegrationAuthType.optional(),
|
|
3426
|
-
customUrl: _zod.z.string().optional()
|
|
3427
|
-
});
|
|
3428
|
-
var UserLinkedIntegrations = _zod.z.object({
|
|
3429
|
-
figma: IntegrationUserInfo.optional(),
|
|
3430
|
-
github: IntegrationUserInfo.array().optional(),
|
|
3431
|
-
azure: IntegrationUserInfo.array().optional(),
|
|
3432
|
-
gitlab: IntegrationUserInfo.array().optional(),
|
|
3433
|
-
bitbucket: IntegrationUserInfo.array().optional()
|
|
3434
|
-
});
|
|
3435
|
-
|
|
3436
|
-
// src/users/user-analytics-cleanup-schedule.ts
|
|
3437
|
-
|
|
3438
|
-
var UserAnalyticsCleanupSchedule = _zod.z.object({
|
|
3439
|
-
userId: _zod.z.string(),
|
|
3440
|
-
createdAt: _zod.z.coerce.date(),
|
|
3441
|
-
deleteAt: _zod.z.coerce.date()
|
|
3442
|
-
});
|
|
3443
|
-
var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
|
|
3444
|
-
createdAt: true
|
|
3445
|
-
});
|
|
3446
|
-
|
|
3447
|
-
// src/users/user-create.ts
|
|
3448
|
-
|
|
3449
|
-
var CreateUserInput = _zod.z.object({
|
|
3450
|
-
email: _zod.z.string(),
|
|
3451
|
-
name: _zod.z.string(),
|
|
3452
|
-
username: _zod.z.string()
|
|
3453
|
-
});
|
|
3454
|
-
|
|
3455
|
-
// src/users/user-identity.ts
|
|
3456
|
-
|
|
3457
|
-
var UserIdentity = _zod.z.object({
|
|
3458
|
-
id: _zod.z.string(),
|
|
3459
|
-
userId: _zod.z.string()
|
|
3460
|
-
});
|
|
3461
|
-
|
|
3462
|
-
// src/users/user-minified.ts
|
|
3463
|
-
|
|
3464
|
-
var UserMinified = _zod.z.object({
|
|
3465
|
-
id: _zod.z.string(),
|
|
3466
|
-
name: _zod.z.string(),
|
|
3467
|
-
email: _zod.z.string(),
|
|
3468
|
-
avatar: _zod.z.string().optional()
|
|
3469
|
-
});
|
|
3470
|
-
|
|
3471
|
-
// src/users/user-notification-settings.ts
|
|
3472
|
-
|
|
3473
|
-
var LiveblocksNotificationSettings = _zod.z.object({
|
|
3474
|
-
sendCommentNotificationEmails: _zod.z.boolean()
|
|
3475
|
-
});
|
|
3476
|
-
var UserNotificationSettings = _zod.z.object({
|
|
3477
|
-
liveblocksNotificationSettings: LiveblocksNotificationSettings
|
|
3478
|
-
});
|
|
3479
|
-
var defaultNotificationSettings = {
|
|
3480
|
-
liveblocksNotificationSettings: {
|
|
3481
|
-
sendCommentNotificationEmails: true
|
|
3482
|
-
}
|
|
3483
|
-
};
|
|
3484
|
-
|
|
3485
|
-
// src/users/user-profile.ts
|
|
3486
|
-
|
|
3487
|
-
var UserOnboardingDepartment = _zod.z.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
|
|
3488
|
-
var UserOnboardingJobLevel = _zod.z.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
|
|
3489
|
-
var UserOnboarding = _zod.z.object({
|
|
3490
|
-
companyName: _zod.z.string().optional(),
|
|
3491
|
-
numberOfPeopleInOrg: _zod.z.string().optional(),
|
|
3492
|
-
numberOfPeopleInDesignTeam: _zod.z.string().optional(),
|
|
3493
|
-
department: UserOnboardingDepartment.optional(),
|
|
3494
|
-
jobTitle: _zod.z.string().optional(),
|
|
3495
|
-
phase: _zod.z.string().optional(),
|
|
3496
|
-
jobLevel: UserOnboardingJobLevel.optional(),
|
|
3497
|
-
designSystemName: _zod.z.string().optional(),
|
|
3498
|
-
defaultDestination: _zod.z.string().optional(),
|
|
3499
|
-
figmaUrl: _zod.z.string().optional()
|
|
3500
|
-
});
|
|
3501
|
-
var UserProfile = _zod.z.object({
|
|
3502
|
-
name: _zod.z.string(),
|
|
3503
|
-
avatar: _zod.z.string().optional(),
|
|
3504
|
-
nickname: _zod.z.string().optional(),
|
|
3505
|
-
onboarding: UserOnboarding.optional()
|
|
3506
|
-
});
|
|
3507
|
-
var UserProfileUpdate = UserProfile.partial().omit({
|
|
3508
|
-
avatar: true
|
|
3509
|
-
});
|
|
3510
|
-
|
|
3511
|
-
// src/users/user-test.ts
|
|
3512
|
-
|
|
3513
|
-
var UserTest = _zod.z.object({
|
|
3514
|
-
id: _zod.z.string(),
|
|
3515
|
-
email: _zod.z.string()
|
|
3516
|
-
});
|
|
3517
|
-
|
|
3518
|
-
// src/users/user.ts
|
|
3519
|
-
|
|
3520
|
-
var User = _zod.z.object({
|
|
3521
|
-
id: _zod.z.string(),
|
|
3522
|
-
email: _zod.z.string(),
|
|
3523
|
-
emailVerified: _zod.z.boolean(),
|
|
3524
|
-
createdAt: _zod.z.coerce.date(),
|
|
3525
|
-
trialExpiresAt: _zod.z.coerce.date().optional(),
|
|
3526
|
-
profile: UserProfile,
|
|
3527
|
-
linkedIntegrations: UserLinkedIntegrations.optional(),
|
|
3528
|
-
loggedOutAt: _zod.z.coerce.date().optional(),
|
|
3529
|
-
isProtected: _zod.z.boolean()
|
|
3530
|
-
});
|
|
3531
|
-
|
|
3532
|
-
// src/data-dumps/workspace-dump.ts
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
// src/integrations/integration.ts
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
// src/utils/errors.ts
|
|
3539
|
-
var SupernovaException = class _SupernovaException extends Error {
|
|
3540
|
-
//
|
|
3541
|
-
// Properties
|
|
3542
|
-
//
|
|
3543
|
-
constructor(type, message) {
|
|
3544
|
-
super(`${type}: ${message}`);
|
|
3545
|
-
this.type = type;
|
|
3546
|
-
}
|
|
3547
|
-
static wrongFormat(message) {
|
|
3548
|
-
return new _SupernovaException("WrongFormat", message);
|
|
3549
|
-
}
|
|
3550
|
-
static validationError(message) {
|
|
3551
|
-
return new _SupernovaException("ValidationError", message);
|
|
3552
|
-
}
|
|
3553
|
-
static accessDenied(message) {
|
|
3554
|
-
return new _SupernovaException("AccessDenied", message);
|
|
3555
|
-
}
|
|
3556
|
-
static tooMuchWork(message) {
|
|
3557
|
-
return new _SupernovaException("TooMuchWork", message);
|
|
3558
|
-
}
|
|
3559
|
-
static notFound(message) {
|
|
3560
|
-
return new _SupernovaException("ResourceNotFound", message);
|
|
3561
|
-
}
|
|
3562
|
-
static timeout(message) {
|
|
3563
|
-
return new _SupernovaException("Timeout", message);
|
|
3564
|
-
}
|
|
3565
|
-
static conflict(message) {
|
|
3566
|
-
return new _SupernovaException("Conflict", message);
|
|
3567
|
-
}
|
|
3568
|
-
static notImplemented(message) {
|
|
3569
|
-
return new _SupernovaException("NotImplemented", message);
|
|
3570
|
-
}
|
|
3571
|
-
static wrongActionOrder(message) {
|
|
3572
|
-
return new _SupernovaException("WrongActionOrder", message);
|
|
3573
|
-
}
|
|
3574
|
-
static invalidOperation(message) {
|
|
3575
|
-
return new _SupernovaException("InvalidOperation", message);
|
|
3576
|
-
}
|
|
3577
|
-
static shouldNotHappen(message) {
|
|
3578
|
-
return new _SupernovaException("UnexpectedError", message);
|
|
3579
|
-
}
|
|
3580
|
-
static ipRestricted(message) {
|
|
3581
|
-
return new _SupernovaException("IPRestricted", message);
|
|
3582
|
-
}
|
|
3583
|
-
static planRestricted(message) {
|
|
3584
|
-
return new _SupernovaException("PlanRestricted", message);
|
|
3585
|
-
}
|
|
3586
|
-
static missingWorkspacePermission(message) {
|
|
3587
|
-
return new _SupernovaException("MissingWorkspacePermission", message);
|
|
3588
|
-
}
|
|
3589
|
-
static missingExporterPermission(message) {
|
|
3590
|
-
return new _SupernovaException("MissingExporterPermission", message);
|
|
3591
|
-
}
|
|
3592
|
-
static missingIntegration(message) {
|
|
3593
|
-
return new _SupernovaException("MissingIntegration", message);
|
|
3594
|
-
}
|
|
3595
|
-
static missingIntegrationAccess(message) {
|
|
3596
|
-
return new _SupernovaException("MissingIntegrationAccess", message);
|
|
3597
|
-
}
|
|
3598
|
-
static noAccess(message) {
|
|
3599
|
-
return new _SupernovaException("NoAccess", message);
|
|
3600
|
-
}
|
|
3601
|
-
static missingCredentials(message) {
|
|
3602
|
-
return new _SupernovaException("MissingCredentials", message);
|
|
3603
|
-
}
|
|
3604
|
-
static thirdPartyError(message) {
|
|
3605
|
-
return new _SupernovaException("ThirdPartyError", message);
|
|
3606
|
-
}
|
|
3607
|
-
//
|
|
3608
|
-
// To refactor
|
|
3609
|
-
//
|
|
3610
|
-
static badRequest(message) {
|
|
3611
|
-
return new _SupernovaException("BadRequest", message);
|
|
3612
|
-
}
|
|
3613
|
-
};
|
|
3614
|
-
|
|
3615
|
-
// src/utils/common.ts
|
|
3616
|
-
function forceUnwrapNullish(value) {
|
|
3617
|
-
if (value === null)
|
|
3618
|
-
throw new Error("Illegal null");
|
|
3619
|
-
if (value === void 0)
|
|
3620
|
-
throw new Error("Illegal undefined");
|
|
3621
|
-
return value;
|
|
3622
|
-
}
|
|
3623
|
-
function trimLeadingSlash(string) {
|
|
3624
|
-
return string.startsWith("/") ? string.substring(1) : string;
|
|
3625
|
-
}
|
|
3626
|
-
function trimTrailingSlash(string) {
|
|
3627
|
-
return string.endsWith("/") ? string.substring(0, string.length - 1) : string;
|
|
3628
|
-
}
|
|
3629
|
-
function tryParseUrl(url) {
|
|
3630
|
-
try {
|
|
3631
|
-
return parseUrl(url);
|
|
3632
|
-
} catch (e) {
|
|
3633
|
-
console.error(`Error parsing URL ${url}`);
|
|
3634
|
-
console.error(e);
|
|
3635
|
-
return null;
|
|
3636
|
-
}
|
|
3637
|
-
}
|
|
3638
|
-
function parseUrl(url) {
|
|
3639
|
-
return new URL(url.startsWith("https://") || url.startsWith("http://") ? url : `https://${url}`);
|
|
3640
|
-
}
|
|
3641
|
-
function mapByUnique(items, keyFn) {
|
|
3642
|
-
const result = /* @__PURE__ */ new Map();
|
|
3643
|
-
for (const item of items) {
|
|
3644
|
-
result.set(keyFn(item), item);
|
|
3645
|
-
}
|
|
3646
|
-
return result;
|
|
3647
|
-
}
|
|
3648
|
-
function groupBy(items, keyFn) {
|
|
3649
|
-
const result = /* @__PURE__ */ new Map();
|
|
3650
|
-
for (const item of items) {
|
|
3651
|
-
const key = keyFn(item);
|
|
3652
|
-
const array = result.get(key);
|
|
3653
|
-
if (array) {
|
|
3654
|
-
array.push(item);
|
|
3655
|
-
} else {
|
|
3656
|
-
result.set(key, [item]);
|
|
3657
|
-
}
|
|
3658
|
-
}
|
|
3659
|
-
return result;
|
|
3660
|
-
}
|
|
3661
|
-
function filterNonNullish(items) {
|
|
3662
|
-
return items.filter(Boolean);
|
|
3663
|
-
}
|
|
3664
|
-
function nonNullishFilter(item) {
|
|
3665
|
-
return !!item;
|
|
3666
|
-
}
|
|
3667
|
-
function nonNullFilter(item) {
|
|
3668
|
-
return item !== null;
|
|
3669
|
-
}
|
|
3670
|
-
function buildConstantEnum(values) {
|
|
3671
|
-
const constMap = values.reduce((acc, code) => ({ ...acc, [code]: code }), {});
|
|
3672
|
-
return constMap;
|
|
3673
|
-
}
|
|
3674
|
-
async function promiseWithTimeout(timeoutMs, promise) {
|
|
3675
|
-
let timeoutHandle;
|
|
3676
|
-
const timeoutPromise = new Promise((_, reject) => {
|
|
3677
|
-
timeoutHandle = setTimeout(() => reject(SupernovaException.timeout()), timeoutMs);
|
|
3678
|
-
});
|
|
3679
|
-
const result = await Promise.race([promise(), timeoutPromise]);
|
|
3680
|
-
clearTimeout(timeoutHandle);
|
|
3681
|
-
return result;
|
|
3682
|
-
}
|
|
3683
|
-
async function sleep(ms) {
|
|
3684
|
-
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
3685
|
-
}
|
|
3686
|
-
function uniqueBy(items, prop) {
|
|
3687
|
-
return Array.from(mapByUnique(items, prop).values());
|
|
3688
|
-
}
|
|
3689
|
-
|
|
3690
|
-
// src/utils/content-loader-instruction.ts
|
|
3691
|
-
|
|
3692
|
-
var ContentLoadInstruction = _zod.z.object({
|
|
3693
|
-
from: _zod.z.string(),
|
|
3694
|
-
to: _zod.z.string(),
|
|
3695
|
-
authorizationHeaderKvsId: _zod.z.string().optional(),
|
|
3696
|
-
timeout: _zod.z.number().optional()
|
|
3697
|
-
});
|
|
3698
|
-
var ContentLoaderPayload = _zod.z.object({
|
|
3699
|
-
type: _zod.z.literal("Single"),
|
|
3700
|
-
instruction: ContentLoadInstruction
|
|
3701
|
-
}).or(
|
|
3702
|
-
_zod.z.object({
|
|
3703
|
-
type: _zod.z.literal("Multiple"),
|
|
3704
|
-
loadingChunkSize: _zod.z.number().optional(),
|
|
3705
|
-
instructions: _zod.z.array(ContentLoadInstruction)
|
|
3706
|
-
})
|
|
3707
|
-
).or(
|
|
3708
|
-
_zod.z.object({
|
|
3709
|
-
type: _zod.z.literal("S3"),
|
|
3710
|
-
location: _zod.z.string()
|
|
3711
|
-
})
|
|
3712
|
-
);
|
|
3713
|
-
|
|
3714
|
-
// src/utils/naming.ts
|
|
3715
|
-
function getCodenameFromText(name) {
|
|
3716
|
-
let codeName = removeDiacritics(name);
|
|
3717
|
-
codeName = codeName.replace(/[^a-zA-Z0-9$_ ]+/g, "");
|
|
3718
|
-
codeName = codeName.replace(/^[0-9 ]+/g, "");
|
|
3719
|
-
codeName = toCamelCase(codeName.toLowerCase());
|
|
3720
|
-
codeName = codeName.replace(/ /g, "");
|
|
3721
|
-
if (codeName) {
|
|
3722
|
-
codeName = codeName.charAt(0).toLowerCase() + codeName.slice(1);
|
|
3723
|
-
}
|
|
3724
|
-
return codeName;
|
|
3725
|
-
}
|
|
3726
|
-
function toCamelCase(str) {
|
|
3727
|
-
return str.replace(/(?:^\w|[A-Z]|\b\w|\s+)/g, function(match, index) {
|
|
3728
|
-
if (+match === 0)
|
|
3729
|
-
return "";
|
|
3730
|
-
return index === 0 ? match.toLowerCase() : match.toUpperCase();
|
|
3731
|
-
});
|
|
3732
|
-
}
|
|
3733
|
-
function removeDiacritics(str) {
|
|
3734
|
-
const diacriticsMap = [
|
|
3735
|
-
{
|
|
3736
|
-
base: "A",
|
|
3737
|
-
letters: /[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g
|
|
3738
|
-
},
|
|
3739
|
-
{ base: "AA", letters: /[\uA732]/g },
|
|
3740
|
-
{ base: "AE", letters: /[\u00C6\u01FC\u01E2]/g },
|
|
3741
|
-
{ base: "AO", letters: /[\uA734]/g },
|
|
3742
|
-
{ base: "AU", letters: /[\uA736]/g },
|
|
3743
|
-
{ base: "AV", letters: /[\uA738\uA73A]/g },
|
|
3744
|
-
{ base: "AY", letters: /[\uA73C]/g },
|
|
3745
|
-
{
|
|
3746
|
-
base: "B",
|
|
3747
|
-
letters: /[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g
|
|
3748
|
-
},
|
|
3749
|
-
{
|
|
3750
|
-
base: "C",
|
|
3751
|
-
letters: /[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g
|
|
3752
|
-
},
|
|
3753
|
-
/* ... */
|
|
3754
|
-
{
|
|
3755
|
-
base: "Z",
|
|
3756
|
-
letters: /[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g
|
|
3757
|
-
},
|
|
3758
|
-
{
|
|
3759
|
-
base: "a",
|
|
3760
|
-
letters: /[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g
|
|
3761
|
-
},
|
|
3762
|
-
/* ... */
|
|
3763
|
-
{
|
|
3764
|
-
base: "z",
|
|
3765
|
-
letters: /[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g
|
|
3766
|
-
}
|
|
3767
|
-
];
|
|
3768
|
-
diacriticsMap.forEach((diacritic) => {
|
|
3769
|
-
str = str.replace(diacritic.letters, diacritic.base);
|
|
3770
|
-
});
|
|
3771
|
-
return str;
|
|
3013
|
+
// src/utils/naming.ts
|
|
3014
|
+
function getCodenameFromText(name) {
|
|
3015
|
+
let codeName = removeDiacritics(name);
|
|
3016
|
+
codeName = codeName.replace(/[^a-zA-Z0-9$_ ]+/g, "");
|
|
3017
|
+
codeName = codeName.replace(/^[0-9 ]+/g, "");
|
|
3018
|
+
codeName = toCamelCase(codeName.toLowerCase());
|
|
3019
|
+
codeName = codeName.replace(/ /g, "");
|
|
3020
|
+
if (codeName) {
|
|
3021
|
+
codeName = codeName.charAt(0).toLowerCase() + codeName.slice(1);
|
|
3022
|
+
}
|
|
3023
|
+
return codeName;
|
|
3024
|
+
}
|
|
3025
|
+
function toCamelCase(str) {
|
|
3026
|
+
return str.replace(/(?:^\w|[A-Z]|\b\w|\s+)/g, function(match, index) {
|
|
3027
|
+
if (+match === 0)
|
|
3028
|
+
return "";
|
|
3029
|
+
return index === 0 ? match.toLowerCase() : match.toUpperCase();
|
|
3030
|
+
});
|
|
3031
|
+
}
|
|
3032
|
+
function removeDiacritics(str) {
|
|
3033
|
+
const diacriticsMap = [
|
|
3034
|
+
{
|
|
3035
|
+
base: "A",
|
|
3036
|
+
letters: /[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g
|
|
3037
|
+
},
|
|
3038
|
+
{ base: "AA", letters: /[\uA732]/g },
|
|
3039
|
+
{ base: "AE", letters: /[\u00C6\u01FC\u01E2]/g },
|
|
3040
|
+
{ base: "AO", letters: /[\uA734]/g },
|
|
3041
|
+
{ base: "AU", letters: /[\uA736]/g },
|
|
3042
|
+
{ base: "AV", letters: /[\uA738\uA73A]/g },
|
|
3043
|
+
{ base: "AY", letters: /[\uA73C]/g },
|
|
3044
|
+
{
|
|
3045
|
+
base: "B",
|
|
3046
|
+
letters: /[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
base: "C",
|
|
3050
|
+
letters: /[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g
|
|
3051
|
+
},
|
|
3052
|
+
/* ... */
|
|
3053
|
+
{
|
|
3054
|
+
base: "Z",
|
|
3055
|
+
letters: /[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g
|
|
3056
|
+
},
|
|
3057
|
+
{
|
|
3058
|
+
base: "a",
|
|
3059
|
+
letters: /[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g
|
|
3060
|
+
},
|
|
3061
|
+
/* ... */
|
|
3062
|
+
{
|
|
3063
|
+
base: "z",
|
|
3064
|
+
letters: /[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g
|
|
3065
|
+
}
|
|
3066
|
+
];
|
|
3067
|
+
diacriticsMap.forEach((diacritic) => {
|
|
3068
|
+
str = str.replace(diacritic.letters, diacritic.base);
|
|
3069
|
+
});
|
|
3070
|
+
return str;
|
|
3772
3071
|
}
|
|
3773
3072
|
|
|
3774
3073
|
// src/utils/slugify.ts
|
|
3775
3074
|
var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequireDefault(_slugify);
|
|
3776
3075
|
function slugify(str, options) {
|
|
3777
3076
|
const slug = _slugify2.default.call(void 0, _nullishCoalesce(str, () => ( "")), options);
|
|
3778
|
-
return _optionalChain([slug, 'optionalAccess',
|
|
3077
|
+
return _optionalChain([slug, 'optionalAccess', _2 => _2.length]) > 0 ? slug : "item";
|
|
3779
3078
|
}
|
|
3780
3079
|
var RESERVED_SLUGS = [
|
|
3781
3080
|
"workspaces",
|
|
@@ -4398,15 +3697,729 @@ var RESERVED_SLUGS = [
|
|
|
4398
3697
|
];
|
|
4399
3698
|
var RESERVED_SLUGS_SET = new Set(RESERVED_SLUGS);
|
|
4400
3699
|
var RESERVED_SLUG_PREFIX = "x-sn-reserved-";
|
|
4401
|
-
var isSlugReservedInternal = (slug) => _optionalChain([slug, 'optionalAccess',
|
|
3700
|
+
var isSlugReservedInternal = (slug) => _optionalChain([slug, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4(RESERVED_SLUG_PREFIX)]);
|
|
4402
3701
|
function isSlugReserved(slug) {
|
|
4403
3702
|
return RESERVED_SLUGS_SET.has(slug) || isSlugReservedInternal(slug);
|
|
4404
3703
|
}
|
|
4405
3704
|
|
|
4406
|
-
// src/utils/validation.ts
|
|
4407
|
-
var slugRegex = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
|
|
3705
|
+
// src/utils/validation.ts
|
|
3706
|
+
var slugRegex = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
|
|
3707
|
+
|
|
3708
|
+
// src/dsm/element-snapshots/base.ts
|
|
3709
|
+
var DesignElementSnapshotReason = _zod.z.enum(["Publish", "Deletion"]);
|
|
3710
|
+
var DesignElementSnapshotBase = _zod.z.object({
|
|
3711
|
+
id: _zod.z.string(),
|
|
3712
|
+
persistentId: _zod.z.string(),
|
|
3713
|
+
designSystemVersionId: _zod.z.string(),
|
|
3714
|
+
createdAt: _zod.z.coerce.date(),
|
|
3715
|
+
updatedAt: _zod.z.coerce.date(),
|
|
3716
|
+
reason: DesignElementSnapshotReason,
|
|
3717
|
+
createdByUserId: _zod.z.string()
|
|
3718
|
+
});
|
|
3719
|
+
function pickLatestSnapshots(snapshots, getSnapshotElementId) {
|
|
3720
|
+
const groupedSnapshots = groupBy(snapshots, getSnapshotElementId);
|
|
3721
|
+
return Array.from(groupedSnapshots.entries()).map(([_, snapshots2]) => {
|
|
3722
|
+
const sorted = snapshots2.sort((lhs, rhs) => rhs.createdAt.getTime() - lhs.createdAt.getTime());
|
|
3723
|
+
return sorted[0];
|
|
3724
|
+
});
|
|
3725
|
+
}
|
|
3726
|
+
|
|
3727
|
+
// src/dsm/element-snapshots/documentation-page-snapshot.ts
|
|
3728
|
+
|
|
3729
|
+
var DocumentationPageSnapshot = DesignElementSnapshotBase.extend({
|
|
3730
|
+
page: DocumentationPageV2,
|
|
3731
|
+
pageContentHash: _zod.z.string(),
|
|
3732
|
+
pageContentStorageKey: _zod.z.string()
|
|
3733
|
+
});
|
|
3734
|
+
function pickLatestPageSnapshots(snapshots) {
|
|
3735
|
+
return pickLatestSnapshots(snapshots, (s) => s.page.id);
|
|
3736
|
+
}
|
|
3737
|
+
|
|
3738
|
+
// src/dsm/element-snapshots/group-snapshot.ts
|
|
3739
|
+
var ElementGroupSnapshot = DesignElementSnapshotBase.extend({
|
|
3740
|
+
group: ElementGroup
|
|
3741
|
+
});
|
|
3742
|
+
function pickLatestGroupSnapshots(snapshots) {
|
|
3743
|
+
return pickLatestSnapshots(snapshots, (s) => s.group.id);
|
|
3744
|
+
}
|
|
3745
|
+
|
|
3746
|
+
// src/dsm/views/column.ts
|
|
3747
|
+
|
|
3748
|
+
var ElementViewBaseColumnType = _zod.z.enum(["Name", "Description", "Value", "UpdatedAt"]);
|
|
3749
|
+
var ElementViewColumnType = _zod.z.union([
|
|
3750
|
+
_zod.z.literal("BaseProperty"),
|
|
3751
|
+
_zod.z.literal("PropertyDefinition"),
|
|
3752
|
+
_zod.z.literal("Theme")
|
|
3753
|
+
]);
|
|
3754
|
+
var ElementViewColumnSharedAttributes = _zod.z.object({
|
|
3755
|
+
id: _zod.z.string(),
|
|
3756
|
+
persistentId: _zod.z.string(),
|
|
3757
|
+
elementDataViewId: _zod.z.string(),
|
|
3758
|
+
sortPosition: _zod.z.number(),
|
|
3759
|
+
width: _zod.z.number()
|
|
3760
|
+
});
|
|
3761
|
+
var ElementViewBasePropertyColumn = ElementViewColumnSharedAttributes.extend({
|
|
3762
|
+
type: _zod.z.literal("BaseProperty"),
|
|
3763
|
+
basePropertyType: ElementViewBaseColumnType
|
|
3764
|
+
});
|
|
3765
|
+
var ElementViewPropertyDefinitionColumn = ElementViewColumnSharedAttributes.extend({
|
|
3766
|
+
type: _zod.z.literal("PropertyDefinition"),
|
|
3767
|
+
propertyDefinitionId: _zod.z.string()
|
|
3768
|
+
});
|
|
3769
|
+
var ElementViewThemeColumn = ElementViewColumnSharedAttributes.extend({
|
|
3770
|
+
type: _zod.z.literal("Theme"),
|
|
3771
|
+
themeId: _zod.z.string()
|
|
3772
|
+
});
|
|
3773
|
+
var ElementViewColumn = _zod.z.discriminatedUnion("type", [
|
|
3774
|
+
ElementViewBasePropertyColumn,
|
|
3775
|
+
ElementViewPropertyDefinitionColumn,
|
|
3776
|
+
ElementViewThemeColumn
|
|
3777
|
+
]);
|
|
3778
|
+
|
|
3779
|
+
// src/dsm/views/view.ts
|
|
3780
|
+
|
|
3781
|
+
var ElementView = _zod.z.object({
|
|
3782
|
+
id: _zod.z.string(),
|
|
3783
|
+
persistentId: _zod.z.string(),
|
|
3784
|
+
designSystemVersionId: _zod.z.string(),
|
|
3785
|
+
name: _zod.z.string(),
|
|
3786
|
+
description: _zod.z.string(),
|
|
3787
|
+
targetElementType: ElementPropertyTargetType,
|
|
3788
|
+
isDefault: _zod.z.boolean()
|
|
3789
|
+
});
|
|
3790
|
+
|
|
3791
|
+
// src/dsm/brand.ts
|
|
3792
|
+
|
|
3793
|
+
var Brand = _zod.z.object({
|
|
3794
|
+
id: _zod.z.string(),
|
|
3795
|
+
designSystemVersionId: _zod.z.string(),
|
|
3796
|
+
persistentId: _zod.z.string(),
|
|
3797
|
+
name: _zod.z.string(),
|
|
3798
|
+
description: _zod.z.string()
|
|
3799
|
+
});
|
|
3800
|
+
|
|
3801
|
+
// src/dsm/design-system-update.ts
|
|
3802
|
+
|
|
3803
|
+
|
|
3804
|
+
// src/dsm/design-system.ts
|
|
3805
|
+
|
|
3806
|
+
|
|
3807
|
+
// src/workspace/workspace.ts
|
|
3808
|
+
var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
|
|
3809
|
+
|
|
3810
|
+
|
|
3811
|
+
// src/workspace/npm-registry-settings.ts
|
|
3812
|
+
|
|
3813
|
+
var NpmRegistryAuthType = _zod.z.enum(["Basic", "Bearer", "None", "Custom"]);
|
|
3814
|
+
var NpmRegistryType = _zod.z.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
|
|
3815
|
+
var NpmRegistryBasicAuthConfig = _zod.z.object({
|
|
3816
|
+
authType: _zod.z.literal(NpmRegistryAuthType.Enum.Basic),
|
|
3817
|
+
username: _zod.z.string(),
|
|
3818
|
+
password: _zod.z.string()
|
|
3819
|
+
});
|
|
3820
|
+
var NpmRegistryBearerAuthConfig = _zod.z.object({
|
|
3821
|
+
authType: _zod.z.literal(NpmRegistryAuthType.Enum.Bearer),
|
|
3822
|
+
accessToken: _zod.z.string()
|
|
3823
|
+
});
|
|
3824
|
+
var NpmRegistryNoAuthConfig = _zod.z.object({
|
|
3825
|
+
authType: _zod.z.literal(NpmRegistryAuthType.Enum.None)
|
|
3826
|
+
});
|
|
3827
|
+
var NpmRegistrCustomAuthConfig = _zod.z.object({
|
|
3828
|
+
authType: _zod.z.literal(NpmRegistryAuthType.Enum.Custom),
|
|
3829
|
+
authHeaderName: _zod.z.string(),
|
|
3830
|
+
authHeaderValue: _zod.z.string()
|
|
3831
|
+
});
|
|
3832
|
+
var NpmRegistryAuthConfig = _zod.z.discriminatedUnion("authType", [
|
|
3833
|
+
NpmRegistryBasicAuthConfig,
|
|
3834
|
+
NpmRegistryBearerAuthConfig,
|
|
3835
|
+
NpmRegistryNoAuthConfig,
|
|
3836
|
+
NpmRegistrCustomAuthConfig
|
|
3837
|
+
]);
|
|
3838
|
+
var NpmRegistryConfigBase = _zod.z.object({
|
|
3839
|
+
registryType: NpmRegistryType,
|
|
3840
|
+
enabledScopes: _zod.z.array(_zod.z.string()),
|
|
3841
|
+
customRegistryUrl: _zod.z.string().optional(),
|
|
3842
|
+
bypassProxy: _zod.z.boolean().default(false),
|
|
3843
|
+
npmProxyRegistryConfigId: _zod.z.string().optional(),
|
|
3844
|
+
npmProxyVersion: _zod.z.number().optional()
|
|
3845
|
+
});
|
|
3846
|
+
var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
|
|
3847
|
+
|
|
3848
|
+
// src/workspace/sso-provider.ts
|
|
3849
|
+
|
|
3850
|
+
var SsoProvider = _zod.z.object({
|
|
3851
|
+
providerId: _zod.z.string(),
|
|
3852
|
+
defaultAutoInviteValue: _zod.z.boolean(),
|
|
3853
|
+
autoInviteDomains: _zod.z.record(_zod.z.string(), _zod.z.boolean()),
|
|
3854
|
+
skipDocsSupernovaLogin: _zod.z.boolean(),
|
|
3855
|
+
areInvitesDisabled: _zod.z.boolean(),
|
|
3856
|
+
isTestMode: _zod.z.boolean(),
|
|
3857
|
+
emailDomains: _zod.z.array(_zod.z.string()),
|
|
3858
|
+
metadataXml: _zod.z.string().nullish()
|
|
3859
|
+
});
|
|
3860
|
+
|
|
3861
|
+
// src/workspace/workspace.ts
|
|
3862
|
+
var isValidCIDR = (value) => {
|
|
3863
|
+
return _ipcidr2.default.isValidAddress(value);
|
|
3864
|
+
};
|
|
3865
|
+
var WorkspaceIpWhitelistEntry = _zod.z.object({
|
|
3866
|
+
isEnabled: _zod.z.boolean(),
|
|
3867
|
+
name: _zod.z.string(),
|
|
3868
|
+
range: _zod.z.string().refine(isValidCIDR, {
|
|
3869
|
+
message: "Invalid IP CIDR"
|
|
3870
|
+
})
|
|
3871
|
+
});
|
|
3872
|
+
var WorkspaceIpSettings = _zod.z.object({
|
|
3873
|
+
isEnabledForCloud: _zod.z.boolean(),
|
|
3874
|
+
isEnabledForDocs: _zod.z.boolean(),
|
|
3875
|
+
entries: _zod.z.array(WorkspaceIpWhitelistEntry)
|
|
3876
|
+
});
|
|
3877
|
+
var WorkspaceProfile = _zod.z.object({
|
|
3878
|
+
name: _zod.z.string(),
|
|
3879
|
+
handle: _zod.z.string(),
|
|
3880
|
+
color: _zod.z.string(),
|
|
3881
|
+
avatar: nullishToOptional(_zod.z.string()),
|
|
3882
|
+
billingDetails: nullishToOptional(BillingDetails)
|
|
3883
|
+
});
|
|
3884
|
+
var WorkspaceProfileUpdate = WorkspaceProfile.omit({
|
|
3885
|
+
avatar: true
|
|
3886
|
+
});
|
|
3887
|
+
var Workspace = _zod.z.object({
|
|
3888
|
+
id: _zod.z.string(),
|
|
3889
|
+
profile: WorkspaceProfile,
|
|
3890
|
+
subscription: Subscription,
|
|
3891
|
+
ipWhitelist: nullishToOptional(WorkspaceIpSettings),
|
|
3892
|
+
sso: nullishToOptional(SsoProvider),
|
|
3893
|
+
npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
|
|
3894
|
+
});
|
|
3895
|
+
var WorkspaceWithDesignSystems = _zod.z.object({
|
|
3896
|
+
workspace: Workspace,
|
|
3897
|
+
designSystems: _zod.z.array(DesignSystem)
|
|
3898
|
+
});
|
|
3899
|
+
|
|
3900
|
+
// src/dsm/design-system.ts
|
|
3901
|
+
var DesignSystemSwitcher = _zod.z.object({
|
|
3902
|
+
isEnabled: _zod.z.boolean(),
|
|
3903
|
+
designSystemIds: _zod.z.array(_zod.z.string())
|
|
3904
|
+
});
|
|
3905
|
+
var DesignSystem = _zod.z.object({
|
|
3906
|
+
id: _zod.z.string(),
|
|
3907
|
+
workspaceId: _zod.z.string(),
|
|
3908
|
+
name: _zod.z.string(),
|
|
3909
|
+
description: _zod.z.string(),
|
|
3910
|
+
docExporterId: nullishToOptional(_zod.z.string()),
|
|
3911
|
+
docSlug: _zod.z.string(),
|
|
3912
|
+
docUserSlug: nullishToOptional(_zod.z.string()),
|
|
3913
|
+
docSlugDeprecated: _zod.z.string(),
|
|
3914
|
+
isPublic: _zod.z.boolean(),
|
|
3915
|
+
isMultibrand: _zod.z.boolean(),
|
|
3916
|
+
docViewUrl: nullishToOptional(_zod.z.string()),
|
|
3917
|
+
basePrefixes: _zod.z.array(_zod.z.string()),
|
|
3918
|
+
designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
|
|
3919
|
+
createdAt: _zod.z.coerce.date(),
|
|
3920
|
+
updatedAt: _zod.z.coerce.date()
|
|
3921
|
+
});
|
|
3922
|
+
var DesignSystemWithWorkspace = _zod.z.object({
|
|
3923
|
+
designSystem: DesignSystem,
|
|
3924
|
+
workspace: Workspace
|
|
3925
|
+
});
|
|
3926
|
+
|
|
3927
|
+
// src/dsm/design-system-update.ts
|
|
3928
|
+
var DS_NAME_MIN_LENGTH = 2;
|
|
3929
|
+
var DS_NAME_MAX_LENGTH = 64;
|
|
3930
|
+
var DS_DESC_MAX_LENGTH = 64;
|
|
3931
|
+
var DesignSystemUpdateInputMetadata = _zod.z.object({
|
|
3932
|
+
name: _zod.z.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim().optional(),
|
|
3933
|
+
description: _zod.z.string().max(DS_DESC_MAX_LENGTH).trim().optional()
|
|
3934
|
+
});
|
|
3935
|
+
var DesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
3936
|
+
id: true,
|
|
3937
|
+
createdAt: true,
|
|
3938
|
+
updatedAt: true,
|
|
3939
|
+
docSlug: true,
|
|
3940
|
+
docViewUrl: true,
|
|
3941
|
+
designSystemSwitcher: true
|
|
3942
|
+
}).extend({
|
|
3943
|
+
meta: DesignSystemUpdateInputMetadata.optional()
|
|
3944
|
+
});
|
|
3945
|
+
|
|
3946
|
+
// src/dsm/desing-system-create.ts
|
|
3947
|
+
|
|
3948
|
+
var DS_NAME_MIN_LENGTH2 = 2;
|
|
3949
|
+
var DS_NAME_MAX_LENGTH2 = 64;
|
|
3950
|
+
var DS_DESC_MAX_LENGTH2 = 64;
|
|
3951
|
+
var DesignSystemCreateInputMetadata = _zod.z.object({
|
|
3952
|
+
name: _zod.z.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim(),
|
|
3953
|
+
description: _zod.z.string().max(DS_DESC_MAX_LENGTH2).trim()
|
|
3954
|
+
});
|
|
3955
|
+
var DesignSystemCreateInput = _zod.z.object({
|
|
3956
|
+
meta: DesignSystemCreateInputMetadata,
|
|
3957
|
+
workspaceId: _zod.z.string(),
|
|
3958
|
+
isPublic: _zod.z.boolean().optional(),
|
|
3959
|
+
basePrefixes: _zod.z.array(_zod.z.string()).optional(),
|
|
3960
|
+
docUserSlug: _zod.z.string().nullish().optional(),
|
|
3961
|
+
source: _zod.z.array(_zod.z.string()).optional()
|
|
3962
|
+
});
|
|
3963
|
+
|
|
3964
|
+
// src/dsm/exporter-property-values-collection.ts
|
|
3965
|
+
|
|
3966
|
+
var ExporterPropertyImageValue = _zod.z.object({
|
|
3967
|
+
asset: PageBlockAsset.optional(),
|
|
3968
|
+
assetId: _zod.z.string().optional(),
|
|
3969
|
+
assetUrl: _zod.z.string().optional()
|
|
3970
|
+
});
|
|
3971
|
+
var ExporterPropertyValue = _zod.z.object({
|
|
3972
|
+
key: _zod.z.string(),
|
|
3973
|
+
value: _zod.z.union([
|
|
3974
|
+
_zod.z.number(),
|
|
3975
|
+
_zod.z.string(),
|
|
3976
|
+
_zod.z.boolean(),
|
|
3977
|
+
ExporterPropertyImageValue,
|
|
3978
|
+
ColorTokenData,
|
|
3979
|
+
TypographyTokenData
|
|
3980
|
+
])
|
|
3981
|
+
});
|
|
3982
|
+
var ExporterPropertyValuesCollection = _zod.z.object({
|
|
3983
|
+
id: _zod.z.string(),
|
|
3984
|
+
designSystemId: _zod.z.string(),
|
|
3985
|
+
exporterId: _zod.z.string(),
|
|
3986
|
+
values: _zod.z.array(ExporterPropertyValue)
|
|
3987
|
+
});
|
|
3988
|
+
|
|
3989
|
+
// src/dsm/published-doc-page.ts
|
|
3990
|
+
|
|
3991
|
+
var SHORT_PERSISTENT_ID_LENGTH = 8;
|
|
3992
|
+
function tryParseShortPersistentId(url = "/") {
|
|
3993
|
+
const lastUrlPart = url.split("/").pop() || "";
|
|
3994
|
+
const shortPersistentId = _optionalChain([lastUrlPart, 'access', _5 => _5.split, 'call', _6 => _6("-"), 'access', _7 => _7.pop, 'call', _8 => _8(), 'optionalAccess', _9 => _9.replaceAll, 'call', _10 => _10(".html", "")]) || null;
|
|
3995
|
+
return _optionalChain([shortPersistentId, 'optionalAccess', _11 => _11.length]) === SHORT_PERSISTENT_ID_LENGTH ? shortPersistentId : null;
|
|
3996
|
+
}
|
|
3997
|
+
var PublishedDocPage = _zod.z.object({
|
|
3998
|
+
id: _zod.z.string(),
|
|
3999
|
+
publishedDocId: _zod.z.string(),
|
|
4000
|
+
pageShortPersistentId: _zod.z.string(),
|
|
4001
|
+
pathV1: _zod.z.string(),
|
|
4002
|
+
pathV2: _zod.z.string(),
|
|
4003
|
+
storagePath: _zod.z.string(),
|
|
4004
|
+
locale: _zod.z.string().optional(),
|
|
4005
|
+
isPrivate: _zod.z.boolean(),
|
|
4006
|
+
isHidden: _zod.z.boolean(),
|
|
4007
|
+
createdAt: _zod.z.coerce.date(),
|
|
4008
|
+
updatedAt: _zod.z.coerce.date()
|
|
4009
|
+
});
|
|
4010
|
+
|
|
4011
|
+
// src/dsm/published-doc.ts
|
|
4012
|
+
|
|
4013
|
+
var publishedDocEnvironments = ["Live", "Preview"];
|
|
4014
|
+
var PublishedDocEnvironment = _zod.z.enum(publishedDocEnvironments);
|
|
4015
|
+
var PublishedDocsChecksums = _zod.z.record(_zod.z.string());
|
|
4016
|
+
var PublishedDocRoutingVersion = _zod.z.enum(["1", "2"]);
|
|
4017
|
+
var PublishedDoc = _zod.z.object({
|
|
4018
|
+
id: _zod.z.string(),
|
|
4019
|
+
designSystemVersionId: _zod.z.string(),
|
|
4020
|
+
createdAt: _zod.z.coerce.date(),
|
|
4021
|
+
updatedAt: _zod.z.coerce.date(),
|
|
4022
|
+
lastPublishedAt: _zod.z.coerce.date(),
|
|
4023
|
+
isDefault: _zod.z.boolean(),
|
|
4024
|
+
isPublic: _zod.z.boolean(),
|
|
4025
|
+
environment: PublishedDocEnvironment,
|
|
4026
|
+
checksums: PublishedDocsChecksums,
|
|
4027
|
+
storagePath: _zod.z.string(),
|
|
4028
|
+
wasMigrated: _zod.z.boolean(),
|
|
4029
|
+
routingVersion: PublishedDocRoutingVersion,
|
|
4030
|
+
usesLocalizations: _zod.z.boolean(),
|
|
4031
|
+
wasPublishedWithLocalizations: _zod.z.boolean(),
|
|
4032
|
+
tokenCount: _zod.z.number(),
|
|
4033
|
+
assetCount: _zod.z.number()
|
|
4034
|
+
});
|
|
4035
|
+
|
|
4036
|
+
// src/dsm/version.ts
|
|
4037
|
+
|
|
4038
|
+
var DesignSystemVersion = _zod.z.object({
|
|
4039
|
+
id: _zod.z.string(),
|
|
4040
|
+
version: _zod.z.string(),
|
|
4041
|
+
createdAt: _zod.z.date(),
|
|
4042
|
+
designSystemId: _zod.z.string(),
|
|
4043
|
+
name: _zod.z.string(),
|
|
4044
|
+
comment: _zod.z.string(),
|
|
4045
|
+
isReadonly: _zod.z.boolean(),
|
|
4046
|
+
changeLog: _zod.z.string(),
|
|
4047
|
+
parentId: _zod.z.string().optional(),
|
|
4048
|
+
isDraftsFeatureAdopted: _zod.z.boolean()
|
|
4049
|
+
});
|
|
4050
|
+
var VersionCreationJobStatus = _zod.z.enum(["Success", "InProgress", "Error"]);
|
|
4051
|
+
var VersionCreationJob = _zod.z.object({
|
|
4052
|
+
id: _zod.z.string(),
|
|
4053
|
+
version: _zod.z.string(),
|
|
4054
|
+
designSystemId: _zod.z.string(),
|
|
4055
|
+
designSystemVersionId: nullishToOptional(_zod.z.string()),
|
|
4056
|
+
status: VersionCreationJobStatus,
|
|
4057
|
+
errorMessage: nullishToOptional(_zod.z.string())
|
|
4058
|
+
});
|
|
4059
|
+
|
|
4060
|
+
// src/export/export-destinations.ts
|
|
4061
|
+
var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
|
|
4062
|
+
var BITBUCKET_MAX_LENGTH = 64;
|
|
4063
|
+
var ExportJobDocumentationChanges = _zod.z.object({
|
|
4064
|
+
pagePersistentIds: _zod.z.string().array(),
|
|
4065
|
+
groupPersistentIds: _zod.z.string().array()
|
|
4066
|
+
});
|
|
4067
|
+
var ExporterDestinationDocs = _zod.z.object({
|
|
4068
|
+
environment: PublishedDocEnvironment,
|
|
4069
|
+
changes: nullishToOptional(ExportJobDocumentationChanges)
|
|
4070
|
+
});
|
|
4071
|
+
var ExporterDestinationS3 = _zod.z.object({});
|
|
4072
|
+
var ExporterDestinationGithub = _zod.z.object({
|
|
4073
|
+
credentialId: _zod.z.string().optional(),
|
|
4074
|
+
// Repository
|
|
4075
|
+
url: _zod.z.string(),
|
|
4076
|
+
// Location
|
|
4077
|
+
branch: _zod.z.string(),
|
|
4078
|
+
relativePath: nullishToOptional(_zod.z.string()),
|
|
4079
|
+
// Legacy deprecated fields. Use `credentialId` instead
|
|
4080
|
+
connectionId: nullishToOptional(_zod.z.string()),
|
|
4081
|
+
userId: nullishToOptional(_zod.z.number())
|
|
4082
|
+
});
|
|
4083
|
+
var ExporterDestinationAzure = _zod.z.object({
|
|
4084
|
+
credentialId: _zod.z.string().optional(),
|
|
4085
|
+
// Repository
|
|
4086
|
+
organizationId: _zod.z.string(),
|
|
4087
|
+
projectId: _zod.z.string(),
|
|
4088
|
+
repositoryId: _zod.z.string(),
|
|
4089
|
+
// Location
|
|
4090
|
+
branch: _zod.z.string(),
|
|
4091
|
+
relativePath: nullishToOptional(_zod.z.string()),
|
|
4092
|
+
// Maybe not needed
|
|
4093
|
+
url: nullishToOptional(_zod.z.string()),
|
|
4094
|
+
// Legacy deprecated fields. Use `credentialId` instead
|
|
4095
|
+
connectionId: nullishToOptional(_zod.z.string()),
|
|
4096
|
+
userId: nullishToOptional(_zod.z.number())
|
|
4097
|
+
});
|
|
4098
|
+
var ExporterDestinationGitlab = _zod.z.object({
|
|
4099
|
+
credentialId: _zod.z.string().optional(),
|
|
4100
|
+
// Repository
|
|
4101
|
+
projectId: _zod.z.string(),
|
|
4102
|
+
// Location
|
|
4103
|
+
branch: _zod.z.string(),
|
|
4104
|
+
relativePath: nullishToOptional(_zod.z.string()),
|
|
4105
|
+
// Maybe not needed
|
|
4106
|
+
url: nullishToOptional(_zod.z.string()),
|
|
4107
|
+
// Legacy deprecated fields. Use `credentialId` instead
|
|
4108
|
+
connectionId: nullishToOptional(_zod.z.string()),
|
|
4109
|
+
userId: nullishToOptional(_zod.z.number())
|
|
4110
|
+
});
|
|
4111
|
+
var ExporterDestinationBitbucket = _zod.z.object({
|
|
4112
|
+
credentialId: _zod.z.string().optional(),
|
|
4113
|
+
// Repository
|
|
4114
|
+
workspaceSlug: _zod.z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
4115
|
+
projectKey: _zod.z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
4116
|
+
repoSlug: _zod.z.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
4117
|
+
// Location
|
|
4118
|
+
branch: _zod.z.string(),
|
|
4119
|
+
relativePath: nullishToOptional(_zod.z.string()),
|
|
4120
|
+
// Legacy deprecated fields. Use `credentialId` instead
|
|
4121
|
+
connectionId: nullishToOptional(_zod.z.string()),
|
|
4122
|
+
userId: nullishToOptional(_zod.z.number())
|
|
4123
|
+
});
|
|
4124
|
+
var ExportDestinationsMap = _zod.z.object({
|
|
4125
|
+
webhookUrl: _zod.z.string().optional(),
|
|
4126
|
+
destinationSnDocs: ExporterDestinationDocs.optional(),
|
|
4127
|
+
destinationS3: ExporterDestinationS3.optional(),
|
|
4128
|
+
destinationGithub: ExporterDestinationGithub.optional(),
|
|
4129
|
+
destinationAzure: ExporterDestinationAzure.optional(),
|
|
4130
|
+
destinationGitlab: ExporterDestinationGitlab.optional(),
|
|
4131
|
+
destinationBitbucket: ExporterDestinationBitbucket.optional()
|
|
4132
|
+
});
|
|
4133
|
+
|
|
4134
|
+
// src/export/pipeline.ts
|
|
4135
|
+
var PipelineEventType = _zod.z.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
|
|
4136
|
+
var PipelineDestinationGitType = _zod.z.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
|
|
4137
|
+
var PipelineDestinationExtraType = _zod.z.enum(["WebhookUrl", "S3", "Documentation"]);
|
|
4138
|
+
var PipelineDestinationType = _zod.z.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
|
|
4139
|
+
var Pipeline = _zod.z.object({
|
|
4140
|
+
id: _zod.z.string(),
|
|
4141
|
+
name: _zod.z.string(),
|
|
4142
|
+
eventType: PipelineEventType,
|
|
4143
|
+
isEnabled: _zod.z.boolean(),
|
|
4144
|
+
workspaceId: _zod.z.string(),
|
|
4145
|
+
designSystemId: _zod.z.string(),
|
|
4146
|
+
exporterId: _zod.z.string(),
|
|
4147
|
+
brandPersistentId: _zod.z.string().optional(),
|
|
4148
|
+
themePersistentId: _zod.z.string().optional(),
|
|
4149
|
+
// Destinations
|
|
4150
|
+
...ExportDestinationsMap.shape
|
|
4151
|
+
});
|
|
4152
|
+
|
|
4153
|
+
// src/data-dumps/code-integration-dump.ts
|
|
4154
|
+
var ExportJobDump = _zod.z.object({
|
|
4155
|
+
id: _zod.z.string(),
|
|
4156
|
+
createdAt: _zod.z.coerce.date(),
|
|
4157
|
+
finishedAt: _zod.z.coerce.date(),
|
|
4158
|
+
exportArtefacts: _zod.z.string()
|
|
4159
|
+
});
|
|
4160
|
+
var CodeIntegrationDump = _zod.z.object({
|
|
4161
|
+
exporters: Exporter.array(),
|
|
4162
|
+
pipelines: Pipeline.array(),
|
|
4163
|
+
exportJobs: ExportJobDump.array()
|
|
4164
|
+
});
|
|
4165
|
+
|
|
4166
|
+
// src/data-dumps/design-system-dump.ts
|
|
4167
|
+
|
|
4168
|
+
|
|
4169
|
+
// src/data-dumps/design-system-version-dump.ts
|
|
4170
|
+
|
|
4171
|
+
|
|
4172
|
+
// src/liveblocks/rooms/design-system-version-room.ts
|
|
4173
|
+
|
|
4174
|
+
var DesignSystemVersionRoom = Entity.extend({
|
|
4175
|
+
designSystemVersionId: _zod.z.string(),
|
|
4176
|
+
liveblocksId: _zod.z.string()
|
|
4177
|
+
});
|
|
4178
|
+
var DesignSystemVersionRoomInternalSettings = _zod.z.object({
|
|
4179
|
+
routingVersion: _zod.z.string(),
|
|
4180
|
+
isDraftFeatureAdopted: _zod.z.boolean()
|
|
4181
|
+
});
|
|
4182
|
+
var DesignSystemVersionRoomInitialState = _zod.z.object({
|
|
4183
|
+
pages: _zod.z.array(DocumentationPageV2),
|
|
4184
|
+
groups: _zod.z.array(ElementGroup),
|
|
4185
|
+
pageSnapshots: _zod.z.array(DocumentationPageSnapshot),
|
|
4186
|
+
groupSnapshots: _zod.z.array(ElementGroupSnapshot),
|
|
4187
|
+
internalSettings: DesignSystemVersionRoomInternalSettings
|
|
4188
|
+
});
|
|
4189
|
+
var DesignSystemVersionRoomUpdate = _zod.z.object({
|
|
4190
|
+
pages: _zod.z.array(DocumentationPageV2),
|
|
4191
|
+
groups: _zod.z.array(ElementGroup),
|
|
4192
|
+
pageIdsToDelete: _zod.z.array(_zod.z.string()),
|
|
4193
|
+
groupIdsToDelete: _zod.z.array(_zod.z.string()),
|
|
4194
|
+
pageSnapshots: _zod.z.array(DocumentationPageSnapshot),
|
|
4195
|
+
groupSnapshots: _zod.z.array(ElementGroupSnapshot),
|
|
4196
|
+
pageSnapshotIdsToDelete: _zod.z.array(_zod.z.string()),
|
|
4197
|
+
groupSnapshotIdsToDelete: _zod.z.array(_zod.z.string()),
|
|
4198
|
+
pageHashesToUpdate: _zod.z.record(_zod.z.string(), _zod.z.string())
|
|
4199
|
+
});
|
|
4200
|
+
|
|
4201
|
+
// src/liveblocks/rooms/documentation-page-room.ts
|
|
4202
|
+
|
|
4203
|
+
var DocumentationPageRoom = Entity.extend({
|
|
4204
|
+
designSystemVersionId: _zod.z.string(),
|
|
4205
|
+
documentationPageId: _zod.z.string(),
|
|
4206
|
+
liveblocksId: _zod.z.string(),
|
|
4207
|
+
isDirty: _zod.z.boolean()
|
|
4208
|
+
});
|
|
4209
|
+
var DocumentationPageRoomState = _zod.z.object({
|
|
4210
|
+
pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
4211
|
+
itemConfiguration: DocumentationItemConfigurationV2
|
|
4212
|
+
});
|
|
4213
|
+
var DocumentationPageRoomRoomUpdate = _zod.z.object({
|
|
4214
|
+
page: DocumentationPageV2,
|
|
4215
|
+
pageParent: ElementGroup
|
|
4216
|
+
});
|
|
4217
|
+
var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
|
|
4218
|
+
pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
4219
|
+
blockDefinitions: _zod.z.array(PageBlockDefinition)
|
|
4220
|
+
});
|
|
4221
|
+
var RestoredDocumentationPage = _zod.z.object({
|
|
4222
|
+
page: DocumentationPageV2,
|
|
4223
|
+
pageParent: ElementGroup,
|
|
4224
|
+
pageContent: DocumentationPageContentData,
|
|
4225
|
+
contentHash: _zod.z.string(),
|
|
4226
|
+
roomId: _zod.z.string().optional()
|
|
4227
|
+
});
|
|
4228
|
+
var RestoredDocumentationGroup = _zod.z.object({
|
|
4229
|
+
group: ElementGroup,
|
|
4230
|
+
parent: ElementGroup
|
|
4231
|
+
});
|
|
4232
|
+
|
|
4233
|
+
// src/liveblocks/rooms/room-type.ts
|
|
4234
|
+
|
|
4235
|
+
var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
|
|
4236
|
+
RoomTypeEnum2["DocumentationPage"] = "documentation-page";
|
|
4237
|
+
RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
|
|
4238
|
+
RoomTypeEnum2["Workspace"] = "workspace";
|
|
4239
|
+
return RoomTypeEnum2;
|
|
4240
|
+
})(RoomTypeEnum || {});
|
|
4241
|
+
var RoomTypeSchema = _zod.z.nativeEnum(RoomTypeEnum);
|
|
4242
|
+
var RoomType = RoomTypeSchema.enum;
|
|
4243
|
+
|
|
4244
|
+
// src/liveblocks/rooms/workspace-room.ts
|
|
4245
|
+
|
|
4246
|
+
var WorkspaceRoom = Entity.extend({
|
|
4247
|
+
workspaceId: _zod.z.string(),
|
|
4248
|
+
liveblocksId: _zod.z.string()
|
|
4249
|
+
});
|
|
4250
|
+
|
|
4251
|
+
// src/data-dumps/published-docs-dump.ts
|
|
4252
|
+
|
|
4253
|
+
var PublishedDocsDump = _zod.z.object({
|
|
4254
|
+
documentation: PublishedDoc,
|
|
4255
|
+
pages: PublishedDocPage.array()
|
|
4256
|
+
});
|
|
4257
|
+
|
|
4258
|
+
// src/data-dumps/design-system-version-dump.ts
|
|
4259
|
+
var DocumentationThreadDump = _zod.z.object({
|
|
4260
|
+
thread: DocumentationCommentThread,
|
|
4261
|
+
comments: DocumentationComment.array()
|
|
4262
|
+
});
|
|
4263
|
+
var DocumentationPageRoomDump = _zod.z.object({
|
|
4264
|
+
room: DocumentationPageRoom,
|
|
4265
|
+
threads: DocumentationThreadDump.array()
|
|
4266
|
+
});
|
|
4267
|
+
var DesignSystemVersionMultiplayerDump = _zod.z.object({
|
|
4268
|
+
documentationPages: DocumentationPageRoomDump.array()
|
|
4269
|
+
});
|
|
4270
|
+
var DesignSystemVersionDump = _zod.z.object({
|
|
4271
|
+
version: DesignSystemVersion,
|
|
4272
|
+
brands: Brand.array(),
|
|
4273
|
+
elements: DesignElement.array(),
|
|
4274
|
+
elementPropertyDefinitions: ElementPropertyDefinition.array(),
|
|
4275
|
+
elementPropertyValues: ElementPropertyValue.array(),
|
|
4276
|
+
elementViews: ElementView.array(),
|
|
4277
|
+
elementColumns: ElementViewColumn.array(),
|
|
4278
|
+
documentationPageContents: DocumentationPageContent.array(),
|
|
4279
|
+
documentationPageRooms: DocumentationPageRoomDump.array(),
|
|
4280
|
+
publishedDocumentations: PublishedDocsDump.array(),
|
|
4281
|
+
assetReferences: AssetReference.array()
|
|
4282
|
+
});
|
|
4283
|
+
|
|
4284
|
+
// src/data-dumps/design-system-dump.ts
|
|
4285
|
+
var DesignSystemDump = _zod.z.object({
|
|
4286
|
+
designSystem: DesignSystem,
|
|
4287
|
+
dataSources: DataSource.array(),
|
|
4288
|
+
versions: DesignSystemVersionDump.array(),
|
|
4289
|
+
customDomain: CustomDomain.optional(),
|
|
4290
|
+
files: Asset.array()
|
|
4291
|
+
});
|
|
4292
|
+
|
|
4293
|
+
// src/data-dumps/user-data-dump.ts
|
|
4294
|
+
|
|
4295
|
+
|
|
4296
|
+
// src/users/linked-integrations.ts
|
|
4297
|
+
|
|
4298
|
+
var IntegrationAuthType = _zod.z.union([_zod.z.literal("OAuth2"), _zod.z.literal("PAT")]);
|
|
4299
|
+
var ExternalServiceType = _zod.z.union([
|
|
4300
|
+
_zod.z.literal("figma"),
|
|
4301
|
+
_zod.z.literal("github"),
|
|
4302
|
+
_zod.z.literal("azure"),
|
|
4303
|
+
_zod.z.literal("gitlab"),
|
|
4304
|
+
_zod.z.literal("bitbucket")
|
|
4305
|
+
]);
|
|
4306
|
+
var IntegrationUserInfo = _zod.z.object({
|
|
4307
|
+
id: _zod.z.string(),
|
|
4308
|
+
handle: _zod.z.string().optional(),
|
|
4309
|
+
avatarUrl: _zod.z.string().optional(),
|
|
4310
|
+
email: _zod.z.string().optional(),
|
|
4311
|
+
authType: IntegrationAuthType.optional(),
|
|
4312
|
+
customUrl: _zod.z.string().optional()
|
|
4313
|
+
});
|
|
4314
|
+
var UserLinkedIntegrations = _zod.z.object({
|
|
4315
|
+
figma: IntegrationUserInfo.optional(),
|
|
4316
|
+
github: IntegrationUserInfo.array().optional(),
|
|
4317
|
+
azure: IntegrationUserInfo.array().optional(),
|
|
4318
|
+
gitlab: IntegrationUserInfo.array().optional(),
|
|
4319
|
+
bitbucket: IntegrationUserInfo.array().optional()
|
|
4320
|
+
});
|
|
4321
|
+
|
|
4322
|
+
// src/users/user-analytics-cleanup-schedule.ts
|
|
4323
|
+
|
|
4324
|
+
var UserAnalyticsCleanupSchedule = _zod.z.object({
|
|
4325
|
+
userId: _zod.z.string(),
|
|
4326
|
+
createdAt: _zod.z.coerce.date(),
|
|
4327
|
+
deleteAt: _zod.z.coerce.date()
|
|
4328
|
+
});
|
|
4329
|
+
var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
|
|
4330
|
+
createdAt: true
|
|
4331
|
+
});
|
|
4332
|
+
|
|
4333
|
+
// src/users/user-create.ts
|
|
4334
|
+
|
|
4335
|
+
var CreateUserInput = _zod.z.object({
|
|
4336
|
+
email: _zod.z.string(),
|
|
4337
|
+
name: _zod.z.string(),
|
|
4338
|
+
username: _zod.z.string()
|
|
4339
|
+
});
|
|
4340
|
+
|
|
4341
|
+
// src/users/user-identity.ts
|
|
4342
|
+
|
|
4343
|
+
var UserIdentity = _zod.z.object({
|
|
4344
|
+
id: _zod.z.string(),
|
|
4345
|
+
userId: _zod.z.string()
|
|
4346
|
+
});
|
|
4347
|
+
|
|
4348
|
+
// src/users/user-minified.ts
|
|
4349
|
+
|
|
4350
|
+
var UserMinified = _zod.z.object({
|
|
4351
|
+
id: _zod.z.string(),
|
|
4352
|
+
name: _zod.z.string(),
|
|
4353
|
+
email: _zod.z.string(),
|
|
4354
|
+
avatar: _zod.z.string().optional()
|
|
4355
|
+
});
|
|
4356
|
+
|
|
4357
|
+
// src/users/user-notification-settings.ts
|
|
4358
|
+
|
|
4359
|
+
var LiveblocksNotificationSettings = _zod.z.object({
|
|
4360
|
+
sendCommentNotificationEmails: _zod.z.boolean()
|
|
4361
|
+
});
|
|
4362
|
+
var UserNotificationSettings = _zod.z.object({
|
|
4363
|
+
liveblocksNotificationSettings: LiveblocksNotificationSettings
|
|
4364
|
+
});
|
|
4365
|
+
var defaultNotificationSettings = {
|
|
4366
|
+
liveblocksNotificationSettings: {
|
|
4367
|
+
sendCommentNotificationEmails: true
|
|
4368
|
+
}
|
|
4369
|
+
};
|
|
4370
|
+
|
|
4371
|
+
// src/users/user-profile.ts
|
|
4372
|
+
|
|
4373
|
+
var UserOnboardingDepartment = _zod.z.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
|
|
4374
|
+
var UserOnboardingJobLevel = _zod.z.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
|
|
4375
|
+
var UserOnboarding = _zod.z.object({
|
|
4376
|
+
companyName: _zod.z.string().optional(),
|
|
4377
|
+
numberOfPeopleInOrg: _zod.z.string().optional(),
|
|
4378
|
+
numberOfPeopleInDesignTeam: _zod.z.string().optional(),
|
|
4379
|
+
department: UserOnboardingDepartment.optional(),
|
|
4380
|
+
jobTitle: _zod.z.string().optional(),
|
|
4381
|
+
phase: _zod.z.string().optional(),
|
|
4382
|
+
jobLevel: UserOnboardingJobLevel.optional(),
|
|
4383
|
+
designSystemName: _zod.z.string().optional(),
|
|
4384
|
+
defaultDestination: _zod.z.string().optional(),
|
|
4385
|
+
figmaUrl: _zod.z.string().optional()
|
|
4386
|
+
});
|
|
4387
|
+
var UserProfile = _zod.z.object({
|
|
4388
|
+
name: _zod.z.string(),
|
|
4389
|
+
avatar: _zod.z.string().optional(),
|
|
4390
|
+
nickname: _zod.z.string().optional(),
|
|
4391
|
+
onboarding: UserOnboarding.optional()
|
|
4392
|
+
});
|
|
4393
|
+
var UserProfileUpdate = UserProfile.partial().omit({
|
|
4394
|
+
avatar: true
|
|
4395
|
+
});
|
|
4396
|
+
|
|
4397
|
+
// src/users/user-test.ts
|
|
4398
|
+
|
|
4399
|
+
var UserTest = _zod.z.object({
|
|
4400
|
+
id: _zod.z.string(),
|
|
4401
|
+
email: _zod.z.string()
|
|
4402
|
+
});
|
|
4403
|
+
|
|
4404
|
+
// src/users/user.ts
|
|
4405
|
+
|
|
4406
|
+
var User = _zod.z.object({
|
|
4407
|
+
id: _zod.z.string(),
|
|
4408
|
+
email: _zod.z.string(),
|
|
4409
|
+
emailVerified: _zod.z.boolean(),
|
|
4410
|
+
createdAt: _zod.z.coerce.date(),
|
|
4411
|
+
trialExpiresAt: _zod.z.coerce.date().optional(),
|
|
4412
|
+
profile: UserProfile,
|
|
4413
|
+
linkedIntegrations: UserLinkedIntegrations.optional(),
|
|
4414
|
+
loggedOutAt: _zod.z.coerce.date().optional(),
|
|
4415
|
+
isProtected: _zod.z.boolean()
|
|
4416
|
+
});
|
|
4417
|
+
|
|
4418
|
+
// src/data-dumps/workspace-dump.ts
|
|
4419
|
+
|
|
4408
4420
|
|
|
4409
4421
|
// src/integrations/integration.ts
|
|
4422
|
+
|
|
4410
4423
|
var IntegrationDesignSystem = _zod.z.object({
|
|
4411
4424
|
designSystemId: _zod.z.string(),
|
|
4412
4425
|
brandId: _zod.z.string(),
|
|
@@ -5528,5 +5541,8 @@ var PersonalAccessToken = _zod.z.object({
|
|
|
5528
5541
|
|
|
5529
5542
|
|
|
5530
5543
|
|
|
5531
|
-
exports.Address = Address; exports.Asset = Asset; exports.AssetDeleteSchedule = AssetDeleteSchedule; exports.AssetDynamoRecord = AssetDynamoRecord; exports.AssetFontProperties = AssetFontProperties; exports.AssetImportModelInput = AssetImportModelInput; exports.AssetOrigin = AssetOrigin; exports.AssetProcessStatus = AssetProcessStatus; exports.AssetProperties = AssetProperties; exports.AssetReference = AssetReference; exports.AssetRenderConfiguration = AssetRenderConfiguration; exports.AssetScope = AssetScope; exports.AssetType = AssetType; exports.AssetValue = AssetValue; exports.AuthTokens = AuthTokens; exports.BillingDetails = BillingDetails; exports.BillingIntervalSchema = BillingIntervalSchema; exports.BillingType = BillingType; exports.BillingTypeSchema = BillingTypeSchema; exports.BlurTokenData = BlurTokenData; exports.BlurType = BlurType; exports.BlurValue = BlurValue; exports.BorderPosition = BorderPosition; exports.BorderRadiusTokenData = BorderRadiusTokenData; exports.BorderRadiusUnit = BorderRadiusUnit; exports.BorderRadiusValue = BorderRadiusValue; exports.BorderStyle = BorderStyle; exports.BorderTokenData = BorderTokenData; exports.BorderValue = BorderValue; exports.BorderWidthTokenData = BorderWidthTokenData; exports.BorderWidthUnit = BorderWidthUnit; exports.BorderWidthValue = BorderWidthValue; exports.Brand = Brand; exports.BrandedElementGroup = BrandedElementGroup; exports.CardSchema = CardSchema; exports.ChangedImportedFigmaSourceData = ChangedImportedFigmaSourceData; exports.CodeIntegrationDump = CodeIntegrationDump; exports.ColorTokenData = ColorTokenData; exports.ColorTokenInlineData = ColorTokenInlineData; exports.ColorValue = ColorValue; exports.Component = Component; exports.ComponentElementData = ComponentElementData; exports.ComponentImportModel = ComponentImportModel; exports.ComponentImportModelInput = ComponentImportModelInput; exports.ComponentOrigin = ComponentOrigin; exports.ComponentOriginPart = ComponentOriginPart; exports.ContentLoadInstruction = ContentLoadInstruction; exports.ContentLoaderPayload = ContentLoaderPayload; exports.CreateDesignToken = CreateDesignToken; exports.CreateUserInput = CreateUserInput; exports.CreateWorkspaceInput = CreateWorkspaceInput; exports.CustomDomain = CustomDomain; exports.Customer = Customer; exports.DataSource = DataSource; exports.DataSourceAutoImportMode = DataSourceAutoImportMode; exports.DataSourceFigmaFileData = DataSourceFigmaFileData; exports.DataSourceFigmaFileVersionData = DataSourceFigmaFileVersionData; exports.DataSourceFigmaImportMetadata = DataSourceFigmaImportMetadata; exports.DataSourceFigmaRemote = DataSourceFigmaRemote; exports.DataSourceFigmaScope = DataSourceFigmaScope; exports.DataSourceFigmaState = DataSourceFigmaState; exports.DataSourceImportModel = DataSourceImportModel; exports.DataSourceRemote = DataSourceRemote; exports.DataSourceRemoteType = DataSourceRemoteType; exports.DataSourceStats = DataSourceStats; exports.DataSourceTokenStudioRemote = DataSourceTokenStudioRemote; exports.DataSourceUploadImportMetadata = DataSourceUploadImportMetadata; exports.DataSourceUploadRemote = DataSourceUploadRemote; exports.DataSourceUploadRemoteSource = DataSourceUploadRemoteSource; exports.DataSourceVersion = DataSourceVersion; exports.DesignElement = DesignElement; exports.DesignElementBase = DesignElementBase; exports.DesignElementBrandedPart = DesignElementBrandedPart; exports.DesignElementCategory = DesignElementCategory; exports.DesignElementGroupableBase = DesignElementGroupableBase; exports.DesignElementGroupablePart = DesignElementGroupablePart; exports.DesignElementGroupableRequiredPart = DesignElementGroupableRequiredPart; exports.DesignElementImportedBase = DesignElementImportedBase; exports.DesignElementOrigin = DesignElementOrigin; exports.DesignElementSlugPart = DesignElementSlugPart; exports.DesignElementSnapshotBase = DesignElementSnapshotBase; exports.DesignElementSnapshotReason = DesignElementSnapshotReason; exports.DesignElementType = DesignElementType; exports.DesignSystem = DesignSystem; exports.DesignSystemCreateInput = DesignSystemCreateInput; exports.DesignSystemDump = DesignSystemDump; exports.DesignSystemElementExportProps = DesignSystemElementExportProps; exports.DesignSystemSwitcher = DesignSystemSwitcher; exports.DesignSystemUpdateInput = DesignSystemUpdateInput; exports.DesignSystemVersion = DesignSystemVersion; exports.DesignSystemVersionDump = DesignSystemVersionDump; exports.DesignSystemVersionMultiplayerDump = DesignSystemVersionMultiplayerDump; exports.DesignSystemVersionRoom = DesignSystemVersionRoom; exports.DesignSystemVersionRoomInitialState = DesignSystemVersionRoomInitialState; exports.DesignSystemVersionRoomInternalSettings = DesignSystemVersionRoomInternalSettings; exports.DesignSystemVersionRoomUpdate = DesignSystemVersionRoomUpdate; exports.DesignSystemWithWorkspace = DesignSystemWithWorkspace; exports.DesignToken = DesignToken; exports.DesignTokenImportModel = DesignTokenImportModel; exports.DesignTokenImportModelBase = DesignTokenImportModelBase; exports.DesignTokenImportModelInput = DesignTokenImportModelInput; exports.DesignTokenImportModelInputBase = DesignTokenImportModelInputBase; exports.DesignTokenOrigin = DesignTokenOrigin; exports.DesignTokenOriginPart = DesignTokenOriginPart; exports.DesignTokenType = DesignTokenType; exports.DesignTokenTypedData = DesignTokenTypedData; exports.DimensionTokenData = DimensionTokenData; exports.DimensionUnit = DimensionUnit; exports.DimensionValue = DimensionValue; exports.DocumentationComment = DocumentationComment; exports.DocumentationCommentThread = DocumentationCommentThread; exports.DocumentationGroupBehavior = DocumentationGroupBehavior; exports.DocumentationGroupV1 = DocumentationGroupV1; exports.DocumentationItemConfigurationV1 = DocumentationItemConfigurationV1; exports.DocumentationItemConfigurationV2 = DocumentationItemConfigurationV2; exports.DocumentationItemHeaderAlignment = DocumentationItemHeaderAlignment; exports.DocumentationItemHeaderAlignmentSchema = DocumentationItemHeaderAlignmentSchema; exports.DocumentationItemHeaderImageScaleType = DocumentationItemHeaderImageScaleType; exports.DocumentationItemHeaderImageScaleTypeSchema = DocumentationItemHeaderImageScaleTypeSchema; exports.DocumentationItemHeaderV1 = DocumentationItemHeaderV1; exports.DocumentationItemHeaderV2 = DocumentationItemHeaderV2; exports.DocumentationLinkPreview = DocumentationLinkPreview; exports.DocumentationPage = DocumentationPage; exports.DocumentationPageAnchor = DocumentationPageAnchor; exports.DocumentationPageContent = DocumentationPageContent; exports.DocumentationPageContentBackup = DocumentationPageContentBackup; exports.DocumentationPageContentData = DocumentationPageContentData; exports.DocumentationPageContentItem = DocumentationPageContentItem; exports.DocumentationPageDataV1 = DocumentationPageDataV1; exports.DocumentationPageDataV2 = DocumentationPageDataV2; exports.DocumentationPageGroup = DocumentationPageGroup; exports.DocumentationPageRoom = DocumentationPageRoom; exports.DocumentationPageRoomDump = DocumentationPageRoomDump; exports.DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomInitialStateUpdate; exports.DocumentationPageRoomRoomUpdate = DocumentationPageRoomRoomUpdate; exports.DocumentationPageRoomState = DocumentationPageRoomState; exports.DocumentationPageSnapshot = DocumentationPageSnapshot; exports.DocumentationPageV1 = DocumentationPageV1; exports.DocumentationPageV2 = DocumentationPageV2; exports.DocumentationThreadDump = DocumentationThreadDump; exports.DurationTokenData = DurationTokenData; exports.DurationUnit = DurationUnit; exports.DurationValue = DurationValue; exports.ElementGroup = ElementGroup; exports.ElementGroupDataV1 = ElementGroupDataV1; exports.ElementGroupDataV2 = ElementGroupDataV2; exports.ElementGroupSnapshot = ElementGroupSnapshot; exports.ElementPropertyDefinition = ElementPropertyDefinition; exports.ElementPropertyDefinitionOption = ElementPropertyDefinitionOption; exports.ElementPropertyLinkType = ElementPropertyLinkType; exports.ElementPropertyTargetType = ElementPropertyTargetType; exports.ElementPropertyType = ElementPropertyType; exports.ElementPropertyTypeSchema = ElementPropertyTypeSchema; exports.ElementPropertyValue = ElementPropertyValue; exports.ElementView = ElementView; exports.ElementViewBaseColumnType = ElementViewBaseColumnType; exports.ElementViewBasePropertyColumn = ElementViewBasePropertyColumn; exports.ElementViewColumn = ElementViewColumn; exports.ElementViewColumnSharedAttributes = ElementViewColumnSharedAttributes; exports.ElementViewColumnType = ElementViewColumnType; exports.ElementViewPropertyDefinitionColumn = ElementViewPropertyDefinitionColumn; exports.ElementViewThemeColumn = ElementViewThemeColumn; exports.Entity = Entity; exports.ExportDestinationsMap = ExportDestinationsMap; exports.ExportJob = ExportJob; exports.ExportJobContext = ExportJobContext; exports.ExportJobDestinationType = ExportJobDestinationType; exports.ExportJobDocsDestinationResult = ExportJobDocsDestinationResult; exports.ExportJobDocumentationChanges = ExportJobDocumentationChanges; exports.ExportJobDocumentationContext = ExportJobDocumentationContext; exports.ExportJobDump = ExportJobDump; exports.ExportJobFindByFilter = ExportJobFindByFilter; exports.ExportJobLogEntry = ExportJobLogEntry; exports.ExportJobLogEntryType = ExportJobLogEntryType; exports.ExportJobPullRequestDestinationResult = ExportJobPullRequestDestinationResult; exports.ExportJobResult = ExportJobResult; exports.ExportJobS3DestinationResult = ExportJobS3DestinationResult; exports.ExportJobStatus = ExportJobStatus; exports.Exporter = Exporter; exports.ExporterDestinationAzure = ExporterDestinationAzure; exports.ExporterDestinationBitbucket = ExporterDestinationBitbucket; exports.ExporterDestinationDocs = ExporterDestinationDocs; exports.ExporterDestinationGithub = ExporterDestinationGithub; exports.ExporterDestinationGitlab = ExporterDestinationGitlab; exports.ExporterDestinationS3 = ExporterDestinationS3; exports.ExporterDetails = ExporterDetails; exports.ExporterFunctionPayload = ExporterFunctionPayload; exports.ExporterPropertyImageValue = ExporterPropertyImageValue; exports.ExporterPropertyValue = ExporterPropertyValue; exports.ExporterPropertyValuesCollection = ExporterPropertyValuesCollection; exports.ExporterPulsarDetails = ExporterPulsarDetails; exports.ExporterSource = ExporterSource; exports.ExporterTag = ExporterTag; exports.ExporterType = ExporterType; exports.ExporterWorkspaceMembership = ExporterWorkspaceMembership; exports.ExporterWorkspaceMembershipRole = ExporterWorkspaceMembershipRole; exports.ExtendedIntegrationType = ExtendedIntegrationType; exports.ExternalOAuthRequest = ExternalOAuthRequest; exports.ExternalServiceType = ExternalServiceType; exports.FeatureFlag = FeatureFlag; exports.FeatureFlagMap = FeatureFlagMap; exports.FeaturesSummary = FeaturesSummary; exports.FigmaFileAccessData = FigmaFileAccessData; exports.FigmaFileDownloadScope = FigmaFileDownloadScope; exports.FigmaFileStructure = FigmaFileStructure; exports.FigmaFileStructureData = FigmaFileStructureData; exports.FigmaFileStructureElementData = FigmaFileStructureElementData; exports.FigmaFileStructureImportModel = FigmaFileStructureImportModel; exports.FigmaFileStructureImportModelInput = FigmaFileStructureImportModelInput; exports.FigmaFileStructureNode = FigmaFileStructureNode; exports.FigmaFileStructureNodeBase = FigmaFileStructureNodeBase; exports.FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModel; exports.FigmaFileStructureNodeType = FigmaFileStructureNodeType; exports.FigmaFileStructureOrigin = FigmaFileStructureOrigin; exports.FigmaFileStructureStatistics = FigmaFileStructureStatistics; exports.FigmaImportBaseContext = FigmaImportBaseContext; exports.FigmaImportContextWithDownloadScopes = FigmaImportContextWithDownloadScopes; exports.FigmaImportContextWithSourcesState = FigmaImportContextWithSourcesState; exports.FigmaNodeReference = FigmaNodeReference; exports.FigmaNodeReferenceData = FigmaNodeReferenceData; exports.FigmaNodeReferenceElementData = FigmaNodeReferenceElementData; exports.FigmaNodeReferenceOrigin = FigmaNodeReferenceOrigin; exports.FigmaPngRenderImportModel = FigmaPngRenderImportModel; exports.FigmaRenderFormat = FigmaRenderFormat; exports.FigmaRenderImportModel = FigmaRenderImportModel; exports.FigmaSvgRenderImportModel = FigmaSvgRenderImportModel; exports.FileStructureStats = FileStructureStats; exports.FlaggedFeature = FlaggedFeature; exports.FontFamilyTokenData = FontFamilyTokenData; exports.FontFamilyValue = FontFamilyValue; exports.FontSizeTokenData = FontSizeTokenData; exports.FontSizeUnit = FontSizeUnit; exports.FontSizeValue = FontSizeValue; exports.FontWeightTokenData = FontWeightTokenData; exports.FontWeightValue = FontWeightValue; exports.GitBranch = GitBranch; exports.GitIntegrationType = GitIntegrationType; exports.GitObjectsQuery = GitObjectsQuery; exports.GitOrganization = GitOrganization; exports.GitProject = GitProject; exports.GitProvider = GitProvider; exports.GitProviderNames = GitProviderNames; exports.GitRepository = GitRepository; exports.GradientLayerData = GradientLayerData; exports.GradientLayerValue = GradientLayerValue; exports.GradientStop = GradientStop; exports.GradientTokenData = GradientTokenData; exports.GradientTokenValue = GradientTokenValue; exports.GradientType = GradientType; exports.HANDLE_MAX_LENGTH = HANDLE_MAX_LENGTH; exports.HANDLE_MIN_LENGTH = HANDLE_MIN_LENGTH; exports.HierarchicalElements = HierarchicalElements; exports.IconSet = IconSet; exports.ImageImportModel = ImageImportModel; exports.ImageImportModelType = ImageImportModelType; exports.ImportFunctionInput = ImportFunctionInput; exports.ImportJob = ImportJob; exports.ImportJobOperation = ImportJobOperation; exports.ImportJobState = ImportJobState; exports.ImportModelBase = ImportModelBase; exports.ImportModelCollection = ImportModelCollection; exports.ImportModelInputBase = ImportModelInputBase; exports.ImportModelInputCollection = ImportModelInputCollection; exports.ImportWarning = ImportWarning; exports.ImportWarningType = ImportWarningType; exports.ImportedFigmaSourceData = ImportedFigmaSourceData; exports.Integration = Integration; exports.IntegrationAuthType = IntegrationAuthType; exports.IntegrationCredentials = IntegrationCredentials; exports.IntegrationCredentialsProfile = IntegrationCredentialsProfile; exports.IntegrationCredentialsState = IntegrationCredentialsState; exports.IntegrationCredentialsType = IntegrationCredentialsType; exports.IntegrationDesignSystem = IntegrationDesignSystem; exports.IntegrationToken = IntegrationToken; exports.IntegrationTokenSchemaOld = IntegrationTokenSchemaOld; exports.IntegrationType = IntegrationType; exports.IntegrationUserInfo = IntegrationUserInfo; exports.InternalStatus = InternalStatus; exports.InternalStatusSchema = InternalStatusSchema; exports.InvoiceCouponSchema = InvoiceCouponSchema; exports.InvoiceLineSchema = InvoiceLineSchema; exports.InvoiceSchema = InvoiceSchema; exports.LetterSpacingTokenData = LetterSpacingTokenData; exports.LetterSpacingUnit = LetterSpacingUnit; exports.LetterSpacingValue = LetterSpacingValue; exports.LineHeightTokenData = LineHeightTokenData; exports.LineHeightUnit = LineHeightUnit; exports.LineHeightValue = LineHeightValue; exports.LiveblocksNotificationSettings = LiveblocksNotificationSettings; exports.MAX_MEMBERS_COUNT = MAX_MEMBERS_COUNT; exports.NpmPackage = NpmPackage; exports.NpmProxyToken = NpmProxyToken; exports.NpmProxyTokenPayload = NpmProxyTokenPayload; exports.NpmRegistrCustomAuthConfig = NpmRegistrCustomAuthConfig; exports.NpmRegistryAuthConfig = NpmRegistryAuthConfig; exports.NpmRegistryAuthType = NpmRegistryAuthType; exports.NpmRegistryBasicAuthConfig = NpmRegistryBasicAuthConfig; exports.NpmRegistryBearerAuthConfig = NpmRegistryBearerAuthConfig; exports.NpmRegistryConfig = NpmRegistryConfig; exports.NpmRegistryNoAuthConfig = NpmRegistryNoAuthConfig; exports.NpmRegistryType = NpmRegistryType; exports.OAuthProvider = OAuthProvider; exports.OAuthProviderNames = OAuthProviderNames; exports.OAuthProviderSchema = OAuthProviderSchema; exports.ObjectMeta = ObjectMeta; exports.OpacityTokenData = OpacityTokenData; exports.OpacityValue = OpacityValue; exports.PageBlockAlignment = PageBlockAlignment; exports.PageBlockAppearanceV2 = PageBlockAppearanceV2; exports.PageBlockAsset = PageBlockAsset; exports.PageBlockAssetComponent = PageBlockAssetComponent; exports.PageBlockAssetEntityMeta = PageBlockAssetEntityMeta; exports.PageBlockAssetType = PageBlockAssetType; exports.PageBlockBaseV1 = PageBlockBaseV1; exports.PageBlockBehaviorDataType = PageBlockBehaviorDataType; exports.PageBlockBehaviorSelectionType = PageBlockBehaviorSelectionType; exports.PageBlockCalloutType = PageBlockCalloutType; exports.PageBlockCategory = PageBlockCategory; exports.PageBlockCodeLanguage = PageBlockCodeLanguage; exports.PageBlockColorV2 = PageBlockColorV2; exports.PageBlockCustomBlockPropertyImageValue = PageBlockCustomBlockPropertyImageValue; exports.PageBlockCustomBlockPropertyValue = PageBlockCustomBlockPropertyValue; exports.PageBlockDataV2 = PageBlockDataV2; exports.PageBlockDefinition = PageBlockDefinition; exports.PageBlockDefinitionAppearance = PageBlockDefinitionAppearance; exports.PageBlockDefinitionBehavior = PageBlockDefinitionBehavior; exports.PageBlockDefinitionBooleanOptions = PageBlockDefinitionBooleanOptions; exports.PageBlockDefinitionBooleanPropertyStyle = PageBlockDefinitionBooleanPropertyStyle; exports.PageBlockDefinitionComponentOptions = PageBlockDefinitionComponentOptions; exports.PageBlockDefinitionImageAspectRatio = PageBlockDefinitionImageAspectRatio; exports.PageBlockDefinitionImageOptions = PageBlockDefinitionImageOptions; exports.PageBlockDefinitionImageWidth = PageBlockDefinitionImageWidth; exports.PageBlockDefinitionItem = PageBlockDefinitionItem; exports.PageBlockDefinitionLayout = PageBlockDefinitionLayout; exports.PageBlockDefinitionLayoutAlign = PageBlockDefinitionLayoutAlign; exports.PageBlockDefinitionLayoutBase = PageBlockDefinitionLayoutBase; exports.PageBlockDefinitionLayoutGap = PageBlockDefinitionLayoutGap; exports.PageBlockDefinitionLayoutResizing = PageBlockDefinitionLayoutResizing; exports.PageBlockDefinitionLayoutType = PageBlockDefinitionLayoutType; exports.PageBlockDefinitionMultiRichTextPropertyStyle = PageBlockDefinitionMultiRichTextPropertyStyle; exports.PageBlockDefinitionMultiSelectPropertyStyle = PageBlockDefinitionMultiSelectPropertyStyle; exports.PageBlockDefinitionMutiRichTextOptions = PageBlockDefinitionMutiRichTextOptions; exports.PageBlockDefinitionNumberOptions = PageBlockDefinitionNumberOptions; exports.PageBlockDefinitionOnboarding = PageBlockDefinitionOnboarding; exports.PageBlockDefinitionProperty = PageBlockDefinitionProperty; exports.PageBlockDefinitionPropertyType = PageBlockDefinitionPropertyType; exports.PageBlockDefinitionRichTextOptions = PageBlockDefinitionRichTextOptions; exports.PageBlockDefinitionRichTextPropertyStyle = PageBlockDefinitionRichTextPropertyStyle; exports.PageBlockDefinitionSelectChoice = PageBlockDefinitionSelectChoice; exports.PageBlockDefinitionSelectOptions = PageBlockDefinitionSelectOptions; exports.PageBlockDefinitionSingleSelectPropertyColor = PageBlockDefinitionSingleSelectPropertyColor; exports.PageBlockDefinitionSingleSelectPropertyStyle = PageBlockDefinitionSingleSelectPropertyStyle; exports.PageBlockDefinitionTextOptions = PageBlockDefinitionTextOptions; exports.PageBlockDefinitionTextPropertyColor = PageBlockDefinitionTextPropertyColor; exports.PageBlockDefinitionTextPropertyStyle = PageBlockDefinitionTextPropertyStyle; exports.PageBlockDefinitionUntypedPropertyOptions = PageBlockDefinitionUntypedPropertyOptions; exports.PageBlockDefinitionVariant = PageBlockDefinitionVariant; exports.PageBlockDefinitionsMap = PageBlockDefinitionsMap; exports.PageBlockEditorModelV2 = PageBlockEditorModelV2; exports.PageBlockFigmaComponentEntityMeta = PageBlockFigmaComponentEntityMeta; exports.PageBlockFigmaFrameProperties = PageBlockFigmaFrameProperties; exports.PageBlockFigmaNodeEntityMeta = PageBlockFigmaNodeEntityMeta; exports.PageBlockFrame = PageBlockFrame; exports.PageBlockFrameOrigin = PageBlockFrameOrigin; exports.PageBlockGuideline = PageBlockGuideline; exports.PageBlockImageAlignment = PageBlockImageAlignment; exports.PageBlockImageReference = PageBlockImageReference; exports.PageBlockImageResourceReference = PageBlockImageResourceReference; exports.PageBlockImageType = PageBlockImageType; exports.PageBlockItemAssetPropertyValue = PageBlockItemAssetPropertyValue; exports.PageBlockItemAssetValue = PageBlockItemAssetValue; exports.PageBlockItemBooleanValue = PageBlockItemBooleanValue; exports.PageBlockItemCodeValue = PageBlockItemCodeValue; exports.PageBlockItemColorValue = PageBlockItemColorValue; exports.PageBlockItemComponentPropertyValue = PageBlockItemComponentPropertyValue; exports.PageBlockItemComponentValue = PageBlockItemComponentValue; exports.PageBlockItemDividerValue = PageBlockItemDividerValue; exports.PageBlockItemEmbedValue = PageBlockItemEmbedValue; exports.PageBlockItemFigmaComponentValue = PageBlockItemFigmaComponentValue; exports.PageBlockItemFigmaNodeValue = PageBlockItemFigmaNodeValue; exports.PageBlockItemImageValue = PageBlockItemImageValue; exports.PageBlockItemMarkdownValue = PageBlockItemMarkdownValue; exports.PageBlockItemMultiRichTextValue = PageBlockItemMultiRichTextValue; exports.PageBlockItemMultiSelectValue = PageBlockItemMultiSelectValue; exports.PageBlockItemNumberValue = PageBlockItemNumberValue; exports.PageBlockItemRichTextValue = PageBlockItemRichTextValue; exports.PageBlockItemSandboxValue = PageBlockItemSandboxValue; exports.PageBlockItemSingleSelectValue = PageBlockItemSingleSelectValue; exports.PageBlockItemStorybookValue = PageBlockItemStorybookValue; exports.PageBlockItemTableCell = PageBlockItemTableCell; exports.PageBlockItemTableImageNode = PageBlockItemTableImageNode; exports.PageBlockItemTableMultiRichTextNode = PageBlockItemTableMultiRichTextNode; exports.PageBlockItemTableNode = PageBlockItemTableNode; exports.PageBlockItemTableRichTextNode = PageBlockItemTableRichTextNode; exports.PageBlockItemTableRow = PageBlockItemTableRow; exports.PageBlockItemTableValue = PageBlockItemTableValue; exports.PageBlockItemTextValue = PageBlockItemTextValue; exports.PageBlockItemTokenPropertyValue = PageBlockItemTokenPropertyValue; exports.PageBlockItemTokenTypeValue = PageBlockItemTokenTypeValue; exports.PageBlockItemTokenValue = PageBlockItemTokenValue; exports.PageBlockItemUntypedValue = PageBlockItemUntypedValue; exports.PageBlockItemUrlValue = PageBlockItemUrlValue; exports.PageBlockItemV2 = PageBlockItemV2; exports.PageBlockLinkPreview = PageBlockLinkPreview; exports.PageBlockLinkType = PageBlockLinkType; exports.PageBlockLinkV2 = PageBlockLinkV2; exports.PageBlockPreviewContainerSize = PageBlockPreviewContainerSize; exports.PageBlockRenderCodeProperties = PageBlockRenderCodeProperties; exports.PageBlockResourceFrameNodeReference = PageBlockResourceFrameNodeReference; exports.PageBlockShortcut = PageBlockShortcut; exports.PageBlockTableCellAlignment = PageBlockTableCellAlignment; exports.PageBlockTableColumn = PageBlockTableColumn; exports.PageBlockTableProperties = PageBlockTableProperties; exports.PageBlockText = PageBlockText; exports.PageBlockTextSpan = PageBlockTextSpan; exports.PageBlockTextSpanAttribute = PageBlockTextSpanAttribute; exports.PageBlockTextSpanAttributeType = PageBlockTextSpanAttributeType; exports.PageBlockTheme = PageBlockTheme; exports.PageBlockThemeDisplayMode = PageBlockThemeDisplayMode; exports.PageBlockThemeType = PageBlockThemeType; exports.PageBlockTilesAlignment = PageBlockTilesAlignment; exports.PageBlockTilesLayout = PageBlockTilesLayout; exports.PageBlockTypeV1 = PageBlockTypeV1; exports.PageBlockUrlPreview = PageBlockUrlPreview; exports.PageBlockV1 = PageBlockV1; exports.PageBlockV2 = PageBlockV2; exports.PageSectionAppearanceV2 = PageSectionAppearanceV2; exports.PageSectionColumnV2 = PageSectionColumnV2; exports.PageSectionEditorModelV2 = PageSectionEditorModelV2; exports.PageSectionItemV2 = PageSectionItemV2; exports.PageSectionPaddingV2 = PageSectionPaddingV2; exports.PageSectionTypeV2 = PageSectionTypeV2; exports.ParagraphIndentTokenData = ParagraphIndentTokenData; exports.ParagraphIndentUnit = ParagraphIndentUnit; exports.ParagraphIndentValue = ParagraphIndentValue; exports.ParagraphSpacingTokenData = ParagraphSpacingTokenData; exports.ParagraphSpacingUnit = ParagraphSpacingUnit; exports.ParagraphSpacingValue = ParagraphSpacingValue; exports.PeriodSchema = PeriodSchema; exports.PersonalAccessToken = PersonalAccessToken; exports.Pipeline = Pipeline; exports.PipelineDestinationExtraType = PipelineDestinationExtraType; exports.PipelineDestinationGitType = PipelineDestinationGitType; exports.PipelineDestinationType = PipelineDestinationType; exports.PipelineEventType = PipelineEventType; exports.PluginOAuthRequestSchema = PluginOAuthRequestSchema; exports.Point2D = Point2D; exports.PostStripeCheckoutBodyInputSchema = PostStripeCheckoutBodyInputSchema; exports.PostStripeCheckoutOutputSchema = PostStripeCheckoutOutputSchema; exports.PostStripePortalSessionBodyInputSchema = PostStripePortalSessionBodyInputSchema; exports.PostStripePortalSessionOutputSchema = PostStripePortalSessionOutputSchema; exports.PostStripePortalUpdateSessionBodyInputSchema = PostStripePortalUpdateSessionBodyInputSchema; exports.PriceSchema = PriceSchema; exports.ProductCode = ProductCode; exports.ProductCodeSchema = ProductCodeSchema; exports.ProductCopyTokenData = ProductCopyTokenData; exports.ProductCopyValue = ProductCopyValue; exports.PublishedDoc = PublishedDoc; exports.PublishedDocEnvironment = PublishedDocEnvironment; exports.PublishedDocPage = PublishedDocPage; exports.PublishedDocRoutingVersion = PublishedDocRoutingVersion; exports.PublishedDocsChecksums = PublishedDocsChecksums; exports.PublishedDocsDump = PublishedDocsDump; exports.PulsarBaseProperty = PulsarBaseProperty; exports.PulsarContributionConfigurationProperty = PulsarContributionConfigurationProperty; exports.PulsarContributionVariant = PulsarContributionVariant; exports.PulsarCustomBlock = PulsarCustomBlock; exports.PulsarPropertyType = PulsarPropertyType; exports.RESERVED_SLUGS = RESERVED_SLUGS; exports.RESERVED_SLUG_PREFIX = RESERVED_SLUG_PREFIX; exports.RenderedAssetFile = RenderedAssetFile; exports.ResolvedAsset = ResolvedAsset; exports.RestoredDocumentationGroup = RestoredDocumentationGroup; exports.RestoredDocumentationPage = RestoredDocumentationPage; exports.RoomType = RoomType; exports.RoomTypeEnum = RoomTypeEnum; exports.RoomTypeSchema = RoomTypeSchema; exports.SHORT_PERSISTENT_ID_LENGTH = SHORT_PERSISTENT_ID_LENGTH; exports.SafeIdSchema = SafeIdSchema; exports.Session = Session; exports.SessionData = SessionData; exports.ShadowLayerValue = ShadowLayerValue; exports.ShadowTokenData = ShadowTokenData; exports.ShadowType = ShadowType; exports.ShallowDesignElement = ShallowDesignElement; exports.Size = Size; exports.SizeOrUndefined = SizeOrUndefined; exports.SizeTokenData = SizeTokenData; exports.SizeUnit = SizeUnit; exports.SizeValue = SizeValue; exports.SourceImportComponentSummary = SourceImportComponentSummary; exports.SourceImportFrameSummary = SourceImportFrameSummary; exports.SourceImportSummary = SourceImportSummary; exports.SourceImportSummaryByTokenType = SourceImportSummaryByTokenType; exports.SourceImportTokenSummary = SourceImportTokenSummary; exports.SpaceTokenData = SpaceTokenData; exports.SpaceUnit = SpaceUnit; exports.SpaceValue = SpaceValue; exports.SsoProvider = SsoProvider; exports.StringTokenData = StringTokenData; exports.StringValue = StringValue; exports.StripeSubscriptionStatus = StripeSubscriptionStatus; exports.StripeSubscriptionStatusSchema = StripeSubscriptionStatusSchema; exports.Subscription = Subscription; exports.SupernovaException = SupernovaException; exports.TextCase = TextCase; exports.TextCaseTokenData = TextCaseTokenData; exports.TextCaseValue = TextCaseValue; exports.TextDecoration = TextDecoration; exports.TextDecorationTokenData = TextDecorationTokenData; exports.TextDecorationValue = TextDecorationValue; exports.Theme = Theme; exports.ThemeElementData = ThemeElementData; exports.ThemeImportModel = ThemeImportModel; exports.ThemeImportModelInput = ThemeImportModelInput; exports.ThemeOrigin = ThemeOrigin; exports.ThemeOriginObject = ThemeOriginObject; exports.ThemeOriginPart = ThemeOriginPart; exports.ThemeOriginSource = ThemeOriginSource; exports.ThemeOverride = ThemeOverride; exports.ThemeOverrideImportModel = ThemeOverrideImportModel; exports.ThemeOverrideImportModelBase = ThemeOverrideImportModelBase; exports.ThemeOverrideImportModelInput = ThemeOverrideImportModelInput; exports.ThemeOverrideOrigin = ThemeOverrideOrigin; exports.ThemeOverrideOriginPart = ThemeOverrideOriginPart; exports.ThemeUpdateImportModel = ThemeUpdateImportModel; exports.ThemeUpdateImportModelInput = ThemeUpdateImportModelInput; exports.TokenDataAliasSchema = TokenDataAliasSchema; exports.TypographyTokenData = TypographyTokenData; exports.TypographyValue = TypographyValue; exports.UpdateMembershipRolesInput = UpdateMembershipRolesInput; exports.UrlImageImportModel = UrlImageImportModel; exports.User = User; exports.UserAnalyticsCleanupSchedule = UserAnalyticsCleanupSchedule; exports.UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupScheduleDbInput; exports.UserDump = UserDump; exports.UserIdentity = UserIdentity; exports.UserInvite = UserInvite; exports.UserInvites = UserInvites; exports.UserLinkedIntegrations = UserLinkedIntegrations; exports.UserMinified = UserMinified; exports.UserNotificationSettings = UserNotificationSettings; exports.UserOnboarding = UserOnboarding; exports.UserOnboardingDepartment = UserOnboardingDepartment; exports.UserOnboardingJobLevel = UserOnboardingJobLevel; exports.UserProfile = UserProfile; exports.UserProfileUpdate = UserProfileUpdate; exports.UserSession = UserSession; exports.UserTest = UserTest; exports.VersionCreationJob = VersionCreationJob; exports.VersionCreationJobStatus = VersionCreationJobStatus; exports.Visibility = Visibility; exports.VisibilityTokenData = VisibilityTokenData; exports.VisibilityValue = VisibilityValue; exports.Workspace = Workspace; exports.WorkspaceConfigurationUpdate = WorkspaceConfigurationUpdate; exports.WorkspaceContext = WorkspaceContext; exports.WorkspaceDump = WorkspaceDump; exports.WorkspaceInvitation = WorkspaceInvitation; exports.WorkspaceIpSettings = WorkspaceIpSettings; exports.WorkspaceIpWhitelistEntry = WorkspaceIpWhitelistEntry; exports.WorkspaceMembership = WorkspaceMembership; exports.WorkspaceOAuthRequestSchema = WorkspaceOAuthRequestSchema; exports.WorkspaceProfile = WorkspaceProfile; exports.WorkspaceProfileUpdate = WorkspaceProfileUpdate; exports.WorkspaceRole = WorkspaceRole; exports.WorkspaceRoleSchema = WorkspaceRoleSchema; exports.WorkspaceRoom = WorkspaceRoom; exports.WorkspaceWithDesignSystems = WorkspaceWithDesignSystems; exports.ZIndexTokenData = ZIndexTokenData; exports.ZIndexUnit = ZIndexUnit; exports.ZIndexValue = ZIndexValue; exports.addImportModelCollections = addImportModelCollections; exports.buildConstantEnum = buildConstantEnum; exports.defaultDocumentationItemConfigurationV1 = defaultDocumentationItemConfigurationV1; exports.defaultDocumentationItemConfigurationV2 = defaultDocumentationItemConfigurationV2; exports.defaultDocumentationItemHeaderV1 = defaultDocumentationItemHeaderV1; exports.defaultDocumentationItemHeaderV2 = defaultDocumentationItemHeaderV2; exports.defaultNotificationSettings = defaultNotificationSettings; exports.designTokenImportModelTypeFilter = designTokenImportModelTypeFilter; exports.designTokenTypeFilter = designTokenTypeFilter; exports.extractTokenTypedData = extractTokenTypedData; exports.figmaFileStructureImportModelToMap = figmaFileStructureImportModelToMap; exports.figmaFileStructureToMap = figmaFileStructureToMap; exports.filterNonNullish = filterNonNullish; exports.forceUnwrapNullish = forceUnwrapNullish; exports.getCodenameFromText = getCodenameFromText; exports.getFigmaRenderFormatFileExtension = getFigmaRenderFormatFileExtension; exports.groupBy = groupBy; exports.isDesignTokenImportModelOfType = isDesignTokenImportModelOfType; exports.isDesignTokenOfType = isDesignTokenOfType; exports.isImportedAsset = isImportedAsset; exports.isImportedComponent = isImportedComponent; exports.isImportedDesignToken = isImportedDesignToken; exports.isSlugReserved = isSlugReserved; exports.isTokenType = isTokenType; exports.mapByUnique = mapByUnique; exports.mapPageBlockItemValuesV2 = mapPageBlockItemValuesV2; exports.nonNullFilter = nonNullFilter; exports.nonNullishFilter = nonNullishFilter; exports.nullishToOptional = nullishToOptional; exports.parseUrl = parseUrl; exports.promiseWithTimeout = promiseWithTimeout; exports.publishedDocEnvironments = publishedDocEnvironments; exports.sleep = sleep; exports.slugRegex = slugRegex; exports.slugify = slugify; exports.tokenAliasOrValue = tokenAliasOrValue; exports.tokenElementTypes = tokenElementTypes; exports.traversePageBlockItemValuesV2 = traversePageBlockItemValuesV2; exports.traversePageBlockItemsV2 = traversePageBlockItemsV2; exports.traversePageBlocksV1 = traversePageBlocksV1; exports.traversePageItemsV2 = traversePageItemsV2; exports.traverseStructure = traverseStructure; exports.trimLeadingSlash = trimLeadingSlash; exports.trimTrailingSlash = trimTrailingSlash; exports.tryParseShortPersistentId = tryParseShortPersistentId; exports.tryParseUrl = tryParseUrl; exports.uniqueBy = uniqueBy; exports.zodCreateInputOmit = zodCreateInputOmit; exports.zodUpdateInputOmit = zodUpdateInputOmit;
|
|
5544
|
+
|
|
5545
|
+
|
|
5546
|
+
|
|
5547
|
+
exports.Address = Address; exports.Asset = Asset; exports.AssetDeleteSchedule = AssetDeleteSchedule; exports.AssetDynamoRecord = AssetDynamoRecord; exports.AssetFontProperties = AssetFontProperties; exports.AssetImportModelInput = AssetImportModelInput; exports.AssetOrigin = AssetOrigin; exports.AssetProcessStatus = AssetProcessStatus; exports.AssetProperties = AssetProperties; exports.AssetReference = AssetReference; exports.AssetRenderConfiguration = AssetRenderConfiguration; exports.AssetScope = AssetScope; exports.AssetType = AssetType; exports.AssetValue = AssetValue; exports.AuthTokens = AuthTokens; exports.BillingDetails = BillingDetails; exports.BillingIntervalSchema = BillingIntervalSchema; exports.BillingType = BillingType; exports.BillingTypeSchema = BillingTypeSchema; exports.BlurTokenData = BlurTokenData; exports.BlurType = BlurType; exports.BlurValue = BlurValue; exports.BorderPosition = BorderPosition; exports.BorderRadiusTokenData = BorderRadiusTokenData; exports.BorderRadiusUnit = BorderRadiusUnit; exports.BorderRadiusValue = BorderRadiusValue; exports.BorderStyle = BorderStyle; exports.BorderTokenData = BorderTokenData; exports.BorderValue = BorderValue; exports.BorderWidthTokenData = BorderWidthTokenData; exports.BorderWidthUnit = BorderWidthUnit; exports.BorderWidthValue = BorderWidthValue; exports.Brand = Brand; exports.BrandedElementGroup = BrandedElementGroup; exports.CardSchema = CardSchema; exports.ChangedImportedFigmaSourceData = ChangedImportedFigmaSourceData; exports.CodeIntegrationDump = CodeIntegrationDump; exports.ColorTokenData = ColorTokenData; exports.ColorTokenInlineData = ColorTokenInlineData; exports.ColorValue = ColorValue; exports.Component = Component; exports.ComponentElementData = ComponentElementData; exports.ComponentImportModel = ComponentImportModel; exports.ComponentImportModelInput = ComponentImportModelInput; exports.ComponentOrigin = ComponentOrigin; exports.ComponentOriginPart = ComponentOriginPart; exports.ContentLoadInstruction = ContentLoadInstruction; exports.ContentLoaderPayload = ContentLoaderPayload; exports.CreateDesignToken = CreateDesignToken; exports.CreateUserInput = CreateUserInput; exports.CreateWorkspaceInput = CreateWorkspaceInput; exports.CustomDomain = CustomDomain; exports.Customer = Customer; exports.DataSource = DataSource; exports.DataSourceAutoImportMode = DataSourceAutoImportMode; exports.DataSourceFigmaFileData = DataSourceFigmaFileData; exports.DataSourceFigmaFileVersionData = DataSourceFigmaFileVersionData; exports.DataSourceFigmaImportMetadata = DataSourceFigmaImportMetadata; exports.DataSourceFigmaRemote = DataSourceFigmaRemote; exports.DataSourceFigmaScope = DataSourceFigmaScope; exports.DataSourceFigmaState = DataSourceFigmaState; exports.DataSourceImportModel = DataSourceImportModel; exports.DataSourceRemote = DataSourceRemote; exports.DataSourceRemoteType = DataSourceRemoteType; exports.DataSourceStats = DataSourceStats; exports.DataSourceTokenStudioRemote = DataSourceTokenStudioRemote; exports.DataSourceUploadImportMetadata = DataSourceUploadImportMetadata; exports.DataSourceUploadRemote = DataSourceUploadRemote; exports.DataSourceUploadRemoteSource = DataSourceUploadRemoteSource; exports.DataSourceVersion = DataSourceVersion; exports.DesignElement = DesignElement; exports.DesignElementBase = DesignElementBase; exports.DesignElementBrandedPart = DesignElementBrandedPart; exports.DesignElementCategory = DesignElementCategory; exports.DesignElementGroupableBase = DesignElementGroupableBase; exports.DesignElementGroupablePart = DesignElementGroupablePart; exports.DesignElementGroupableRequiredPart = DesignElementGroupableRequiredPart; exports.DesignElementImportedBase = DesignElementImportedBase; exports.DesignElementOrigin = DesignElementOrigin; exports.DesignElementSlugPart = DesignElementSlugPart; exports.DesignElementSnapshotBase = DesignElementSnapshotBase; exports.DesignElementSnapshotReason = DesignElementSnapshotReason; exports.DesignElementType = DesignElementType; exports.DesignSystem = DesignSystem; exports.DesignSystemCreateInput = DesignSystemCreateInput; exports.DesignSystemDump = DesignSystemDump; exports.DesignSystemElementExportProps = DesignSystemElementExportProps; exports.DesignSystemSwitcher = DesignSystemSwitcher; exports.DesignSystemUpdateInput = DesignSystemUpdateInput; exports.DesignSystemVersion = DesignSystemVersion; exports.DesignSystemVersionDump = DesignSystemVersionDump; exports.DesignSystemVersionMultiplayerDump = DesignSystemVersionMultiplayerDump; exports.DesignSystemVersionRoom = DesignSystemVersionRoom; exports.DesignSystemVersionRoomInitialState = DesignSystemVersionRoomInitialState; exports.DesignSystemVersionRoomInternalSettings = DesignSystemVersionRoomInternalSettings; exports.DesignSystemVersionRoomUpdate = DesignSystemVersionRoomUpdate; exports.DesignSystemWithWorkspace = DesignSystemWithWorkspace; exports.DesignToken = DesignToken; exports.DesignTokenImportModel = DesignTokenImportModel; exports.DesignTokenImportModelBase = DesignTokenImportModelBase; exports.DesignTokenImportModelInput = DesignTokenImportModelInput; exports.DesignTokenImportModelInputBase = DesignTokenImportModelInputBase; exports.DesignTokenOrigin = DesignTokenOrigin; exports.DesignTokenOriginPart = DesignTokenOriginPart; exports.DesignTokenType = DesignTokenType; exports.DesignTokenTypedData = DesignTokenTypedData; exports.DimensionTokenData = DimensionTokenData; exports.DimensionUnit = DimensionUnit; exports.DimensionValue = DimensionValue; exports.DocumentationComment = DocumentationComment; exports.DocumentationCommentThread = DocumentationCommentThread; exports.DocumentationGroupBehavior = DocumentationGroupBehavior; exports.DocumentationGroupV1 = DocumentationGroupV1; exports.DocumentationItemConfigurationV1 = DocumentationItemConfigurationV1; exports.DocumentationItemConfigurationV2 = DocumentationItemConfigurationV2; exports.DocumentationItemHeaderAlignment = DocumentationItemHeaderAlignment; exports.DocumentationItemHeaderAlignmentSchema = DocumentationItemHeaderAlignmentSchema; exports.DocumentationItemHeaderImageScaleType = DocumentationItemHeaderImageScaleType; exports.DocumentationItemHeaderImageScaleTypeSchema = DocumentationItemHeaderImageScaleTypeSchema; exports.DocumentationItemHeaderV1 = DocumentationItemHeaderV1; exports.DocumentationItemHeaderV2 = DocumentationItemHeaderV2; exports.DocumentationLinkPreview = DocumentationLinkPreview; exports.DocumentationPage = DocumentationPage; exports.DocumentationPageAnchor = DocumentationPageAnchor; exports.DocumentationPageContent = DocumentationPageContent; exports.DocumentationPageContentBackup = DocumentationPageContentBackup; exports.DocumentationPageContentData = DocumentationPageContentData; exports.DocumentationPageContentItem = DocumentationPageContentItem; exports.DocumentationPageDataV1 = DocumentationPageDataV1; exports.DocumentationPageDataV2 = DocumentationPageDataV2; exports.DocumentationPageGroup = DocumentationPageGroup; exports.DocumentationPageRoom = DocumentationPageRoom; exports.DocumentationPageRoomDump = DocumentationPageRoomDump; exports.DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomInitialStateUpdate; exports.DocumentationPageRoomRoomUpdate = DocumentationPageRoomRoomUpdate; exports.DocumentationPageRoomState = DocumentationPageRoomState; exports.DocumentationPageSnapshot = DocumentationPageSnapshot; exports.DocumentationPageV1 = DocumentationPageV1; exports.DocumentationPageV2 = DocumentationPageV2; exports.DocumentationThreadDump = DocumentationThreadDump; exports.DurationTokenData = DurationTokenData; exports.DurationUnit = DurationUnit; exports.DurationValue = DurationValue; exports.ElementGroup = ElementGroup; exports.ElementGroupDataV1 = ElementGroupDataV1; exports.ElementGroupDataV2 = ElementGroupDataV2; exports.ElementGroupSnapshot = ElementGroupSnapshot; exports.ElementPropertyDefinition = ElementPropertyDefinition; exports.ElementPropertyDefinitionOption = ElementPropertyDefinitionOption; exports.ElementPropertyLinkType = ElementPropertyLinkType; exports.ElementPropertyTargetType = ElementPropertyTargetType; exports.ElementPropertyType = ElementPropertyType; exports.ElementPropertyTypeSchema = ElementPropertyTypeSchema; exports.ElementPropertyValue = ElementPropertyValue; exports.ElementView = ElementView; exports.ElementViewBaseColumnType = ElementViewBaseColumnType; exports.ElementViewBasePropertyColumn = ElementViewBasePropertyColumn; exports.ElementViewColumn = ElementViewColumn; exports.ElementViewColumnSharedAttributes = ElementViewColumnSharedAttributes; exports.ElementViewColumnType = ElementViewColumnType; exports.ElementViewPropertyDefinitionColumn = ElementViewPropertyDefinitionColumn; exports.ElementViewThemeColumn = ElementViewThemeColumn; exports.Entity = Entity; exports.ExportDestinationsMap = ExportDestinationsMap; exports.ExportJob = ExportJob; exports.ExportJobContext = ExportJobContext; exports.ExportJobDestinationType = ExportJobDestinationType; exports.ExportJobDocsDestinationResult = ExportJobDocsDestinationResult; exports.ExportJobDocumentationChanges = ExportJobDocumentationChanges; exports.ExportJobDocumentationContext = ExportJobDocumentationContext; exports.ExportJobDump = ExportJobDump; exports.ExportJobFindByFilter = ExportJobFindByFilter; exports.ExportJobLogEntry = ExportJobLogEntry; exports.ExportJobLogEntryType = ExportJobLogEntryType; exports.ExportJobPullRequestDestinationResult = ExportJobPullRequestDestinationResult; exports.ExportJobResult = ExportJobResult; exports.ExportJobS3DestinationResult = ExportJobS3DestinationResult; exports.ExportJobStatus = ExportJobStatus; exports.Exporter = Exporter; exports.ExporterDestinationAzure = ExporterDestinationAzure; exports.ExporterDestinationBitbucket = ExporterDestinationBitbucket; exports.ExporterDestinationDocs = ExporterDestinationDocs; exports.ExporterDestinationGithub = ExporterDestinationGithub; exports.ExporterDestinationGitlab = ExporterDestinationGitlab; exports.ExporterDestinationS3 = ExporterDestinationS3; exports.ExporterDetails = ExporterDetails; exports.ExporterFunctionPayload = ExporterFunctionPayload; exports.ExporterPropertyImageValue = ExporterPropertyImageValue; exports.ExporterPropertyValue = ExporterPropertyValue; exports.ExporterPropertyValuesCollection = ExporterPropertyValuesCollection; exports.ExporterPulsarDetails = ExporterPulsarDetails; exports.ExporterSource = ExporterSource; exports.ExporterTag = ExporterTag; exports.ExporterType = ExporterType; exports.ExporterWorkspaceMembership = ExporterWorkspaceMembership; exports.ExporterWorkspaceMembershipRole = ExporterWorkspaceMembershipRole; exports.ExtendedIntegrationType = ExtendedIntegrationType; exports.ExternalOAuthRequest = ExternalOAuthRequest; exports.ExternalServiceType = ExternalServiceType; exports.FeatureFlag = FeatureFlag; exports.FeatureFlagMap = FeatureFlagMap; exports.FeaturesSummary = FeaturesSummary; exports.FigmaFileAccessData = FigmaFileAccessData; exports.FigmaFileDownloadScope = FigmaFileDownloadScope; exports.FigmaFileStructure = FigmaFileStructure; exports.FigmaFileStructureData = FigmaFileStructureData; exports.FigmaFileStructureElementData = FigmaFileStructureElementData; exports.FigmaFileStructureImportModel = FigmaFileStructureImportModel; exports.FigmaFileStructureImportModelInput = FigmaFileStructureImportModelInput; exports.FigmaFileStructureNode = FigmaFileStructureNode; exports.FigmaFileStructureNodeBase = FigmaFileStructureNodeBase; exports.FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModel; exports.FigmaFileStructureNodeType = FigmaFileStructureNodeType; exports.FigmaFileStructureOrigin = FigmaFileStructureOrigin; exports.FigmaFileStructureStatistics = FigmaFileStructureStatistics; exports.FigmaImportBaseContext = FigmaImportBaseContext; exports.FigmaImportContextWithDownloadScopes = FigmaImportContextWithDownloadScopes; exports.FigmaImportContextWithSourcesState = FigmaImportContextWithSourcesState; exports.FigmaNodeReference = FigmaNodeReference; exports.FigmaNodeReferenceData = FigmaNodeReferenceData; exports.FigmaNodeReferenceElementData = FigmaNodeReferenceElementData; exports.FigmaNodeReferenceOrigin = FigmaNodeReferenceOrigin; exports.FigmaPngRenderImportModel = FigmaPngRenderImportModel; exports.FigmaRenderFormat = FigmaRenderFormat; exports.FigmaRenderImportModel = FigmaRenderImportModel; exports.FigmaSvgRenderImportModel = FigmaSvgRenderImportModel; exports.FileStructureStats = FileStructureStats; exports.FlaggedFeature = FlaggedFeature; exports.FontFamilyTokenData = FontFamilyTokenData; exports.FontFamilyValue = FontFamilyValue; exports.FontSizeTokenData = FontSizeTokenData; exports.FontSizeUnit = FontSizeUnit; exports.FontSizeValue = FontSizeValue; exports.FontWeightTokenData = FontWeightTokenData; exports.FontWeightValue = FontWeightValue; exports.GitBranch = GitBranch; exports.GitIntegrationType = GitIntegrationType; exports.GitObjectsQuery = GitObjectsQuery; exports.GitOrganization = GitOrganization; exports.GitProject = GitProject; exports.GitProvider = GitProvider; exports.GitProviderNames = GitProviderNames; exports.GitRepository = GitRepository; exports.GradientLayerData = GradientLayerData; exports.GradientLayerValue = GradientLayerValue; exports.GradientStop = GradientStop; exports.GradientTokenData = GradientTokenData; exports.GradientTokenValue = GradientTokenValue; exports.GradientType = GradientType; exports.HANDLE_MAX_LENGTH = HANDLE_MAX_LENGTH; exports.HANDLE_MIN_LENGTH = HANDLE_MIN_LENGTH; exports.HierarchicalElements = HierarchicalElements; exports.IconSet = IconSet; exports.ImageImportModel = ImageImportModel; exports.ImageImportModelType = ImageImportModelType; exports.ImportFunctionInput = ImportFunctionInput; exports.ImportJob = ImportJob; exports.ImportJobOperation = ImportJobOperation; exports.ImportJobState = ImportJobState; exports.ImportModelBase = ImportModelBase; exports.ImportModelCollection = ImportModelCollection; exports.ImportModelInputBase = ImportModelInputBase; exports.ImportModelInputCollection = ImportModelInputCollection; exports.ImportWarning = ImportWarning; exports.ImportWarningType = ImportWarningType; exports.ImportedFigmaSourceData = ImportedFigmaSourceData; exports.Integration = Integration; exports.IntegrationAuthType = IntegrationAuthType; exports.IntegrationCredentials = IntegrationCredentials; exports.IntegrationCredentialsProfile = IntegrationCredentialsProfile; exports.IntegrationCredentialsState = IntegrationCredentialsState; exports.IntegrationCredentialsType = IntegrationCredentialsType; exports.IntegrationDesignSystem = IntegrationDesignSystem; exports.IntegrationToken = IntegrationToken; exports.IntegrationTokenSchemaOld = IntegrationTokenSchemaOld; exports.IntegrationType = IntegrationType; exports.IntegrationUserInfo = IntegrationUserInfo; exports.InternalStatus = InternalStatus; exports.InternalStatusSchema = InternalStatusSchema; exports.InvoiceCouponSchema = InvoiceCouponSchema; exports.InvoiceLineSchema = InvoiceLineSchema; exports.InvoiceSchema = InvoiceSchema; exports.LetterSpacingTokenData = LetterSpacingTokenData; exports.LetterSpacingUnit = LetterSpacingUnit; exports.LetterSpacingValue = LetterSpacingValue; exports.LineHeightTokenData = LineHeightTokenData; exports.LineHeightUnit = LineHeightUnit; exports.LineHeightValue = LineHeightValue; exports.LiveblocksNotificationSettings = LiveblocksNotificationSettings; exports.MAX_MEMBERS_COUNT = MAX_MEMBERS_COUNT; exports.NpmPackage = NpmPackage; exports.NpmProxyToken = NpmProxyToken; exports.NpmProxyTokenPayload = NpmProxyTokenPayload; exports.NpmRegistrCustomAuthConfig = NpmRegistrCustomAuthConfig; exports.NpmRegistryAuthConfig = NpmRegistryAuthConfig; exports.NpmRegistryAuthType = NpmRegistryAuthType; exports.NpmRegistryBasicAuthConfig = NpmRegistryBasicAuthConfig; exports.NpmRegistryBearerAuthConfig = NpmRegistryBearerAuthConfig; exports.NpmRegistryConfig = NpmRegistryConfig; exports.NpmRegistryNoAuthConfig = NpmRegistryNoAuthConfig; exports.NpmRegistryType = NpmRegistryType; exports.OAuthProvider = OAuthProvider; exports.OAuthProviderNames = OAuthProviderNames; exports.OAuthProviderSchema = OAuthProviderSchema; exports.ObjectMeta = ObjectMeta; exports.OpacityTokenData = OpacityTokenData; exports.OpacityValue = OpacityValue; exports.PageBlockAlignment = PageBlockAlignment; exports.PageBlockAppearanceV2 = PageBlockAppearanceV2; exports.PageBlockAsset = PageBlockAsset; exports.PageBlockAssetComponent = PageBlockAssetComponent; exports.PageBlockAssetEntityMeta = PageBlockAssetEntityMeta; exports.PageBlockAssetType = PageBlockAssetType; exports.PageBlockBaseV1 = PageBlockBaseV1; exports.PageBlockBehaviorDataType = PageBlockBehaviorDataType; exports.PageBlockBehaviorSelectionType = PageBlockBehaviorSelectionType; exports.PageBlockCalloutType = PageBlockCalloutType; exports.PageBlockCategory = PageBlockCategory; exports.PageBlockCodeLanguage = PageBlockCodeLanguage; exports.PageBlockColorV2 = PageBlockColorV2; exports.PageBlockCustomBlockPropertyImageValue = PageBlockCustomBlockPropertyImageValue; exports.PageBlockCustomBlockPropertyValue = PageBlockCustomBlockPropertyValue; exports.PageBlockDataV2 = PageBlockDataV2; exports.PageBlockDefinition = PageBlockDefinition; exports.PageBlockDefinitionAppearance = PageBlockDefinitionAppearance; exports.PageBlockDefinitionBehavior = PageBlockDefinitionBehavior; exports.PageBlockDefinitionBooleanOptions = PageBlockDefinitionBooleanOptions; exports.PageBlockDefinitionBooleanPropertyStyle = PageBlockDefinitionBooleanPropertyStyle; exports.PageBlockDefinitionComponentOptions = PageBlockDefinitionComponentOptions; exports.PageBlockDefinitionImageAspectRatio = PageBlockDefinitionImageAspectRatio; exports.PageBlockDefinitionImageOptions = PageBlockDefinitionImageOptions; exports.PageBlockDefinitionImageWidth = PageBlockDefinitionImageWidth; exports.PageBlockDefinitionItem = PageBlockDefinitionItem; exports.PageBlockDefinitionLayout = PageBlockDefinitionLayout; exports.PageBlockDefinitionLayoutAlign = PageBlockDefinitionLayoutAlign; exports.PageBlockDefinitionLayoutBase = PageBlockDefinitionLayoutBase; exports.PageBlockDefinitionLayoutGap = PageBlockDefinitionLayoutGap; exports.PageBlockDefinitionLayoutResizing = PageBlockDefinitionLayoutResizing; exports.PageBlockDefinitionLayoutType = PageBlockDefinitionLayoutType; exports.PageBlockDefinitionMultiRichTextPropertyStyle = PageBlockDefinitionMultiRichTextPropertyStyle; exports.PageBlockDefinitionMultiSelectPropertyStyle = PageBlockDefinitionMultiSelectPropertyStyle; exports.PageBlockDefinitionMutiRichTextOptions = PageBlockDefinitionMutiRichTextOptions; exports.PageBlockDefinitionNumberOptions = PageBlockDefinitionNumberOptions; exports.PageBlockDefinitionOnboarding = PageBlockDefinitionOnboarding; exports.PageBlockDefinitionProperty = PageBlockDefinitionProperty; exports.PageBlockDefinitionPropertyType = PageBlockDefinitionPropertyType; exports.PageBlockDefinitionRichTextOptions = PageBlockDefinitionRichTextOptions; exports.PageBlockDefinitionRichTextPropertyStyle = PageBlockDefinitionRichTextPropertyStyle; exports.PageBlockDefinitionSelectChoice = PageBlockDefinitionSelectChoice; exports.PageBlockDefinitionSelectOptions = PageBlockDefinitionSelectOptions; exports.PageBlockDefinitionSingleSelectPropertyColor = PageBlockDefinitionSingleSelectPropertyColor; exports.PageBlockDefinitionSingleSelectPropertyStyle = PageBlockDefinitionSingleSelectPropertyStyle; exports.PageBlockDefinitionTextOptions = PageBlockDefinitionTextOptions; exports.PageBlockDefinitionTextPropertyColor = PageBlockDefinitionTextPropertyColor; exports.PageBlockDefinitionTextPropertyStyle = PageBlockDefinitionTextPropertyStyle; exports.PageBlockDefinitionUntypedPropertyOptions = PageBlockDefinitionUntypedPropertyOptions; exports.PageBlockDefinitionVariant = PageBlockDefinitionVariant; exports.PageBlockDefinitionsMap = PageBlockDefinitionsMap; exports.PageBlockEditorModelV2 = PageBlockEditorModelV2; exports.PageBlockFigmaComponentEntityMeta = PageBlockFigmaComponentEntityMeta; exports.PageBlockFigmaFrameProperties = PageBlockFigmaFrameProperties; exports.PageBlockFigmaNodeEntityMeta = PageBlockFigmaNodeEntityMeta; exports.PageBlockFrame = PageBlockFrame; exports.PageBlockFrameOrigin = PageBlockFrameOrigin; exports.PageBlockGuideline = PageBlockGuideline; exports.PageBlockImageAlignment = PageBlockImageAlignment; exports.PageBlockImageReference = PageBlockImageReference; exports.PageBlockImageResourceReference = PageBlockImageResourceReference; exports.PageBlockImageType = PageBlockImageType; exports.PageBlockItemAssetPropertyValue = PageBlockItemAssetPropertyValue; exports.PageBlockItemAssetValue = PageBlockItemAssetValue; exports.PageBlockItemBooleanValue = PageBlockItemBooleanValue; exports.PageBlockItemCodeValue = PageBlockItemCodeValue; exports.PageBlockItemColorValue = PageBlockItemColorValue; exports.PageBlockItemComponentPropertyValue = PageBlockItemComponentPropertyValue; exports.PageBlockItemComponentValue = PageBlockItemComponentValue; exports.PageBlockItemDividerValue = PageBlockItemDividerValue; exports.PageBlockItemEmbedValue = PageBlockItemEmbedValue; exports.PageBlockItemFigmaComponentValue = PageBlockItemFigmaComponentValue; exports.PageBlockItemFigmaNodeValue = PageBlockItemFigmaNodeValue; exports.PageBlockItemImageValue = PageBlockItemImageValue; exports.PageBlockItemMarkdownValue = PageBlockItemMarkdownValue; exports.PageBlockItemMultiRichTextValue = PageBlockItemMultiRichTextValue; exports.PageBlockItemMultiSelectValue = PageBlockItemMultiSelectValue; exports.PageBlockItemNumberValue = PageBlockItemNumberValue; exports.PageBlockItemRichTextValue = PageBlockItemRichTextValue; exports.PageBlockItemSandboxValue = PageBlockItemSandboxValue; exports.PageBlockItemSingleSelectValue = PageBlockItemSingleSelectValue; exports.PageBlockItemStorybookValue = PageBlockItemStorybookValue; exports.PageBlockItemTableCell = PageBlockItemTableCell; exports.PageBlockItemTableImageNode = PageBlockItemTableImageNode; exports.PageBlockItemTableMultiRichTextNode = PageBlockItemTableMultiRichTextNode; exports.PageBlockItemTableNode = PageBlockItemTableNode; exports.PageBlockItemTableRichTextNode = PageBlockItemTableRichTextNode; exports.PageBlockItemTableRow = PageBlockItemTableRow; exports.PageBlockItemTableValue = PageBlockItemTableValue; exports.PageBlockItemTextValue = PageBlockItemTextValue; exports.PageBlockItemTokenPropertyValue = PageBlockItemTokenPropertyValue; exports.PageBlockItemTokenTypeValue = PageBlockItemTokenTypeValue; exports.PageBlockItemTokenValue = PageBlockItemTokenValue; exports.PageBlockItemUntypedValue = PageBlockItemUntypedValue; exports.PageBlockItemUrlValue = PageBlockItemUrlValue; exports.PageBlockItemV2 = PageBlockItemV2; exports.PageBlockLinkPreview = PageBlockLinkPreview; exports.PageBlockLinkType = PageBlockLinkType; exports.PageBlockLinkV2 = PageBlockLinkV2; exports.PageBlockPreviewContainerSize = PageBlockPreviewContainerSize; exports.PageBlockRenderCodeProperties = PageBlockRenderCodeProperties; exports.PageBlockResourceFrameNodeReference = PageBlockResourceFrameNodeReference; exports.PageBlockShortcut = PageBlockShortcut; exports.PageBlockTableCellAlignment = PageBlockTableCellAlignment; exports.PageBlockTableColumn = PageBlockTableColumn; exports.PageBlockTableProperties = PageBlockTableProperties; exports.PageBlockText = PageBlockText; exports.PageBlockTextSpan = PageBlockTextSpan; exports.PageBlockTextSpanAttribute = PageBlockTextSpanAttribute; exports.PageBlockTextSpanAttributeType = PageBlockTextSpanAttributeType; exports.PageBlockTheme = PageBlockTheme; exports.PageBlockThemeDisplayMode = PageBlockThemeDisplayMode; exports.PageBlockThemeType = PageBlockThemeType; exports.PageBlockTilesAlignment = PageBlockTilesAlignment; exports.PageBlockTilesLayout = PageBlockTilesLayout; exports.PageBlockTypeV1 = PageBlockTypeV1; exports.PageBlockUrlPreview = PageBlockUrlPreview; exports.PageBlockV1 = PageBlockV1; exports.PageBlockV2 = PageBlockV2; exports.PageSectionAppearanceV2 = PageSectionAppearanceV2; exports.PageSectionColumnV2 = PageSectionColumnV2; exports.PageSectionEditorModelV2 = PageSectionEditorModelV2; exports.PageSectionItemV2 = PageSectionItemV2; exports.PageSectionPaddingV2 = PageSectionPaddingV2; exports.PageSectionTypeV2 = PageSectionTypeV2; exports.ParagraphIndentTokenData = ParagraphIndentTokenData; exports.ParagraphIndentUnit = ParagraphIndentUnit; exports.ParagraphIndentValue = ParagraphIndentValue; exports.ParagraphSpacingTokenData = ParagraphSpacingTokenData; exports.ParagraphSpacingUnit = ParagraphSpacingUnit; exports.ParagraphSpacingValue = ParagraphSpacingValue; exports.PeriodSchema = PeriodSchema; exports.PersonalAccessToken = PersonalAccessToken; exports.Pipeline = Pipeline; exports.PipelineDestinationExtraType = PipelineDestinationExtraType; exports.PipelineDestinationGitType = PipelineDestinationGitType; exports.PipelineDestinationType = PipelineDestinationType; exports.PipelineEventType = PipelineEventType; exports.PluginOAuthRequestSchema = PluginOAuthRequestSchema; exports.Point2D = Point2D; exports.PostStripeCheckoutBodyInputSchema = PostStripeCheckoutBodyInputSchema; exports.PostStripeCheckoutOutputSchema = PostStripeCheckoutOutputSchema; exports.PostStripePortalSessionBodyInputSchema = PostStripePortalSessionBodyInputSchema; exports.PostStripePortalSessionOutputSchema = PostStripePortalSessionOutputSchema; exports.PostStripePortalUpdateSessionBodyInputSchema = PostStripePortalUpdateSessionBodyInputSchema; exports.PriceSchema = PriceSchema; exports.ProductCode = ProductCode; exports.ProductCodeSchema = ProductCodeSchema; exports.ProductCopyTokenData = ProductCopyTokenData; exports.ProductCopyValue = ProductCopyValue; exports.PublishedDoc = PublishedDoc; exports.PublishedDocEnvironment = PublishedDocEnvironment; exports.PublishedDocPage = PublishedDocPage; exports.PublishedDocRoutingVersion = PublishedDocRoutingVersion; exports.PublishedDocsChecksums = PublishedDocsChecksums; exports.PublishedDocsDump = PublishedDocsDump; exports.PulsarBaseProperty = PulsarBaseProperty; exports.PulsarContributionConfigurationProperty = PulsarContributionConfigurationProperty; exports.PulsarContributionVariant = PulsarContributionVariant; exports.PulsarCustomBlock = PulsarCustomBlock; exports.PulsarPropertyType = PulsarPropertyType; exports.RESERVED_SLUGS = RESERVED_SLUGS; exports.RESERVED_SLUG_PREFIX = RESERVED_SLUG_PREFIX; exports.RenderedAssetFile = RenderedAssetFile; exports.ResolvedAsset = ResolvedAsset; exports.RestoredDocumentationGroup = RestoredDocumentationGroup; exports.RestoredDocumentationPage = RestoredDocumentationPage; exports.RoomType = RoomType; exports.RoomTypeEnum = RoomTypeEnum; exports.RoomTypeSchema = RoomTypeSchema; exports.SHORT_PERSISTENT_ID_LENGTH = SHORT_PERSISTENT_ID_LENGTH; exports.SafeIdSchema = SafeIdSchema; exports.Session = Session; exports.SessionData = SessionData; exports.ShadowLayerValue = ShadowLayerValue; exports.ShadowTokenData = ShadowTokenData; exports.ShadowType = ShadowType; exports.ShallowDesignElement = ShallowDesignElement; exports.Size = Size; exports.SizeOrUndefined = SizeOrUndefined; exports.SizeTokenData = SizeTokenData; exports.SizeUnit = SizeUnit; exports.SizeValue = SizeValue; exports.SourceImportComponentSummary = SourceImportComponentSummary; exports.SourceImportFrameSummary = SourceImportFrameSummary; exports.SourceImportSummary = SourceImportSummary; exports.SourceImportSummaryByTokenType = SourceImportSummaryByTokenType; exports.SourceImportTokenSummary = SourceImportTokenSummary; exports.SpaceTokenData = SpaceTokenData; exports.SpaceUnit = SpaceUnit; exports.SpaceValue = SpaceValue; exports.SsoProvider = SsoProvider; exports.StringTokenData = StringTokenData; exports.StringValue = StringValue; exports.StripeSubscriptionStatus = StripeSubscriptionStatus; exports.StripeSubscriptionStatusSchema = StripeSubscriptionStatusSchema; exports.Subscription = Subscription; exports.SupernovaException = SupernovaException; exports.TextCase = TextCase; exports.TextCaseTokenData = TextCaseTokenData; exports.TextCaseValue = TextCaseValue; exports.TextDecoration = TextDecoration; exports.TextDecorationTokenData = TextDecorationTokenData; exports.TextDecorationValue = TextDecorationValue; exports.Theme = Theme; exports.ThemeElementData = ThemeElementData; exports.ThemeImportModel = ThemeImportModel; exports.ThemeImportModelInput = ThemeImportModelInput; exports.ThemeOrigin = ThemeOrigin; exports.ThemeOriginObject = ThemeOriginObject; exports.ThemeOriginPart = ThemeOriginPart; exports.ThemeOriginSource = ThemeOriginSource; exports.ThemeOverride = ThemeOverride; exports.ThemeOverrideImportModel = ThemeOverrideImportModel; exports.ThemeOverrideImportModelBase = ThemeOverrideImportModelBase; exports.ThemeOverrideImportModelInput = ThemeOverrideImportModelInput; exports.ThemeOverrideOrigin = ThemeOverrideOrigin; exports.ThemeOverrideOriginPart = ThemeOverrideOriginPart; exports.ThemeUpdateImportModel = ThemeUpdateImportModel; exports.ThemeUpdateImportModelInput = ThemeUpdateImportModelInput; exports.TokenDataAliasSchema = TokenDataAliasSchema; exports.TypographyTokenData = TypographyTokenData; exports.TypographyValue = TypographyValue; exports.UpdateMembershipRolesInput = UpdateMembershipRolesInput; exports.UrlImageImportModel = UrlImageImportModel; exports.User = User; exports.UserAnalyticsCleanupSchedule = UserAnalyticsCleanupSchedule; exports.UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupScheduleDbInput; exports.UserDump = UserDump; exports.UserIdentity = UserIdentity; exports.UserInvite = UserInvite; exports.UserInvites = UserInvites; exports.UserLinkedIntegrations = UserLinkedIntegrations; exports.UserMinified = UserMinified; exports.UserNotificationSettings = UserNotificationSettings; exports.UserOnboarding = UserOnboarding; exports.UserOnboardingDepartment = UserOnboardingDepartment; exports.UserOnboardingJobLevel = UserOnboardingJobLevel; exports.UserProfile = UserProfile; exports.UserProfileUpdate = UserProfileUpdate; exports.UserSession = UserSession; exports.UserTest = UserTest; exports.VersionCreationJob = VersionCreationJob; exports.VersionCreationJobStatus = VersionCreationJobStatus; exports.Visibility = Visibility; exports.VisibilityTokenData = VisibilityTokenData; exports.VisibilityValue = VisibilityValue; exports.Workspace = Workspace; exports.WorkspaceConfigurationUpdate = WorkspaceConfigurationUpdate; exports.WorkspaceContext = WorkspaceContext; exports.WorkspaceDump = WorkspaceDump; exports.WorkspaceInvitation = WorkspaceInvitation; exports.WorkspaceIpSettings = WorkspaceIpSettings; exports.WorkspaceIpWhitelistEntry = WorkspaceIpWhitelistEntry; exports.WorkspaceMembership = WorkspaceMembership; exports.WorkspaceOAuthRequestSchema = WorkspaceOAuthRequestSchema; exports.WorkspaceProfile = WorkspaceProfile; exports.WorkspaceProfileUpdate = WorkspaceProfileUpdate; exports.WorkspaceRole = WorkspaceRole; exports.WorkspaceRoleSchema = WorkspaceRoleSchema; exports.WorkspaceRoom = WorkspaceRoom; exports.WorkspaceWithDesignSystems = WorkspaceWithDesignSystems; exports.ZIndexTokenData = ZIndexTokenData; exports.ZIndexUnit = ZIndexUnit; exports.ZIndexValue = ZIndexValue; exports.addImportModelCollections = addImportModelCollections; exports.buildConstantEnum = buildConstantEnum; exports.defaultDocumentationItemConfigurationV1 = defaultDocumentationItemConfigurationV1; exports.defaultDocumentationItemConfigurationV2 = defaultDocumentationItemConfigurationV2; exports.defaultDocumentationItemHeaderV1 = defaultDocumentationItemHeaderV1; exports.defaultDocumentationItemHeaderV2 = defaultDocumentationItemHeaderV2; exports.defaultNotificationSettings = defaultNotificationSettings; exports.designTokenImportModelTypeFilter = designTokenImportModelTypeFilter; exports.designTokenTypeFilter = designTokenTypeFilter; exports.extractTokenTypedData = extractTokenTypedData; exports.figmaFileStructureImportModelToMap = figmaFileStructureImportModelToMap; exports.figmaFileStructureToMap = figmaFileStructureToMap; exports.filterNonNullish = filterNonNullish; exports.forceUnwrapNullish = forceUnwrapNullish; exports.getCodenameFromText = getCodenameFromText; exports.getFigmaRenderFormatFileExtension = getFigmaRenderFormatFileExtension; exports.groupBy = groupBy; exports.isDesignTokenImportModelOfType = isDesignTokenImportModelOfType; exports.isDesignTokenOfType = isDesignTokenOfType; exports.isImportedAsset = isImportedAsset; exports.isImportedComponent = isImportedComponent; exports.isImportedDesignToken = isImportedDesignToken; exports.isSlugReserved = isSlugReserved; exports.isTokenType = isTokenType; exports.mapByUnique = mapByUnique; exports.mapPageBlockItemValuesV2 = mapPageBlockItemValuesV2; exports.nonNullFilter = nonNullFilter; exports.nonNullishFilter = nonNullishFilter; exports.nullishToOptional = nullishToOptional; exports.parseUrl = parseUrl; exports.pickLatestGroupSnapshots = pickLatestGroupSnapshots; exports.pickLatestPageSnapshots = pickLatestPageSnapshots; exports.pickLatestSnapshots = pickLatestSnapshots; exports.promiseWithTimeout = promiseWithTimeout; exports.publishedDocEnvironments = publishedDocEnvironments; exports.sleep = sleep; exports.slugRegex = slugRegex; exports.slugify = slugify; exports.tokenAliasOrValue = tokenAliasOrValue; exports.tokenElementTypes = tokenElementTypes; exports.traversePageBlockItemValuesV2 = traversePageBlockItemValuesV2; exports.traversePageBlockItemsV2 = traversePageBlockItemsV2; exports.traversePageBlocksV1 = traversePageBlocksV1; exports.traversePageItemsV2 = traversePageItemsV2; exports.traverseStructure = traverseStructure; exports.trimLeadingSlash = trimLeadingSlash; exports.trimTrailingSlash = trimTrailingSlash; exports.tryParseShortPersistentId = tryParseShortPersistentId; exports.tryParseUrl = tryParseUrl; exports.uniqueBy = uniqueBy; exports.zodCreateInputOmit = zodCreateInputOmit; exports.zodUpdateInputOmit = zodUpdateInputOmit;
|
|
5532
5548
|
//# sourceMappingURL=index.js.map
|