@supernova-studio/client 0.59.11 → 1.0.0-alpha.10
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 +1590 -1909
- package/dist/index.d.ts +1590 -1909
- package/dist/index.js +866 -349
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2570 -2053
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
- package/src/api/client.ts +0 -31
- package/src/api/conversion/documentation/documentation-group-v1-to-dto.ts +0 -114
- package/src/api/conversion/documentation/documentation-group-v2-to-dto.ts +0 -92
- package/src/api/conversion/documentation/documentation-item-configuration-v1-to-dto.ts +0 -52
- package/src/api/conversion/documentation/documentation-item-configuration-v2-to-dto.ts +0 -34
- package/src/api/conversion/documentation/documentation-page-to-dto-utils.ts +0 -131
- package/src/api/conversion/documentation/documentation-page-v1-to-dto.ts +0 -69
- package/src/api/conversion/documentation/documentation-page-v2-to-dto.ts +0 -78
- package/src/api/conversion/documentation/index.ts +0 -7
- package/src/api/conversion/export/index.ts +0 -1
- package/src/api/conversion/export/pipeline.ts +0 -26
- package/src/api/conversion/index.ts +0 -3
- package/src/api/conversion/integrations/git.ts +0 -37
- package/src/api/conversion/integrations/index.ts +0 -2
- package/src/api/conversion/integrations/integration.ts +0 -37
- package/src/api/dto/aux/color.ts +0 -7
- package/src/api/dto/aux/index.ts +0 -3
- package/src/api/dto/aux/meta.ts +0 -8
- package/src/api/dto/aux/pagination.ts +0 -8
- package/src/api/dto/bff/app-bootstrap-data.ts +0 -20
- package/src/api/dto/bff/index.ts +0 -1
- package/src/api/dto/collections/index.ts +0 -1
- package/src/api/dto/collections/token-collection.ts +0 -24
- package/src/api/dto/design-systems/brand.ts +0 -44
- package/src/api/dto/design-systems/component.ts +0 -40
- package/src/api/dto/design-systems/contact.ts +0 -11
- package/src/api/dto/design-systems/data-source.ts +0 -141
- package/src/api/dto/design-systems/design-system.ts +0 -68
- package/src/api/dto/design-systems/elements-diff.ts +0 -14
- package/src/api/dto/design-systems/figma-variables.ts +0 -108
- package/src/api/dto/design-systems/import-job.ts +0 -61
- package/src/api/dto/design-systems/index.ts +0 -14
- package/src/api/dto/design-systems/members.ts +0 -50
- package/src/api/dto/design-systems/redirects.ts +0 -33
- package/src/api/dto/design-systems/role.ts +0 -11
- package/src/api/dto/design-systems/stats.ts +0 -19
- package/src/api/dto/design-systems/version.ts +0 -56
- package/src/api/dto/design-systems/view.ts +0 -45
- package/src/api/dto/design-tokens/design-token.ts +0 -78
- package/src/api/dto/design-tokens/index.ts +0 -1
- package/src/api/dto/documentation/anchor.ts +0 -15
- package/src/api/dto/documentation/approvals.ts +0 -15
- package/src/api/dto/documentation/block-definition.ts +0 -28
- package/src/api/dto/documentation/block.ts +0 -6
- package/src/api/dto/documentation/documentation-page-snapshot.ts +0 -18
- package/src/api/dto/documentation/index.ts +0 -8
- package/src/api/dto/documentation/link-preview.ts +0 -23
- package/src/api/dto/documentation/publish.ts +0 -23
- package/src/api/dto/documentation/room.ts +0 -12
- package/src/api/dto/elements/components/figma-component-group.ts +0 -19
- package/src/api/dto/elements/components/figma-component.ts +0 -56
- package/src/api/dto/elements/components/index.ts +0 -2
- package/src/api/dto/elements/documentation/draft-state.ts +0 -37
- package/src/api/dto/elements/documentation/group-action.ts +0 -108
- package/src/api/dto/elements/documentation/group-v1.ts +0 -35
- package/src/api/dto/elements/documentation/group-v2.ts +0 -117
- package/src/api/dto/elements/documentation/hierarchy.ts +0 -22
- package/src/api/dto/elements/documentation/index.ts +0 -13
- package/src/api/dto/elements/documentation/item-configuration-v1.ts +0 -24
- package/src/api/dto/elements/documentation/item-configuration-v2.ts +0 -14
- package/src/api/dto/elements/documentation/metadata.ts +0 -8
- package/src/api/dto/elements/documentation/page-actions-v2.ts +0 -121
- package/src/api/dto/elements/documentation/page-content.ts +0 -15
- package/src/api/dto/elements/documentation/page-v1.ts +0 -21
- package/src/api/dto/elements/documentation/page-v2.ts +0 -123
- package/src/api/dto/elements/documentation/structure.ts +0 -37
- package/src/api/dto/elements/elements-action-v2.ts +0 -111
- package/src/api/dto/elements/figma-nodes/figma-node-v1.ts +0 -32
- package/src/api/dto/elements/figma-nodes/figma-node-v2.ts +0 -32
- package/src/api/dto/elements/figma-nodes/figma-node.ts +0 -103
- package/src/api/dto/elements/figma-nodes/index.ts +0 -4
- package/src/api/dto/elements/figma-nodes/node-actions-v2.ts +0 -44
- package/src/api/dto/elements/frame-node-structures/frame-node-structure.ts +0 -17
- package/src/api/dto/elements/frame-node-structures/index.ts +0 -1
- package/src/api/dto/elements/get-elements-v2.ts +0 -27
- package/src/api/dto/elements/index.ts +0 -7
- package/src/api/dto/elements/properties/index.ts +0 -2
- package/src/api/dto/elements/properties/property-definitions.ts +0 -75
- package/src/api/dto/elements/properties/property-values.ts +0 -38
- package/src/api/dto/export/exporter-property.ts +0 -105
- package/src/api/dto/export/exporter.ts +0 -87
- package/src/api/dto/export/filter.ts +0 -6
- package/src/api/dto/export/index.ts +0 -5
- package/src/api/dto/export/job.ts +0 -96
- package/src/api/dto/export/pipeline.ts +0 -43
- package/src/api/dto/figma-components/assets/download.ts +0 -30
- package/src/api/dto/figma-components/assets/index.ts +0 -1
- package/src/api/dto/figma-components/index.ts +0 -1
- package/src/api/dto/index.ts +0 -13
- package/src/api/dto/liveblocks/auth-response.ts +0 -7
- package/src/api/dto/liveblocks/index.ts +0 -1
- package/src/api/dto/themes/index.ts +0 -2
- package/src/api/dto/themes/override.ts +0 -27
- package/src/api/dto/themes/theme.ts +0 -45
- package/src/api/dto/users/authenticated-user.ts +0 -46
- package/src/api/dto/users/index.ts +0 -3
- package/src/api/dto/users/update.ts +0 -8
- package/src/api/dto/users/user.ts +0 -31
- package/src/api/dto/workspaces/git.ts +0 -32
- package/src/api/dto/workspaces/index.ts +0 -6
- package/src/api/dto/workspaces/integrations.ts +0 -34
- package/src/api/dto/workspaces/invitations.ts +0 -30
- package/src/api/dto/workspaces/membership.ts +0 -41
- package/src/api/dto/workspaces/npm-registry.ts +0 -35
- package/src/api/dto/workspaces/workspace.ts +0 -34
- package/src/api/endpoints/codegen/codegen.ts +0 -16
- package/src/api/endpoints/codegen/exporters.ts +0 -25
- package/src/api/endpoints/codegen/index.ts +0 -4
- package/src/api/endpoints/codegen/jobs.ts +0 -15
- package/src/api/endpoints/codegen/pipelines.ts +0 -44
- package/src/api/endpoints/design-system/bff.ts +0 -13
- package/src/api/endpoints/design-system/contact.ts +0 -12
- package/src/api/endpoints/design-system/design-systems.ts +0 -55
- package/src/api/endpoints/design-system/index.ts +0 -6
- package/src/api/endpoints/design-system/members.ts +0 -24
- package/src/api/endpoints/design-system/sources.ts +0 -35
- package/src/api/endpoints/design-system/versions/brands.ts +0 -45
- package/src/api/endpoints/design-system/versions/documentation.ts +0 -27
- package/src/api/endpoints/design-system/versions/ds-components.ts +0 -28
- package/src/api/endpoints/design-system/versions/elements-action.ts +0 -60
- package/src/api/endpoints/design-system/versions/elements.ts +0 -27
- package/src/api/endpoints/design-system/versions/figma-component-groups.ts +0 -13
- package/src/api/endpoints/design-system/versions/figma-components.ts +0 -13
- package/src/api/endpoints/design-system/versions/figma-frame-structures.ts +0 -13
- package/src/api/endpoints/design-system/versions/import-jobs.ts +0 -13
- package/src/api/endpoints/design-system/versions/index.ts +0 -18
- package/src/api/endpoints/design-system/versions/overrides.ts +0 -17
- package/src/api/endpoints/design-system/versions/property-definitions.ts +0 -43
- package/src/api/endpoints/design-system/versions/property-values.ts +0 -25
- package/src/api/endpoints/design-system/versions/stats.ts +0 -12
- package/src/api/endpoints/design-system/versions/themes.ts +0 -35
- package/src/api/endpoints/design-system/versions/token-collections.ts +0 -13
- package/src/api/endpoints/design-system/versions/token-groups.ts +0 -28
- package/src/api/endpoints/design-system/versions/tokens.ts +0 -27
- package/src/api/endpoints/design-system/versions/versions.ts +0 -79
- package/src/api/endpoints/index.ts +0 -5
- package/src/api/endpoints/liveblocks.ts +0 -14
- package/src/api/endpoints/users.ts +0 -26
- package/src/api/endpoints/workspaces/index.ts +0 -3
- package/src/api/endpoints/workspaces/workspace-invites.ts +0 -34
- package/src/api/endpoints/workspaces/workspace-members.ts +0 -31
- package/src/api/endpoints/workspaces/workspaces.ts +0 -47
- package/src/api/index.ts +0 -6
- package/src/api/payloads/design-systems/index.ts +0 -2
- package/src/api/payloads/design-systems/update-design-system.ts +0 -29
- package/src/api/payloads/design-systems/version.ts +0 -29
- package/src/api/payloads/documentation/block-definitions.ts +0 -12
- package/src/api/payloads/documentation/design-data-doc-diff.ts +0 -7
- package/src/api/payloads/documentation/index.ts +0 -2
- package/src/api/payloads/export/index.ts +0 -1
- package/src/api/payloads/export/pipeline.ts +0 -74
- package/src/api/payloads/index.ts +0 -6
- package/src/api/payloads/liveblocks/auth.ts +0 -7
- package/src/api/payloads/liveblocks/index.ts +0 -1
- package/src/api/payloads/users/index.ts +0 -2
- package/src/api/payloads/users/notifications/index.ts +0 -1
- package/src/api/payloads/users/notifications/notification-settings.ts +0 -17
- package/src/api/payloads/users/profile/index.ts +0 -1
- package/src/api/payloads/users/profile/update.ts +0 -4
- package/src/api/payloads/workspaces/index.ts +0 -3
- package/src/api/payloads/workspaces/transfer-ownership.ts +0 -7
- package/src/api/payloads/workspaces/workspace-configuration.ts +0 -50
- package/src/api/payloads/workspaces/workspace-integrations.ts +0 -26
- package/src/api/transport/index.ts +0 -2
- package/src/api/transport/request-executor-error.ts +0 -66
- package/src/api/transport/request-executor.ts +0 -87
- package/src/events/design-system.ts +0 -21
- package/src/events/event.ts +0 -6
- package/src/events/index.ts +0 -2
- package/src/index.ts +0 -4
- package/src/utils/figma.ts +0 -72
- package/src/utils/hash.ts +0 -62
- package/src/utils/index.ts +0 -3
- package/src/utils/query.ts +0 -18
- package/src/yjs/design-system-content/documentation-hierarchy.ts +0 -35
- package/src/yjs/design-system-content/index.ts +0 -2
- package/src/yjs/design-system-content/item-configuration.ts +0 -93
- package/src/yjs/docs-editor/blocks-to-prosemirror.ts +0 -764
- package/src/yjs/docs-editor/index.ts +0 -7
- package/src/yjs/docs-editor/list-tree-builder.ts +0 -127
- package/src/yjs/docs-editor/mock.ts +0 -2142
- package/src/yjs/docs-editor/model/block.ts +0 -8
- package/src/yjs/docs-editor/model/index.ts +0 -2
- package/src/yjs/docs-editor/model/page.ts +0 -8
- package/src/yjs/docs-editor/prosemirror/index.ts +0 -3
- package/src/yjs/docs-editor/prosemirror/inner-editor-schema.ts +0 -145
- package/src/yjs/docs-editor/prosemirror/main-editor-schema.ts +0 -577
- package/src/yjs/docs-editor/prosemirror/types.ts +0 -19
- package/src/yjs/docs-editor/prosemirror-to-blocks.ts +0 -975
- package/src/yjs/docs-editor/utils.ts +0 -115
- package/src/yjs/index.ts +0 -3
- package/src/yjs/version-room/backend.ts +0 -78
- package/src/yjs/version-room/base.ts +0 -226
- package/src/yjs/version-room/frontend.ts +0 -463
- package/src/yjs/version-room/index.ts +0 -4
- package/src/yjs/version-room/utils.ts +0 -109
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, DocumentationPageApproval, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1,
|
|
1
|
+
import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, OmitStrict, ElementGroup, DocumentationPageSnapshot, ElementGroupSnapshot, DocumentationPageApproval, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SupernovaExceptionType, SsoProvider, UpdateMembershipRolesInput, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemRichTextEditorValue, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
|
|
2
2
|
import * as zod from 'zod';
|
|
3
3
|
import zod__default, { z, ZodSchema, ZodTypeDef } from 'zod';
|
|
4
|
-
import { RequestInit } from 'node-fetch';
|
|
5
4
|
import * as Y from 'yjs';
|
|
5
|
+
import { RequestInit } from 'node-fetch';
|
|
6
6
|
import { Schema } from 'prosemirror-model';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1127,188 +1127,898 @@ declare function elementGroupsToDocumentationGroupStructureDTOV1(groups: Documen
|
|
|
1127
1127
|
declare function elementGroupsToDocumentationGroupDTOV1(groups: DocumentationGroupV1[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV1[];
|
|
1128
1128
|
declare function elementGroupsToDocumentationGroupFixedConfigurationDTOV1(groups: DocumentationGroupV1[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV1[];
|
|
1129
1129
|
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1130
|
+
type LocalDocsPage = OmitStrict<DocumentationPageV2, "id" | "userSlug"> & {
|
|
1131
|
+
userSlug?: undefined;
|
|
1132
|
+
};
|
|
1133
|
+
type LocalDocsPageGroup = OmitStrict<ElementGroup, "id" | "brandPersistentId" | "childType" | "userSlug"> & {
|
|
1134
|
+
userSlug?: undefined;
|
|
1135
|
+
};
|
|
1136
|
+
declare class LocalStorage {
|
|
1137
|
+
private readonly pages;
|
|
1138
|
+
private readonly liveblocksRoomIds;
|
|
1139
|
+
private readonly deletedPageIds;
|
|
1140
|
+
private readonly groups;
|
|
1141
|
+
setPage(page: LocalDocsPage): void;
|
|
1142
|
+
deletePage(persistentId: string): void;
|
|
1143
|
+
tryGetPage(persistentId: string): LocalDocsPage | undefined;
|
|
1144
|
+
getPage(persistentId: string): LocalDocsPage;
|
|
1145
|
+
getAllPages(): LocalDocsPage[];
|
|
1146
|
+
getAllDeletedPages(): Set<string>;
|
|
1147
|
+
removePage(persistentId: string): void;
|
|
1148
|
+
setPageLiveblocksRoomId(pagePersistentId: string, id: string): void;
|
|
1149
|
+
getPageLiveblocksRoomId(pagePersistentId: string): string | undefined;
|
|
1150
|
+
getAllPageLiveblocksRoomIds(): Map<string, string>;
|
|
1151
|
+
}
|
|
1150
1152
|
|
|
1151
|
-
declare const
|
|
1152
|
-
|
|
1153
|
-
|
|
1153
|
+
declare const DocumentationHierarchySettings: z.ZodObject<{
|
|
1154
|
+
routingVersion: z.ZodString;
|
|
1155
|
+
isDraftFeatureAdopted: z.ZodBoolean;
|
|
1156
|
+
isApprovalFeatureEnabled: z.ZodBoolean;
|
|
1157
|
+
approvalRequiredForPublishing: z.ZodBoolean;
|
|
1154
1158
|
}, "strip", z.ZodTypeAny, {
|
|
1155
|
-
|
|
1156
|
-
|
|
1159
|
+
isApprovalFeatureEnabled: boolean;
|
|
1160
|
+
approvalRequiredForPublishing: boolean;
|
|
1161
|
+
routingVersion: string;
|
|
1162
|
+
isDraftFeatureAdopted: boolean;
|
|
1157
1163
|
}, {
|
|
1158
|
-
|
|
1159
|
-
|
|
1164
|
+
isApprovalFeatureEnabled: boolean;
|
|
1165
|
+
approvalRequiredForPublishing: boolean;
|
|
1166
|
+
routingVersion: string;
|
|
1167
|
+
isDraftFeatureAdopted: boolean;
|
|
1160
1168
|
}>;
|
|
1161
|
-
type
|
|
1169
|
+
type DocumentationHierarchySettings = z.infer<typeof DocumentationHierarchySettings>;
|
|
1170
|
+
/**
|
|
1171
|
+
* @deprecated - Use FrontendVersionRoomYDoc.getDocumentationHierarchy
|
|
1172
|
+
*/
|
|
1173
|
+
declare function yjsToDocumentationHierarchy(doc: Y.Doc): DTODocumentationHierarchyV2;
|
|
1162
1174
|
|
|
1163
|
-
declare const
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1175
|
+
declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
|
|
1176
|
+
title: z.ZodString;
|
|
1177
|
+
configuration: z.ZodObject<{
|
|
1178
|
+
showSidebar: z.ZodBoolean;
|
|
1179
|
+
isPrivate: z.ZodBoolean;
|
|
1180
|
+
isHidden: z.ZodBoolean;
|
|
1181
|
+
header: z.ZodObject<{
|
|
1182
|
+
description: z.ZodString;
|
|
1183
|
+
alignment: z.ZodEnum<["Left", "Center"]>;
|
|
1184
|
+
foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1185
|
+
value: z.ZodString;
|
|
1186
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
1187
|
+
}, "strip", z.ZodTypeAny, {
|
|
1188
|
+
value: string;
|
|
1189
|
+
referencedTokenId?: string | undefined;
|
|
1190
|
+
}, {
|
|
1191
|
+
value: string;
|
|
1192
|
+
referencedTokenId?: string | undefined;
|
|
1193
|
+
}>>>;
|
|
1194
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1195
|
+
value: z.ZodString;
|
|
1196
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
1197
|
+
}, "strip", z.ZodTypeAny, {
|
|
1198
|
+
value: string;
|
|
1199
|
+
referencedTokenId?: string | undefined;
|
|
1200
|
+
}, {
|
|
1201
|
+
value: string;
|
|
1202
|
+
referencedTokenId?: string | undefined;
|
|
1203
|
+
}>>>;
|
|
1204
|
+
backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1205
|
+
type: z.ZodEnum<["Resource", "FigmaNode"]>;
|
|
1206
|
+
resource: z.ZodOptional<z.ZodObject<{
|
|
1207
|
+
resourceId: z.ZodString;
|
|
1208
|
+
url: z.ZodString;
|
|
1209
|
+
}, "strip", z.ZodTypeAny, {
|
|
1210
|
+
url: string;
|
|
1211
|
+
resourceId: string;
|
|
1212
|
+
}, {
|
|
1213
|
+
url: string;
|
|
1214
|
+
resourceId: string;
|
|
1215
|
+
}>>;
|
|
1216
|
+
figmaNode: z.ZodOptional<z.ZodObject<{
|
|
1217
|
+
sourceId: z.ZodString;
|
|
1218
|
+
frameReferenceId: z.ZodString;
|
|
1219
|
+
}, "strip", z.ZodTypeAny, {
|
|
1220
|
+
sourceId: string;
|
|
1221
|
+
frameReferenceId: string;
|
|
1222
|
+
}, {
|
|
1223
|
+
sourceId: string;
|
|
1224
|
+
frameReferenceId: string;
|
|
1225
|
+
}>>;
|
|
1226
|
+
}, "strip", z.ZodTypeAny, {
|
|
1227
|
+
type: "FigmaNode" | "Resource";
|
|
1228
|
+
resource?: {
|
|
1229
|
+
url: string;
|
|
1230
|
+
resourceId: string;
|
|
1231
|
+
} | undefined;
|
|
1232
|
+
figmaNode?: {
|
|
1233
|
+
sourceId: string;
|
|
1234
|
+
frameReferenceId: string;
|
|
1235
|
+
} | undefined;
|
|
1236
|
+
}, {
|
|
1237
|
+
type: "FigmaNode" | "Resource";
|
|
1238
|
+
resource?: {
|
|
1239
|
+
url: string;
|
|
1240
|
+
resourceId: string;
|
|
1241
|
+
} | undefined;
|
|
1242
|
+
figmaNode?: {
|
|
1243
|
+
sourceId: string;
|
|
1244
|
+
frameReferenceId: string;
|
|
1245
|
+
} | undefined;
|
|
1246
|
+
}>>>;
|
|
1247
|
+
backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
|
|
1248
|
+
showBackgroundOverlay: z.ZodBoolean;
|
|
1249
|
+
showCoverText: z.ZodBoolean;
|
|
1250
|
+
minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1251
|
+
}, "strip", z.ZodTypeAny, {
|
|
1252
|
+
description: string;
|
|
1253
|
+
alignment: "Center" | "Left";
|
|
1254
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
1255
|
+
showBackgroundOverlay: boolean;
|
|
1256
|
+
showCoverText: boolean;
|
|
1257
|
+
backgroundColor?: {
|
|
1258
|
+
value: string;
|
|
1259
|
+
referencedTokenId?: string | undefined;
|
|
1260
|
+
} | null | undefined;
|
|
1261
|
+
foregroundColor?: {
|
|
1262
|
+
value: string;
|
|
1263
|
+
referencedTokenId?: string | undefined;
|
|
1264
|
+
} | null | undefined;
|
|
1265
|
+
backgroundImageAsset?: {
|
|
1266
|
+
type: "FigmaNode" | "Resource";
|
|
1267
|
+
resource?: {
|
|
1268
|
+
url: string;
|
|
1269
|
+
resourceId: string;
|
|
1270
|
+
} | undefined;
|
|
1271
|
+
figmaNode?: {
|
|
1272
|
+
sourceId: string;
|
|
1273
|
+
frameReferenceId: string;
|
|
1274
|
+
} | undefined;
|
|
1275
|
+
} | null | undefined;
|
|
1276
|
+
minHeight?: number | null | undefined;
|
|
1277
|
+
}, {
|
|
1278
|
+
description: string;
|
|
1279
|
+
alignment: "Center" | "Left";
|
|
1280
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
1281
|
+
showBackgroundOverlay: boolean;
|
|
1282
|
+
showCoverText: boolean;
|
|
1283
|
+
backgroundColor?: {
|
|
1284
|
+
value: string;
|
|
1285
|
+
referencedTokenId?: string | undefined;
|
|
1286
|
+
} | null | undefined;
|
|
1287
|
+
foregroundColor?: {
|
|
1288
|
+
value: string;
|
|
1289
|
+
referencedTokenId?: string | undefined;
|
|
1290
|
+
} | null | undefined;
|
|
1291
|
+
backgroundImageAsset?: {
|
|
1292
|
+
type: "FigmaNode" | "Resource";
|
|
1293
|
+
resource?: {
|
|
1294
|
+
url: string;
|
|
1295
|
+
resourceId: string;
|
|
1296
|
+
} | undefined;
|
|
1297
|
+
figmaNode?: {
|
|
1298
|
+
sourceId: string;
|
|
1299
|
+
frameReferenceId: string;
|
|
1300
|
+
} | undefined;
|
|
1301
|
+
} | null | undefined;
|
|
1302
|
+
minHeight?: number | null | undefined;
|
|
1303
|
+
}>;
|
|
1304
|
+
}, "strip", z.ZodTypeAny, {
|
|
1305
|
+
showSidebar: boolean;
|
|
1306
|
+
isPrivate: boolean;
|
|
1307
|
+
isHidden: boolean;
|
|
1308
|
+
header: {
|
|
1309
|
+
description: string;
|
|
1310
|
+
alignment: "Center" | "Left";
|
|
1311
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
1312
|
+
showBackgroundOverlay: boolean;
|
|
1313
|
+
showCoverText: boolean;
|
|
1314
|
+
backgroundColor?: {
|
|
1315
|
+
value: string;
|
|
1316
|
+
referencedTokenId?: string | undefined;
|
|
1317
|
+
} | null | undefined;
|
|
1318
|
+
foregroundColor?: {
|
|
1319
|
+
value: string;
|
|
1320
|
+
referencedTokenId?: string | undefined;
|
|
1321
|
+
} | null | undefined;
|
|
1322
|
+
backgroundImageAsset?: {
|
|
1323
|
+
type: "FigmaNode" | "Resource";
|
|
1324
|
+
resource?: {
|
|
1325
|
+
url: string;
|
|
1326
|
+
resourceId: string;
|
|
1327
|
+
} | undefined;
|
|
1328
|
+
figmaNode?: {
|
|
1329
|
+
sourceId: string;
|
|
1330
|
+
frameReferenceId: string;
|
|
1331
|
+
} | undefined;
|
|
1332
|
+
} | null | undefined;
|
|
1333
|
+
minHeight?: number | null | undefined;
|
|
1334
|
+
};
|
|
1335
|
+
}, {
|
|
1336
|
+
showSidebar: boolean;
|
|
1337
|
+
isPrivate: boolean;
|
|
1338
|
+
isHidden: boolean;
|
|
1339
|
+
header: {
|
|
1340
|
+
description: string;
|
|
1341
|
+
alignment: "Center" | "Left";
|
|
1342
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
1343
|
+
showBackgroundOverlay: boolean;
|
|
1344
|
+
showCoverText: boolean;
|
|
1345
|
+
backgroundColor?: {
|
|
1346
|
+
value: string;
|
|
1347
|
+
referencedTokenId?: string | undefined;
|
|
1348
|
+
} | null | undefined;
|
|
1349
|
+
foregroundColor?: {
|
|
1350
|
+
value: string;
|
|
1351
|
+
referencedTokenId?: string | undefined;
|
|
1352
|
+
} | null | undefined;
|
|
1353
|
+
backgroundImageAsset?: {
|
|
1354
|
+
type: "FigmaNode" | "Resource";
|
|
1355
|
+
resource?: {
|
|
1356
|
+
url: string;
|
|
1357
|
+
resourceId: string;
|
|
1358
|
+
} | undefined;
|
|
1359
|
+
figmaNode?: {
|
|
1360
|
+
sourceId: string;
|
|
1361
|
+
frameReferenceId: string;
|
|
1362
|
+
} | undefined;
|
|
1363
|
+
} | null | undefined;
|
|
1364
|
+
minHeight?: number | null | undefined;
|
|
1365
|
+
};
|
|
1366
|
+
}>;
|
|
1168
1367
|
}, "strip", z.ZodTypeAny, {
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1368
|
+
title: string;
|
|
1369
|
+
configuration: {
|
|
1370
|
+
showSidebar: boolean;
|
|
1371
|
+
isPrivate: boolean;
|
|
1372
|
+
isHidden: boolean;
|
|
1373
|
+
header: {
|
|
1374
|
+
description: string;
|
|
1375
|
+
alignment: "Center" | "Left";
|
|
1376
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
1377
|
+
showBackgroundOverlay: boolean;
|
|
1378
|
+
showCoverText: boolean;
|
|
1379
|
+
backgroundColor?: {
|
|
1380
|
+
value: string;
|
|
1381
|
+
referencedTokenId?: string | undefined;
|
|
1382
|
+
} | null | undefined;
|
|
1383
|
+
foregroundColor?: {
|
|
1384
|
+
value: string;
|
|
1385
|
+
referencedTokenId?: string | undefined;
|
|
1386
|
+
} | null | undefined;
|
|
1387
|
+
backgroundImageAsset?: {
|
|
1388
|
+
type: "FigmaNode" | "Resource";
|
|
1389
|
+
resource?: {
|
|
1390
|
+
url: string;
|
|
1391
|
+
resourceId: string;
|
|
1392
|
+
} | undefined;
|
|
1393
|
+
figmaNode?: {
|
|
1394
|
+
sourceId: string;
|
|
1395
|
+
frameReferenceId: string;
|
|
1396
|
+
} | undefined;
|
|
1397
|
+
} | null | undefined;
|
|
1398
|
+
minHeight?: number | null | undefined;
|
|
1399
|
+
};
|
|
1400
|
+
};
|
|
1173
1401
|
}, {
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1402
|
+
title: string;
|
|
1403
|
+
configuration: {
|
|
1404
|
+
showSidebar: boolean;
|
|
1405
|
+
isPrivate: boolean;
|
|
1406
|
+
isHidden: boolean;
|
|
1407
|
+
header: {
|
|
1408
|
+
description: string;
|
|
1409
|
+
alignment: "Center" | "Left";
|
|
1410
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
1411
|
+
showBackgroundOverlay: boolean;
|
|
1412
|
+
showCoverText: boolean;
|
|
1413
|
+
backgroundColor?: {
|
|
1414
|
+
value: string;
|
|
1415
|
+
referencedTokenId?: string | undefined;
|
|
1416
|
+
} | null | undefined;
|
|
1417
|
+
foregroundColor?: {
|
|
1418
|
+
value: string;
|
|
1419
|
+
referencedTokenId?: string | undefined;
|
|
1420
|
+
} | null | undefined;
|
|
1421
|
+
backgroundImageAsset?: {
|
|
1422
|
+
type: "FigmaNode" | "Resource";
|
|
1423
|
+
resource?: {
|
|
1424
|
+
url: string;
|
|
1425
|
+
resourceId: string;
|
|
1426
|
+
} | undefined;
|
|
1427
|
+
figmaNode?: {
|
|
1428
|
+
sourceId: string;
|
|
1429
|
+
frameReferenceId: string;
|
|
1430
|
+
} | undefined;
|
|
1431
|
+
} | null | undefined;
|
|
1432
|
+
minHeight?: number | null | undefined;
|
|
1433
|
+
};
|
|
1434
|
+
};
|
|
1178
1435
|
}>;
|
|
1179
|
-
type
|
|
1180
|
-
declare const
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
street1?: string | undefined;
|
|
1193
|
-
street2?: string | undefined;
|
|
1194
|
-
city?: string | undefined;
|
|
1195
|
-
postal?: string | undefined;
|
|
1196
|
-
country?: string | undefined;
|
|
1197
|
-
} | undefined;
|
|
1198
|
-
email?: string | undefined;
|
|
1199
|
-
notes?: string | undefined;
|
|
1200
|
-
companyName?: string | undefined;
|
|
1201
|
-
companyId?: string | undefined;
|
|
1202
|
-
vat?: string | undefined;
|
|
1203
|
-
poNumber?: string | undefined;
|
|
1204
|
-
}, z.ZodTypeDef, {
|
|
1205
|
-
address?: {
|
|
1206
|
-
state?: string | null | undefined;
|
|
1207
|
-
street1?: string | null | undefined;
|
|
1208
|
-
street2?: string | null | undefined;
|
|
1209
|
-
city?: string | null | undefined;
|
|
1210
|
-
postal?: string | null | undefined;
|
|
1211
|
-
country?: string | null | undefined;
|
|
1212
|
-
} | null | undefined;
|
|
1213
|
-
email?: string | null | undefined;
|
|
1214
|
-
notes?: string | null | undefined;
|
|
1215
|
-
companyName?: string | null | undefined;
|
|
1216
|
-
companyId?: string | null | undefined;
|
|
1217
|
-
vat?: string | null | undefined;
|
|
1218
|
-
poNumber?: string | null | undefined;
|
|
1219
|
-
}>>>, {
|
|
1220
|
-
address?: {
|
|
1221
|
-
state?: string | undefined;
|
|
1222
|
-
street1?: string | undefined;
|
|
1223
|
-
street2?: string | undefined;
|
|
1224
|
-
city?: string | undefined;
|
|
1225
|
-
postal?: string | undefined;
|
|
1226
|
-
country?: string | undefined;
|
|
1227
|
-
} | undefined;
|
|
1228
|
-
email?: string | undefined;
|
|
1229
|
-
notes?: string | undefined;
|
|
1230
|
-
companyName?: string | undefined;
|
|
1231
|
-
companyId?: string | undefined;
|
|
1232
|
-
vat?: string | undefined;
|
|
1233
|
-
poNumber?: string | undefined;
|
|
1234
|
-
} | undefined, {
|
|
1235
|
-
address?: {
|
|
1236
|
-
state?: string | null | undefined;
|
|
1237
|
-
street1?: string | null | undefined;
|
|
1238
|
-
street2?: string | null | undefined;
|
|
1239
|
-
city?: string | null | undefined;
|
|
1240
|
-
postal?: string | null | undefined;
|
|
1241
|
-
country?: string | null | undefined;
|
|
1242
|
-
} | null | undefined;
|
|
1243
|
-
email?: string | null | undefined;
|
|
1244
|
-
notes?: string | null | undefined;
|
|
1245
|
-
companyName?: string | null | undefined;
|
|
1246
|
-
companyId?: string | null | undefined;
|
|
1247
|
-
vat?: string | null | undefined;
|
|
1248
|
-
poNumber?: string | null | undefined;
|
|
1249
|
-
} | null | undefined>;
|
|
1436
|
+
type DTODocumentationPageRoomHeaderData = z.infer<typeof DTODocumentationPageRoomHeaderData>;
|
|
1437
|
+
declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
|
|
1438
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
configuration: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
1440
|
+
showSidebar: z.ZodBoolean;
|
|
1441
|
+
isPrivate: z.ZodBoolean;
|
|
1442
|
+
isHidden: z.ZodBoolean;
|
|
1443
|
+
header: z.ZodObject<{
|
|
1444
|
+
description: z.ZodString;
|
|
1445
|
+
alignment: z.ZodEnum<["Left", "Center"]>;
|
|
1446
|
+
foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1447
|
+
value: z.ZodString;
|
|
1448
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
1250
1449
|
}, "strip", z.ZodTypeAny, {
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1450
|
+
value: string;
|
|
1451
|
+
referencedTokenId?: string | undefined;
|
|
1452
|
+
}, {
|
|
1453
|
+
value: string;
|
|
1454
|
+
referencedTokenId?: string | undefined;
|
|
1455
|
+
}>>>;
|
|
1456
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1457
|
+
value: z.ZodString;
|
|
1458
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
1459
|
+
}, "strip", z.ZodTypeAny, {
|
|
1460
|
+
value: string;
|
|
1461
|
+
referencedTokenId?: string | undefined;
|
|
1462
|
+
}, {
|
|
1463
|
+
value: string;
|
|
1464
|
+
referencedTokenId?: string | undefined;
|
|
1465
|
+
}>>>;
|
|
1466
|
+
backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1467
|
+
type: z.ZodEnum<["Resource", "FigmaNode"]>;
|
|
1468
|
+
resource: z.ZodOptional<z.ZodObject<{
|
|
1469
|
+
resourceId: z.ZodString;
|
|
1470
|
+
url: z.ZodString;
|
|
1471
|
+
}, "strip", z.ZodTypeAny, {
|
|
1472
|
+
url: string;
|
|
1473
|
+
resourceId: string;
|
|
1474
|
+
}, {
|
|
1475
|
+
url: string;
|
|
1476
|
+
resourceId: string;
|
|
1477
|
+
}>>;
|
|
1478
|
+
figmaNode: z.ZodOptional<z.ZodObject<{
|
|
1479
|
+
sourceId: z.ZodString;
|
|
1480
|
+
frameReferenceId: z.ZodString;
|
|
1481
|
+
}, "strip", z.ZodTypeAny, {
|
|
1482
|
+
sourceId: string;
|
|
1483
|
+
frameReferenceId: string;
|
|
1484
|
+
}, {
|
|
1485
|
+
sourceId: string;
|
|
1486
|
+
frameReferenceId: string;
|
|
1487
|
+
}>>;
|
|
1488
|
+
}, "strip", z.ZodTypeAny, {
|
|
1489
|
+
type: "FigmaNode" | "Resource";
|
|
1490
|
+
resource?: {
|
|
1491
|
+
url: string;
|
|
1492
|
+
resourceId: string;
|
|
1493
|
+
} | undefined;
|
|
1494
|
+
figmaNode?: {
|
|
1495
|
+
sourceId: string;
|
|
1496
|
+
frameReferenceId: string;
|
|
1270
1497
|
} | undefined;
|
|
1271
1498
|
}, {
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1499
|
+
type: "FigmaNode" | "Resource";
|
|
1500
|
+
resource?: {
|
|
1501
|
+
url: string;
|
|
1502
|
+
resourceId: string;
|
|
1503
|
+
} | undefined;
|
|
1504
|
+
figmaNode?: {
|
|
1505
|
+
sourceId: string;
|
|
1506
|
+
frameReferenceId: string;
|
|
1507
|
+
} | undefined;
|
|
1508
|
+
}>>>;
|
|
1509
|
+
backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
|
|
1510
|
+
showBackgroundOverlay: z.ZodBoolean;
|
|
1511
|
+
showCoverText: z.ZodBoolean;
|
|
1512
|
+
minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1513
|
+
}, "strip", z.ZodTypeAny, {
|
|
1514
|
+
description: string;
|
|
1515
|
+
alignment: "Center" | "Left";
|
|
1516
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
1517
|
+
showBackgroundOverlay: boolean;
|
|
1518
|
+
showCoverText: boolean;
|
|
1519
|
+
backgroundColor?: {
|
|
1520
|
+
value: string;
|
|
1521
|
+
referencedTokenId?: string | undefined;
|
|
1522
|
+
} | null | undefined;
|
|
1523
|
+
foregroundColor?: {
|
|
1524
|
+
value: string;
|
|
1525
|
+
referencedTokenId?: string | undefined;
|
|
1526
|
+
} | null | undefined;
|
|
1527
|
+
backgroundImageAsset?: {
|
|
1528
|
+
type: "FigmaNode" | "Resource";
|
|
1529
|
+
resource?: {
|
|
1530
|
+
url: string;
|
|
1531
|
+
resourceId: string;
|
|
1532
|
+
} | undefined;
|
|
1533
|
+
figmaNode?: {
|
|
1534
|
+
sourceId: string;
|
|
1535
|
+
frameReferenceId: string;
|
|
1536
|
+
} | undefined;
|
|
1537
|
+
} | null | undefined;
|
|
1538
|
+
minHeight?: number | null | undefined;
|
|
1539
|
+
}, {
|
|
1540
|
+
description: string;
|
|
1541
|
+
alignment: "Center" | "Left";
|
|
1542
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
1543
|
+
showBackgroundOverlay: boolean;
|
|
1544
|
+
showCoverText: boolean;
|
|
1545
|
+
backgroundColor?: {
|
|
1546
|
+
value: string;
|
|
1547
|
+
referencedTokenId?: string | undefined;
|
|
1548
|
+
} | null | undefined;
|
|
1549
|
+
foregroundColor?: {
|
|
1550
|
+
value: string;
|
|
1551
|
+
referencedTokenId?: string | undefined;
|
|
1552
|
+
} | null | undefined;
|
|
1553
|
+
backgroundImageAsset?: {
|
|
1554
|
+
type: "FigmaNode" | "Resource";
|
|
1555
|
+
resource?: {
|
|
1556
|
+
url: string;
|
|
1557
|
+
resourceId: string;
|
|
1558
|
+
} | undefined;
|
|
1559
|
+
figmaNode?: {
|
|
1560
|
+
sourceId: string;
|
|
1561
|
+
frameReferenceId: string;
|
|
1562
|
+
} | undefined;
|
|
1563
|
+
} | null | undefined;
|
|
1564
|
+
minHeight?: number | null | undefined;
|
|
1565
|
+
}>;
|
|
1566
|
+
}, "header">, {
|
|
1567
|
+
header: z.ZodObject<{
|
|
1568
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1569
|
+
alignment: z.ZodOptional<z.ZodEnum<["Left", "Center"]>>;
|
|
1570
|
+
foregroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1571
|
+
value: z.ZodString;
|
|
1572
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
1573
|
+
}, "strip", z.ZodTypeAny, {
|
|
1574
|
+
value: string;
|
|
1575
|
+
referencedTokenId?: string | undefined;
|
|
1576
|
+
}, {
|
|
1577
|
+
value: string;
|
|
1578
|
+
referencedTokenId?: string | undefined;
|
|
1579
|
+
}>>>>;
|
|
1580
|
+
backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1581
|
+
value: z.ZodString;
|
|
1582
|
+
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
1583
|
+
}, "strip", z.ZodTypeAny, {
|
|
1584
|
+
value: string;
|
|
1585
|
+
referencedTokenId?: string | undefined;
|
|
1586
|
+
}, {
|
|
1587
|
+
value: string;
|
|
1588
|
+
referencedTokenId?: string | undefined;
|
|
1589
|
+
}>>>>;
|
|
1590
|
+
backgroundImageAsset: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1591
|
+
type: z.ZodEnum<["Resource", "FigmaNode"]>;
|
|
1592
|
+
resource: z.ZodOptional<z.ZodObject<{
|
|
1593
|
+
resourceId: z.ZodString;
|
|
1594
|
+
url: z.ZodString;
|
|
1595
|
+
}, "strip", z.ZodTypeAny, {
|
|
1596
|
+
url: string;
|
|
1597
|
+
resourceId: string;
|
|
1598
|
+
}, {
|
|
1599
|
+
url: string;
|
|
1600
|
+
resourceId: string;
|
|
1601
|
+
}>>;
|
|
1602
|
+
figmaNode: z.ZodOptional<z.ZodObject<{
|
|
1603
|
+
sourceId: z.ZodString;
|
|
1604
|
+
frameReferenceId: z.ZodString;
|
|
1605
|
+
}, "strip", z.ZodTypeAny, {
|
|
1606
|
+
sourceId: string;
|
|
1607
|
+
frameReferenceId: string;
|
|
1608
|
+
}, {
|
|
1609
|
+
sourceId: string;
|
|
1610
|
+
frameReferenceId: string;
|
|
1611
|
+
}>>;
|
|
1612
|
+
}, "strip", z.ZodTypeAny, {
|
|
1613
|
+
type: "FigmaNode" | "Resource";
|
|
1614
|
+
resource?: {
|
|
1615
|
+
url: string;
|
|
1616
|
+
resourceId: string;
|
|
1617
|
+
} | undefined;
|
|
1618
|
+
figmaNode?: {
|
|
1619
|
+
sourceId: string;
|
|
1620
|
+
frameReferenceId: string;
|
|
1621
|
+
} | undefined;
|
|
1622
|
+
}, {
|
|
1623
|
+
type: "FigmaNode" | "Resource";
|
|
1624
|
+
resource?: {
|
|
1625
|
+
url: string;
|
|
1626
|
+
resourceId: string;
|
|
1627
|
+
} | undefined;
|
|
1628
|
+
figmaNode?: {
|
|
1629
|
+
sourceId: string;
|
|
1630
|
+
frameReferenceId: string;
|
|
1631
|
+
} | undefined;
|
|
1632
|
+
}>>>>;
|
|
1633
|
+
backgroundImageScaleType: z.ZodOptional<z.ZodEnum<["AspectFill", "AspectFit"]>>;
|
|
1634
|
+
showBackgroundOverlay: z.ZodOptional<z.ZodBoolean>;
|
|
1635
|
+
showCoverText: z.ZodOptional<z.ZodBoolean>;
|
|
1636
|
+
minHeight: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1637
|
+
}, "strip", z.ZodTypeAny, {
|
|
1638
|
+
description?: string | undefined;
|
|
1639
|
+
alignment?: "Left" | "Center" | undefined;
|
|
1640
|
+
foregroundColor?: {
|
|
1641
|
+
value: string;
|
|
1642
|
+
referencedTokenId?: string | undefined;
|
|
1643
|
+
} | null | undefined;
|
|
1644
|
+
backgroundColor?: {
|
|
1645
|
+
value: string;
|
|
1646
|
+
referencedTokenId?: string | undefined;
|
|
1647
|
+
} | null | undefined;
|
|
1648
|
+
backgroundImageAsset?: {
|
|
1649
|
+
type: "FigmaNode" | "Resource";
|
|
1650
|
+
resource?: {
|
|
1651
|
+
url: string;
|
|
1652
|
+
resourceId: string;
|
|
1653
|
+
} | undefined;
|
|
1654
|
+
figmaNode?: {
|
|
1655
|
+
sourceId: string;
|
|
1656
|
+
frameReferenceId: string;
|
|
1657
|
+
} | undefined;
|
|
1658
|
+
} | null | undefined;
|
|
1659
|
+
backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
|
|
1660
|
+
showBackgroundOverlay?: boolean | undefined;
|
|
1661
|
+
showCoverText?: boolean | undefined;
|
|
1662
|
+
minHeight?: number | null | undefined;
|
|
1663
|
+
}, {
|
|
1664
|
+
description?: string | undefined;
|
|
1665
|
+
alignment?: "Left" | "Center" | undefined;
|
|
1666
|
+
foregroundColor?: {
|
|
1667
|
+
value: string;
|
|
1668
|
+
referencedTokenId?: string | undefined;
|
|
1669
|
+
} | null | undefined;
|
|
1670
|
+
backgroundColor?: {
|
|
1671
|
+
value: string;
|
|
1672
|
+
referencedTokenId?: string | undefined;
|
|
1673
|
+
} | null | undefined;
|
|
1674
|
+
backgroundImageAsset?: {
|
|
1675
|
+
type: "FigmaNode" | "Resource";
|
|
1676
|
+
resource?: {
|
|
1677
|
+
url: string;
|
|
1678
|
+
resourceId: string;
|
|
1679
|
+
} | undefined;
|
|
1680
|
+
figmaNode?: {
|
|
1681
|
+
sourceId: string;
|
|
1682
|
+
frameReferenceId: string;
|
|
1683
|
+
} | undefined;
|
|
1684
|
+
} | null | undefined;
|
|
1685
|
+
backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
|
|
1686
|
+
showBackgroundOverlay?: boolean | undefined;
|
|
1687
|
+
showCoverText?: boolean | undefined;
|
|
1688
|
+
minHeight?: number | null | undefined;
|
|
1689
|
+
}>;
|
|
1690
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1691
|
+
showSidebar: boolean;
|
|
1692
|
+
isPrivate: boolean;
|
|
1693
|
+
isHidden: boolean;
|
|
1694
|
+
header: {
|
|
1695
|
+
description?: string | undefined;
|
|
1696
|
+
alignment?: "Left" | "Center" | undefined;
|
|
1697
|
+
foregroundColor?: {
|
|
1698
|
+
value: string;
|
|
1699
|
+
referencedTokenId?: string | undefined;
|
|
1700
|
+
} | null | undefined;
|
|
1701
|
+
backgroundColor?: {
|
|
1702
|
+
value: string;
|
|
1703
|
+
referencedTokenId?: string | undefined;
|
|
1704
|
+
} | null | undefined;
|
|
1705
|
+
backgroundImageAsset?: {
|
|
1706
|
+
type: "FigmaNode" | "Resource";
|
|
1707
|
+
resource?: {
|
|
1708
|
+
url: string;
|
|
1709
|
+
resourceId: string;
|
|
1710
|
+
} | undefined;
|
|
1711
|
+
figmaNode?: {
|
|
1712
|
+
sourceId: string;
|
|
1713
|
+
frameReferenceId: string;
|
|
1714
|
+
} | undefined;
|
|
1715
|
+
} | null | undefined;
|
|
1716
|
+
backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
|
|
1717
|
+
showBackgroundOverlay?: boolean | undefined;
|
|
1718
|
+
showCoverText?: boolean | undefined;
|
|
1719
|
+
minHeight?: number | null | undefined;
|
|
1720
|
+
};
|
|
1721
|
+
}, {
|
|
1722
|
+
showSidebar: boolean;
|
|
1723
|
+
isPrivate: boolean;
|
|
1724
|
+
isHidden: boolean;
|
|
1725
|
+
header: {
|
|
1726
|
+
description?: string | undefined;
|
|
1727
|
+
alignment?: "Left" | "Center" | undefined;
|
|
1728
|
+
foregroundColor?: {
|
|
1729
|
+
value: string;
|
|
1730
|
+
referencedTokenId?: string | undefined;
|
|
1731
|
+
} | null | undefined;
|
|
1732
|
+
backgroundColor?: {
|
|
1733
|
+
value: string;
|
|
1734
|
+
referencedTokenId?: string | undefined;
|
|
1735
|
+
} | null | undefined;
|
|
1736
|
+
backgroundImageAsset?: {
|
|
1737
|
+
type: "FigmaNode" | "Resource";
|
|
1738
|
+
resource?: {
|
|
1739
|
+
url: string;
|
|
1740
|
+
resourceId: string;
|
|
1741
|
+
} | undefined;
|
|
1742
|
+
figmaNode?: {
|
|
1743
|
+
sourceId: string;
|
|
1744
|
+
frameReferenceId: string;
|
|
1745
|
+
} | undefined;
|
|
1746
|
+
} | null | undefined;
|
|
1747
|
+
backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
|
|
1748
|
+
showBackgroundOverlay?: boolean | undefined;
|
|
1749
|
+
showCoverText?: boolean | undefined;
|
|
1750
|
+
minHeight?: number | null | undefined;
|
|
1751
|
+
};
|
|
1752
|
+
}>>;
|
|
1753
|
+
}, "strip", z.ZodTypeAny, {
|
|
1754
|
+
title?: string | undefined;
|
|
1755
|
+
configuration?: {
|
|
1756
|
+
showSidebar: boolean;
|
|
1757
|
+
isPrivate: boolean;
|
|
1758
|
+
isHidden: boolean;
|
|
1759
|
+
header: {
|
|
1760
|
+
description?: string | undefined;
|
|
1761
|
+
alignment?: "Left" | "Center" | undefined;
|
|
1762
|
+
foregroundColor?: {
|
|
1763
|
+
value: string;
|
|
1764
|
+
referencedTokenId?: string | undefined;
|
|
1765
|
+
} | null | undefined;
|
|
1766
|
+
backgroundColor?: {
|
|
1767
|
+
value: string;
|
|
1768
|
+
referencedTokenId?: string | undefined;
|
|
1769
|
+
} | null | undefined;
|
|
1770
|
+
backgroundImageAsset?: {
|
|
1771
|
+
type: "FigmaNode" | "Resource";
|
|
1772
|
+
resource?: {
|
|
1773
|
+
url: string;
|
|
1774
|
+
resourceId: string;
|
|
1775
|
+
} | undefined;
|
|
1776
|
+
figmaNode?: {
|
|
1777
|
+
sourceId: string;
|
|
1778
|
+
frameReferenceId: string;
|
|
1779
|
+
} | undefined;
|
|
1780
|
+
} | null | undefined;
|
|
1781
|
+
backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
|
|
1782
|
+
showBackgroundOverlay?: boolean | undefined;
|
|
1783
|
+
showCoverText?: boolean | undefined;
|
|
1784
|
+
minHeight?: number | null | undefined;
|
|
1785
|
+
};
|
|
1786
|
+
} | undefined;
|
|
1787
|
+
}, {
|
|
1788
|
+
title?: string | undefined;
|
|
1789
|
+
configuration?: {
|
|
1790
|
+
showSidebar: boolean;
|
|
1791
|
+
isPrivate: boolean;
|
|
1792
|
+
isHidden: boolean;
|
|
1793
|
+
header: {
|
|
1794
|
+
description?: string | undefined;
|
|
1795
|
+
alignment?: "Left" | "Center" | undefined;
|
|
1796
|
+
foregroundColor?: {
|
|
1797
|
+
value: string;
|
|
1798
|
+
referencedTokenId?: string | undefined;
|
|
1799
|
+
} | null | undefined;
|
|
1800
|
+
backgroundColor?: {
|
|
1801
|
+
value: string;
|
|
1802
|
+
referencedTokenId?: string | undefined;
|
|
1803
|
+
} | null | undefined;
|
|
1804
|
+
backgroundImageAsset?: {
|
|
1805
|
+
type: "FigmaNode" | "Resource";
|
|
1806
|
+
resource?: {
|
|
1807
|
+
url: string;
|
|
1808
|
+
resourceId: string;
|
|
1809
|
+
} | undefined;
|
|
1810
|
+
figmaNode?: {
|
|
1811
|
+
sourceId: string;
|
|
1812
|
+
frameReferenceId: string;
|
|
1813
|
+
} | undefined;
|
|
1814
|
+
} | null | undefined;
|
|
1815
|
+
backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
|
|
1816
|
+
showBackgroundOverlay?: boolean | undefined;
|
|
1817
|
+
showCoverText?: boolean | undefined;
|
|
1818
|
+
minHeight?: number | null | undefined;
|
|
1819
|
+
};
|
|
1820
|
+
} | undefined;
|
|
1821
|
+
}>;
|
|
1822
|
+
type DTODocumentationPageRoomHeaderDataUpdate = z.infer<typeof DTODocumentationPageRoomHeaderDataUpdate>;
|
|
1823
|
+
declare function itemConfigurationToYjs(yDoc: Y.Doc, item: DTODocumentationPageRoomHeaderDataUpdate): void;
|
|
1824
|
+
declare function yjsToItemConfiguration(yDoc: Y.Doc): DTODocumentationPageRoomHeaderData;
|
|
1825
|
+
|
|
1826
|
+
type VersionRoomDocsPage = DocumentationPageV2;
|
|
1827
|
+
type VersionRoomDocsPageGroup = ElementGroup;
|
|
1828
|
+
type VersionRoomBaseYDocState = {
|
|
1829
|
+
isLoaded: boolean;
|
|
1830
|
+
pages: VersionRoomDocsPage[];
|
|
1831
|
+
pageSnapshots: DocumentationPageSnapshot[];
|
|
1832
|
+
pageContentHashes: Record<string, string>;
|
|
1833
|
+
pageLiveblockRoomIds: Record<string, string>;
|
|
1834
|
+
groups: VersionRoomDocsPageGroup[];
|
|
1835
|
+
groupSnapshots: ElementGroupSnapshot[];
|
|
1836
|
+
approvals: DocumentationPageApproval[];
|
|
1837
|
+
settings: DocumentationHierarchySettings;
|
|
1838
|
+
};
|
|
1839
|
+
|
|
1840
|
+
declare const DTOColorTokenInlineData: z.ZodObject<{
|
|
1841
|
+
value: z.ZodString;
|
|
1842
|
+
}, "strip", z.ZodTypeAny, {
|
|
1843
|
+
value: string;
|
|
1844
|
+
}, {
|
|
1845
|
+
value: string;
|
|
1846
|
+
}>;
|
|
1847
|
+
type DTOColorTokenInlineData = z.infer<typeof DTOColorTokenInlineData>;
|
|
1848
|
+
|
|
1849
|
+
declare const DTOObjectMeta: z.ZodObject<{
|
|
1850
|
+
name: z.ZodString;
|
|
1851
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1852
|
+
}, "strip", z.ZodTypeAny, {
|
|
1853
|
+
name: string;
|
|
1854
|
+
description?: string | undefined;
|
|
1855
|
+
}, {
|
|
1856
|
+
name: string;
|
|
1857
|
+
description?: string | undefined;
|
|
1858
|
+
}>;
|
|
1859
|
+
type DTOObjectMeta = z.infer<typeof DTOObjectMeta>;
|
|
1860
|
+
|
|
1861
|
+
declare const DTOPagination: z.ZodObject<{
|
|
1862
|
+
limit: z.ZodOptional<z.ZodString>;
|
|
1863
|
+
offset: z.ZodOptional<z.ZodString>;
|
|
1864
|
+
}, "strip", z.ZodTypeAny, {
|
|
1865
|
+
limit?: string | undefined;
|
|
1866
|
+
offset?: string | undefined;
|
|
1867
|
+
}, {
|
|
1868
|
+
limit?: string | undefined;
|
|
1869
|
+
offset?: string | undefined;
|
|
1870
|
+
}>;
|
|
1871
|
+
type DTOPagination = z.infer<typeof DTOPagination>;
|
|
1872
|
+
|
|
1873
|
+
declare const DTOAppBootstrapDataQuery: z.ZodObject<{
|
|
1874
|
+
preferredWorkspaceId: z.ZodOptional<z.ZodString>;
|
|
1875
|
+
preferredDesignSystemId: z.ZodOptional<z.ZodString>;
|
|
1876
|
+
preferredVersionId: z.ZodOptional<z.ZodString>;
|
|
1877
|
+
preferredBrandId: z.ZodOptional<z.ZodString>;
|
|
1878
|
+
}, "strip", z.ZodTypeAny, {
|
|
1879
|
+
preferredWorkspaceId?: string | undefined;
|
|
1880
|
+
preferredDesignSystemId?: string | undefined;
|
|
1881
|
+
preferredVersionId?: string | undefined;
|
|
1882
|
+
preferredBrandId?: string | undefined;
|
|
1883
|
+
}, {
|
|
1884
|
+
preferredWorkspaceId?: string | undefined;
|
|
1885
|
+
preferredDesignSystemId?: string | undefined;
|
|
1886
|
+
preferredVersionId?: string | undefined;
|
|
1887
|
+
preferredBrandId?: string | undefined;
|
|
1888
|
+
}>;
|
|
1889
|
+
type DTOAppBootstrapDataQuery = z.infer<typeof DTOAppBootstrapDataQuery>;
|
|
1890
|
+
declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
1891
|
+
workspaceMembership: z.ZodOptional<z.ZodObject<{
|
|
1892
|
+
workspace: z.ZodObject<{
|
|
1893
|
+
id: z.ZodString;
|
|
1894
|
+
profile: z.ZodObject<{
|
|
1895
|
+
name: z.ZodString;
|
|
1896
|
+
handle: z.ZodString;
|
|
1897
|
+
color: z.ZodString;
|
|
1898
|
+
avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
1899
|
+
billingDetails: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
1900
|
+
address?: {
|
|
1901
|
+
state?: string | undefined;
|
|
1902
|
+
street1?: string | undefined;
|
|
1903
|
+
street2?: string | undefined;
|
|
1904
|
+
city?: string | undefined;
|
|
1905
|
+
postal?: string | undefined;
|
|
1906
|
+
country?: string | undefined;
|
|
1907
|
+
} | undefined;
|
|
1908
|
+
email?: string | undefined;
|
|
1909
|
+
notes?: string | undefined;
|
|
1910
|
+
companyName?: string | undefined;
|
|
1911
|
+
companyId?: string | undefined;
|
|
1912
|
+
vat?: string | undefined;
|
|
1913
|
+
poNumber?: string | undefined;
|
|
1914
|
+
}, z.ZodTypeDef, {
|
|
1915
|
+
address?: {
|
|
1916
|
+
state?: string | null | undefined;
|
|
1917
|
+
street1?: string | null | undefined;
|
|
1918
|
+
street2?: string | null | undefined;
|
|
1919
|
+
city?: string | null | undefined;
|
|
1920
|
+
postal?: string | null | undefined;
|
|
1921
|
+
country?: string | null | undefined;
|
|
1922
|
+
} | null | undefined;
|
|
1923
|
+
email?: string | null | undefined;
|
|
1924
|
+
notes?: string | null | undefined;
|
|
1925
|
+
companyName?: string | null | undefined;
|
|
1926
|
+
companyId?: string | null | undefined;
|
|
1927
|
+
vat?: string | null | undefined;
|
|
1928
|
+
poNumber?: string | null | undefined;
|
|
1929
|
+
}>>>, {
|
|
1930
|
+
address?: {
|
|
1931
|
+
state?: string | undefined;
|
|
1932
|
+
street1?: string | undefined;
|
|
1933
|
+
street2?: string | undefined;
|
|
1934
|
+
city?: string | undefined;
|
|
1935
|
+
postal?: string | undefined;
|
|
1936
|
+
country?: string | undefined;
|
|
1937
|
+
} | undefined;
|
|
1938
|
+
email?: string | undefined;
|
|
1939
|
+
notes?: string | undefined;
|
|
1940
|
+
companyName?: string | undefined;
|
|
1941
|
+
companyId?: string | undefined;
|
|
1942
|
+
vat?: string | undefined;
|
|
1943
|
+
poNumber?: string | undefined;
|
|
1944
|
+
} | undefined, {
|
|
1945
|
+
address?: {
|
|
1946
|
+
state?: string | null | undefined;
|
|
1947
|
+
street1?: string | null | undefined;
|
|
1948
|
+
street2?: string | null | undefined;
|
|
1949
|
+
city?: string | null | undefined;
|
|
1950
|
+
postal?: string | null | undefined;
|
|
1951
|
+
country?: string | null | undefined;
|
|
1952
|
+
} | null | undefined;
|
|
1953
|
+
email?: string | null | undefined;
|
|
1954
|
+
notes?: string | null | undefined;
|
|
1955
|
+
companyName?: string | null | undefined;
|
|
1956
|
+
companyId?: string | null | undefined;
|
|
1957
|
+
vat?: string | null | undefined;
|
|
1958
|
+
poNumber?: string | null | undefined;
|
|
1959
|
+
} | null | undefined>;
|
|
1960
|
+
}, "strip", z.ZodTypeAny, {
|
|
1961
|
+
name: string;
|
|
1962
|
+
color: string;
|
|
1963
|
+
handle: string;
|
|
1964
|
+
avatar?: string | undefined;
|
|
1965
|
+
billingDetails?: {
|
|
1966
|
+
address?: {
|
|
1967
|
+
state?: string | undefined;
|
|
1968
|
+
street1?: string | undefined;
|
|
1969
|
+
street2?: string | undefined;
|
|
1970
|
+
city?: string | undefined;
|
|
1971
|
+
postal?: string | undefined;
|
|
1972
|
+
country?: string | undefined;
|
|
1973
|
+
} | undefined;
|
|
1974
|
+
email?: string | undefined;
|
|
1975
|
+
notes?: string | undefined;
|
|
1976
|
+
companyName?: string | undefined;
|
|
1977
|
+
companyId?: string | undefined;
|
|
1978
|
+
vat?: string | undefined;
|
|
1979
|
+
poNumber?: string | undefined;
|
|
1980
|
+
} | undefined;
|
|
1981
|
+
}, {
|
|
1982
|
+
name: string;
|
|
1983
|
+
color: string;
|
|
1984
|
+
handle: string;
|
|
1985
|
+
avatar?: string | null | undefined;
|
|
1986
|
+
billingDetails?: {
|
|
1987
|
+
address?: {
|
|
1988
|
+
state?: string | null | undefined;
|
|
1989
|
+
street1?: string | null | undefined;
|
|
1990
|
+
street2?: string | null | undefined;
|
|
1991
|
+
city?: string | null | undefined;
|
|
1992
|
+
postal?: string | null | undefined;
|
|
1993
|
+
country?: string | null | undefined;
|
|
1994
|
+
} | null | undefined;
|
|
1995
|
+
email?: string | null | undefined;
|
|
1996
|
+
notes?: string | null | undefined;
|
|
1997
|
+
companyName?: string | null | undefined;
|
|
1998
|
+
companyId?: string | null | undefined;
|
|
1999
|
+
vat?: string | null | undefined;
|
|
2000
|
+
poNumber?: string | null | undefined;
|
|
2001
|
+
} | null | undefined;
|
|
2002
|
+
}>;
|
|
2003
|
+
subscription: z.ZodObject<{
|
|
2004
|
+
stripeSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2005
|
+
stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2006
|
+
status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
|
|
2007
|
+
subscriptionStatus: z.ZodOptional<z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>>;
|
|
2008
|
+
internalStatus: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
|
|
2009
|
+
product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
|
|
2010
|
+
featuresSummary: z.ZodOptional<z.ZodObject<{
|
|
2011
|
+
designSystems: z.ZodObject<{
|
|
2012
|
+
max: z.ZodNumber;
|
|
2013
|
+
errorMessage: z.ZodString;
|
|
2014
|
+
errorReason: z.ZodString;
|
|
2015
|
+
}, "strip", z.ZodTypeAny, {
|
|
2016
|
+
max: number;
|
|
2017
|
+
errorMessage: string;
|
|
2018
|
+
errorReason: string;
|
|
2019
|
+
}, {
|
|
2020
|
+
max: number;
|
|
2021
|
+
errorMessage: string;
|
|
1312
2022
|
errorReason: string;
|
|
1313
2023
|
}>;
|
|
1314
2024
|
designSystemSources: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -9892,107 +10602,6 @@ declare const DTODesignSystemMembersUpdatePayload: z.ZodObject<{
|
|
|
9892
10602
|
}>;
|
|
9893
10603
|
type DTODesignSystemMembersUpdatePayload = z.infer<typeof DTODesignSystemMembersUpdatePayload>;
|
|
9894
10604
|
|
|
9895
|
-
declare const DTOPageRedirectCreateBody: z.ZodObject<{
|
|
9896
|
-
pagePersistentId: z.ZodString;
|
|
9897
|
-
path: z.ZodString;
|
|
9898
|
-
}, "strip", z.ZodTypeAny, {
|
|
9899
|
-
path: string;
|
|
9900
|
-
pagePersistentId: string;
|
|
9901
|
-
}, {
|
|
9902
|
-
path: string;
|
|
9903
|
-
pagePersistentId: string;
|
|
9904
|
-
}>;
|
|
9905
|
-
type DTOPageRedirectCreateBody = z.infer<typeof DTOPageRedirectCreateBody>;
|
|
9906
|
-
declare const DTOPageRedirectUpdateBody: z.ZodObject<{
|
|
9907
|
-
pagePersistentId: z.ZodOptional<z.ZodString>;
|
|
9908
|
-
path: z.ZodOptional<z.ZodString>;
|
|
9909
|
-
}, "strip", z.ZodTypeAny, {
|
|
9910
|
-
path?: string | undefined;
|
|
9911
|
-
pagePersistentId?: string | undefined;
|
|
9912
|
-
}, {
|
|
9913
|
-
path?: string | undefined;
|
|
9914
|
-
pagePersistentId?: string | undefined;
|
|
9915
|
-
}>;
|
|
9916
|
-
type DTOPageRedirectUpdateBody = z.infer<typeof DTOPageRedirectUpdateBody>;
|
|
9917
|
-
declare const DTOPageRedirect: z.ZodObject<{
|
|
9918
|
-
id: z.ZodString;
|
|
9919
|
-
pagePersistentId: z.ZodString;
|
|
9920
|
-
path: z.ZodString;
|
|
9921
|
-
}, "strip", z.ZodTypeAny, {
|
|
9922
|
-
path: string;
|
|
9923
|
-
id: string;
|
|
9924
|
-
pagePersistentId: string;
|
|
9925
|
-
}, {
|
|
9926
|
-
path: string;
|
|
9927
|
-
id: string;
|
|
9928
|
-
pagePersistentId: string;
|
|
9929
|
-
}>;
|
|
9930
|
-
type DTOPageRedirect = z.infer<typeof DTOPageRedirect>;
|
|
9931
|
-
declare const DTOPageRedirectListResponse: z.ZodObject<{
|
|
9932
|
-
redirects: z.ZodArray<z.ZodObject<{
|
|
9933
|
-
id: z.ZodString;
|
|
9934
|
-
pagePersistentId: z.ZodString;
|
|
9935
|
-
path: z.ZodString;
|
|
9936
|
-
}, "strip", z.ZodTypeAny, {
|
|
9937
|
-
path: string;
|
|
9938
|
-
id: string;
|
|
9939
|
-
pagePersistentId: string;
|
|
9940
|
-
}, {
|
|
9941
|
-
path: string;
|
|
9942
|
-
id: string;
|
|
9943
|
-
pagePersistentId: string;
|
|
9944
|
-
}>, "many">;
|
|
9945
|
-
}, "strip", z.ZodTypeAny, {
|
|
9946
|
-
redirects: {
|
|
9947
|
-
path: string;
|
|
9948
|
-
id: string;
|
|
9949
|
-
pagePersistentId: string;
|
|
9950
|
-
}[];
|
|
9951
|
-
}, {
|
|
9952
|
-
redirects: {
|
|
9953
|
-
path: string;
|
|
9954
|
-
id: string;
|
|
9955
|
-
pagePersistentId: string;
|
|
9956
|
-
}[];
|
|
9957
|
-
}>;
|
|
9958
|
-
type DTOPageRedirectListResponse = z.infer<typeof DTOPageRedirectListResponse>;
|
|
9959
|
-
declare const DTOPageRedirectResponse: z.ZodObject<{
|
|
9960
|
-
redirect: z.ZodObject<{
|
|
9961
|
-
id: z.ZodString;
|
|
9962
|
-
pagePersistentId: z.ZodString;
|
|
9963
|
-
path: z.ZodString;
|
|
9964
|
-
}, "strip", z.ZodTypeAny, {
|
|
9965
|
-
path: string;
|
|
9966
|
-
id: string;
|
|
9967
|
-
pagePersistentId: string;
|
|
9968
|
-
}, {
|
|
9969
|
-
path: string;
|
|
9970
|
-
id: string;
|
|
9971
|
-
pagePersistentId: string;
|
|
9972
|
-
}>;
|
|
9973
|
-
}, "strip", z.ZodTypeAny, {
|
|
9974
|
-
redirect: {
|
|
9975
|
-
path: string;
|
|
9976
|
-
id: string;
|
|
9977
|
-
pagePersistentId: string;
|
|
9978
|
-
};
|
|
9979
|
-
}, {
|
|
9980
|
-
redirect: {
|
|
9981
|
-
path: string;
|
|
9982
|
-
id: string;
|
|
9983
|
-
pagePersistentId: string;
|
|
9984
|
-
};
|
|
9985
|
-
}>;
|
|
9986
|
-
type DTOPageRedirectResponse = z.infer<typeof DTOPageRedirectResponse>;
|
|
9987
|
-
declare const DTOPageRedirectDeleteResponse: z.ZodObject<{
|
|
9988
|
-
success: z.ZodBoolean;
|
|
9989
|
-
}, "strip", z.ZodTypeAny, {
|
|
9990
|
-
success: boolean;
|
|
9991
|
-
}, {
|
|
9992
|
-
success: boolean;
|
|
9993
|
-
}>;
|
|
9994
|
-
type DTOPageRedirectDeleteResponse = z.infer<typeof DTOPageRedirectDeleteResponse>;
|
|
9995
|
-
|
|
9996
10605
|
declare const DTODesignSystemRole: z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>;
|
|
9997
10606
|
type DTODesignSystemRole = z.infer<typeof DTODesignSystemRole>;
|
|
9998
10607
|
|
|
@@ -21873,18 +22482,18 @@ declare const DTODocumentationPageApprovalState: z.ZodObject<{
|
|
|
21873
22482
|
type DTODocumentationPageApprovalState = DocumentationPageApproval;
|
|
21874
22483
|
declare const DTODocumentationGroupApprovalState: z.ZodObject<{
|
|
21875
22484
|
persistentId: z.ZodString;
|
|
21876
|
-
|
|
22485
|
+
groupPersistentId: z.ZodString;
|
|
21877
22486
|
designSystemVersionId: z.ZodString;
|
|
21878
22487
|
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>;
|
|
21879
22488
|
}, "strip", z.ZodTypeAny, {
|
|
21880
22489
|
persistentId: string;
|
|
21881
22490
|
designSystemVersionId: string;
|
|
21882
|
-
|
|
22491
|
+
groupPersistentId: string;
|
|
21883
22492
|
approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
|
|
21884
22493
|
}, {
|
|
21885
22494
|
persistentId: string;
|
|
21886
22495
|
designSystemVersionId: string;
|
|
21887
|
-
|
|
22496
|
+
groupPersistentId: string;
|
|
21888
22497
|
approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
|
|
21889
22498
|
}>;
|
|
21890
22499
|
type DTODocumentationGroupApprovalState = z.infer<typeof DTODocumentationGroupApprovalState>;
|
|
@@ -28557,18 +29166,18 @@ declare const DTODocumentationGroupV2: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
28557
29166
|
}>>;
|
|
28558
29167
|
approvalState: z.ZodOptional<z.ZodObject<{
|
|
28559
29168
|
persistentId: z.ZodString;
|
|
28560
|
-
|
|
29169
|
+
groupPersistentId: z.ZodString;
|
|
28561
29170
|
designSystemVersionId: z.ZodString;
|
|
28562
29171
|
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>;
|
|
28563
29172
|
}, "strip", z.ZodTypeAny, {
|
|
28564
29173
|
persistentId: string;
|
|
28565
29174
|
designSystemVersionId: string;
|
|
28566
|
-
|
|
29175
|
+
groupPersistentId: string;
|
|
28567
29176
|
approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
|
|
28568
29177
|
}, {
|
|
28569
29178
|
persistentId: string;
|
|
28570
29179
|
designSystemVersionId: string;
|
|
28571
|
-
|
|
29180
|
+
groupPersistentId: string;
|
|
28572
29181
|
approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
|
|
28573
29182
|
}>>;
|
|
28574
29183
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -28620,7 +29229,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
28620
29229
|
approvalState?: {
|
|
28621
29230
|
persistentId: string;
|
|
28622
29231
|
designSystemVersionId: string;
|
|
28623
|
-
|
|
29232
|
+
groupPersistentId: string;
|
|
28624
29233
|
approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
|
|
28625
29234
|
} | undefined;
|
|
28626
29235
|
draftState?: {
|
|
@@ -28721,7 +29330,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
28721
29330
|
approvalState?: {
|
|
28722
29331
|
persistentId: string;
|
|
28723
29332
|
designSystemVersionId: string;
|
|
28724
|
-
|
|
29333
|
+
groupPersistentId: string;
|
|
28725
29334
|
approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
|
|
28726
29335
|
} | undefined;
|
|
28727
29336
|
draftState?: {
|
|
@@ -31349,18 +31958,18 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
31349
31958
|
}>>;
|
|
31350
31959
|
approvalState: z.ZodOptional<z.ZodObject<{
|
|
31351
31960
|
persistentId: z.ZodString;
|
|
31352
|
-
|
|
31961
|
+
groupPersistentId: z.ZodString;
|
|
31353
31962
|
designSystemVersionId: z.ZodString;
|
|
31354
31963
|
approvalState: z.ZodEnum<["ReadyForReview", "ChangesRequested", "Approved"]>;
|
|
31355
31964
|
}, "strip", z.ZodTypeAny, {
|
|
31356
31965
|
persistentId: string;
|
|
31357
31966
|
designSystemVersionId: string;
|
|
31358
|
-
|
|
31967
|
+
groupPersistentId: string;
|
|
31359
31968
|
approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
|
|
31360
31969
|
}, {
|
|
31361
31970
|
persistentId: string;
|
|
31362
31971
|
designSystemVersionId: string;
|
|
31363
|
-
|
|
31972
|
+
groupPersistentId: string;
|
|
31364
31973
|
approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
|
|
31365
31974
|
}>>;
|
|
31366
31975
|
}>, {
|
|
@@ -31775,7 +32384,7 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
31775
32384
|
approvalState?: {
|
|
31776
32385
|
persistentId: string;
|
|
31777
32386
|
designSystemVersionId: string;
|
|
31778
|
-
|
|
32387
|
+
groupPersistentId: string;
|
|
31779
32388
|
approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
|
|
31780
32389
|
} | undefined;
|
|
31781
32390
|
draftState?: {
|
|
@@ -31876,7 +32485,7 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
31876
32485
|
approvalState?: {
|
|
31877
32486
|
persistentId: string;
|
|
31878
32487
|
designSystemVersionId: string;
|
|
31879
|
-
|
|
32488
|
+
groupPersistentId: string;
|
|
31880
32489
|
approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
|
|
31881
32490
|
} | undefined;
|
|
31882
32491
|
draftState?: {
|
|
@@ -31979,7 +32588,7 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
31979
32588
|
approvalState?: {
|
|
31980
32589
|
persistentId: string;
|
|
31981
32590
|
designSystemVersionId: string;
|
|
31982
|
-
|
|
32591
|
+
groupPersistentId: string;
|
|
31983
32592
|
approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
|
|
31984
32593
|
} | undefined;
|
|
31985
32594
|
draftState?: {
|
|
@@ -32188,7 +32797,7 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
|
32188
32797
|
approvalState?: {
|
|
32189
32798
|
persistentId: string;
|
|
32190
32799
|
designSystemVersionId: string;
|
|
32191
|
-
|
|
32800
|
+
groupPersistentId: string;
|
|
32192
32801
|
approvalState: "ReadyForReview" | "ChangesRequested" | "Approved";
|
|
32193
32802
|
} | undefined;
|
|
32194
32803
|
draftState?: {
|
|
@@ -46477,6 +47086,9 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
46477
47086
|
};
|
|
46478
47087
|
}>]>;
|
|
46479
47088
|
type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
|
|
47089
|
+
type DTOElementActionInputOfType<T extends DTOElementActionInput["type"]> = Extract<DTOElementActionInput, {
|
|
47090
|
+
type: T;
|
|
47091
|
+
}>;
|
|
46480
47092
|
|
|
46481
47093
|
declare const DTOElementsGetQuerySchema: z.ZodObject<{
|
|
46482
47094
|
types: z.ZodEffects<z.ZodString, "FigmaNode"[], string>;
|
|
@@ -76031,35 +76643,6 @@ declare const DTOUserOnboardingJobLevel: z.ZodEnum<["Executive", "Manager", "Ind
|
|
|
76031
76643
|
type DTOUserOnboardingJobLevel = z.infer<typeof DTOUserOnboardingJobLevel>;
|
|
76032
76644
|
declare const DTOUserSource: z.ZodEnum<["SignUp", "Invite", "SSO"]>;
|
|
76033
76645
|
type DTOUserSource = z.infer<typeof DTOUserSource>;
|
|
76034
|
-
declare const DTOUserTheme: z.ZodObject<{
|
|
76035
|
-
preset: z.ZodOptional<z.ZodEnum<["Custom", "Default", "HighContrast", "DefaultDark", "HighContrastDark", "SpaceBlue", "DarkGrey"]>>;
|
|
76036
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
76037
|
-
accentColor: z.ZodOptional<z.ZodString>;
|
|
76038
|
-
contrast: z.ZodOptional<z.ZodNumber>;
|
|
76039
|
-
isSecondaryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
76040
|
-
secondaryBackgroundColor: z.ZodOptional<z.ZodString>;
|
|
76041
|
-
secondaryContrast: z.ZodOptional<z.ZodNumber>;
|
|
76042
|
-
isEditorWhite: z.ZodOptional<z.ZodBoolean>;
|
|
76043
|
-
}, "strip", z.ZodTypeAny, {
|
|
76044
|
-
backgroundColor?: string | undefined;
|
|
76045
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76046
|
-
accentColor?: string | undefined;
|
|
76047
|
-
contrast?: number | undefined;
|
|
76048
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76049
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76050
|
-
secondaryContrast?: number | undefined;
|
|
76051
|
-
isEditorWhite?: boolean | undefined;
|
|
76052
|
-
}, {
|
|
76053
|
-
backgroundColor?: string | undefined;
|
|
76054
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76055
|
-
accentColor?: string | undefined;
|
|
76056
|
-
contrast?: number | undefined;
|
|
76057
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76058
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76059
|
-
secondaryContrast?: number | undefined;
|
|
76060
|
-
isEditorWhite?: boolean | undefined;
|
|
76061
|
-
}>;
|
|
76062
|
-
type DTOUserTheme = z.infer<typeof DTOUserTheme>;
|
|
76063
76646
|
declare const DTOUserOnboarding: z.ZodObject<{
|
|
76064
76647
|
companyName: z.ZodOptional<z.ZodString>;
|
|
76065
76648
|
numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
|
|
@@ -76134,34 +76717,6 @@ declare const DTOAuthenticatedUserProfile: z.ZodObject<z.objectUtil.extendShape<
|
|
|
76134
76717
|
defaultDestination?: string | undefined;
|
|
76135
76718
|
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76136
76719
|
}>>;
|
|
76137
|
-
theme: z.ZodOptional<z.ZodObject<{
|
|
76138
|
-
preset: z.ZodOptional<z.ZodEnum<["Custom", "Default", "HighContrast", "DefaultDark", "HighContrastDark", "SpaceBlue", "DarkGrey"]>>;
|
|
76139
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
76140
|
-
accentColor: z.ZodOptional<z.ZodString>;
|
|
76141
|
-
contrast: z.ZodOptional<z.ZodNumber>;
|
|
76142
|
-
isSecondaryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
76143
|
-
secondaryBackgroundColor: z.ZodOptional<z.ZodString>;
|
|
76144
|
-
secondaryContrast: z.ZodOptional<z.ZodNumber>;
|
|
76145
|
-
isEditorWhite: z.ZodOptional<z.ZodBoolean>;
|
|
76146
|
-
}, "strip", z.ZodTypeAny, {
|
|
76147
|
-
backgroundColor?: string | undefined;
|
|
76148
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76149
|
-
accentColor?: string | undefined;
|
|
76150
|
-
contrast?: number | undefined;
|
|
76151
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76152
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76153
|
-
secondaryContrast?: number | undefined;
|
|
76154
|
-
isEditorWhite?: boolean | undefined;
|
|
76155
|
-
}, {
|
|
76156
|
-
backgroundColor?: string | undefined;
|
|
76157
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76158
|
-
accentColor?: string | undefined;
|
|
76159
|
-
contrast?: number | undefined;
|
|
76160
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76161
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76162
|
-
secondaryContrast?: number | undefined;
|
|
76163
|
-
isEditorWhite?: boolean | undefined;
|
|
76164
|
-
}>>;
|
|
76165
76720
|
}>, "strip", z.ZodTypeAny, {
|
|
76166
76721
|
name: string;
|
|
76167
76722
|
nickname?: string | undefined;
|
|
@@ -76178,16 +76733,6 @@ declare const DTOAuthenticatedUserProfile: z.ZodObject<z.objectUtil.extendShape<
|
|
|
76178
76733
|
defaultDestination?: string | undefined;
|
|
76179
76734
|
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76180
76735
|
} | undefined;
|
|
76181
|
-
theme?: {
|
|
76182
|
-
backgroundColor?: string | undefined;
|
|
76183
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76184
|
-
accentColor?: string | undefined;
|
|
76185
|
-
contrast?: number | undefined;
|
|
76186
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76187
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76188
|
-
secondaryContrast?: number | undefined;
|
|
76189
|
-
isEditorWhite?: boolean | undefined;
|
|
76190
|
-
} | undefined;
|
|
76191
76736
|
}, {
|
|
76192
76737
|
name: string;
|
|
76193
76738
|
nickname?: string | undefined;
|
|
@@ -76204,16 +76749,6 @@ declare const DTOAuthenticatedUserProfile: z.ZodObject<z.objectUtil.extendShape<
|
|
|
76204
76749
|
defaultDestination?: string | undefined;
|
|
76205
76750
|
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76206
76751
|
} | undefined;
|
|
76207
|
-
theme?: {
|
|
76208
|
-
backgroundColor?: string | undefined;
|
|
76209
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76210
|
-
accentColor?: string | undefined;
|
|
76211
|
-
contrast?: number | undefined;
|
|
76212
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76213
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76214
|
-
secondaryContrast?: number | undefined;
|
|
76215
|
-
isEditorWhite?: boolean | undefined;
|
|
76216
|
-
} | undefined;
|
|
76217
76752
|
}>;
|
|
76218
76753
|
type DTOAuthenticatedUserProfile = z.infer<typeof DTOAuthenticatedUserProfile>;
|
|
76219
76754
|
declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -76272,34 +76807,6 @@ declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
76272
76807
|
defaultDestination?: string | undefined;
|
|
76273
76808
|
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76274
76809
|
}>>;
|
|
76275
|
-
theme: z.ZodOptional<z.ZodObject<{
|
|
76276
|
-
preset: z.ZodOptional<z.ZodEnum<["Custom", "Default", "HighContrast", "DefaultDark", "HighContrastDark", "SpaceBlue", "DarkGrey"]>>;
|
|
76277
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
76278
|
-
accentColor: z.ZodOptional<z.ZodString>;
|
|
76279
|
-
contrast: z.ZodOptional<z.ZodNumber>;
|
|
76280
|
-
isSecondaryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
76281
|
-
secondaryBackgroundColor: z.ZodOptional<z.ZodString>;
|
|
76282
|
-
secondaryContrast: z.ZodOptional<z.ZodNumber>;
|
|
76283
|
-
isEditorWhite: z.ZodOptional<z.ZodBoolean>;
|
|
76284
|
-
}, "strip", z.ZodTypeAny, {
|
|
76285
|
-
backgroundColor?: string | undefined;
|
|
76286
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76287
|
-
accentColor?: string | undefined;
|
|
76288
|
-
contrast?: number | undefined;
|
|
76289
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76290
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76291
|
-
secondaryContrast?: number | undefined;
|
|
76292
|
-
isEditorWhite?: boolean | undefined;
|
|
76293
|
-
}, {
|
|
76294
|
-
backgroundColor?: string | undefined;
|
|
76295
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76296
|
-
accentColor?: string | undefined;
|
|
76297
|
-
contrast?: number | undefined;
|
|
76298
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76299
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76300
|
-
secondaryContrast?: number | undefined;
|
|
76301
|
-
isEditorWhite?: boolean | undefined;
|
|
76302
|
-
}>>;
|
|
76303
76810
|
}>, "strip", z.ZodTypeAny, {
|
|
76304
76811
|
name: string;
|
|
76305
76812
|
nickname?: string | undefined;
|
|
@@ -76316,16 +76823,6 @@ declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
76316
76823
|
defaultDestination?: string | undefined;
|
|
76317
76824
|
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76318
76825
|
} | undefined;
|
|
76319
|
-
theme?: {
|
|
76320
|
-
backgroundColor?: string | undefined;
|
|
76321
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76322
|
-
accentColor?: string | undefined;
|
|
76323
|
-
contrast?: number | undefined;
|
|
76324
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76325
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76326
|
-
secondaryContrast?: number | undefined;
|
|
76327
|
-
isEditorWhite?: boolean | undefined;
|
|
76328
|
-
} | undefined;
|
|
76329
76826
|
}, {
|
|
76330
76827
|
name: string;
|
|
76331
76828
|
nickname?: string | undefined;
|
|
@@ -76342,16 +76839,6 @@ declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
76342
76839
|
defaultDestination?: string | undefined;
|
|
76343
76840
|
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76344
76841
|
} | undefined;
|
|
76345
|
-
theme?: {
|
|
76346
|
-
backgroundColor?: string | undefined;
|
|
76347
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76348
|
-
accentColor?: string | undefined;
|
|
76349
|
-
contrast?: number | undefined;
|
|
76350
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76351
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76352
|
-
secondaryContrast?: number | undefined;
|
|
76353
|
-
isEditorWhite?: boolean | undefined;
|
|
76354
|
-
} | undefined;
|
|
76355
76842
|
}>;
|
|
76356
76843
|
createdAt: z.ZodDate;
|
|
76357
76844
|
loggedOutAt: z.ZodOptional<z.ZodDate>;
|
|
@@ -76376,16 +76863,6 @@ declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
76376
76863
|
defaultDestination?: string | undefined;
|
|
76377
76864
|
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76378
76865
|
} | undefined;
|
|
76379
|
-
theme?: {
|
|
76380
|
-
backgroundColor?: string | undefined;
|
|
76381
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76382
|
-
accentColor?: string | undefined;
|
|
76383
|
-
contrast?: number | undefined;
|
|
76384
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76385
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76386
|
-
secondaryContrast?: number | undefined;
|
|
76387
|
-
isEditorWhite?: boolean | undefined;
|
|
76388
|
-
} | undefined;
|
|
76389
76866
|
};
|
|
76390
76867
|
loggedOutAt?: Date | undefined;
|
|
76391
76868
|
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
@@ -76409,16 +76886,6 @@ declare const DTOAuthenticatedUser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
76409
76886
|
defaultDestination?: string | undefined;
|
|
76410
76887
|
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76411
76888
|
} | undefined;
|
|
76412
|
-
theme?: {
|
|
76413
|
-
backgroundColor?: string | undefined;
|
|
76414
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76415
|
-
accentColor?: string | undefined;
|
|
76416
|
-
contrast?: number | undefined;
|
|
76417
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76418
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76419
|
-
secondaryContrast?: number | undefined;
|
|
76420
|
-
isEditorWhite?: boolean | undefined;
|
|
76421
|
-
} | undefined;
|
|
76422
76889
|
};
|
|
76423
76890
|
loggedOutAt?: Date | undefined;
|
|
76424
76891
|
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
@@ -76480,281 +76947,193 @@ declare const DTOAuthenticatedUserResponse: z.ZodObject<{
|
|
|
76480
76947
|
designSystemName?: string | undefined;
|
|
76481
76948
|
defaultDestination?: string | undefined;
|
|
76482
76949
|
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76483
|
-
}>>;
|
|
76484
|
-
|
|
76485
|
-
|
|
76486
|
-
|
|
76487
|
-
|
|
76488
|
-
|
|
76489
|
-
|
|
76490
|
-
|
|
76491
|
-
|
|
76492
|
-
|
|
76493
|
-
|
|
76494
|
-
|
|
76495
|
-
|
|
76496
|
-
|
|
76497
|
-
|
|
76498
|
-
|
|
76499
|
-
|
|
76500
|
-
|
|
76501
|
-
|
|
76502
|
-
|
|
76503
|
-
|
|
76504
|
-
|
|
76505
|
-
|
|
76506
|
-
|
|
76507
|
-
|
|
76508
|
-
|
|
76509
|
-
|
|
76510
|
-
|
|
76511
|
-
|
|
76512
|
-
|
|
76513
|
-
|
|
76514
|
-
|
|
76515
|
-
|
|
76516
|
-
|
|
76517
|
-
|
|
76518
|
-
|
|
76519
|
-
|
|
76520
|
-
|
|
76521
|
-
|
|
76522
|
-
|
|
76523
|
-
|
|
76524
|
-
|
|
76525
|
-
|
|
76526
|
-
|
|
76527
|
-
|
|
76528
|
-
|
|
76529
|
-
|
|
76530
|
-
|
|
76531
|
-
|
|
76532
|
-
|
|
76533
|
-
|
|
76534
|
-
|
|
76535
|
-
|
|
76536
|
-
|
|
76537
|
-
|
|
76538
|
-
|
|
76539
|
-
|
|
76540
|
-
|
|
76541
|
-
|
|
76542
|
-
|
|
76543
|
-
|
|
76544
|
-
|
|
76545
|
-
|
|
76546
|
-
|
|
76547
|
-
|
|
76548
|
-
|
|
76549
|
-
|
|
76550
|
-
|
|
76551
|
-
|
|
76552
|
-
|
|
76553
|
-
|
|
76554
|
-
|
|
76555
|
-
|
|
76556
|
-
|
|
76557
|
-
|
|
76558
|
-
|
|
76559
|
-
|
|
76560
|
-
|
|
76561
|
-
|
|
76562
|
-
|
|
76563
|
-
|
|
76564
|
-
|
|
76565
|
-
|
|
76566
|
-
|
|
76567
|
-
|
|
76568
|
-
|
|
76569
|
-
id: string;
|
|
76570
|
-
createdAt: Date;
|
|
76571
|
-
email: string;
|
|
76572
|
-
profile: {
|
|
76573
|
-
name: string;
|
|
76574
|
-
nickname?: string | undefined;
|
|
76575
|
-
avatar?: string | undefined;
|
|
76576
|
-
onboarding?: {
|
|
76577
|
-
companyName?: string | undefined;
|
|
76578
|
-
numberOfPeopleInOrg?: string | undefined;
|
|
76579
|
-
numberOfPeopleInDesignTeam?: string | undefined;
|
|
76580
|
-
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
76581
|
-
jobTitle?: string | undefined;
|
|
76582
|
-
phase?: string | undefined;
|
|
76583
|
-
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
76584
|
-
designSystemName?: string | undefined;
|
|
76585
|
-
defaultDestination?: string | undefined;
|
|
76586
|
-
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76587
|
-
} | undefined;
|
|
76588
|
-
|
|
76589
|
-
|
|
76590
|
-
|
|
76591
|
-
|
|
76592
|
-
|
|
76593
|
-
|
|
76594
|
-
|
|
76595
|
-
|
|
76596
|
-
|
|
76597
|
-
|
|
76598
|
-
|
|
76599
|
-
|
|
76600
|
-
|
|
76601
|
-
|
|
76602
|
-
|
|
76603
|
-
|
|
76604
|
-
|
|
76605
|
-
|
|
76606
|
-
|
|
76607
|
-
|
|
76608
|
-
|
|
76609
|
-
|
|
76610
|
-
|
|
76611
|
-
|
|
76612
|
-
|
|
76613
|
-
|
|
76614
|
-
|
|
76615
|
-
|
|
76616
|
-
|
|
76617
|
-
|
|
76618
|
-
|
|
76619
|
-
|
|
76620
|
-
|
|
76621
|
-
|
|
76622
|
-
|
|
76623
|
-
|
|
76624
|
-
|
|
76625
|
-
|
|
76626
|
-
|
|
76627
|
-
|
|
76628
|
-
|
|
76629
|
-
|
|
76630
|
-
|
|
76631
|
-
|
|
76632
|
-
|
|
76633
|
-
|
|
76634
|
-
|
|
76635
|
-
|
|
76636
|
-
|
|
76637
|
-
|
|
76638
|
-
|
|
76639
|
-
|
|
76640
|
-
|
|
76641
|
-
|
|
76642
|
-
|
|
76643
|
-
|
|
76644
|
-
|
|
76645
|
-
companyName?: string | undefined;
|
|
76646
|
-
numberOfPeopleInOrg?: string | undefined;
|
|
76647
|
-
numberOfPeopleInDesignTeam?: string | undefined;
|
|
76648
|
-
department?: "
|
|
76649
|
-
jobTitle?: string | undefined;
|
|
76650
|
-
phase?: string | undefined;
|
|
76651
|
-
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
76652
|
-
designSystemName?: string | undefined;
|
|
76653
|
-
defaultDestination?: string | undefined;
|
|
76654
|
-
|
|
76655
|
-
|
|
76656
|
-
|
|
76657
|
-
|
|
76658
|
-
|
|
76659
|
-
|
|
76660
|
-
|
|
76661
|
-
|
|
76662
|
-
|
|
76663
|
-
|
|
76664
|
-
|
|
76665
|
-
|
|
76666
|
-
|
|
76667
|
-
|
|
76668
|
-
|
|
76669
|
-
|
|
76670
|
-
}, {
|
|
76671
|
-
user: {
|
|
76672
|
-
id: string;
|
|
76673
|
-
createdAt: Date;
|
|
76674
|
-
email: string;
|
|
76675
|
-
profile: {
|
|
76676
|
-
name: string;
|
|
76677
|
-
nickname?: string | undefined;
|
|
76678
|
-
avatar?: string | undefined;
|
|
76679
|
-
onboarding?: {
|
|
76680
|
-
companyName?: string | undefined;
|
|
76681
|
-
numberOfPeopleInOrg?: string | undefined;
|
|
76682
|
-
numberOfPeopleInDesignTeam?: string | undefined;
|
|
76683
|
-
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
76684
|
-
jobTitle?: string | undefined;
|
|
76685
|
-
phase?: string | undefined;
|
|
76686
|
-
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
76687
|
-
designSystemName?: string | undefined;
|
|
76688
|
-
defaultDestination?: string | undefined;
|
|
76689
|
-
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76690
|
-
} | undefined;
|
|
76691
|
-
theme?: {
|
|
76692
|
-
backgroundColor?: string | undefined;
|
|
76693
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
76694
|
-
accentColor?: string | undefined;
|
|
76695
|
-
contrast?: number | undefined;
|
|
76696
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
76697
|
-
secondaryBackgroundColor?: string | undefined;
|
|
76698
|
-
secondaryContrast?: number | undefined;
|
|
76699
|
-
isEditorWhite?: boolean | undefined;
|
|
76700
|
-
} | undefined;
|
|
76701
|
-
};
|
|
76702
|
-
loggedOutAt?: Date | undefined;
|
|
76703
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
76704
|
-
};
|
|
76705
|
-
}>;
|
|
76706
|
-
type DTOAuthenticatedUserResponse = z.infer<typeof DTOAuthenticatedUserResponse>;
|
|
76707
|
-
|
|
76708
|
-
declare const DTOUserProfileUpdateResponse: z.ZodObject<{
|
|
76709
|
-
user: z.ZodObject<{
|
|
76710
|
-
id: z.ZodString;
|
|
76711
|
-
email: z.ZodString;
|
|
76712
|
-
emailVerified: z.ZodBoolean;
|
|
76713
|
-
createdAt: z.ZodDate;
|
|
76714
|
-
trialExpiresAt: z.ZodOptional<z.ZodDate>;
|
|
76715
|
-
profile: z.ZodObject<{
|
|
76716
|
-
name: z.ZodString;
|
|
76717
|
-
avatar: z.ZodOptional<z.ZodString>;
|
|
76718
|
-
nickname: z.ZodOptional<z.ZodString>;
|
|
76719
|
-
onboarding: z.ZodOptional<z.ZodObject<{
|
|
76720
|
-
companyName: z.ZodOptional<z.ZodString>;
|
|
76721
|
-
numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
|
|
76722
|
-
numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
|
|
76723
|
-
department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
|
|
76724
|
-
jobTitle: z.ZodOptional<z.ZodString>;
|
|
76725
|
-
phase: z.ZodOptional<z.ZodString>;
|
|
76726
|
-
jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
|
|
76727
|
-
designSystemName: z.ZodOptional<z.ZodString>;
|
|
76728
|
-
defaultDestination: z.ZodOptional<z.ZodString>;
|
|
76729
|
-
figmaUrl: z.ZodOptional<z.ZodString>;
|
|
76730
|
-
isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
|
|
76731
|
-
isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
|
|
76732
|
-
}, "strip", z.ZodTypeAny, {
|
|
76733
|
-
companyName?: string | undefined;
|
|
76734
|
-
numberOfPeopleInOrg?: string | undefined;
|
|
76735
|
-
numberOfPeopleInDesignTeam?: string | undefined;
|
|
76736
|
-
department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
|
|
76737
|
-
jobTitle?: string | undefined;
|
|
76738
|
-
phase?: string | undefined;
|
|
76739
|
-
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
76740
|
-
designSystemName?: string | undefined;
|
|
76741
|
-
defaultDestination?: string | undefined;
|
|
76742
|
-
figmaUrl?: string | undefined;
|
|
76743
|
-
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76744
|
-
isApprovalsOnboardingFinished?: boolean | undefined;
|
|
76745
|
-
}, {
|
|
76746
|
-
companyName?: string | undefined;
|
|
76747
|
-
numberOfPeopleInOrg?: string | undefined;
|
|
76748
|
-
numberOfPeopleInDesignTeam?: string | undefined;
|
|
76749
|
-
department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
|
|
76750
|
-
jobTitle?: string | undefined;
|
|
76751
|
-
phase?: string | undefined;
|
|
76752
|
-
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
76753
|
-
designSystemName?: string | undefined;
|
|
76754
|
-
defaultDestination?: string | undefined;
|
|
76755
|
-
figmaUrl?: string | undefined;
|
|
76756
|
-
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76757
|
-
isApprovalsOnboardingFinished?: boolean | undefined;
|
|
76950
|
+
}>>;
|
|
76951
|
+
}>, "strip", z.ZodTypeAny, {
|
|
76952
|
+
name: string;
|
|
76953
|
+
nickname?: string | undefined;
|
|
76954
|
+
avatar?: string | undefined;
|
|
76955
|
+
onboarding?: {
|
|
76956
|
+
companyName?: string | undefined;
|
|
76957
|
+
numberOfPeopleInOrg?: string | undefined;
|
|
76958
|
+
numberOfPeopleInDesignTeam?: string | undefined;
|
|
76959
|
+
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
76960
|
+
jobTitle?: string | undefined;
|
|
76961
|
+
phase?: string | undefined;
|
|
76962
|
+
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
76963
|
+
designSystemName?: string | undefined;
|
|
76964
|
+
defaultDestination?: string | undefined;
|
|
76965
|
+
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76966
|
+
} | undefined;
|
|
76967
|
+
}, {
|
|
76968
|
+
name: string;
|
|
76969
|
+
nickname?: string | undefined;
|
|
76970
|
+
avatar?: string | undefined;
|
|
76971
|
+
onboarding?: {
|
|
76972
|
+
companyName?: string | undefined;
|
|
76973
|
+
numberOfPeopleInOrg?: string | undefined;
|
|
76974
|
+
numberOfPeopleInDesignTeam?: string | undefined;
|
|
76975
|
+
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
76976
|
+
jobTitle?: string | undefined;
|
|
76977
|
+
phase?: string | undefined;
|
|
76978
|
+
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
76979
|
+
designSystemName?: string | undefined;
|
|
76980
|
+
defaultDestination?: string | undefined;
|
|
76981
|
+
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
76982
|
+
} | undefined;
|
|
76983
|
+
}>;
|
|
76984
|
+
createdAt: z.ZodDate;
|
|
76985
|
+
loggedOutAt: z.ZodOptional<z.ZodDate>;
|
|
76986
|
+
source: z.ZodOptional<z.ZodEnum<["SignUp", "Invite", "SSO"]>>;
|
|
76987
|
+
}>, "strip", z.ZodTypeAny, {
|
|
76988
|
+
id: string;
|
|
76989
|
+
createdAt: Date;
|
|
76990
|
+
email: string;
|
|
76991
|
+
profile: {
|
|
76992
|
+
name: string;
|
|
76993
|
+
nickname?: string | undefined;
|
|
76994
|
+
avatar?: string | undefined;
|
|
76995
|
+
onboarding?: {
|
|
76996
|
+
companyName?: string | undefined;
|
|
76997
|
+
numberOfPeopleInOrg?: string | undefined;
|
|
76998
|
+
numberOfPeopleInDesignTeam?: string | undefined;
|
|
76999
|
+
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
77000
|
+
jobTitle?: string | undefined;
|
|
77001
|
+
phase?: string | undefined;
|
|
77002
|
+
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
77003
|
+
designSystemName?: string | undefined;
|
|
77004
|
+
defaultDestination?: string | undefined;
|
|
77005
|
+
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
77006
|
+
} | undefined;
|
|
77007
|
+
};
|
|
77008
|
+
loggedOutAt?: Date | undefined;
|
|
77009
|
+
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
77010
|
+
}, {
|
|
77011
|
+
id: string;
|
|
77012
|
+
createdAt: Date;
|
|
77013
|
+
email: string;
|
|
77014
|
+
profile: {
|
|
77015
|
+
name: string;
|
|
77016
|
+
nickname?: string | undefined;
|
|
77017
|
+
avatar?: string | undefined;
|
|
77018
|
+
onboarding?: {
|
|
77019
|
+
companyName?: string | undefined;
|
|
77020
|
+
numberOfPeopleInOrg?: string | undefined;
|
|
77021
|
+
numberOfPeopleInDesignTeam?: string | undefined;
|
|
77022
|
+
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
77023
|
+
jobTitle?: string | undefined;
|
|
77024
|
+
phase?: string | undefined;
|
|
77025
|
+
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
77026
|
+
designSystemName?: string | undefined;
|
|
77027
|
+
defaultDestination?: string | undefined;
|
|
77028
|
+
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
77029
|
+
} | undefined;
|
|
77030
|
+
};
|
|
77031
|
+
loggedOutAt?: Date | undefined;
|
|
77032
|
+
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
77033
|
+
}>;
|
|
77034
|
+
}, "strip", z.ZodTypeAny, {
|
|
77035
|
+
user: {
|
|
77036
|
+
id: string;
|
|
77037
|
+
createdAt: Date;
|
|
77038
|
+
email: string;
|
|
77039
|
+
profile: {
|
|
77040
|
+
name: string;
|
|
77041
|
+
nickname?: string | undefined;
|
|
77042
|
+
avatar?: string | undefined;
|
|
77043
|
+
onboarding?: {
|
|
77044
|
+
companyName?: string | undefined;
|
|
77045
|
+
numberOfPeopleInOrg?: string | undefined;
|
|
77046
|
+
numberOfPeopleInDesignTeam?: string | undefined;
|
|
77047
|
+
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
77048
|
+
jobTitle?: string | undefined;
|
|
77049
|
+
phase?: string | undefined;
|
|
77050
|
+
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
77051
|
+
designSystemName?: string | undefined;
|
|
77052
|
+
defaultDestination?: string | undefined;
|
|
77053
|
+
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
77054
|
+
} | undefined;
|
|
77055
|
+
};
|
|
77056
|
+
loggedOutAt?: Date | undefined;
|
|
77057
|
+
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
77058
|
+
};
|
|
77059
|
+
}, {
|
|
77060
|
+
user: {
|
|
77061
|
+
id: string;
|
|
77062
|
+
createdAt: Date;
|
|
77063
|
+
email: string;
|
|
77064
|
+
profile: {
|
|
77065
|
+
name: string;
|
|
77066
|
+
nickname?: string | undefined;
|
|
77067
|
+
avatar?: string | undefined;
|
|
77068
|
+
onboarding?: {
|
|
77069
|
+
companyName?: string | undefined;
|
|
77070
|
+
numberOfPeopleInOrg?: string | undefined;
|
|
77071
|
+
numberOfPeopleInDesignTeam?: string | undefined;
|
|
77072
|
+
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
77073
|
+
jobTitle?: string | undefined;
|
|
77074
|
+
phase?: string | undefined;
|
|
77075
|
+
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
77076
|
+
designSystemName?: string | undefined;
|
|
77077
|
+
defaultDestination?: string | undefined;
|
|
77078
|
+
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
77079
|
+
} | undefined;
|
|
77080
|
+
};
|
|
77081
|
+
loggedOutAt?: Date | undefined;
|
|
77082
|
+
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
77083
|
+
};
|
|
77084
|
+
}>;
|
|
77085
|
+
type DTOAuthenticatedUserResponse = z.infer<typeof DTOAuthenticatedUserResponse>;
|
|
77086
|
+
|
|
77087
|
+
declare const DTOUserProfileUpdateResponse: z.ZodObject<{
|
|
77088
|
+
user: z.ZodObject<{
|
|
77089
|
+
id: z.ZodString;
|
|
77090
|
+
email: z.ZodString;
|
|
77091
|
+
emailVerified: z.ZodBoolean;
|
|
77092
|
+
createdAt: z.ZodDate;
|
|
77093
|
+
trialExpiresAt: z.ZodOptional<z.ZodDate>;
|
|
77094
|
+
profile: z.ZodObject<{
|
|
77095
|
+
name: z.ZodString;
|
|
77096
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
77097
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
77098
|
+
onboarding: z.ZodOptional<z.ZodObject<{
|
|
77099
|
+
companyName: z.ZodOptional<z.ZodString>;
|
|
77100
|
+
numberOfPeopleInOrg: z.ZodOptional<z.ZodString>;
|
|
77101
|
+
numberOfPeopleInDesignTeam: z.ZodOptional<z.ZodString>;
|
|
77102
|
+
department: z.ZodOptional<z.ZodEnum<["Design", "Engineering", "Product", "Brand", "Other"]>>;
|
|
77103
|
+
jobTitle: z.ZodOptional<z.ZodString>;
|
|
77104
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
77105
|
+
jobLevel: z.ZodOptional<z.ZodEnum<["Executive", "Manager", "IndividualContributor", "Other"]>>;
|
|
77106
|
+
designSystemName: z.ZodOptional<z.ZodString>;
|
|
77107
|
+
defaultDestination: z.ZodOptional<z.ZodString>;
|
|
77108
|
+
figmaUrl: z.ZodOptional<z.ZodString>;
|
|
77109
|
+
isPageDraftOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
|
|
77110
|
+
isApprovalsOnboardingFinished: z.ZodOptional<z.ZodBoolean>;
|
|
77111
|
+
}, "strip", z.ZodTypeAny, {
|
|
77112
|
+
companyName?: string | undefined;
|
|
77113
|
+
numberOfPeopleInOrg?: string | undefined;
|
|
77114
|
+
numberOfPeopleInDesignTeam?: string | undefined;
|
|
77115
|
+
department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
|
|
77116
|
+
jobTitle?: string | undefined;
|
|
77117
|
+
phase?: string | undefined;
|
|
77118
|
+
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
77119
|
+
designSystemName?: string | undefined;
|
|
77120
|
+
defaultDestination?: string | undefined;
|
|
77121
|
+
figmaUrl?: string | undefined;
|
|
77122
|
+
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
77123
|
+
isApprovalsOnboardingFinished?: boolean | undefined;
|
|
77124
|
+
}, {
|
|
77125
|
+
companyName?: string | undefined;
|
|
77126
|
+
numberOfPeopleInOrg?: string | undefined;
|
|
77127
|
+
numberOfPeopleInDesignTeam?: string | undefined;
|
|
77128
|
+
department?: "Other" | "Design" | "Engineering" | "Product" | "Brand" | undefined;
|
|
77129
|
+
jobTitle?: string | undefined;
|
|
77130
|
+
phase?: string | undefined;
|
|
77131
|
+
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
77132
|
+
designSystemName?: string | undefined;
|
|
77133
|
+
defaultDestination?: string | undefined;
|
|
77134
|
+
figmaUrl?: string | undefined;
|
|
77135
|
+
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
77136
|
+
isApprovalsOnboardingFinished?: boolean | undefined;
|
|
76758
77137
|
}>>;
|
|
76759
77138
|
theme: z.ZodOptional<z.ZodObject<{
|
|
76760
77139
|
preset: z.ZodOptional<z.ZodEnum<["Custom", "Default", "HighContrast", "DefaultDark", "HighContrastDark", "SpaceBlue", "DarkGrey"]>>;
|
|
@@ -87469,8 +87848,10 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
|
|
|
87469
87848
|
}>;
|
|
87470
87849
|
type DTOWorkspaceResponse = z.infer<typeof DTOWorkspaceResponse>;
|
|
87471
87850
|
|
|
87472
|
-
|
|
87473
|
-
|
|
87851
|
+
type DocsPage$3 = LocalDocsPage | VersionRoomDocsPage;
|
|
87852
|
+
type DocsPageGroup$3 = LocalDocsPageGroup | VersionRoomDocsPageGroup;
|
|
87853
|
+
declare function elementGroupsToDocumentationGroupDTOV2(groups: DocsPageGroup$3[], pages: (DocumentationPageV1 | DocsPage$3)[]): DTODocumentationGroupV2[];
|
|
87854
|
+
declare function elementGroupsToDocumentationGroupFixedConfigurationDTOV2(groups: DocsPageGroup$3[], pages: (DocumentationPageV1 | DocsPage$3)[]): DTODocumentationGroupV2[];
|
|
87474
87855
|
|
|
87475
87856
|
declare const getDtoDefaultItemConfigurationV1: () => {
|
|
87476
87857
|
readonly showSidebar: true;
|
|
@@ -87504,9 +87885,11 @@ type GroupLike = {
|
|
|
87504
87885
|
persistentId: string;
|
|
87505
87886
|
parentPersistentId?: string;
|
|
87506
87887
|
};
|
|
87507
|
-
|
|
87888
|
+
type DocsPage$2 = LocalDocsPage | VersionRoomDocsPage;
|
|
87889
|
+
type DocsPageGroup$2 = LocalDocsPageGroup | VersionRoomDocsPageGroup;
|
|
87890
|
+
declare function buildDocPagePublishPaths(groups: (DocsPageGroup$2 | DocumentationGroupV1)[], pages: (DocsPage$2 | DocumentationPageV1)[], routingVersion: string): Map<string, string>;
|
|
87508
87891
|
declare function calculateElementParentChain<T extends GroupLike>(elementParentPersistentId: string, groupPersistentIdToGroupMap: Map<string, T>): T[];
|
|
87509
|
-
declare function applyPrivacyConfigurationToNestedItems<PageType extends DocumentationPageV1 |
|
|
87892
|
+
declare function applyPrivacyConfigurationToNestedItems<PageType extends DocumentationPageV1 | DocsPage$2, GroupType extends DocumentationGroupV1 | DocsPageGroup$2, ItemConfigurationType extends DocumentationItemConfigurationV1 | DocumentationItemConfigurationV2>(pages: PageType[], groups: GroupType[], getDefaultItemConfiguration: () => ItemConfigurationType): {
|
|
87510
87893
|
pages: PageType[];
|
|
87511
87894
|
groups: GroupType[];
|
|
87512
87895
|
};
|
|
@@ -87514,9 +87897,11 @@ declare function applyPrivacyConfigurationToNestedItems<PageType extends Documen
|
|
|
87514
87897
|
declare function documentationPagesToDTOV1(pages: DocumentationPageV1[], groups: DocumentationGroupV1[], routingVersion: string): DocumentationPageV1DTO[];
|
|
87515
87898
|
declare function documentationPagesFixedConfigurationToDTOV1(pages: DocumentationPageV1[], groups: DocumentationGroupV1[], routingVersion: string): DocumentationPageV1DTO[];
|
|
87516
87899
|
|
|
87517
|
-
|
|
87518
|
-
|
|
87519
|
-
declare function
|
|
87900
|
+
type DocsPage$1 = LocalDocsPage | VersionRoomDocsPage;
|
|
87901
|
+
type DocsPageGroup$1 = LocalDocsPageGroup | VersionRoomDocsPageGroup;
|
|
87902
|
+
declare function documentationPageToDTOV2(page: DocsPage$1, groups: DocsPageGroup$1[], routingVersion: string, pageLiveblocksRoomIdMap: Map<string, string>): DTODocumentationPageV2;
|
|
87903
|
+
declare function documentationPagesToDTOV2(pages: DocsPage$1[], groups: DocsPageGroup$1[], routingVersion: string, pageLiveblocksRoomIdMap: Map<string, string>): DTODocumentationPageV2[];
|
|
87904
|
+
declare function documentationPagesFixedConfigurationToDTOV2(pages: DocsPage$1[], groups: DocsPageGroup$1[], routingVersion: string, pageLiveblocksRoomIdMap: Map<string, string>): DTODocumentationPageV2[];
|
|
87520
87905
|
|
|
87521
87906
|
declare function pipelineToDto(pipeline: Pipeline): DTOPipeline;
|
|
87522
87907
|
|
|
@@ -96053,1194 +96438,484 @@ declare class WorkspacesEndpoint {
|
|
|
96053
96438
|
designSystemSourceAutoImport: {
|
|
96054
96439
|
errorMessage: string;
|
|
96055
96440
|
errorReason: string;
|
|
96056
|
-
enabled: boolean;
|
|
96057
|
-
};
|
|
96058
|
-
designSystemSlug: {
|
|
96059
|
-
errorMessage: string;
|
|
96060
|
-
errorReason: string;
|
|
96061
|
-
enabled: boolean;
|
|
96062
|
-
};
|
|
96063
|
-
ipWhitelisting: {
|
|
96064
|
-
errorMessage: string;
|
|
96065
|
-
errorReason: string;
|
|
96066
|
-
enabled: boolean;
|
|
96067
|
-
};
|
|
96068
|
-
npmRegistry: {
|
|
96069
|
-
errorMessage: string;
|
|
96070
|
-
errorReason: string;
|
|
96071
|
-
enabled: boolean;
|
|
96072
|
-
};
|
|
96073
|
-
sso: {
|
|
96074
|
-
errorMessage: string;
|
|
96075
|
-
errorReason: string;
|
|
96076
|
-
enabled: boolean;
|
|
96077
|
-
};
|
|
96078
|
-
workspacePaidSeats: {
|
|
96079
|
-
max: number;
|
|
96080
|
-
errorMessage: string;
|
|
96081
|
-
errorReason: string;
|
|
96082
|
-
};
|
|
96083
|
-
workspaceViewers: {
|
|
96084
|
-
max: number;
|
|
96085
|
-
errorMessage: string;
|
|
96086
|
-
errorReason: string;
|
|
96087
|
-
};
|
|
96088
|
-
customDocumentationExporter: {
|
|
96089
|
-
errorMessage: string;
|
|
96090
|
-
errorReason: string;
|
|
96091
|
-
enabled: boolean;
|
|
96092
|
-
};
|
|
96093
|
-
protectedPages: {
|
|
96094
|
-
errorMessage: string;
|
|
96095
|
-
errorReason: string;
|
|
96096
|
-
enabled: boolean;
|
|
96097
|
-
};
|
|
96098
|
-
approvals: {
|
|
96099
|
-
errorMessage: string;
|
|
96100
|
-
errorReason: string;
|
|
96101
|
-
enabled: boolean;
|
|
96102
|
-
};
|
|
96103
|
-
selectivePublishing: {
|
|
96104
|
-
errorMessage: string;
|
|
96105
|
-
errorReason: string;
|
|
96106
|
-
enabled: boolean;
|
|
96107
|
-
};
|
|
96108
|
-
designSystemAccessModes: {
|
|
96109
|
-
errorMessage: string;
|
|
96110
|
-
errorReason: string;
|
|
96111
|
-
enabled: boolean;
|
|
96112
|
-
};
|
|
96113
|
-
designSystemRoles: {
|
|
96114
|
-
errorMessage: string;
|
|
96115
|
-
errorReason: string;
|
|
96116
|
-
enabled: boolean;
|
|
96117
|
-
};
|
|
96118
|
-
} | undefined;
|
|
96119
|
-
stripeSubscriptionMainItemId?: string | undefined;
|
|
96120
|
-
currentPeriodStart?: string | undefined;
|
|
96121
|
-
currentPeriodEnd?: string | undefined;
|
|
96122
|
-
subscriptionStatusUpdatedAt?: string | undefined;
|
|
96123
|
-
cancelAt?: string | null | undefined;
|
|
96124
|
-
billingType?: "Auto" | "Invoice" | undefined;
|
|
96125
|
-
daysUntilDue?: number | undefined;
|
|
96126
|
-
};
|
|
96127
|
-
npmRegistry?: {
|
|
96128
|
-
enabledScopes: string[];
|
|
96129
|
-
bypassProxy: boolean;
|
|
96130
|
-
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
96131
|
-
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
96132
|
-
registryUrl: string;
|
|
96133
|
-
proxyUrl: string;
|
|
96134
|
-
customRegistryUrl?: string | undefined;
|
|
96135
|
-
accessToken?: string | undefined;
|
|
96136
|
-
username?: string | undefined;
|
|
96137
|
-
password?: string | undefined;
|
|
96138
|
-
} | undefined;
|
|
96139
|
-
};
|
|
96140
|
-
}>;
|
|
96141
|
-
}
|
|
96142
|
-
|
|
96143
|
-
declare class LiveblocksEndpoint {
|
|
96144
|
-
private readonly requestExecutor;
|
|
96145
|
-
constructor(requestExecutor: RequestExecutor);
|
|
96146
|
-
auth(body: DTOLiveblocksAuthRequest): Promise<{
|
|
96147
|
-
token: string;
|
|
96148
|
-
}>;
|
|
96149
|
-
}
|
|
96150
|
-
|
|
96151
|
-
declare class UsersEndpoint {
|
|
96152
|
-
private readonly requestExecutor;
|
|
96153
|
-
constructor(requestExecutor: RequestExecutor);
|
|
96154
|
-
getMe(): Promise<{
|
|
96155
|
-
user: {
|
|
96156
|
-
id: string;
|
|
96157
|
-
createdAt: Date;
|
|
96158
|
-
email: string;
|
|
96159
|
-
profile: {
|
|
96160
|
-
name: string;
|
|
96161
|
-
nickname?: string | undefined;
|
|
96162
|
-
avatar?: string | undefined;
|
|
96163
|
-
onboarding?: {
|
|
96164
|
-
companyName?: string | undefined;
|
|
96165
|
-
numberOfPeopleInOrg?: string | undefined;
|
|
96166
|
-
numberOfPeopleInDesignTeam?: string | undefined;
|
|
96167
|
-
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
96168
|
-
jobTitle?: string | undefined;
|
|
96169
|
-
phase?: string | undefined;
|
|
96170
|
-
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
96171
|
-
designSystemName?: string | undefined;
|
|
96172
|
-
defaultDestination?: string | undefined;
|
|
96173
|
-
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
96174
|
-
} | undefined;
|
|
96175
|
-
theme?: {
|
|
96176
|
-
backgroundColor?: string | undefined;
|
|
96177
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
96178
|
-
accentColor?: string | undefined;
|
|
96179
|
-
contrast?: number | undefined;
|
|
96180
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
96181
|
-
secondaryBackgroundColor?: string | undefined;
|
|
96182
|
-
secondaryContrast?: number | undefined;
|
|
96183
|
-
isEditorWhite?: boolean | undefined;
|
|
96184
|
-
} | undefined;
|
|
96185
|
-
};
|
|
96186
|
-
loggedOutAt?: Date | undefined;
|
|
96187
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
96188
|
-
};
|
|
96189
|
-
}>;
|
|
96190
|
-
listWorkspaces(uid: string): Promise<{
|
|
96191
|
-
membership: {
|
|
96192
|
-
workspace: {
|
|
96193
|
-
id: string;
|
|
96194
|
-
profile: {
|
|
96195
|
-
name: string;
|
|
96196
|
-
color: string;
|
|
96197
|
-
handle: string;
|
|
96198
|
-
avatar?: string | undefined;
|
|
96199
|
-
billingDetails?: {
|
|
96200
|
-
address?: {
|
|
96201
|
-
state?: string | undefined;
|
|
96202
|
-
street1?: string | undefined;
|
|
96203
|
-
street2?: string | undefined;
|
|
96204
|
-
city?: string | undefined;
|
|
96205
|
-
postal?: string | undefined;
|
|
96206
|
-
country?: string | undefined;
|
|
96207
|
-
} | undefined;
|
|
96208
|
-
email?: string | undefined;
|
|
96209
|
-
notes?: string | undefined;
|
|
96210
|
-
companyName?: string | undefined;
|
|
96211
|
-
companyId?: string | undefined;
|
|
96212
|
-
vat?: string | undefined;
|
|
96213
|
-
poNumber?: string | undefined;
|
|
96214
|
-
} | undefined;
|
|
96215
|
-
};
|
|
96216
|
-
subscription: {
|
|
96217
|
-
product: "company" | "enterprise" | "free" | "team";
|
|
96218
|
-
planPriceId: string;
|
|
96219
|
-
planInterval: "daily" | "monthly" | "weekly" | "yearly";
|
|
96220
|
-
seats: number;
|
|
96221
|
-
seatLimit: number;
|
|
96222
|
-
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
96223
|
-
card?: {
|
|
96224
|
-
name?: string | null | undefined;
|
|
96225
|
-
cardId?: string | null | undefined;
|
|
96226
|
-
last4?: string | null | undefined;
|
|
96227
|
-
expiryMonth?: string | null | undefined;
|
|
96228
|
-
expiryYear?: string | null | undefined;
|
|
96229
|
-
brand?: string | null | undefined;
|
|
96230
|
-
} | undefined;
|
|
96231
|
-
amount?: number | null | undefined;
|
|
96232
|
-
stripeProductDescription?: string | undefined;
|
|
96233
|
-
isPricePerCreator?: boolean | undefined;
|
|
96234
|
-
isTrial?: boolean | undefined;
|
|
96235
|
-
legacyVersion?: string | undefined;
|
|
96236
|
-
stripeProductFeatures?: string[] | undefined;
|
|
96237
|
-
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
96238
|
-
stripeSubscriptionId?: string | null | undefined;
|
|
96239
|
-
stripeCustomerId?: string | null | undefined;
|
|
96240
|
-
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
96241
|
-
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
96242
|
-
featuresSummary?: {
|
|
96243
|
-
themes: {
|
|
96244
|
-
max: number;
|
|
96245
|
-
errorMessage: string;
|
|
96246
|
-
errorReason: string;
|
|
96247
|
-
};
|
|
96248
|
-
designSystems: {
|
|
96249
|
-
max: number;
|
|
96250
|
-
errorMessage: string;
|
|
96251
|
-
errorReason: string;
|
|
96252
|
-
};
|
|
96253
|
-
designSystemSources: {
|
|
96254
|
-
max: number;
|
|
96255
|
-
errorMessage: string;
|
|
96256
|
-
errorReason: string;
|
|
96257
|
-
noImportJobsErrorMessage: string;
|
|
96258
|
-
noImportJobsErrorReason: string;
|
|
96259
|
-
};
|
|
96260
|
-
designSystemVersions: {
|
|
96261
|
-
max: number;
|
|
96262
|
-
errorMessage: string;
|
|
96263
|
-
errorReason: string;
|
|
96264
|
-
};
|
|
96265
|
-
brands: {
|
|
96266
|
-
max: number;
|
|
96267
|
-
errorMessage: string;
|
|
96268
|
-
errorReason: string;
|
|
96269
|
-
};
|
|
96270
|
-
codegenSchedules: {
|
|
96271
|
-
max: number;
|
|
96272
|
-
errorMessage: string;
|
|
96273
|
-
errorReason: string;
|
|
96274
|
-
};
|
|
96275
|
-
publicDocumentation: {
|
|
96276
|
-
errorMessage: string;
|
|
96277
|
-
errorReason: string;
|
|
96278
|
-
enabled: boolean;
|
|
96279
|
-
};
|
|
96280
|
-
customDocumentationUrl: {
|
|
96281
|
-
errorMessage: string;
|
|
96282
|
-
errorReason: string;
|
|
96283
|
-
enabled: boolean;
|
|
96284
|
-
};
|
|
96285
|
-
customDocumentationViewButton: {
|
|
96286
|
-
errorMessage: string;
|
|
96287
|
-
errorReason: string;
|
|
96288
|
-
enabled: boolean;
|
|
96289
|
-
};
|
|
96290
|
-
designSystemSourceAutoImport: {
|
|
96291
|
-
errorMessage: string;
|
|
96292
|
-
errorReason: string;
|
|
96293
|
-
enabled: boolean;
|
|
96294
|
-
};
|
|
96295
|
-
designSystemSlug: {
|
|
96296
|
-
errorMessage: string;
|
|
96297
|
-
errorReason: string;
|
|
96298
|
-
enabled: boolean;
|
|
96299
|
-
};
|
|
96300
|
-
ipWhitelisting: {
|
|
96301
|
-
errorMessage: string;
|
|
96302
|
-
errorReason: string;
|
|
96303
|
-
enabled: boolean;
|
|
96304
|
-
};
|
|
96305
|
-
npmRegistry: {
|
|
96306
|
-
errorMessage: string;
|
|
96307
|
-
errorReason: string;
|
|
96308
|
-
enabled: boolean;
|
|
96309
|
-
};
|
|
96310
|
-
sso: {
|
|
96311
|
-
errorMessage: string;
|
|
96312
|
-
errorReason: string;
|
|
96313
|
-
enabled: boolean;
|
|
96314
|
-
};
|
|
96315
|
-
workspacePaidSeats: {
|
|
96316
|
-
max: number;
|
|
96317
|
-
errorMessage: string;
|
|
96318
|
-
errorReason: string;
|
|
96319
|
-
};
|
|
96320
|
-
workspaceViewers: {
|
|
96321
|
-
max: number;
|
|
96322
|
-
errorMessage: string;
|
|
96323
|
-
errorReason: string;
|
|
96324
|
-
};
|
|
96325
|
-
customDocumentationExporter: {
|
|
96326
|
-
errorMessage: string;
|
|
96327
|
-
errorReason: string;
|
|
96328
|
-
enabled: boolean;
|
|
96329
|
-
};
|
|
96330
|
-
protectedPages: {
|
|
96331
|
-
errorMessage: string;
|
|
96332
|
-
errorReason: string;
|
|
96333
|
-
enabled: boolean;
|
|
96334
|
-
};
|
|
96335
|
-
approvals: {
|
|
96336
|
-
errorMessage: string;
|
|
96337
|
-
errorReason: string;
|
|
96338
|
-
enabled: boolean;
|
|
96339
|
-
};
|
|
96340
|
-
selectivePublishing: {
|
|
96341
|
-
errorMessage: string;
|
|
96342
|
-
errorReason: string;
|
|
96343
|
-
enabled: boolean;
|
|
96344
|
-
};
|
|
96345
|
-
designSystemAccessModes: {
|
|
96346
|
-
errorMessage: string;
|
|
96347
|
-
errorReason: string;
|
|
96348
|
-
enabled: boolean;
|
|
96349
|
-
};
|
|
96350
|
-
designSystemRoles: {
|
|
96351
|
-
errorMessage: string;
|
|
96352
|
-
errorReason: string;
|
|
96353
|
-
enabled: boolean;
|
|
96354
|
-
};
|
|
96355
|
-
} | undefined;
|
|
96356
|
-
stripeSubscriptionMainItemId?: string | undefined;
|
|
96357
|
-
currentPeriodStart?: string | undefined;
|
|
96358
|
-
currentPeriodEnd?: string | undefined;
|
|
96359
|
-
subscriptionStatusUpdatedAt?: string | undefined;
|
|
96360
|
-
cancelAt?: string | null | undefined;
|
|
96361
|
-
billingType?: "Auto" | "Invoice" | undefined;
|
|
96362
|
-
daysUntilDue?: number | undefined;
|
|
96363
|
-
};
|
|
96364
|
-
npmRegistry?: {
|
|
96365
|
-
enabledScopes: string[];
|
|
96366
|
-
bypassProxy: boolean;
|
|
96367
|
-
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
96368
|
-
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
96369
|
-
registryUrl: string;
|
|
96370
|
-
proxyUrl: string;
|
|
96371
|
-
customRegistryUrl?: string | undefined;
|
|
96372
|
-
accessToken?: string | undefined;
|
|
96373
|
-
username?: string | undefined;
|
|
96374
|
-
password?: string | undefined;
|
|
96375
|
-
} | undefined;
|
|
96376
|
-
};
|
|
96377
|
-
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
|
|
96378
|
-
effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
|
|
96379
|
-
}[];
|
|
96380
|
-
}>;
|
|
96381
|
-
delete(uid: string): Promise<{
|
|
96382
|
-
user: {
|
|
96383
|
-
id: string;
|
|
96384
|
-
createdAt: Date;
|
|
96385
|
-
email: string;
|
|
96386
|
-
profile: {
|
|
96387
|
-
name: string;
|
|
96388
|
-
nickname?: string | undefined;
|
|
96389
|
-
avatar?: string | undefined;
|
|
96390
|
-
onboarding?: {
|
|
96391
|
-
companyName?: string | undefined;
|
|
96392
|
-
numberOfPeopleInOrg?: string | undefined;
|
|
96393
|
-
numberOfPeopleInDesignTeam?: string | undefined;
|
|
96394
|
-
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
96395
|
-
jobTitle?: string | undefined;
|
|
96396
|
-
phase?: string | undefined;
|
|
96397
|
-
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
96398
|
-
designSystemName?: string | undefined;
|
|
96399
|
-
defaultDestination?: string | undefined;
|
|
96400
|
-
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
96401
|
-
} | undefined;
|
|
96402
|
-
theme?: {
|
|
96403
|
-
backgroundColor?: string | undefined;
|
|
96404
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
96405
|
-
accentColor?: string | undefined;
|
|
96406
|
-
contrast?: number | undefined;
|
|
96407
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
96408
|
-
secondaryBackgroundColor?: string | undefined;
|
|
96409
|
-
secondaryContrast?: number | undefined;
|
|
96410
|
-
isEditorWhite?: boolean | undefined;
|
|
96411
|
-
} | undefined;
|
|
96412
|
-
};
|
|
96413
|
-
loggedOutAt?: Date | undefined;
|
|
96414
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
96415
|
-
};
|
|
96416
|
-
}>;
|
|
96417
|
-
updateProfile(uid: string, body: DTOUserProfileUpdate): Promise<{
|
|
96418
|
-
user: {
|
|
96419
|
-
id: string;
|
|
96420
|
-
createdAt: Date;
|
|
96421
|
-
email: string;
|
|
96422
|
-
profile: {
|
|
96423
|
-
name: string;
|
|
96424
|
-
nickname?: string | undefined;
|
|
96425
|
-
avatar?: string | undefined;
|
|
96426
|
-
onboarding?: {
|
|
96427
|
-
companyName?: string | undefined;
|
|
96428
|
-
numberOfPeopleInOrg?: string | undefined;
|
|
96429
|
-
numberOfPeopleInDesignTeam?: string | undefined;
|
|
96430
|
-
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
96431
|
-
jobTitle?: string | undefined;
|
|
96432
|
-
phase?: string | undefined;
|
|
96433
|
-
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
96434
|
-
designSystemName?: string | undefined;
|
|
96435
|
-
defaultDestination?: string | undefined;
|
|
96436
|
-
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
96437
|
-
} | undefined;
|
|
96438
|
-
theme?: {
|
|
96439
|
-
backgroundColor?: string | undefined;
|
|
96440
|
-
preset?: "Custom" | "Default" | "HighContrast" | "DefaultDark" | "HighContrastDark" | "SpaceBlue" | "DarkGrey" | undefined;
|
|
96441
|
-
accentColor?: string | undefined;
|
|
96442
|
-
contrast?: number | undefined;
|
|
96443
|
-
isSecondaryEnabled?: boolean | undefined;
|
|
96444
|
-
secondaryBackgroundColor?: string | undefined;
|
|
96445
|
-
secondaryContrast?: number | undefined;
|
|
96446
|
-
isEditorWhite?: boolean | undefined;
|
|
96447
|
-
} | undefined;
|
|
96448
|
-
};
|
|
96449
|
-
loggedOutAt?: Date | undefined;
|
|
96450
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
96451
|
-
};
|
|
96452
|
-
}>;
|
|
96453
|
-
}
|
|
96454
|
-
|
|
96455
|
-
type SupernovaApiClientConfig = {
|
|
96456
|
-
host: string;
|
|
96457
|
-
accessToken: string;
|
|
96458
|
-
};
|
|
96459
|
-
declare class SupernovaApiClient {
|
|
96460
|
-
readonly users: UsersEndpoint;
|
|
96461
|
-
readonly workspaces: WorkspacesEndpoint;
|
|
96462
|
-
readonly designSystems: DesignSystemsEndpoint;
|
|
96463
|
-
readonly codegen: CodegenEndpoint;
|
|
96464
|
-
readonly liveblocks: LiveblocksEndpoint;
|
|
96465
|
-
constructor(config: SupernovaApiClientConfig);
|
|
96466
|
-
}
|
|
96467
|
-
|
|
96468
|
-
declare const DTOEventFigmaNodesRendered: z.ZodObject<{
|
|
96469
|
-
type: z.ZodLiteral<"DesignSystem.FigmaNodesRendered">;
|
|
96470
|
-
designSystemId: z.ZodString;
|
|
96471
|
-
versionId: z.ZodString;
|
|
96472
|
-
figmaNodePersistentIds: z.ZodArray<z.ZodString, "many">;
|
|
96473
|
-
}, "strip", z.ZodTypeAny, {
|
|
96474
|
-
type: "DesignSystem.FigmaNodesRendered";
|
|
96475
|
-
designSystemId: string;
|
|
96476
|
-
versionId: string;
|
|
96477
|
-
figmaNodePersistentIds: string[];
|
|
96478
|
-
}, {
|
|
96479
|
-
type: "DesignSystem.FigmaNodesRendered";
|
|
96480
|
-
designSystemId: string;
|
|
96481
|
-
versionId: string;
|
|
96482
|
-
figmaNodePersistentIds: string[];
|
|
96483
|
-
}>;
|
|
96484
|
-
type DTOEventFigmaNodesRendered = z.infer<typeof DTOEventFigmaNodesRendered>;
|
|
96485
|
-
declare const DTOEventDataSourcesImported: z.ZodObject<{
|
|
96486
|
-
type: z.ZodLiteral<"DesignSystem.ImportJobFinished">;
|
|
96487
|
-
designSystemId: z.ZodString;
|
|
96488
|
-
versionId: z.ZodString;
|
|
96489
|
-
importJobId: z.ZodString;
|
|
96490
|
-
dataSourceType: z.ZodEnum<["Figma", "TokenStudio", "FigmaVariablesPlugin"]>;
|
|
96491
|
-
dataSourceIds: z.ZodArray<z.ZodString, "many">;
|
|
96492
|
-
}, "strip", z.ZodTypeAny, {
|
|
96493
|
-
type: "DesignSystem.ImportJobFinished";
|
|
96494
|
-
designSystemId: string;
|
|
96495
|
-
versionId: string;
|
|
96496
|
-
importJobId: string;
|
|
96497
|
-
dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
96498
|
-
dataSourceIds: string[];
|
|
96499
|
-
}, {
|
|
96500
|
-
type: "DesignSystem.ImportJobFinished";
|
|
96501
|
-
designSystemId: string;
|
|
96502
|
-
versionId: string;
|
|
96503
|
-
importJobId: string;
|
|
96504
|
-
dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
96505
|
-
dataSourceIds: string[];
|
|
96506
|
-
}>;
|
|
96507
|
-
type DTOEventDataSourcesImported = z.infer<typeof DTOEventDataSourcesImported>;
|
|
96508
|
-
|
|
96509
|
-
declare const DTOEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
96510
|
-
type: z.ZodLiteral<"DesignSystem.ImportJobFinished">;
|
|
96511
|
-
designSystemId: z.ZodString;
|
|
96512
|
-
versionId: z.ZodString;
|
|
96513
|
-
importJobId: z.ZodString;
|
|
96514
|
-
dataSourceType: z.ZodEnum<["Figma", "TokenStudio", "FigmaVariablesPlugin"]>;
|
|
96515
|
-
dataSourceIds: z.ZodArray<z.ZodString, "many">;
|
|
96516
|
-
}, "strip", z.ZodTypeAny, {
|
|
96517
|
-
type: "DesignSystem.ImportJobFinished";
|
|
96518
|
-
designSystemId: string;
|
|
96519
|
-
versionId: string;
|
|
96520
|
-
importJobId: string;
|
|
96521
|
-
dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
96522
|
-
dataSourceIds: string[];
|
|
96523
|
-
}, {
|
|
96524
|
-
type: "DesignSystem.ImportJobFinished";
|
|
96525
|
-
designSystemId: string;
|
|
96526
|
-
versionId: string;
|
|
96527
|
-
importJobId: string;
|
|
96528
|
-
dataSourceType: "Figma" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
96529
|
-
dataSourceIds: string[];
|
|
96530
|
-
}>, z.ZodObject<{
|
|
96531
|
-
type: z.ZodLiteral<"DesignSystem.FigmaNodesRendered">;
|
|
96532
|
-
designSystemId: z.ZodString;
|
|
96533
|
-
versionId: z.ZodString;
|
|
96534
|
-
figmaNodePersistentIds: z.ZodArray<z.ZodString, "many">;
|
|
96535
|
-
}, "strip", z.ZodTypeAny, {
|
|
96536
|
-
type: "DesignSystem.FigmaNodesRendered";
|
|
96537
|
-
designSystemId: string;
|
|
96538
|
-
versionId: string;
|
|
96539
|
-
figmaNodePersistentIds: string[];
|
|
96540
|
-
}, {
|
|
96541
|
-
type: "DesignSystem.FigmaNodesRendered";
|
|
96542
|
-
designSystemId: string;
|
|
96543
|
-
versionId: string;
|
|
96544
|
-
figmaNodePersistentIds: string[];
|
|
96545
|
-
}>]>;
|
|
96546
|
-
type DTOEvent = z.infer<typeof DTOEvent>;
|
|
96547
|
-
|
|
96548
|
-
declare enum ParsedFigmaFileURLError {
|
|
96549
|
-
InvalidUrl = "InvalidUrl",
|
|
96550
|
-
InvalidFigmaFileId = "InvalidFigmaFileId"
|
|
96551
|
-
}
|
|
96552
|
-
type ParsedFigmaFileURL = {
|
|
96553
|
-
status: "Success";
|
|
96554
|
-
fileId: string;
|
|
96555
|
-
fileName: string | null;
|
|
96556
|
-
nodeId: string | null;
|
|
96557
|
-
nodeType: string | null;
|
|
96558
|
-
} | {
|
|
96559
|
-
status: "Error";
|
|
96560
|
-
error: ParsedFigmaFileURLError;
|
|
96561
|
-
};
|
|
96562
|
-
declare const FigmaUtils: {
|
|
96563
|
-
tryParseFigmaFileURL(urlString: string): ParsedFigmaFileURL;
|
|
96564
|
-
};
|
|
96565
|
-
|
|
96566
|
-
declare function generateHash(input: object | string, debug?: boolean): string;
|
|
96567
|
-
|
|
96568
|
-
type CompatibleValue = number | string | boolean | undefined;
|
|
96569
|
-
type QueryObject = Record<string, CompatibleValue | CompatibleValue[]>;
|
|
96570
|
-
declare function serializeQuery(query: QueryObject): URLSearchParams;
|
|
96571
|
-
|
|
96572
|
-
declare const DocumentationHierarchySettings: z.ZodObject<{
|
|
96573
|
-
routingVersion: z.ZodString;
|
|
96574
|
-
isDraftFeatureAdopted: z.ZodBoolean;
|
|
96575
|
-
isApprovalFeatureEnabled: z.ZodBoolean;
|
|
96576
|
-
approvalRequiredForPublishing: z.ZodBoolean;
|
|
96577
|
-
}, "strip", z.ZodTypeAny, {
|
|
96578
|
-
isApprovalFeatureEnabled: boolean;
|
|
96579
|
-
approvalRequiredForPublishing: boolean;
|
|
96580
|
-
routingVersion: string;
|
|
96581
|
-
isDraftFeatureAdopted: boolean;
|
|
96582
|
-
}, {
|
|
96583
|
-
isApprovalFeatureEnabled: boolean;
|
|
96584
|
-
approvalRequiredForPublishing: boolean;
|
|
96585
|
-
routingVersion: string;
|
|
96586
|
-
isDraftFeatureAdopted: boolean;
|
|
96587
|
-
}>;
|
|
96588
|
-
type DocumentationHierarchySettings = z.infer<typeof DocumentationHierarchySettings>;
|
|
96589
|
-
/**
|
|
96590
|
-
* @deprecated - Use FrontendVersionRoomYDoc.getDocumentationHierarchy
|
|
96591
|
-
*/
|
|
96592
|
-
declare function yjsToDocumentationHierarchy(doc: Y.Doc): DTODocumentationHierarchyV2;
|
|
96593
|
-
|
|
96594
|
-
declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
|
|
96595
|
-
title: z.ZodString;
|
|
96596
|
-
configuration: z.ZodObject<{
|
|
96597
|
-
showSidebar: z.ZodBoolean;
|
|
96598
|
-
isPrivate: z.ZodBoolean;
|
|
96599
|
-
isHidden: z.ZodBoolean;
|
|
96600
|
-
header: z.ZodObject<{
|
|
96601
|
-
description: z.ZodString;
|
|
96602
|
-
alignment: z.ZodEnum<["Left", "Center"]>;
|
|
96603
|
-
foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
96604
|
-
value: z.ZodString;
|
|
96605
|
-
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
96606
|
-
}, "strip", z.ZodTypeAny, {
|
|
96607
|
-
value: string;
|
|
96608
|
-
referencedTokenId?: string | undefined;
|
|
96609
|
-
}, {
|
|
96610
|
-
value: string;
|
|
96611
|
-
referencedTokenId?: string | undefined;
|
|
96612
|
-
}>>>;
|
|
96613
|
-
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
96614
|
-
value: z.ZodString;
|
|
96615
|
-
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
96616
|
-
}, "strip", z.ZodTypeAny, {
|
|
96617
|
-
value: string;
|
|
96618
|
-
referencedTokenId?: string | undefined;
|
|
96619
|
-
}, {
|
|
96620
|
-
value: string;
|
|
96621
|
-
referencedTokenId?: string | undefined;
|
|
96622
|
-
}>>>;
|
|
96623
|
-
backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
96624
|
-
type: z.ZodEnum<["Resource", "FigmaNode"]>;
|
|
96625
|
-
resource: z.ZodOptional<z.ZodObject<{
|
|
96626
|
-
resourceId: z.ZodString;
|
|
96627
|
-
url: z.ZodString;
|
|
96628
|
-
}, "strip", z.ZodTypeAny, {
|
|
96629
|
-
url: string;
|
|
96630
|
-
resourceId: string;
|
|
96631
|
-
}, {
|
|
96632
|
-
url: string;
|
|
96633
|
-
resourceId: string;
|
|
96634
|
-
}>>;
|
|
96635
|
-
figmaNode: z.ZodOptional<z.ZodObject<{
|
|
96636
|
-
sourceId: z.ZodString;
|
|
96637
|
-
frameReferenceId: z.ZodString;
|
|
96638
|
-
}, "strip", z.ZodTypeAny, {
|
|
96639
|
-
sourceId: string;
|
|
96640
|
-
frameReferenceId: string;
|
|
96641
|
-
}, {
|
|
96642
|
-
sourceId: string;
|
|
96643
|
-
frameReferenceId: string;
|
|
96644
|
-
}>>;
|
|
96645
|
-
}, "strip", z.ZodTypeAny, {
|
|
96646
|
-
type: "FigmaNode" | "Resource";
|
|
96647
|
-
resource?: {
|
|
96648
|
-
url: string;
|
|
96649
|
-
resourceId: string;
|
|
96650
|
-
} | undefined;
|
|
96651
|
-
figmaNode?: {
|
|
96652
|
-
sourceId: string;
|
|
96653
|
-
frameReferenceId: string;
|
|
96654
|
-
} | undefined;
|
|
96655
|
-
}, {
|
|
96656
|
-
type: "FigmaNode" | "Resource";
|
|
96657
|
-
resource?: {
|
|
96658
|
-
url: string;
|
|
96659
|
-
resourceId: string;
|
|
96660
|
-
} | undefined;
|
|
96661
|
-
figmaNode?: {
|
|
96662
|
-
sourceId: string;
|
|
96663
|
-
frameReferenceId: string;
|
|
96664
|
-
} | undefined;
|
|
96665
|
-
}>>>;
|
|
96666
|
-
backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
|
|
96667
|
-
showBackgroundOverlay: z.ZodBoolean;
|
|
96668
|
-
showCoverText: z.ZodBoolean;
|
|
96669
|
-
minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
96670
|
-
}, "strip", z.ZodTypeAny, {
|
|
96671
|
-
description: string;
|
|
96672
|
-
alignment: "Center" | "Left";
|
|
96673
|
-
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
96674
|
-
showBackgroundOverlay: boolean;
|
|
96675
|
-
showCoverText: boolean;
|
|
96676
|
-
backgroundColor?: {
|
|
96677
|
-
value: string;
|
|
96678
|
-
referencedTokenId?: string | undefined;
|
|
96679
|
-
} | null | undefined;
|
|
96680
|
-
foregroundColor?: {
|
|
96681
|
-
value: string;
|
|
96682
|
-
referencedTokenId?: string | undefined;
|
|
96683
|
-
} | null | undefined;
|
|
96684
|
-
backgroundImageAsset?: {
|
|
96685
|
-
type: "FigmaNode" | "Resource";
|
|
96686
|
-
resource?: {
|
|
96687
|
-
url: string;
|
|
96688
|
-
resourceId: string;
|
|
96689
|
-
} | undefined;
|
|
96690
|
-
figmaNode?: {
|
|
96691
|
-
sourceId: string;
|
|
96692
|
-
frameReferenceId: string;
|
|
96693
|
-
} | undefined;
|
|
96694
|
-
} | null | undefined;
|
|
96695
|
-
minHeight?: number | null | undefined;
|
|
96696
|
-
}, {
|
|
96697
|
-
description: string;
|
|
96698
|
-
alignment: "Center" | "Left";
|
|
96699
|
-
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
96700
|
-
showBackgroundOverlay: boolean;
|
|
96701
|
-
showCoverText: boolean;
|
|
96702
|
-
backgroundColor?: {
|
|
96703
|
-
value: string;
|
|
96704
|
-
referencedTokenId?: string | undefined;
|
|
96705
|
-
} | null | undefined;
|
|
96706
|
-
foregroundColor?: {
|
|
96707
|
-
value: string;
|
|
96708
|
-
referencedTokenId?: string | undefined;
|
|
96709
|
-
} | null | undefined;
|
|
96710
|
-
backgroundImageAsset?: {
|
|
96711
|
-
type: "FigmaNode" | "Resource";
|
|
96712
|
-
resource?: {
|
|
96713
|
-
url: string;
|
|
96714
|
-
resourceId: string;
|
|
96715
|
-
} | undefined;
|
|
96716
|
-
figmaNode?: {
|
|
96717
|
-
sourceId: string;
|
|
96718
|
-
frameReferenceId: string;
|
|
96719
|
-
} | undefined;
|
|
96720
|
-
} | null | undefined;
|
|
96721
|
-
minHeight?: number | null | undefined;
|
|
96722
|
-
}>;
|
|
96723
|
-
}, "strip", z.ZodTypeAny, {
|
|
96724
|
-
showSidebar: boolean;
|
|
96725
|
-
isPrivate: boolean;
|
|
96726
|
-
isHidden: boolean;
|
|
96727
|
-
header: {
|
|
96728
|
-
description: string;
|
|
96729
|
-
alignment: "Center" | "Left";
|
|
96730
|
-
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
96731
|
-
showBackgroundOverlay: boolean;
|
|
96732
|
-
showCoverText: boolean;
|
|
96733
|
-
backgroundColor?: {
|
|
96734
|
-
value: string;
|
|
96735
|
-
referencedTokenId?: string | undefined;
|
|
96736
|
-
} | null | undefined;
|
|
96737
|
-
foregroundColor?: {
|
|
96738
|
-
value: string;
|
|
96739
|
-
referencedTokenId?: string | undefined;
|
|
96740
|
-
} | null | undefined;
|
|
96741
|
-
backgroundImageAsset?: {
|
|
96742
|
-
type: "FigmaNode" | "Resource";
|
|
96743
|
-
resource?: {
|
|
96744
|
-
url: string;
|
|
96745
|
-
resourceId: string;
|
|
96746
|
-
} | undefined;
|
|
96747
|
-
figmaNode?: {
|
|
96748
|
-
sourceId: string;
|
|
96749
|
-
frameReferenceId: string;
|
|
96750
|
-
} | undefined;
|
|
96751
|
-
} | null | undefined;
|
|
96752
|
-
minHeight?: number | null | undefined;
|
|
96753
|
-
};
|
|
96754
|
-
}, {
|
|
96755
|
-
showSidebar: boolean;
|
|
96756
|
-
isPrivate: boolean;
|
|
96757
|
-
isHidden: boolean;
|
|
96758
|
-
header: {
|
|
96759
|
-
description: string;
|
|
96760
|
-
alignment: "Center" | "Left";
|
|
96761
|
-
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
96762
|
-
showBackgroundOverlay: boolean;
|
|
96763
|
-
showCoverText: boolean;
|
|
96764
|
-
backgroundColor?: {
|
|
96765
|
-
value: string;
|
|
96766
|
-
referencedTokenId?: string | undefined;
|
|
96767
|
-
} | null | undefined;
|
|
96768
|
-
foregroundColor?: {
|
|
96769
|
-
value: string;
|
|
96770
|
-
referencedTokenId?: string | undefined;
|
|
96771
|
-
} | null | undefined;
|
|
96772
|
-
backgroundImageAsset?: {
|
|
96773
|
-
type: "FigmaNode" | "Resource";
|
|
96774
|
-
resource?: {
|
|
96775
|
-
url: string;
|
|
96776
|
-
resourceId: string;
|
|
96777
|
-
} | undefined;
|
|
96778
|
-
figmaNode?: {
|
|
96779
|
-
sourceId: string;
|
|
96780
|
-
frameReferenceId: string;
|
|
96781
|
-
} | undefined;
|
|
96782
|
-
} | null | undefined;
|
|
96783
|
-
minHeight?: number | null | undefined;
|
|
96784
|
-
};
|
|
96785
|
-
}>;
|
|
96786
|
-
}, "strip", z.ZodTypeAny, {
|
|
96787
|
-
title: string;
|
|
96788
|
-
configuration: {
|
|
96789
|
-
showSidebar: boolean;
|
|
96790
|
-
isPrivate: boolean;
|
|
96791
|
-
isHidden: boolean;
|
|
96792
|
-
header: {
|
|
96793
|
-
description: string;
|
|
96794
|
-
alignment: "Center" | "Left";
|
|
96795
|
-
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
96796
|
-
showBackgroundOverlay: boolean;
|
|
96797
|
-
showCoverText: boolean;
|
|
96798
|
-
backgroundColor?: {
|
|
96799
|
-
value: string;
|
|
96800
|
-
referencedTokenId?: string | undefined;
|
|
96801
|
-
} | null | undefined;
|
|
96802
|
-
foregroundColor?: {
|
|
96803
|
-
value: string;
|
|
96804
|
-
referencedTokenId?: string | undefined;
|
|
96805
|
-
} | null | undefined;
|
|
96806
|
-
backgroundImageAsset?: {
|
|
96807
|
-
type: "FigmaNode" | "Resource";
|
|
96808
|
-
resource?: {
|
|
96809
|
-
url: string;
|
|
96810
|
-
resourceId: string;
|
|
96811
|
-
} | undefined;
|
|
96812
|
-
figmaNode?: {
|
|
96813
|
-
sourceId: string;
|
|
96814
|
-
frameReferenceId: string;
|
|
96815
|
-
} | undefined;
|
|
96816
|
-
} | null | undefined;
|
|
96817
|
-
minHeight?: number | null | undefined;
|
|
96818
|
-
};
|
|
96819
|
-
};
|
|
96820
|
-
}, {
|
|
96821
|
-
title: string;
|
|
96822
|
-
configuration: {
|
|
96823
|
-
showSidebar: boolean;
|
|
96824
|
-
isPrivate: boolean;
|
|
96825
|
-
isHidden: boolean;
|
|
96826
|
-
header: {
|
|
96827
|
-
description: string;
|
|
96828
|
-
alignment: "Center" | "Left";
|
|
96829
|
-
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
96830
|
-
showBackgroundOverlay: boolean;
|
|
96831
|
-
showCoverText: boolean;
|
|
96832
|
-
backgroundColor?: {
|
|
96833
|
-
value: string;
|
|
96834
|
-
referencedTokenId?: string | undefined;
|
|
96835
|
-
} | null | undefined;
|
|
96836
|
-
foregroundColor?: {
|
|
96837
|
-
value: string;
|
|
96838
|
-
referencedTokenId?: string | undefined;
|
|
96839
|
-
} | null | undefined;
|
|
96840
|
-
backgroundImageAsset?: {
|
|
96841
|
-
type: "FigmaNode" | "Resource";
|
|
96842
|
-
resource?: {
|
|
96843
|
-
url: string;
|
|
96844
|
-
resourceId: string;
|
|
96845
|
-
} | undefined;
|
|
96846
|
-
figmaNode?: {
|
|
96847
|
-
sourceId: string;
|
|
96848
|
-
frameReferenceId: string;
|
|
96849
|
-
} | undefined;
|
|
96850
|
-
} | null | undefined;
|
|
96851
|
-
minHeight?: number | null | undefined;
|
|
96852
|
-
};
|
|
96853
|
-
};
|
|
96854
|
-
}>;
|
|
96855
|
-
type DTODocumentationPageRoomHeaderData = z.infer<typeof DTODocumentationPageRoomHeaderData>;
|
|
96856
|
-
declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
|
|
96857
|
-
title: z.ZodOptional<z.ZodString>;
|
|
96858
|
-
configuration: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
96859
|
-
showSidebar: z.ZodBoolean;
|
|
96860
|
-
isPrivate: z.ZodBoolean;
|
|
96861
|
-
isHidden: z.ZodBoolean;
|
|
96862
|
-
header: z.ZodObject<{
|
|
96863
|
-
description: z.ZodString;
|
|
96864
|
-
alignment: z.ZodEnum<["Left", "Center"]>;
|
|
96865
|
-
foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
96866
|
-
value: z.ZodString;
|
|
96867
|
-
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
96868
|
-
}, "strip", z.ZodTypeAny, {
|
|
96869
|
-
value: string;
|
|
96870
|
-
referencedTokenId?: string | undefined;
|
|
96871
|
-
}, {
|
|
96872
|
-
value: string;
|
|
96873
|
-
referencedTokenId?: string | undefined;
|
|
96874
|
-
}>>>;
|
|
96875
|
-
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
96876
|
-
value: z.ZodString;
|
|
96877
|
-
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
96878
|
-
}, "strip", z.ZodTypeAny, {
|
|
96879
|
-
value: string;
|
|
96880
|
-
referencedTokenId?: string | undefined;
|
|
96881
|
-
}, {
|
|
96882
|
-
value: string;
|
|
96883
|
-
referencedTokenId?: string | undefined;
|
|
96884
|
-
}>>>;
|
|
96885
|
-
backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
96886
|
-
type: z.ZodEnum<["Resource", "FigmaNode"]>;
|
|
96887
|
-
resource: z.ZodOptional<z.ZodObject<{
|
|
96888
|
-
resourceId: z.ZodString;
|
|
96889
|
-
url: z.ZodString;
|
|
96890
|
-
}, "strip", z.ZodTypeAny, {
|
|
96891
|
-
url: string;
|
|
96892
|
-
resourceId: string;
|
|
96893
|
-
}, {
|
|
96894
|
-
url: string;
|
|
96895
|
-
resourceId: string;
|
|
96896
|
-
}>>;
|
|
96897
|
-
figmaNode: z.ZodOptional<z.ZodObject<{
|
|
96898
|
-
sourceId: z.ZodString;
|
|
96899
|
-
frameReferenceId: z.ZodString;
|
|
96900
|
-
}, "strip", z.ZodTypeAny, {
|
|
96901
|
-
sourceId: string;
|
|
96902
|
-
frameReferenceId: string;
|
|
96903
|
-
}, {
|
|
96904
|
-
sourceId: string;
|
|
96905
|
-
frameReferenceId: string;
|
|
96906
|
-
}>>;
|
|
96907
|
-
}, "strip", z.ZodTypeAny, {
|
|
96908
|
-
type: "FigmaNode" | "Resource";
|
|
96909
|
-
resource?: {
|
|
96910
|
-
url: string;
|
|
96911
|
-
resourceId: string;
|
|
96912
|
-
} | undefined;
|
|
96913
|
-
figmaNode?: {
|
|
96914
|
-
sourceId: string;
|
|
96915
|
-
frameReferenceId: string;
|
|
96916
|
-
} | undefined;
|
|
96917
|
-
}, {
|
|
96918
|
-
type: "FigmaNode" | "Resource";
|
|
96919
|
-
resource?: {
|
|
96920
|
-
url: string;
|
|
96921
|
-
resourceId: string;
|
|
96922
|
-
} | undefined;
|
|
96923
|
-
figmaNode?: {
|
|
96924
|
-
sourceId: string;
|
|
96925
|
-
frameReferenceId: string;
|
|
96926
|
-
} | undefined;
|
|
96927
|
-
}>>>;
|
|
96928
|
-
backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
|
|
96929
|
-
showBackgroundOverlay: z.ZodBoolean;
|
|
96930
|
-
showCoverText: z.ZodBoolean;
|
|
96931
|
-
minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
96932
|
-
}, "strip", z.ZodTypeAny, {
|
|
96933
|
-
description: string;
|
|
96934
|
-
alignment: "Center" | "Left";
|
|
96935
|
-
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
96936
|
-
showBackgroundOverlay: boolean;
|
|
96937
|
-
showCoverText: boolean;
|
|
96938
|
-
backgroundColor?: {
|
|
96939
|
-
value: string;
|
|
96940
|
-
referencedTokenId?: string | undefined;
|
|
96941
|
-
} | null | undefined;
|
|
96942
|
-
foregroundColor?: {
|
|
96943
|
-
value: string;
|
|
96944
|
-
referencedTokenId?: string | undefined;
|
|
96945
|
-
} | null | undefined;
|
|
96946
|
-
backgroundImageAsset?: {
|
|
96947
|
-
type: "FigmaNode" | "Resource";
|
|
96948
|
-
resource?: {
|
|
96949
|
-
url: string;
|
|
96950
|
-
resourceId: string;
|
|
96951
|
-
} | undefined;
|
|
96952
|
-
figmaNode?: {
|
|
96953
|
-
sourceId: string;
|
|
96954
|
-
frameReferenceId: string;
|
|
96955
|
-
} | undefined;
|
|
96956
|
-
} | null | undefined;
|
|
96957
|
-
minHeight?: number | null | undefined;
|
|
96958
|
-
}, {
|
|
96959
|
-
description: string;
|
|
96960
|
-
alignment: "Center" | "Left";
|
|
96961
|
-
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
96962
|
-
showBackgroundOverlay: boolean;
|
|
96963
|
-
showCoverText: boolean;
|
|
96964
|
-
backgroundColor?: {
|
|
96965
|
-
value: string;
|
|
96966
|
-
referencedTokenId?: string | undefined;
|
|
96967
|
-
} | null | undefined;
|
|
96968
|
-
foregroundColor?: {
|
|
96969
|
-
value: string;
|
|
96970
|
-
referencedTokenId?: string | undefined;
|
|
96971
|
-
} | null | undefined;
|
|
96972
|
-
backgroundImageAsset?: {
|
|
96973
|
-
type: "FigmaNode" | "Resource";
|
|
96974
|
-
resource?: {
|
|
96975
|
-
url: string;
|
|
96976
|
-
resourceId: string;
|
|
96977
|
-
} | undefined;
|
|
96978
|
-
figmaNode?: {
|
|
96979
|
-
sourceId: string;
|
|
96980
|
-
frameReferenceId: string;
|
|
96981
|
-
} | undefined;
|
|
96982
|
-
} | null | undefined;
|
|
96983
|
-
minHeight?: number | null | undefined;
|
|
96984
|
-
}>;
|
|
96985
|
-
}, "header">, {
|
|
96986
|
-
header: z.ZodObject<{
|
|
96987
|
-
description: z.ZodOptional<z.ZodString>;
|
|
96988
|
-
alignment: z.ZodOptional<z.ZodEnum<["Left", "Center"]>>;
|
|
96989
|
-
foregroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
96990
|
-
value: z.ZodString;
|
|
96991
|
-
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
96992
|
-
}, "strip", z.ZodTypeAny, {
|
|
96993
|
-
value: string;
|
|
96994
|
-
referencedTokenId?: string | undefined;
|
|
96995
|
-
}, {
|
|
96996
|
-
value: string;
|
|
96997
|
-
referencedTokenId?: string | undefined;
|
|
96998
|
-
}>>>>;
|
|
96999
|
-
backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
97000
|
-
value: z.ZodString;
|
|
97001
|
-
referencedTokenId: z.ZodOptional<z.ZodString>;
|
|
97002
|
-
}, "strip", z.ZodTypeAny, {
|
|
97003
|
-
value: string;
|
|
97004
|
-
referencedTokenId?: string | undefined;
|
|
97005
|
-
}, {
|
|
97006
|
-
value: string;
|
|
97007
|
-
referencedTokenId?: string | undefined;
|
|
97008
|
-
}>>>>;
|
|
97009
|
-
backgroundImageAsset: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
97010
|
-
type: z.ZodEnum<["Resource", "FigmaNode"]>;
|
|
97011
|
-
resource: z.ZodOptional<z.ZodObject<{
|
|
97012
|
-
resourceId: z.ZodString;
|
|
97013
|
-
url: z.ZodString;
|
|
97014
|
-
}, "strip", z.ZodTypeAny, {
|
|
97015
|
-
url: string;
|
|
97016
|
-
resourceId: string;
|
|
97017
|
-
}, {
|
|
97018
|
-
url: string;
|
|
97019
|
-
resourceId: string;
|
|
97020
|
-
}>>;
|
|
97021
|
-
figmaNode: z.ZodOptional<z.ZodObject<{
|
|
97022
|
-
sourceId: z.ZodString;
|
|
97023
|
-
frameReferenceId: z.ZodString;
|
|
97024
|
-
}, "strip", z.ZodTypeAny, {
|
|
97025
|
-
sourceId: string;
|
|
97026
|
-
frameReferenceId: string;
|
|
97027
|
-
}, {
|
|
97028
|
-
sourceId: string;
|
|
97029
|
-
frameReferenceId: string;
|
|
97030
|
-
}>>;
|
|
97031
|
-
}, "strip", z.ZodTypeAny, {
|
|
97032
|
-
type: "FigmaNode" | "Resource";
|
|
97033
|
-
resource?: {
|
|
97034
|
-
url: string;
|
|
97035
|
-
resourceId: string;
|
|
97036
|
-
} | undefined;
|
|
97037
|
-
figmaNode?: {
|
|
97038
|
-
sourceId: string;
|
|
97039
|
-
frameReferenceId: string;
|
|
97040
|
-
} | undefined;
|
|
97041
|
-
}, {
|
|
97042
|
-
type: "FigmaNode" | "Resource";
|
|
97043
|
-
resource?: {
|
|
97044
|
-
url: string;
|
|
97045
|
-
resourceId: string;
|
|
97046
|
-
} | undefined;
|
|
97047
|
-
figmaNode?: {
|
|
97048
|
-
sourceId: string;
|
|
97049
|
-
frameReferenceId: string;
|
|
97050
|
-
} | undefined;
|
|
97051
|
-
}>>>>;
|
|
97052
|
-
backgroundImageScaleType: z.ZodOptional<z.ZodEnum<["AspectFill", "AspectFit"]>>;
|
|
97053
|
-
showBackgroundOverlay: z.ZodOptional<z.ZodBoolean>;
|
|
97054
|
-
showCoverText: z.ZodOptional<z.ZodBoolean>;
|
|
97055
|
-
minHeight: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
97056
|
-
}, "strip", z.ZodTypeAny, {
|
|
97057
|
-
description?: string | undefined;
|
|
97058
|
-
alignment?: "Left" | "Center" | undefined;
|
|
97059
|
-
foregroundColor?: {
|
|
97060
|
-
value: string;
|
|
97061
|
-
referencedTokenId?: string | undefined;
|
|
97062
|
-
} | null | undefined;
|
|
97063
|
-
backgroundColor?: {
|
|
97064
|
-
value: string;
|
|
97065
|
-
referencedTokenId?: string | undefined;
|
|
97066
|
-
} | null | undefined;
|
|
97067
|
-
backgroundImageAsset?: {
|
|
97068
|
-
type: "FigmaNode" | "Resource";
|
|
97069
|
-
resource?: {
|
|
97070
|
-
url: string;
|
|
97071
|
-
resourceId: string;
|
|
97072
|
-
} | undefined;
|
|
97073
|
-
figmaNode?: {
|
|
97074
|
-
sourceId: string;
|
|
97075
|
-
frameReferenceId: string;
|
|
97076
|
-
} | undefined;
|
|
97077
|
-
} | null | undefined;
|
|
97078
|
-
backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
|
|
97079
|
-
showBackgroundOverlay?: boolean | undefined;
|
|
97080
|
-
showCoverText?: boolean | undefined;
|
|
97081
|
-
minHeight?: number | null | undefined;
|
|
97082
|
-
}, {
|
|
97083
|
-
description?: string | undefined;
|
|
97084
|
-
alignment?: "Left" | "Center" | undefined;
|
|
97085
|
-
foregroundColor?: {
|
|
97086
|
-
value: string;
|
|
97087
|
-
referencedTokenId?: string | undefined;
|
|
97088
|
-
} | null | undefined;
|
|
97089
|
-
backgroundColor?: {
|
|
97090
|
-
value: string;
|
|
97091
|
-
referencedTokenId?: string | undefined;
|
|
97092
|
-
} | null | undefined;
|
|
97093
|
-
backgroundImageAsset?: {
|
|
97094
|
-
type: "FigmaNode" | "Resource";
|
|
97095
|
-
resource?: {
|
|
97096
|
-
url: string;
|
|
97097
|
-
resourceId: string;
|
|
97098
|
-
} | undefined;
|
|
97099
|
-
figmaNode?: {
|
|
97100
|
-
sourceId: string;
|
|
97101
|
-
frameReferenceId: string;
|
|
97102
|
-
} | undefined;
|
|
97103
|
-
} | null | undefined;
|
|
97104
|
-
backgroundImageScaleType?: "AspectFill" | "AspectFit" | undefined;
|
|
97105
|
-
showBackgroundOverlay?: boolean | undefined;
|
|
97106
|
-
showCoverText?: boolean | undefined;
|
|
97107
|
-
minHeight?: number | null | undefined;
|
|
97108
|
-
}>;
|
|
97109
|
-
}>, "strip", z.ZodTypeAny, {
|
|
97110
|
-
showSidebar: boolean;
|
|
97111
|
-
isPrivate: boolean;
|
|
97112
|
-
isHidden: boolean;
|
|
97113
|
-
header: {
|
|
97114
|
-
description?: string | undefined;
|
|
97115
|
-
alignment?: "Left" | "Center" | undefined;
|
|
97116
|
-
foregroundColor?: {
|
|
97117
|
-
value: string;
|
|
97118
|
-
referencedTokenId?: string | undefined;
|
|
97119
|
-
} | null | undefined;
|
|
97120
|
-
backgroundColor?: {
|
|
97121
|
-
value: string;
|
|
97122
|
-
referencedTokenId?: string | undefined;
|
|
97123
|
-
} | null | undefined;
|
|
97124
|
-
backgroundImageAsset?: {
|
|
97125
|
-
type: "FigmaNode" | "Resource";
|
|
97126
|
-
resource?: {
|
|
97127
|
-
url: string;
|
|
97128
|
-
resourceId: string;
|
|
97129
|
-
} | undefined;
|
|
97130
|
-
figmaNode?: {
|
|
97131
|
-
sourceId: string;
|
|
97132
|
-
frameReferenceId: string;
|
|
96441
|
+
enabled: boolean;
|
|
96442
|
+
};
|
|
96443
|
+
designSystemSlug: {
|
|
96444
|
+
errorMessage: string;
|
|
96445
|
+
errorReason: string;
|
|
96446
|
+
enabled: boolean;
|
|
96447
|
+
};
|
|
96448
|
+
ipWhitelisting: {
|
|
96449
|
+
errorMessage: string;
|
|
96450
|
+
errorReason: string;
|
|
96451
|
+
enabled: boolean;
|
|
96452
|
+
};
|
|
96453
|
+
npmRegistry: {
|
|
96454
|
+
errorMessage: string;
|
|
96455
|
+
errorReason: string;
|
|
96456
|
+
enabled: boolean;
|
|
96457
|
+
};
|
|
96458
|
+
sso: {
|
|
96459
|
+
errorMessage: string;
|
|
96460
|
+
errorReason: string;
|
|
96461
|
+
enabled: boolean;
|
|
96462
|
+
};
|
|
96463
|
+
workspacePaidSeats: {
|
|
96464
|
+
max: number;
|
|
96465
|
+
errorMessage: string;
|
|
96466
|
+
errorReason: string;
|
|
96467
|
+
};
|
|
96468
|
+
workspaceViewers: {
|
|
96469
|
+
max: number;
|
|
96470
|
+
errorMessage: string;
|
|
96471
|
+
errorReason: string;
|
|
96472
|
+
};
|
|
96473
|
+
customDocumentationExporter: {
|
|
96474
|
+
errorMessage: string;
|
|
96475
|
+
errorReason: string;
|
|
96476
|
+
enabled: boolean;
|
|
96477
|
+
};
|
|
96478
|
+
protectedPages: {
|
|
96479
|
+
errorMessage: string;
|
|
96480
|
+
errorReason: string;
|
|
96481
|
+
enabled: boolean;
|
|
96482
|
+
};
|
|
96483
|
+
approvals: {
|
|
96484
|
+
errorMessage: string;
|
|
96485
|
+
errorReason: string;
|
|
96486
|
+
enabled: boolean;
|
|
96487
|
+
};
|
|
96488
|
+
selectivePublishing: {
|
|
96489
|
+
errorMessage: string;
|
|
96490
|
+
errorReason: string;
|
|
96491
|
+
enabled: boolean;
|
|
96492
|
+
};
|
|
96493
|
+
designSystemAccessModes: {
|
|
96494
|
+
errorMessage: string;
|
|
96495
|
+
errorReason: string;
|
|
96496
|
+
enabled: boolean;
|
|
96497
|
+
};
|
|
96498
|
+
designSystemRoles: {
|
|
96499
|
+
errorMessage: string;
|
|
96500
|
+
errorReason: string;
|
|
96501
|
+
enabled: boolean;
|
|
96502
|
+
};
|
|
97133
96503
|
} | undefined;
|
|
97134
|
-
|
|
97135
|
-
|
|
97136
|
-
|
|
97137
|
-
|
|
97138
|
-
|
|
96504
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
96505
|
+
currentPeriodStart?: string | undefined;
|
|
96506
|
+
currentPeriodEnd?: string | undefined;
|
|
96507
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
96508
|
+
cancelAt?: string | null | undefined;
|
|
96509
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
96510
|
+
daysUntilDue?: number | undefined;
|
|
96511
|
+
};
|
|
96512
|
+
npmRegistry?: {
|
|
96513
|
+
enabledScopes: string[];
|
|
96514
|
+
bypassProxy: boolean;
|
|
96515
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
96516
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
96517
|
+
registryUrl: string;
|
|
96518
|
+
proxyUrl: string;
|
|
96519
|
+
customRegistryUrl?: string | undefined;
|
|
96520
|
+
accessToken?: string | undefined;
|
|
96521
|
+
username?: string | undefined;
|
|
96522
|
+
password?: string | undefined;
|
|
96523
|
+
} | undefined;
|
|
97139
96524
|
};
|
|
97140
|
-
}
|
|
97141
|
-
|
|
97142
|
-
|
|
97143
|
-
|
|
97144
|
-
|
|
97145
|
-
|
|
97146
|
-
|
|
97147
|
-
|
|
97148
|
-
|
|
97149
|
-
|
|
97150
|
-
|
|
97151
|
-
|
|
97152
|
-
|
|
97153
|
-
|
|
97154
|
-
|
|
97155
|
-
|
|
97156
|
-
|
|
97157
|
-
|
|
97158
|
-
|
|
97159
|
-
|
|
97160
|
-
|
|
97161
|
-
|
|
97162
|
-
|
|
97163
|
-
|
|
96525
|
+
}>;
|
|
96526
|
+
}
|
|
96527
|
+
|
|
96528
|
+
declare class LiveblocksEndpoint {
|
|
96529
|
+
private readonly requestExecutor;
|
|
96530
|
+
constructor(requestExecutor: RequestExecutor);
|
|
96531
|
+
auth(body: DTOLiveblocksAuthRequest): Promise<{
|
|
96532
|
+
token: string;
|
|
96533
|
+
}>;
|
|
96534
|
+
}
|
|
96535
|
+
|
|
96536
|
+
declare class UsersEndpoint {
|
|
96537
|
+
private readonly requestExecutor;
|
|
96538
|
+
constructor(requestExecutor: RequestExecutor);
|
|
96539
|
+
getMe(): Promise<{
|
|
96540
|
+
user: {
|
|
96541
|
+
id: string;
|
|
96542
|
+
createdAt: Date;
|
|
96543
|
+
email: string;
|
|
96544
|
+
profile: {
|
|
96545
|
+
name: string;
|
|
96546
|
+
nickname?: string | undefined;
|
|
96547
|
+
avatar?: string | undefined;
|
|
96548
|
+
onboarding?: {
|
|
96549
|
+
companyName?: string | undefined;
|
|
96550
|
+
numberOfPeopleInOrg?: string | undefined;
|
|
96551
|
+
numberOfPeopleInDesignTeam?: string | undefined;
|
|
96552
|
+
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
96553
|
+
jobTitle?: string | undefined;
|
|
96554
|
+
phase?: string | undefined;
|
|
96555
|
+
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
96556
|
+
designSystemName?: string | undefined;
|
|
96557
|
+
defaultDestination?: string | undefined;
|
|
96558
|
+
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
97164
96559
|
} | undefined;
|
|
97165
|
-
}
|
|
97166
|
-
|
|
97167
|
-
|
|
97168
|
-
showCoverText?: boolean | undefined;
|
|
97169
|
-
minHeight?: number | null | undefined;
|
|
96560
|
+
};
|
|
96561
|
+
loggedOutAt?: Date | undefined;
|
|
96562
|
+
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
97170
96563
|
};
|
|
97171
|
-
}
|
|
97172
|
-
|
|
97173
|
-
|
|
97174
|
-
|
|
97175
|
-
|
|
97176
|
-
|
|
97177
|
-
|
|
97178
|
-
|
|
97179
|
-
|
|
97180
|
-
|
|
97181
|
-
|
|
97182
|
-
|
|
97183
|
-
|
|
97184
|
-
|
|
97185
|
-
|
|
97186
|
-
|
|
97187
|
-
|
|
97188
|
-
|
|
97189
|
-
|
|
97190
|
-
|
|
97191
|
-
|
|
97192
|
-
|
|
97193
|
-
|
|
96564
|
+
}>;
|
|
96565
|
+
listWorkspaces(uid: string): Promise<{
|
|
96566
|
+
membership: {
|
|
96567
|
+
workspace: {
|
|
96568
|
+
id: string;
|
|
96569
|
+
profile: {
|
|
96570
|
+
name: string;
|
|
96571
|
+
color: string;
|
|
96572
|
+
handle: string;
|
|
96573
|
+
avatar?: string | undefined;
|
|
96574
|
+
billingDetails?: {
|
|
96575
|
+
address?: {
|
|
96576
|
+
state?: string | undefined;
|
|
96577
|
+
street1?: string | undefined;
|
|
96578
|
+
street2?: string | undefined;
|
|
96579
|
+
city?: string | undefined;
|
|
96580
|
+
postal?: string | undefined;
|
|
96581
|
+
country?: string | undefined;
|
|
96582
|
+
} | undefined;
|
|
96583
|
+
email?: string | undefined;
|
|
96584
|
+
notes?: string | undefined;
|
|
96585
|
+
companyName?: string | undefined;
|
|
96586
|
+
companyId?: string | undefined;
|
|
96587
|
+
vat?: string | undefined;
|
|
96588
|
+
poNumber?: string | undefined;
|
|
96589
|
+
} | undefined;
|
|
96590
|
+
};
|
|
96591
|
+
subscription: {
|
|
96592
|
+
product: "company" | "enterprise" | "free" | "team";
|
|
96593
|
+
planPriceId: string;
|
|
96594
|
+
planInterval: "daily" | "monthly" | "weekly" | "yearly";
|
|
96595
|
+
seats: number;
|
|
96596
|
+
seatLimit: number;
|
|
96597
|
+
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
96598
|
+
card?: {
|
|
96599
|
+
name?: string | null | undefined;
|
|
96600
|
+
cardId?: string | null | undefined;
|
|
96601
|
+
last4?: string | null | undefined;
|
|
96602
|
+
expiryMonth?: string | null | undefined;
|
|
96603
|
+
expiryYear?: string | null | undefined;
|
|
96604
|
+
brand?: string | null | undefined;
|
|
96605
|
+
} | undefined;
|
|
96606
|
+
amount?: number | null | undefined;
|
|
96607
|
+
stripeProductDescription?: string | undefined;
|
|
96608
|
+
isPricePerCreator?: boolean | undefined;
|
|
96609
|
+
isTrial?: boolean | undefined;
|
|
96610
|
+
legacyVersion?: string | undefined;
|
|
96611
|
+
stripeProductFeatures?: string[] | undefined;
|
|
96612
|
+
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
96613
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
96614
|
+
stripeCustomerId?: string | null | undefined;
|
|
96615
|
+
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
96616
|
+
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
96617
|
+
featuresSummary?: {
|
|
96618
|
+
themes: {
|
|
96619
|
+
max: number;
|
|
96620
|
+
errorMessage: string;
|
|
96621
|
+
errorReason: string;
|
|
96622
|
+
};
|
|
96623
|
+
designSystems: {
|
|
96624
|
+
max: number;
|
|
96625
|
+
errorMessage: string;
|
|
96626
|
+
errorReason: string;
|
|
96627
|
+
};
|
|
96628
|
+
designSystemSources: {
|
|
96629
|
+
max: number;
|
|
96630
|
+
errorMessage: string;
|
|
96631
|
+
errorReason: string;
|
|
96632
|
+
noImportJobsErrorMessage: string;
|
|
96633
|
+
noImportJobsErrorReason: string;
|
|
96634
|
+
};
|
|
96635
|
+
designSystemVersions: {
|
|
96636
|
+
max: number;
|
|
96637
|
+
errorMessage: string;
|
|
96638
|
+
errorReason: string;
|
|
96639
|
+
};
|
|
96640
|
+
brands: {
|
|
96641
|
+
max: number;
|
|
96642
|
+
errorMessage: string;
|
|
96643
|
+
errorReason: string;
|
|
96644
|
+
};
|
|
96645
|
+
codegenSchedules: {
|
|
96646
|
+
max: number;
|
|
96647
|
+
errorMessage: string;
|
|
96648
|
+
errorReason: string;
|
|
96649
|
+
};
|
|
96650
|
+
publicDocumentation: {
|
|
96651
|
+
errorMessage: string;
|
|
96652
|
+
errorReason: string;
|
|
96653
|
+
enabled: boolean;
|
|
96654
|
+
};
|
|
96655
|
+
customDocumentationUrl: {
|
|
96656
|
+
errorMessage: string;
|
|
96657
|
+
errorReason: string;
|
|
96658
|
+
enabled: boolean;
|
|
96659
|
+
};
|
|
96660
|
+
customDocumentationViewButton: {
|
|
96661
|
+
errorMessage: string;
|
|
96662
|
+
errorReason: string;
|
|
96663
|
+
enabled: boolean;
|
|
96664
|
+
};
|
|
96665
|
+
designSystemSourceAutoImport: {
|
|
96666
|
+
errorMessage: string;
|
|
96667
|
+
errorReason: string;
|
|
96668
|
+
enabled: boolean;
|
|
96669
|
+
};
|
|
96670
|
+
designSystemSlug: {
|
|
96671
|
+
errorMessage: string;
|
|
96672
|
+
errorReason: string;
|
|
96673
|
+
enabled: boolean;
|
|
96674
|
+
};
|
|
96675
|
+
ipWhitelisting: {
|
|
96676
|
+
errorMessage: string;
|
|
96677
|
+
errorReason: string;
|
|
96678
|
+
enabled: boolean;
|
|
96679
|
+
};
|
|
96680
|
+
npmRegistry: {
|
|
96681
|
+
errorMessage: string;
|
|
96682
|
+
errorReason: string;
|
|
96683
|
+
enabled: boolean;
|
|
96684
|
+
};
|
|
96685
|
+
sso: {
|
|
96686
|
+
errorMessage: string;
|
|
96687
|
+
errorReason: string;
|
|
96688
|
+
enabled: boolean;
|
|
96689
|
+
};
|
|
96690
|
+
workspacePaidSeats: {
|
|
96691
|
+
max: number;
|
|
96692
|
+
errorMessage: string;
|
|
96693
|
+
errorReason: string;
|
|
96694
|
+
};
|
|
96695
|
+
workspaceViewers: {
|
|
96696
|
+
max: number;
|
|
96697
|
+
errorMessage: string;
|
|
96698
|
+
errorReason: string;
|
|
96699
|
+
};
|
|
96700
|
+
customDocumentationExporter: {
|
|
96701
|
+
errorMessage: string;
|
|
96702
|
+
errorReason: string;
|
|
96703
|
+
enabled: boolean;
|
|
96704
|
+
};
|
|
96705
|
+
protectedPages: {
|
|
96706
|
+
errorMessage: string;
|
|
96707
|
+
errorReason: string;
|
|
96708
|
+
enabled: boolean;
|
|
96709
|
+
};
|
|
96710
|
+
approvals: {
|
|
96711
|
+
errorMessage: string;
|
|
96712
|
+
errorReason: string;
|
|
96713
|
+
enabled: boolean;
|
|
96714
|
+
};
|
|
96715
|
+
selectivePublishing: {
|
|
96716
|
+
errorMessage: string;
|
|
96717
|
+
errorReason: string;
|
|
96718
|
+
enabled: boolean;
|
|
96719
|
+
};
|
|
96720
|
+
designSystemAccessModes: {
|
|
96721
|
+
errorMessage: string;
|
|
96722
|
+
errorReason: string;
|
|
96723
|
+
enabled: boolean;
|
|
96724
|
+
};
|
|
96725
|
+
designSystemRoles: {
|
|
96726
|
+
errorMessage: string;
|
|
96727
|
+
errorReason: string;
|
|
96728
|
+
enabled: boolean;
|
|
96729
|
+
};
|
|
96730
|
+
} | undefined;
|
|
96731
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
96732
|
+
currentPeriodStart?: string | undefined;
|
|
96733
|
+
currentPeriodEnd?: string | undefined;
|
|
96734
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
96735
|
+
cancelAt?: string | null | undefined;
|
|
96736
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
96737
|
+
daysUntilDue?: number | undefined;
|
|
96738
|
+
};
|
|
96739
|
+
npmRegistry?: {
|
|
96740
|
+
enabledScopes: string[];
|
|
96741
|
+
bypassProxy: boolean;
|
|
96742
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
96743
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
96744
|
+
registryUrl: string;
|
|
96745
|
+
proxyUrl: string;
|
|
96746
|
+
customRegistryUrl?: string | undefined;
|
|
96747
|
+
accessToken?: string | undefined;
|
|
96748
|
+
username?: string | undefined;
|
|
96749
|
+
password?: string | undefined;
|
|
97194
96750
|
} | undefined;
|
|
97195
|
-
|
|
97196
|
-
|
|
97197
|
-
|
|
96751
|
+
};
|
|
96752
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
|
|
96753
|
+
effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
|
|
96754
|
+
}[];
|
|
96755
|
+
}>;
|
|
96756
|
+
delete(uid: string): Promise<{
|
|
96757
|
+
user: {
|
|
96758
|
+
id: string;
|
|
96759
|
+
createdAt: Date;
|
|
96760
|
+
email: string;
|
|
96761
|
+
profile: {
|
|
96762
|
+
name: string;
|
|
96763
|
+
nickname?: string | undefined;
|
|
96764
|
+
avatar?: string | undefined;
|
|
96765
|
+
onboarding?: {
|
|
96766
|
+
companyName?: string | undefined;
|
|
96767
|
+
numberOfPeopleInOrg?: string | undefined;
|
|
96768
|
+
numberOfPeopleInDesignTeam?: string | undefined;
|
|
96769
|
+
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
96770
|
+
jobTitle?: string | undefined;
|
|
96771
|
+
phase?: string | undefined;
|
|
96772
|
+
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
96773
|
+
designSystemName?: string | undefined;
|
|
96774
|
+
defaultDestination?: string | undefined;
|
|
96775
|
+
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
97198
96776
|
} | undefined;
|
|
97199
|
-
}
|
|
97200
|
-
|
|
97201
|
-
|
|
97202
|
-
showCoverText?: boolean | undefined;
|
|
97203
|
-
minHeight?: number | null | undefined;
|
|
96777
|
+
};
|
|
96778
|
+
loggedOutAt?: Date | undefined;
|
|
96779
|
+
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
97204
96780
|
};
|
|
97205
|
-
}
|
|
97206
|
-
|
|
97207
|
-
|
|
97208
|
-
|
|
97209
|
-
|
|
97210
|
-
|
|
97211
|
-
|
|
97212
|
-
|
|
97213
|
-
|
|
97214
|
-
|
|
97215
|
-
|
|
97216
|
-
|
|
97217
|
-
|
|
97218
|
-
|
|
97219
|
-
|
|
97220
|
-
|
|
97221
|
-
|
|
97222
|
-
|
|
97223
|
-
|
|
97224
|
-
|
|
97225
|
-
|
|
97226
|
-
url: string;
|
|
97227
|
-
resourceId: string;
|
|
97228
|
-
} | undefined;
|
|
97229
|
-
figmaNode?: {
|
|
97230
|
-
sourceId: string;
|
|
97231
|
-
frameReferenceId: string;
|
|
96781
|
+
}>;
|
|
96782
|
+
updateProfile(uid: string, body: DTOUserProfileUpdate): Promise<{
|
|
96783
|
+
user: {
|
|
96784
|
+
id: string;
|
|
96785
|
+
createdAt: Date;
|
|
96786
|
+
email: string;
|
|
96787
|
+
profile: {
|
|
96788
|
+
name: string;
|
|
96789
|
+
nickname?: string | undefined;
|
|
96790
|
+
avatar?: string | undefined;
|
|
96791
|
+
onboarding?: {
|
|
96792
|
+
companyName?: string | undefined;
|
|
96793
|
+
numberOfPeopleInOrg?: string | undefined;
|
|
96794
|
+
numberOfPeopleInDesignTeam?: string | undefined;
|
|
96795
|
+
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
96796
|
+
jobTitle?: string | undefined;
|
|
96797
|
+
phase?: string | undefined;
|
|
96798
|
+
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
96799
|
+
designSystemName?: string | undefined;
|
|
96800
|
+
defaultDestination?: string | undefined;
|
|
96801
|
+
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
97232
96802
|
} | undefined;
|
|
97233
|
-
}
|
|
97234
|
-
|
|
97235
|
-
|
|
97236
|
-
showCoverText?: boolean | undefined;
|
|
97237
|
-
minHeight?: number | null | undefined;
|
|
96803
|
+
};
|
|
96804
|
+
loggedOutAt?: Date | undefined;
|
|
96805
|
+
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
97238
96806
|
};
|
|
97239
|
-
}
|
|
97240
|
-
}
|
|
97241
|
-
|
|
97242
|
-
|
|
97243
|
-
|
|
96807
|
+
}>;
|
|
96808
|
+
}
|
|
96809
|
+
|
|
96810
|
+
type SupernovaApiClientConfig = {
|
|
96811
|
+
host: string;
|
|
96812
|
+
accessToken: string;
|
|
96813
|
+
};
|
|
96814
|
+
declare class SupernovaApiClient {
|
|
96815
|
+
readonly users: UsersEndpoint;
|
|
96816
|
+
readonly workspaces: WorkspacesEndpoint;
|
|
96817
|
+
readonly designSystems: DesignSystemsEndpoint;
|
|
96818
|
+
readonly codegen: CodegenEndpoint;
|
|
96819
|
+
readonly liveblocks: LiveblocksEndpoint;
|
|
96820
|
+
constructor(config: SupernovaApiClientConfig);
|
|
96821
|
+
}
|
|
96822
|
+
|
|
96823
|
+
type HierarchyObserver$1 = (hierarchy: DTODocumentationHierarchyV2) => void;
|
|
96824
|
+
type DocPageCreate = {
|
|
96825
|
+
persistentId: string;
|
|
96826
|
+
title: string;
|
|
96827
|
+
configuration?: DTODocumentationItemConfigurationV2;
|
|
96828
|
+
parentPersistentId: string;
|
|
96829
|
+
afterPersistentId?: string | null;
|
|
96830
|
+
};
|
|
96831
|
+
type DocPageUpdate = {
|
|
96832
|
+
persistentId: string;
|
|
96833
|
+
title?: string;
|
|
96834
|
+
configuration?: Partial<DTODocumentationItemConfigurationV2>;
|
|
96835
|
+
};
|
|
96836
|
+
type TransactionExecutor$1 = (trx: DTOElementActionInput) => Promise<void>;
|
|
96837
|
+
declare class DocsStructureRepository {
|
|
96838
|
+
private readonly localState;
|
|
96839
|
+
private designSystemVersionId;
|
|
96840
|
+
private readonly yDoc;
|
|
96841
|
+
private readonly yObserver;
|
|
96842
|
+
private _yState;
|
|
96843
|
+
private _currentHierarchy;
|
|
96844
|
+
private readonly trxQueue;
|
|
96845
|
+
private readonly hierarchyObservers;
|
|
96846
|
+
private readonly initCallbacks;
|
|
96847
|
+
constructor(designSystemVersionId: string, yDoc: Y.Doc, transactionExecutor: TransactionExecutor$1);
|
|
96848
|
+
private get yState();
|
|
96849
|
+
get isInitialized(): boolean;
|
|
96850
|
+
onInitialized(): Promise<void>;
|
|
96851
|
+
addHierarchyObserver(observer: HierarchyObserver$1): void;
|
|
96852
|
+
removeHierarchyObserver(observer: HierarchyObserver$1): void;
|
|
96853
|
+
dispose(): void;
|
|
96854
|
+
get currentHierarchy(): DTODocumentationHierarchyV2;
|
|
96855
|
+
createPage(input: DocPageCreate): void;
|
|
96856
|
+
createPagePromise(input: DocPageCreate): Promise<void>;
|
|
96857
|
+
updatePage(update: DocPageUpdate): void;
|
|
96858
|
+
updatePagePromise(update: DocPageUpdate): Promise<void>;
|
|
96859
|
+
private updatePageLocally;
|
|
96860
|
+
deletePagePromise(persistentId: string): Promise<void>;
|
|
96861
|
+
deletePage(persistentId: string): void;
|
|
96862
|
+
private createLocalPageUpdate;
|
|
96863
|
+
private lookupPage;
|
|
96864
|
+
private refreshHierarchy;
|
|
96865
|
+
private calculateHierarchy;
|
|
96866
|
+
private onYUpdate;
|
|
96867
|
+
private calculateSortOrder;
|
|
96868
|
+
}
|
|
96869
|
+
|
|
96870
|
+
type HierarchyObserver = (hierarchy: DTODocumentationHierarchyV2) => void;
|
|
96871
|
+
type TransactionExecutor = (trx: DTOElementActionInput) => Promise<void>;
|
|
96872
|
+
declare class DocsStructureRepositoryV2 {
|
|
96873
|
+
private designSystemVersionId;
|
|
96874
|
+
private readonly yDoc;
|
|
96875
|
+
private readonly yObserver;
|
|
96876
|
+
private _yState;
|
|
96877
|
+
private _currentHierarchy;
|
|
96878
|
+
private readonly localActions;
|
|
96879
|
+
private readonly actionQueue;
|
|
96880
|
+
private readonly hierarchyObservers;
|
|
96881
|
+
private readonly initCallbacks;
|
|
96882
|
+
constructor(designSystemVersionId: string, yDoc: Y.Doc, transactionExecutor: TransactionExecutor);
|
|
96883
|
+
get isInitialized(): boolean;
|
|
96884
|
+
onInitialized(): Promise<void>;
|
|
96885
|
+
addHierarchyObserver(observer: HierarchyObserver): void;
|
|
96886
|
+
removeHierarchyObserver(observer: HierarchyObserver): void;
|
|
96887
|
+
dispose(): void;
|
|
96888
|
+
get currentHierarchy(): DTODocumentationHierarchyV2;
|
|
96889
|
+
executeAction(action: DTOElementActionInput): void;
|
|
96890
|
+
executeActionPromise(action: DTOElementActionInput): Promise<void>;
|
|
96891
|
+
private refreshHierarchy;
|
|
96892
|
+
private calculateHierarchy;
|
|
96893
|
+
private onYUpdate;
|
|
96894
|
+
}
|
|
96895
|
+
|
|
96896
|
+
declare enum ParsedFigmaFileURLError {
|
|
96897
|
+
InvalidUrl = "InvalidUrl",
|
|
96898
|
+
InvalidFigmaFileId = "InvalidFigmaFileId"
|
|
96899
|
+
}
|
|
96900
|
+
type ParsedFigmaFileURL = {
|
|
96901
|
+
status: "Success";
|
|
96902
|
+
fileId: string;
|
|
96903
|
+
fileName: string | null;
|
|
96904
|
+
nodeId: string | null;
|
|
96905
|
+
nodeType: string | null;
|
|
96906
|
+
} | {
|
|
96907
|
+
status: "Error";
|
|
96908
|
+
error: ParsedFigmaFileURLError;
|
|
96909
|
+
};
|
|
96910
|
+
declare const FigmaUtils: {
|
|
96911
|
+
tryParseFigmaFileURL(urlString: string): ParsedFigmaFileURL;
|
|
96912
|
+
};
|
|
96913
|
+
|
|
96914
|
+
declare function generateHash(input: object | string, debug?: boolean): string;
|
|
96915
|
+
|
|
96916
|
+
type CompatibleValue = number | string | boolean | undefined;
|
|
96917
|
+
type QueryObject = Record<string, CompatibleValue | CompatibleValue[]>;
|
|
96918
|
+
declare function serializeQuery(query: QueryObject): URLSearchParams;
|
|
97244
96919
|
|
|
97245
96920
|
declare const PageBlockEditorModel: z.ZodObject<{
|
|
97246
96921
|
id: z.ZodString;
|
|
@@ -99050,6 +98725,7 @@ declare class BackendVersionRoomYDoc {
|
|
|
99050
98725
|
declare class VersionRoomBaseYDoc {
|
|
99051
98726
|
private readonly yDoc;
|
|
99052
98727
|
constructor(yDoc: Y.Doc);
|
|
98728
|
+
getState(): VersionRoomBaseYDocState;
|
|
99053
98729
|
getPages(): DocumentationPageV2[];
|
|
99054
98730
|
updatePages(pages: DocumentationPageV2[]): void;
|
|
99055
98731
|
deletePages(ids: string[]): void;
|
|
@@ -99093,33 +98769,38 @@ declare class VersionRoomBaseYDoc {
|
|
|
99093
98769
|
private get documentationPageApprovalsMap();
|
|
99094
98770
|
}
|
|
99095
98771
|
|
|
98772
|
+
type DocsPage = VersionRoomDocsPage | LocalDocsPage;
|
|
98773
|
+
type DocsPageGroup = VersionRoomDocsPageGroup | LocalDocsPageGroup;
|
|
98774
|
+
type Input = {
|
|
98775
|
+
pages: DocsPage[];
|
|
98776
|
+
pageSnapshots: DocumentationPageSnapshot[];
|
|
98777
|
+
pageContentHashes: Record<string, string>;
|
|
98778
|
+
pageLiveblockRoomIds: Record<string, string>;
|
|
98779
|
+
groups: DocsPageGroup[];
|
|
98780
|
+
groupSnapshots: ElementGroupSnapshot[];
|
|
98781
|
+
approvals: DocumentationPageApproval[];
|
|
98782
|
+
settings: DocumentationHierarchySettings;
|
|
98783
|
+
};
|
|
98784
|
+
declare function computeDocsHierarchy(input: Input, options?: {
|
|
98785
|
+
includeDeletedContent?: boolean;
|
|
98786
|
+
debug?: boolean;
|
|
98787
|
+
}): DTODocumentationHierarchyV2;
|
|
98788
|
+
|
|
99096
98789
|
declare class FrontendVersionRoomYDoc {
|
|
99097
98790
|
private readonly debug;
|
|
99098
98791
|
private readonly yDoc;
|
|
99099
98792
|
constructor(yDoc: Y.Doc, debug?: boolean);
|
|
99100
98793
|
getDocumentationHierarchy(options?: {
|
|
99101
98794
|
includeDeletedContent?: boolean;
|
|
98795
|
+
debug?: boolean;
|
|
99102
98796
|
}): DTODocumentationHierarchyV2;
|
|
99103
|
-
private buildPageDraftDeletedStates;
|
|
99104
|
-
private buildPageDraftCreatedAndUpdatedStates;
|
|
99105
|
-
private itemStateFromPage;
|
|
99106
|
-
private getDeletedPages;
|
|
99107
|
-
private buildPagePublishedMetadata;
|
|
99108
|
-
private buildGroupDraftDeletedStates;
|
|
99109
|
-
private buildGroupDraftCreatedAndUpdatedStates;
|
|
99110
|
-
private itemStateFromGroup;
|
|
99111
|
-
private getDeletedGroups;
|
|
99112
|
-
private buildGroupPublishedMetadata;
|
|
99113
|
-
private createDraftState;
|
|
99114
|
-
private buildGroupApprovalStates;
|
|
99115
98797
|
notifyDocumentationPageContentUpdated(pageId: string, content: DocumentationPageEditorModel, definitions: PageBlockDefinition[]): void;
|
|
99116
98798
|
isDraftFeatureAdopted(): boolean;
|
|
99117
98799
|
hasPublishedDocumentationContent(): boolean;
|
|
99118
98800
|
isApprovalsFeatureEnabled(): boolean;
|
|
99119
98801
|
isApprovalRequiredForPublishing(): boolean;
|
|
99120
|
-
private buildPageApprovalStates;
|
|
99121
98802
|
}
|
|
99122
98803
|
|
|
99123
98804
|
declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
|
|
99124
98805
|
|
|
99125
|
-
export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, BrandsEndpoint, CodegenEndpoint, Collection, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBffFigmaImportRequestBody, DTOBffImportRequestBody, DTOBffUploadImportRequestBody, DTOBrand, DTOBrandCreatePayload, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandUpdatePayload, DTOBrandsListResponse, DTOColorTokenInlineData, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateVersionInput, DTODataSource, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaCreatePayload, DTODataSourceFigmaImportPayload, DTODataSourceFigmaScope, DTODataSourceFigmaVariablesPlugin, DTODataSourceResponse, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemComponent, DTODesignSystemComponentCreateInput, DTODesignSystemComponentListResponse, DTODesignSystemComponentResponse, DTODesignSystemContactsResponse, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODesignToken, DTODesignTokenCreatePayload, DTODesignTokenGroup, DTODesignTokenGroupCreatePayload, DTODesignTokenGroupListResponse, DTODesignTokenGroupResponse, DTODesignTokenListResponse, DTODesignTokenResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoom, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageRoomResponse, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationStructure, DTODocumentationStructureGroupItem, DTODocumentationStructureItem, DTODocumentationStructurePageItem, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionCreatePayload, DTOElementPropertyDefinitionListResponse, DTOElementPropertyDefinitionOption, DTOElementPropertyDefinitionResponse, DTOElementPropertyDefinitionUpdatePayload, DTOElementPropertyValue, DTOElementPropertyValueListResponse, DTOElementPropertyValueResponse, DTOElementPropertyValueUpsertPaylod, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, DTOElementsGetOutputV2, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOEvent, DTOEventDataSourcesImported, DTOEventFigmaNodesRendered, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResponseLegacy, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterGitProviderEnum, DTOExporterListQuery, DTOExporterListResponse, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterPropertyDefinition, DTOExporterPropertyDefinitionArray, DTOExporterPropertyDefinitionBoolean, DTOExporterPropertyDefinitionEnum, DTOExporterPropertyDefinitionEnumOption, DTOExporterPropertyDefinitionNumber, DTOExporterPropertyDefinitionObject, DTOExporterPropertyDefinitionString, DTOExporterPropertyDefinitionValue, DTOExporterPropertyDefinitionValueMap, DTOExporterPropertyDefinitionsResponse, DTOExporterPropertyType, DTOExporterResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentGroup, DTOFigmaComponentGroupListResponse, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeDataV2, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderAsyncActionInput, DTOFigmaNodeRenderAsyncActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderIdInput, DTOFigmaNodeRenderInput, DTOFigmaNodeRenderUrlInput, DTOFigmaNodeRerenderInput, DTOFigmaNodeV2, DTOFrameNodeStructure, DTOFrameNodeStructureListResponse, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOImportJob, DTOImportJobResponse, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOObjectMeta, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPageRedirect, DTOPageRedirectCreateBody, DTOPageRedirectDeleteResponse, DTOPageRedirectListResponse, DTOPageRedirectResponse, DTOPageRedirectUpdateBody, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineListQuery, DTOPipelineListResponse, DTOPipelineResponse, DTOPipelineTriggerBody, DTOPipelineUpdateBody, type DTOPropertyDefinitionBase, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOTheme, DTOThemeCreatePayload, DTOThemeListResponse, DTOThemeOverride, DTOThemeOverrideCreatePayload, DTOThemeResponse, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOTransferOwnershipPayload, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdate, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserTheme, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationUpdateResponse, DTOWorkspaceInvitationsListInput, DTOWorkspaceInvitationsResponse, DTOWorkspaceInviteUpdate, DTOWorkspaceMember, DTOWorkspaceMembersListResponse, DTOWorkspaceProfile, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemBffEndpoint, DesignSystemComponentEndpoint, DesignSystemContactsEndpoint, DesignSystemMembersEndpoint, DesignSystemSourcesEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DimensionsVariableScopeType, DocumentationEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, ElementPropertyDefinitionsEndpoint, ElementPropertyValuesEndpoint, ElementsActionEndpoint, ElementsEndpoint, ExporterJobsEndpoint, ExportersEndpoint, FigmaComponentGroupsEndpoint, FigmaComponentsEndpoint, FigmaFrameStructuresEndpoint, FigmaUtils, FormattedCollections, FrontendVersionRoomYDoc, ImportJobsEndpoint, type ListItemNode, type ListNode, ListTreeBuilder, LiveblocksEndpoint, NpmRegistryInput, ObjectMeta, OverridesEndpoint, PageBlockEditorModel, PageSectionEditorModel, ParsedFigmaFileURLError, PipelinesEndpoint, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RGB, RGBA, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, ResolvedVariableType, StringVariableScopeType, SupernovaApiClient, ThemesEndpoint, TokenCollectionsEndpoint, TokenGroupsEndpoint, TokensEndpoint, UsersEndpoint, Variable, VariableAlias, VariableMode, VariableValue, VariablesMapping, VersionRoomBaseYDoc, VersionSQSPayload, VersionStatsEndpoint, WorkspaceConfigurationPayload, WorkspaceInvitationsEndpoint, WorkspaceMembersEndpoint, WorkspacesEndpoint, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, serializeQuery, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|
|
98806
|
+
export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, BrandsEndpoint, CodegenEndpoint, Collection, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBffFigmaImportRequestBody, DTOBffImportRequestBody, DTOBffUploadImportRequestBody, DTOBrand, DTOBrandCreatePayload, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandUpdatePayload, DTOBrandsListResponse, DTOColorTokenInlineData, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateVersionInput, DTODataSource, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaCreatePayload, DTODataSourceFigmaImportPayload, DTODataSourceFigmaScope, DTODataSourceFigmaVariablesPlugin, DTODataSourceResponse, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemComponent, DTODesignSystemComponentCreateInput, DTODesignSystemComponentListResponse, DTODesignSystemComponentResponse, DTODesignSystemContactsResponse, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODesignToken, DTODesignTokenCreatePayload, DTODesignTokenGroup, DTODesignTokenGroupCreatePayload, DTODesignTokenGroupListResponse, DTODesignTokenGroupResponse, DTODesignTokenListResponse, DTODesignTokenResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoom, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageRoomResponse, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationStructure, DTODocumentationStructureGroupItem, DTODocumentationStructureItem, DTODocumentationStructurePageItem, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, type DTOElementActionInputOfType, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionCreatePayload, DTOElementPropertyDefinitionListResponse, DTOElementPropertyDefinitionOption, DTOElementPropertyDefinitionResponse, DTOElementPropertyDefinitionUpdatePayload, DTOElementPropertyValue, DTOElementPropertyValueListResponse, DTOElementPropertyValueResponse, DTOElementPropertyValueUpsertPaylod, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, DTOElementsGetOutputV2, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResponseLegacy, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterGitProviderEnum, DTOExporterListQuery, DTOExporterListResponse, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterPropertyDefinition, DTOExporterPropertyDefinitionArray, DTOExporterPropertyDefinitionBoolean, DTOExporterPropertyDefinitionEnum, DTOExporterPropertyDefinitionEnumOption, DTOExporterPropertyDefinitionNumber, DTOExporterPropertyDefinitionObject, DTOExporterPropertyDefinitionString, DTOExporterPropertyDefinitionValue, DTOExporterPropertyDefinitionValueMap, DTOExporterPropertyDefinitionsResponse, DTOExporterPropertyType, DTOExporterResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentGroup, DTOFigmaComponentGroupListResponse, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeDataV2, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderAsyncActionInput, DTOFigmaNodeRenderAsyncActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderIdInput, DTOFigmaNodeRenderInput, DTOFigmaNodeRenderUrlInput, DTOFigmaNodeRerenderInput, DTOFigmaNodeV2, DTOFrameNodeStructure, DTOFrameNodeStructureListResponse, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOImportJob, DTOImportJobResponse, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOObjectMeta, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineListQuery, DTOPipelineListResponse, DTOPipelineResponse, DTOPipelineTriggerBody, DTOPipelineUpdateBody, type DTOPropertyDefinitionBase, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOTheme, DTOThemeCreatePayload, DTOThemeListResponse, DTOThemeOverride, DTOThemeOverrideCreatePayload, DTOThemeResponse, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOTransferOwnershipPayload, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdate, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationUpdateResponse, DTOWorkspaceInvitationsListInput, DTOWorkspaceInvitationsResponse, DTOWorkspaceInviteUpdate, DTOWorkspaceMember, DTOWorkspaceMembersListResponse, DTOWorkspaceProfile, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemBffEndpoint, DesignSystemComponentEndpoint, DesignSystemContactsEndpoint, DesignSystemMembersEndpoint, DesignSystemSourcesEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DimensionsVariableScopeType, DocsStructureRepository, DocsStructureRepositoryV2, DocumentationEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, ElementPropertyDefinitionsEndpoint, ElementPropertyValuesEndpoint, ElementsActionEndpoint, ElementsEndpoint, ExporterJobsEndpoint, ExportersEndpoint, FigmaComponentGroupsEndpoint, FigmaComponentsEndpoint, FigmaFrameStructuresEndpoint, FigmaUtils, FormattedCollections, FrontendVersionRoomYDoc, ImportJobsEndpoint, type ListItemNode, type ListNode, ListTreeBuilder, LiveblocksEndpoint, type LocalDocsPage, type LocalDocsPageGroup, LocalStorage, NpmRegistryInput, ObjectMeta, OverridesEndpoint, PageBlockEditorModel, PageSectionEditorModel, ParsedFigmaFileURLError, PipelinesEndpoint, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RGB, RGBA, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, ResolvedVariableType, StringVariableScopeType, SupernovaApiClient, ThemesEndpoint, TokenCollectionsEndpoint, TokenGroupsEndpoint, TokensEndpoint, UsersEndpoint, Variable, VariableAlias, VariableMode, VariableValue, VariablesMapping, VersionRoomBaseYDoc, type VersionRoomBaseYDocState, type VersionRoomDocsPage, type VersionRoomDocsPageGroup, VersionSQSPayload, VersionStatsEndpoint, WorkspaceConfigurationPayload, WorkspaceInvitationsEndpoint, WorkspaceMembersEndpoint, WorkspacesEndpoint, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, computeDocsHierarchy, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, serializeQuery, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|