@supernova-studio/client 0.57.16 → 0.57.17
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 +356 -176
- package/dist/index.d.ts +356 -176
- package/dist/index.js +82 -56
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +931 -905
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/design-systems/contact.ts +11 -0
- package/src/api/dto/design-systems/index.ts +1 -0
- package/src/api/endpoints/design-system/contact.ts +12 -0
- package/src/api/endpoints/design-system/design-systems.ts +3 -0
- package/src/api/endpoints/design-system/index.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -5123,7 +5123,7 @@ var DTOPagination = z177.object({
|
|
|
5123
5123
|
});
|
|
5124
5124
|
|
|
5125
5125
|
// src/api/dto/bff/app-bootstrap-data.ts
|
|
5126
|
-
import { z as
|
|
5126
|
+
import { z as z210 } from "zod";
|
|
5127
5127
|
|
|
5128
5128
|
// src/api/dto/design-systems/brand.ts
|
|
5129
5129
|
import { z as z178 } from "zod";
|
|
@@ -5139,106 +5139,172 @@ var DTOBrandCreateResponse = z178.object({
|
|
|
5139
5139
|
});
|
|
5140
5140
|
var DTOBrandsListResponse = z178.object({ brands: z178.array(DTOBrand) });
|
|
5141
5141
|
|
|
5142
|
-
// src/api/dto/design-systems/
|
|
5142
|
+
// src/api/dto/design-systems/contact.ts
|
|
5143
|
+
import { z as z182 } from "zod";
|
|
5144
|
+
|
|
5145
|
+
// src/api/dto/users/authenticated-user.ts
|
|
5146
|
+
import { z as z180 } from "zod";
|
|
5147
|
+
|
|
5148
|
+
// src/api/dto/users/user.ts
|
|
5143
5149
|
import { z as z179 } from "zod";
|
|
5144
|
-
var
|
|
5150
|
+
var DTOUserProfile = z179.object({
|
|
5151
|
+
name: z179.string(),
|
|
5152
|
+
nickname: z179.string().optional(),
|
|
5153
|
+
avatar: z179.string().optional()
|
|
5154
|
+
});
|
|
5155
|
+
var DTOUser = z179.object({
|
|
5145
5156
|
id: z179.string(),
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
description: z179.string()
|
|
5157
|
+
email: z179.string(),
|
|
5158
|
+
profile: DTOUserProfile
|
|
5149
5159
|
});
|
|
5150
|
-
var
|
|
5151
|
-
|
|
5160
|
+
var DTOUserGetResponse = z179.object({
|
|
5161
|
+
user: DTOUser
|
|
5162
|
+
});
|
|
5163
|
+
var DTOUserProfileUpdate = UserProfileUpdate;
|
|
5164
|
+
|
|
5165
|
+
// src/api/dto/users/authenticated-user.ts
|
|
5166
|
+
var DTOUserOnboardingDepartment = UserOnboardingDepartment;
|
|
5167
|
+
var DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
|
|
5168
|
+
var DTOUserSource = UserSource;
|
|
5169
|
+
var DTOUserOnboarding = z180.object({
|
|
5170
|
+
companyName: z180.string().optional(),
|
|
5171
|
+
numberOfPeopleInOrg: z180.string().optional(),
|
|
5172
|
+
numberOfPeopleInDesignTeam: z180.string().optional(),
|
|
5173
|
+
department: DTOUserOnboardingDepartment.optional(),
|
|
5174
|
+
jobTitle: z180.string().optional(),
|
|
5175
|
+
phase: z180.string().optional(),
|
|
5176
|
+
jobLevel: DTOUserOnboardingJobLevel.optional(),
|
|
5177
|
+
designSystemName: z180.string().optional(),
|
|
5178
|
+
defaultDestination: z180.string().optional(),
|
|
5179
|
+
isPageDraftOnboardingFinished: z180.boolean().optional()
|
|
5180
|
+
});
|
|
5181
|
+
var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
|
|
5182
|
+
onboarding: DTOUserOnboarding.optional()
|
|
5183
|
+
});
|
|
5184
|
+
var DTOAuthenticatedUser = DTOUser.extend({
|
|
5185
|
+
profile: DTOAuthenticatedUserProfile,
|
|
5186
|
+
createdAt: z180.coerce.date(),
|
|
5187
|
+
loggedOutAt: z180.coerce.date().optional(),
|
|
5188
|
+
source: DTOUserSource.optional()
|
|
5189
|
+
});
|
|
5190
|
+
var DTOAuthenticatedUserResponse = z180.object({
|
|
5191
|
+
user: DTOAuthenticatedUser
|
|
5192
|
+
});
|
|
5193
|
+
|
|
5194
|
+
// src/api/dto/users/update.ts
|
|
5195
|
+
import { z as z181 } from "zod";
|
|
5196
|
+
var DTOUserProfileUpdateResponse = z181.object({
|
|
5197
|
+
user: User
|
|
5198
|
+
});
|
|
5199
|
+
|
|
5200
|
+
// src/api/dto/design-systems/contact.ts
|
|
5201
|
+
var DTODesignSystemContactsResponse = z182.object({
|
|
5202
|
+
contacts: z182.object({
|
|
5203
|
+
workspace: z182.array(DTOUser),
|
|
5204
|
+
designSystem: z182.array(DTOUser)
|
|
5205
|
+
})
|
|
5206
|
+
});
|
|
5207
|
+
|
|
5208
|
+
// src/api/dto/design-systems/data-source.ts
|
|
5209
|
+
import { z as z183 } from "zod";
|
|
5210
|
+
var DTODataSourceFigmaFileVersion = z183.object({
|
|
5211
|
+
id: z183.string(),
|
|
5212
|
+
created_at: z183.coerce.date(),
|
|
5213
|
+
label: z183.string(),
|
|
5214
|
+
description: z183.string()
|
|
5215
|
+
});
|
|
5216
|
+
var DTODataSourceFigmaCloud = z183.object({
|
|
5217
|
+
fileId: z183.string(),
|
|
5152
5218
|
state: DataSourceFigmaState,
|
|
5153
5219
|
autoImportMode: DataSourceAutoImportMode,
|
|
5154
|
-
fileThumbnailUrl:
|
|
5220
|
+
fileThumbnailUrl: z183.string().optional(),
|
|
5155
5221
|
lastImportResult: SourceImportSummary.nullish(),
|
|
5156
|
-
lastImportedAt:
|
|
5222
|
+
lastImportedAt: z183.coerce.date().nullish(),
|
|
5157
5223
|
lastImportedVersion: DTODataSourceFigmaFileVersion.nullish(),
|
|
5158
|
-
lastUpdatesCheckedAt:
|
|
5159
|
-
ownerId:
|
|
5160
|
-
ownerUserName:
|
|
5161
|
-
preferredCredentialId:
|
|
5224
|
+
lastUpdatesCheckedAt: z183.date().nullish(),
|
|
5225
|
+
ownerId: z183.string(),
|
|
5226
|
+
ownerUserName: z183.string().optional(),
|
|
5227
|
+
preferredCredentialId: z183.string().optional(),
|
|
5162
5228
|
stats: DataSourceStats
|
|
5163
5229
|
});
|
|
5164
|
-
var DTODataSourceFigma =
|
|
5165
|
-
id:
|
|
5166
|
-
type:
|
|
5167
|
-
fileName:
|
|
5230
|
+
var DTODataSourceFigma = z183.object({
|
|
5231
|
+
id: z183.string(),
|
|
5232
|
+
type: z183.literal(DataSourceRemoteType.Enum.Figma),
|
|
5233
|
+
fileName: z183.string(),
|
|
5168
5234
|
scope: DataSourceFigmaScope,
|
|
5169
|
-
brandId:
|
|
5170
|
-
themeId:
|
|
5235
|
+
brandId: z183.string(),
|
|
5236
|
+
themeId: z183.string().nullish(),
|
|
5171
5237
|
cloud: DTODataSourceFigmaCloud.nullish()
|
|
5172
5238
|
});
|
|
5173
|
-
var DTODataSourceTokenStudio =
|
|
5174
|
-
id:
|
|
5175
|
-
type:
|
|
5176
|
-
fileName:
|
|
5177
|
-
brandId:
|
|
5178
|
-
themeId:
|
|
5179
|
-
tokenStudio:
|
|
5180
|
-
settings:
|
|
5181
|
-
dryRun:
|
|
5182
|
-
verbose:
|
|
5183
|
-
preciseCopy:
|
|
5239
|
+
var DTODataSourceTokenStudio = z183.object({
|
|
5240
|
+
id: z183.string(),
|
|
5241
|
+
type: z183.literal(DataSourceRemoteType.Enum.TokenStudio),
|
|
5242
|
+
fileName: z183.string(),
|
|
5243
|
+
brandId: z183.string(),
|
|
5244
|
+
themeId: z183.string().nullish(),
|
|
5245
|
+
tokenStudio: z183.object({
|
|
5246
|
+
settings: z183.object({
|
|
5247
|
+
dryRun: z183.boolean(),
|
|
5248
|
+
verbose: z183.boolean(),
|
|
5249
|
+
preciseCopy: z183.boolean()
|
|
5184
5250
|
}),
|
|
5185
|
-
connectionName:
|
|
5186
|
-
lastImportedAt:
|
|
5187
|
-
lastImportedResults:
|
|
5188
|
-
|
|
5189
|
-
mapping:
|
|
5190
|
-
tokenSets:
|
|
5191
|
-
supernovaBrand:
|
|
5192
|
-
supernovaTheme:
|
|
5251
|
+
connectionName: z183.string(),
|
|
5252
|
+
lastImportedAt: z183.coerce.date(),
|
|
5253
|
+
lastImportedResults: z183.array(
|
|
5254
|
+
z183.object({
|
|
5255
|
+
mapping: z183.object({
|
|
5256
|
+
tokenSets: z183.array(z183.string()),
|
|
5257
|
+
supernovaBrand: z183.string(),
|
|
5258
|
+
supernovaTheme: z183.string().optional()
|
|
5193
5259
|
}),
|
|
5194
|
-
isFailed:
|
|
5195
|
-
tokensCreated:
|
|
5196
|
-
tokensDeleted:
|
|
5197
|
-
tokensUpdated:
|
|
5260
|
+
isFailed: z183.boolean(),
|
|
5261
|
+
tokensCreated: z183.number(),
|
|
5262
|
+
tokensDeleted: z183.number(),
|
|
5263
|
+
tokensUpdated: z183.number()
|
|
5198
5264
|
})
|
|
5199
5265
|
)
|
|
5200
5266
|
})
|
|
5201
5267
|
});
|
|
5202
|
-
var DTODataSourceFigmaVariablesPlugin =
|
|
5203
|
-
id:
|
|
5204
|
-
type:
|
|
5205
|
-
fileName:
|
|
5206
|
-
brandId:
|
|
5207
|
-
upload:
|
|
5208
|
-
remoteId:
|
|
5268
|
+
var DTODataSourceFigmaVariablesPlugin = z183.object({
|
|
5269
|
+
id: z183.string(),
|
|
5270
|
+
type: z183.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
|
|
5271
|
+
fileName: z183.string(),
|
|
5272
|
+
brandId: z183.string(),
|
|
5273
|
+
upload: z183.object({
|
|
5274
|
+
remoteId: z183.string(),
|
|
5209
5275
|
remoteSourceType: DataSourceUploadRemoteSource,
|
|
5210
|
-
lastImportedAt:
|
|
5276
|
+
lastImportedAt: z183.coerce.date().optional(),
|
|
5211
5277
|
lastImportMetadata: DataSourceUploadImportMetadata.optional(),
|
|
5212
|
-
isTokenTypeSplitEnabled:
|
|
5278
|
+
isTokenTypeSplitEnabled: z183.boolean()
|
|
5213
5279
|
}),
|
|
5214
|
-
figmaVariablesPlugin:
|
|
5215
|
-
fileId:
|
|
5216
|
-
lastImportedAt:
|
|
5280
|
+
figmaVariablesPlugin: z183.object({
|
|
5281
|
+
fileId: z183.string(),
|
|
5282
|
+
lastImportedAt: z183.coerce.date().optional(),
|
|
5217
5283
|
lastImportMetadata: DataSourceUploadImportMetadata.optional(),
|
|
5218
|
-
isTokenTypeSplitEnabled:
|
|
5284
|
+
isTokenTypeSplitEnabled: z183.boolean()
|
|
5219
5285
|
})
|
|
5220
5286
|
});
|
|
5221
|
-
var DTODataSource =
|
|
5287
|
+
var DTODataSource = z183.discriminatedUnion("type", [
|
|
5222
5288
|
DTODataSourceFigma,
|
|
5223
5289
|
DTODataSourceFigmaVariablesPlugin,
|
|
5224
5290
|
DTODataSourceTokenStudio
|
|
5225
5291
|
]);
|
|
5226
|
-
var DTODataSourcesListResponse =
|
|
5227
|
-
sources:
|
|
5292
|
+
var DTODataSourcesListResponse = z183.object({
|
|
5293
|
+
sources: z183.array(DTODataSource)
|
|
5228
5294
|
});
|
|
5229
|
-
var DTODataSourceCreationResponse =
|
|
5295
|
+
var DTODataSourceCreationResponse = z183.object({
|
|
5230
5296
|
source: DTODataSource
|
|
5231
5297
|
});
|
|
5232
5298
|
|
|
5233
5299
|
// src/api/dto/design-systems/design-system.ts
|
|
5234
|
-
import { z as
|
|
5300
|
+
import { z as z186 } from "zod";
|
|
5235
5301
|
|
|
5236
5302
|
// src/api/dto/design-systems/members.ts
|
|
5237
|
-
import { z as
|
|
5303
|
+
import { z as z185 } from "zod";
|
|
5238
5304
|
|
|
5239
5305
|
// src/api/dto/design-systems/role.ts
|
|
5240
|
-
import { z as
|
|
5241
|
-
var DTODesignSystemRole =
|
|
5306
|
+
import { z as z184 } from "zod";
|
|
5307
|
+
var DTODesignSystemRole = z184.enum([
|
|
5242
5308
|
WorkspaceRole.Admin,
|
|
5243
5309
|
WorkspaceRole.Contributor,
|
|
5244
5310
|
WorkspaceRole.Creator,
|
|
@@ -5246,29 +5312,29 @@ var DTODesignSystemRole = z180.enum([
|
|
|
5246
5312
|
]);
|
|
5247
5313
|
|
|
5248
5314
|
// src/api/dto/design-systems/members.ts
|
|
5249
|
-
var DTODesignSystemMember =
|
|
5250
|
-
userId:
|
|
5315
|
+
var DTODesignSystemMember = z185.object({
|
|
5316
|
+
userId: z185.string(),
|
|
5251
5317
|
/**
|
|
5252
5318
|
* Role that the member has in the design system,
|
|
5253
5319
|
* undefined if set to inherit from workspace
|
|
5254
5320
|
*/
|
|
5255
5321
|
designSystemRole: DTODesignSystemRole.optional()
|
|
5256
5322
|
});
|
|
5257
|
-
var DTODesignSystemInvitation =
|
|
5258
|
-
id:
|
|
5259
|
-
workspaceInvitationId:
|
|
5323
|
+
var DTODesignSystemInvitation = z185.object({
|
|
5324
|
+
id: z185.string(),
|
|
5325
|
+
workspaceInvitationId: z185.string(),
|
|
5260
5326
|
/**
|
|
5261
5327
|
* Role that the invitation has in the design system,
|
|
5262
5328
|
* undefined if set to inherit from workspace
|
|
5263
5329
|
*/
|
|
5264
5330
|
designSystemRole: DTODesignSystemRole.optional()
|
|
5265
5331
|
});
|
|
5266
|
-
var DTODesignSystemMemberListResponse =
|
|
5332
|
+
var DTODesignSystemMemberListResponse = z185.object({
|
|
5267
5333
|
members: DTODesignSystemMember.array(),
|
|
5268
5334
|
invitations: DTODesignSystemInvitation.array()
|
|
5269
5335
|
});
|
|
5270
|
-
var DTODesignSystemMembersUpdateResponse =
|
|
5271
|
-
ok:
|
|
5336
|
+
var DTODesignSystemMembersUpdateResponse = z185.object({
|
|
5337
|
+
ok: z185.literal(true)
|
|
5272
5338
|
});
|
|
5273
5339
|
var DTODesignSystemMembersUpdatePayload = DesignSystemMembershipUpdates;
|
|
5274
5340
|
|
|
@@ -5279,14 +5345,14 @@ var DTODesignSystem = DesignSystem.omit({
|
|
|
5279
5345
|
docExporterId: true
|
|
5280
5346
|
}).extend({
|
|
5281
5347
|
meta: ObjectMeta,
|
|
5282
|
-
docExporterId:
|
|
5283
|
-
sources:
|
|
5284
|
-
isPublic:
|
|
5348
|
+
docExporterId: z186.string(),
|
|
5349
|
+
sources: z186.array(z186.any()),
|
|
5350
|
+
isPublic: z186.literal(true),
|
|
5285
5351
|
/**
|
|
5286
5352
|
* Whether or not user who is requesting the design system
|
|
5287
5353
|
* has access to the design system's contents.
|
|
5288
5354
|
*/
|
|
5289
|
-
isAvailableToUser:
|
|
5355
|
+
isAvailableToUser: z186.boolean(),
|
|
5290
5356
|
/**
|
|
5291
5357
|
* @deprecated
|
|
5292
5358
|
*/
|
|
@@ -5297,17 +5363,17 @@ var DTODesignSystem = DesignSystem.omit({
|
|
|
5297
5363
|
*/
|
|
5298
5364
|
effectiveRole: DTODesignSystemRole.optional()
|
|
5299
5365
|
});
|
|
5300
|
-
var DTODesignSystemResponse =
|
|
5366
|
+
var DTODesignSystemResponse = z186.object({
|
|
5301
5367
|
designSystem: DTODesignSystem
|
|
5302
5368
|
});
|
|
5303
|
-
var DTODesignSystemsListResponse =
|
|
5369
|
+
var DTODesignSystemsListResponse = z186.object({
|
|
5304
5370
|
designSystems: DTODesignSystem.array()
|
|
5305
5371
|
});
|
|
5306
|
-
var DTODesignSystemCreateInput =
|
|
5307
|
-
workspaceId:
|
|
5372
|
+
var DTODesignSystemCreateInput = z186.object({
|
|
5373
|
+
workspaceId: z186.string(),
|
|
5308
5374
|
meta: ObjectMeta.optional(),
|
|
5309
|
-
name:
|
|
5310
|
-
description:
|
|
5375
|
+
name: z186.string().min(2).max(64).optional(),
|
|
5376
|
+
description: z186.string().max(1024).optional(),
|
|
5311
5377
|
accessMode: DesignSystemAccessMode.optional(),
|
|
5312
5378
|
invites: DTODesignSystemMembersUpdatePayload.pick({
|
|
5313
5379
|
usersToInvite: true,
|
|
@@ -5317,25 +5383,25 @@ var DTODesignSystemCreateInput = z182.object({
|
|
|
5317
5383
|
});
|
|
5318
5384
|
|
|
5319
5385
|
// src/api/dto/design-systems/elements-diff.ts
|
|
5320
|
-
import { z as
|
|
5321
|
-
var DTODiffCountBase =
|
|
5322
|
-
created:
|
|
5323
|
-
updated:
|
|
5324
|
-
deleted:
|
|
5386
|
+
import { z as z187 } from "zod";
|
|
5387
|
+
var DTODiffCountBase = z187.object({
|
|
5388
|
+
created: z187.number(),
|
|
5389
|
+
updated: z187.number(),
|
|
5390
|
+
deleted: z187.number()
|
|
5325
5391
|
});
|
|
5326
|
-
var DTODesignElementsDataDiffResponse =
|
|
5392
|
+
var DTODesignElementsDataDiffResponse = z187.object({
|
|
5327
5393
|
tokens: DTODiffCountBase,
|
|
5328
5394
|
assets: DTODiffCountBase
|
|
5329
5395
|
});
|
|
5330
5396
|
|
|
5331
5397
|
// src/api/dto/design-systems/exporter-property.ts
|
|
5332
|
-
import { z as
|
|
5333
|
-
var DTOExporterProperty =
|
|
5334
|
-
var DTOExporterPropertyListResponse =
|
|
5398
|
+
import { z as z188 } from "zod";
|
|
5399
|
+
var DTOExporterProperty = z188.any({});
|
|
5400
|
+
var DTOExporterPropertyListResponse = z188.object({ items: z188.array(DTOExporterProperty) });
|
|
5335
5401
|
|
|
5336
5402
|
// src/api/dto/design-systems/figma-variables.ts
|
|
5337
|
-
import { z as
|
|
5338
|
-
var DimensionsVariableScopeSchema =
|
|
5403
|
+
import { z as z189 } from "zod";
|
|
5404
|
+
var DimensionsVariableScopeSchema = z189.enum([
|
|
5339
5405
|
"CORNER_RADIUS",
|
|
5340
5406
|
"WIDTH_HEIGHT",
|
|
5341
5407
|
"GAP",
|
|
@@ -5349,130 +5415,130 @@ var DimensionsVariableScopeSchema = z185.enum([
|
|
|
5349
5415
|
"PARAGRAPH_INDENT",
|
|
5350
5416
|
"FONT_WEIGHT"
|
|
5351
5417
|
]);
|
|
5352
|
-
var StringVariableScopeSchema =
|
|
5418
|
+
var StringVariableScopeSchema = z189.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
|
|
5353
5419
|
var DimensionsVariableScopeType = DimensionsVariableScopeSchema.enum;
|
|
5354
5420
|
var StringVariableScopeType = StringVariableScopeSchema.enum;
|
|
5355
|
-
var VariableScope =
|
|
5356
|
-
var ReferencedVariableOrigin =
|
|
5357
|
-
name:
|
|
5358
|
-
remote:
|
|
5421
|
+
var VariableScope = z189.string();
|
|
5422
|
+
var ReferencedVariableOrigin = z189.object({
|
|
5423
|
+
name: z189.string(),
|
|
5424
|
+
remote: z189.boolean()
|
|
5359
5425
|
});
|
|
5360
|
-
var RGB =
|
|
5361
|
-
r:
|
|
5362
|
-
g:
|
|
5363
|
-
b:
|
|
5426
|
+
var RGB = z189.object({
|
|
5427
|
+
r: z189.number(),
|
|
5428
|
+
g: z189.number(),
|
|
5429
|
+
b: z189.number()
|
|
5364
5430
|
});
|
|
5365
5431
|
var RGBA = RGB.extend({
|
|
5366
|
-
a:
|
|
5367
|
-
});
|
|
5368
|
-
var VariableAlias =
|
|
5369
|
-
type:
|
|
5370
|
-
id:
|
|
5371
|
-
resolvedValue:
|
|
5372
|
-
referenceOrigin: ReferencedVariableOrigin.optional().or(
|
|
5373
|
-
});
|
|
5374
|
-
var VariableValue =
|
|
5375
|
-
var ResolvedVariableType =
|
|
5376
|
-
var Variable =
|
|
5377
|
-
id:
|
|
5378
|
-
name:
|
|
5379
|
-
key:
|
|
5380
|
-
variableCollectionId:
|
|
5432
|
+
a: z189.number()
|
|
5433
|
+
});
|
|
5434
|
+
var VariableAlias = z189.object({
|
|
5435
|
+
type: z189.literal("VARIABLE_ALIAS"),
|
|
5436
|
+
id: z189.string(),
|
|
5437
|
+
resolvedValue: z189.boolean().or(z189.number()).or(z189.string()).or(RGBA).or(RGB).optional(),
|
|
5438
|
+
referenceOrigin: ReferencedVariableOrigin.optional().or(z189.null())
|
|
5439
|
+
});
|
|
5440
|
+
var VariableValue = z189.boolean().or(z189.number()).or(z189.string()).or(RGBA).or(RGB).or(VariableAlias);
|
|
5441
|
+
var ResolvedVariableType = z189.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
|
|
5442
|
+
var Variable = z189.object({
|
|
5443
|
+
id: z189.string(),
|
|
5444
|
+
name: z189.string(),
|
|
5445
|
+
key: z189.string(),
|
|
5446
|
+
variableCollectionId: z189.string(),
|
|
5381
5447
|
resolvedType: ResolvedVariableType,
|
|
5382
|
-
valuesByMode:
|
|
5383
|
-
remote:
|
|
5384
|
-
description:
|
|
5385
|
-
hiddenFromPublishing:
|
|
5386
|
-
scopes:
|
|
5387
|
-
codeSyntax:
|
|
5388
|
-
});
|
|
5389
|
-
var VariableMode =
|
|
5390
|
-
modeId:
|
|
5391
|
-
name:
|
|
5392
|
-
});
|
|
5393
|
-
var Collection2 =
|
|
5394
|
-
id:
|
|
5395
|
-
name:
|
|
5396
|
-
modes:
|
|
5397
|
-
defaultModeId:
|
|
5398
|
-
remote:
|
|
5399
|
-
hiddenFromPublishing:
|
|
5400
|
-
});
|
|
5401
|
-
var VariablesMapping =
|
|
5402
|
-
variableCollections:
|
|
5403
|
-
variableMode:
|
|
5404
|
-
supernovaBrand:
|
|
5405
|
-
supernovaTheme:
|
|
5406
|
-
});
|
|
5407
|
-
var FormattedCollections =
|
|
5408
|
-
variables:
|
|
5409
|
-
variableCollections:
|
|
5410
|
-
mappings:
|
|
5411
|
-
variablesOrder:
|
|
5448
|
+
valuesByMode: z189.record(VariableValue),
|
|
5449
|
+
remote: z189.boolean(),
|
|
5450
|
+
description: z189.string(),
|
|
5451
|
+
hiddenFromPublishing: z189.boolean(),
|
|
5452
|
+
scopes: z189.array(VariableScope),
|
|
5453
|
+
codeSyntax: z189.record(z189.any()).optional()
|
|
5454
|
+
});
|
|
5455
|
+
var VariableMode = z189.object({
|
|
5456
|
+
modeId: z189.string(),
|
|
5457
|
+
name: z189.string()
|
|
5458
|
+
});
|
|
5459
|
+
var Collection2 = z189.object({
|
|
5460
|
+
id: z189.string(),
|
|
5461
|
+
name: z189.string(),
|
|
5462
|
+
modes: z189.array(VariableMode),
|
|
5463
|
+
defaultModeId: z189.string(),
|
|
5464
|
+
remote: z189.boolean(),
|
|
5465
|
+
hiddenFromPublishing: z189.boolean()
|
|
5466
|
+
});
|
|
5467
|
+
var VariablesMapping = z189.object({
|
|
5468
|
+
variableCollections: z189.array(z189.string()).min(1),
|
|
5469
|
+
variableMode: z189.string().min(1),
|
|
5470
|
+
supernovaBrand: z189.string().min(1),
|
|
5471
|
+
supernovaTheme: z189.string().min(1).optional().or(z189.null())
|
|
5472
|
+
});
|
|
5473
|
+
var FormattedCollections = z189.object({
|
|
5474
|
+
variables: z189.record(z189.string(), Variable),
|
|
5475
|
+
variableCollections: z189.record(z189.string(), Collection2),
|
|
5476
|
+
mappings: z189.array(VariablesMapping).optional(),
|
|
5477
|
+
variablesOrder: z189.string().array().optional()
|
|
5412
5478
|
});
|
|
5413
5479
|
|
|
5414
5480
|
// src/api/dto/design-systems/import-job.ts
|
|
5415
|
-
import { z as
|
|
5416
|
-
var DTOImportJob =
|
|
5417
|
-
id:
|
|
5418
|
-
designSystemId:
|
|
5419
|
-
designSystemVersionId:
|
|
5420
|
-
operation:
|
|
5421
|
-
createdAt:
|
|
5422
|
-
stateChangedAt:
|
|
5481
|
+
import { z as z190 } from "zod";
|
|
5482
|
+
var DTOImportJob = z190.object({
|
|
5483
|
+
id: z190.string(),
|
|
5484
|
+
designSystemId: z190.string(),
|
|
5485
|
+
designSystemVersionId: z190.string(),
|
|
5486
|
+
operation: z190.literal("Import"),
|
|
5487
|
+
createdAt: z190.coerce.date(),
|
|
5488
|
+
stateChangedAt: z190.coerce.date(),
|
|
5423
5489
|
state: ImportJobState,
|
|
5424
|
-
sourceIds:
|
|
5490
|
+
sourceIds: z190.string().array()
|
|
5425
5491
|
});
|
|
5426
|
-
var DTOImportJobResponse =
|
|
5492
|
+
var DTOImportJobResponse = z190.object({
|
|
5427
5493
|
job: DTOImportJob
|
|
5428
5494
|
});
|
|
5429
|
-
var DTOBffFigmaImportRequestBody =
|
|
5430
|
-
type:
|
|
5431
|
-
brandPersistentId:
|
|
5432
|
-
fileId:
|
|
5495
|
+
var DTOBffFigmaImportRequestBody = z190.object({
|
|
5496
|
+
type: z190.literal(DataSourceRemoteType.Enum.Figma),
|
|
5497
|
+
brandPersistentId: z190.string().optional(),
|
|
5498
|
+
fileId: z190.string(),
|
|
5433
5499
|
scope: DataSourceFigmaScope,
|
|
5434
5500
|
autoImportMode: DataSourceAutoImportMode
|
|
5435
5501
|
});
|
|
5436
|
-
var DTOBffUploadImportRequestBody =
|
|
5437
|
-
type:
|
|
5438
|
-
brandPersistentId:
|
|
5439
|
-
sourceName:
|
|
5440
|
-
remoteId:
|
|
5441
|
-
isTokenTypeSplitEnabled:
|
|
5442
|
-
payload:
|
|
5502
|
+
var DTOBffUploadImportRequestBody = z190.object({
|
|
5503
|
+
type: z190.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
|
|
5504
|
+
brandPersistentId: z190.string().optional(),
|
|
5505
|
+
sourceName: z190.string().optional(),
|
|
5506
|
+
remoteId: z190.string(),
|
|
5507
|
+
isTokenTypeSplitEnabled: z190.boolean().optional(),
|
|
5508
|
+
payload: z190.any()
|
|
5443
5509
|
});
|
|
5444
|
-
var DTOBffImportRequestBody =
|
|
5510
|
+
var DTOBffImportRequestBody = z190.discriminatedUnion("type", [
|
|
5445
5511
|
DTOBffFigmaImportRequestBody,
|
|
5446
5512
|
DTOBffUploadImportRequestBody
|
|
5447
5513
|
]);
|
|
5448
5514
|
|
|
5449
5515
|
// src/api/dto/design-systems/stats.ts
|
|
5450
|
-
import { z as
|
|
5451
|
-
var DTODesignSystemVersionStats =
|
|
5452
|
-
tokens:
|
|
5453
|
-
designSystemComponents:
|
|
5454
|
-
assets:
|
|
5455
|
-
documentationPages:
|
|
5516
|
+
import { z as z191 } from "zod";
|
|
5517
|
+
var DTODesignSystemVersionStats = z191.object({
|
|
5518
|
+
tokens: z191.number(),
|
|
5519
|
+
designSystemComponents: z191.number(),
|
|
5520
|
+
assets: z191.number(),
|
|
5521
|
+
documentationPages: z191.number()
|
|
5456
5522
|
});
|
|
5457
|
-
var DTODesignSystemVersionStatsQuery =
|
|
5458
|
-
brandId:
|
|
5523
|
+
var DTODesignSystemVersionStatsQuery = z191.object({
|
|
5524
|
+
brandId: z191.string().optional()
|
|
5459
5525
|
});
|
|
5460
5526
|
|
|
5461
5527
|
// src/api/dto/design-systems/version.ts
|
|
5462
|
-
import { z as
|
|
5528
|
+
import { z as z202 } from "zod";
|
|
5463
5529
|
|
|
5464
5530
|
// src/api/payloads/design-systems/brand.ts
|
|
5465
|
-
import { z as
|
|
5466
|
-
var DTOCreateBrandInput =
|
|
5467
|
-
persistentId:
|
|
5468
|
-
meta:
|
|
5469
|
-
name:
|
|
5470
|
-
description:
|
|
5531
|
+
import { z as z192 } from "zod";
|
|
5532
|
+
var DTOCreateBrandInput = z192.object({
|
|
5533
|
+
persistentId: z192.string().uuid(),
|
|
5534
|
+
meta: z192.object({
|
|
5535
|
+
name: z192.string(),
|
|
5536
|
+
description: z192.string()
|
|
5471
5537
|
})
|
|
5472
5538
|
});
|
|
5473
5539
|
|
|
5474
5540
|
// src/api/payloads/design-systems/update-design-system.ts
|
|
5475
|
-
import { z as
|
|
5541
|
+
import { z as z193 } from "zod";
|
|
5476
5542
|
var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
5477
5543
|
id: true,
|
|
5478
5544
|
workspaceId: true,
|
|
@@ -5484,40 +5550,40 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
|
5484
5550
|
}).extend({
|
|
5485
5551
|
meta: ObjectMeta.partial().optional()
|
|
5486
5552
|
});
|
|
5487
|
-
var DTODesignSystemUpdateAccessModeInput =
|
|
5553
|
+
var DTODesignSystemUpdateAccessModeInput = z193.object({
|
|
5488
5554
|
accessMode: DesignSystemAccessMode,
|
|
5489
|
-
retain:
|
|
5490
|
-
userIds:
|
|
5491
|
-
inviteIds:
|
|
5555
|
+
retain: z193.object({
|
|
5556
|
+
userIds: z193.string().array(),
|
|
5557
|
+
inviteIds: z193.string().array()
|
|
5492
5558
|
}).optional()
|
|
5493
5559
|
});
|
|
5494
5560
|
|
|
5495
5561
|
// src/api/payloads/design-systems/version.ts
|
|
5496
|
-
import { z as
|
|
5497
|
-
var ObjectMeta2 =
|
|
5498
|
-
name:
|
|
5499
|
-
description:
|
|
5562
|
+
import { z as z194 } from "zod";
|
|
5563
|
+
var ObjectMeta2 = z194.object({
|
|
5564
|
+
name: z194.string().max(150).optional(),
|
|
5565
|
+
description: z194.string().max(2e3).optional()
|
|
5500
5566
|
});
|
|
5501
5567
|
function validateDesignSystemVersion(version) {
|
|
5502
5568
|
const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
|
|
5503
5569
|
return urlCompliantRegex.test(version);
|
|
5504
5570
|
}
|
|
5505
|
-
var DTOCreateVersionInput =
|
|
5571
|
+
var DTOCreateVersionInput = z194.object({
|
|
5506
5572
|
meta: ObjectMeta2,
|
|
5507
|
-
version:
|
|
5573
|
+
version: z194.string().refine(validateDesignSystemVersion, {
|
|
5508
5574
|
message: "Invalid semantic versioning format"
|
|
5509
5575
|
}),
|
|
5510
|
-
changeLog:
|
|
5576
|
+
changeLog: z194.string().optional()
|
|
5511
5577
|
});
|
|
5512
|
-
var DTOUpdateVersionInput =
|
|
5578
|
+
var DTOUpdateVersionInput = z194.object({
|
|
5513
5579
|
meta: ObjectMeta2,
|
|
5514
|
-
version:
|
|
5580
|
+
version: z194.string(),
|
|
5515
5581
|
// required for PUT, but not editable
|
|
5516
|
-
changeLog:
|
|
5582
|
+
changeLog: z194.string()
|
|
5517
5583
|
});
|
|
5518
5584
|
|
|
5519
5585
|
// src/api/payloads/documentation/block-definitions.ts
|
|
5520
|
-
import { z as
|
|
5586
|
+
import { z as z195 } from "zod";
|
|
5521
5587
|
|
|
5522
5588
|
// src/api/dto/documentation/block-definition.ts
|
|
5523
5589
|
var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
|
|
@@ -5529,60 +5595,60 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
|
|
|
5529
5595
|
var DTOPageBlockDefinition = PageBlockDefinition;
|
|
5530
5596
|
|
|
5531
5597
|
// src/api/payloads/documentation/block-definitions.ts
|
|
5532
|
-
var DTOGetBlockDefinitionsOutput =
|
|
5533
|
-
definitions:
|
|
5598
|
+
var DTOGetBlockDefinitionsOutput = z195.object({
|
|
5599
|
+
definitions: z195.array(DTOPageBlockDefinition)
|
|
5534
5600
|
});
|
|
5535
5601
|
|
|
5536
5602
|
// src/api/payloads/documentation/design-data-doc-diff.ts
|
|
5537
|
-
import { z as
|
|
5538
|
-
var DTODocumentationPublishTypeQueryParams =
|
|
5539
|
-
environment:
|
|
5603
|
+
import { z as z196 } from "zod";
|
|
5604
|
+
var DTODocumentationPublishTypeQueryParams = z196.object({
|
|
5605
|
+
environment: z196.enum(["Live", "Preview"])
|
|
5540
5606
|
});
|
|
5541
5607
|
|
|
5542
5608
|
// src/api/payloads/export/pipeline.ts
|
|
5543
|
-
import { z as
|
|
5544
|
-
var DTOPipelineCreateBody =
|
|
5545
|
-
name:
|
|
5546
|
-
exporterId:
|
|
5547
|
-
designSystemId:
|
|
5548
|
-
isEnabled:
|
|
5609
|
+
import { z as z197 } from "zod";
|
|
5610
|
+
var DTOPipelineCreateBody = z197.object({
|
|
5611
|
+
name: z197.string(),
|
|
5612
|
+
exporterId: z197.string(),
|
|
5613
|
+
designSystemId: z197.string(),
|
|
5614
|
+
isEnabled: z197.boolean(),
|
|
5549
5615
|
eventType: PipelineEventType,
|
|
5550
|
-
brandPersistentId:
|
|
5551
|
-
themePersistentId:
|
|
5552
|
-
themePersistentIds:
|
|
5616
|
+
brandPersistentId: z197.string().optional(),
|
|
5617
|
+
themePersistentId: z197.string().optional(),
|
|
5618
|
+
themePersistentIds: z197.string().array().optional(),
|
|
5553
5619
|
destination: PipelineDestinationType.optional(),
|
|
5554
5620
|
gitQuery: GitObjectsQuery,
|
|
5555
|
-
destinations:
|
|
5621
|
+
destinations: z197.object({
|
|
5556
5622
|
s3: ExporterDestinationS3.nullish(),
|
|
5557
5623
|
azure: ExporterDestinationAzure.nullish(),
|
|
5558
5624
|
bitbucket: ExporterDestinationBitbucket.nullish(),
|
|
5559
5625
|
github: ExporterDestinationGithub.nullish(),
|
|
5560
5626
|
gitlab: ExporterDestinationGitlab.nullish(),
|
|
5561
5627
|
documentation: ExporterDestinationDocs.nullish(),
|
|
5562
|
-
webhookUrl:
|
|
5628
|
+
webhookUrl: z197.string().nullish()
|
|
5563
5629
|
})
|
|
5564
5630
|
});
|
|
5565
5631
|
var DTOPipelineUpdateBody = DTOPipelineCreateBody.extend({
|
|
5566
|
-
id:
|
|
5632
|
+
id: z197.string()
|
|
5567
5633
|
});
|
|
5568
|
-
var DTOPipelineTriggerBody =
|
|
5569
|
-
designSystemVersionId:
|
|
5634
|
+
var DTOPipelineTriggerBody = z197.object({
|
|
5635
|
+
designSystemVersionId: z197.string()
|
|
5570
5636
|
});
|
|
5571
5637
|
|
|
5572
5638
|
// src/api/payloads/liveblocks/auth.ts
|
|
5573
|
-
import { z as
|
|
5574
|
-
var DTOLiveblocksAuthRequest =
|
|
5575
|
-
room:
|
|
5639
|
+
import { z as z198 } from "zod";
|
|
5640
|
+
var DTOLiveblocksAuthRequest = z198.object({
|
|
5641
|
+
room: z198.string().optional()
|
|
5576
5642
|
});
|
|
5577
5643
|
|
|
5578
5644
|
// src/api/payloads/users/notifications/notification-settings.ts
|
|
5579
|
-
import { z as
|
|
5580
|
-
var DTOUpdateUserNotificationSettingsPayload =
|
|
5645
|
+
import { z as z199 } from "zod";
|
|
5646
|
+
var DTOUpdateUserNotificationSettingsPayload = z199.object({
|
|
5581
5647
|
notificationSettings: UserNotificationSettings
|
|
5582
5648
|
});
|
|
5583
|
-
var DTOUserNotificationSettingsResponse =
|
|
5584
|
-
userId:
|
|
5585
|
-
workspaceId:
|
|
5649
|
+
var DTOUserNotificationSettingsResponse = z199.object({
|
|
5650
|
+
userId: z199.string(),
|
|
5651
|
+
workspaceId: z199.string(),
|
|
5586
5652
|
notificationSettings: UserNotificationSettings
|
|
5587
5653
|
});
|
|
5588
5654
|
|
|
@@ -5590,7 +5656,7 @@ var DTOUserNotificationSettingsResponse = z195.object({
|
|
|
5590
5656
|
var DTOUserProfileUpdatePayload = UserProfileUpdate;
|
|
5591
5657
|
|
|
5592
5658
|
// src/api/payloads/workspaces/workspace-configuration.ts
|
|
5593
|
-
import { z as
|
|
5659
|
+
import { z as z200 } from "zod";
|
|
5594
5660
|
var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
|
|
5595
5661
|
function validateSsoPayload(ssoPayload) {
|
|
5596
5662
|
const keys = [];
|
|
@@ -5613,21 +5679,21 @@ function validateSsoPayload(ssoPayload) {
|
|
|
5613
5679
|
keys
|
|
5614
5680
|
};
|
|
5615
5681
|
}
|
|
5616
|
-
var NpmRegistryInput =
|
|
5617
|
-
enabledScopes:
|
|
5618
|
-
customRegistryUrl:
|
|
5619
|
-
bypassProxy:
|
|
5620
|
-
npmProxyRegistryConfigId:
|
|
5621
|
-
npmProxyVersion:
|
|
5622
|
-
registryType:
|
|
5623
|
-
authType:
|
|
5624
|
-
authHeaderName:
|
|
5625
|
-
authHeaderValue:
|
|
5626
|
-
accessToken:
|
|
5627
|
-
username:
|
|
5628
|
-
password:
|
|
5629
|
-
});
|
|
5630
|
-
var WorkspaceConfigurationPayload =
|
|
5682
|
+
var NpmRegistryInput = z200.object({
|
|
5683
|
+
enabledScopes: z200.array(z200.string()),
|
|
5684
|
+
customRegistryUrl: z200.string().optional(),
|
|
5685
|
+
bypassProxy: z200.boolean().optional(),
|
|
5686
|
+
npmProxyRegistryConfigId: z200.string().optional(),
|
|
5687
|
+
npmProxyVersion: z200.number().optional(),
|
|
5688
|
+
registryType: z200.string(),
|
|
5689
|
+
authType: z200.string(),
|
|
5690
|
+
authHeaderName: z200.string(),
|
|
5691
|
+
authHeaderValue: z200.string(),
|
|
5692
|
+
accessToken: z200.string(),
|
|
5693
|
+
username: z200.string(),
|
|
5694
|
+
password: z200.string()
|
|
5695
|
+
});
|
|
5696
|
+
var WorkspaceConfigurationPayload = z200.object({
|
|
5631
5697
|
ipWhitelist: WorkspaceIpSettings.partial().optional(),
|
|
5632
5698
|
sso: SsoProvider.partial().optional(),
|
|
5633
5699
|
npmRegistrySettings: NpmRegistryInput.partial().optional(),
|
|
@@ -5635,218 +5701,218 @@ var WorkspaceConfigurationPayload = z196.object({
|
|
|
5635
5701
|
});
|
|
5636
5702
|
|
|
5637
5703
|
// src/api/payloads/workspaces/workspace-integrations.ts
|
|
5638
|
-
import { z as
|
|
5639
|
-
var DTOWorkspaceIntegrationOauthInput =
|
|
5704
|
+
import { z as z201 } from "zod";
|
|
5705
|
+
var DTOWorkspaceIntegrationOauthInput = z201.object({
|
|
5640
5706
|
type: IntegrationType
|
|
5641
5707
|
});
|
|
5642
|
-
var DTOWorkspaceIntegrationPATInput =
|
|
5643
|
-
userId:
|
|
5708
|
+
var DTOWorkspaceIntegrationPATInput = z201.object({
|
|
5709
|
+
userId: z201.string(),
|
|
5644
5710
|
type: IntegrationType,
|
|
5645
5711
|
token: IntegrationToken
|
|
5646
5712
|
});
|
|
5647
|
-
var DTOWorkspaceIntegrationGetGitObjectsInput =
|
|
5648
|
-
organization:
|
|
5713
|
+
var DTOWorkspaceIntegrationGetGitObjectsInput = z201.object({
|
|
5714
|
+
organization: z201.string().optional(),
|
|
5649
5715
|
// Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
|
|
5650
|
-
project:
|
|
5716
|
+
project: z201.string().optional(),
|
|
5651
5717
|
// Only for Bitbucket and Azure
|
|
5652
|
-
repository:
|
|
5718
|
+
repository: z201.string().optional(),
|
|
5653
5719
|
// For all providers. Pay attention for Gitlab, they call repositories "projects".
|
|
5654
|
-
branch:
|
|
5720
|
+
branch: z201.string().optional(),
|
|
5655
5721
|
// For all providers, useful for PR creations.
|
|
5656
|
-
user:
|
|
5722
|
+
user: z201.string().optional()
|
|
5657
5723
|
// Only for Gitlab User Repositories
|
|
5658
5724
|
});
|
|
5659
5725
|
|
|
5660
5726
|
// src/api/dto/design-systems/version.ts
|
|
5661
|
-
var DTODesignSystemVersion =
|
|
5662
|
-
id:
|
|
5663
|
-
createdAt:
|
|
5727
|
+
var DTODesignSystemVersion = z202.object({
|
|
5728
|
+
id: z202.string(),
|
|
5729
|
+
createdAt: z202.coerce.date(),
|
|
5664
5730
|
meta: ObjectMeta,
|
|
5665
|
-
version:
|
|
5666
|
-
isReadonly:
|
|
5667
|
-
changeLog:
|
|
5668
|
-
designSystemId:
|
|
5731
|
+
version: z202.string(),
|
|
5732
|
+
isReadonly: z202.boolean(),
|
|
5733
|
+
changeLog: z202.string(),
|
|
5734
|
+
designSystemId: z202.string()
|
|
5669
5735
|
});
|
|
5670
|
-
var DTODesignSystemVersionsListResponse =
|
|
5671
|
-
designSystemVersions:
|
|
5736
|
+
var DTODesignSystemVersionsListResponse = z202.object({
|
|
5737
|
+
designSystemVersions: z202.array(DTODesignSystemVersion)
|
|
5672
5738
|
});
|
|
5673
|
-
var DTODesignSystemVersionGetResponse =
|
|
5739
|
+
var DTODesignSystemVersionGetResponse = z202.object({
|
|
5674
5740
|
designSystemVersion: DTODesignSystemVersion
|
|
5675
5741
|
});
|
|
5676
|
-
var DTODesignSystemVersionCreationResponse =
|
|
5742
|
+
var DTODesignSystemVersionCreationResponse = z202.object({
|
|
5677
5743
|
meta: ObjectMeta,
|
|
5678
|
-
version:
|
|
5679
|
-
changeLog:
|
|
5680
|
-
isReadOnly:
|
|
5681
|
-
designSystemId:
|
|
5682
|
-
jobId:
|
|
5683
|
-
});
|
|
5684
|
-
var VersionSQSPayload =
|
|
5685
|
-
jobId:
|
|
5686
|
-
designSystemId:
|
|
5744
|
+
version: z202.string(),
|
|
5745
|
+
changeLog: z202.string(),
|
|
5746
|
+
isReadOnly: z202.boolean(),
|
|
5747
|
+
designSystemId: z202.string(),
|
|
5748
|
+
jobId: z202.string()
|
|
5749
|
+
});
|
|
5750
|
+
var VersionSQSPayload = z202.object({
|
|
5751
|
+
jobId: z202.string(),
|
|
5752
|
+
designSystemId: z202.string(),
|
|
5687
5753
|
input: DTOCreateVersionInput
|
|
5688
5754
|
});
|
|
5689
|
-
var DTODesignSystemVersionJobsResponse =
|
|
5690
|
-
jobs:
|
|
5755
|
+
var DTODesignSystemVersionJobsResponse = z202.object({
|
|
5756
|
+
jobs: z202.array(VersionCreationJob)
|
|
5691
5757
|
});
|
|
5692
|
-
var DTODesignSystemVersionJobStatusResponse =
|
|
5758
|
+
var DTODesignSystemVersionJobStatusResponse = z202.object({
|
|
5693
5759
|
job: VersionCreationJob
|
|
5694
5760
|
});
|
|
5695
5761
|
|
|
5696
5762
|
// src/api/dto/design-systems/view.ts
|
|
5697
|
-
import { z as
|
|
5698
|
-
var DTOElementViewColumnSharedAttributes =
|
|
5699
|
-
id:
|
|
5700
|
-
persistentId:
|
|
5701
|
-
width:
|
|
5763
|
+
import { z as z203 } from "zod";
|
|
5764
|
+
var DTOElementViewColumnSharedAttributes = z203.object({
|
|
5765
|
+
id: z203.string(),
|
|
5766
|
+
persistentId: z203.string(),
|
|
5767
|
+
width: z203.number()
|
|
5702
5768
|
});
|
|
5703
5769
|
var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
5704
|
-
type:
|
|
5770
|
+
type: z203.literal("BaseProperty"),
|
|
5705
5771
|
basePropertyType: ElementViewBaseColumnType
|
|
5706
5772
|
});
|
|
5707
5773
|
var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
5708
|
-
type:
|
|
5709
|
-
propertyDefinitionId:
|
|
5774
|
+
type: z203.literal("PropertyDefinition"),
|
|
5775
|
+
propertyDefinitionId: z203.string()
|
|
5710
5776
|
});
|
|
5711
5777
|
var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
5712
|
-
type:
|
|
5713
|
-
themeId:
|
|
5778
|
+
type: z203.literal("Theme"),
|
|
5779
|
+
themeId: z203.string()
|
|
5714
5780
|
});
|
|
5715
|
-
var DTOElementViewColumn =
|
|
5781
|
+
var DTOElementViewColumn = z203.discriminatedUnion("type", [
|
|
5716
5782
|
DTOElementViewBasePropertyColumn,
|
|
5717
5783
|
DTOElementViewPropertyDefinitionColumn,
|
|
5718
5784
|
DTOElementViewThemeColumn
|
|
5719
5785
|
]);
|
|
5720
|
-
var DTOElementView =
|
|
5786
|
+
var DTOElementView = z203.object({
|
|
5721
5787
|
meta: ObjectMeta,
|
|
5722
|
-
persistentId:
|
|
5788
|
+
persistentId: z203.string(),
|
|
5723
5789
|
targetElementType: ElementPropertyTargetType,
|
|
5724
|
-
id:
|
|
5725
|
-
isDefault:
|
|
5726
|
-
columns:
|
|
5790
|
+
id: z203.string(),
|
|
5791
|
+
isDefault: z203.boolean(),
|
|
5792
|
+
columns: z203.array(DTOElementViewColumn)
|
|
5727
5793
|
});
|
|
5728
|
-
var DTOElementViewsListResponse =
|
|
5729
|
-
elementDataViews:
|
|
5794
|
+
var DTOElementViewsListResponse = z203.object({
|
|
5795
|
+
elementDataViews: z203.array(DTOElementView)
|
|
5730
5796
|
});
|
|
5731
5797
|
|
|
5732
5798
|
// src/api/dto/workspaces/git.ts
|
|
5733
|
-
import { z as
|
|
5734
|
-
var DTOGitOrganization =
|
|
5735
|
-
id:
|
|
5736
|
-
name:
|
|
5737
|
-
url:
|
|
5738
|
-
slug:
|
|
5739
|
-
});
|
|
5740
|
-
var DTOGitProject =
|
|
5741
|
-
id:
|
|
5742
|
-
name:
|
|
5743
|
-
url:
|
|
5744
|
-
slug:
|
|
5745
|
-
});
|
|
5746
|
-
var DTOGitRepository =
|
|
5747
|
-
id:
|
|
5748
|
-
name:
|
|
5749
|
-
url:
|
|
5750
|
-
slug:
|
|
5751
|
-
defaultBranch:
|
|
5752
|
-
});
|
|
5753
|
-
var DTOGitBranch =
|
|
5754
|
-
name:
|
|
5755
|
-
lastCommitId:
|
|
5799
|
+
import { z as z204 } from "zod";
|
|
5800
|
+
var DTOGitOrganization = z204.object({
|
|
5801
|
+
id: z204.string(),
|
|
5802
|
+
name: z204.string(),
|
|
5803
|
+
url: z204.string(),
|
|
5804
|
+
slug: z204.string()
|
|
5805
|
+
});
|
|
5806
|
+
var DTOGitProject = z204.object({
|
|
5807
|
+
id: z204.string(),
|
|
5808
|
+
name: z204.string(),
|
|
5809
|
+
url: z204.string(),
|
|
5810
|
+
slug: z204.string()
|
|
5811
|
+
});
|
|
5812
|
+
var DTOGitRepository = z204.object({
|
|
5813
|
+
id: z204.string(),
|
|
5814
|
+
name: z204.string(),
|
|
5815
|
+
url: z204.string(),
|
|
5816
|
+
slug: z204.string(),
|
|
5817
|
+
defaultBranch: z204.string().optional()
|
|
5818
|
+
});
|
|
5819
|
+
var DTOGitBranch = z204.object({
|
|
5820
|
+
name: z204.string(),
|
|
5821
|
+
lastCommitId: z204.string()
|
|
5756
5822
|
});
|
|
5757
5823
|
|
|
5758
5824
|
// src/api/dto/workspaces/integrations.ts
|
|
5759
|
-
import { z as
|
|
5825
|
+
import { z as z205 } from "zod";
|
|
5760
5826
|
var DTOIntegrationCredentials = IntegrationCredentials.omit({
|
|
5761
5827
|
accessToken: true,
|
|
5762
5828
|
refreshToken: true
|
|
5763
5829
|
});
|
|
5764
|
-
var DTOIntegration =
|
|
5765
|
-
id:
|
|
5766
|
-
workspaceId:
|
|
5830
|
+
var DTOIntegration = z205.object({
|
|
5831
|
+
id: z205.string(),
|
|
5832
|
+
workspaceId: z205.string(),
|
|
5767
5833
|
type: ExtendedIntegrationType,
|
|
5768
|
-
createdAt:
|
|
5769
|
-
integrationCredentials:
|
|
5770
|
-
integrationDesignSystems:
|
|
5834
|
+
createdAt: z205.coerce.date(),
|
|
5835
|
+
integrationCredentials: z205.array(DTOIntegrationCredentials).optional(),
|
|
5836
|
+
integrationDesignSystems: z205.array(IntegrationDesignSystem).optional()
|
|
5771
5837
|
});
|
|
5772
|
-
var DTOIntegrationOAuthGetResponse =
|
|
5773
|
-
url:
|
|
5838
|
+
var DTOIntegrationOAuthGetResponse = z205.object({
|
|
5839
|
+
url: z205.string()
|
|
5774
5840
|
});
|
|
5775
|
-
var DTOIntegrationPostResponse =
|
|
5841
|
+
var DTOIntegrationPostResponse = z205.object({
|
|
5776
5842
|
integration: DTOIntegration
|
|
5777
5843
|
});
|
|
5778
|
-
var DTOIntegrationsGetListResponse =
|
|
5844
|
+
var DTOIntegrationsGetListResponse = z205.object({
|
|
5779
5845
|
integrations: DTOIntegration.array()
|
|
5780
5846
|
});
|
|
5781
5847
|
|
|
5782
5848
|
// src/api/dto/workspaces/invitations.ts
|
|
5783
|
-
import { z as
|
|
5784
|
-
var DTOWorkspaceInvitationInput =
|
|
5785
|
-
email:
|
|
5849
|
+
import { z as z206 } from "zod";
|
|
5850
|
+
var DTOWorkspaceInvitationInput = z206.object({
|
|
5851
|
+
email: z206.string().email(),
|
|
5786
5852
|
role: WorkspaceRoleSchema
|
|
5787
5853
|
});
|
|
5788
|
-
var DTOWorkspaceInvitationsListInput =
|
|
5854
|
+
var DTOWorkspaceInvitationsListInput = z206.object({
|
|
5789
5855
|
invites: DTOWorkspaceInvitationInput.array().max(100),
|
|
5790
|
-
designSystemId:
|
|
5856
|
+
designSystemId: z206.string().optional()
|
|
5791
5857
|
});
|
|
5792
|
-
var DTOWorkspaceInvitationsResponse =
|
|
5858
|
+
var DTOWorkspaceInvitationsResponse = z206.object({
|
|
5793
5859
|
invitations: WorkspaceInvitation.array()
|
|
5794
5860
|
});
|
|
5795
|
-
var DTOWorkspaceInviteUpdate =
|
|
5861
|
+
var DTOWorkspaceInviteUpdate = z206.object({
|
|
5796
5862
|
role: WorkspaceRoleSchema
|
|
5797
5863
|
});
|
|
5798
|
-
var DTOWorkspaceInvitationUpdateResponse =
|
|
5864
|
+
var DTOWorkspaceInvitationUpdateResponse = z206.object({
|
|
5799
5865
|
invitation: WorkspaceInvitation
|
|
5800
5866
|
});
|
|
5801
5867
|
|
|
5802
5868
|
// src/api/dto/workspaces/membership.ts
|
|
5803
|
-
import { z as
|
|
5869
|
+
import { z as z209 } from "zod";
|
|
5804
5870
|
|
|
5805
5871
|
// src/api/dto/workspaces/workspace.ts
|
|
5806
|
-
import { z as
|
|
5872
|
+
import { z as z208 } from "zod";
|
|
5807
5873
|
|
|
5808
5874
|
// src/api/dto/workspaces/npm-registry.ts
|
|
5809
|
-
import { z as
|
|
5875
|
+
import { z as z207 } from "zod";
|
|
5810
5876
|
var DTONpmRegistryConfigConstants = {
|
|
5811
5877
|
passwordPlaceholder: "redacted"
|
|
5812
5878
|
};
|
|
5813
|
-
var DTONpmRegistryConfig =
|
|
5879
|
+
var DTONpmRegistryConfig = z207.object({
|
|
5814
5880
|
// Registry basic configuration
|
|
5815
5881
|
registryType: NpmRegistryType,
|
|
5816
|
-
registryUrl:
|
|
5817
|
-
customRegistryUrl:
|
|
5882
|
+
registryUrl: z207.string(),
|
|
5883
|
+
customRegistryUrl: z207.string().optional(),
|
|
5818
5884
|
// URL of Supernova NPM packages proxy
|
|
5819
|
-
proxyUrl:
|
|
5885
|
+
proxyUrl: z207.string(),
|
|
5820
5886
|
// Auth configuration
|
|
5821
5887
|
authType: NpmRegistryAuthType,
|
|
5822
|
-
accessToken:
|
|
5823
|
-
username:
|
|
5824
|
-
password:
|
|
5888
|
+
accessToken: z207.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
|
|
5889
|
+
username: z207.string().optional(),
|
|
5890
|
+
password: z207.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
|
|
5825
5891
|
// NPM package scopes for whih the proxy should be enabled
|
|
5826
|
-
enabledScopes:
|
|
5892
|
+
enabledScopes: z207.array(z207.string()),
|
|
5827
5893
|
// True if client should bypass Supernova proxy and connect directly to the registry
|
|
5828
5894
|
// (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
|
|
5829
|
-
bypassProxy:
|
|
5895
|
+
bypassProxy: z207.boolean()
|
|
5830
5896
|
});
|
|
5831
5897
|
|
|
5832
5898
|
// src/api/dto/workspaces/workspace.ts
|
|
5833
5899
|
var DTOWorkspaceProfile = WorkspaceProfile;
|
|
5834
|
-
var DTOWorkspace =
|
|
5835
|
-
id:
|
|
5900
|
+
var DTOWorkspace = z208.object({
|
|
5901
|
+
id: z208.string(),
|
|
5836
5902
|
profile: DTOWorkspaceProfile,
|
|
5837
5903
|
subscription: Subscription,
|
|
5838
5904
|
npmRegistry: DTONpmRegistryConfig.optional()
|
|
5839
5905
|
});
|
|
5840
|
-
var DTOWorkspaceCreateInput =
|
|
5841
|
-
name:
|
|
5906
|
+
var DTOWorkspaceCreateInput = z208.object({
|
|
5907
|
+
name: z208.string()
|
|
5842
5908
|
});
|
|
5843
|
-
var DTOWorkspaceResponse =
|
|
5909
|
+
var DTOWorkspaceResponse = z208.object({
|
|
5844
5910
|
workspace: DTOWorkspace
|
|
5845
5911
|
});
|
|
5846
5912
|
|
|
5847
5913
|
// src/api/dto/workspaces/membership.ts
|
|
5848
|
-
var DTOWorkspaceRole =
|
|
5849
|
-
var DTOUserWorkspaceMembership =
|
|
5914
|
+
var DTOWorkspaceRole = z209.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
|
|
5915
|
+
var DTOUserWorkspaceMembership = z209.object({
|
|
5850
5916
|
// Workspace the user is a member of
|
|
5851
5917
|
workspace: DTOWorkspace,
|
|
5852
5918
|
// Assigned role the user has in the workspace
|
|
@@ -5856,26 +5922,26 @@ var DTOUserWorkspaceMembership = z205.object({
|
|
|
5856
5922
|
// when a workspace's subscription is downgraded to free tier
|
|
5857
5923
|
effectiveRole: DTOWorkspaceRole
|
|
5858
5924
|
});
|
|
5859
|
-
var DTOWorkspaceMember =
|
|
5925
|
+
var DTOWorkspaceMember = z209.object({
|
|
5860
5926
|
user: User,
|
|
5861
5927
|
role: WorkspaceRoleSchema,
|
|
5862
5928
|
effectiveRole: WorkspaceRoleSchema
|
|
5863
5929
|
});
|
|
5864
|
-
var DTOUserWorkspaceMembershipsResponse =
|
|
5865
|
-
membership:
|
|
5930
|
+
var DTOUserWorkspaceMembershipsResponse = z209.object({
|
|
5931
|
+
membership: z209.array(DTOUserWorkspaceMembership)
|
|
5866
5932
|
});
|
|
5867
|
-
var DTOWorkspaceMembersListResponse =
|
|
5868
|
-
members:
|
|
5933
|
+
var DTOWorkspaceMembersListResponse = z209.object({
|
|
5934
|
+
members: z209.array(DTOWorkspaceMember)
|
|
5869
5935
|
});
|
|
5870
5936
|
|
|
5871
5937
|
// src/api/dto/bff/app-bootstrap-data.ts
|
|
5872
|
-
var DTOAppBootstrapDataQuery =
|
|
5873
|
-
preferredWorkspaceId:
|
|
5874
|
-
preferredDesignSystemId:
|
|
5875
|
-
preferredVersionId:
|
|
5876
|
-
preferredBrandId:
|
|
5938
|
+
var DTOAppBootstrapDataQuery = z210.object({
|
|
5939
|
+
preferredWorkspaceId: z210.string().optional(),
|
|
5940
|
+
preferredDesignSystemId: z210.string().optional(),
|
|
5941
|
+
preferredVersionId: z210.string().optional(),
|
|
5942
|
+
preferredBrandId: z210.string().optional()
|
|
5877
5943
|
});
|
|
5878
|
-
var DTOAppBootstrapDataResponse =
|
|
5944
|
+
var DTOAppBootstrapDataResponse = z210.object({
|
|
5879
5945
|
workspaceMembership: DTOUserWorkspaceMembership.optional(),
|
|
5880
5946
|
designSystem: DTODesignSystem.optional(),
|
|
5881
5947
|
version: DTODesignSystemVersion.optional(),
|
|
@@ -5883,65 +5949,65 @@ var DTOAppBootstrapDataResponse = z206.object({
|
|
|
5883
5949
|
});
|
|
5884
5950
|
|
|
5885
5951
|
// src/api/dto/collections/token-collection.ts
|
|
5886
|
-
import { z as
|
|
5887
|
-
var DTOTokenCollection =
|
|
5888
|
-
id:
|
|
5889
|
-
persistentId:
|
|
5890
|
-
designSystemVersionId:
|
|
5952
|
+
import { z as z211 } from "zod";
|
|
5953
|
+
var DTOTokenCollection = z211.object({
|
|
5954
|
+
id: z211.string(),
|
|
5955
|
+
persistentId: z211.string(),
|
|
5956
|
+
designSystemVersionId: z211.string(),
|
|
5891
5957
|
meta: ObjectMeta,
|
|
5892
5958
|
backgroundColor: ColorTokenInlineData.optional(),
|
|
5893
|
-
elementPropertyOptionId:
|
|
5894
|
-
createdAt:
|
|
5895
|
-
updatedAt:
|
|
5959
|
+
elementPropertyOptionId: z211.string(),
|
|
5960
|
+
createdAt: z211.coerce.date(),
|
|
5961
|
+
updatedAt: z211.coerce.date(),
|
|
5896
5962
|
origin: CollectionOrigin.optional()
|
|
5897
5963
|
});
|
|
5898
|
-
var DTOTokenCollectionsListReponse =
|
|
5964
|
+
var DTOTokenCollectionsListReponse = z211.object({
|
|
5899
5965
|
collections: DTOTokenCollection.array()
|
|
5900
5966
|
});
|
|
5901
5967
|
|
|
5902
5968
|
// src/api/dto/design-tokens/design-token.ts
|
|
5903
|
-
import { z as
|
|
5969
|
+
import { z as z212 } from "zod";
|
|
5904
5970
|
var DTODesignToken = DesignTokenTypedData.and(
|
|
5905
|
-
|
|
5906
|
-
id:
|
|
5907
|
-
persistentId:
|
|
5908
|
-
designSystemVersionId:
|
|
5971
|
+
z212.object({
|
|
5972
|
+
id: z212.string(),
|
|
5973
|
+
persistentId: z212.string(),
|
|
5974
|
+
designSystemVersionId: z212.string(),
|
|
5909
5975
|
meta: ObjectMeta,
|
|
5910
5976
|
originStyle: DesignTokenOrigin.optional(),
|
|
5911
|
-
brandId:
|
|
5912
|
-
collectionId:
|
|
5913
|
-
updatedAt:
|
|
5977
|
+
brandId: z212.string(),
|
|
5978
|
+
collectionId: z212.string().optional(),
|
|
5979
|
+
updatedAt: z212.coerce.date()
|
|
5914
5980
|
})
|
|
5915
5981
|
);
|
|
5916
|
-
var DTODesignTokenListResponse =
|
|
5982
|
+
var DTODesignTokenListResponse = z212.object({
|
|
5917
5983
|
tokens: DTODesignToken.array()
|
|
5918
5984
|
});
|
|
5919
|
-
var DTODesignTokenResponse =
|
|
5985
|
+
var DTODesignTokenResponse = z212.object({
|
|
5920
5986
|
token: DTODesignToken
|
|
5921
5987
|
});
|
|
5922
5988
|
var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
|
|
5923
|
-
|
|
5924
|
-
persistentId:
|
|
5989
|
+
z212.object({
|
|
5990
|
+
persistentId: z212.string(),
|
|
5925
5991
|
meta: ObjectMeta,
|
|
5926
|
-
brandId:
|
|
5927
|
-
groupPersistentId:
|
|
5992
|
+
brandId: z212.string(),
|
|
5993
|
+
groupPersistentId: z212.string().optional()
|
|
5928
5994
|
})
|
|
5929
5995
|
);
|
|
5930
5996
|
|
|
5931
5997
|
// src/api/dto/documentation/anchor.ts
|
|
5932
|
-
import { z as
|
|
5998
|
+
import { z as z213 } from "zod";
|
|
5933
5999
|
var DTODocumentationPageAnchor = DocumentationPageAnchor;
|
|
5934
|
-
var DTOGetDocumentationPageAnchorsResponse =
|
|
5935
|
-
anchors:
|
|
6000
|
+
var DTOGetDocumentationPageAnchorsResponse = z213.object({
|
|
6001
|
+
anchors: z213.array(DTODocumentationPageAnchor)
|
|
5936
6002
|
});
|
|
5937
6003
|
|
|
5938
6004
|
// src/api/dto/documentation/approvals.ts
|
|
5939
|
-
import { z as
|
|
6005
|
+
import { z as z214 } from "zod";
|
|
5940
6006
|
var DTODocumentationPageApprovalState = DocumentationPageApproval;
|
|
5941
|
-
var DTODocumentationGroupApprovalState =
|
|
5942
|
-
persistentId:
|
|
5943
|
-
groupId:
|
|
5944
|
-
designSystemVersionId:
|
|
6007
|
+
var DTODocumentationGroupApprovalState = z214.object({
|
|
6008
|
+
persistentId: z214.string(),
|
|
6009
|
+
groupId: z214.string(),
|
|
6010
|
+
designSystemVersionId: z214.string(),
|
|
5945
6011
|
approvalState: DocumentationPageApprovalState
|
|
5946
6012
|
});
|
|
5947
6013
|
|
|
@@ -5949,68 +6015,68 @@ var DTODocumentationGroupApprovalState = z210.object({
|
|
|
5949
6015
|
var DTOPageBlockItemV2 = PageBlockItemV2;
|
|
5950
6016
|
|
|
5951
6017
|
// src/api/dto/documentation/documentation-page-snapshot.ts
|
|
5952
|
-
import { z as
|
|
6018
|
+
import { z as z219 } from "zod";
|
|
5953
6019
|
|
|
5954
6020
|
// src/api/dto/elements/documentation/page-v2.ts
|
|
5955
|
-
import { z as
|
|
6021
|
+
import { z as z218 } from "zod";
|
|
5956
6022
|
|
|
5957
6023
|
// src/api/dto/elements/documentation/draft-state.ts
|
|
5958
|
-
import { z as
|
|
6024
|
+
import { z as z216 } from "zod";
|
|
5959
6025
|
|
|
5960
6026
|
// src/api/dto/elements/documentation/item-configuration-v2.ts
|
|
5961
|
-
import { z as
|
|
6027
|
+
import { z as z215 } from "zod";
|
|
5962
6028
|
var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
|
|
5963
|
-
var DTODocumentationItemConfigurationV2 =
|
|
5964
|
-
showSidebar:
|
|
5965
|
-
isPrivate:
|
|
5966
|
-
isHidden:
|
|
6029
|
+
var DTODocumentationItemConfigurationV2 = z215.object({
|
|
6030
|
+
showSidebar: z215.boolean(),
|
|
6031
|
+
isPrivate: z215.boolean(),
|
|
6032
|
+
isHidden: z215.boolean(),
|
|
5967
6033
|
header: DTODocumentationItemHeaderV2
|
|
5968
6034
|
});
|
|
5969
6035
|
|
|
5970
6036
|
// src/api/dto/elements/documentation/draft-state.ts
|
|
5971
|
-
var DTODocumentationDraftChangeType =
|
|
5972
|
-
var DTODocumentationDraftStateCreated =
|
|
5973
|
-
changeType:
|
|
5974
|
-
});
|
|
5975
|
-
var DTODocumentationDraftStateUpdated =
|
|
5976
|
-
changeType:
|
|
5977
|
-
changes:
|
|
5978
|
-
previousTitle:
|
|
6037
|
+
var DTODocumentationDraftChangeType = z216.enum(["Created", "Updated", "Deleted"]);
|
|
6038
|
+
var DTODocumentationDraftStateCreated = z216.object({
|
|
6039
|
+
changeType: z216.literal(DTODocumentationDraftChangeType.enum.Created)
|
|
6040
|
+
});
|
|
6041
|
+
var DTODocumentationDraftStateUpdated = z216.object({
|
|
6042
|
+
changeType: z216.literal(DTODocumentationDraftChangeType.enum.Updated),
|
|
6043
|
+
changes: z216.object({
|
|
6044
|
+
previousTitle: z216.string().optional(),
|
|
5979
6045
|
previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
|
|
5980
|
-
previousContentHash:
|
|
6046
|
+
previousContentHash: z216.string().optional()
|
|
5981
6047
|
})
|
|
5982
6048
|
});
|
|
5983
|
-
var DTODocumentationDraftStateDeleted =
|
|
5984
|
-
changeType:
|
|
5985
|
-
deletedAt:
|
|
5986
|
-
deletedByUserId:
|
|
6049
|
+
var DTODocumentationDraftStateDeleted = z216.object({
|
|
6050
|
+
changeType: z216.literal(DTODocumentationDraftChangeType.enum.Deleted),
|
|
6051
|
+
deletedAt: z216.coerce.date(),
|
|
6052
|
+
deletedByUserId: z216.string()
|
|
5987
6053
|
});
|
|
5988
|
-
var DTODocumentationDraftState =
|
|
6054
|
+
var DTODocumentationDraftState = z216.discriminatedUnion("changeType", [
|
|
5989
6055
|
DTODocumentationDraftStateCreated,
|
|
5990
6056
|
DTODocumentationDraftStateUpdated,
|
|
5991
6057
|
DTODocumentationDraftStateDeleted
|
|
5992
6058
|
]);
|
|
5993
6059
|
|
|
5994
6060
|
// src/api/dto/elements/documentation/metadata.ts
|
|
5995
|
-
import { z as
|
|
5996
|
-
var DTODocumentationPublishMetadata =
|
|
5997
|
-
lastPublishedByUserId:
|
|
5998
|
-
lastPublishedAt:
|
|
6061
|
+
import { z as z217 } from "zod";
|
|
6062
|
+
var DTODocumentationPublishMetadata = z217.object({
|
|
6063
|
+
lastPublishedByUserId: z217.string(),
|
|
6064
|
+
lastPublishedAt: z217.coerce.date()
|
|
5999
6065
|
});
|
|
6000
6066
|
|
|
6001
6067
|
// src/api/dto/elements/documentation/page-v2.ts
|
|
6002
|
-
var DTODocumentationPageV2 =
|
|
6003
|
-
id:
|
|
6004
|
-
persistentId:
|
|
6005
|
-
designSystemVersionId:
|
|
6006
|
-
title:
|
|
6068
|
+
var DTODocumentationPageV2 = z218.object({
|
|
6069
|
+
id: z218.string(),
|
|
6070
|
+
persistentId: z218.string(),
|
|
6071
|
+
designSystemVersionId: z218.string(),
|
|
6072
|
+
title: z218.string(),
|
|
6007
6073
|
configuration: DTODocumentationItemConfigurationV2,
|
|
6008
|
-
shortPersistentId:
|
|
6009
|
-
slug:
|
|
6010
|
-
userSlug:
|
|
6011
|
-
createdAt:
|
|
6012
|
-
updatedAt:
|
|
6013
|
-
path:
|
|
6074
|
+
shortPersistentId: z218.string(),
|
|
6075
|
+
slug: z218.string().optional(),
|
|
6076
|
+
userSlug: z218.string().optional(),
|
|
6077
|
+
createdAt: z218.coerce.date(),
|
|
6078
|
+
updatedAt: z218.coerce.date(),
|
|
6079
|
+
path: z218.string(),
|
|
6014
6080
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
6015
6081
|
draftState: DTODocumentationDraftState.optional(),
|
|
6016
6082
|
/** Defined if a page was published at least once and contains metadata about last publish */
|
|
@@ -6018,215 +6084,215 @@ var DTODocumentationPageV2 = z214.object({
|
|
|
6018
6084
|
/** Defines the approval state of the documentation page */
|
|
6019
6085
|
approvalState: DTODocumentationPageApprovalState.optional(),
|
|
6020
6086
|
// Backward compatibility
|
|
6021
|
-
type:
|
|
6087
|
+
type: z218.literal("Page")
|
|
6022
6088
|
});
|
|
6023
|
-
var DTOCreateDocumentationPageInputV2 =
|
|
6089
|
+
var DTOCreateDocumentationPageInputV2 = z218.object({
|
|
6024
6090
|
// Identifier
|
|
6025
|
-
persistentId:
|
|
6091
|
+
persistentId: z218.string(),
|
|
6026
6092
|
// Page properties
|
|
6027
|
-
title:
|
|
6093
|
+
title: z218.string(),
|
|
6028
6094
|
configuration: DTODocumentationItemConfigurationV2.partial().optional(),
|
|
6029
6095
|
// Page placement properties
|
|
6030
|
-
parentPersistentId:
|
|
6031
|
-
afterPersistentId:
|
|
6096
|
+
parentPersistentId: z218.string(),
|
|
6097
|
+
afterPersistentId: z218.string().nullish()
|
|
6032
6098
|
});
|
|
6033
|
-
var DTOUpdateDocumentationPageInputV2 =
|
|
6099
|
+
var DTOUpdateDocumentationPageInputV2 = z218.object({
|
|
6034
6100
|
// Identifier of the group to update
|
|
6035
|
-
id:
|
|
6101
|
+
id: z218.string(),
|
|
6036
6102
|
// Page properties
|
|
6037
|
-
title:
|
|
6103
|
+
title: z218.string().optional(),
|
|
6038
6104
|
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
6039
6105
|
});
|
|
6040
|
-
var DTOMoveDocumentationPageInputV2 =
|
|
6106
|
+
var DTOMoveDocumentationPageInputV2 = z218.object({
|
|
6041
6107
|
// Identifier of the group to update
|
|
6042
|
-
id:
|
|
6108
|
+
id: z218.string(),
|
|
6043
6109
|
// Page placement properties
|
|
6044
|
-
parentPersistentId:
|
|
6045
|
-
afterPersistentId:
|
|
6110
|
+
parentPersistentId: z218.string(),
|
|
6111
|
+
afterPersistentId: z218.string().nullish()
|
|
6046
6112
|
});
|
|
6047
|
-
var DTODuplicateDocumentationPageInputV2 =
|
|
6113
|
+
var DTODuplicateDocumentationPageInputV2 = z218.object({
|
|
6048
6114
|
// Identifier of the page to duplicate from
|
|
6049
|
-
id:
|
|
6115
|
+
id: z218.string(),
|
|
6050
6116
|
// New page persistent id
|
|
6051
|
-
persistentId:
|
|
6117
|
+
persistentId: z218.string(),
|
|
6052
6118
|
// Page placement properties
|
|
6053
|
-
parentPersistentId:
|
|
6054
|
-
afterPersistentId:
|
|
6119
|
+
parentPersistentId: z218.string(),
|
|
6120
|
+
afterPersistentId: z218.string().nullish()
|
|
6055
6121
|
});
|
|
6056
|
-
var DTODeleteDocumentationPageInputV2 =
|
|
6122
|
+
var DTODeleteDocumentationPageInputV2 = z218.object({
|
|
6057
6123
|
// Identifier
|
|
6058
|
-
id:
|
|
6124
|
+
id: z218.string()
|
|
6059
6125
|
});
|
|
6060
|
-
var DTORestoreDocumentationPageInput =
|
|
6061
|
-
persistentId:
|
|
6062
|
-
snapshotId:
|
|
6126
|
+
var DTORestoreDocumentationPageInput = z218.object({
|
|
6127
|
+
persistentId: z218.string(),
|
|
6128
|
+
snapshotId: z218.string().optional()
|
|
6063
6129
|
});
|
|
6064
|
-
var DTORestoreDocumentationGroupInput =
|
|
6065
|
-
persistentId:
|
|
6066
|
-
snapshotId:
|
|
6130
|
+
var DTORestoreDocumentationGroupInput = z218.object({
|
|
6131
|
+
persistentId: z218.string(),
|
|
6132
|
+
snapshotId: z218.string().optional()
|
|
6067
6133
|
});
|
|
6068
|
-
var DTODocumentationPageApprovalStateChangeInput =
|
|
6069
|
-
persistentId:
|
|
6134
|
+
var DTODocumentationPageApprovalStateChangeInput = z218.object({
|
|
6135
|
+
persistentId: z218.string(),
|
|
6070
6136
|
approvalState: DocumentationPageApprovalState.optional()
|
|
6071
6137
|
});
|
|
6072
6138
|
|
|
6073
6139
|
// src/api/dto/documentation/documentation-page-snapshot.ts
|
|
6074
|
-
var DTODocumentationPageSnapshot =
|
|
6075
|
-
id:
|
|
6076
|
-
designSystemVersionId:
|
|
6077
|
-
createdAt:
|
|
6078
|
-
updatedAt:
|
|
6140
|
+
var DTODocumentationPageSnapshot = z219.object({
|
|
6141
|
+
id: z219.string(),
|
|
6142
|
+
designSystemVersionId: z219.string(),
|
|
6143
|
+
createdAt: z219.string(),
|
|
6144
|
+
updatedAt: z219.string(),
|
|
6079
6145
|
documentationPage: DTODocumentationPageV2,
|
|
6080
|
-
pageContentHash:
|
|
6146
|
+
pageContentHash: z219.string(),
|
|
6081
6147
|
reason: DesignElementSnapshotReason
|
|
6082
6148
|
});
|
|
6083
6149
|
|
|
6084
6150
|
// src/api/dto/documentation/link-preview.ts
|
|
6085
|
-
import { z as
|
|
6086
|
-
var DTODocumentationLinkPreviewResponse =
|
|
6151
|
+
import { z as z220 } from "zod";
|
|
6152
|
+
var DTODocumentationLinkPreviewResponse = z220.object({
|
|
6087
6153
|
linkPreview: DocumentationLinkPreview
|
|
6088
6154
|
});
|
|
6089
|
-
var DTODocumentationLinkPreviewRequest =
|
|
6090
|
-
url:
|
|
6091
|
-
documentationItemPersistentId:
|
|
6155
|
+
var DTODocumentationLinkPreviewRequest = z220.object({
|
|
6156
|
+
url: z220.string().optional(),
|
|
6157
|
+
documentationItemPersistentId: z220.string().optional()
|
|
6092
6158
|
});
|
|
6093
6159
|
|
|
6094
6160
|
// src/api/dto/documentation/publish.ts
|
|
6095
|
-
import { z as
|
|
6161
|
+
import { z as z224 } from "zod";
|
|
6096
6162
|
|
|
6097
6163
|
// src/api/dto/export/exporter.ts
|
|
6098
|
-
import { z as
|
|
6099
|
-
var DTOExporterType =
|
|
6100
|
-
var DTOExporterSource =
|
|
6101
|
-
var DTOExporterMembershipRole =
|
|
6102
|
-
var DTOExporterListQuery =
|
|
6103
|
-
limit:
|
|
6104
|
-
});
|
|
6105
|
-
var DTOExporter =
|
|
6106
|
-
id:
|
|
6107
|
-
name:
|
|
6108
|
-
isPrivate:
|
|
6164
|
+
import { z as z221 } from "zod";
|
|
6165
|
+
var DTOExporterType = z221.enum(["documentation", "code"]);
|
|
6166
|
+
var DTOExporterSource = z221.enum(["git", "upload"]);
|
|
6167
|
+
var DTOExporterMembershipRole = z221.enum(["Owner", "OwnerArchived", "User"]);
|
|
6168
|
+
var DTOExporterListQuery = z221.object({
|
|
6169
|
+
limit: z221.coerce.number().optional()
|
|
6170
|
+
});
|
|
6171
|
+
var DTOExporter = z221.object({
|
|
6172
|
+
id: z221.string(),
|
|
6173
|
+
name: z221.string(),
|
|
6174
|
+
isPrivate: z221.boolean(),
|
|
6109
6175
|
exporterType: DTOExporterType,
|
|
6110
|
-
isDefaultDocumentationExporter:
|
|
6111
|
-
iconURL:
|
|
6176
|
+
isDefaultDocumentationExporter: z221.boolean(),
|
|
6177
|
+
iconURL: z221.string().optional(),
|
|
6112
6178
|
configurationProperties: PulsarContributionConfigurationProperty.array(),
|
|
6113
6179
|
customBlocks: PulsarCustomBlock.array(),
|
|
6114
|
-
blockVariants:
|
|
6115
|
-
usesBrands:
|
|
6116
|
-
usesThemes:
|
|
6180
|
+
blockVariants: z221.record(z221.string(), PulsarContributionVariant.array()),
|
|
6181
|
+
usesBrands: z221.boolean(),
|
|
6182
|
+
usesThemes: z221.boolean(),
|
|
6117
6183
|
source: DTOExporterSource,
|
|
6118
|
-
gitUrl: nullishToOptional(
|
|
6119
|
-
gitBranch: nullishToOptional(
|
|
6120
|
-
gitDirectory: nullishToOptional(
|
|
6184
|
+
gitUrl: nullishToOptional(z221.string()),
|
|
6185
|
+
gitBranch: nullishToOptional(z221.string()),
|
|
6186
|
+
gitDirectory: nullishToOptional(z221.string())
|
|
6121
6187
|
});
|
|
6122
|
-
var DTOExporterMembership =
|
|
6123
|
-
workspaceId:
|
|
6124
|
-
exporterId:
|
|
6188
|
+
var DTOExporterMembership = z221.object({
|
|
6189
|
+
workspaceId: z221.string(),
|
|
6190
|
+
exporterId: z221.string(),
|
|
6125
6191
|
role: DTOExporterMembershipRole
|
|
6126
6192
|
});
|
|
6127
|
-
var DTOExporterCreateOutput =
|
|
6193
|
+
var DTOExporterCreateOutput = z221.object({
|
|
6128
6194
|
exporter: DTOExporter,
|
|
6129
6195
|
membership: DTOExporterMembership
|
|
6130
6196
|
});
|
|
6131
|
-
var DTOExporterListResponse =
|
|
6197
|
+
var DTOExporterListResponse = z221.object({
|
|
6132
6198
|
exporters: DTOExporter.array(),
|
|
6133
6199
|
membership: DTOExporterMembership.array()
|
|
6134
6200
|
});
|
|
6135
|
-
var DTOExporterGitProviderEnum =
|
|
6136
|
-
var DTOExporterCreateInput =
|
|
6137
|
-
url:
|
|
6201
|
+
var DTOExporterGitProviderEnum = z221.enum(["github", "gitlab", "bitbucket", "azure"]);
|
|
6202
|
+
var DTOExporterCreateInput = z221.object({
|
|
6203
|
+
url: z221.string(),
|
|
6138
6204
|
provider: DTOExporterGitProviderEnum
|
|
6139
6205
|
});
|
|
6140
|
-
var DTOExporterUpdateInput =
|
|
6141
|
-
url:
|
|
6206
|
+
var DTOExporterUpdateInput = z221.object({
|
|
6207
|
+
url: z221.string().optional()
|
|
6142
6208
|
});
|
|
6143
6209
|
|
|
6144
6210
|
// src/api/dto/export/filter.ts
|
|
6145
6211
|
var DTOExportJobsListFilter = ExportJobFindByFilter;
|
|
6146
6212
|
|
|
6147
6213
|
// src/api/dto/export/job.ts
|
|
6148
|
-
import { z as
|
|
6149
|
-
var DTOExportJobCreatedBy =
|
|
6150
|
-
userId:
|
|
6151
|
-
userName:
|
|
6214
|
+
import { z as z222 } from "zod";
|
|
6215
|
+
var DTOExportJobCreatedBy = z222.object({
|
|
6216
|
+
userId: z222.string(),
|
|
6217
|
+
userName: z222.string()
|
|
6152
6218
|
});
|
|
6153
|
-
var DTOExportJobDesignSystemPreview =
|
|
6154
|
-
id:
|
|
6219
|
+
var DTOExportJobDesignSystemPreview = z222.object({
|
|
6220
|
+
id: z222.string(),
|
|
6155
6221
|
meta: ObjectMeta
|
|
6156
6222
|
});
|
|
6157
|
-
var DTOExportJobDesignSystemVersionPreview =
|
|
6158
|
-
id:
|
|
6223
|
+
var DTOExportJobDesignSystemVersionPreview = z222.object({
|
|
6224
|
+
id: z222.string(),
|
|
6159
6225
|
meta: ObjectMeta,
|
|
6160
|
-
version:
|
|
6161
|
-
isReadonly:
|
|
6226
|
+
version: z222.string(),
|
|
6227
|
+
isReadonly: z222.boolean()
|
|
6162
6228
|
});
|
|
6163
|
-
var DTOExportJobDestinations =
|
|
6229
|
+
var DTOExportJobDestinations = z222.object({
|
|
6164
6230
|
s3: ExporterDestinationS3.optional(),
|
|
6165
6231
|
azure: ExporterDestinationAzure.optional(),
|
|
6166
6232
|
bitbucket: ExporterDestinationBitbucket.optional(),
|
|
6167
6233
|
github: ExporterDestinationGithub.optional(),
|
|
6168
6234
|
gitlab: ExporterDestinationGitlab.optional(),
|
|
6169
6235
|
documentation: ExporterDestinationDocs.optional(),
|
|
6170
|
-
webhookUrl:
|
|
6236
|
+
webhookUrl: z222.string().optional()
|
|
6171
6237
|
});
|
|
6172
6238
|
var DTOExportJobResult = ExportJobResult.omit({
|
|
6173
6239
|
sndocs: true
|
|
6174
6240
|
}).extend({
|
|
6175
6241
|
documentation: ExportJobDocsDestinationResult.optional()
|
|
6176
6242
|
});
|
|
6177
|
-
var DTOExportJob =
|
|
6178
|
-
id:
|
|
6179
|
-
createdAt:
|
|
6180
|
-
finishedAt:
|
|
6181
|
-
index:
|
|
6243
|
+
var DTOExportJob = z222.object({
|
|
6244
|
+
id: z222.string(),
|
|
6245
|
+
createdAt: z222.coerce.date(),
|
|
6246
|
+
finishedAt: z222.coerce.date().optional(),
|
|
6247
|
+
index: z222.number().optional(),
|
|
6182
6248
|
status: ExportJobStatus,
|
|
6183
|
-
estimatedExecutionTime:
|
|
6249
|
+
estimatedExecutionTime: z222.number().optional(),
|
|
6184
6250
|
createdBy: DTOExportJobCreatedBy.optional(),
|
|
6185
6251
|
designSystem: DTOExportJobDesignSystemPreview,
|
|
6186
6252
|
designSystemVersion: DTOExportJobDesignSystemVersionPreview,
|
|
6187
6253
|
destinations: DTOExportJobDestinations,
|
|
6188
|
-
exporterId:
|
|
6189
|
-
scheduleId:
|
|
6254
|
+
exporterId: z222.string(),
|
|
6255
|
+
scheduleId: z222.string().optional(),
|
|
6190
6256
|
result: DTOExportJobResult.optional(),
|
|
6191
|
-
brandPersistentId:
|
|
6192
|
-
themePersistentId:
|
|
6193
|
-
themePersistentIds:
|
|
6257
|
+
brandPersistentId: z222.string().optional(),
|
|
6258
|
+
themePersistentId: z222.string().optional(),
|
|
6259
|
+
themePersistentIds: z222.string().array().optional()
|
|
6194
6260
|
});
|
|
6195
|
-
var DTOExportJobResponse =
|
|
6261
|
+
var DTOExportJobResponse = z222.object({
|
|
6196
6262
|
job: DTOExportJob
|
|
6197
6263
|
});
|
|
6198
6264
|
|
|
6199
6265
|
// src/api/dto/export/pipeline.ts
|
|
6200
|
-
import { z as
|
|
6201
|
-
var DTOPipelineListQuery =
|
|
6202
|
-
designSystemId:
|
|
6203
|
-
exporterId:
|
|
6204
|
-
latestJobsLimit:
|
|
6205
|
-
});
|
|
6206
|
-
var DTOPipeline =
|
|
6207
|
-
id:
|
|
6208
|
-
name:
|
|
6266
|
+
import { z as z223 } from "zod";
|
|
6267
|
+
var DTOPipelineListQuery = z223.object({
|
|
6268
|
+
designSystemId: z223.string().optional(),
|
|
6269
|
+
exporterId: z223.string().optional(),
|
|
6270
|
+
latestJobsLimit: z223.coerce.number().optional()
|
|
6271
|
+
});
|
|
6272
|
+
var DTOPipeline = z223.object({
|
|
6273
|
+
id: z223.string(),
|
|
6274
|
+
name: z223.string(),
|
|
6209
6275
|
eventType: PipelineEventType,
|
|
6210
|
-
isEnabled:
|
|
6211
|
-
workspaceId:
|
|
6212
|
-
designSystemId:
|
|
6213
|
-
exporterId:
|
|
6214
|
-
brandPersistentId:
|
|
6215
|
-
themePersistentId:
|
|
6216
|
-
themePersistentIds:
|
|
6276
|
+
isEnabled: z223.boolean(),
|
|
6277
|
+
workspaceId: z223.string(),
|
|
6278
|
+
designSystemId: z223.string(),
|
|
6279
|
+
exporterId: z223.string(),
|
|
6280
|
+
brandPersistentId: z223.string().optional(),
|
|
6281
|
+
themePersistentId: z223.string().optional(),
|
|
6282
|
+
themePersistentIds: z223.string().array().optional(),
|
|
6217
6283
|
...ExportDestinationsMap.shape,
|
|
6218
6284
|
latestJobs: DTOExportJob.array()
|
|
6219
6285
|
});
|
|
6220
|
-
var DTOPipelineListResponse =
|
|
6286
|
+
var DTOPipelineListResponse = z223.object({
|
|
6221
6287
|
pipelines: DTOPipeline.array()
|
|
6222
6288
|
});
|
|
6223
|
-
var DTOPipelineResponse =
|
|
6289
|
+
var DTOPipelineResponse = z223.object({
|
|
6224
6290
|
pipeline: DTOPipeline
|
|
6225
6291
|
});
|
|
6226
6292
|
|
|
6227
6293
|
// src/api/dto/documentation/publish.ts
|
|
6228
6294
|
var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
|
|
6229
|
-
var DTOPublishDocumentationRequest =
|
|
6295
|
+
var DTOPublishDocumentationRequest = z224.object({
|
|
6230
6296
|
environment: PublishedDocEnvironment,
|
|
6231
6297
|
/**
|
|
6232
6298
|
* If defined, this allows narrowing down what is published to a set of specific pages and groups
|
|
@@ -6234,42 +6300,42 @@ var DTOPublishDocumentationRequest = z220.object({
|
|
|
6234
6300
|
*/
|
|
6235
6301
|
changes: DTOPublishDocumentationChanges.optional()
|
|
6236
6302
|
});
|
|
6237
|
-
var DTOPublishDocumentationResponse =
|
|
6303
|
+
var DTOPublishDocumentationResponse = z224.object({
|
|
6238
6304
|
job: DTOExportJob
|
|
6239
6305
|
});
|
|
6240
6306
|
|
|
6241
6307
|
// src/api/dto/elements/components/figma-component.ts
|
|
6242
|
-
import { z as
|
|
6308
|
+
import { z as z225 } from "zod";
|
|
6243
6309
|
var DTOFigmaComponentProperty = FigmaComponentProperty;
|
|
6244
|
-
var DTOFigmaComponentPropertyMap =
|
|
6245
|
-
var DTOFigmaComponent =
|
|
6246
|
-
id:
|
|
6247
|
-
persistentId:
|
|
6248
|
-
designSystemVersionId:
|
|
6249
|
-
brandId:
|
|
6250
|
-
thumbnailUrl:
|
|
6251
|
-
svgUrl:
|
|
6252
|
-
exportProperties:
|
|
6253
|
-
isAsset:
|
|
6310
|
+
var DTOFigmaComponentPropertyMap = z225.record(DTOFigmaComponentProperty);
|
|
6311
|
+
var DTOFigmaComponent = z225.object({
|
|
6312
|
+
id: z225.string(),
|
|
6313
|
+
persistentId: z225.string(),
|
|
6314
|
+
designSystemVersionId: z225.string(),
|
|
6315
|
+
brandId: z225.string(),
|
|
6316
|
+
thumbnailUrl: z225.string().optional(),
|
|
6317
|
+
svgUrl: z225.string().optional(),
|
|
6318
|
+
exportProperties: z225.object({
|
|
6319
|
+
isAsset: z225.boolean()
|
|
6254
6320
|
}),
|
|
6255
|
-
createdAt:
|
|
6256
|
-
updatedAt:
|
|
6321
|
+
createdAt: z225.coerce.date(),
|
|
6322
|
+
updatedAt: z225.coerce.date(),
|
|
6257
6323
|
meta: ObjectMeta,
|
|
6258
6324
|
originComponent: FigmaComponentOrigin.optional(),
|
|
6259
|
-
parentComponentPersistentId:
|
|
6260
|
-
childrenPersistentIds:
|
|
6325
|
+
parentComponentPersistentId: z225.string().optional(),
|
|
6326
|
+
childrenPersistentIds: z225.string().array().optional(),
|
|
6261
6327
|
componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
|
|
6262
|
-
variantPropertyValues:
|
|
6328
|
+
variantPropertyValues: z225.record(z225.string()).optional()
|
|
6263
6329
|
});
|
|
6264
|
-
var DTOFigmaComponentListResponse =
|
|
6330
|
+
var DTOFigmaComponentListResponse = z225.object({
|
|
6265
6331
|
components: DTOFigmaComponent.array()
|
|
6266
6332
|
});
|
|
6267
6333
|
|
|
6268
6334
|
// src/api/dto/elements/documentation/group-action.ts
|
|
6269
|
-
import { z as
|
|
6335
|
+
import { z as z227 } from "zod";
|
|
6270
6336
|
|
|
6271
6337
|
// src/api/dto/elements/documentation/group-v2.ts
|
|
6272
|
-
import { z as
|
|
6338
|
+
import { z as z226 } from "zod";
|
|
6273
6339
|
var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
6274
6340
|
sortOrder: true,
|
|
6275
6341
|
parentPersistentId: true,
|
|
@@ -6279,13 +6345,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
|
6279
6345
|
data: true,
|
|
6280
6346
|
shortPersistentId: true
|
|
6281
6347
|
}).extend({
|
|
6282
|
-
title:
|
|
6283
|
-
isRoot:
|
|
6284
|
-
childrenIds:
|
|
6348
|
+
title: z226.string(),
|
|
6349
|
+
isRoot: z226.boolean(),
|
|
6350
|
+
childrenIds: z226.array(z226.string()),
|
|
6285
6351
|
groupBehavior: DocumentationGroupBehavior,
|
|
6286
|
-
shortPersistentId:
|
|
6352
|
+
shortPersistentId: z226.string(),
|
|
6287
6353
|
configuration: DTODocumentationItemConfigurationV2,
|
|
6288
|
-
type:
|
|
6354
|
+
type: z226.literal("Group"),
|
|
6289
6355
|
/** Defined when a group has changed since last publish and can be included into a partial publish */
|
|
6290
6356
|
draftState: DTODocumentationDraftState.optional(),
|
|
6291
6357
|
/** Defined if a group was published at least once and contains metadata about last publish */
|
|
@@ -6293,127 +6359,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
|
6293
6359
|
//** An approval state for frontend to utilize. */
|
|
6294
6360
|
approvalState: DTODocumentationGroupApprovalState.optional()
|
|
6295
6361
|
});
|
|
6296
|
-
var DTOCreateDocumentationGroupInput =
|
|
6362
|
+
var DTOCreateDocumentationGroupInput = z226.object({
|
|
6297
6363
|
// Identifier
|
|
6298
|
-
persistentId:
|
|
6364
|
+
persistentId: z226.string(),
|
|
6299
6365
|
// Group properties
|
|
6300
|
-
title:
|
|
6366
|
+
title: z226.string(),
|
|
6301
6367
|
configuration: DTODocumentationItemConfigurationV2.partial().optional(),
|
|
6302
6368
|
// Group placement properties
|
|
6303
|
-
afterPersistentId:
|
|
6304
|
-
parentPersistentId:
|
|
6369
|
+
afterPersistentId: z226.string().nullish(),
|
|
6370
|
+
parentPersistentId: z226.string()
|
|
6305
6371
|
});
|
|
6306
|
-
var DTOUpdateDocumentationGroupInput =
|
|
6372
|
+
var DTOUpdateDocumentationGroupInput = z226.object({
|
|
6307
6373
|
// Identifier of the group to update
|
|
6308
|
-
id:
|
|
6374
|
+
id: z226.string(),
|
|
6309
6375
|
// Group properties
|
|
6310
|
-
title:
|
|
6376
|
+
title: z226.string().optional(),
|
|
6311
6377
|
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
6312
6378
|
});
|
|
6313
|
-
var DTOMoveDocumentationGroupInput =
|
|
6379
|
+
var DTOMoveDocumentationGroupInput = z226.object({
|
|
6314
6380
|
// Identifier of the group to update
|
|
6315
|
-
id:
|
|
6381
|
+
id: z226.string(),
|
|
6316
6382
|
// Group placement properties
|
|
6317
|
-
parentPersistentId:
|
|
6318
|
-
afterPersistentId:
|
|
6383
|
+
parentPersistentId: z226.string(),
|
|
6384
|
+
afterPersistentId: z226.string().nullish()
|
|
6319
6385
|
});
|
|
6320
|
-
var DTODuplicateDocumentationGroupInput =
|
|
6386
|
+
var DTODuplicateDocumentationGroupInput = z226.object({
|
|
6321
6387
|
// Identifier of the group to duplicate from
|
|
6322
|
-
id:
|
|
6388
|
+
id: z226.string(),
|
|
6323
6389
|
// New group persistent id
|
|
6324
|
-
persistentId:
|
|
6390
|
+
persistentId: z226.string(),
|
|
6325
6391
|
// Group placement properties
|
|
6326
|
-
afterPersistentId:
|
|
6327
|
-
parentPersistentId:
|
|
6392
|
+
afterPersistentId: z226.string().nullish(),
|
|
6393
|
+
parentPersistentId: z226.string()
|
|
6328
6394
|
});
|
|
6329
|
-
var DTOCreateDocumentationTabInput =
|
|
6395
|
+
var DTOCreateDocumentationTabInput = z226.object({
|
|
6330
6396
|
// New group persistent id
|
|
6331
|
-
persistentId:
|
|
6397
|
+
persistentId: z226.string(),
|
|
6332
6398
|
// If this is page, we will attempt to convert it to tab
|
|
6333
6399
|
// If this is tab group, we will add a new tab to it
|
|
6334
|
-
fromItemPersistentId:
|
|
6335
|
-
tabName:
|
|
6400
|
+
fromItemPersistentId: z226.string(),
|
|
6401
|
+
tabName: z226.string()
|
|
6336
6402
|
});
|
|
6337
|
-
var DTODeleteDocumentationTabGroupInput =
|
|
6403
|
+
var DTODeleteDocumentationTabGroupInput = z226.object({
|
|
6338
6404
|
// Deleted group id
|
|
6339
|
-
id:
|
|
6405
|
+
id: z226.string()
|
|
6340
6406
|
});
|
|
6341
|
-
var DTODeleteDocumentationGroupInput =
|
|
6407
|
+
var DTODeleteDocumentationGroupInput = z226.object({
|
|
6342
6408
|
// Identifier
|
|
6343
|
-
id:
|
|
6409
|
+
id: z226.string(),
|
|
6344
6410
|
// Deletion options
|
|
6345
|
-
deleteSubtree:
|
|
6411
|
+
deleteSubtree: z226.boolean().default(false)
|
|
6346
6412
|
});
|
|
6347
6413
|
|
|
6348
6414
|
// src/api/dto/elements/documentation/group-action.ts
|
|
6349
|
-
var SuccessPayload =
|
|
6350
|
-
success:
|
|
6415
|
+
var SuccessPayload = z227.object({
|
|
6416
|
+
success: z227.literal(true)
|
|
6351
6417
|
});
|
|
6352
|
-
var DTODocumentationGroupCreateActionOutputV2 =
|
|
6353
|
-
type:
|
|
6418
|
+
var DTODocumentationGroupCreateActionOutputV2 = z227.object({
|
|
6419
|
+
type: z227.literal("DocumentationGroupCreate"),
|
|
6354
6420
|
output: SuccessPayload
|
|
6355
6421
|
});
|
|
6356
|
-
var DTODocumentationTabCreateActionOutputV2 =
|
|
6357
|
-
type:
|
|
6422
|
+
var DTODocumentationTabCreateActionOutputV2 = z227.object({
|
|
6423
|
+
type: z227.literal("DocumentationTabCreate"),
|
|
6358
6424
|
output: SuccessPayload
|
|
6359
6425
|
});
|
|
6360
|
-
var DTODocumentationGroupUpdateActionOutputV2 =
|
|
6361
|
-
type:
|
|
6426
|
+
var DTODocumentationGroupUpdateActionOutputV2 = z227.object({
|
|
6427
|
+
type: z227.literal("DocumentationGroupUpdate"),
|
|
6362
6428
|
output: SuccessPayload
|
|
6363
6429
|
});
|
|
6364
|
-
var DTODocumentationGroupMoveActionOutputV2 =
|
|
6365
|
-
type:
|
|
6430
|
+
var DTODocumentationGroupMoveActionOutputV2 = z227.object({
|
|
6431
|
+
type: z227.literal("DocumentationGroupMove"),
|
|
6366
6432
|
output: SuccessPayload
|
|
6367
6433
|
});
|
|
6368
|
-
var DTODocumentationGroupDuplicateActionOutputV2 =
|
|
6369
|
-
type:
|
|
6434
|
+
var DTODocumentationGroupDuplicateActionOutputV2 = z227.object({
|
|
6435
|
+
type: z227.literal("DocumentationGroupDuplicate"),
|
|
6370
6436
|
output: SuccessPayload
|
|
6371
6437
|
});
|
|
6372
|
-
var DTODocumentationGroupDeleteActionOutputV2 =
|
|
6373
|
-
type:
|
|
6438
|
+
var DTODocumentationGroupDeleteActionOutputV2 = z227.object({
|
|
6439
|
+
type: z227.literal("DocumentationGroupDelete"),
|
|
6374
6440
|
output: SuccessPayload
|
|
6375
6441
|
});
|
|
6376
|
-
var DTODocumentationTabGroupDeleteActionOutputV2 =
|
|
6377
|
-
type:
|
|
6442
|
+
var DTODocumentationTabGroupDeleteActionOutputV2 = z227.object({
|
|
6443
|
+
type: z227.literal("DocumentationTabGroupDelete"),
|
|
6378
6444
|
output: SuccessPayload
|
|
6379
6445
|
});
|
|
6380
|
-
var DTODocumentationGroupCreateActionInputV2 =
|
|
6381
|
-
type:
|
|
6446
|
+
var DTODocumentationGroupCreateActionInputV2 = z227.object({
|
|
6447
|
+
type: z227.literal("DocumentationGroupCreate"),
|
|
6382
6448
|
input: DTOCreateDocumentationGroupInput
|
|
6383
6449
|
});
|
|
6384
|
-
var DTODocumentationTabCreateActionInputV2 =
|
|
6385
|
-
type:
|
|
6450
|
+
var DTODocumentationTabCreateActionInputV2 = z227.object({
|
|
6451
|
+
type: z227.literal("DocumentationTabCreate"),
|
|
6386
6452
|
input: DTOCreateDocumentationTabInput
|
|
6387
6453
|
});
|
|
6388
|
-
var DTODocumentationGroupUpdateActionInputV2 =
|
|
6389
|
-
type:
|
|
6454
|
+
var DTODocumentationGroupUpdateActionInputV2 = z227.object({
|
|
6455
|
+
type: z227.literal("DocumentationGroupUpdate"),
|
|
6390
6456
|
input: DTOUpdateDocumentationGroupInput
|
|
6391
6457
|
});
|
|
6392
|
-
var DTODocumentationGroupMoveActionInputV2 =
|
|
6393
|
-
type:
|
|
6458
|
+
var DTODocumentationGroupMoveActionInputV2 = z227.object({
|
|
6459
|
+
type: z227.literal("DocumentationGroupMove"),
|
|
6394
6460
|
input: DTOMoveDocumentationGroupInput
|
|
6395
6461
|
});
|
|
6396
|
-
var DTODocumentationGroupDuplicateActionInputV2 =
|
|
6397
|
-
type:
|
|
6462
|
+
var DTODocumentationGroupDuplicateActionInputV2 = z227.object({
|
|
6463
|
+
type: z227.literal("DocumentationGroupDuplicate"),
|
|
6398
6464
|
input: DTODuplicateDocumentationGroupInput
|
|
6399
6465
|
});
|
|
6400
|
-
var DTODocumentationGroupDeleteActionInputV2 =
|
|
6401
|
-
type:
|
|
6466
|
+
var DTODocumentationGroupDeleteActionInputV2 = z227.object({
|
|
6467
|
+
type: z227.literal("DocumentationGroupDelete"),
|
|
6402
6468
|
input: DTODeleteDocumentationGroupInput
|
|
6403
6469
|
});
|
|
6404
|
-
var DTODocumentationTabGroupDeleteActionInputV2 =
|
|
6405
|
-
type:
|
|
6470
|
+
var DTODocumentationTabGroupDeleteActionInputV2 = z227.object({
|
|
6471
|
+
type: z227.literal("DocumentationTabGroupDelete"),
|
|
6406
6472
|
input: DTODeleteDocumentationTabGroupInput
|
|
6407
6473
|
});
|
|
6408
6474
|
|
|
6409
6475
|
// src/api/dto/elements/documentation/group-v1.ts
|
|
6410
|
-
import { z as
|
|
6476
|
+
import { z as z229 } from "zod";
|
|
6411
6477
|
|
|
6412
6478
|
// src/api/dto/elements/documentation/item-configuration-v1.ts
|
|
6413
|
-
import { z as
|
|
6414
|
-
var DocumentationColorV1 =
|
|
6415
|
-
aliasTo:
|
|
6416
|
-
value:
|
|
6479
|
+
import { z as z228 } from "zod";
|
|
6480
|
+
var DocumentationColorV1 = z228.object({
|
|
6481
|
+
aliasTo: z228.string().optional(),
|
|
6482
|
+
value: z228.string().optional()
|
|
6417
6483
|
});
|
|
6418
6484
|
var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
|
|
6419
6485
|
foregroundColor: true,
|
|
@@ -6422,10 +6488,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
|
|
|
6422
6488
|
foregroundColor: DocumentationColorV1.optional(),
|
|
6423
6489
|
backgroundColor: DocumentationColorV1.optional()
|
|
6424
6490
|
});
|
|
6425
|
-
var DTODocumentationItemConfigurationV1 =
|
|
6426
|
-
showSidebar:
|
|
6427
|
-
isPrivate:
|
|
6428
|
-
isHidden:
|
|
6491
|
+
var DTODocumentationItemConfigurationV1 = z228.object({
|
|
6492
|
+
showSidebar: z228.boolean(),
|
|
6493
|
+
isPrivate: z228.boolean(),
|
|
6494
|
+
isHidden: z228.boolean(),
|
|
6429
6495
|
header: DTODocumentationItemHeaderV1
|
|
6430
6496
|
});
|
|
6431
6497
|
|
|
@@ -6439,27 +6505,27 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
|
|
|
6439
6505
|
data: true,
|
|
6440
6506
|
shortPersistentId: true
|
|
6441
6507
|
}).extend({
|
|
6442
|
-
title:
|
|
6443
|
-
isRoot:
|
|
6444
|
-
childrenIds:
|
|
6508
|
+
title: z229.string(),
|
|
6509
|
+
isRoot: z229.boolean(),
|
|
6510
|
+
childrenIds: z229.array(z229.string()),
|
|
6445
6511
|
groupBehavior: DocumentationGroupBehavior,
|
|
6446
|
-
shortPersistentId:
|
|
6447
|
-
type:
|
|
6512
|
+
shortPersistentId: z229.string(),
|
|
6513
|
+
type: z229.literal("Group")
|
|
6448
6514
|
});
|
|
6449
6515
|
var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
|
|
6450
6516
|
configuration: DTODocumentationItemConfigurationV1
|
|
6451
6517
|
});
|
|
6452
6518
|
|
|
6453
6519
|
// src/api/dto/elements/documentation/hierarchy.ts
|
|
6454
|
-
import { z as
|
|
6455
|
-
var DTODocumentationHierarchyV2 =
|
|
6456
|
-
pages:
|
|
6520
|
+
import { z as z230 } from "zod";
|
|
6521
|
+
var DTODocumentationHierarchyV2 = z230.object({
|
|
6522
|
+
pages: z230.array(
|
|
6457
6523
|
DTODocumentationPageV2.extend({
|
|
6458
6524
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
6459
6525
|
draftState: DTODocumentationDraftState.optional()
|
|
6460
6526
|
})
|
|
6461
6527
|
),
|
|
6462
|
-
groups:
|
|
6528
|
+
groups: z230.array(
|
|
6463
6529
|
DTODocumentationGroupV2.extend({
|
|
6464
6530
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
6465
6531
|
draftState: DTODocumentationDraftState.optional()
|
|
@@ -6468,84 +6534,84 @@ var DTODocumentationHierarchyV2 = z226.object({
|
|
|
6468
6534
|
});
|
|
6469
6535
|
|
|
6470
6536
|
// src/api/dto/elements/documentation/page-actions-v2.ts
|
|
6471
|
-
import { z as
|
|
6472
|
-
var SuccessPayload2 =
|
|
6473
|
-
success:
|
|
6537
|
+
import { z as z231 } from "zod";
|
|
6538
|
+
var SuccessPayload2 = z231.object({
|
|
6539
|
+
success: z231.literal(true)
|
|
6474
6540
|
});
|
|
6475
|
-
var DTODocumentationPageCreateActionOutputV2 =
|
|
6476
|
-
type:
|
|
6541
|
+
var DTODocumentationPageCreateActionOutputV2 = z231.object({
|
|
6542
|
+
type: z231.literal("DocumentationPageCreate"),
|
|
6477
6543
|
output: SuccessPayload2
|
|
6478
6544
|
});
|
|
6479
|
-
var DTODocumentationPageUpdateActionOutputV2 =
|
|
6480
|
-
type:
|
|
6545
|
+
var DTODocumentationPageUpdateActionOutputV2 = z231.object({
|
|
6546
|
+
type: z231.literal("DocumentationPageUpdate"),
|
|
6481
6547
|
output: SuccessPayload2
|
|
6482
6548
|
});
|
|
6483
|
-
var DTODocumentationPageMoveActionOutputV2 =
|
|
6484
|
-
type:
|
|
6549
|
+
var DTODocumentationPageMoveActionOutputV2 = z231.object({
|
|
6550
|
+
type: z231.literal("DocumentationPageMove"),
|
|
6485
6551
|
output: SuccessPayload2
|
|
6486
6552
|
});
|
|
6487
|
-
var DTODocumentationPageDuplicateActionOutputV2 =
|
|
6488
|
-
type:
|
|
6553
|
+
var DTODocumentationPageDuplicateActionOutputV2 = z231.object({
|
|
6554
|
+
type: z231.literal("DocumentationPageDuplicate"),
|
|
6489
6555
|
output: SuccessPayload2
|
|
6490
6556
|
});
|
|
6491
|
-
var DTODocumentationPageDeleteActionOutputV2 =
|
|
6492
|
-
type:
|
|
6557
|
+
var DTODocumentationPageDeleteActionOutputV2 = z231.object({
|
|
6558
|
+
type: z231.literal("DocumentationPageDelete"),
|
|
6493
6559
|
output: SuccessPayload2
|
|
6494
6560
|
});
|
|
6495
|
-
var DTODocumentationPageRestoreActionOutput =
|
|
6496
|
-
type:
|
|
6561
|
+
var DTODocumentationPageRestoreActionOutput = z231.object({
|
|
6562
|
+
type: z231.literal("DocumentationPageRestore"),
|
|
6497
6563
|
output: SuccessPayload2
|
|
6498
6564
|
});
|
|
6499
|
-
var DTODocumentationGroupRestoreActionOutput =
|
|
6500
|
-
type:
|
|
6565
|
+
var DTODocumentationGroupRestoreActionOutput = z231.object({
|
|
6566
|
+
type: z231.literal("DocumentationGroupRestore"),
|
|
6501
6567
|
output: SuccessPayload2
|
|
6502
6568
|
});
|
|
6503
|
-
var DTODocumentationPageApprovalStateChangeActionOutput =
|
|
6504
|
-
type:
|
|
6569
|
+
var DTODocumentationPageApprovalStateChangeActionOutput = z231.object({
|
|
6570
|
+
type: z231.literal("DocumentationPageApprovalStateChange"),
|
|
6505
6571
|
output: SuccessPayload2
|
|
6506
6572
|
});
|
|
6507
|
-
var DTODocumentationPageCreateActionInputV2 =
|
|
6508
|
-
type:
|
|
6573
|
+
var DTODocumentationPageCreateActionInputV2 = z231.object({
|
|
6574
|
+
type: z231.literal("DocumentationPageCreate"),
|
|
6509
6575
|
input: DTOCreateDocumentationPageInputV2
|
|
6510
6576
|
});
|
|
6511
|
-
var DTODocumentationPageUpdateActionInputV2 =
|
|
6512
|
-
type:
|
|
6577
|
+
var DTODocumentationPageUpdateActionInputV2 = z231.object({
|
|
6578
|
+
type: z231.literal("DocumentationPageUpdate"),
|
|
6513
6579
|
input: DTOUpdateDocumentationPageInputV2
|
|
6514
6580
|
});
|
|
6515
|
-
var DTODocumentationPageMoveActionInputV2 =
|
|
6516
|
-
type:
|
|
6581
|
+
var DTODocumentationPageMoveActionInputV2 = z231.object({
|
|
6582
|
+
type: z231.literal("DocumentationPageMove"),
|
|
6517
6583
|
input: DTOMoveDocumentationPageInputV2
|
|
6518
6584
|
});
|
|
6519
|
-
var DTODocumentationPageDuplicateActionInputV2 =
|
|
6520
|
-
type:
|
|
6585
|
+
var DTODocumentationPageDuplicateActionInputV2 = z231.object({
|
|
6586
|
+
type: z231.literal("DocumentationPageDuplicate"),
|
|
6521
6587
|
input: DTODuplicateDocumentationPageInputV2
|
|
6522
6588
|
});
|
|
6523
|
-
var DTODocumentationPageDeleteActionInputV2 =
|
|
6524
|
-
type:
|
|
6589
|
+
var DTODocumentationPageDeleteActionInputV2 = z231.object({
|
|
6590
|
+
type: z231.literal("DocumentationPageDelete"),
|
|
6525
6591
|
input: DTODeleteDocumentationPageInputV2
|
|
6526
6592
|
});
|
|
6527
|
-
var DTODocumentationPageRestoreActionInput =
|
|
6528
|
-
type:
|
|
6593
|
+
var DTODocumentationPageRestoreActionInput = z231.object({
|
|
6594
|
+
type: z231.literal("DocumentationPageRestore"),
|
|
6529
6595
|
input: DTORestoreDocumentationPageInput
|
|
6530
6596
|
});
|
|
6531
|
-
var DTODocumentationGroupRestoreActionInput =
|
|
6532
|
-
type:
|
|
6597
|
+
var DTODocumentationGroupRestoreActionInput = z231.object({
|
|
6598
|
+
type: z231.literal("DocumentationGroupRestore"),
|
|
6533
6599
|
input: DTORestoreDocumentationGroupInput
|
|
6534
6600
|
});
|
|
6535
|
-
var DTODocumentationPageApprovalStateChangeActionInput =
|
|
6536
|
-
type:
|
|
6601
|
+
var DTODocumentationPageApprovalStateChangeActionInput = z231.object({
|
|
6602
|
+
type: z231.literal("DocumentationPageApprovalStateChange"),
|
|
6537
6603
|
input: DTODocumentationPageApprovalStateChangeInput
|
|
6538
6604
|
});
|
|
6539
6605
|
|
|
6540
6606
|
// src/api/dto/elements/documentation/page-content.ts
|
|
6541
|
-
import { z as
|
|
6607
|
+
import { z as z232 } from "zod";
|
|
6542
6608
|
var DTODocumentationPageContent = DocumentationPageContent;
|
|
6543
|
-
var DTODocumentationPageContentGetResponse =
|
|
6609
|
+
var DTODocumentationPageContentGetResponse = z232.object({
|
|
6544
6610
|
pageContent: DTODocumentationPageContent
|
|
6545
6611
|
});
|
|
6546
6612
|
|
|
6547
6613
|
// src/api/dto/elements/documentation/page-v1.ts
|
|
6548
|
-
import { z as
|
|
6614
|
+
import { z as z233 } from "zod";
|
|
6549
6615
|
var DocumentationPageV1DTO = DocumentationPageV1.omit({
|
|
6550
6616
|
data: true,
|
|
6551
6617
|
meta: true,
|
|
@@ -6553,32 +6619,32 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
|
|
|
6553
6619
|
sortOrder: true
|
|
6554
6620
|
}).extend({
|
|
6555
6621
|
configuration: DTODocumentationItemConfigurationV1,
|
|
6556
|
-
blocks:
|
|
6557
|
-
title:
|
|
6558
|
-
path:
|
|
6622
|
+
blocks: z233.array(PageBlockV1),
|
|
6623
|
+
title: z233.string(),
|
|
6624
|
+
path: z233.string()
|
|
6559
6625
|
});
|
|
6560
6626
|
|
|
6561
6627
|
// src/api/dto/elements/figma-nodes/figma-node.ts
|
|
6562
|
-
import { z as
|
|
6628
|
+
import { z as z234 } from "zod";
|
|
6563
6629
|
var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
|
|
6564
|
-
var DTOFigmaNodeOrigin =
|
|
6565
|
-
sourceId:
|
|
6566
|
-
fileId:
|
|
6567
|
-
parentName:
|
|
6630
|
+
var DTOFigmaNodeOrigin = z234.object({
|
|
6631
|
+
sourceId: z234.string(),
|
|
6632
|
+
fileId: z234.string().optional(),
|
|
6633
|
+
parentName: z234.string().optional()
|
|
6568
6634
|
});
|
|
6569
|
-
var DTOFigmaNodeData =
|
|
6635
|
+
var DTOFigmaNodeData = z234.object({
|
|
6570
6636
|
// Id of the node in the Figma file
|
|
6571
|
-
figmaNodeId:
|
|
6637
|
+
figmaNodeId: z234.string(),
|
|
6572
6638
|
// Validity
|
|
6573
|
-
isValid:
|
|
6639
|
+
isValid: z234.boolean(),
|
|
6574
6640
|
// Asset data
|
|
6575
|
-
assetId:
|
|
6576
|
-
assetUrl:
|
|
6641
|
+
assetId: z234.string(),
|
|
6642
|
+
assetUrl: z234.string(),
|
|
6577
6643
|
assetFormat: DTOFigmaNodeRenderFormat,
|
|
6578
6644
|
// Asset metadata
|
|
6579
|
-
assetScale:
|
|
6580
|
-
assetWidth:
|
|
6581
|
-
assetHeight:
|
|
6645
|
+
assetScale: z234.number(),
|
|
6646
|
+
assetWidth: z234.number().optional(),
|
|
6647
|
+
assetHeight: z234.number().optional()
|
|
6582
6648
|
});
|
|
6583
6649
|
var DTOFigmaNode = FigmaNodeReference.omit({
|
|
6584
6650
|
data: true,
|
|
@@ -6587,15 +6653,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
|
|
|
6587
6653
|
data: DTOFigmaNodeData,
|
|
6588
6654
|
origin: DTOFigmaNodeOrigin
|
|
6589
6655
|
});
|
|
6590
|
-
var DTOFigmaNodeRenderInput =
|
|
6656
|
+
var DTOFigmaNodeRenderInput = z234.object({
|
|
6591
6657
|
/**
|
|
6592
6658
|
* Id of a design system's data source representing a linked Figma file
|
|
6593
6659
|
*/
|
|
6594
|
-
sourceId:
|
|
6660
|
+
sourceId: z234.string(),
|
|
6595
6661
|
/**
|
|
6596
6662
|
* Id of a node within the Figma file
|
|
6597
6663
|
*/
|
|
6598
|
-
figmaFileNodeId:
|
|
6664
|
+
figmaFileNodeId: z234.string(),
|
|
6599
6665
|
/**
|
|
6600
6666
|
* Format in which the node must be rendered, png by default.
|
|
6601
6667
|
*/
|
|
@@ -6603,108 +6669,108 @@ var DTOFigmaNodeRenderInput = z230.object({
|
|
|
6603
6669
|
});
|
|
6604
6670
|
|
|
6605
6671
|
// src/api/dto/elements/figma-nodes/node-actions-v2.ts
|
|
6606
|
-
import { z as
|
|
6607
|
-
var DTOFigmaNodeRenderActionOutput =
|
|
6608
|
-
type:
|
|
6609
|
-
figmaNodes:
|
|
6672
|
+
import { z as z235 } from "zod";
|
|
6673
|
+
var DTOFigmaNodeRenderActionOutput = z235.object({
|
|
6674
|
+
type: z235.literal("FigmaNodeRender"),
|
|
6675
|
+
figmaNodes: z235.array(DTOFigmaNode)
|
|
6610
6676
|
});
|
|
6611
|
-
var DTOFigmaNodeRenderActionInput =
|
|
6612
|
-
type:
|
|
6677
|
+
var DTOFigmaNodeRenderActionInput = z235.object({
|
|
6678
|
+
type: z235.literal("FigmaNodeRender"),
|
|
6613
6679
|
input: DTOFigmaNodeRenderInput.array()
|
|
6614
6680
|
});
|
|
6615
6681
|
|
|
6616
6682
|
// src/api/dto/elements/properties/property-definitions-actions-v2.ts
|
|
6617
|
-
import { z as
|
|
6683
|
+
import { z as z237 } from "zod";
|
|
6618
6684
|
|
|
6619
6685
|
// src/api/dto/elements/properties/property-definitions.ts
|
|
6620
|
-
import { z as
|
|
6686
|
+
import { z as z236 } from "zod";
|
|
6621
6687
|
var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
|
|
6622
|
-
var DTOElementPropertyDefinition =
|
|
6623
|
-
id:
|
|
6624
|
-
designSystemVersionId:
|
|
6688
|
+
var DTOElementPropertyDefinition = z236.object({
|
|
6689
|
+
id: z236.string(),
|
|
6690
|
+
designSystemVersionId: z236.string(),
|
|
6625
6691
|
meta: ObjectMeta,
|
|
6626
|
-
persistentId:
|
|
6692
|
+
persistentId: z236.string(),
|
|
6627
6693
|
type: ElementPropertyTypeSchema,
|
|
6628
6694
|
targetElementType: ElementPropertyTargetType,
|
|
6629
|
-
codeName:
|
|
6630
|
-
options: nullishToOptional(
|
|
6695
|
+
codeName: z236.string().regex(CODE_NAME_REGEX2),
|
|
6696
|
+
options: nullishToOptional(z236.array(ElementPropertyDefinitionOption)),
|
|
6631
6697
|
linkElementType: nullishToOptional(ElementPropertyLinkType)
|
|
6632
6698
|
});
|
|
6633
|
-
var DTOElementPropertyDefinitionListResponse =
|
|
6634
|
-
definitions:
|
|
6699
|
+
var DTOElementPropertyDefinitionListResponse = z236.object({
|
|
6700
|
+
definitions: z236.array(DTOElementPropertyDefinition)
|
|
6635
6701
|
});
|
|
6636
|
-
var DTOElementPropertyDefinitionResponse =
|
|
6702
|
+
var DTOElementPropertyDefinitionResponse = z236.object({
|
|
6637
6703
|
definition: DTOElementPropertyDefinition
|
|
6638
6704
|
});
|
|
6639
6705
|
var DTOElementPropertyDefinitionCreatePayload = DTOElementPropertyDefinition.omit({
|
|
6640
6706
|
id: true,
|
|
6641
6707
|
designSystemVersionId: true
|
|
6642
6708
|
});
|
|
6643
|
-
var DTOElementPropertyDefinitionUpdatePayload =
|
|
6644
|
-
id:
|
|
6645
|
-
name:
|
|
6646
|
-
description:
|
|
6647
|
-
codeName:
|
|
6648
|
-
options:
|
|
6709
|
+
var DTOElementPropertyDefinitionUpdatePayload = z236.object({
|
|
6710
|
+
id: z236.string(),
|
|
6711
|
+
name: z236.string().optional(),
|
|
6712
|
+
description: z236.string().optional(),
|
|
6713
|
+
codeName: z236.string().regex(CODE_NAME_REGEX2).optional(),
|
|
6714
|
+
options: z236.array(ElementPropertyDefinitionOption).optional()
|
|
6649
6715
|
});
|
|
6650
|
-
var DTOElementPropertyDefinitionDeletePayload =
|
|
6651
|
-
id:
|
|
6716
|
+
var DTOElementPropertyDefinitionDeletePayload = z236.object({
|
|
6717
|
+
id: z236.string()
|
|
6652
6718
|
});
|
|
6653
6719
|
|
|
6654
6720
|
// src/api/dto/elements/properties/property-definitions-actions-v2.ts
|
|
6655
|
-
var SuccessPayload3 =
|
|
6656
|
-
success:
|
|
6721
|
+
var SuccessPayload3 = z237.object({
|
|
6722
|
+
success: z237.literal(true)
|
|
6657
6723
|
});
|
|
6658
|
-
var DTOPropertyDefinitionCreateActionOutputV2 =
|
|
6659
|
-
type:
|
|
6724
|
+
var DTOPropertyDefinitionCreateActionOutputV2 = z237.object({
|
|
6725
|
+
type: z237.literal("PropertyDefinitionCreate"),
|
|
6660
6726
|
definition: DTOElementPropertyDefinition
|
|
6661
6727
|
});
|
|
6662
|
-
var DTOPropertyDefinitionUpdateActionOutputV2 =
|
|
6663
|
-
type:
|
|
6728
|
+
var DTOPropertyDefinitionUpdateActionOutputV2 = z237.object({
|
|
6729
|
+
type: z237.literal("PropertyDefinitionUpdate"),
|
|
6664
6730
|
definition: DTOElementPropertyDefinition
|
|
6665
6731
|
});
|
|
6666
|
-
var DTOPropertyDefinitionDeleteActionOutputV2 =
|
|
6667
|
-
type:
|
|
6732
|
+
var DTOPropertyDefinitionDeleteActionOutputV2 = z237.object({
|
|
6733
|
+
type: z237.literal("PropertyDefinitionDelete"),
|
|
6668
6734
|
output: SuccessPayload3
|
|
6669
6735
|
});
|
|
6670
|
-
var DTOPropertyDefinitionCreateActionInputV2 =
|
|
6671
|
-
type:
|
|
6736
|
+
var DTOPropertyDefinitionCreateActionInputV2 = z237.object({
|
|
6737
|
+
type: z237.literal("PropertyDefinitionCreate"),
|
|
6672
6738
|
input: DTOElementPropertyDefinitionCreatePayload
|
|
6673
6739
|
});
|
|
6674
|
-
var DTOPropertyDefinitionUpdateActionInputV2 =
|
|
6675
|
-
type:
|
|
6740
|
+
var DTOPropertyDefinitionUpdateActionInputV2 = z237.object({
|
|
6741
|
+
type: z237.literal("PropertyDefinitionUpdate"),
|
|
6676
6742
|
input: DTOElementPropertyDefinitionUpdatePayload
|
|
6677
6743
|
});
|
|
6678
|
-
var DTOPropertyDefinitionDeleteActionInputV2 =
|
|
6679
|
-
type:
|
|
6744
|
+
var DTOPropertyDefinitionDeleteActionInputV2 = z237.object({
|
|
6745
|
+
type: z237.literal("PropertyDefinitionDelete"),
|
|
6680
6746
|
input: DTOElementPropertyDefinitionDeletePayload
|
|
6681
6747
|
});
|
|
6682
6748
|
|
|
6683
6749
|
// src/api/dto/elements/properties/property-values.ts
|
|
6684
|
-
import { z as
|
|
6685
|
-
var DTOElementPropertyValue =
|
|
6686
|
-
id:
|
|
6687
|
-
designSystemVersionId:
|
|
6688
|
-
definitionId:
|
|
6689
|
-
targetElementId:
|
|
6690
|
-
value:
|
|
6691
|
-
valuePreview:
|
|
6692
|
-
});
|
|
6693
|
-
var DTOElementPropertyValueListResponse =
|
|
6694
|
-
values:
|
|
6695
|
-
});
|
|
6696
|
-
var DTOElementPropertyValueResponse =
|
|
6750
|
+
import { z as z238 } from "zod";
|
|
6751
|
+
var DTOElementPropertyValue = z238.object({
|
|
6752
|
+
id: z238.string(),
|
|
6753
|
+
designSystemVersionId: z238.string(),
|
|
6754
|
+
definitionId: z238.string(),
|
|
6755
|
+
targetElementId: z238.string(),
|
|
6756
|
+
value: z238.union([z238.string(), z238.number(), z238.boolean()]).optional(),
|
|
6757
|
+
valuePreview: z238.string().optional()
|
|
6758
|
+
});
|
|
6759
|
+
var DTOElementPropertyValueListResponse = z238.object({
|
|
6760
|
+
values: z238.array(DTOElementPropertyValue)
|
|
6761
|
+
});
|
|
6762
|
+
var DTOElementPropertyValueResponse = z238.object({
|
|
6697
6763
|
value: DTOElementPropertyValue
|
|
6698
6764
|
});
|
|
6699
|
-
var DTOElementPropertyValueUpsertPaylod =
|
|
6700
|
-
definitionId:
|
|
6701
|
-
targetElementId:
|
|
6702
|
-
value:
|
|
6765
|
+
var DTOElementPropertyValueUpsertPaylod = z238.object({
|
|
6766
|
+
definitionId: z238.string(),
|
|
6767
|
+
targetElementId: z238.string(),
|
|
6768
|
+
value: z238.string().or(z238.number()).or(z238.boolean())
|
|
6703
6769
|
});
|
|
6704
6770
|
|
|
6705
6771
|
// src/api/dto/elements/elements-action-v2.ts
|
|
6706
|
-
import { z as
|
|
6707
|
-
var DTOElementActionOutput =
|
|
6772
|
+
import { z as z239 } from "zod";
|
|
6773
|
+
var DTOElementActionOutput = z239.discriminatedUnion("type", [
|
|
6708
6774
|
// Documentation pages
|
|
6709
6775
|
DTODocumentationPageCreateActionOutputV2,
|
|
6710
6776
|
DTODocumentationPageUpdateActionOutputV2,
|
|
@@ -6731,7 +6797,7 @@ var DTOElementActionOutput = z235.discriminatedUnion("type", [
|
|
|
6731
6797
|
// Approvals
|
|
6732
6798
|
DTODocumentationPageApprovalStateChangeActionOutput
|
|
6733
6799
|
]);
|
|
6734
|
-
var DTOElementActionInput =
|
|
6800
|
+
var DTOElementActionInput = z239.discriminatedUnion("type", [
|
|
6735
6801
|
// Documentation pages
|
|
6736
6802
|
DTODocumentationPageCreateActionInputV2,
|
|
6737
6803
|
DTODocumentationPageUpdateActionInputV2,
|
|
@@ -6760,138 +6826,83 @@ var DTOElementActionInput = z235.discriminatedUnion("type", [
|
|
|
6760
6826
|
]);
|
|
6761
6827
|
|
|
6762
6828
|
// src/api/dto/elements/get-elements-v2.ts
|
|
6763
|
-
import { z as
|
|
6764
|
-
var DTOElementsGetTypeFilter =
|
|
6765
|
-
var DTOElementsGetQuerySchema =
|
|
6766
|
-
types:
|
|
6829
|
+
import { z as z240 } from "zod";
|
|
6830
|
+
var DTOElementsGetTypeFilter = z240.enum(["FigmaNode"]);
|
|
6831
|
+
var DTOElementsGetQuerySchema = z240.object({
|
|
6832
|
+
types: z240.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
|
|
6767
6833
|
});
|
|
6768
|
-
var DTOElementsGetOutput =
|
|
6769
|
-
figmaNodes:
|
|
6834
|
+
var DTOElementsGetOutput = z240.object({
|
|
6835
|
+
figmaNodes: z240.array(DTOFigmaNode).optional()
|
|
6770
6836
|
});
|
|
6771
6837
|
|
|
6772
6838
|
// src/api/dto/figma-components/assets/download.ts
|
|
6773
|
-
import { z as
|
|
6774
|
-
var DTOAssetRenderConfiguration =
|
|
6775
|
-
prefix:
|
|
6776
|
-
suffix:
|
|
6777
|
-
scale:
|
|
6778
|
-
format:
|
|
6779
|
-
});
|
|
6780
|
-
var DTORenderedAssetFile =
|
|
6781
|
-
assetId:
|
|
6782
|
-
fileName:
|
|
6783
|
-
sourceUrl:
|
|
6839
|
+
import { z as z241 } from "zod";
|
|
6840
|
+
var DTOAssetRenderConfiguration = z241.object({
|
|
6841
|
+
prefix: z241.string().optional(),
|
|
6842
|
+
suffix: z241.string().optional(),
|
|
6843
|
+
scale: z241.enum(["x1", "x2", "x3", "x4"]),
|
|
6844
|
+
format: z241.enum(["png", "pdf", "svg"])
|
|
6845
|
+
});
|
|
6846
|
+
var DTORenderedAssetFile = z241.object({
|
|
6847
|
+
assetId: z241.string(),
|
|
6848
|
+
fileName: z241.string(),
|
|
6849
|
+
sourceUrl: z241.string(),
|
|
6784
6850
|
settings: DTOAssetRenderConfiguration,
|
|
6785
|
-
originalName:
|
|
6851
|
+
originalName: z241.string()
|
|
6786
6852
|
});
|
|
6787
|
-
var DTODownloadAssetsRequest =
|
|
6788
|
-
persistentIds:
|
|
6853
|
+
var DTODownloadAssetsRequest = z241.object({
|
|
6854
|
+
persistentIds: z241.array(z241.string().uuid()).optional(),
|
|
6789
6855
|
settings: DTOAssetRenderConfiguration.array()
|
|
6790
6856
|
});
|
|
6791
|
-
var DTODownloadAssetsResponse =
|
|
6857
|
+
var DTODownloadAssetsResponse = z241.object({
|
|
6792
6858
|
items: DTORenderedAssetFile.array()
|
|
6793
6859
|
});
|
|
6794
6860
|
|
|
6795
6861
|
// src/api/dto/liveblocks/auth-response.ts
|
|
6796
|
-
import { z as
|
|
6797
|
-
var DTOLiveblocksAuthResponse =
|
|
6798
|
-
token:
|
|
6862
|
+
import { z as z242 } from "zod";
|
|
6863
|
+
var DTOLiveblocksAuthResponse = z242.object({
|
|
6864
|
+
token: z242.string()
|
|
6799
6865
|
});
|
|
6800
6866
|
|
|
6801
6867
|
// src/api/dto/themes/override.ts
|
|
6802
|
-
import { z as
|
|
6868
|
+
import { z as z243 } from "zod";
|
|
6803
6869
|
var DTOThemeOverride = DesignTokenTypedData.and(
|
|
6804
|
-
|
|
6805
|
-
tokenPersistentId:
|
|
6870
|
+
z243.object({
|
|
6871
|
+
tokenPersistentId: z243.string(),
|
|
6806
6872
|
origin: ThemeOverrideOrigin.optional()
|
|
6807
6873
|
})
|
|
6808
6874
|
);
|
|
6809
6875
|
var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
|
|
6810
|
-
|
|
6811
|
-
tokenPersistentId:
|
|
6876
|
+
z243.object({
|
|
6877
|
+
tokenPersistentId: z243.string()
|
|
6812
6878
|
})
|
|
6813
6879
|
);
|
|
6814
6880
|
|
|
6815
6881
|
// src/api/dto/themes/theme.ts
|
|
6816
|
-
import { z as
|
|
6817
|
-
var DTOTheme =
|
|
6818
|
-
id:
|
|
6819
|
-
persistentId:
|
|
6820
|
-
designSystemVersionId:
|
|
6821
|
-
brandId:
|
|
6882
|
+
import { z as z244 } from "zod";
|
|
6883
|
+
var DTOTheme = z244.object({
|
|
6884
|
+
id: z244.string(),
|
|
6885
|
+
persistentId: z244.string(),
|
|
6886
|
+
designSystemVersionId: z244.string(),
|
|
6887
|
+
brandId: z244.string(),
|
|
6822
6888
|
meta: ObjectMeta,
|
|
6823
|
-
codeName:
|
|
6889
|
+
codeName: z244.string(),
|
|
6824
6890
|
overrides: DTOThemeOverride.array()
|
|
6825
6891
|
});
|
|
6826
|
-
var DTOThemeResponse =
|
|
6892
|
+
var DTOThemeResponse = z244.object({
|
|
6827
6893
|
theme: DTOTheme
|
|
6828
6894
|
});
|
|
6829
|
-
var DTOThemeListResponse =
|
|
6895
|
+
var DTOThemeListResponse = z244.object({
|
|
6830
6896
|
themes: DTOTheme.array()
|
|
6831
6897
|
});
|
|
6832
|
-
var DTOThemeCreatePayload =
|
|
6898
|
+
var DTOThemeCreatePayload = z244.object({
|
|
6833
6899
|
meta: ObjectMeta,
|
|
6834
|
-
persistentId:
|
|
6835
|
-
brandId:
|
|
6836
|
-
codeName:
|
|
6900
|
+
persistentId: z244.string(),
|
|
6901
|
+
brandId: z244.string(),
|
|
6902
|
+
codeName: z244.string(),
|
|
6837
6903
|
overrides: DTOThemeOverride.array()
|
|
6838
6904
|
});
|
|
6839
6905
|
|
|
6840
|
-
// src/api/dto/users/authenticated-user.ts
|
|
6841
|
-
import { z as z242 } from "zod";
|
|
6842
|
-
|
|
6843
|
-
// src/api/dto/users/user.ts
|
|
6844
|
-
import { z as z241 } from "zod";
|
|
6845
|
-
var DTOUserProfile = z241.object({
|
|
6846
|
-
name: z241.string(),
|
|
6847
|
-
nickname: z241.string().optional(),
|
|
6848
|
-
avatar: z241.string().optional()
|
|
6849
|
-
});
|
|
6850
|
-
var DTOUser = z241.object({
|
|
6851
|
-
id: z241.string(),
|
|
6852
|
-
email: z241.string(),
|
|
6853
|
-
profile: DTOUserProfile
|
|
6854
|
-
});
|
|
6855
|
-
var DTOUserGetResponse = z241.object({
|
|
6856
|
-
user: DTOUser
|
|
6857
|
-
});
|
|
6858
|
-
var DTOUserProfileUpdate = UserProfileUpdate;
|
|
6859
|
-
|
|
6860
|
-
// src/api/dto/users/authenticated-user.ts
|
|
6861
|
-
var DTOUserOnboardingDepartment = UserOnboardingDepartment;
|
|
6862
|
-
var DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
|
|
6863
|
-
var DTOUserSource = UserSource;
|
|
6864
|
-
var DTOUserOnboarding = z242.object({
|
|
6865
|
-
companyName: z242.string().optional(),
|
|
6866
|
-
numberOfPeopleInOrg: z242.string().optional(),
|
|
6867
|
-
numberOfPeopleInDesignTeam: z242.string().optional(),
|
|
6868
|
-
department: DTOUserOnboardingDepartment.optional(),
|
|
6869
|
-
jobTitle: z242.string().optional(),
|
|
6870
|
-
phase: z242.string().optional(),
|
|
6871
|
-
jobLevel: DTOUserOnboardingJobLevel.optional(),
|
|
6872
|
-
designSystemName: z242.string().optional(),
|
|
6873
|
-
defaultDestination: z242.string().optional(),
|
|
6874
|
-
isPageDraftOnboardingFinished: z242.boolean().optional()
|
|
6875
|
-
});
|
|
6876
|
-
var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
|
|
6877
|
-
onboarding: DTOUserOnboarding.optional()
|
|
6878
|
-
});
|
|
6879
|
-
var DTOAuthenticatedUser = DTOUser.extend({
|
|
6880
|
-
profile: DTOAuthenticatedUserProfile,
|
|
6881
|
-
createdAt: z242.coerce.date(),
|
|
6882
|
-
loggedOutAt: z242.coerce.date().optional(),
|
|
6883
|
-
source: DTOUserSource.optional()
|
|
6884
|
-
});
|
|
6885
|
-
var DTOAuthenticatedUserResponse = z242.object({
|
|
6886
|
-
user: DTOAuthenticatedUser
|
|
6887
|
-
});
|
|
6888
|
-
|
|
6889
|
-
// src/api/dto/users/update.ts
|
|
6890
|
-
import { z as z243 } from "zod";
|
|
6891
|
-
var DTOUserProfileUpdateResponse = z243.object({
|
|
6892
|
-
user: User
|
|
6893
|
-
});
|
|
6894
|
-
|
|
6895
6906
|
// src/api/endpoints/codegen/exporters.ts
|
|
6896
6907
|
var ExportersEndpoint = class {
|
|
6897
6908
|
constructor(requestExecutor) {
|
|
@@ -6982,7 +6993,7 @@ var ImportJobsEndpoint = class {
|
|
|
6982
6993
|
};
|
|
6983
6994
|
|
|
6984
6995
|
// src/api/endpoints/design-system/versions/overrides.ts
|
|
6985
|
-
import { z as
|
|
6996
|
+
import { z as z245 } from "zod";
|
|
6986
6997
|
var OverridesEndpoint = class {
|
|
6987
6998
|
constructor(requestExecutor) {
|
|
6988
6999
|
this.requestExecutor = requestExecutor;
|
|
@@ -6990,7 +7001,7 @@ var OverridesEndpoint = class {
|
|
|
6990
7001
|
create(dsId, versionId, themeId, body) {
|
|
6991
7002
|
return this.requestExecutor.json(
|
|
6992
7003
|
`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
|
|
6993
|
-
|
|
7004
|
+
z245.any(),
|
|
6994
7005
|
{
|
|
6995
7006
|
method: "POST",
|
|
6996
7007
|
body
|
|
@@ -7052,7 +7063,7 @@ var VersionStatsEndpoint = class {
|
|
|
7052
7063
|
};
|
|
7053
7064
|
|
|
7054
7065
|
// src/api/endpoints/design-system/versions/themes.ts
|
|
7055
|
-
import { z as
|
|
7066
|
+
import { z as z246 } from "zod";
|
|
7056
7067
|
var ThemesEndpoint = class {
|
|
7057
7068
|
constructor(requestExecutor) {
|
|
7058
7069
|
this.requestExecutor = requestExecutor;
|
|
@@ -7075,7 +7086,7 @@ var ThemesEndpoint = class {
|
|
|
7075
7086
|
});
|
|
7076
7087
|
}
|
|
7077
7088
|
delete(dsId, versionId, themeId) {
|
|
7078
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`,
|
|
7089
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z246.any(), {
|
|
7079
7090
|
method: "DELETE"
|
|
7080
7091
|
});
|
|
7081
7092
|
}
|
|
@@ -7159,7 +7170,7 @@ var DesignSystemBffEndpoint = class {
|
|
|
7159
7170
|
};
|
|
7160
7171
|
|
|
7161
7172
|
// src/api/endpoints/design-system/design-systems.ts
|
|
7162
|
-
import { z as
|
|
7173
|
+
import { z as z247 } from "zod";
|
|
7163
7174
|
|
|
7164
7175
|
// src/api/endpoints/design-system/members.ts
|
|
7165
7176
|
var DesignSystemMembersEndpoint = class {
|
|
@@ -7189,6 +7200,18 @@ var DesignSystemSourcesEndpoint = class {
|
|
|
7189
7200
|
}
|
|
7190
7201
|
};
|
|
7191
7202
|
|
|
7203
|
+
// src/api/endpoints/design-system/contact.ts
|
|
7204
|
+
var DesignSystemContactsEndpoint = class {
|
|
7205
|
+
constructor(requestExecutor) {
|
|
7206
|
+
this.requestExecutor = requestExecutor;
|
|
7207
|
+
}
|
|
7208
|
+
list(dsId) {
|
|
7209
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/contacts`, DTODesignSystemContactsResponse, {
|
|
7210
|
+
method: "GET"
|
|
7211
|
+
});
|
|
7212
|
+
}
|
|
7213
|
+
};
|
|
7214
|
+
|
|
7192
7215
|
// src/api/endpoints/design-system/design-systems.ts
|
|
7193
7216
|
var DesignSystemsEndpoint = class {
|
|
7194
7217
|
constructor(requestExecutor) {
|
|
@@ -7197,10 +7220,12 @@ var DesignSystemsEndpoint = class {
|
|
|
7197
7220
|
__publicField(this, "versions");
|
|
7198
7221
|
__publicField(this, "bff");
|
|
7199
7222
|
__publicField(this, "sources");
|
|
7223
|
+
__publicField(this, "contacts");
|
|
7200
7224
|
this.members = new DesignSystemMembersEndpoint(requestExecutor);
|
|
7201
7225
|
this.versions = new DesignSystemVersionsEndpoint(requestExecutor);
|
|
7202
7226
|
this.bff = new DesignSystemBffEndpoint(requestExecutor);
|
|
7203
7227
|
this.sources = new DesignSystemSourcesEndpoint(requestExecutor);
|
|
7228
|
+
this.contacts = new DesignSystemContactsEndpoint(requestExecutor);
|
|
7204
7229
|
}
|
|
7205
7230
|
create(body) {
|
|
7206
7231
|
return this.requestExecutor.json("/design-systems", DTODesignSystemResponse, { method: "POST", body });
|
|
@@ -7212,7 +7237,7 @@ var DesignSystemsEndpoint = class {
|
|
|
7212
7237
|
return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
|
|
7213
7238
|
}
|
|
7214
7239
|
delete(dsId) {
|
|
7215
|
-
return this.requestExecutor.json(`/design-systems/${dsId}`,
|
|
7240
|
+
return this.requestExecutor.json(`/design-systems/${dsId}`, z247.any(), { method: "DELETE" });
|
|
7216
7241
|
}
|
|
7217
7242
|
update(dsId, body) {
|
|
7218
7243
|
return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
|
|
@@ -7256,7 +7281,7 @@ var WorkspaceInvitationsEndpoint = class {
|
|
|
7256
7281
|
};
|
|
7257
7282
|
|
|
7258
7283
|
// src/api/endpoints/workspaces/workspace-members.ts
|
|
7259
|
-
import { z as
|
|
7284
|
+
import { z as z248 } from "zod";
|
|
7260
7285
|
var WorkspaceMembersEndpoint = class {
|
|
7261
7286
|
constructor(requestExecutor) {
|
|
7262
7287
|
this.requestExecutor = requestExecutor;
|
|
@@ -7273,7 +7298,7 @@ var WorkspaceMembersEndpoint = class {
|
|
|
7273
7298
|
});
|
|
7274
7299
|
}
|
|
7275
7300
|
invite(workspaceId, body) {
|
|
7276
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`,
|
|
7301
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z248.any(), { method: "POST", body });
|
|
7277
7302
|
}
|
|
7278
7303
|
delete(workspaceId, userId) {
|
|
7279
7304
|
return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
|
|
@@ -7283,7 +7308,7 @@ var WorkspaceMembersEndpoint = class {
|
|
|
7283
7308
|
};
|
|
7284
7309
|
|
|
7285
7310
|
// src/api/endpoints/workspaces/workspaces.ts
|
|
7286
|
-
import { z as
|
|
7311
|
+
import { z as z249 } from "zod";
|
|
7287
7312
|
var WorkspacesEndpoint = class {
|
|
7288
7313
|
constructor(requestExecutor) {
|
|
7289
7314
|
this.requestExecutor = requestExecutor;
|
|
@@ -7306,10 +7331,10 @@ var WorkspacesEndpoint = class {
|
|
|
7306
7331
|
return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
|
|
7307
7332
|
}
|
|
7308
7333
|
delete(workspaceId) {
|
|
7309
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}`,
|
|
7334
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}`, z249.any(), { method: "DELETE" });
|
|
7310
7335
|
}
|
|
7311
7336
|
subscription(workspaceId) {
|
|
7312
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`,
|
|
7337
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z249.any(), { method: "GET" });
|
|
7313
7338
|
}
|
|
7314
7339
|
};
|
|
7315
7340
|
|
|
@@ -7390,9 +7415,9 @@ ${bodyText}`,
|
|
|
7390
7415
|
|
|
7391
7416
|
// src/api/transport/request-executor.ts
|
|
7392
7417
|
import fetch from "node-fetch";
|
|
7393
|
-
import { z as
|
|
7394
|
-
var ResponseWrapper =
|
|
7395
|
-
result:
|
|
7418
|
+
import { z as z250 } from "zod";
|
|
7419
|
+
var ResponseWrapper = z250.object({
|
|
7420
|
+
result: z250.record(z250.any())
|
|
7396
7421
|
});
|
|
7397
7422
|
var RequestExecutor = class {
|
|
7398
7423
|
constructor(testServerConfig) {
|
|
@@ -7520,7 +7545,7 @@ function generateHash(input, debug = false) {
|
|
|
7520
7545
|
}
|
|
7521
7546
|
|
|
7522
7547
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
7523
|
-
import { z as
|
|
7548
|
+
import { z as z251 } from "zod";
|
|
7524
7549
|
|
|
7525
7550
|
// src/yjs/version-room/base.ts
|
|
7526
7551
|
var VersionRoomBaseYDoc = class {
|
|
@@ -8050,24 +8075,24 @@ var FrontendVersionRoomYDoc = class {
|
|
|
8050
8075
|
};
|
|
8051
8076
|
|
|
8052
8077
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
8053
|
-
var DocumentationHierarchySettings =
|
|
8054
|
-
routingVersion:
|
|
8055
|
-
isDraftFeatureAdopted:
|
|
8056
|
-
isApprovalFeatureEnabled:
|
|
8057
|
-
approvalRequiredForPublishing:
|
|
8078
|
+
var DocumentationHierarchySettings = z251.object({
|
|
8079
|
+
routingVersion: z251.string(),
|
|
8080
|
+
isDraftFeatureAdopted: z251.boolean(),
|
|
8081
|
+
isApprovalFeatureEnabled: z251.boolean(),
|
|
8082
|
+
approvalRequiredForPublishing: z251.boolean()
|
|
8058
8083
|
});
|
|
8059
8084
|
function yjsToDocumentationHierarchy(doc) {
|
|
8060
8085
|
return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
|
|
8061
8086
|
}
|
|
8062
8087
|
|
|
8063
8088
|
// src/yjs/design-system-content/item-configuration.ts
|
|
8064
|
-
import { z as
|
|
8065
|
-
var DTODocumentationPageRoomHeaderData =
|
|
8066
|
-
title:
|
|
8089
|
+
import { z as z252 } from "zod";
|
|
8090
|
+
var DTODocumentationPageRoomHeaderData = z252.object({
|
|
8091
|
+
title: z252.string(),
|
|
8067
8092
|
configuration: DTODocumentationItemConfigurationV2
|
|
8068
8093
|
});
|
|
8069
|
-
var DTODocumentationPageRoomHeaderDataUpdate =
|
|
8070
|
-
title:
|
|
8094
|
+
var DTODocumentationPageRoomHeaderDataUpdate = z252.object({
|
|
8095
|
+
title: z252.string().optional(),
|
|
8071
8096
|
configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
|
|
8072
8097
|
});
|
|
8073
8098
|
function itemConfigurationToYjs(yDoc, item) {
|
|
@@ -8118,7 +8143,7 @@ function yjsToItemConfiguration(yDoc) {
|
|
|
8118
8143
|
header: rawHeader
|
|
8119
8144
|
};
|
|
8120
8145
|
return {
|
|
8121
|
-
title:
|
|
8146
|
+
title: z252.string().parse(title),
|
|
8122
8147
|
configuration: DTODocumentationItemConfigurationV2.parse(rawConfig)
|
|
8123
8148
|
};
|
|
8124
8149
|
}
|
|
@@ -8128,9 +8153,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
|
|
|
8128
8153
|
var PageSectionEditorModel = PageSectionEditorModelV2;
|
|
8129
8154
|
|
|
8130
8155
|
// src/yjs/docs-editor/model/page.ts
|
|
8131
|
-
import { z as
|
|
8132
|
-
var DocumentationPageEditorModel =
|
|
8133
|
-
blocks:
|
|
8156
|
+
import { z as z253 } from "zod";
|
|
8157
|
+
var DocumentationPageEditorModel = z253.object({
|
|
8158
|
+
blocks: z253.array(DocumentationPageContentItem)
|
|
8134
8159
|
});
|
|
8135
8160
|
|
|
8136
8161
|
// src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
|
|
@@ -11651,7 +11676,7 @@ var blocks = [
|
|
|
11651
11676
|
|
|
11652
11677
|
// src/yjs/docs-editor/prosemirror-to-blocks.ts
|
|
11653
11678
|
import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
|
|
11654
|
-
import { z as
|
|
11679
|
+
import { z as z254 } from "zod";
|
|
11655
11680
|
function yDocToPage(yDoc, definitions) {
|
|
11656
11681
|
return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
|
|
11657
11682
|
}
|
|
@@ -11731,7 +11756,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
|
|
|
11731
11756
|
return null;
|
|
11732
11757
|
return {
|
|
11733
11758
|
id,
|
|
11734
|
-
title: getProsemirrorAttribute(prosemirrorNode, "title",
|
|
11759
|
+
title: getProsemirrorAttribute(prosemirrorNode, "title", z254.string()) ?? "",
|
|
11735
11760
|
columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
|
|
11736
11761
|
};
|
|
11737
11762
|
}
|
|
@@ -11766,7 +11791,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
|
|
|
11766
11791
|
});
|
|
11767
11792
|
}
|
|
11768
11793
|
function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
|
|
11769
|
-
const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId",
|
|
11794
|
+
const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z254.string());
|
|
11770
11795
|
if (!definitionId) {
|
|
11771
11796
|
console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
|
|
11772
11797
|
return [];
|
|
@@ -11808,7 +11833,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
|
|
|
11808
11833
|
if (!id)
|
|
11809
11834
|
return null;
|
|
11810
11835
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
11811
|
-
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type",
|
|
11836
|
+
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z254.string().optional()));
|
|
11812
11837
|
return {
|
|
11813
11838
|
id,
|
|
11814
11839
|
type: "Block",
|
|
@@ -11936,10 +11961,10 @@ function parseRichTextAttribute(mark) {
|
|
|
11936
11961
|
return null;
|
|
11937
11962
|
}
|
|
11938
11963
|
function parseProsemirrorLink(mark) {
|
|
11939
|
-
const href = getProsemirrorAttribute(mark, "href",
|
|
11964
|
+
const href = getProsemirrorAttribute(mark, "href", z254.string().optional());
|
|
11940
11965
|
if (!href)
|
|
11941
11966
|
return null;
|
|
11942
|
-
const target = getProsemirrorAttribute(mark, "target",
|
|
11967
|
+
const target = getProsemirrorAttribute(mark, "target", z254.string().optional());
|
|
11943
11968
|
const openInNewTab = target === "_blank";
|
|
11944
11969
|
if (href.startsWith("@")) {
|
|
11945
11970
|
return {
|
|
@@ -11958,10 +11983,10 @@ function parseProsemirrorLink(mark) {
|
|
|
11958
11983
|
}
|
|
11959
11984
|
}
|
|
11960
11985
|
function parseProsemirrorCommentHighlight(mark) {
|
|
11961
|
-
const highlightId = getProsemirrorAttribute(mark, "highlightId",
|
|
11986
|
+
const highlightId = getProsemirrorAttribute(mark, "highlightId", z254.string().optional());
|
|
11962
11987
|
if (!highlightId)
|
|
11963
11988
|
return null;
|
|
11964
|
-
const isResolved = getProsemirrorAttribute(mark, "resolved",
|
|
11989
|
+
const isResolved = getProsemirrorAttribute(mark, "resolved", z254.boolean().optional()) ?? false;
|
|
11965
11990
|
return {
|
|
11966
11991
|
type: "Comment",
|
|
11967
11992
|
commentHighlightId: highlightId,
|
|
@@ -11973,7 +11998,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
11973
11998
|
if (!id)
|
|
11974
11999
|
return null;
|
|
11975
12000
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
11976
|
-
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder",
|
|
12001
|
+
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z254.boolean().optional()) !== false;
|
|
11977
12002
|
const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
|
|
11978
12003
|
if (!tableChild) {
|
|
11979
12004
|
return emptyTable(id, variantId, 0);
|
|
@@ -12020,9 +12045,9 @@ function parseAsTableCell(prosemirrorNode) {
|
|
|
12020
12045
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
12021
12046
|
if (!id)
|
|
12022
12047
|
return null;
|
|
12023
|
-
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign",
|
|
12048
|
+
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z254.string().optional());
|
|
12024
12049
|
let columnWidth;
|
|
12025
|
-
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth",
|
|
12050
|
+
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z254.array(z254.number()).nullish());
|
|
12026
12051
|
if (columnWidthArray) {
|
|
12027
12052
|
columnWidth = roundDimension(columnWidthArray[0]);
|
|
12028
12053
|
}
|
|
@@ -12060,7 +12085,7 @@ function parseAsTableNode(prosemirrorNode) {
|
|
|
12060
12085
|
value: parseRichText(prosemirrorNode.content ?? [])
|
|
12061
12086
|
};
|
|
12062
12087
|
case "image":
|
|
12063
|
-
const items = getProsemirrorAttribute(prosemirrorNode, "items",
|
|
12088
|
+
const items = getProsemirrorAttribute(prosemirrorNode, "items", z254.string());
|
|
12064
12089
|
if (!items)
|
|
12065
12090
|
return null;
|
|
12066
12091
|
const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
|
|
@@ -12180,7 +12205,7 @@ function definitionExpectsPlaceholderItem(definition) {
|
|
|
12180
12205
|
);
|
|
12181
12206
|
}
|
|
12182
12207
|
function parseBlockItems(prosemirrorNode, definition) {
|
|
12183
|
-
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items",
|
|
12208
|
+
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z254.string());
|
|
12184
12209
|
if (!itemsString)
|
|
12185
12210
|
return null;
|
|
12186
12211
|
const itemsJson = JSON.parse(itemsString);
|
|
@@ -12192,18 +12217,18 @@ function parseBlockItems(prosemirrorNode, definition) {
|
|
|
12192
12217
|
}
|
|
12193
12218
|
function parseAppearance(prosemirrorNode) {
|
|
12194
12219
|
let appearance = {};
|
|
12195
|
-
const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance",
|
|
12220
|
+
const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z254.string().optional());
|
|
12196
12221
|
if (rawAppearanceString) {
|
|
12197
12222
|
const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
|
|
12198
12223
|
if (parsedAppearance.success) {
|
|
12199
12224
|
appearance = parsedAppearance.data;
|
|
12200
12225
|
}
|
|
12201
12226
|
}
|
|
12202
|
-
const columns = getProsemirrorAttribute(prosemirrorNode, "columns",
|
|
12227
|
+
const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z254.number().optional());
|
|
12203
12228
|
if (columns) {
|
|
12204
12229
|
appearance.numberOfColumns = columns;
|
|
12205
12230
|
}
|
|
12206
|
-
const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor",
|
|
12231
|
+
const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z254.string().optional());
|
|
12207
12232
|
if (backgroundColor) {
|
|
12208
12233
|
const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
|
|
12209
12234
|
if (parsedColor.success) {
|
|
@@ -12298,13 +12323,13 @@ function valueSchemaForPropertyType(type) {
|
|
|
12298
12323
|
}
|
|
12299
12324
|
}
|
|
12300
12325
|
function getProsemirrorBlockId(prosemirrorNode) {
|
|
12301
|
-
const id = getProsemirrorAttribute(prosemirrorNode, "id",
|
|
12326
|
+
const id = getProsemirrorAttribute(prosemirrorNode, "id", z254.string());
|
|
12302
12327
|
if (!id)
|
|
12303
12328
|
console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
|
|
12304
12329
|
return id;
|
|
12305
12330
|
}
|
|
12306
12331
|
function getProsemirrorBlockVariantId(prosemirrorNode) {
|
|
12307
|
-
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(
|
|
12332
|
+
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z254.string()));
|
|
12308
12333
|
}
|
|
12309
12334
|
function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
|
|
12310
12335
|
const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
|
|
@@ -12398,6 +12423,7 @@ export {
|
|
|
12398
12423
|
DTODeleteDocumentationTabGroupInput,
|
|
12399
12424
|
DTODesignElementsDataDiffResponse,
|
|
12400
12425
|
DTODesignSystem,
|
|
12426
|
+
DTODesignSystemContactsResponse,
|
|
12401
12427
|
DTODesignSystemCreateInput,
|
|
12402
12428
|
DTODesignSystemInvitation,
|
|
12403
12429
|
DTODesignSystemMember,
|