@supernova-studio/client 1.10.18 → 1.10.20
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 +20651 -28447
- package/dist/index.d.ts +20651 -28447
- package/dist/index.js +54 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1098 -1073
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -418,35 +418,21 @@ var StripeSubscriptionStatus = StripeSubscriptionStatusSchema.enum;
|
|
|
418
418
|
var InternalStatus = InternalStatusSchema.enum;
|
|
419
419
|
var BillingType = BillingTypeSchema.enum;
|
|
420
420
|
var Subscription = z13.object({
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
internalStatus: InternalStatusSchema
|
|
427
|
-
|
|
421
|
+
card: nullishToOptional(CardSchema),
|
|
422
|
+
seats: z13.number(),
|
|
423
|
+
seatLimit: z13.number(),
|
|
424
|
+
status: nullishToOptional(InternalStatusSchema),
|
|
425
|
+
subscriptionStatus: nullishToOptional(StripeSubscriptionStatusSchema),
|
|
426
|
+
internalStatus: nullishToOptional(InternalStatusSchema),
|
|
427
|
+
stripeSubscriptionId: nullishToOptional(z13.string()),
|
|
428
|
+
stripeCustomerId: nullishToOptional(z13.string()),
|
|
428
429
|
product: ProductCodeSchema,
|
|
429
|
-
featuresSummary: FeaturesSummary.optional(),
|
|
430
|
-
stripeProductDescription: z13.string().optional(),
|
|
431
|
-
stripeProductFeatures: z13.array(z13.string()).optional(),
|
|
432
|
-
stripeProductAdditionalFeatures: z13.array(z13.string()).optional(),
|
|
433
|
-
stripeSubscriptionMainItemId: z13.string().optional(),
|
|
434
430
|
planPriceId: z13.string(),
|
|
435
431
|
planInterval: BillingIntervalSchema,
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
currentPeriodStart: z13.string().optional(),
|
|
441
|
-
currentPeriodEnd: z13.string().optional(),
|
|
442
|
-
subscriptionStatusUpdatedAt: z13.string().optional(),
|
|
443
|
-
cancelAt: z13.string().nullish(),
|
|
444
|
-
card: CardSchema.optional(),
|
|
445
|
-
// New
|
|
446
|
-
amount: z13.number().nullish(),
|
|
447
|
-
isTrial: z13.boolean().optional(),
|
|
448
|
-
billingType: BillingTypeSchema.optional(),
|
|
449
|
-
daysUntilDue: z13.number().optional()
|
|
432
|
+
currentPeriodStart: nullishToOptional(z13.string()),
|
|
433
|
+
currentPeriodEnd: nullishToOptional(z13.string()),
|
|
434
|
+
cancelAt: nullishToOptional(z13.string()),
|
|
435
|
+
subscriptionStatusUpdatedAt: nullishToOptional(z13.string())
|
|
450
436
|
});
|
|
451
437
|
var ForgeChatMessageSenderType = z14.enum([
|
|
452
438
|
"User",
|
|
@@ -5588,7 +5574,8 @@ var ForgeProject = z198.object({
|
|
|
5588
5574
|
tags: ForgeProjectTag,
|
|
5589
5575
|
updatedAt: z198.coerce.date().optional(),
|
|
5590
5576
|
workspaceId: z198.string(),
|
|
5591
|
-
accessMode: ForgeProjectAccessMode
|
|
5577
|
+
accessMode: ForgeProjectAccessMode,
|
|
5578
|
+
isArchived: z198.boolean().optional()
|
|
5592
5579
|
});
|
|
5593
5580
|
var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
|
|
5594
5581
|
OAuthProviderNames2["Figma"] = "figma";
|
|
@@ -6286,7 +6273,7 @@ var DTOPagination = z211.object({
|
|
|
6286
6273
|
});
|
|
6287
6274
|
|
|
6288
6275
|
// src/api/dto/bff/app-bootstrap-data.ts
|
|
6289
|
-
import { z as
|
|
6276
|
+
import { z as z254 } from "zod";
|
|
6290
6277
|
|
|
6291
6278
|
// src/api/dto/design-systems/brand.ts
|
|
6292
6279
|
import { z as z212 } from "zod";
|
|
@@ -6942,7 +6929,7 @@ var DTOStorybookEntryListResponse = z229.object({ entries: z229.array(DTOStorybo
|
|
|
6942
6929
|
var DTOStorybookEntryResponse = z229.object({ entry: DTOStorybookEntry });
|
|
6943
6930
|
|
|
6944
6931
|
// src/api/dto/design-systems/user-design-systems.ts
|
|
6945
|
-
import { z as
|
|
6932
|
+
import { z as z238 } from "zod";
|
|
6946
6933
|
|
|
6947
6934
|
// src/api/dto/workspaces/git.ts
|
|
6948
6935
|
import { z as z230 } from "zod";
|
|
@@ -7104,42 +7091,77 @@ var DTOWorkspaceMembersListResponse = z235.object({
|
|
|
7104
7091
|
members: z235.array(DTOWorkspaceMember)
|
|
7105
7092
|
});
|
|
7106
7093
|
|
|
7094
|
+
// src/api/dto/workspaces/subscription.ts
|
|
7095
|
+
import z236 from "zod";
|
|
7096
|
+
var DTOSubscription = z236.object({
|
|
7097
|
+
stripeSubscriptionId: z236.string().optional(),
|
|
7098
|
+
stripeCustomerId: z236.string().optional(),
|
|
7099
|
+
status: InternalStatusSchema.optional(),
|
|
7100
|
+
subscriptionStatus: StripeSubscriptionStatusSchema.optional(),
|
|
7101
|
+
internalStatus: InternalStatusSchema.optional(),
|
|
7102
|
+
product: ProductCodeSchema,
|
|
7103
|
+
featuresSummary: FeaturesSummary.optional(),
|
|
7104
|
+
stripeProductDescription: z236.string().optional(),
|
|
7105
|
+
stripeProductFeatures: z236.array(z236.string()).optional(),
|
|
7106
|
+
stripeProductAdditionalFeatures: z236.array(z236.string()).optional(),
|
|
7107
|
+
stripeSubscriptionMainItemId: z236.string().optional(),
|
|
7108
|
+
planPriceId: z236.string(),
|
|
7109
|
+
planInterval: BillingIntervalSchema,
|
|
7110
|
+
isPricePerCreator: z236.boolean().optional(),
|
|
7111
|
+
legacyVersion: z236.string().optional(),
|
|
7112
|
+
seats: z236.number(),
|
|
7113
|
+
seatLimit: z236.number(),
|
|
7114
|
+
currentPeriodStart: z236.string().optional(),
|
|
7115
|
+
currentPeriodEnd: z236.string().optional(),
|
|
7116
|
+
subscriptionStatusUpdatedAt: z236.string().optional(),
|
|
7117
|
+
cancelAt: z236.string().nullish(),
|
|
7118
|
+
card: CardSchema.optional(),
|
|
7119
|
+
// New
|
|
7120
|
+
amount: z236.number(),
|
|
7121
|
+
isTrial: z236.boolean(),
|
|
7122
|
+
billingType: BillingTypeSchema.optional(),
|
|
7123
|
+
daysUntilDue: z236.number().optional()
|
|
7124
|
+
});
|
|
7125
|
+
var DTOSubscriptionResponse = z236.object({
|
|
7126
|
+
subscription: DTOSubscription
|
|
7127
|
+
});
|
|
7128
|
+
|
|
7107
7129
|
// src/api/dto/workspaces/untyped-data.ts
|
|
7108
|
-
import { z as
|
|
7130
|
+
import { z as z237 } from "zod";
|
|
7109
7131
|
var DTOWorkspaceUntypedData = WorkspaceUntypedData;
|
|
7110
|
-
var DTOWorkspaceUntypedDataListResponse =
|
|
7132
|
+
var DTOWorkspaceUntypedDataListResponse = z237.object({
|
|
7111
7133
|
data: DTOWorkspaceUntypedData.array()
|
|
7112
7134
|
});
|
|
7113
|
-
var DTOWorkspaceUntypedDataResponse =
|
|
7135
|
+
var DTOWorkspaceUntypedDataResponse = z237.object({
|
|
7114
7136
|
data: DTOWorkspaceUntypedData
|
|
7115
7137
|
});
|
|
7116
|
-
var DTOWorkspaceUntypedDataCreatePayload =
|
|
7117
|
-
value:
|
|
7138
|
+
var DTOWorkspaceUntypedDataCreatePayload = z237.object({
|
|
7139
|
+
value: z237.unknown()
|
|
7118
7140
|
});
|
|
7119
|
-
var DTOWorkspaceUntypedDataUpdatePayload =
|
|
7120
|
-
value:
|
|
7141
|
+
var DTOWorkspaceUntypedDataUpdatePayload = z237.object({
|
|
7142
|
+
value: z237.unknown()
|
|
7121
7143
|
});
|
|
7122
7144
|
|
|
7123
7145
|
// src/api/dto/design-systems/user-design-systems.ts
|
|
7124
|
-
var DTOUserDesignSystemsResponse =
|
|
7146
|
+
var DTOUserDesignSystemsResponse = z238.object({
|
|
7125
7147
|
designSystems: DTODesignSystem.array(),
|
|
7126
7148
|
workspaces: DTOWorkspace.array()
|
|
7127
7149
|
});
|
|
7128
7150
|
|
|
7129
7151
|
// src/api/dto/design-systems/version-room.ts
|
|
7130
|
-
import { z as
|
|
7131
|
-
var DTODesignSystemVersionRoom =
|
|
7132
|
-
id:
|
|
7152
|
+
import { z as z239 } from "zod";
|
|
7153
|
+
var DTODesignSystemVersionRoom = z239.object({
|
|
7154
|
+
id: z239.string()
|
|
7133
7155
|
});
|
|
7134
|
-
var DTODesignSystemVersionRoomResponse =
|
|
7156
|
+
var DTODesignSystemVersionRoomResponse = z239.object({
|
|
7135
7157
|
room: DTODesignSystemVersionRoom
|
|
7136
7158
|
});
|
|
7137
7159
|
|
|
7138
7160
|
// src/api/dto/design-systems/version.ts
|
|
7139
|
-
import { z as
|
|
7161
|
+
import { z as z252 } from "zod";
|
|
7140
7162
|
|
|
7141
7163
|
// src/api/payloads/design-systems/update-design-system.ts
|
|
7142
|
-
import { z as
|
|
7164
|
+
import { z as z240 } from "zod";
|
|
7143
7165
|
var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
7144
7166
|
id: true,
|
|
7145
7167
|
workspaceId: true,
|
|
@@ -7151,56 +7173,56 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
|
7151
7173
|
}).extend({
|
|
7152
7174
|
meta: ObjectMeta.partial().optional()
|
|
7153
7175
|
});
|
|
7154
|
-
var DTODesignSystemUpdateAccessModeInput =
|
|
7176
|
+
var DTODesignSystemUpdateAccessModeInput = z240.object({
|
|
7155
7177
|
accessMode: DesignSystemAccessMode,
|
|
7156
|
-
retain:
|
|
7157
|
-
userIds:
|
|
7158
|
-
inviteIds:
|
|
7178
|
+
retain: z240.object({
|
|
7179
|
+
userIds: z240.string().array(),
|
|
7180
|
+
inviteIds: z240.string().array()
|
|
7159
7181
|
}).optional()
|
|
7160
7182
|
});
|
|
7161
7183
|
|
|
7162
7184
|
// src/api/payloads/design-systems/version.ts
|
|
7163
|
-
import { z as
|
|
7164
|
-
var ObjectMeta2 =
|
|
7165
|
-
name:
|
|
7166
|
-
description:
|
|
7185
|
+
import { z as z241 } from "zod";
|
|
7186
|
+
var ObjectMeta2 = z241.object({
|
|
7187
|
+
name: z241.string().max(150).optional(),
|
|
7188
|
+
description: z241.string().max(2e3).optional()
|
|
7167
7189
|
});
|
|
7168
7190
|
function validateDesignSystemVersion(version) {
|
|
7169
7191
|
const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
|
|
7170
7192
|
return urlCompliantRegex.test(version);
|
|
7171
7193
|
}
|
|
7172
|
-
var DTOCreateVersionInput =
|
|
7194
|
+
var DTOCreateVersionInput = z241.object({
|
|
7173
7195
|
meta: ObjectMeta2,
|
|
7174
|
-
version:
|
|
7196
|
+
version: z241.string().refine(validateDesignSystemVersion, {
|
|
7175
7197
|
message: "Invalid semantic versioning format"
|
|
7176
7198
|
}),
|
|
7177
|
-
changeLog:
|
|
7199
|
+
changeLog: z241.string().optional()
|
|
7178
7200
|
});
|
|
7179
|
-
var DTOUpdateVersionInput =
|
|
7201
|
+
var DTOUpdateVersionInput = z241.object({
|
|
7180
7202
|
meta: ObjectMeta2,
|
|
7181
|
-
version:
|
|
7203
|
+
version: z241.string(),
|
|
7182
7204
|
// required for PUT, but not editable
|
|
7183
|
-
changeLog:
|
|
7205
|
+
changeLog: z241.string()
|
|
7184
7206
|
});
|
|
7185
7207
|
|
|
7186
7208
|
// src/api/payloads/documentation/analytics.ts
|
|
7187
|
-
import { z as
|
|
7188
|
-
var DTODocumentationAnalyticsTimeFrameComparison =
|
|
7189
|
-
referencePeriod:
|
|
7190
|
-
start:
|
|
7191
|
-
end:
|
|
7209
|
+
import { z as z242 } from "zod";
|
|
7210
|
+
var DTODocumentationAnalyticsTimeFrameComparison = z242.object({
|
|
7211
|
+
referencePeriod: z242.object({
|
|
7212
|
+
start: z242.coerce.date(),
|
|
7213
|
+
end: z242.coerce.date().optional()
|
|
7192
7214
|
}),
|
|
7193
|
-
baselinePeriod:
|
|
7194
|
-
start:
|
|
7195
|
-
end:
|
|
7215
|
+
baselinePeriod: z242.object({
|
|
7216
|
+
start: z242.coerce.date(),
|
|
7217
|
+
end: z242.coerce.date().optional()
|
|
7196
7218
|
})
|
|
7197
7219
|
});
|
|
7198
|
-
var DTODocumentationAnalyticsDiffPayload =
|
|
7199
|
-
timeFrames:
|
|
7220
|
+
var DTODocumentationAnalyticsDiffPayload = z242.object({
|
|
7221
|
+
timeFrames: z242.array(DTODocumentationAnalyticsTimeFrameComparison)
|
|
7200
7222
|
});
|
|
7201
7223
|
|
|
7202
7224
|
// src/api/payloads/documentation/block-definitions.ts
|
|
7203
|
-
import { z as
|
|
7225
|
+
import { z as z243 } from "zod";
|
|
7204
7226
|
|
|
7205
7227
|
// src/api/dto/documentation/block-definition.ts
|
|
7206
7228
|
var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
|
|
@@ -7212,79 +7234,79 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
|
|
|
7212
7234
|
var DTOPageBlockDefinition = PageBlockDefinition;
|
|
7213
7235
|
|
|
7214
7236
|
// src/api/payloads/documentation/block-definitions.ts
|
|
7215
|
-
var DTOGetBlockDefinitionsQuery =
|
|
7216
|
-
files:
|
|
7237
|
+
var DTOGetBlockDefinitionsQuery = z243.object({
|
|
7238
|
+
files: z243.coerce.boolean().optional()
|
|
7217
7239
|
});
|
|
7218
|
-
var DTOGetBlockDefinitionsOutput =
|
|
7219
|
-
definitions:
|
|
7240
|
+
var DTOGetBlockDefinitionsOutput = z243.object({
|
|
7241
|
+
definitions: z243.array(DTOPageBlockDefinition)
|
|
7220
7242
|
});
|
|
7221
7243
|
|
|
7222
7244
|
// src/api/payloads/documentation/design-data-doc-diff.ts
|
|
7223
|
-
import { z as
|
|
7224
|
-
var DTODocumentationPublishTypeQueryParams =
|
|
7225
|
-
environment:
|
|
7245
|
+
import { z as z244 } from "zod";
|
|
7246
|
+
var DTODocumentationPublishTypeQueryParams = z244.object({
|
|
7247
|
+
environment: z244.enum(["Live", "Preview"])
|
|
7226
7248
|
});
|
|
7227
7249
|
|
|
7228
7250
|
// src/api/payloads/export/pipeline.ts
|
|
7229
|
-
import { z as
|
|
7251
|
+
import { z as z246 } from "zod";
|
|
7230
7252
|
|
|
7231
7253
|
// src/api/dto/export/exporter-property.ts
|
|
7232
|
-
import { z as
|
|
7233
|
-
var PrimitiveValue2 =
|
|
7234
|
-
var ArrayValue2 =
|
|
7235
|
-
var ObjectValue2 =
|
|
7254
|
+
import { z as z245 } from "zod";
|
|
7255
|
+
var PrimitiveValue2 = z245.number().or(z245.boolean()).or(z245.string());
|
|
7256
|
+
var ArrayValue2 = z245.array(z245.string());
|
|
7257
|
+
var ObjectValue2 = z245.record(z245.string());
|
|
7236
7258
|
var DTOExporterPropertyValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
|
|
7237
|
-
var DTOExporterPropertyType =
|
|
7238
|
-
var PropertyDefinitionBase2 =
|
|
7239
|
-
key:
|
|
7240
|
-
title:
|
|
7241
|
-
description:
|
|
7242
|
-
category:
|
|
7243
|
-
dependsOn:
|
|
7244
|
-
});
|
|
7245
|
-
var DTOExporterPropertyDefinitionEnumOption =
|
|
7246
|
-
label:
|
|
7247
|
-
description:
|
|
7259
|
+
var DTOExporterPropertyType = z245.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
|
|
7260
|
+
var PropertyDefinitionBase2 = z245.object({
|
|
7261
|
+
key: z245.string(),
|
|
7262
|
+
title: z245.string(),
|
|
7263
|
+
description: z245.string(),
|
|
7264
|
+
category: z245.string().optional(),
|
|
7265
|
+
dependsOn: z245.record(z245.boolean()).optional()
|
|
7266
|
+
});
|
|
7267
|
+
var DTOExporterPropertyDefinitionEnumOption = z245.object({
|
|
7268
|
+
label: z245.string(),
|
|
7269
|
+
description: z245.string()
|
|
7248
7270
|
});
|
|
7249
7271
|
var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
|
|
7250
|
-
type:
|
|
7251
|
-
options:
|
|
7252
|
-
default:
|
|
7272
|
+
type: z245.literal(DTOExporterPropertyType.Enum.Enum),
|
|
7273
|
+
options: z245.record(DTOExporterPropertyDefinitionEnumOption),
|
|
7274
|
+
default: z245.string()
|
|
7253
7275
|
});
|
|
7254
7276
|
var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
|
|
7255
|
-
type:
|
|
7256
|
-
default:
|
|
7277
|
+
type: z245.literal(DTOExporterPropertyType.Enum.Boolean),
|
|
7278
|
+
default: z245.boolean()
|
|
7257
7279
|
});
|
|
7258
7280
|
var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
|
|
7259
|
-
type:
|
|
7260
|
-
default:
|
|
7261
|
-
isMultiline:
|
|
7281
|
+
type: z245.literal(DTOExporterPropertyType.Enum.String),
|
|
7282
|
+
default: z245.string(),
|
|
7283
|
+
isMultiline: z245.boolean().optional()
|
|
7262
7284
|
});
|
|
7263
7285
|
var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
|
|
7264
|
-
type:
|
|
7265
|
-
default:
|
|
7286
|
+
type: z245.literal(DTOExporterPropertyType.Enum.Number),
|
|
7287
|
+
default: z245.number()
|
|
7266
7288
|
});
|
|
7267
7289
|
var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase2.extend({
|
|
7268
|
-
type:
|
|
7290
|
+
type: z245.literal(DTOExporterPropertyType.Enum.Array),
|
|
7269
7291
|
default: ArrayValue2
|
|
7270
7292
|
});
|
|
7271
7293
|
var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
|
|
7272
|
-
type:
|
|
7294
|
+
type: z245.literal(DTOExporterPropertyType.Enum.Object),
|
|
7273
7295
|
default: ObjectValue2,
|
|
7274
|
-
allowedKeys:
|
|
7275
|
-
options:
|
|
7276
|
-
type:
|
|
7296
|
+
allowedKeys: z245.object({
|
|
7297
|
+
options: z245.string().array(),
|
|
7298
|
+
type: z245.string()
|
|
7277
7299
|
}).optional(),
|
|
7278
|
-
allowedValues:
|
|
7279
|
-
type:
|
|
7300
|
+
allowedValues: z245.object({
|
|
7301
|
+
type: z245.string()
|
|
7280
7302
|
}).optional()
|
|
7281
7303
|
});
|
|
7282
7304
|
var DTOExporterPropertyDefinitionCode = PropertyDefinitionBase2.extend({
|
|
7283
|
-
type:
|
|
7284
|
-
language:
|
|
7285
|
-
default:
|
|
7305
|
+
type: z245.literal(DTOExporterPropertyType.Enum.Code),
|
|
7306
|
+
language: z245.string(),
|
|
7307
|
+
default: z245.string()
|
|
7286
7308
|
});
|
|
7287
|
-
var DTOExporterPropertyDefinition =
|
|
7309
|
+
var DTOExporterPropertyDefinition = z245.discriminatedUnion("type", [
|
|
7288
7310
|
DTOExporterPropertyDefinitionEnum,
|
|
7289
7311
|
DTOExporterPropertyDefinitionBoolean,
|
|
7290
7312
|
DTOExporterPropertyDefinitionString,
|
|
@@ -7293,84 +7315,84 @@ var DTOExporterPropertyDefinition = z244.discriminatedUnion("type", [
|
|
|
7293
7315
|
DTOExporterPropertyDefinitionObject,
|
|
7294
7316
|
DTOExporterPropertyDefinitionCode
|
|
7295
7317
|
]);
|
|
7296
|
-
var DTOExporterPropertyDefinitionsResponse =
|
|
7318
|
+
var DTOExporterPropertyDefinitionsResponse = z245.object({
|
|
7297
7319
|
properties: DTOExporterPropertyDefinition.array()
|
|
7298
7320
|
});
|
|
7299
|
-
var DTOExporterPropertyValueMap =
|
|
7321
|
+
var DTOExporterPropertyValueMap = z245.record(DTOExporterPropertyValue);
|
|
7300
7322
|
|
|
7301
7323
|
// src/api/payloads/export/pipeline.ts
|
|
7302
|
-
var GitDestinationOptions =
|
|
7303
|
-
branch:
|
|
7304
|
-
commitMessage:
|
|
7305
|
-
commitAuthorName:
|
|
7306
|
-
commitAuthorEmail:
|
|
7307
|
-
pullRequestTitle:
|
|
7308
|
-
pullRequestDescription:
|
|
7309
|
-
relativePath:
|
|
7310
|
-
purgeDirectory:
|
|
7311
|
-
});
|
|
7312
|
-
var DTOPipelineCreateBody =
|
|
7313
|
-
name:
|
|
7314
|
-
exporterId:
|
|
7315
|
-
designSystemId:
|
|
7316
|
-
isEnabled:
|
|
7324
|
+
var GitDestinationOptions = z246.object({
|
|
7325
|
+
branch: z246.string().min(1).nullish(),
|
|
7326
|
+
commitMessage: z246.string().min(1).nullish(),
|
|
7327
|
+
commitAuthorName: z246.string().min(1).nullish(),
|
|
7328
|
+
commitAuthorEmail: z246.string().email().nullish(),
|
|
7329
|
+
pullRequestTitle: z246.string().min(1).nullish(),
|
|
7330
|
+
pullRequestDescription: z246.string().min(1).nullish(),
|
|
7331
|
+
relativePath: z246.string().nullish(),
|
|
7332
|
+
purgeDirectory: z246.boolean().nullish()
|
|
7333
|
+
});
|
|
7334
|
+
var DTOPipelineCreateBody = z246.object({
|
|
7335
|
+
name: z246.string(),
|
|
7336
|
+
exporterId: z246.string(),
|
|
7337
|
+
designSystemId: z246.string(),
|
|
7338
|
+
isEnabled: z246.boolean(),
|
|
7317
7339
|
eventType: PipelineEventType,
|
|
7318
|
-
brandPersistentId:
|
|
7319
|
-
themePersistentId:
|
|
7320
|
-
themePersistentIds:
|
|
7340
|
+
brandPersistentId: z246.string().optional(),
|
|
7341
|
+
themePersistentId: z246.string().optional(),
|
|
7342
|
+
themePersistentIds: z246.string().array().optional(),
|
|
7321
7343
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
7322
7344
|
destination: PipelineDestinationType.optional(),
|
|
7323
7345
|
gitQuery: GitObjectsQuery,
|
|
7324
|
-
destinations:
|
|
7346
|
+
destinations: z246.object({
|
|
7325
7347
|
s3: ExporterDestinationS3.nullish(),
|
|
7326
7348
|
azure: ExporterDestinationAzure.nullish(),
|
|
7327
7349
|
bitbucket: ExporterDestinationBitbucket.nullish(),
|
|
7328
7350
|
github: ExporterDestinationGithub.nullish(),
|
|
7329
7351
|
gitlab: ExporterDestinationGitlab.nullish(),
|
|
7330
7352
|
documentation: ExporterDestinationDocs.nullish(),
|
|
7331
|
-
webhookUrl:
|
|
7353
|
+
webhookUrl: z246.string().nullish()
|
|
7332
7354
|
})
|
|
7333
7355
|
});
|
|
7334
|
-
var DTOPipelineUpdateBody =
|
|
7335
|
-
exporterId:
|
|
7336
|
-
name:
|
|
7337
|
-
isEnabled:
|
|
7356
|
+
var DTOPipelineUpdateBody = z246.object({
|
|
7357
|
+
exporterId: z246.string().optional(),
|
|
7358
|
+
name: z246.string().optional(),
|
|
7359
|
+
isEnabled: z246.boolean().optional(),
|
|
7338
7360
|
eventType: PipelineEventType.optional(),
|
|
7339
|
-
brandPersistentId:
|
|
7340
|
-
themePersistentId:
|
|
7341
|
-
themePersistentIds:
|
|
7361
|
+
brandPersistentId: z246.string().optional(),
|
|
7362
|
+
themePersistentId: z246.string().optional(),
|
|
7363
|
+
themePersistentIds: z246.string().array().optional(),
|
|
7342
7364
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
7343
7365
|
destination: PipelineDestinationType.optional(),
|
|
7344
7366
|
gitQuery: GitObjectsQuery.optional(),
|
|
7345
|
-
destinations:
|
|
7367
|
+
destinations: z246.object({
|
|
7346
7368
|
s3: ExporterDestinationS3.nullish(),
|
|
7347
7369
|
azure: ExporterDestinationAzure.nullish(),
|
|
7348
7370
|
bitbucket: ExporterDestinationBitbucket.nullish(),
|
|
7349
7371
|
github: ExporterDestinationGithub.nullish(),
|
|
7350
7372
|
gitlab: ExporterDestinationGitlab.nullish(),
|
|
7351
7373
|
documentation: ExporterDestinationDocs.nullish(),
|
|
7352
|
-
webhookUrl:
|
|
7374
|
+
webhookUrl: z246.string().nullish()
|
|
7353
7375
|
}).optional(),
|
|
7354
7376
|
gitDestinationOptions: GitDestinationOptions.partial().optional()
|
|
7355
7377
|
});
|
|
7356
|
-
var DTOPipelineTriggerBody =
|
|
7357
|
-
designSystemVersionId:
|
|
7378
|
+
var DTOPipelineTriggerBody = z246.object({
|
|
7379
|
+
designSystemVersionId: z246.string()
|
|
7358
7380
|
});
|
|
7359
7381
|
|
|
7360
7382
|
// src/api/payloads/liveblocks/auth.ts
|
|
7361
|
-
import { z as
|
|
7362
|
-
var DTOLiveblocksAuthRequest =
|
|
7363
|
-
room:
|
|
7383
|
+
import { z as z247 } from "zod";
|
|
7384
|
+
var DTOLiveblocksAuthRequest = z247.object({
|
|
7385
|
+
room: z247.string().optional()
|
|
7364
7386
|
});
|
|
7365
7387
|
|
|
7366
7388
|
// src/api/payloads/users/notifications/notification-settings.ts
|
|
7367
|
-
import { z as
|
|
7368
|
-
var DTOUpdateUserNotificationSettingsPayload =
|
|
7389
|
+
import { z as z248 } from "zod";
|
|
7390
|
+
var DTOUpdateUserNotificationSettingsPayload = z248.object({
|
|
7369
7391
|
notificationSettings: UserNotificationSettings
|
|
7370
7392
|
});
|
|
7371
|
-
var DTOUserNotificationSettingsResponse =
|
|
7372
|
-
userId:
|
|
7373
|
-
workspaceId:
|
|
7393
|
+
var DTOUserNotificationSettingsResponse = z248.object({
|
|
7394
|
+
userId: z248.string(),
|
|
7395
|
+
workspaceId: z248.string(),
|
|
7374
7396
|
notificationSettings: UserNotificationSettings
|
|
7375
7397
|
});
|
|
7376
7398
|
|
|
@@ -7378,13 +7400,13 @@ var DTOUserNotificationSettingsResponse = z247.object({
|
|
|
7378
7400
|
var DTOUserProfileUpdatePayload = UserProfileUpdate;
|
|
7379
7401
|
|
|
7380
7402
|
// src/api/payloads/workspaces/transfer-ownership.ts
|
|
7381
|
-
import { z as
|
|
7382
|
-
var DTOTransferOwnershipPayload =
|
|
7383
|
-
newOwnerId:
|
|
7403
|
+
import { z as z249 } from "zod";
|
|
7404
|
+
var DTOTransferOwnershipPayload = z249.object({
|
|
7405
|
+
newOwnerId: z249.string()
|
|
7384
7406
|
});
|
|
7385
7407
|
|
|
7386
7408
|
// src/api/payloads/workspaces/workspace-configuration.ts
|
|
7387
|
-
import { z as
|
|
7409
|
+
import { z as z250 } from "zod";
|
|
7388
7410
|
var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
|
|
7389
7411
|
function validateSsoPayload(ssoPayload) {
|
|
7390
7412
|
const keys = [];
|
|
@@ -7407,21 +7429,21 @@ function validateSsoPayload(ssoPayload) {
|
|
|
7407
7429
|
keys
|
|
7408
7430
|
};
|
|
7409
7431
|
}
|
|
7410
|
-
var NpmRegistryInput =
|
|
7411
|
-
enabledScopes:
|
|
7412
|
-
customRegistryUrl:
|
|
7413
|
-
bypassProxy:
|
|
7414
|
-
npmProxyRegistryConfigId:
|
|
7415
|
-
npmProxyVersion:
|
|
7416
|
-
registryType:
|
|
7417
|
-
authType:
|
|
7418
|
-
authHeaderName:
|
|
7419
|
-
authHeaderValue:
|
|
7420
|
-
accessToken:
|
|
7421
|
-
username:
|
|
7422
|
-
password:
|
|
7423
|
-
});
|
|
7424
|
-
var WorkspaceConfigurationPayload =
|
|
7432
|
+
var NpmRegistryInput = z250.object({
|
|
7433
|
+
enabledScopes: z250.array(z250.string()),
|
|
7434
|
+
customRegistryUrl: z250.string().optional(),
|
|
7435
|
+
bypassProxy: z250.boolean().optional(),
|
|
7436
|
+
npmProxyRegistryConfigId: z250.string().optional(),
|
|
7437
|
+
npmProxyVersion: z250.number().optional(),
|
|
7438
|
+
registryType: z250.string(),
|
|
7439
|
+
authType: z250.string(),
|
|
7440
|
+
authHeaderName: z250.string(),
|
|
7441
|
+
authHeaderValue: z250.string(),
|
|
7442
|
+
accessToken: z250.string(),
|
|
7443
|
+
username: z250.string(),
|
|
7444
|
+
password: z250.string()
|
|
7445
|
+
});
|
|
7446
|
+
var WorkspaceConfigurationPayload = z250.object({
|
|
7425
7447
|
ipWhitelist: WorkspaceIpSettings.partial().optional(),
|
|
7426
7448
|
sso: SsoProvider.partial().optional(),
|
|
7427
7449
|
npmRegistrySettings: NpmRegistryInput.partial().optional(),
|
|
@@ -7429,107 +7451,107 @@ var WorkspaceConfigurationPayload = z249.object({
|
|
|
7429
7451
|
});
|
|
7430
7452
|
|
|
7431
7453
|
// src/api/payloads/workspaces/workspace-integrations.ts
|
|
7432
|
-
import { z as
|
|
7433
|
-
var DTOWorkspaceIntegrationOauthInput =
|
|
7454
|
+
import { z as z251 } from "zod";
|
|
7455
|
+
var DTOWorkspaceIntegrationOauthInput = z251.object({
|
|
7434
7456
|
type: IntegrationType
|
|
7435
7457
|
});
|
|
7436
|
-
var DTOWorkspaceIntegrationPATInput =
|
|
7458
|
+
var DTOWorkspaceIntegrationPATInput = z251.object({
|
|
7437
7459
|
type: IntegrationType,
|
|
7438
7460
|
token: IntegrationToken
|
|
7439
7461
|
});
|
|
7440
|
-
var DTOWorkspaceIntegrationGetGitObjectsInput =
|
|
7441
|
-
organization:
|
|
7462
|
+
var DTOWorkspaceIntegrationGetGitObjectsInput = z251.object({
|
|
7463
|
+
organization: z251.string().optional(),
|
|
7442
7464
|
// Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
|
|
7443
|
-
project:
|
|
7465
|
+
project: z251.string().optional(),
|
|
7444
7466
|
// Only for Bitbucket and Azure
|
|
7445
|
-
repository:
|
|
7467
|
+
repository: z251.string().optional(),
|
|
7446
7468
|
// For all providers. Pay attention for Gitlab, they call repositories "projects".
|
|
7447
|
-
branch:
|
|
7469
|
+
branch: z251.string().optional(),
|
|
7448
7470
|
// For all providers, useful for PR creations.
|
|
7449
|
-
user:
|
|
7471
|
+
user: z251.string().optional()
|
|
7450
7472
|
// Only for Gitlab User Repositories
|
|
7451
7473
|
});
|
|
7452
7474
|
|
|
7453
7475
|
// src/api/dto/design-systems/version.ts
|
|
7454
|
-
var DTODesignSystemVersion =
|
|
7455
|
-
id:
|
|
7456
|
-
createdAt:
|
|
7476
|
+
var DTODesignSystemVersion = z252.object({
|
|
7477
|
+
id: z252.string(),
|
|
7478
|
+
createdAt: z252.coerce.date(),
|
|
7457
7479
|
meta: ObjectMeta,
|
|
7458
|
-
version:
|
|
7459
|
-
isReadonly:
|
|
7460
|
-
changeLog:
|
|
7461
|
-
designSystemId:
|
|
7480
|
+
version: z252.string(),
|
|
7481
|
+
isReadonly: z252.boolean(),
|
|
7482
|
+
changeLog: z252.string(),
|
|
7483
|
+
designSystemId: z252.string()
|
|
7462
7484
|
});
|
|
7463
|
-
var DTODesignSystemVersionsListResponse =
|
|
7464
|
-
designSystemVersions:
|
|
7485
|
+
var DTODesignSystemVersionsListResponse = z252.object({
|
|
7486
|
+
designSystemVersions: z252.array(DTODesignSystemVersion)
|
|
7465
7487
|
});
|
|
7466
|
-
var DTODesignSystemVersionGetResponse =
|
|
7488
|
+
var DTODesignSystemVersionGetResponse = z252.object({
|
|
7467
7489
|
designSystemVersion: DTODesignSystemVersion
|
|
7468
7490
|
});
|
|
7469
|
-
var DTODesignSystemVersionCreationResponse =
|
|
7491
|
+
var DTODesignSystemVersionCreationResponse = z252.object({
|
|
7470
7492
|
meta: ObjectMeta,
|
|
7471
|
-
version:
|
|
7472
|
-
changeLog:
|
|
7473
|
-
isReadOnly:
|
|
7474
|
-
designSystemId:
|
|
7475
|
-
jobId:
|
|
7476
|
-
});
|
|
7477
|
-
var VersionSQSPayload =
|
|
7478
|
-
jobId:
|
|
7479
|
-
designSystemId:
|
|
7493
|
+
version: z252.string(),
|
|
7494
|
+
changeLog: z252.string(),
|
|
7495
|
+
isReadOnly: z252.boolean(),
|
|
7496
|
+
designSystemId: z252.string(),
|
|
7497
|
+
jobId: z252.string()
|
|
7498
|
+
});
|
|
7499
|
+
var VersionSQSPayload = z252.object({
|
|
7500
|
+
jobId: z252.string(),
|
|
7501
|
+
designSystemId: z252.string(),
|
|
7480
7502
|
input: DTOCreateVersionInput
|
|
7481
7503
|
});
|
|
7482
|
-
var DTODesignSystemVersionJobsResponse =
|
|
7483
|
-
jobs:
|
|
7504
|
+
var DTODesignSystemVersionJobsResponse = z252.object({
|
|
7505
|
+
jobs: z252.array(VersionCreationJob)
|
|
7484
7506
|
});
|
|
7485
|
-
var DTODesignSystemVersionJobStatusResponse =
|
|
7507
|
+
var DTODesignSystemVersionJobStatusResponse = z252.object({
|
|
7486
7508
|
job: VersionCreationJob
|
|
7487
7509
|
});
|
|
7488
7510
|
|
|
7489
7511
|
// src/api/dto/design-systems/view.ts
|
|
7490
|
-
import { z as
|
|
7491
|
-
var DTOElementViewColumnSharedAttributes =
|
|
7492
|
-
id:
|
|
7493
|
-
persistentId:
|
|
7494
|
-
width:
|
|
7512
|
+
import { z as z253 } from "zod";
|
|
7513
|
+
var DTOElementViewColumnSharedAttributes = z253.object({
|
|
7514
|
+
id: z253.string(),
|
|
7515
|
+
persistentId: z253.string(),
|
|
7516
|
+
width: z253.number()
|
|
7495
7517
|
});
|
|
7496
7518
|
var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
7497
|
-
type:
|
|
7519
|
+
type: z253.literal("BaseProperty"),
|
|
7498
7520
|
basePropertyType: ElementViewBaseColumnType
|
|
7499
7521
|
});
|
|
7500
7522
|
var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
7501
|
-
type:
|
|
7502
|
-
propertyDefinitionId:
|
|
7523
|
+
type: z253.literal("PropertyDefinition"),
|
|
7524
|
+
propertyDefinitionId: z253.string()
|
|
7503
7525
|
});
|
|
7504
7526
|
var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
7505
|
-
type:
|
|
7506
|
-
themeId:
|
|
7527
|
+
type: z253.literal("Theme"),
|
|
7528
|
+
themeId: z253.string()
|
|
7507
7529
|
});
|
|
7508
|
-
var DTOElementViewColumn =
|
|
7530
|
+
var DTOElementViewColumn = z253.discriminatedUnion("type", [
|
|
7509
7531
|
DTOElementViewBasePropertyColumn,
|
|
7510
7532
|
DTOElementViewPropertyDefinitionColumn,
|
|
7511
7533
|
DTOElementViewThemeColumn
|
|
7512
7534
|
]);
|
|
7513
|
-
var DTOElementView =
|
|
7535
|
+
var DTOElementView = z253.object({
|
|
7514
7536
|
meta: ObjectMeta,
|
|
7515
|
-
persistentId:
|
|
7537
|
+
persistentId: z253.string(),
|
|
7516
7538
|
targetElementType: ElementPropertyTargetType,
|
|
7517
|
-
id:
|
|
7518
|
-
isDefault:
|
|
7519
|
-
columns:
|
|
7539
|
+
id: z253.string(),
|
|
7540
|
+
isDefault: z253.boolean(),
|
|
7541
|
+
columns: z253.array(DTOElementViewColumn)
|
|
7520
7542
|
});
|
|
7521
|
-
var DTOElementViewsListResponse =
|
|
7522
|
-
elementDataViews:
|
|
7543
|
+
var DTOElementViewsListResponse = z253.object({
|
|
7544
|
+
elementDataViews: z253.array(DTOElementView)
|
|
7523
7545
|
});
|
|
7524
7546
|
|
|
7525
7547
|
// src/api/dto/bff/app-bootstrap-data.ts
|
|
7526
|
-
var DTOAppBootstrapDataQuery =
|
|
7527
|
-
preferredWorkspaceId:
|
|
7528
|
-
preferredDesignSystemId:
|
|
7529
|
-
preferredVersionId:
|
|
7530
|
-
preferredBrandId:
|
|
7548
|
+
var DTOAppBootstrapDataQuery = z254.object({
|
|
7549
|
+
preferredWorkspaceId: z254.string().optional(),
|
|
7550
|
+
preferredDesignSystemId: z254.string().optional(),
|
|
7551
|
+
preferredVersionId: z254.string().optional(),
|
|
7552
|
+
preferredBrandId: z254.string().optional()
|
|
7531
7553
|
});
|
|
7532
|
-
var DTOAppBootstrapDataResponse =
|
|
7554
|
+
var DTOAppBootstrapDataResponse = z254.object({
|
|
7533
7555
|
workspaceMembership: DTOUserWorkspaceMembership.optional(),
|
|
7534
7556
|
designSystem: DTODesignSystem.optional(),
|
|
7535
7557
|
version: DTODesignSystemVersion.optional(),
|
|
@@ -7537,92 +7559,92 @@ var DTOAppBootstrapDataResponse = z253.object({
|
|
|
7537
7559
|
});
|
|
7538
7560
|
|
|
7539
7561
|
// src/api/dto/collections/token-collection.ts
|
|
7540
|
-
import { z as
|
|
7541
|
-
var DTOTokenCollection =
|
|
7542
|
-
id:
|
|
7543
|
-
persistentId:
|
|
7544
|
-
designSystemVersionId:
|
|
7562
|
+
import { z as z255 } from "zod";
|
|
7563
|
+
var DTOTokenCollection = z255.object({
|
|
7564
|
+
id: z255.string(),
|
|
7565
|
+
persistentId: z255.string(),
|
|
7566
|
+
designSystemVersionId: z255.string(),
|
|
7545
7567
|
meta: ObjectMeta,
|
|
7546
7568
|
backgroundColor: ColorTokenInlineData.optional(),
|
|
7547
|
-
elementPropertyOptionId:
|
|
7548
|
-
createdAt:
|
|
7549
|
-
updatedAt:
|
|
7569
|
+
elementPropertyOptionId: z255.string(),
|
|
7570
|
+
createdAt: z255.coerce.date(),
|
|
7571
|
+
updatedAt: z255.coerce.date(),
|
|
7550
7572
|
origin: CollectionOrigin.optional()
|
|
7551
7573
|
});
|
|
7552
|
-
var DTOTokenCollectionsListReponse =
|
|
7574
|
+
var DTOTokenCollectionsListReponse = z255.object({
|
|
7553
7575
|
collections: DTOTokenCollection.array()
|
|
7554
7576
|
});
|
|
7555
7577
|
|
|
7556
7578
|
// src/api/dto/design-tokens/design-token.ts
|
|
7557
|
-
import { z as
|
|
7579
|
+
import { z as z256 } from "zod";
|
|
7558
7580
|
var DTODesignToken = DesignTokenTypedData.and(
|
|
7559
|
-
|
|
7560
|
-
id:
|
|
7561
|
-
persistentId:
|
|
7562
|
-
designSystemVersionId:
|
|
7581
|
+
z256.object({
|
|
7582
|
+
id: z256.string(),
|
|
7583
|
+
persistentId: z256.string(),
|
|
7584
|
+
designSystemVersionId: z256.string(),
|
|
7563
7585
|
meta: ObjectMeta,
|
|
7564
7586
|
originStyle: DesignTokenOrigin.optional(),
|
|
7565
|
-
brandId:
|
|
7566
|
-
collectionId:
|
|
7567
|
-
updatedAt:
|
|
7587
|
+
brandId: z256.string(),
|
|
7588
|
+
collectionId: z256.string().optional(),
|
|
7589
|
+
updatedAt: z256.coerce.date()
|
|
7568
7590
|
})
|
|
7569
7591
|
);
|
|
7570
|
-
var DTODesignTokenListResponse =
|
|
7592
|
+
var DTODesignTokenListResponse = z256.object({
|
|
7571
7593
|
tokens: DTODesignToken.array()
|
|
7572
7594
|
});
|
|
7573
|
-
var DTODesignTokenResponse =
|
|
7595
|
+
var DTODesignTokenResponse = z256.object({
|
|
7574
7596
|
token: DTODesignToken
|
|
7575
7597
|
});
|
|
7576
|
-
var DTODesignTokenGroup =
|
|
7577
|
-
id:
|
|
7598
|
+
var DTODesignTokenGroup = z256.object({
|
|
7599
|
+
id: z256.string(),
|
|
7578
7600
|
tokenType: DesignTokenType,
|
|
7579
|
-
persistentId:
|
|
7580
|
-
isRoot:
|
|
7581
|
-
brandId:
|
|
7601
|
+
persistentId: z256.string(),
|
|
7602
|
+
isRoot: z256.boolean(),
|
|
7603
|
+
brandId: z256.string(),
|
|
7582
7604
|
meta: ObjectMeta,
|
|
7583
|
-
childrenIds:
|
|
7605
|
+
childrenIds: z256.string().array()
|
|
7584
7606
|
});
|
|
7585
|
-
var DTODesignTokenGroupListResponse =
|
|
7607
|
+
var DTODesignTokenGroupListResponse = z256.object({
|
|
7586
7608
|
groups: DTODesignTokenGroup.array()
|
|
7587
7609
|
});
|
|
7588
|
-
var DTODesignTokenGroupResponse =
|
|
7610
|
+
var DTODesignTokenGroupResponse = z256.object({
|
|
7589
7611
|
group: DTODesignTokenGroup
|
|
7590
7612
|
});
|
|
7591
7613
|
var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
|
|
7592
|
-
|
|
7593
|
-
persistentId:
|
|
7614
|
+
z256.object({
|
|
7615
|
+
persistentId: z256.string(),
|
|
7594
7616
|
meta: ObjectMeta,
|
|
7595
|
-
brandId:
|
|
7596
|
-
groupPersistentId:
|
|
7617
|
+
brandId: z256.string(),
|
|
7618
|
+
groupPersistentId: z256.string().optional()
|
|
7597
7619
|
})
|
|
7598
7620
|
);
|
|
7599
|
-
var DTODesignTokenGroupCreatePayload =
|
|
7600
|
-
persistentId:
|
|
7621
|
+
var DTODesignTokenGroupCreatePayload = z256.object({
|
|
7622
|
+
persistentId: z256.string(),
|
|
7601
7623
|
meta: ObjectMeta,
|
|
7602
|
-
brandId:
|
|
7603
|
-
parentId:
|
|
7624
|
+
brandId: z256.string(),
|
|
7625
|
+
parentId: z256.string().optional(),
|
|
7604
7626
|
tokenType: DesignTokenType,
|
|
7605
|
-
childrenIds:
|
|
7627
|
+
childrenIds: z256.string().array()
|
|
7606
7628
|
});
|
|
7607
7629
|
|
|
7608
7630
|
// src/api/dto/documentation/analytics-v2.ts
|
|
7609
|
-
import { z as
|
|
7610
|
-
var DTODocumentationAnalyticsTimeFrame =
|
|
7611
|
-
start:
|
|
7612
|
-
end:
|
|
7631
|
+
import { z as z257 } from "zod";
|
|
7632
|
+
var DTODocumentationAnalyticsTimeFrame = z257.object({
|
|
7633
|
+
start: z257.coerce.date(),
|
|
7634
|
+
end: z257.coerce.date().optional()
|
|
7613
7635
|
});
|
|
7614
|
-
var DTOPublishedDocVisitData =
|
|
7615
|
-
timestamp:
|
|
7616
|
-
versionId:
|
|
7617
|
-
locale:
|
|
7618
|
-
visits:
|
|
7619
|
-
sessions:
|
|
7636
|
+
var DTOPublishedDocVisitData = z257.object({
|
|
7637
|
+
timestamp: z257.coerce.date(),
|
|
7638
|
+
versionId: z257.string(),
|
|
7639
|
+
locale: z257.string().optional(),
|
|
7640
|
+
visits: z257.number(),
|
|
7641
|
+
sessions: z257.number()
|
|
7620
7642
|
});
|
|
7621
7643
|
var DTOPublishedDocPageVisitData = DTOPublishedDocVisitData.extend({
|
|
7622
|
-
pagePersistentId:
|
|
7644
|
+
pagePersistentId: z257.string()
|
|
7623
7645
|
});
|
|
7624
|
-
var DTOPublishedDocVisitHeatMapDay =
|
|
7625
|
-
var DTOPublishedDocVisitHeatMapWeek =
|
|
7646
|
+
var DTOPublishedDocVisitHeatMapDay = z257.number().array().length(12);
|
|
7647
|
+
var DTOPublishedDocVisitHeatMapWeek = z257.object({
|
|
7626
7648
|
/**
|
|
7627
7649
|
* For which timeframe it was calculated
|
|
7628
7650
|
*/
|
|
@@ -7635,65 +7657,65 @@ var DTOPublishedDocVisitHeatMapWeek = z256.object({
|
|
|
7635
7657
|
sat: DTOPublishedDocVisitHeatMapDay,
|
|
7636
7658
|
sun: DTOPublishedDocVisitHeatMapDay
|
|
7637
7659
|
});
|
|
7638
|
-
var DTOPublishedDocAnalyticsComparisonData =
|
|
7660
|
+
var DTOPublishedDocAnalyticsComparisonData = z257.object({
|
|
7639
7661
|
/**
|
|
7640
7662
|
* For which timeframe it was calculated
|
|
7641
7663
|
*/
|
|
7642
7664
|
timeFrame: DTODocumentationAnalyticsTimeFrame,
|
|
7643
|
-
priorVisitCount:
|
|
7644
|
-
priorSessionCount:
|
|
7645
|
-
currentVisitCount:
|
|
7646
|
-
currentSessionCount:
|
|
7665
|
+
priorVisitCount: z257.number(),
|
|
7666
|
+
priorSessionCount: z257.number(),
|
|
7667
|
+
currentVisitCount: z257.number(),
|
|
7668
|
+
currentSessionCount: z257.number()
|
|
7647
7669
|
});
|
|
7648
7670
|
var DTOPublishedDocPageAnalyticsComparisonData = DTOPublishedDocAnalyticsComparisonData.extend({
|
|
7649
|
-
pagePersistentId:
|
|
7671
|
+
pagePersistentId: z257.string()
|
|
7650
7672
|
});
|
|
7651
|
-
var DTODocumentationPageAnalyticsResponse =
|
|
7673
|
+
var DTODocumentationPageAnalyticsResponse = z257.object({
|
|
7652
7674
|
globalAnalytics: DTOPublishedDocVisitData.array(),
|
|
7653
7675
|
pageAnalytics: DTOPublishedDocPageVisitData.array(),
|
|
7654
7676
|
heatMapData: DTOPublishedDocVisitHeatMapWeek.array(),
|
|
7655
7677
|
comparisonData: DTOPublishedDocAnalyticsComparisonData.array(),
|
|
7656
7678
|
pageComparisonData: DTOPublishedDocPageAnalyticsComparisonData.array()
|
|
7657
7679
|
});
|
|
7658
|
-
var DTODocumentationAnalyticsRequest =
|
|
7659
|
-
timeFrames:
|
|
7680
|
+
var DTODocumentationAnalyticsRequest = z257.object({
|
|
7681
|
+
timeFrames: z257.array(DTODocumentationAnalyticsTimeFrame)
|
|
7660
7682
|
});
|
|
7661
7683
|
|
|
7662
7684
|
// src/api/dto/documentation/analytics.ts
|
|
7663
|
-
import { z as
|
|
7664
|
-
var DTODocumentationPageAnalyticsDifference =
|
|
7665
|
-
startDate:
|
|
7666
|
-
endDate:
|
|
7667
|
-
currentVisitCount:
|
|
7668
|
-
currentSessionCount:
|
|
7669
|
-
priorVisitCount:
|
|
7670
|
-
priorSessionCount:
|
|
7685
|
+
import { z as z258 } from "zod";
|
|
7686
|
+
var DTODocumentationPageAnalyticsDifference = z258.object({
|
|
7687
|
+
startDate: z258.coerce.date(),
|
|
7688
|
+
endDate: z258.coerce.date().optional(),
|
|
7689
|
+
currentVisitCount: z258.number(),
|
|
7690
|
+
currentSessionCount: z258.number(),
|
|
7691
|
+
priorVisitCount: z258.number(),
|
|
7692
|
+
priorSessionCount: z258.number()
|
|
7671
7693
|
});
|
|
7672
|
-
var DTODocumentationPageIntervalDifferenceResponse =
|
|
7673
|
-
differences:
|
|
7694
|
+
var DTODocumentationPageIntervalDifferenceResponse = z258.object({
|
|
7695
|
+
differences: z258.array(DTODocumentationPageAnalyticsDifference)
|
|
7674
7696
|
});
|
|
7675
7697
|
|
|
7676
7698
|
// src/api/dto/documentation/anchor.ts
|
|
7677
|
-
import { z as
|
|
7699
|
+
import { z as z259 } from "zod";
|
|
7678
7700
|
var DTODocumentationPageAnchor = DocumentationPageAnchor;
|
|
7679
|
-
var DTOGetDocumentationPageAnchorsResponse =
|
|
7680
|
-
anchors:
|
|
7701
|
+
var DTOGetDocumentationPageAnchorsResponse = z259.object({
|
|
7702
|
+
anchors: z259.array(DTODocumentationPageAnchor)
|
|
7681
7703
|
});
|
|
7682
7704
|
|
|
7683
7705
|
// src/api/dto/documentation/approvals.ts
|
|
7684
|
-
import { z as
|
|
7685
|
-
var DTODocumentationPageApprovalState =
|
|
7706
|
+
import { z as z260 } from "zod";
|
|
7707
|
+
var DTODocumentationPageApprovalState = z260.object({
|
|
7686
7708
|
approvalState: DocumentationPageApprovalState,
|
|
7687
|
-
pagePersistentId:
|
|
7688
|
-
updatedByUserId:
|
|
7689
|
-
designSystemVersionId:
|
|
7690
|
-
updatedAt:
|
|
7691
|
-
createdAt:
|
|
7692
|
-
});
|
|
7693
|
-
var DTODocumentationGroupApprovalState =
|
|
7694
|
-
persistentId:
|
|
7695
|
-
groupPersistentId:
|
|
7696
|
-
designSystemVersionId:
|
|
7709
|
+
pagePersistentId: z260.string(),
|
|
7710
|
+
updatedByUserId: z260.string(),
|
|
7711
|
+
designSystemVersionId: z260.string(),
|
|
7712
|
+
updatedAt: z260.coerce.date(),
|
|
7713
|
+
createdAt: z260.coerce.date()
|
|
7714
|
+
});
|
|
7715
|
+
var DTODocumentationGroupApprovalState = z260.object({
|
|
7716
|
+
persistentId: z260.string(),
|
|
7717
|
+
groupPersistentId: z260.string(),
|
|
7718
|
+
designSystemVersionId: z260.string(),
|
|
7697
7719
|
approvalState: DocumentationPageApprovalState
|
|
7698
7720
|
});
|
|
7699
7721
|
|
|
@@ -7701,68 +7723,68 @@ var DTODocumentationGroupApprovalState = z259.object({
|
|
|
7701
7723
|
var DTOPageBlockItemV2 = PageBlockItemV2;
|
|
7702
7724
|
|
|
7703
7725
|
// src/api/dto/documentation/documentation-page-snapshot.ts
|
|
7704
|
-
import { z as
|
|
7726
|
+
import { z as z265 } from "zod";
|
|
7705
7727
|
|
|
7706
7728
|
// src/api/dto/elements/documentation/page-v2.ts
|
|
7707
|
-
import { z as
|
|
7729
|
+
import { z as z264 } from "zod";
|
|
7708
7730
|
|
|
7709
7731
|
// src/api/dto/elements/documentation/draft-state.ts
|
|
7710
|
-
import { z as
|
|
7732
|
+
import { z as z262 } from "zod";
|
|
7711
7733
|
|
|
7712
7734
|
// src/api/dto/elements/documentation/item-configuration-v2.ts
|
|
7713
|
-
import { z as
|
|
7735
|
+
import { z as z261 } from "zod";
|
|
7714
7736
|
var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
|
|
7715
|
-
var DTODocumentationItemConfigurationV2 =
|
|
7716
|
-
showSidebar:
|
|
7717
|
-
isPrivate:
|
|
7718
|
-
isHidden:
|
|
7737
|
+
var DTODocumentationItemConfigurationV2 = z261.object({
|
|
7738
|
+
showSidebar: z261.boolean(),
|
|
7739
|
+
isPrivate: z261.boolean(),
|
|
7740
|
+
isHidden: z261.boolean(),
|
|
7719
7741
|
header: DTODocumentationItemHeaderV2
|
|
7720
7742
|
});
|
|
7721
7743
|
|
|
7722
7744
|
// src/api/dto/elements/documentation/draft-state.ts
|
|
7723
|
-
var DTODocumentationDraftChangeType =
|
|
7724
|
-
var DTODocumentationDraftStateCreated =
|
|
7725
|
-
changeType:
|
|
7726
|
-
});
|
|
7727
|
-
var DTODocumentationDraftStateUpdated =
|
|
7728
|
-
changeType:
|
|
7729
|
-
changes:
|
|
7730
|
-
previousTitle:
|
|
7745
|
+
var DTODocumentationDraftChangeType = z262.enum(["Created", "Updated", "Deleted"]);
|
|
7746
|
+
var DTODocumentationDraftStateCreated = z262.object({
|
|
7747
|
+
changeType: z262.literal(DTODocumentationDraftChangeType.enum.Created)
|
|
7748
|
+
});
|
|
7749
|
+
var DTODocumentationDraftStateUpdated = z262.object({
|
|
7750
|
+
changeType: z262.literal(DTODocumentationDraftChangeType.enum.Updated),
|
|
7751
|
+
changes: z262.object({
|
|
7752
|
+
previousTitle: z262.string().optional(),
|
|
7731
7753
|
previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
|
|
7732
|
-
previousContentHash:
|
|
7754
|
+
previousContentHash: z262.string().optional()
|
|
7733
7755
|
})
|
|
7734
7756
|
});
|
|
7735
|
-
var DTODocumentationDraftStateDeleted =
|
|
7736
|
-
changeType:
|
|
7737
|
-
deletedAt:
|
|
7738
|
-
deletedByUserId:
|
|
7757
|
+
var DTODocumentationDraftStateDeleted = z262.object({
|
|
7758
|
+
changeType: z262.literal(DTODocumentationDraftChangeType.enum.Deleted),
|
|
7759
|
+
deletedAt: z262.coerce.date(),
|
|
7760
|
+
deletedByUserId: z262.string()
|
|
7739
7761
|
});
|
|
7740
|
-
var DTODocumentationDraftState =
|
|
7762
|
+
var DTODocumentationDraftState = z262.discriminatedUnion("changeType", [
|
|
7741
7763
|
DTODocumentationDraftStateCreated,
|
|
7742
7764
|
DTODocumentationDraftStateUpdated,
|
|
7743
7765
|
DTODocumentationDraftStateDeleted
|
|
7744
7766
|
]);
|
|
7745
7767
|
|
|
7746
7768
|
// src/api/dto/elements/documentation/metadata.ts
|
|
7747
|
-
import { z as
|
|
7748
|
-
var DTODocumentationPublishMetadata =
|
|
7749
|
-
lastPublishedByUserId:
|
|
7750
|
-
lastPublishedAt:
|
|
7769
|
+
import { z as z263 } from "zod";
|
|
7770
|
+
var DTODocumentationPublishMetadata = z263.object({
|
|
7771
|
+
lastPublishedByUserId: z263.string(),
|
|
7772
|
+
lastPublishedAt: z263.coerce.date()
|
|
7751
7773
|
});
|
|
7752
7774
|
|
|
7753
7775
|
// src/api/dto/elements/documentation/page-v2.ts
|
|
7754
|
-
var DTODocumentationPageV2 =
|
|
7755
|
-
id:
|
|
7756
|
-
persistentId:
|
|
7757
|
-
designSystemVersionId:
|
|
7758
|
-
title:
|
|
7776
|
+
var DTODocumentationPageV2 = z264.object({
|
|
7777
|
+
id: z264.string(),
|
|
7778
|
+
persistentId: z264.string(),
|
|
7779
|
+
designSystemVersionId: z264.string(),
|
|
7780
|
+
title: z264.string(),
|
|
7759
7781
|
configuration: DTODocumentationItemConfigurationV2,
|
|
7760
|
-
shortPersistentId:
|
|
7761
|
-
slug:
|
|
7762
|
-
userSlug:
|
|
7763
|
-
createdAt:
|
|
7764
|
-
updatedAt:
|
|
7765
|
-
path:
|
|
7782
|
+
shortPersistentId: z264.string(),
|
|
7783
|
+
slug: z264.string().optional(),
|
|
7784
|
+
userSlug: z264.string().optional(),
|
|
7785
|
+
createdAt: z264.coerce.date(),
|
|
7786
|
+
updatedAt: z264.coerce.date(),
|
|
7787
|
+
path: z264.string(),
|
|
7766
7788
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
7767
7789
|
draftState: DTODocumentationDraftState.optional(),
|
|
7768
7790
|
/** Defined if a page was published at least once and contains metadata about last publish */
|
|
@@ -7770,278 +7792,278 @@ var DTODocumentationPageV2 = z263.object({
|
|
|
7770
7792
|
/** Defines the approval state of the documentation page */
|
|
7771
7793
|
approvalState: DTODocumentationPageApprovalState.optional(),
|
|
7772
7794
|
/** Id of the page document room */
|
|
7773
|
-
liveblocksRoomId:
|
|
7795
|
+
liveblocksRoomId: z264.string().optional(),
|
|
7774
7796
|
// Backward compatibility
|
|
7775
|
-
type:
|
|
7797
|
+
type: z264.literal("Page")
|
|
7776
7798
|
});
|
|
7777
|
-
var DTOCreateDocumentationPageInputV2 =
|
|
7799
|
+
var DTOCreateDocumentationPageInputV2 = z264.object({
|
|
7778
7800
|
// Identifier
|
|
7779
|
-
persistentId:
|
|
7801
|
+
persistentId: z264.string(),
|
|
7780
7802
|
// Page properties
|
|
7781
|
-
title:
|
|
7803
|
+
title: z264.string(),
|
|
7782
7804
|
configuration: DTODocumentationItemConfigurationV2.partial().optional(),
|
|
7783
7805
|
// Page placement properties
|
|
7784
|
-
parentPersistentId:
|
|
7785
|
-
afterPersistentId:
|
|
7806
|
+
parentPersistentId: z264.string(),
|
|
7807
|
+
afterPersistentId: z264.string().nullish()
|
|
7786
7808
|
});
|
|
7787
|
-
var DTOUpdateDocumentationPageInputV2 =
|
|
7809
|
+
var DTOUpdateDocumentationPageInputV2 = z264.object({
|
|
7788
7810
|
// Identifier of the page to update
|
|
7789
|
-
id:
|
|
7811
|
+
id: z264.string(),
|
|
7790
7812
|
// Page properties
|
|
7791
|
-
title:
|
|
7813
|
+
title: z264.string().optional(),
|
|
7792
7814
|
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
7793
7815
|
});
|
|
7794
|
-
var DTOUpdateDocumentationPageDocumentInputV2 =
|
|
7816
|
+
var DTOUpdateDocumentationPageDocumentInputV2 = z264.object({
|
|
7795
7817
|
// Identifier of the page to update
|
|
7796
|
-
id:
|
|
7818
|
+
id: z264.string(),
|
|
7797
7819
|
// Page properties
|
|
7798
|
-
documentItems:
|
|
7820
|
+
documentItems: z264.array(DocumentationPageContentItem)
|
|
7799
7821
|
});
|
|
7800
|
-
var DTOMoveDocumentationPageInputV2 =
|
|
7822
|
+
var DTOMoveDocumentationPageInputV2 = z264.object({
|
|
7801
7823
|
// Identifier of the group to update
|
|
7802
|
-
id:
|
|
7824
|
+
id: z264.string(),
|
|
7803
7825
|
// Page placement properties
|
|
7804
|
-
parentPersistentId:
|
|
7805
|
-
afterPersistentId:
|
|
7826
|
+
parentPersistentId: z264.string(),
|
|
7827
|
+
afterPersistentId: z264.string().nullish()
|
|
7806
7828
|
});
|
|
7807
|
-
var DTODuplicateDocumentationPageInputV2 =
|
|
7829
|
+
var DTODuplicateDocumentationPageInputV2 = z264.object({
|
|
7808
7830
|
// Identifier of the page to duplicate from
|
|
7809
|
-
id:
|
|
7831
|
+
id: z264.string(),
|
|
7810
7832
|
// New page persistent id
|
|
7811
|
-
persistentId:
|
|
7833
|
+
persistentId: z264.string(),
|
|
7812
7834
|
// Page placement properties
|
|
7813
|
-
parentPersistentId:
|
|
7814
|
-
afterPersistentId:
|
|
7835
|
+
parentPersistentId: z264.string(),
|
|
7836
|
+
afterPersistentId: z264.string().nullish()
|
|
7815
7837
|
});
|
|
7816
|
-
var DTODeleteDocumentationPageInputV2 =
|
|
7838
|
+
var DTODeleteDocumentationPageInputV2 = z264.object({
|
|
7817
7839
|
// Identifier
|
|
7818
|
-
id:
|
|
7840
|
+
id: z264.string()
|
|
7819
7841
|
});
|
|
7820
|
-
var DTORestoreDocumentationPageInput =
|
|
7821
|
-
persistentId:
|
|
7822
|
-
snapshotId:
|
|
7842
|
+
var DTORestoreDocumentationPageInput = z264.object({
|
|
7843
|
+
persistentId: z264.string(),
|
|
7844
|
+
snapshotId: z264.string().optional()
|
|
7823
7845
|
});
|
|
7824
|
-
var DTORestoreDocumentationGroupInput =
|
|
7825
|
-
persistentId:
|
|
7826
|
-
snapshotId:
|
|
7846
|
+
var DTORestoreDocumentationGroupInput = z264.object({
|
|
7847
|
+
persistentId: z264.string(),
|
|
7848
|
+
snapshotId: z264.string().optional()
|
|
7827
7849
|
});
|
|
7828
|
-
var DTODocumentationPageApprovalStateChangeInput =
|
|
7829
|
-
persistentId:
|
|
7850
|
+
var DTODocumentationPageApprovalStateChangeInput = z264.object({
|
|
7851
|
+
persistentId: z264.string(),
|
|
7830
7852
|
approvalState: DocumentationPageApprovalState.optional()
|
|
7831
7853
|
});
|
|
7832
7854
|
|
|
7833
7855
|
// src/api/dto/documentation/documentation-page-snapshot.ts
|
|
7834
|
-
var DTODocumentationPageSnapshot =
|
|
7835
|
-
id:
|
|
7836
|
-
designSystemVersionId:
|
|
7837
|
-
createdAt:
|
|
7838
|
-
updatedAt:
|
|
7856
|
+
var DTODocumentationPageSnapshot = z265.object({
|
|
7857
|
+
id: z265.string(),
|
|
7858
|
+
designSystemVersionId: z265.string(),
|
|
7859
|
+
createdAt: z265.string(),
|
|
7860
|
+
updatedAt: z265.string(),
|
|
7839
7861
|
documentationPage: DTODocumentationPageV2,
|
|
7840
|
-
pageContentHash:
|
|
7862
|
+
pageContentHash: z265.string(),
|
|
7841
7863
|
reason: DesignElementSnapshotReason
|
|
7842
7864
|
});
|
|
7843
7865
|
|
|
7844
7866
|
// src/api/dto/documentation/link-preview.ts
|
|
7845
|
-
import { z as
|
|
7846
|
-
var DTODocumentationLinkPreviewResponse =
|
|
7867
|
+
import { z as z266 } from "zod";
|
|
7868
|
+
var DTODocumentationLinkPreviewResponse = z266.object({
|
|
7847
7869
|
linkPreview: DocumentationLinkPreview
|
|
7848
7870
|
});
|
|
7849
|
-
var DTODocumentationLinkPreviewRequest =
|
|
7850
|
-
url:
|
|
7851
|
-
documentationItemPersistentId:
|
|
7871
|
+
var DTODocumentationLinkPreviewRequest = z266.object({
|
|
7872
|
+
url: z266.string().optional(),
|
|
7873
|
+
documentationItemPersistentId: z266.string().optional()
|
|
7852
7874
|
});
|
|
7853
7875
|
|
|
7854
7876
|
// src/api/dto/documentation/publish.ts
|
|
7855
|
-
import { z as
|
|
7877
|
+
import { z as z271 } from "zod";
|
|
7856
7878
|
|
|
7857
7879
|
// src/api/dto/export/exporter.ts
|
|
7858
|
-
import { z as
|
|
7859
|
-
var DTOExporterType =
|
|
7860
|
-
var DTOExporterSource =
|
|
7861
|
-
var DTOExporterMembershipRole =
|
|
7862
|
-
var DTOExporterListQuery =
|
|
7863
|
-
limit:
|
|
7864
|
-
offset:
|
|
7880
|
+
import { z as z267 } from "zod";
|
|
7881
|
+
var DTOExporterType = z267.enum(["documentation", "code"]);
|
|
7882
|
+
var DTOExporterSource = z267.enum(["git", "upload"]);
|
|
7883
|
+
var DTOExporterMembershipRole = z267.enum(["Owner", "OwnerArchived", "User"]);
|
|
7884
|
+
var DTOExporterListQuery = z267.object({
|
|
7885
|
+
limit: z267.coerce.number().optional(),
|
|
7886
|
+
offset: z267.coerce.number().optional(),
|
|
7865
7887
|
type: DTOExporterType.optional(),
|
|
7866
|
-
search:
|
|
7888
|
+
search: z267.string().optional()
|
|
7867
7889
|
});
|
|
7868
|
-
var DTOExporter =
|
|
7869
|
-
id:
|
|
7870
|
-
name:
|
|
7871
|
-
isPrivate:
|
|
7890
|
+
var DTOExporter = z267.object({
|
|
7891
|
+
id: z267.string(),
|
|
7892
|
+
name: z267.string(),
|
|
7893
|
+
isPrivate: z267.boolean(),
|
|
7872
7894
|
exporterType: DTOExporterType,
|
|
7873
|
-
isDefaultDocumentationExporter:
|
|
7874
|
-
iconURL:
|
|
7895
|
+
isDefaultDocumentationExporter: z267.boolean(),
|
|
7896
|
+
iconURL: z267.string().optional(),
|
|
7875
7897
|
configurationProperties: PulsarContributionConfigurationProperty.array(),
|
|
7876
7898
|
properties: DTOExporterPropertyDefinition.array().optional(),
|
|
7877
7899
|
customBlocks: PulsarCustomBlock.array(),
|
|
7878
|
-
blockVariants:
|
|
7879
|
-
homepage:
|
|
7880
|
-
organization:
|
|
7881
|
-
packageId:
|
|
7882
|
-
tags:
|
|
7883
|
-
author:
|
|
7884
|
-
version:
|
|
7885
|
-
description:
|
|
7886
|
-
usesLocale:
|
|
7887
|
-
usesBrands:
|
|
7888
|
-
usesThemes:
|
|
7889
|
-
readme:
|
|
7890
|
-
routingVersion:
|
|
7900
|
+
blockVariants: z267.record(z267.string(), PulsarContributionVariant.array()),
|
|
7901
|
+
homepage: z267.string().optional(),
|
|
7902
|
+
organization: z267.string().optional(),
|
|
7903
|
+
packageId: z267.string().optional(),
|
|
7904
|
+
tags: z267.array(z267.string()),
|
|
7905
|
+
author: z267.string().optional(),
|
|
7906
|
+
version: z267.string(),
|
|
7907
|
+
description: z267.string(),
|
|
7908
|
+
usesLocale: z267.boolean(),
|
|
7909
|
+
usesBrands: z267.boolean(),
|
|
7910
|
+
usesThemes: z267.boolean(),
|
|
7911
|
+
readme: z267.string().optional(),
|
|
7912
|
+
routingVersion: z267.string().optional(),
|
|
7891
7913
|
source: DTOExporterSource,
|
|
7892
|
-
gitProvider:
|
|
7893
|
-
gitUrl: nullishToOptional(
|
|
7894
|
-
gitBranch: nullishToOptional(
|
|
7895
|
-
gitDirectory: nullishToOptional(
|
|
7896
|
-
isDeprecated:
|
|
7897
|
-
deprecationNote:
|
|
7898
|
-
replacementExporterId:
|
|
7899
|
-
});
|
|
7900
|
-
var DTOExporterMembership =
|
|
7901
|
-
workspaceId:
|
|
7902
|
-
exporterId:
|
|
7914
|
+
gitProvider: z267.string().optional(),
|
|
7915
|
+
gitUrl: nullishToOptional(z267.string()),
|
|
7916
|
+
gitBranch: nullishToOptional(z267.string()),
|
|
7917
|
+
gitDirectory: nullishToOptional(z267.string()),
|
|
7918
|
+
isDeprecated: z267.boolean(),
|
|
7919
|
+
deprecationNote: z267.string().optional(),
|
|
7920
|
+
replacementExporterId: z267.string().optional()
|
|
7921
|
+
});
|
|
7922
|
+
var DTOExporterMembership = z267.object({
|
|
7923
|
+
workspaceId: z267.string(),
|
|
7924
|
+
exporterId: z267.string(),
|
|
7903
7925
|
role: DTOExporterMembershipRole
|
|
7904
7926
|
});
|
|
7905
|
-
var DTOExporterResponse =
|
|
7927
|
+
var DTOExporterResponse = z267.object({
|
|
7906
7928
|
exporter: DTOExporter,
|
|
7907
7929
|
membership: DTOExporterMembership
|
|
7908
7930
|
});
|
|
7909
|
-
var DTOExporterListResponse =
|
|
7931
|
+
var DTOExporterListResponse = z267.object({
|
|
7910
7932
|
exporters: DTOExporter.array(),
|
|
7911
7933
|
membership: DTOExporterMembership.array(),
|
|
7912
|
-
total:
|
|
7934
|
+
total: z267.number()
|
|
7913
7935
|
});
|
|
7914
|
-
var DTOExporterGitProviderEnum =
|
|
7915
|
-
var DTOExporterCreateInput =
|
|
7916
|
-
url:
|
|
7936
|
+
var DTOExporterGitProviderEnum = z267.enum(["github", "gitlab", "bitbucket", "azure"]);
|
|
7937
|
+
var DTOExporterCreateInput = z267.object({
|
|
7938
|
+
url: z267.string(),
|
|
7917
7939
|
provider: DTOExporterGitProviderEnum
|
|
7918
7940
|
});
|
|
7919
|
-
var DTOExporterUpdateInput =
|
|
7920
|
-
url:
|
|
7941
|
+
var DTOExporterUpdateInput = z267.object({
|
|
7942
|
+
url: z267.string().optional()
|
|
7921
7943
|
});
|
|
7922
|
-
var DTOExporterDeprecationInput =
|
|
7923
|
-
isDeprecated:
|
|
7924
|
-
deprecationNote:
|
|
7925
|
-
replacementExporterId:
|
|
7944
|
+
var DTOExporterDeprecationInput = z267.object({
|
|
7945
|
+
isDeprecated: z267.boolean(),
|
|
7946
|
+
deprecationNote: z267.string().optional(),
|
|
7947
|
+
replacementExporterId: z267.string().optional()
|
|
7926
7948
|
});
|
|
7927
7949
|
|
|
7928
7950
|
// src/api/dto/export/filter.ts
|
|
7929
|
-
import { z as
|
|
7930
|
-
var DTOExportJobsListFilter =
|
|
7931
|
-
exporterId:
|
|
7932
|
-
designSystemVersionId:
|
|
7933
|
-
createdByUserId:
|
|
7951
|
+
import { z as z268 } from "zod";
|
|
7952
|
+
var DTOExportJobsListFilter = z268.object({
|
|
7953
|
+
exporterId: z268.string().optional(),
|
|
7954
|
+
designSystemVersionId: z268.string().optional(),
|
|
7955
|
+
createdByUserId: z268.string().optional(),
|
|
7934
7956
|
status: ExportJobStatus.optional(),
|
|
7935
|
-
scheduleId:
|
|
7936
|
-
designSystemId:
|
|
7937
|
-
themeId:
|
|
7938
|
-
brandId:
|
|
7939
|
-
destinations:
|
|
7957
|
+
scheduleId: z268.string().optional(),
|
|
7958
|
+
designSystemId: z268.string().optional(),
|
|
7959
|
+
themeId: z268.string().optional(),
|
|
7960
|
+
brandId: z268.string().optional(),
|
|
7961
|
+
destinations: z268.string().transform((s) => s.split(",").map((p) => ExportJobDestinationType.parse(p))).optional()
|
|
7940
7962
|
});
|
|
7941
7963
|
|
|
7942
7964
|
// src/api/dto/export/job.ts
|
|
7943
|
-
import { z as
|
|
7944
|
-
var DTOExportJobCreatedBy =
|
|
7945
|
-
userId:
|
|
7946
|
-
userName:
|
|
7965
|
+
import { z as z269 } from "zod";
|
|
7966
|
+
var DTOExportJobCreatedBy = z269.object({
|
|
7967
|
+
userId: z269.string(),
|
|
7968
|
+
userName: z269.string()
|
|
7947
7969
|
});
|
|
7948
|
-
var DTOExportJobDesignSystemPreview =
|
|
7949
|
-
id:
|
|
7970
|
+
var DTOExportJobDesignSystemPreview = z269.object({
|
|
7971
|
+
id: z269.string(),
|
|
7950
7972
|
meta: ObjectMeta
|
|
7951
7973
|
});
|
|
7952
|
-
var DTOExportJobDesignSystemVersionPreview =
|
|
7953
|
-
id:
|
|
7974
|
+
var DTOExportJobDesignSystemVersionPreview = z269.object({
|
|
7975
|
+
id: z269.string(),
|
|
7954
7976
|
meta: ObjectMeta,
|
|
7955
|
-
version:
|
|
7956
|
-
isReadonly:
|
|
7977
|
+
version: z269.string(),
|
|
7978
|
+
isReadonly: z269.boolean()
|
|
7957
7979
|
});
|
|
7958
|
-
var DTOExportJobDestinations =
|
|
7980
|
+
var DTOExportJobDestinations = z269.object({
|
|
7959
7981
|
s3: ExporterDestinationS3.optional(),
|
|
7960
7982
|
azure: ExporterDestinationAzure.optional(),
|
|
7961
7983
|
bitbucket: ExporterDestinationBitbucket.optional(),
|
|
7962
7984
|
github: ExporterDestinationGithub.optional(),
|
|
7963
7985
|
gitlab: ExporterDestinationGitlab.optional(),
|
|
7964
7986
|
documentation: ExporterDestinationDocs.optional(),
|
|
7965
|
-
webhookUrl:
|
|
7987
|
+
webhookUrl: z269.string().optional()
|
|
7966
7988
|
});
|
|
7967
7989
|
var DTOExportJobResult = ExportJobResult.omit({
|
|
7968
7990
|
sndocs: true
|
|
7969
7991
|
}).extend({
|
|
7970
7992
|
documentation: ExportJobDocsDestinationResult.optional()
|
|
7971
7993
|
});
|
|
7972
|
-
var DTOExportJob =
|
|
7973
|
-
id:
|
|
7974
|
-
createdAt:
|
|
7975
|
-
finishedAt:
|
|
7976
|
-
index:
|
|
7994
|
+
var DTOExportJob = z269.object({
|
|
7995
|
+
id: z269.string(),
|
|
7996
|
+
createdAt: z269.coerce.date(),
|
|
7997
|
+
finishedAt: z269.coerce.date().optional(),
|
|
7998
|
+
index: z269.number().optional(),
|
|
7977
7999
|
status: ExportJobStatus,
|
|
7978
|
-
estimatedExecutionTime:
|
|
8000
|
+
estimatedExecutionTime: z269.number().optional(),
|
|
7979
8001
|
createdBy: DTOExportJobCreatedBy.optional(),
|
|
7980
8002
|
designSystem: DTOExportJobDesignSystemPreview,
|
|
7981
8003
|
designSystemVersion: DTOExportJobDesignSystemVersionPreview,
|
|
7982
8004
|
destinations: DTOExportJobDestinations,
|
|
7983
|
-
exporterId:
|
|
7984
|
-
scheduleId:
|
|
8005
|
+
exporterId: z269.string(),
|
|
8006
|
+
scheduleId: z269.string().optional(),
|
|
7985
8007
|
result: DTOExportJobResult.optional(),
|
|
7986
|
-
brandPersistentId:
|
|
7987
|
-
themePersistentId:
|
|
7988
|
-
themePersistentIds:
|
|
8008
|
+
brandPersistentId: z269.string().optional(),
|
|
8009
|
+
themePersistentId: z269.string().optional(),
|
|
8010
|
+
themePersistentIds: z269.string().array().optional(),
|
|
7989
8011
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional()
|
|
7990
8012
|
});
|
|
7991
|
-
var DTOExportJobResponse =
|
|
8013
|
+
var DTOExportJobResponse = z269.object({
|
|
7992
8014
|
job: DTOExportJob
|
|
7993
8015
|
});
|
|
7994
|
-
var DTOExportJobResponseLegacy =
|
|
7995
|
-
job:
|
|
7996
|
-
id:
|
|
8016
|
+
var DTOExportJobResponseLegacy = z269.object({
|
|
8017
|
+
job: z269.object({
|
|
8018
|
+
id: z269.string(),
|
|
7997
8019
|
status: ExportJobStatus
|
|
7998
8020
|
})
|
|
7999
8021
|
});
|
|
8000
|
-
var DTOExportJobCreateInput =
|
|
8001
|
-
designSystemId:
|
|
8002
|
-
designSystemVersionId:
|
|
8003
|
-
exporterId:
|
|
8004
|
-
brandId:
|
|
8005
|
-
themeId:
|
|
8006
|
-
themePersistentIds:
|
|
8022
|
+
var DTOExportJobCreateInput = z269.object({
|
|
8023
|
+
designSystemId: z269.string(),
|
|
8024
|
+
designSystemVersionId: z269.string(),
|
|
8025
|
+
exporterId: z269.string(),
|
|
8026
|
+
brandId: z269.string().optional(),
|
|
8027
|
+
themeId: z269.string().optional(),
|
|
8028
|
+
themePersistentIds: z269.string().array().optional(),
|
|
8007
8029
|
destinations: DTOExportJobDestinations,
|
|
8008
8030
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
8009
|
-
previewMode:
|
|
8031
|
+
previewMode: z269.boolean().optional()
|
|
8010
8032
|
});
|
|
8011
8033
|
|
|
8012
8034
|
// src/api/dto/export/pipeline.ts
|
|
8013
|
-
import { z as
|
|
8014
|
-
var DTOPipelineListQuery =
|
|
8015
|
-
designSystemId:
|
|
8016
|
-
exporterId:
|
|
8017
|
-
latestJobsLimit:
|
|
8018
|
-
});
|
|
8019
|
-
var DTOPipeline =
|
|
8020
|
-
id:
|
|
8021
|
-
name:
|
|
8035
|
+
import { z as z270 } from "zod";
|
|
8036
|
+
var DTOPipelineListQuery = z270.object({
|
|
8037
|
+
designSystemId: z270.string().optional(),
|
|
8038
|
+
exporterId: z270.string().optional(),
|
|
8039
|
+
latestJobsLimit: z270.coerce.number().optional()
|
|
8040
|
+
});
|
|
8041
|
+
var DTOPipeline = z270.object({
|
|
8042
|
+
id: z270.string(),
|
|
8043
|
+
name: z270.string(),
|
|
8022
8044
|
eventType: PipelineEventType,
|
|
8023
|
-
isEnabled:
|
|
8024
|
-
workspaceId:
|
|
8025
|
-
designSystemId:
|
|
8026
|
-
exporterId:
|
|
8027
|
-
brandPersistentId:
|
|
8028
|
-
themePersistentId:
|
|
8029
|
-
themePersistentIds:
|
|
8045
|
+
isEnabled: z270.boolean(),
|
|
8046
|
+
workspaceId: z270.string(),
|
|
8047
|
+
designSystemId: z270.string(),
|
|
8048
|
+
exporterId: z270.string(),
|
|
8049
|
+
brandPersistentId: z270.string().optional(),
|
|
8050
|
+
themePersistentId: z270.string().optional(),
|
|
8051
|
+
themePersistentIds: z270.string().array().optional(),
|
|
8030
8052
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
8031
8053
|
...ExportDestinationsMap.shape,
|
|
8032
8054
|
latestJobs: DTOExportJob.array(),
|
|
8033
|
-
isExporterDeprecated:
|
|
8055
|
+
isExporterDeprecated: z270.boolean()
|
|
8034
8056
|
});
|
|
8035
|
-
var DTOPipelineListResponse =
|
|
8057
|
+
var DTOPipelineListResponse = z270.object({
|
|
8036
8058
|
pipelines: DTOPipeline.array()
|
|
8037
8059
|
});
|
|
8038
|
-
var DTOPipelineResponse =
|
|
8060
|
+
var DTOPipelineResponse = z270.object({
|
|
8039
8061
|
pipeline: DTOPipeline
|
|
8040
8062
|
});
|
|
8041
8063
|
|
|
8042
8064
|
// src/api/dto/documentation/publish.ts
|
|
8043
8065
|
var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
|
|
8044
|
-
var DTOPublishDocumentationRequest =
|
|
8066
|
+
var DTOPublishDocumentationRequest = z271.object({
|
|
8045
8067
|
environment: PublishedDocEnvironment,
|
|
8046
8068
|
/**
|
|
8047
8069
|
* If defined, this allows narrowing down what is published to a set of specific pages and groups
|
|
@@ -8049,66 +8071,66 @@ var DTOPublishDocumentationRequest = z270.object({
|
|
|
8049
8071
|
*/
|
|
8050
8072
|
changes: DTOPublishDocumentationChanges.optional()
|
|
8051
8073
|
});
|
|
8052
|
-
var DTOPublishDocumentationResponse =
|
|
8074
|
+
var DTOPublishDocumentationResponse = z271.object({
|
|
8053
8075
|
job: DTOExportJob
|
|
8054
8076
|
});
|
|
8055
8077
|
|
|
8056
8078
|
// src/api/dto/documentation/room.ts
|
|
8057
|
-
import { z as
|
|
8058
|
-
var DTODocumentationPageRoom =
|
|
8059
|
-
id:
|
|
8079
|
+
import { z as z272 } from "zod";
|
|
8080
|
+
var DTODocumentationPageRoom = z272.object({
|
|
8081
|
+
id: z272.string()
|
|
8060
8082
|
});
|
|
8061
|
-
var DTODocumentationPageRoomResponse =
|
|
8083
|
+
var DTODocumentationPageRoomResponse = z272.object({
|
|
8062
8084
|
room: DTODocumentationPageRoom
|
|
8063
8085
|
});
|
|
8064
8086
|
|
|
8065
8087
|
// src/api/dto/elements/components/figma-component-group.ts
|
|
8066
|
-
import
|
|
8067
|
-
var DTOFigmaComponentGroup =
|
|
8068
|
-
id:
|
|
8069
|
-
designSystemVersionId:
|
|
8070
|
-
persistentId:
|
|
8071
|
-
isRoot:
|
|
8072
|
-
brandId:
|
|
8088
|
+
import z273 from "zod";
|
|
8089
|
+
var DTOFigmaComponentGroup = z273.object({
|
|
8090
|
+
id: z273.string(),
|
|
8091
|
+
designSystemVersionId: z273.string(),
|
|
8092
|
+
persistentId: z273.string(),
|
|
8093
|
+
isRoot: z273.boolean(),
|
|
8094
|
+
brandId: z273.string(),
|
|
8073
8095
|
meta: DTOObjectMeta,
|
|
8074
|
-
childrenIds:
|
|
8096
|
+
childrenIds: z273.string().array()
|
|
8075
8097
|
});
|
|
8076
|
-
var DTOFigmaComponentGroupListResponse =
|
|
8098
|
+
var DTOFigmaComponentGroupListResponse = z273.object({
|
|
8077
8099
|
groups: DTOFigmaComponentGroup.array()
|
|
8078
8100
|
});
|
|
8079
8101
|
|
|
8080
8102
|
// src/api/dto/elements/components/figma-component.ts
|
|
8081
|
-
import { z as
|
|
8103
|
+
import { z as z274 } from "zod";
|
|
8082
8104
|
var DTOFigmaComponentProperty = FigmaComponentProperty;
|
|
8083
|
-
var DTOFigmaComponentPropertyMap =
|
|
8084
|
-
var DTOFigmaComponent =
|
|
8085
|
-
id:
|
|
8086
|
-
persistentId:
|
|
8087
|
-
designSystemVersionId:
|
|
8088
|
-
brandId:
|
|
8089
|
-
thumbnailUrl:
|
|
8090
|
-
svgUrl:
|
|
8091
|
-
exportProperties:
|
|
8092
|
-
isAsset:
|
|
8105
|
+
var DTOFigmaComponentPropertyMap = z274.record(DTOFigmaComponentProperty);
|
|
8106
|
+
var DTOFigmaComponent = z274.object({
|
|
8107
|
+
id: z274.string(),
|
|
8108
|
+
persistentId: z274.string(),
|
|
8109
|
+
designSystemVersionId: z274.string(),
|
|
8110
|
+
brandId: z274.string(),
|
|
8111
|
+
thumbnailUrl: z274.string().optional(),
|
|
8112
|
+
svgUrl: z274.string().optional(),
|
|
8113
|
+
exportProperties: z274.object({
|
|
8114
|
+
isAsset: z274.boolean()
|
|
8093
8115
|
}),
|
|
8094
|
-
createdAt:
|
|
8095
|
-
updatedAt:
|
|
8116
|
+
createdAt: z274.coerce.date(),
|
|
8117
|
+
updatedAt: z274.coerce.date(),
|
|
8096
8118
|
meta: ObjectMeta,
|
|
8097
8119
|
originComponent: FigmaComponentOrigin.optional(),
|
|
8098
|
-
parentComponentPersistentId:
|
|
8099
|
-
childrenPersistentIds:
|
|
8120
|
+
parentComponentPersistentId: z274.string().optional(),
|
|
8121
|
+
childrenPersistentIds: z274.string().array().optional(),
|
|
8100
8122
|
componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
|
|
8101
|
-
variantPropertyValues:
|
|
8123
|
+
variantPropertyValues: z274.record(z274.string()).optional()
|
|
8102
8124
|
});
|
|
8103
|
-
var DTOFigmaComponentListResponse =
|
|
8125
|
+
var DTOFigmaComponentListResponse = z274.object({
|
|
8104
8126
|
components: DTOFigmaComponent.array()
|
|
8105
8127
|
});
|
|
8106
8128
|
|
|
8107
8129
|
// src/api/dto/elements/documentation/group-action.ts
|
|
8108
|
-
import { z as
|
|
8130
|
+
import { z as z276 } from "zod";
|
|
8109
8131
|
|
|
8110
8132
|
// src/api/dto/elements/documentation/group-v2.ts
|
|
8111
|
-
import { z as
|
|
8133
|
+
import { z as z275 } from "zod";
|
|
8112
8134
|
var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
8113
8135
|
sortOrder: true,
|
|
8114
8136
|
parentPersistentId: true,
|
|
@@ -8118,13 +8140,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
|
8118
8140
|
data: true,
|
|
8119
8141
|
shortPersistentId: true
|
|
8120
8142
|
}).extend({
|
|
8121
|
-
title:
|
|
8122
|
-
isRoot:
|
|
8123
|
-
childrenIds:
|
|
8143
|
+
title: z275.string(),
|
|
8144
|
+
isRoot: z275.boolean(),
|
|
8145
|
+
childrenIds: z275.array(z275.string()),
|
|
8124
8146
|
groupBehavior: DocumentationGroupBehavior,
|
|
8125
|
-
shortPersistentId:
|
|
8147
|
+
shortPersistentId: z275.string(),
|
|
8126
8148
|
configuration: DTODocumentationItemConfigurationV2,
|
|
8127
|
-
type:
|
|
8149
|
+
type: z275.literal("Group"),
|
|
8128
8150
|
/** Defined when a group has changed since last publish and can be included into a partial publish */
|
|
8129
8151
|
draftState: DTODocumentationDraftState.optional(),
|
|
8130
8152
|
/** Defined if a group was published at least once and contains metadata about last publish */
|
|
@@ -8132,127 +8154,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
|
8132
8154
|
//** An approval state for frontend to utilize. */
|
|
8133
8155
|
approvalState: DTODocumentationGroupApprovalState.optional()
|
|
8134
8156
|
});
|
|
8135
|
-
var DTOCreateDocumentationGroupInput =
|
|
8157
|
+
var DTOCreateDocumentationGroupInput = z275.object({
|
|
8136
8158
|
// Identifier
|
|
8137
|
-
persistentId:
|
|
8159
|
+
persistentId: z275.string(),
|
|
8138
8160
|
// Group properties
|
|
8139
|
-
title:
|
|
8161
|
+
title: z275.string(),
|
|
8140
8162
|
configuration: DTODocumentationItemConfigurationV2.partial().optional(),
|
|
8141
8163
|
// Group placement properties
|
|
8142
|
-
afterPersistentId:
|
|
8143
|
-
parentPersistentId:
|
|
8164
|
+
afterPersistentId: z275.string().nullish(),
|
|
8165
|
+
parentPersistentId: z275.string()
|
|
8144
8166
|
});
|
|
8145
|
-
var DTOUpdateDocumentationGroupInput =
|
|
8167
|
+
var DTOUpdateDocumentationGroupInput = z275.object({
|
|
8146
8168
|
// Identifier of the group to update
|
|
8147
|
-
id:
|
|
8169
|
+
id: z275.string(),
|
|
8148
8170
|
// Group properties
|
|
8149
|
-
title:
|
|
8171
|
+
title: z275.string().optional(),
|
|
8150
8172
|
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
8151
8173
|
});
|
|
8152
|
-
var DTOMoveDocumentationGroupInput =
|
|
8174
|
+
var DTOMoveDocumentationGroupInput = z275.object({
|
|
8153
8175
|
// Identifier of the group to update
|
|
8154
|
-
id:
|
|
8176
|
+
id: z275.string(),
|
|
8155
8177
|
// Group placement properties
|
|
8156
|
-
parentPersistentId:
|
|
8157
|
-
afterPersistentId:
|
|
8178
|
+
parentPersistentId: z275.string(),
|
|
8179
|
+
afterPersistentId: z275.string().nullish()
|
|
8158
8180
|
});
|
|
8159
|
-
var DTODuplicateDocumentationGroupInput =
|
|
8181
|
+
var DTODuplicateDocumentationGroupInput = z275.object({
|
|
8160
8182
|
// Identifier of the group to duplicate from
|
|
8161
|
-
id:
|
|
8183
|
+
id: z275.string(),
|
|
8162
8184
|
// New group persistent id
|
|
8163
|
-
persistentId:
|
|
8185
|
+
persistentId: z275.string(),
|
|
8164
8186
|
// Group placement properties
|
|
8165
|
-
afterPersistentId:
|
|
8166
|
-
parentPersistentId:
|
|
8187
|
+
afterPersistentId: z275.string().nullish(),
|
|
8188
|
+
parentPersistentId: z275.string()
|
|
8167
8189
|
});
|
|
8168
|
-
var DTOCreateDocumentationTabInput =
|
|
8190
|
+
var DTOCreateDocumentationTabInput = z275.object({
|
|
8169
8191
|
// New group persistent id
|
|
8170
|
-
persistentId:
|
|
8192
|
+
persistentId: z275.string(),
|
|
8171
8193
|
// If this is page, we will attempt to convert it to tab
|
|
8172
8194
|
// If this is tab group, we will add a new tab to it
|
|
8173
|
-
fromItemPersistentId:
|
|
8174
|
-
tabName:
|
|
8195
|
+
fromItemPersistentId: z275.string(),
|
|
8196
|
+
tabName: z275.string()
|
|
8175
8197
|
});
|
|
8176
|
-
var DTODeleteDocumentationTabGroupInput =
|
|
8198
|
+
var DTODeleteDocumentationTabGroupInput = z275.object({
|
|
8177
8199
|
// Deleted group id
|
|
8178
|
-
id:
|
|
8200
|
+
id: z275.string()
|
|
8179
8201
|
});
|
|
8180
|
-
var DTODeleteDocumentationGroupInput =
|
|
8202
|
+
var DTODeleteDocumentationGroupInput = z275.object({
|
|
8181
8203
|
// Identifier
|
|
8182
|
-
id:
|
|
8204
|
+
id: z275.string(),
|
|
8183
8205
|
// Deletion options
|
|
8184
|
-
deleteSubtree:
|
|
8206
|
+
deleteSubtree: z275.boolean().default(false)
|
|
8185
8207
|
});
|
|
8186
8208
|
|
|
8187
8209
|
// src/api/dto/elements/documentation/group-action.ts
|
|
8188
|
-
var SuccessPayload =
|
|
8189
|
-
success:
|
|
8210
|
+
var SuccessPayload = z276.object({
|
|
8211
|
+
success: z276.literal(true)
|
|
8190
8212
|
});
|
|
8191
|
-
var DTODocumentationGroupCreateActionOutputV2 =
|
|
8192
|
-
type:
|
|
8213
|
+
var DTODocumentationGroupCreateActionOutputV2 = z276.object({
|
|
8214
|
+
type: z276.literal("DocumentationGroupCreate"),
|
|
8193
8215
|
output: SuccessPayload
|
|
8194
8216
|
});
|
|
8195
|
-
var DTODocumentationTabCreateActionOutputV2 =
|
|
8196
|
-
type:
|
|
8217
|
+
var DTODocumentationTabCreateActionOutputV2 = z276.object({
|
|
8218
|
+
type: z276.literal("DocumentationTabCreate"),
|
|
8197
8219
|
output: SuccessPayload
|
|
8198
8220
|
});
|
|
8199
|
-
var DTODocumentationGroupUpdateActionOutputV2 =
|
|
8200
|
-
type:
|
|
8221
|
+
var DTODocumentationGroupUpdateActionOutputV2 = z276.object({
|
|
8222
|
+
type: z276.literal("DocumentationGroupUpdate"),
|
|
8201
8223
|
output: SuccessPayload
|
|
8202
8224
|
});
|
|
8203
|
-
var DTODocumentationGroupMoveActionOutputV2 =
|
|
8204
|
-
type:
|
|
8225
|
+
var DTODocumentationGroupMoveActionOutputV2 = z276.object({
|
|
8226
|
+
type: z276.literal("DocumentationGroupMove"),
|
|
8205
8227
|
output: SuccessPayload
|
|
8206
8228
|
});
|
|
8207
|
-
var DTODocumentationGroupDuplicateActionOutputV2 =
|
|
8208
|
-
type:
|
|
8229
|
+
var DTODocumentationGroupDuplicateActionOutputV2 = z276.object({
|
|
8230
|
+
type: z276.literal("DocumentationGroupDuplicate"),
|
|
8209
8231
|
output: SuccessPayload
|
|
8210
8232
|
});
|
|
8211
|
-
var DTODocumentationGroupDeleteActionOutputV2 =
|
|
8212
|
-
type:
|
|
8233
|
+
var DTODocumentationGroupDeleteActionOutputV2 = z276.object({
|
|
8234
|
+
type: z276.literal("DocumentationGroupDelete"),
|
|
8213
8235
|
output: SuccessPayload
|
|
8214
8236
|
});
|
|
8215
|
-
var DTODocumentationTabGroupDeleteActionOutputV2 =
|
|
8216
|
-
type:
|
|
8237
|
+
var DTODocumentationTabGroupDeleteActionOutputV2 = z276.object({
|
|
8238
|
+
type: z276.literal("DocumentationTabGroupDelete"),
|
|
8217
8239
|
output: SuccessPayload
|
|
8218
8240
|
});
|
|
8219
|
-
var DTODocumentationGroupCreateActionInputV2 =
|
|
8220
|
-
type:
|
|
8241
|
+
var DTODocumentationGroupCreateActionInputV2 = z276.object({
|
|
8242
|
+
type: z276.literal("DocumentationGroupCreate"),
|
|
8221
8243
|
input: DTOCreateDocumentationGroupInput
|
|
8222
8244
|
});
|
|
8223
|
-
var DTODocumentationTabCreateActionInputV2 =
|
|
8224
|
-
type:
|
|
8245
|
+
var DTODocumentationTabCreateActionInputV2 = z276.object({
|
|
8246
|
+
type: z276.literal("DocumentationTabCreate"),
|
|
8225
8247
|
input: DTOCreateDocumentationTabInput
|
|
8226
8248
|
});
|
|
8227
|
-
var DTODocumentationGroupUpdateActionInputV2 =
|
|
8228
|
-
type:
|
|
8249
|
+
var DTODocumentationGroupUpdateActionInputV2 = z276.object({
|
|
8250
|
+
type: z276.literal("DocumentationGroupUpdate"),
|
|
8229
8251
|
input: DTOUpdateDocumentationGroupInput
|
|
8230
8252
|
});
|
|
8231
|
-
var DTODocumentationGroupMoveActionInputV2 =
|
|
8232
|
-
type:
|
|
8253
|
+
var DTODocumentationGroupMoveActionInputV2 = z276.object({
|
|
8254
|
+
type: z276.literal("DocumentationGroupMove"),
|
|
8233
8255
|
input: DTOMoveDocumentationGroupInput
|
|
8234
8256
|
});
|
|
8235
|
-
var DTODocumentationGroupDuplicateActionInputV2 =
|
|
8236
|
-
type:
|
|
8257
|
+
var DTODocumentationGroupDuplicateActionInputV2 = z276.object({
|
|
8258
|
+
type: z276.literal("DocumentationGroupDuplicate"),
|
|
8237
8259
|
input: DTODuplicateDocumentationGroupInput
|
|
8238
8260
|
});
|
|
8239
|
-
var DTODocumentationGroupDeleteActionInputV2 =
|
|
8240
|
-
type:
|
|
8261
|
+
var DTODocumentationGroupDeleteActionInputV2 = z276.object({
|
|
8262
|
+
type: z276.literal("DocumentationGroupDelete"),
|
|
8241
8263
|
input: DTODeleteDocumentationGroupInput
|
|
8242
8264
|
});
|
|
8243
|
-
var DTODocumentationTabGroupDeleteActionInputV2 =
|
|
8244
|
-
type:
|
|
8265
|
+
var DTODocumentationTabGroupDeleteActionInputV2 = z276.object({
|
|
8266
|
+
type: z276.literal("DocumentationTabGroupDelete"),
|
|
8245
8267
|
input: DTODeleteDocumentationTabGroupInput
|
|
8246
8268
|
});
|
|
8247
8269
|
|
|
8248
8270
|
// src/api/dto/elements/documentation/group-v1.ts
|
|
8249
|
-
import { z as
|
|
8271
|
+
import { z as z278 } from "zod";
|
|
8250
8272
|
|
|
8251
8273
|
// src/api/dto/elements/documentation/item-configuration-v1.ts
|
|
8252
|
-
import { z as
|
|
8253
|
-
var DocumentationColorV1 =
|
|
8254
|
-
aliasTo:
|
|
8255
|
-
value:
|
|
8274
|
+
import { z as z277 } from "zod";
|
|
8275
|
+
var DocumentationColorV1 = z277.object({
|
|
8276
|
+
aliasTo: z277.string().optional(),
|
|
8277
|
+
value: z277.string().optional()
|
|
8256
8278
|
});
|
|
8257
8279
|
var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
|
|
8258
8280
|
foregroundColor: true,
|
|
@@ -8261,10 +8283,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
|
|
|
8261
8283
|
foregroundColor: DocumentationColorV1.optional(),
|
|
8262
8284
|
backgroundColor: DocumentationColorV1.optional()
|
|
8263
8285
|
});
|
|
8264
|
-
var DTODocumentationItemConfigurationV1 =
|
|
8265
|
-
showSidebar:
|
|
8266
|
-
isPrivate:
|
|
8267
|
-
isHidden:
|
|
8286
|
+
var DTODocumentationItemConfigurationV1 = z277.object({
|
|
8287
|
+
showSidebar: z277.boolean(),
|
|
8288
|
+
isPrivate: z277.boolean(),
|
|
8289
|
+
isHidden: z277.boolean(),
|
|
8268
8290
|
header: DTODocumentationItemHeaderV1
|
|
8269
8291
|
});
|
|
8270
8292
|
|
|
@@ -8278,145 +8300,145 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
|
|
|
8278
8300
|
data: true,
|
|
8279
8301
|
shortPersistentId: true
|
|
8280
8302
|
}).extend({
|
|
8281
|
-
title:
|
|
8282
|
-
isRoot:
|
|
8283
|
-
childrenIds:
|
|
8303
|
+
title: z278.string(),
|
|
8304
|
+
isRoot: z278.boolean(),
|
|
8305
|
+
childrenIds: z278.array(z278.string()),
|
|
8284
8306
|
groupBehavior: DocumentationGroupBehavior,
|
|
8285
|
-
shortPersistentId:
|
|
8286
|
-
type:
|
|
8307
|
+
shortPersistentId: z278.string(),
|
|
8308
|
+
type: z278.literal("Group")
|
|
8287
8309
|
});
|
|
8288
8310
|
var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
|
|
8289
8311
|
configuration: DTODocumentationItemConfigurationV1
|
|
8290
8312
|
});
|
|
8291
8313
|
|
|
8292
8314
|
// src/api/dto/elements/documentation/hierarchy.ts
|
|
8293
|
-
import { z as
|
|
8294
|
-
var DTODocumentationHierarchyV2 =
|
|
8295
|
-
pages:
|
|
8315
|
+
import { z as z279 } from "zod";
|
|
8316
|
+
var DTODocumentationHierarchyV2 = z279.object({
|
|
8317
|
+
pages: z279.array(
|
|
8296
8318
|
DTODocumentationPageV2.extend({
|
|
8297
8319
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
8298
8320
|
draftState: DTODocumentationDraftState.optional()
|
|
8299
8321
|
})
|
|
8300
8322
|
),
|
|
8301
|
-
groups:
|
|
8323
|
+
groups: z279.array(
|
|
8302
8324
|
DTODocumentationGroupV2.extend({
|
|
8303
8325
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
8304
8326
|
draftState: DTODocumentationDraftState.optional()
|
|
8305
8327
|
})
|
|
8306
8328
|
),
|
|
8307
8329
|
/** True if the documentation was already published, false otherwise. */
|
|
8308
|
-
hasPublishedDocumentationContent:
|
|
8330
|
+
hasPublishedDocumentationContent: z279.boolean()
|
|
8309
8331
|
});
|
|
8310
8332
|
|
|
8311
8333
|
// src/api/dto/elements/documentation/page-actions-v2.ts
|
|
8312
|
-
import { z as
|
|
8313
|
-
var SuccessPayload2 =
|
|
8314
|
-
success:
|
|
8334
|
+
import { z as z280 } from "zod";
|
|
8335
|
+
var SuccessPayload2 = z280.object({
|
|
8336
|
+
success: z280.literal(true)
|
|
8315
8337
|
});
|
|
8316
|
-
var DTODocumentationPageCreateActionOutputV2 =
|
|
8317
|
-
type:
|
|
8338
|
+
var DTODocumentationPageCreateActionOutputV2 = z280.object({
|
|
8339
|
+
type: z280.literal("DocumentationPageCreate"),
|
|
8318
8340
|
output: SuccessPayload2
|
|
8319
8341
|
});
|
|
8320
|
-
var DTODocumentationPageUpdateActionOutputV2 =
|
|
8321
|
-
type:
|
|
8342
|
+
var DTODocumentationPageUpdateActionOutputV2 = z280.object({
|
|
8343
|
+
type: z280.literal("DocumentationPageUpdate"),
|
|
8322
8344
|
output: SuccessPayload2
|
|
8323
8345
|
});
|
|
8324
|
-
var DTODocumentationPageUpdateDocumentActionOutputV2 =
|
|
8325
|
-
type:
|
|
8346
|
+
var DTODocumentationPageUpdateDocumentActionOutputV2 = z280.object({
|
|
8347
|
+
type: z280.literal("DocumentationPageUpdateDocument"),
|
|
8326
8348
|
output: SuccessPayload2
|
|
8327
8349
|
});
|
|
8328
|
-
var DTODocumentationPageMoveActionOutputV2 =
|
|
8329
|
-
type:
|
|
8350
|
+
var DTODocumentationPageMoveActionOutputV2 = z280.object({
|
|
8351
|
+
type: z280.literal("DocumentationPageMove"),
|
|
8330
8352
|
output: SuccessPayload2
|
|
8331
8353
|
});
|
|
8332
|
-
var DTODocumentationPageDuplicateActionOutputV2 =
|
|
8333
|
-
type:
|
|
8354
|
+
var DTODocumentationPageDuplicateActionOutputV2 = z280.object({
|
|
8355
|
+
type: z280.literal("DocumentationPageDuplicate"),
|
|
8334
8356
|
output: SuccessPayload2
|
|
8335
8357
|
});
|
|
8336
|
-
var DTODocumentationPageDeleteActionOutputV2 =
|
|
8337
|
-
type:
|
|
8358
|
+
var DTODocumentationPageDeleteActionOutputV2 = z280.object({
|
|
8359
|
+
type: z280.literal("DocumentationPageDelete"),
|
|
8338
8360
|
output: SuccessPayload2
|
|
8339
8361
|
});
|
|
8340
|
-
var DTODocumentationPageRestoreActionOutput =
|
|
8341
|
-
type:
|
|
8362
|
+
var DTODocumentationPageRestoreActionOutput = z280.object({
|
|
8363
|
+
type: z280.literal("DocumentationPageRestore"),
|
|
8342
8364
|
output: SuccessPayload2
|
|
8343
8365
|
});
|
|
8344
|
-
var DTODocumentationGroupRestoreActionOutput =
|
|
8345
|
-
type:
|
|
8366
|
+
var DTODocumentationGroupRestoreActionOutput = z280.object({
|
|
8367
|
+
type: z280.literal("DocumentationGroupRestore"),
|
|
8346
8368
|
output: SuccessPayload2
|
|
8347
8369
|
});
|
|
8348
|
-
var DTODocumentationPageApprovalStateChangeActionOutput =
|
|
8349
|
-
type:
|
|
8370
|
+
var DTODocumentationPageApprovalStateChangeActionOutput = z280.object({
|
|
8371
|
+
type: z280.literal("DocumentationPageApprovalStateChange"),
|
|
8350
8372
|
output: SuccessPayload2
|
|
8351
8373
|
});
|
|
8352
|
-
var DTODocumentationPageCreateActionInputV2 =
|
|
8353
|
-
type:
|
|
8374
|
+
var DTODocumentationPageCreateActionInputV2 = z280.object({
|
|
8375
|
+
type: z280.literal("DocumentationPageCreate"),
|
|
8354
8376
|
input: DTOCreateDocumentationPageInputV2
|
|
8355
8377
|
});
|
|
8356
|
-
var DTODocumentationPageUpdateActionInputV2 =
|
|
8357
|
-
type:
|
|
8378
|
+
var DTODocumentationPageUpdateActionInputV2 = z280.object({
|
|
8379
|
+
type: z280.literal("DocumentationPageUpdate"),
|
|
8358
8380
|
input: DTOUpdateDocumentationPageInputV2
|
|
8359
8381
|
});
|
|
8360
|
-
var DTODocumentationPageUpdateDocumentActionInputV2 =
|
|
8361
|
-
type:
|
|
8382
|
+
var DTODocumentationPageUpdateDocumentActionInputV2 = z280.object({
|
|
8383
|
+
type: z280.literal("DocumentationPageUpdateDocument"),
|
|
8362
8384
|
input: DTOUpdateDocumentationPageDocumentInputV2
|
|
8363
8385
|
});
|
|
8364
|
-
var DTODocumentationPageMoveActionInputV2 =
|
|
8365
|
-
type:
|
|
8386
|
+
var DTODocumentationPageMoveActionInputV2 = z280.object({
|
|
8387
|
+
type: z280.literal("DocumentationPageMove"),
|
|
8366
8388
|
input: DTOMoveDocumentationPageInputV2
|
|
8367
8389
|
});
|
|
8368
|
-
var DTODocumentationPageDuplicateActionInputV2 =
|
|
8369
|
-
type:
|
|
8390
|
+
var DTODocumentationPageDuplicateActionInputV2 = z280.object({
|
|
8391
|
+
type: z280.literal("DocumentationPageDuplicate"),
|
|
8370
8392
|
input: DTODuplicateDocumentationPageInputV2
|
|
8371
8393
|
});
|
|
8372
|
-
var DTODocumentationPageDeleteActionInputV2 =
|
|
8373
|
-
type:
|
|
8394
|
+
var DTODocumentationPageDeleteActionInputV2 = z280.object({
|
|
8395
|
+
type: z280.literal("DocumentationPageDelete"),
|
|
8374
8396
|
input: DTODeleteDocumentationPageInputV2
|
|
8375
8397
|
});
|
|
8376
|
-
var DTODocumentationPageRestoreActionInput =
|
|
8377
|
-
type:
|
|
8398
|
+
var DTODocumentationPageRestoreActionInput = z280.object({
|
|
8399
|
+
type: z280.literal("DocumentationPageRestore"),
|
|
8378
8400
|
input: DTORestoreDocumentationPageInput
|
|
8379
8401
|
});
|
|
8380
|
-
var DTODocumentationGroupRestoreActionInput =
|
|
8381
|
-
type:
|
|
8402
|
+
var DTODocumentationGroupRestoreActionInput = z280.object({
|
|
8403
|
+
type: z280.literal("DocumentationGroupRestore"),
|
|
8382
8404
|
input: DTORestoreDocumentationGroupInput
|
|
8383
8405
|
});
|
|
8384
|
-
var DTODocumentationPageApprovalStateChangeActionInput =
|
|
8385
|
-
type:
|
|
8406
|
+
var DTODocumentationPageApprovalStateChangeActionInput = z280.object({
|
|
8407
|
+
type: z280.literal("DocumentationPageApprovalStateChange"),
|
|
8386
8408
|
input: DTODocumentationPageApprovalStateChangeInput
|
|
8387
8409
|
});
|
|
8388
8410
|
|
|
8389
8411
|
// src/api/dto/elements/documentation/page-content.ts
|
|
8390
|
-
import { z as
|
|
8412
|
+
import { z as z281 } from "zod";
|
|
8391
8413
|
var DTODocumentationPageContent = DocumentationPageContent;
|
|
8392
|
-
var DTODocumentationPageContentGetResponse =
|
|
8414
|
+
var DTODocumentationPageContentGetResponse = z281.object({
|
|
8393
8415
|
pageContent: DTODocumentationPageContent
|
|
8394
8416
|
});
|
|
8395
8417
|
|
|
8396
8418
|
// src/api/dto/elements/documentation/page-dependencies.ts
|
|
8397
|
-
import { z as
|
|
8398
|
-
var DTODocumentationPageDependencies =
|
|
8399
|
-
id:
|
|
8400
|
-
designSystemVersionId:
|
|
8401
|
-
createdAt:
|
|
8402
|
-
updatedAt:
|
|
8403
|
-
documentationPageId:
|
|
8404
|
-
tokenPersistentIds:
|
|
8405
|
-
figmaComponentPersistentIds:
|
|
8406
|
-
componentPersistentIds:
|
|
8407
|
-
figmaNodePersistentIds:
|
|
8408
|
-
groupPersistentIds:
|
|
8409
|
-
propertyPersistentIds:
|
|
8410
|
-
themePersistentIds:
|
|
8411
|
-
documentationPagePersistentIds:
|
|
8412
|
-
storybookEntriesStoryIds:
|
|
8413
|
-
});
|
|
8414
|
-
var DTODocumentationPageDependenciesGetResponse =
|
|
8415
|
-
dependencies:
|
|
8419
|
+
import { z as z282 } from "zod";
|
|
8420
|
+
var DTODocumentationPageDependencies = z282.object({
|
|
8421
|
+
id: z282.string(),
|
|
8422
|
+
designSystemVersionId: z282.string(),
|
|
8423
|
+
createdAt: z282.coerce.date(),
|
|
8424
|
+
updatedAt: z282.coerce.date(),
|
|
8425
|
+
documentationPageId: z282.string(),
|
|
8426
|
+
tokenPersistentIds: z282.array(z282.string()),
|
|
8427
|
+
figmaComponentPersistentIds: z282.array(z282.string()),
|
|
8428
|
+
componentPersistentIds: z282.array(z282.string()),
|
|
8429
|
+
figmaNodePersistentIds: z282.array(z282.string()),
|
|
8430
|
+
groupPersistentIds: z282.array(z282.string()),
|
|
8431
|
+
propertyPersistentIds: z282.array(z282.string()),
|
|
8432
|
+
themePersistentIds: z282.array(z282.string()),
|
|
8433
|
+
documentationPagePersistentIds: z282.array(z282.string()),
|
|
8434
|
+
storybookEntriesStoryIds: z282.array(z282.string())
|
|
8435
|
+
});
|
|
8436
|
+
var DTODocumentationPageDependenciesGetResponse = z282.object({
|
|
8437
|
+
dependencies: z282.array(DTODocumentationPageDependencies)
|
|
8416
8438
|
});
|
|
8417
8439
|
|
|
8418
8440
|
// src/api/dto/elements/documentation/page-v1.ts
|
|
8419
|
-
import { z as
|
|
8441
|
+
import { z as z283 } from "zod";
|
|
8420
8442
|
var DocumentationPageV1DTO = DocumentationPageV1.omit({
|
|
8421
8443
|
data: true,
|
|
8422
8444
|
meta: true,
|
|
@@ -8424,81 +8446,81 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
|
|
|
8424
8446
|
sortOrder: true
|
|
8425
8447
|
}).extend({
|
|
8426
8448
|
configuration: DTODocumentationItemConfigurationV1,
|
|
8427
|
-
blocks:
|
|
8428
|
-
title:
|
|
8429
|
-
path:
|
|
8449
|
+
blocks: z283.array(PageBlockV1),
|
|
8450
|
+
title: z283.string(),
|
|
8451
|
+
path: z283.string()
|
|
8430
8452
|
});
|
|
8431
8453
|
|
|
8432
8454
|
// src/api/dto/elements/documentation/settings.ts
|
|
8433
|
-
import { z as
|
|
8434
|
-
var DTODocumentationSettings =
|
|
8435
|
-
isDraftFeatureAdopted:
|
|
8436
|
-
isApprovalsFeatureEnabled:
|
|
8437
|
-
isApprovalRequiredForPublishing:
|
|
8455
|
+
import { z as z284 } from "zod";
|
|
8456
|
+
var DTODocumentationSettings = z284.object({
|
|
8457
|
+
isDraftFeatureAdopted: z284.boolean(),
|
|
8458
|
+
isApprovalsFeatureEnabled: z284.boolean(),
|
|
8459
|
+
isApprovalRequiredForPublishing: z284.boolean()
|
|
8438
8460
|
});
|
|
8439
8461
|
|
|
8440
8462
|
// src/api/dto/elements/documentation/structure.ts
|
|
8441
|
-
import { z as
|
|
8442
|
-
var DTODocumentationStructureItemType =
|
|
8443
|
-
var DTODocumentationStructureItemBase =
|
|
8463
|
+
import { z as z285 } from "zod";
|
|
8464
|
+
var DTODocumentationStructureItemType = z285.enum(["Group", "Page"]);
|
|
8465
|
+
var DTODocumentationStructureItemBase = z285.object({
|
|
8444
8466
|
type: DTODocumentationStructureItemType,
|
|
8445
|
-
id:
|
|
8446
|
-
designSystemVersionId:
|
|
8447
|
-
shortPersistentId:
|
|
8448
|
-
persistentId:
|
|
8449
|
-
title:
|
|
8450
|
-
createdAt:
|
|
8451
|
-
updatedAt:
|
|
8467
|
+
id: z285.string(),
|
|
8468
|
+
designSystemVersionId: z285.string(),
|
|
8469
|
+
shortPersistentId: z285.string(),
|
|
8470
|
+
persistentId: z285.string(),
|
|
8471
|
+
title: z285.string(),
|
|
8472
|
+
createdAt: z285.coerce.date(),
|
|
8473
|
+
updatedAt: z285.coerce.date()
|
|
8452
8474
|
});
|
|
8453
8475
|
var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
|
|
8454
|
-
type:
|
|
8455
|
-
groupBehavior:
|
|
8456
|
-
childrenIds:
|
|
8457
|
-
isRoot:
|
|
8476
|
+
type: z285.literal(DTODocumentationStructureItemType.enum.Group),
|
|
8477
|
+
groupBehavior: z285.string(),
|
|
8478
|
+
childrenIds: z285.string().array(),
|
|
8479
|
+
isRoot: z285.boolean()
|
|
8458
8480
|
});
|
|
8459
8481
|
var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
|
|
8460
|
-
type:
|
|
8461
|
-
path:
|
|
8482
|
+
type: z285.literal(DTODocumentationStructureItemType.enum.Page),
|
|
8483
|
+
path: z285.string()
|
|
8462
8484
|
});
|
|
8463
|
-
var DTODocumentationStructureItem =
|
|
8485
|
+
var DTODocumentationStructureItem = z285.discriminatedUnion("type", [
|
|
8464
8486
|
DTODocumentationStructureGroupItem,
|
|
8465
8487
|
DTODocumentationStructurePageItem
|
|
8466
8488
|
]);
|
|
8467
|
-
var DTODocumentationStructure =
|
|
8468
|
-
items:
|
|
8489
|
+
var DTODocumentationStructure = z285.object({
|
|
8490
|
+
items: z285.array(DTODocumentationStructureItem)
|
|
8469
8491
|
});
|
|
8470
8492
|
|
|
8471
8493
|
// src/api/dto/elements/figma-nodes/figma-node-structure.ts
|
|
8472
|
-
import { z as
|
|
8473
|
-
var DTOFigmaNodeStructure =
|
|
8474
|
-
id:
|
|
8475
|
-
sourceId:
|
|
8494
|
+
import { z as z286 } from "zod";
|
|
8495
|
+
var DTOFigmaNodeStructure = z286.object({
|
|
8496
|
+
id: z286.string(),
|
|
8497
|
+
sourceId: z286.string(),
|
|
8476
8498
|
importState: FigmaNodeStructureStateV2,
|
|
8477
|
-
createdAt:
|
|
8478
|
-
updatedAt:
|
|
8499
|
+
createdAt: z286.coerce.date(),
|
|
8500
|
+
updatedAt: z286.coerce.date()
|
|
8479
8501
|
});
|
|
8480
8502
|
var DTOFigmaNodeStructureDetail = DTOFigmaNodeStructure.extend({
|
|
8481
8503
|
rootNode: FigmaFileStructureNode
|
|
8482
8504
|
});
|
|
8483
|
-
var DTOFigmaNodeStructureListResponse =
|
|
8505
|
+
var DTOFigmaNodeStructureListResponse = z286.object({
|
|
8484
8506
|
structures: DTOFigmaNodeStructure.array()
|
|
8485
8507
|
});
|
|
8486
|
-
var DTOFigmaNodeStructureDetailResponse =
|
|
8508
|
+
var DTOFigmaNodeStructureDetailResponse = z286.object({
|
|
8487
8509
|
structure: DTOFigmaNodeStructureDetail
|
|
8488
8510
|
});
|
|
8489
8511
|
|
|
8490
8512
|
// src/api/dto/elements/figma-nodes/figma-node-v1.ts
|
|
8491
|
-
import { z as
|
|
8513
|
+
import { z as z288 } from "zod";
|
|
8492
8514
|
|
|
8493
8515
|
// src/api/dto/elements/figma-nodes/figma-node.ts
|
|
8494
|
-
import { z as
|
|
8516
|
+
import { z as z287 } from "zod";
|
|
8495
8517
|
var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
|
|
8496
|
-
var DTOFigmaNodeOrigin =
|
|
8497
|
-
sourceId:
|
|
8498
|
-
fileId:
|
|
8499
|
-
parentName:
|
|
8518
|
+
var DTOFigmaNodeOrigin = z287.object({
|
|
8519
|
+
sourceId: z287.string(),
|
|
8520
|
+
fileId: z287.string().optional(),
|
|
8521
|
+
parentName: z287.string().optional()
|
|
8500
8522
|
});
|
|
8501
|
-
var DTOFigmaNodeRenderInputBase =
|
|
8523
|
+
var DTOFigmaNodeRenderInputBase = z287.object({
|
|
8502
8524
|
/**
|
|
8503
8525
|
* Format in which the node must be rendered, png by default.
|
|
8504
8526
|
*/
|
|
@@ -8506,57 +8528,57 @@ var DTOFigmaNodeRenderInputBase = z286.object({
|
|
|
8506
8528
|
/**
|
|
8507
8529
|
* Scale to apply to PNG images, can be between 1 and 4. Scale is ignored for other image formats.
|
|
8508
8530
|
*/
|
|
8509
|
-
scale:
|
|
8531
|
+
scale: z287.number().optional()
|
|
8510
8532
|
});
|
|
8511
8533
|
var DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderInputBase.extend({
|
|
8512
|
-
inputType:
|
|
8534
|
+
inputType: z287.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
|
|
8513
8535
|
/**
|
|
8514
8536
|
* Id of a design system's data source representing a linked Figma file
|
|
8515
8537
|
*/
|
|
8516
|
-
sourceId:
|
|
8538
|
+
sourceId: z287.string(),
|
|
8517
8539
|
/**
|
|
8518
8540
|
* Id of a node within the Figma file
|
|
8519
8541
|
*/
|
|
8520
|
-
figmaFileNodeId:
|
|
8542
|
+
figmaFileNodeId: z287.string()
|
|
8521
8543
|
});
|
|
8522
8544
|
var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
|
|
8523
|
-
inputType:
|
|
8545
|
+
inputType: z287.literal("URL"),
|
|
8524
8546
|
/**
|
|
8525
8547
|
* Id of a design system's data source representing a linked Figma file
|
|
8526
8548
|
*/
|
|
8527
|
-
figmaNodeUrl:
|
|
8549
|
+
figmaNodeUrl: z287.string(),
|
|
8528
8550
|
/**
|
|
8529
8551
|
* Brand persistent id to use in case a source has to be created for this render
|
|
8530
8552
|
*/
|
|
8531
|
-
brandPersistentId:
|
|
8553
|
+
brandPersistentId: z287.string()
|
|
8532
8554
|
});
|
|
8533
|
-
var DTOFigmaNodeRerenderInput =
|
|
8534
|
-
inputType:
|
|
8555
|
+
var DTOFigmaNodeRerenderInput = z287.object({
|
|
8556
|
+
inputType: z287.literal("Rerender"),
|
|
8535
8557
|
/**
|
|
8536
8558
|
* Persistent ID of an existing Figma node
|
|
8537
8559
|
*/
|
|
8538
|
-
figmaNodePersistentId:
|
|
8560
|
+
figmaNodePersistentId: z287.string()
|
|
8539
8561
|
});
|
|
8540
|
-
var DTOFigmaNodeRenderInput =
|
|
8562
|
+
var DTOFigmaNodeRenderInput = z287.discriminatedUnion("inputType", [
|
|
8541
8563
|
DTOFigmaNodeRenderIdInput,
|
|
8542
8564
|
DTOFigmaNodeRenderUrlInput,
|
|
8543
8565
|
DTOFigmaNodeRerenderInput
|
|
8544
8566
|
]);
|
|
8545
8567
|
|
|
8546
8568
|
// src/api/dto/elements/figma-nodes/figma-node-v1.ts
|
|
8547
|
-
var DTOFigmaNodeData =
|
|
8569
|
+
var DTOFigmaNodeData = z288.object({
|
|
8548
8570
|
// Id of the node in the Figma file
|
|
8549
|
-
figmaNodeId:
|
|
8571
|
+
figmaNodeId: z288.string(),
|
|
8550
8572
|
// Validity
|
|
8551
|
-
isValid:
|
|
8573
|
+
isValid: z288.boolean(),
|
|
8552
8574
|
// Asset data
|
|
8553
|
-
assetId:
|
|
8554
|
-
assetUrl:
|
|
8575
|
+
assetId: z288.string(),
|
|
8576
|
+
assetUrl: z288.string(),
|
|
8555
8577
|
assetFormat: DTOFigmaNodeRenderFormat,
|
|
8556
8578
|
// Asset metadata
|
|
8557
|
-
assetScale:
|
|
8558
|
-
assetWidth:
|
|
8559
|
-
assetHeight:
|
|
8579
|
+
assetScale: z288.number(),
|
|
8580
|
+
assetWidth: z288.number().optional(),
|
|
8581
|
+
assetHeight: z288.number().optional()
|
|
8560
8582
|
});
|
|
8561
8583
|
var DTOFigmaNode = FigmaNodeReference.omit({
|
|
8562
8584
|
data: true,
|
|
@@ -8567,15 +8589,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
|
|
|
8567
8589
|
});
|
|
8568
8590
|
|
|
8569
8591
|
// src/api/dto/elements/figma-nodes/figma-node-v2.ts
|
|
8570
|
-
import { z as
|
|
8571
|
-
var DTOFigmaNodeDataV2 =
|
|
8572
|
-
sceneNodeId:
|
|
8592
|
+
import { z as z289 } from "zod";
|
|
8593
|
+
var DTOFigmaNodeDataV2 = z289.object({
|
|
8594
|
+
sceneNodeId: z289.string(),
|
|
8573
8595
|
format: FigmaNodeRenderFormat,
|
|
8574
|
-
scale:
|
|
8596
|
+
scale: z289.number().optional(),
|
|
8575
8597
|
renderState: FigmaNodeRenderState,
|
|
8576
8598
|
renderedImage: FigmaNodeRenderedImage.optional(),
|
|
8577
8599
|
renderError: FigmaNodeRenderError.optional(),
|
|
8578
|
-
hasSource:
|
|
8600
|
+
hasSource: z289.boolean()
|
|
8579
8601
|
});
|
|
8580
8602
|
var DTOFigmaNodeV2 = FigmaNodeReference.omit({
|
|
8581
8603
|
data: true,
|
|
@@ -8586,113 +8608,113 @@ var DTOFigmaNodeV2 = FigmaNodeReference.omit({
|
|
|
8586
8608
|
});
|
|
8587
8609
|
|
|
8588
8610
|
// src/api/dto/elements/figma-nodes/node-actions-v2.ts
|
|
8589
|
-
import { z as
|
|
8590
|
-
var DTOFigmaNodeRenderActionOutput =
|
|
8591
|
-
type:
|
|
8592
|
-
figmaNodes:
|
|
8611
|
+
import { z as z290 } from "zod";
|
|
8612
|
+
var DTOFigmaNodeRenderActionOutput = z290.object({
|
|
8613
|
+
type: z290.literal("FigmaNodeRender"),
|
|
8614
|
+
figmaNodes: z290.array(DTOFigmaNode)
|
|
8593
8615
|
});
|
|
8594
|
-
var DTOFigmaNodeRenderAsyncActionOutput =
|
|
8595
|
-
type:
|
|
8596
|
-
figmaNodes:
|
|
8616
|
+
var DTOFigmaNodeRenderAsyncActionOutput = z290.object({
|
|
8617
|
+
type: z290.literal("FigmaNodeRenderAsync"),
|
|
8618
|
+
figmaNodes: z290.array(DTOFigmaNodeV2)
|
|
8597
8619
|
});
|
|
8598
|
-
var DTOFigmaNodeRenderActionInput =
|
|
8599
|
-
type:
|
|
8620
|
+
var DTOFigmaNodeRenderActionInput = z290.object({
|
|
8621
|
+
type: z290.literal("FigmaNodeRender"),
|
|
8600
8622
|
input: DTOFigmaNodeRenderIdInput.array()
|
|
8601
8623
|
});
|
|
8602
|
-
var DTOFigmaNodeRenderAsyncActionInput =
|
|
8603
|
-
type:
|
|
8624
|
+
var DTOFigmaNodeRenderAsyncActionInput = z290.object({
|
|
8625
|
+
type: z290.literal("FigmaNodeRenderAsync"),
|
|
8604
8626
|
nodes: DTOFigmaNodeRenderInput.array()
|
|
8605
8627
|
});
|
|
8606
8628
|
|
|
8607
8629
|
// src/api/dto/elements/frame-node-structures/frame-node-structure.ts
|
|
8608
|
-
import { z as
|
|
8609
|
-
var DTOFrameNodeStructure =
|
|
8610
|
-
id:
|
|
8611
|
-
persistentId:
|
|
8612
|
-
designSystemVersionId:
|
|
8630
|
+
import { z as z291 } from "zod";
|
|
8631
|
+
var DTOFrameNodeStructure = z291.object({
|
|
8632
|
+
id: z291.string(),
|
|
8633
|
+
persistentId: z291.string(),
|
|
8634
|
+
designSystemVersionId: z291.string(),
|
|
8613
8635
|
origin: FigmaFileStructureOrigin,
|
|
8614
8636
|
assetsInFile: FigmaFileStructureStatistics
|
|
8615
8637
|
});
|
|
8616
|
-
var DTOFrameNodeStructureListResponse =
|
|
8638
|
+
var DTOFrameNodeStructureListResponse = z291.object({
|
|
8617
8639
|
structures: DTOFrameNodeStructure.array()
|
|
8618
8640
|
});
|
|
8619
8641
|
|
|
8620
8642
|
// src/api/dto/elements/properties/property-definitions.ts
|
|
8621
|
-
import { z as
|
|
8643
|
+
import { z as z292 } from "zod";
|
|
8622
8644
|
var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9-]{1,99}$/;
|
|
8623
|
-
var DTOElementPropertyDefinitionOption =
|
|
8624
|
-
id:
|
|
8625
|
-
name:
|
|
8645
|
+
var DTOElementPropertyDefinitionOption = z292.object({
|
|
8646
|
+
id: z292.string(),
|
|
8647
|
+
name: z292.string(),
|
|
8626
8648
|
backgroundColor: DTOColorTokenInlineData.optional()
|
|
8627
8649
|
});
|
|
8628
|
-
var DTOElementPropertyDefinition =
|
|
8629
|
-
id:
|
|
8630
|
-
designSystemVersionId:
|
|
8650
|
+
var DTOElementPropertyDefinition = z292.object({
|
|
8651
|
+
id: z292.string(),
|
|
8652
|
+
designSystemVersionId: z292.string(),
|
|
8631
8653
|
meta: DTOObjectMeta,
|
|
8632
|
-
persistentId:
|
|
8654
|
+
persistentId: z292.string(),
|
|
8633
8655
|
type: ElementPropertyTypeSchema,
|
|
8634
8656
|
targetElementType: ElementPropertyTargetType,
|
|
8635
|
-
codeName:
|
|
8636
|
-
options: nullishToOptional(
|
|
8657
|
+
codeName: z292.string().regex(CODE_NAME_REGEX2),
|
|
8658
|
+
options: nullishToOptional(z292.array(DTOElementPropertyDefinitionOption)),
|
|
8637
8659
|
linkElementType: nullishToOptional(ElementPropertyLinkType),
|
|
8638
|
-
isImmutable:
|
|
8660
|
+
isImmutable: z292.boolean(),
|
|
8639
8661
|
immutablePropertyType: ElementPropertyImmutableType.optional()
|
|
8640
8662
|
});
|
|
8641
|
-
var DTOElementPropertyDefinitionListResponse =
|
|
8642
|
-
definitions:
|
|
8663
|
+
var DTOElementPropertyDefinitionListResponse = z292.object({
|
|
8664
|
+
definitions: z292.array(DTOElementPropertyDefinition)
|
|
8643
8665
|
});
|
|
8644
|
-
var DTOElementPropertyDefinitionResponse =
|
|
8666
|
+
var DTOElementPropertyDefinitionResponse = z292.object({
|
|
8645
8667
|
definition: DTOElementPropertyDefinition
|
|
8646
8668
|
});
|
|
8647
|
-
var DTOElementPropertyDefinitionCreatePayload =
|
|
8669
|
+
var DTOElementPropertyDefinitionCreatePayload = z292.object({
|
|
8648
8670
|
meta: DTOObjectMeta,
|
|
8649
|
-
persistentId:
|
|
8671
|
+
persistentId: z292.string(),
|
|
8650
8672
|
type: ElementPropertyTypeSchema,
|
|
8651
8673
|
targetElementType: ElementPropertyTargetType,
|
|
8652
|
-
codeName:
|
|
8653
|
-
options: nullishToOptional(
|
|
8674
|
+
codeName: z292.string().regex(CODE_NAME_REGEX2),
|
|
8675
|
+
options: nullishToOptional(z292.array(DTOElementPropertyDefinitionOption)),
|
|
8654
8676
|
linkElementType: nullishToOptional(ElementPropertyLinkType),
|
|
8655
|
-
columnWidth:
|
|
8677
|
+
columnWidth: z292.number().max(1024).optional()
|
|
8656
8678
|
});
|
|
8657
|
-
var DTOElementPropertyDefinitionUpdatePayload =
|
|
8679
|
+
var DTOElementPropertyDefinitionUpdatePayload = z292.object({
|
|
8658
8680
|
meta: DTOObjectMeta.optional(),
|
|
8659
|
-
codeName:
|
|
8660
|
-
options:
|
|
8681
|
+
codeName: z292.string().regex(CODE_NAME_REGEX2).optional(),
|
|
8682
|
+
options: z292.array(DTOElementPropertyDefinitionOption).optional()
|
|
8661
8683
|
});
|
|
8662
8684
|
|
|
8663
8685
|
// src/api/dto/elements/properties/property-values.ts
|
|
8664
|
-
import { z as
|
|
8665
|
-
var DTOElementPropertyValue =
|
|
8666
|
-
id:
|
|
8667
|
-
designSystemVersionId:
|
|
8668
|
-
definitionId:
|
|
8669
|
-
targetElementId:
|
|
8670
|
-
value:
|
|
8671
|
-
valuePreview:
|
|
8672
|
-
});
|
|
8673
|
-
var DTOElementPropertyValueListResponse =
|
|
8674
|
-
values:
|
|
8675
|
-
});
|
|
8676
|
-
var DTOElementPropertyValueResponse =
|
|
8686
|
+
import { z as z293 } from "zod";
|
|
8687
|
+
var DTOElementPropertyValue = z293.object({
|
|
8688
|
+
id: z293.string(),
|
|
8689
|
+
designSystemVersionId: z293.string(),
|
|
8690
|
+
definitionId: z293.string(),
|
|
8691
|
+
targetElementId: z293.string(),
|
|
8692
|
+
value: z293.union([z293.string(), z293.number(), z293.boolean()]).optional(),
|
|
8693
|
+
valuePreview: z293.string().optional()
|
|
8694
|
+
});
|
|
8695
|
+
var DTOElementPropertyValueListResponse = z293.object({
|
|
8696
|
+
values: z293.array(DTOElementPropertyValue)
|
|
8697
|
+
});
|
|
8698
|
+
var DTOElementPropertyValueResponse = z293.object({
|
|
8677
8699
|
value: DTOElementPropertyValue
|
|
8678
8700
|
});
|
|
8679
|
-
var DTOElementPropertyValuesEditActionOutput =
|
|
8680
|
-
type:
|
|
8681
|
-
output:
|
|
8701
|
+
var DTOElementPropertyValuesEditActionOutput = z293.object({
|
|
8702
|
+
type: z293.literal("ElementPropertyValuesEdit"),
|
|
8703
|
+
output: z293.object({ success: z293.literal(true) })
|
|
8682
8704
|
});
|
|
8683
|
-
var DTOElementPropertyValueUpsertPaylod =
|
|
8684
|
-
definitionId:
|
|
8685
|
-
targetElementId:
|
|
8686
|
-
value:
|
|
8705
|
+
var DTOElementPropertyValueUpsertPaylod = z293.object({
|
|
8706
|
+
definitionId: z293.string(),
|
|
8707
|
+
targetElementId: z293.string(),
|
|
8708
|
+
value: z293.string().or(z293.number()).or(z293.boolean()).nullable()
|
|
8687
8709
|
});
|
|
8688
|
-
var DTOElementPropertyValuesEditActionInput =
|
|
8689
|
-
type:
|
|
8710
|
+
var DTOElementPropertyValuesEditActionInput = z293.object({
|
|
8711
|
+
type: z293.literal("ElementPropertyValuesEdit"),
|
|
8690
8712
|
values: DTOElementPropertyValueUpsertPaylod.array()
|
|
8691
8713
|
});
|
|
8692
8714
|
|
|
8693
8715
|
// src/api/dto/elements/elements-action-v2.ts
|
|
8694
|
-
import { z as
|
|
8695
|
-
var DTOElementActionOutput =
|
|
8716
|
+
import { z as z294 } from "zod";
|
|
8717
|
+
var DTOElementActionOutput = z294.discriminatedUnion("type", [
|
|
8696
8718
|
// Documentation pages
|
|
8697
8719
|
DTODocumentationPageCreateActionOutputV2,
|
|
8698
8720
|
DTODocumentationPageUpdateActionOutputV2,
|
|
@@ -8719,7 +8741,7 @@ var DTOElementActionOutput = z293.discriminatedUnion("type", [
|
|
|
8719
8741
|
// Element properties
|
|
8720
8742
|
DTOElementPropertyValuesEditActionOutput
|
|
8721
8743
|
]);
|
|
8722
|
-
var DTOElementActionInput =
|
|
8744
|
+
var DTOElementActionInput = z294.discriminatedUnion("type", [
|
|
8723
8745
|
// Documentation pages
|
|
8724
8746
|
DTODocumentationPageCreateActionInputV2,
|
|
8725
8747
|
DTODocumentationPageUpdateActionInputV2,
|
|
@@ -8746,78 +8768,78 @@ var DTOElementActionInput = z293.discriminatedUnion("type", [
|
|
|
8746
8768
|
// Element properties
|
|
8747
8769
|
DTOElementPropertyValuesEditActionInput
|
|
8748
8770
|
]).and(
|
|
8749
|
-
|
|
8750
|
-
tId:
|
|
8771
|
+
z294.object({
|
|
8772
|
+
tId: z294.string().optional()
|
|
8751
8773
|
})
|
|
8752
8774
|
);
|
|
8753
8775
|
|
|
8754
8776
|
// src/api/dto/elements/get-elements-v2.ts
|
|
8755
|
-
import { z as
|
|
8756
|
-
var DTOElementsGetTypeFilter =
|
|
8757
|
-
var DTOElementsGetQuerySchema =
|
|
8758
|
-
types:
|
|
8759
|
-
responseVersion:
|
|
8777
|
+
import { z as z295 } from "zod";
|
|
8778
|
+
var DTOElementsGetTypeFilter = z295.enum(["FigmaNode"]);
|
|
8779
|
+
var DTOElementsGetQuerySchema = z295.object({
|
|
8780
|
+
types: z295.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
|
|
8781
|
+
responseVersion: z295.coerce.number().default(1)
|
|
8760
8782
|
});
|
|
8761
|
-
var DTOElementsGetOutput =
|
|
8762
|
-
figmaNodes:
|
|
8783
|
+
var DTOElementsGetOutput = z295.object({
|
|
8784
|
+
figmaNodes: z295.array(DTOFigmaNode).optional()
|
|
8763
8785
|
});
|
|
8764
|
-
var DTOElementsGetOutputV2 =
|
|
8765
|
-
figmaNodes:
|
|
8786
|
+
var DTOElementsGetOutputV2 = z295.object({
|
|
8787
|
+
figmaNodes: z295.array(DTOFigmaNodeV2).optional()
|
|
8766
8788
|
});
|
|
8767
8789
|
|
|
8768
8790
|
// src/api/dto/figma-components/assets/download.ts
|
|
8769
|
-
import { z as
|
|
8770
|
-
var DTOAssetRenderConfiguration =
|
|
8771
|
-
prefix:
|
|
8772
|
-
suffix:
|
|
8773
|
-
scale:
|
|
8774
|
-
format:
|
|
8775
|
-
});
|
|
8776
|
-
var DTORenderedAssetFile =
|
|
8777
|
-
assetId:
|
|
8778
|
-
fileName:
|
|
8779
|
-
sourceUrl:
|
|
8791
|
+
import { z as z296 } from "zod";
|
|
8792
|
+
var DTOAssetRenderConfiguration = z296.object({
|
|
8793
|
+
prefix: z296.string().optional(),
|
|
8794
|
+
suffix: z296.string().optional(),
|
|
8795
|
+
scale: z296.enum(["x1", "x2", "x3", "x4"]),
|
|
8796
|
+
format: z296.enum(["png", "pdf", "svg"])
|
|
8797
|
+
});
|
|
8798
|
+
var DTORenderedAssetFile = z296.object({
|
|
8799
|
+
assetId: z296.string(),
|
|
8800
|
+
fileName: z296.string(),
|
|
8801
|
+
sourceUrl: z296.string(),
|
|
8780
8802
|
settings: DTOAssetRenderConfiguration,
|
|
8781
|
-
originalName:
|
|
8803
|
+
originalName: z296.string()
|
|
8782
8804
|
});
|
|
8783
|
-
var DTODownloadAssetsRequest =
|
|
8784
|
-
persistentIds:
|
|
8805
|
+
var DTODownloadAssetsRequest = z296.object({
|
|
8806
|
+
persistentIds: z296.array(z296.string().uuid()).optional(),
|
|
8785
8807
|
settings: DTOAssetRenderConfiguration.array()
|
|
8786
8808
|
});
|
|
8787
|
-
var DTODownloadAssetsResponse =
|
|
8809
|
+
var DTODownloadAssetsResponse = z296.object({
|
|
8788
8810
|
items: DTORenderedAssetFile.array()
|
|
8789
8811
|
});
|
|
8790
8812
|
|
|
8791
8813
|
// src/api/dto/figma-exporter/figma-node.ts
|
|
8792
|
-
import { z as
|
|
8793
|
-
var DTOFigmaNodeResponse =
|
|
8814
|
+
import { z as z297 } from "zod";
|
|
8815
|
+
var DTOFigmaNodeResponse = z297.object({
|
|
8794
8816
|
nodes: FigmaExporterAnyDesignNodeSchema
|
|
8795
8817
|
});
|
|
8796
8818
|
|
|
8797
8819
|
// src/api/dto/forge/agent.ts
|
|
8798
|
-
import { z as
|
|
8820
|
+
import { z as z298 } from "zod";
|
|
8799
8821
|
var DTOForgeAgent = ForgeAgent;
|
|
8800
8822
|
var DTOForgeAvatarBuilder = ForgeAvatarBuilder;
|
|
8801
8823
|
var DTOCreateForgeAgent = DTOForgeAgent.omit({ projectId: true });
|
|
8802
|
-
var DTOUpdateForgeAgent = DTOCreateForgeAgent.extend({ id:
|
|
8803
|
-
var DTOCreateForgeAgentResponse =
|
|
8824
|
+
var DTOUpdateForgeAgent = DTOCreateForgeAgent.extend({ id: z298.string() });
|
|
8825
|
+
var DTOCreateForgeAgentResponse = z298.object({
|
|
8804
8826
|
agent: DTOForgeAgent
|
|
8805
8827
|
});
|
|
8806
|
-
var DTOUGetForgeAgentResponse =
|
|
8828
|
+
var DTOUGetForgeAgentResponse = z298.object({
|
|
8807
8829
|
agent: DTOForgeAgent.nullable()
|
|
8808
8830
|
});
|
|
8809
|
-
var DTOUpdateForgeAgentResponse =
|
|
8831
|
+
var DTOUpdateForgeAgentResponse = z298.object({
|
|
8810
8832
|
agent: DTOForgeAgent.nullable()
|
|
8811
8833
|
});
|
|
8812
|
-
var DTOForgeAgentsListResponse =
|
|
8813
|
-
agents:
|
|
8834
|
+
var DTOForgeAgentsListResponse = z298.object({
|
|
8835
|
+
agents: z298.array(DTOForgeAgent)
|
|
8814
8836
|
});
|
|
8815
|
-
var DTODeleteForgeAgentResponse =
|
|
8816
|
-
ok:
|
|
8837
|
+
var DTODeleteForgeAgentResponse = z298.object({
|
|
8838
|
+
ok: z298.literal(true)
|
|
8817
8839
|
});
|
|
8818
8840
|
|
|
8819
8841
|
// src/api/dto/forge/artifact.ts
|
|
8820
|
-
import { z as
|
|
8842
|
+
import { z as z299 } from "zod";
|
|
8821
8843
|
var DTOCreateForgeBuildArtifact = ForgeBuildArtifact.omit({
|
|
8822
8844
|
id: true,
|
|
8823
8845
|
createdAt: true,
|
|
@@ -8838,48 +8860,48 @@ var DTOCreateForgeSpecArtifact = ForgeSpecArtifact.omit({
|
|
|
8838
8860
|
createdAt: true,
|
|
8839
8861
|
projectIterationId: true
|
|
8840
8862
|
});
|
|
8841
|
-
var DTOUpdateForgeBuildArtifact = DTOCreateForgeBuildArtifact.extend({ id:
|
|
8842
|
-
var DTOUpdateForgeFileArtifact = DTOCreateForgeFileArtifact.extend({ id:
|
|
8843
|
-
var DTOUpdateForgeFigmaArtifact = DTOCreateForgeFigmaArtifact.extend({ id:
|
|
8844
|
-
var DTOUpdateForgeSpecArtifact = DTOCreateForgeSpecArtifact.extend({ id:
|
|
8863
|
+
var DTOUpdateForgeBuildArtifact = DTOCreateForgeBuildArtifact.extend({ id: z299.string() });
|
|
8864
|
+
var DTOUpdateForgeFileArtifact = DTOCreateForgeFileArtifact.extend({ id: z299.string() });
|
|
8865
|
+
var DTOUpdateForgeFigmaArtifact = DTOCreateForgeFigmaArtifact.extend({ id: z299.string() });
|
|
8866
|
+
var DTOUpdateForgeSpecArtifact = DTOCreateForgeSpecArtifact.extend({ id: z299.string() });
|
|
8845
8867
|
var DTOForgeArtifact = ForgeArtifact;
|
|
8846
8868
|
var DTOForgeBuildArtifact = ForgeBuildArtifact;
|
|
8847
8869
|
var DTOForgeFileArtifact = ForgeFileArtifact;
|
|
8848
8870
|
var DTOForgeFigmaArtifact = ForgeFigmaArtifact;
|
|
8849
8871
|
var DTOForgeSpecArtifact = ForgeSpecArtifact;
|
|
8850
|
-
var DTOCreateForgeArtifact =
|
|
8872
|
+
var DTOCreateForgeArtifact = z299.union([
|
|
8851
8873
|
DTOCreateForgeBuildArtifact,
|
|
8852
8874
|
DTOCreateForgeFileArtifact,
|
|
8853
8875
|
DTOCreateForgeFigmaArtifact,
|
|
8854
8876
|
DTOCreateForgeSpecArtifact
|
|
8855
8877
|
]);
|
|
8856
|
-
var DTOUpdateForgeArtifact =
|
|
8878
|
+
var DTOUpdateForgeArtifact = z299.union([
|
|
8857
8879
|
DTOUpdateForgeFileArtifact,
|
|
8858
8880
|
DTOUpdateForgeBuildArtifact,
|
|
8859
8881
|
DTOUpdateForgeSpecArtifact,
|
|
8860
8882
|
DTOUpdateForgeFigmaArtifact
|
|
8861
8883
|
]);
|
|
8862
|
-
var DTOCreateForgeArtifactResponse =
|
|
8884
|
+
var DTOCreateForgeArtifactResponse = z299.object({
|
|
8863
8885
|
artifact: DTOForgeArtifact
|
|
8864
8886
|
});
|
|
8865
|
-
var DTOUpdateForgeArtifactResponse =
|
|
8887
|
+
var DTOUpdateForgeArtifactResponse = z299.object({
|
|
8866
8888
|
artifact: DTOForgeArtifact.nullable()
|
|
8867
8889
|
});
|
|
8868
|
-
var DTODeleteForgeArtifactResponse =
|
|
8869
|
-
ok:
|
|
8890
|
+
var DTODeleteForgeArtifactResponse = z299.object({
|
|
8891
|
+
ok: z299.literal(true)
|
|
8870
8892
|
});
|
|
8871
|
-
var DTOForgeArtifactsListResponse =
|
|
8872
|
-
artifacts:
|
|
8893
|
+
var DTOForgeArtifactsListResponse = z299.object({
|
|
8894
|
+
artifacts: z299.array(DTOForgeArtifact)
|
|
8873
8895
|
});
|
|
8874
|
-
var DTOForgeArtifactGetResponse =
|
|
8896
|
+
var DTOForgeArtifactGetResponse = z299.object({
|
|
8875
8897
|
artifact: DTOForgeArtifact.nullable()
|
|
8876
8898
|
});
|
|
8877
8899
|
|
|
8878
8900
|
// src/api/dto/forge/iteration-message.ts
|
|
8879
|
-
import { z as
|
|
8901
|
+
import { z as z301 } from "zod";
|
|
8880
8902
|
|
|
8881
8903
|
// src/api/dto/forge/participant.ts
|
|
8882
|
-
import { z as
|
|
8904
|
+
import { z as z300 } from "zod";
|
|
8883
8905
|
var DTOForgeParticipant = ForgeParticipant.omit({ agent: true, user: true }).extend({
|
|
8884
8906
|
agent: DTOForgeAgent.optional(),
|
|
8885
8907
|
user: DTOUser.optional()
|
|
@@ -8889,20 +8911,20 @@ var DTOCreateForgeParticipant = DTOForgeParticipant.omit({
|
|
|
8889
8911
|
agent: true,
|
|
8890
8912
|
user: true
|
|
8891
8913
|
});
|
|
8892
|
-
var DTOUpdateForgeParticipant = DTOCreateForgeParticipant.extend({ id:
|
|
8893
|
-
var DTOCreateForgeParticipantResponse =
|
|
8914
|
+
var DTOUpdateForgeParticipant = DTOCreateForgeParticipant.extend({ id: z300.string() });
|
|
8915
|
+
var DTOCreateForgeParticipantResponse = z300.object({
|
|
8894
8916
|
participant: DTOForgeParticipant
|
|
8895
8917
|
});
|
|
8896
|
-
var DTOUpdateForgeParticipantResponse =
|
|
8918
|
+
var DTOUpdateForgeParticipantResponse = z300.object({
|
|
8897
8919
|
participant: DTOForgeParticipant.nullable()
|
|
8898
8920
|
});
|
|
8899
|
-
var DTODeleteForgeParticipantResponse =
|
|
8900
|
-
ok:
|
|
8921
|
+
var DTODeleteForgeParticipantResponse = z300.object({
|
|
8922
|
+
ok: z300.literal(true)
|
|
8901
8923
|
});
|
|
8902
|
-
var DTOForgeParticipantsListResponse =
|
|
8903
|
-
participants:
|
|
8924
|
+
var DTOForgeParticipantsListResponse = z300.object({
|
|
8925
|
+
participants: z300.array(DTOForgeParticipant)
|
|
8904
8926
|
});
|
|
8905
|
-
var DTOForgeParticipantGetResponse =
|
|
8927
|
+
var DTOForgeParticipantGetResponse = z300.object({
|
|
8906
8928
|
participant: DTOForgeParticipant.nullable()
|
|
8907
8929
|
});
|
|
8908
8930
|
|
|
@@ -8914,25 +8936,25 @@ var DTOCreateForgeIterationMessage = DTOForgeIterationMessage.omit({
|
|
|
8914
8936
|
projectIterationId: true,
|
|
8915
8937
|
participant: true
|
|
8916
8938
|
});
|
|
8917
|
-
var DTOGetForgeIterationMessageResponse =
|
|
8939
|
+
var DTOGetForgeIterationMessageResponse = z301.object({
|
|
8918
8940
|
message: DTOForgeIterationMessage.nullable()
|
|
8919
8941
|
});
|
|
8920
|
-
var DTOForgeIterationMessagesListResponse =
|
|
8921
|
-
messages:
|
|
8942
|
+
var DTOForgeIterationMessagesListResponse = z301.object({
|
|
8943
|
+
messages: z301.array(DTOForgeIterationMessage)
|
|
8922
8944
|
});
|
|
8923
|
-
var DTOUpdateForgeIterationMessage = DTOCreateForgeIterationMessage.extend({ id:
|
|
8924
|
-
var DTOCreateForgeIterationMessageResponse =
|
|
8945
|
+
var DTOUpdateForgeIterationMessage = DTOCreateForgeIterationMessage.extend({ id: z301.string() });
|
|
8946
|
+
var DTOCreateForgeIterationMessageResponse = z301.object({
|
|
8925
8947
|
message: DTOForgeIterationMessage
|
|
8926
8948
|
});
|
|
8927
|
-
var DTOUpdateForgeIterationMessageResponse =
|
|
8949
|
+
var DTOUpdateForgeIterationMessageResponse = z301.object({
|
|
8928
8950
|
message: DTOForgeIterationMessage.nullable()
|
|
8929
8951
|
});
|
|
8930
|
-
var DTODeleteForgeIterationMessageResponse =
|
|
8931
|
-
ok:
|
|
8952
|
+
var DTODeleteForgeIterationMessageResponse = z301.object({
|
|
8953
|
+
ok: z301.literal(true)
|
|
8932
8954
|
});
|
|
8933
8955
|
|
|
8934
8956
|
// src/api/dto/forge/project-context.ts
|
|
8935
|
-
import { z as
|
|
8957
|
+
import { z as z302 } from "zod";
|
|
8936
8958
|
var DTOForgeProjectContext = ForgeProjectContext;
|
|
8937
8959
|
var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
|
|
8938
8960
|
definition: true,
|
|
@@ -8944,17 +8966,17 @@ var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
|
|
|
8944
8966
|
tailwindConfig: true,
|
|
8945
8967
|
styling: true
|
|
8946
8968
|
}).extend({ npmProxySettings: DTONpmRegistryConfig });
|
|
8947
|
-
var DTOUpdateForgeProjectContext = DTOForgeProjectContext.extend({ id:
|
|
8948
|
-
var DTOForgeProjectContextGetResponse =
|
|
8949
|
-
var DTOForgeProjectContextListResponse =
|
|
8950
|
-
var DTOForgeProjectContextCreateResponse =
|
|
8951
|
-
var DTOForgeProjectContextUpdateResponse =
|
|
8952
|
-
var DTOForgeProjectContextRemoveResponse =
|
|
8953
|
-
ok:
|
|
8969
|
+
var DTOUpdateForgeProjectContext = DTOForgeProjectContext.extend({ id: z302.string() });
|
|
8970
|
+
var DTOForgeProjectContextGetResponse = z302.object({ context: DTOForgeProjectContext.nullable() });
|
|
8971
|
+
var DTOForgeProjectContextListResponse = z302.object({ contexts: z302.array(DTOForgeProjectContext) });
|
|
8972
|
+
var DTOForgeProjectContextCreateResponse = z302.object({ context: DTOForgeProjectContext });
|
|
8973
|
+
var DTOForgeProjectContextUpdateResponse = z302.object({ context: DTOForgeProjectContext.nullable() });
|
|
8974
|
+
var DTOForgeProjectContextRemoveResponse = z302.object({
|
|
8975
|
+
ok: z302.literal(true)
|
|
8954
8976
|
});
|
|
8955
8977
|
|
|
8956
8978
|
// src/api/dto/forge/project-invitation.ts
|
|
8957
|
-
import { z as
|
|
8979
|
+
import { z as z303 } from "zod";
|
|
8958
8980
|
var DTOForgeProjectInvitation = ForgeProjectInvitation;
|
|
8959
8981
|
var DTOCreateForgeProjectInvitation = DTOForgeProjectInvitation.pick({
|
|
8960
8982
|
email: true,
|
|
@@ -8966,24 +8988,24 @@ var DTOUpdateForgeProjectInvitation = DTOCreateForgeProjectInvitation.omit({ ema
|
|
|
8966
8988
|
var DTORemoveForgeProjectInvitation = DTOCreateForgeProjectInvitation.pick({
|
|
8967
8989
|
email: true
|
|
8968
8990
|
});
|
|
8969
|
-
var DTOForgeProjectInvitationsListResponse =
|
|
8970
|
-
invitations:
|
|
8991
|
+
var DTOForgeProjectInvitationsListResponse = z303.object({
|
|
8992
|
+
invitations: z303.array(DTOForgeProjectInvitation)
|
|
8971
8993
|
});
|
|
8972
|
-
var DTOForgeProjectInvitationGetResponse =
|
|
8994
|
+
var DTOForgeProjectInvitationGetResponse = z303.object({
|
|
8973
8995
|
invitation: DTOForgeProjectInvitation.nullable()
|
|
8974
8996
|
});
|
|
8975
|
-
var DTOForgeProjectInvitationCreateResponse =
|
|
8997
|
+
var DTOForgeProjectInvitationCreateResponse = z303.object({
|
|
8976
8998
|
invitation: DTOForgeProjectInvitation
|
|
8977
8999
|
});
|
|
8978
|
-
var DTOForgeProjectInvitationUpdateResponse =
|
|
9000
|
+
var DTOForgeProjectInvitationUpdateResponse = z303.object({
|
|
8979
9001
|
invitation: DTOForgeProjectInvitation.nullable()
|
|
8980
9002
|
});
|
|
8981
|
-
var DTOForgeProjectInvitationRemoveResponse =
|
|
8982
|
-
ok:
|
|
9003
|
+
var DTOForgeProjectInvitationRemoveResponse = z303.object({
|
|
9004
|
+
ok: z303.literal(true)
|
|
8983
9005
|
});
|
|
8984
9006
|
|
|
8985
9007
|
// src/api/dto/forge/project-iteration.ts
|
|
8986
|
-
import { z as
|
|
9008
|
+
import { z as z304 } from "zod";
|
|
8987
9009
|
var DTOForgeProjectIterationMergeMeta = ForgeProjectIterationMergeMeta;
|
|
8988
9010
|
var DTOForgeProjectIteration = ForgeProjectIteration.omit({
|
|
8989
9011
|
artifacts: true,
|
|
@@ -8994,7 +9016,7 @@ var DTOForgeProjectIteration = ForgeProjectIteration.omit({
|
|
|
8994
9016
|
messages: DTOForgeIterationMessage.array(),
|
|
8995
9017
|
mergeMeta: DTOForgeProjectIterationMergeMeta.optional()
|
|
8996
9018
|
});
|
|
8997
|
-
var DTOGetForgeProjectIterationResponse =
|
|
9019
|
+
var DTOGetForgeProjectIterationResponse = z304.object({
|
|
8998
9020
|
iteration: DTOForgeProjectIteration.nullable()
|
|
8999
9021
|
});
|
|
9000
9022
|
var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
|
|
@@ -9004,20 +9026,20 @@ var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
|
|
|
9004
9026
|
mergeMeta: true,
|
|
9005
9027
|
createdAt: true
|
|
9006
9028
|
});
|
|
9007
|
-
var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id:
|
|
9008
|
-
var DTOCreateForgeProjectIterationResponse =
|
|
9029
|
+
var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z304.string() });
|
|
9030
|
+
var DTOCreateForgeProjectIterationResponse = z304.object({
|
|
9009
9031
|
iteration: DTOForgeProjectIteration
|
|
9010
9032
|
});
|
|
9011
|
-
var DTOUpdateForgeProjectIterationResponse =
|
|
9033
|
+
var DTOUpdateForgeProjectIterationResponse = z304.object({
|
|
9012
9034
|
iteration: DTOForgeProjectIteration.nullable()
|
|
9013
9035
|
});
|
|
9014
|
-
var DTODeleteForgeProjectIterationResponse =
|
|
9015
|
-
ok:
|
|
9036
|
+
var DTODeleteForgeProjectIterationResponse = z304.object({
|
|
9037
|
+
ok: z304.literal(true)
|
|
9016
9038
|
});
|
|
9017
|
-
var DTOForgeProjectIterationListResponse =
|
|
9039
|
+
var DTOForgeProjectIterationListResponse = z304.object({ iterations: z304.array(DTOForgeProjectIteration) });
|
|
9018
9040
|
|
|
9019
9041
|
// src/api/dto/forge/project-member.ts
|
|
9020
|
-
import { z as
|
|
9042
|
+
import { z as z305 } from "zod";
|
|
9021
9043
|
var DTOForgeProjectMemberRole = ForgeProjectRole;
|
|
9022
9044
|
var DTOForgeProjectMember = ForgeProjectMembership.extend({
|
|
9023
9045
|
user: DTOUser,
|
|
@@ -9031,27 +9053,27 @@ var DTOUpdateForgeProjectMember = DTOCreateForgeProjectMember.omit({ userId: tru
|
|
|
9031
9053
|
var DTORemoveForgeProjectMember = DTOForgeProjectMember.pick({
|
|
9032
9054
|
userId: true
|
|
9033
9055
|
});
|
|
9034
|
-
var DTOForgeProjectMembersListResponse =
|
|
9035
|
-
members:
|
|
9056
|
+
var DTOForgeProjectMembersListResponse = z305.object({
|
|
9057
|
+
members: z305.array(DTOForgeProjectMember)
|
|
9036
9058
|
});
|
|
9037
|
-
var DTOForgeProjectMemberGetResponse =
|
|
9059
|
+
var DTOForgeProjectMemberGetResponse = z305.object({
|
|
9038
9060
|
member: DTOForgeProjectMember.nullable()
|
|
9039
9061
|
});
|
|
9040
|
-
var DTOForgeProjectMemberCreateResponse =
|
|
9062
|
+
var DTOForgeProjectMemberCreateResponse = z305.object({
|
|
9041
9063
|
member: DTOForgeProjectMember
|
|
9042
9064
|
});
|
|
9043
|
-
var DTOForgeProjectMemberUpdateResponse =
|
|
9065
|
+
var DTOForgeProjectMemberUpdateResponse = z305.object({
|
|
9044
9066
|
member: DTOForgeProjectMember.nullable()
|
|
9045
9067
|
});
|
|
9046
|
-
var DTOForgeProjectMemberRemoveResponse =
|
|
9047
|
-
ok:
|
|
9068
|
+
var DTOForgeProjectMemberRemoveResponse = z305.object({
|
|
9069
|
+
ok: z305.literal(true)
|
|
9048
9070
|
});
|
|
9049
9071
|
|
|
9050
9072
|
// src/api/dto/forge/project.ts
|
|
9051
|
-
import { z as
|
|
9073
|
+
import { z as z306 } from "zod";
|
|
9052
9074
|
var DTOForgeProject = ForgeProject.omit({ fpContextId: true }).extend({
|
|
9053
9075
|
context: ForgeProjectContext,
|
|
9054
|
-
members:
|
|
9076
|
+
members: z306.array(DTOForgeProjectMember)
|
|
9055
9077
|
});
|
|
9056
9078
|
var DTOCreateForgeProject = ForgeProject.pick({
|
|
9057
9079
|
instruction: true,
|
|
@@ -9059,151 +9081,152 @@ var DTOCreateForgeProject = ForgeProject.pick({
|
|
|
9059
9081
|
meta: true,
|
|
9060
9082
|
tags: true,
|
|
9061
9083
|
accessMode: true,
|
|
9062
|
-
fpContextId: true
|
|
9084
|
+
fpContextId: true,
|
|
9085
|
+
isArchived: true
|
|
9063
9086
|
});
|
|
9064
|
-
var DTOUpdateForgeProject = DTOCreateForgeProject.extend({ id:
|
|
9065
|
-
var DTOForgeProjectGetResponse =
|
|
9066
|
-
var DTOForgeProjectsListResponse =
|
|
9067
|
-
var DTOCreateForgeProjectResponse =
|
|
9087
|
+
var DTOUpdateForgeProject = DTOCreateForgeProject.extend({ id: z306.string() });
|
|
9088
|
+
var DTOForgeProjectGetResponse = z306.object({ project: DTOForgeProject.nullable() });
|
|
9089
|
+
var DTOForgeProjectsListResponse = z306.object({ projects: z306.array(DTOForgeProject) });
|
|
9090
|
+
var DTOCreateForgeProjectResponse = z306.object({
|
|
9068
9091
|
project: DTOForgeProject
|
|
9069
9092
|
});
|
|
9070
|
-
var DTOUpdateForgeProjectResponse =
|
|
9093
|
+
var DTOUpdateForgeProjectResponse = z306.object({
|
|
9071
9094
|
project: DTOForgeProject.nullable()
|
|
9072
9095
|
});
|
|
9073
|
-
var DTOUGetForgeProjectResponse =
|
|
9096
|
+
var DTOUGetForgeProjectResponse = z306.object({
|
|
9074
9097
|
project: DTOForgeProject
|
|
9075
9098
|
});
|
|
9076
|
-
var DTORemoveForgeProjectResponse =
|
|
9099
|
+
var DTORemoveForgeProjectResponse = z306.object({ ok: z306.literal(true) });
|
|
9077
9100
|
|
|
9078
9101
|
// src/api/dto/forge/threads.ts
|
|
9079
|
-
import { z as
|
|
9102
|
+
import { z as z307 } from "zod";
|
|
9080
9103
|
var DTOForgeChatMessage = ForgeChatMessage;
|
|
9081
9104
|
var DTOForgeChatThread = ForgeChatThread;
|
|
9082
9105
|
var DTOForgeChatMessageSenderType = ForgeChatMessageSenderType;
|
|
9083
9106
|
var DTOForgeChatMessageSender = ForgeChatMessageSender;
|
|
9084
|
-
var DTOForgeChatThreadCreateInput =
|
|
9085
|
-
title:
|
|
9107
|
+
var DTOForgeChatThreadCreateInput = z307.object({
|
|
9108
|
+
title: z307.string().optional()
|
|
9086
9109
|
});
|
|
9087
|
-
var DTOForgeChatThreadCreateResponse =
|
|
9110
|
+
var DTOForgeChatThreadCreateResponse = z307.object({
|
|
9088
9111
|
thread: DTOForgeChatThread
|
|
9089
9112
|
});
|
|
9090
|
-
var DTOForgeChatThreadUpdateInput =
|
|
9091
|
-
title:
|
|
9113
|
+
var DTOForgeChatThreadUpdateInput = z307.object({
|
|
9114
|
+
title: z307.string()
|
|
9092
9115
|
});
|
|
9093
|
-
var DTOForgeChatThreadUpdateResponse =
|
|
9116
|
+
var DTOForgeChatThreadUpdateResponse = z307.object({
|
|
9094
9117
|
thread: DTOForgeChatThread
|
|
9095
9118
|
});
|
|
9096
|
-
var DTOForgeChatThreadDeleteResponse =
|
|
9097
|
-
success:
|
|
9119
|
+
var DTOForgeChatThreadDeleteResponse = z307.object({
|
|
9120
|
+
success: z307.boolean()
|
|
9098
9121
|
});
|
|
9099
|
-
var DTOForgeChatThreadListQuery =
|
|
9100
|
-
limit:
|
|
9101
|
-
offset:
|
|
9122
|
+
var DTOForgeChatThreadListQuery = z307.object({
|
|
9123
|
+
limit: z307.number().optional(),
|
|
9124
|
+
offset: z307.number().optional()
|
|
9102
9125
|
});
|
|
9103
|
-
var DTOForgeChatThreadListResponse =
|
|
9104
|
-
threads:
|
|
9105
|
-
pagination:
|
|
9106
|
-
offset:
|
|
9107
|
-
limit:
|
|
9108
|
-
total:
|
|
9126
|
+
var DTOForgeChatThreadListResponse = z307.object({
|
|
9127
|
+
threads: z307.array(DTOForgeChatThread),
|
|
9128
|
+
pagination: z307.object({
|
|
9129
|
+
offset: z307.number(),
|
|
9130
|
+
limit: z307.number(),
|
|
9131
|
+
total: z307.number()
|
|
9109
9132
|
})
|
|
9110
9133
|
});
|
|
9111
|
-
var DTOForgeChatMessageCreateInput =
|
|
9112
|
-
payload:
|
|
9134
|
+
var DTOForgeChatMessageCreateInput = z307.object({
|
|
9135
|
+
payload: z307.string(),
|
|
9113
9136
|
sender: DTOForgeChatMessageSender.optional(),
|
|
9114
|
-
opikTraceId:
|
|
9137
|
+
opikTraceId: z307.string().optional()
|
|
9115
9138
|
});
|
|
9116
|
-
var DTOForgeChatMessageCreateResponse =
|
|
9139
|
+
var DTOForgeChatMessageCreateResponse = z307.object({
|
|
9117
9140
|
message: DTOForgeChatMessage
|
|
9118
9141
|
});
|
|
9119
|
-
var DTOForgeChatMessageListQuery =
|
|
9120
|
-
limit:
|
|
9121
|
-
offset:
|
|
9142
|
+
var DTOForgeChatMessageListQuery = z307.object({
|
|
9143
|
+
limit: z307.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
|
|
9144
|
+
offset: z307.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
|
|
9122
9145
|
});
|
|
9123
|
-
var DTOForgeChatMessageListResponse =
|
|
9124
|
-
messages:
|
|
9125
|
-
totalCount:
|
|
9126
|
-
hasMore:
|
|
9146
|
+
var DTOForgeChatMessageListResponse = z307.object({
|
|
9147
|
+
messages: z307.array(DTOForgeChatMessage),
|
|
9148
|
+
totalCount: z307.number(),
|
|
9149
|
+
hasMore: z307.boolean()
|
|
9127
9150
|
});
|
|
9128
|
-
var DTOForgeChatMessageScoreInput =
|
|
9129
|
-
messageId:
|
|
9130
|
-
name:
|
|
9131
|
-
value:
|
|
9132
|
-
categoryName:
|
|
9133
|
-
reason:
|
|
9151
|
+
var DTOForgeChatMessageScoreInput = z307.object({
|
|
9152
|
+
messageId: z307.string(),
|
|
9153
|
+
name: z307.string(),
|
|
9154
|
+
value: z307.number(),
|
|
9155
|
+
categoryName: z307.string().optional(),
|
|
9156
|
+
reason: z307.string().optional()
|
|
9134
9157
|
});
|
|
9135
|
-
var DTOForgeChatMessageScoreRequest =
|
|
9158
|
+
var DTOForgeChatMessageScoreRequest = z307.object({
|
|
9136
9159
|
scores: DTOForgeChatMessageScoreInput.array()
|
|
9137
9160
|
});
|
|
9138
9161
|
|
|
9139
9162
|
// src/api/dto/liveblocks/auth-response.ts
|
|
9140
|
-
import { z as
|
|
9141
|
-
var DTOLiveblocksAuthResponse =
|
|
9142
|
-
token:
|
|
9163
|
+
import { z as z308 } from "zod";
|
|
9164
|
+
var DTOLiveblocksAuthResponse = z308.object({
|
|
9165
|
+
token: z308.string()
|
|
9143
9166
|
});
|
|
9144
9167
|
|
|
9145
9168
|
// src/api/dto/portal/portal-settings.ts
|
|
9146
|
-
import { z as
|
|
9169
|
+
import { z as z309 } from "zod";
|
|
9147
9170
|
var DTOPortalSettingsTheme = PortalSettingsTheme;
|
|
9148
9171
|
var DTOPortalSettingsSidebarLink = PortalSettingsSidebarLink;
|
|
9149
9172
|
var DTOPortalSettingsSidebarSection = PortalSettingsSidebarSection;
|
|
9150
9173
|
var DTOPortalSettingsSidebar = PortalSettingsSidebar;
|
|
9151
|
-
var DTOPortalSettings =
|
|
9152
|
-
id:
|
|
9153
|
-
workspaceId:
|
|
9154
|
-
enabledDesignSystemIds:
|
|
9155
|
-
enabledBrandPersistentIds:
|
|
9174
|
+
var DTOPortalSettings = z309.object({
|
|
9175
|
+
id: z309.string(),
|
|
9176
|
+
workspaceId: z309.string(),
|
|
9177
|
+
enabledDesignSystemIds: z309.array(z309.string()),
|
|
9178
|
+
enabledBrandPersistentIds: z309.array(z309.string()),
|
|
9156
9179
|
theme: DTOPortalSettingsTheme.nullish(),
|
|
9157
9180
|
sidebar: DTOPortalSettingsSidebar.nullish(),
|
|
9158
|
-
createdAt:
|
|
9159
|
-
updatedAt:
|
|
9181
|
+
createdAt: z309.coerce.date(),
|
|
9182
|
+
updatedAt: z309.coerce.date()
|
|
9160
9183
|
});
|
|
9161
|
-
var DTOPortalSettingsGetResponse =
|
|
9184
|
+
var DTOPortalSettingsGetResponse = z309.object({
|
|
9162
9185
|
portalSettings: DTOPortalSettings
|
|
9163
9186
|
});
|
|
9164
|
-
var DTOPortalSettingsUpdatePayload =
|
|
9165
|
-
enabledDesignSystemIds:
|
|
9166
|
-
enabledBrandPersistentIds:
|
|
9187
|
+
var DTOPortalSettingsUpdatePayload = z309.object({
|
|
9188
|
+
enabledDesignSystemIds: z309.array(z309.string()).optional(),
|
|
9189
|
+
enabledBrandPersistentIds: z309.array(z309.string()).optional(),
|
|
9167
9190
|
theme: DTOPortalSettingsTheme.nullish(),
|
|
9168
9191
|
sidebar: DTOPortalSettingsSidebar.nullish()
|
|
9169
9192
|
});
|
|
9170
9193
|
|
|
9171
9194
|
// src/api/dto/themes/override.ts
|
|
9172
|
-
import { z as
|
|
9195
|
+
import { z as z310 } from "zod";
|
|
9173
9196
|
var DTOThemeOverride = DesignTokenTypedData.and(
|
|
9174
|
-
|
|
9175
|
-
tokenPersistentId:
|
|
9197
|
+
z310.object({
|
|
9198
|
+
tokenPersistentId: z310.string(),
|
|
9176
9199
|
origin: ThemeOverrideOrigin.optional()
|
|
9177
9200
|
})
|
|
9178
9201
|
);
|
|
9179
9202
|
var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
|
|
9180
|
-
|
|
9181
|
-
tokenPersistentId:
|
|
9203
|
+
z310.object({
|
|
9204
|
+
tokenPersistentId: z310.string()
|
|
9182
9205
|
})
|
|
9183
9206
|
);
|
|
9184
9207
|
|
|
9185
9208
|
// src/api/dto/themes/theme.ts
|
|
9186
|
-
import { z as
|
|
9187
|
-
var DTOTheme =
|
|
9188
|
-
id:
|
|
9189
|
-
persistentId:
|
|
9190
|
-
designSystemVersionId:
|
|
9191
|
-
brandId:
|
|
9209
|
+
import { z as z311 } from "zod";
|
|
9210
|
+
var DTOTheme = z311.object({
|
|
9211
|
+
id: z311.string(),
|
|
9212
|
+
persistentId: z311.string(),
|
|
9213
|
+
designSystemVersionId: z311.string(),
|
|
9214
|
+
brandId: z311.string(),
|
|
9192
9215
|
meta: ObjectMeta,
|
|
9193
|
-
codeName:
|
|
9216
|
+
codeName: z311.string(),
|
|
9194
9217
|
overrides: DTOThemeOverride.array()
|
|
9195
9218
|
});
|
|
9196
|
-
var DTOThemeResponse =
|
|
9219
|
+
var DTOThemeResponse = z311.object({
|
|
9197
9220
|
theme: DTOTheme
|
|
9198
9221
|
});
|
|
9199
|
-
var DTOThemeListResponse =
|
|
9222
|
+
var DTOThemeListResponse = z311.object({
|
|
9200
9223
|
themes: DTOTheme.array()
|
|
9201
9224
|
});
|
|
9202
|
-
var DTOThemeCreatePayload =
|
|
9225
|
+
var DTOThemeCreatePayload = z311.object({
|
|
9203
9226
|
meta: ObjectMeta,
|
|
9204
|
-
persistentId:
|
|
9205
|
-
brandId:
|
|
9206
|
-
codeName:
|
|
9227
|
+
persistentId: z311.string(),
|
|
9228
|
+
brandId: z311.string(),
|
|
9229
|
+
codeName: z311.string(),
|
|
9207
9230
|
overrides: DTOThemeOverride.array()
|
|
9208
9231
|
});
|
|
9209
9232
|
|
|
@@ -9439,13 +9462,13 @@ var ExportersEndpoint = class {
|
|
|
9439
9462
|
};
|
|
9440
9463
|
|
|
9441
9464
|
// src/api/endpoints/codegen/jobs.ts
|
|
9442
|
-
import { z as
|
|
9465
|
+
import { z as z312 } from "zod";
|
|
9443
9466
|
var ExporterJobsEndpoint = class {
|
|
9444
9467
|
constructor(requestExecutor) {
|
|
9445
9468
|
this.requestExecutor = requestExecutor;
|
|
9446
9469
|
}
|
|
9447
9470
|
list(workspaceId) {
|
|
9448
|
-
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`,
|
|
9471
|
+
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z312.any());
|
|
9449
9472
|
}
|
|
9450
9473
|
get(workspaceId, jobId) {
|
|
9451
9474
|
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
|
|
@@ -9503,7 +9526,7 @@ var CodegenEndpoint = class {
|
|
|
9503
9526
|
};
|
|
9504
9527
|
|
|
9505
9528
|
// src/api/endpoints/design-system/versions/brands.ts
|
|
9506
|
-
import { z as
|
|
9529
|
+
import { z as z313 } from "zod";
|
|
9507
9530
|
var BrandsEndpoint = class {
|
|
9508
9531
|
constructor(requestExecutor) {
|
|
9509
9532
|
this.requestExecutor = requestExecutor;
|
|
@@ -9537,7 +9560,7 @@ var BrandsEndpoint = class {
|
|
|
9537
9560
|
});
|
|
9538
9561
|
}
|
|
9539
9562
|
delete(dsId, vId, brandId) {
|
|
9540
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`,
|
|
9563
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z313.any(), {
|
|
9541
9564
|
method: "DELETE"
|
|
9542
9565
|
});
|
|
9543
9566
|
}
|
|
@@ -9804,7 +9827,7 @@ var ImportJobsEndpoint = class {
|
|
|
9804
9827
|
};
|
|
9805
9828
|
|
|
9806
9829
|
// src/api/endpoints/design-system/versions/overrides.ts
|
|
9807
|
-
import { z as
|
|
9830
|
+
import { z as z314 } from "zod";
|
|
9808
9831
|
var OverridesEndpoint = class {
|
|
9809
9832
|
constructor(requestExecutor) {
|
|
9810
9833
|
this.requestExecutor = requestExecutor;
|
|
@@ -9812,7 +9835,7 @@ var OverridesEndpoint = class {
|
|
|
9812
9835
|
create(dsId, versionId, themeId, body) {
|
|
9813
9836
|
return this.requestExecutor.json(
|
|
9814
9837
|
`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
|
|
9815
|
-
|
|
9838
|
+
z314.any(),
|
|
9816
9839
|
{
|
|
9817
9840
|
method: "POST",
|
|
9818
9841
|
body
|
|
@@ -9822,7 +9845,7 @@ var OverridesEndpoint = class {
|
|
|
9822
9845
|
};
|
|
9823
9846
|
|
|
9824
9847
|
// src/api/endpoints/design-system/versions/property-definitions.ts
|
|
9825
|
-
import { z as
|
|
9848
|
+
import { z as z315 } from "zod";
|
|
9826
9849
|
var ElementPropertyDefinitionsEndpoint = class {
|
|
9827
9850
|
constructor(requestExecutor) {
|
|
9828
9851
|
this.requestExecutor = requestExecutor;
|
|
@@ -9850,7 +9873,7 @@ var ElementPropertyDefinitionsEndpoint = class {
|
|
|
9850
9873
|
delete(designSystemId, versionId, defId) {
|
|
9851
9874
|
return this.requestExecutor.json(
|
|
9852
9875
|
`/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
|
|
9853
|
-
|
|
9876
|
+
z315.any(),
|
|
9854
9877
|
{ method: "DELETE" }
|
|
9855
9878
|
);
|
|
9856
9879
|
}
|
|
@@ -9889,7 +9912,7 @@ var VersionStatsEndpoint = class {
|
|
|
9889
9912
|
};
|
|
9890
9913
|
|
|
9891
9914
|
// src/api/endpoints/design-system/versions/themes.ts
|
|
9892
|
-
import { z as
|
|
9915
|
+
import { z as z316 } from "zod";
|
|
9893
9916
|
var ThemesEndpoint = class {
|
|
9894
9917
|
constructor(requestExecutor) {
|
|
9895
9918
|
this.requestExecutor = requestExecutor;
|
|
@@ -9912,7 +9935,7 @@ var ThemesEndpoint = class {
|
|
|
9912
9935
|
});
|
|
9913
9936
|
}
|
|
9914
9937
|
delete(dsId, versionId, themeId) {
|
|
9915
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`,
|
|
9938
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z316.any(), {
|
|
9916
9939
|
method: "DELETE"
|
|
9917
9940
|
});
|
|
9918
9941
|
}
|
|
@@ -10083,7 +10106,7 @@ var DesignSystemContactsEndpoint = class {
|
|
|
10083
10106
|
};
|
|
10084
10107
|
|
|
10085
10108
|
// src/api/endpoints/design-system/design-systems.ts
|
|
10086
|
-
import { z as
|
|
10109
|
+
import { z as z320 } from "zod";
|
|
10087
10110
|
|
|
10088
10111
|
// src/api/endpoints/design-system/figma-node-structures.ts
|
|
10089
10112
|
var FigmaNodeStructuresEndpoint = class {
|
|
@@ -10160,7 +10183,7 @@ var DesignSystemPageRedirectsEndpoint = class {
|
|
|
10160
10183
|
};
|
|
10161
10184
|
|
|
10162
10185
|
// src/api/endpoints/design-system/sources.ts
|
|
10163
|
-
import { z as
|
|
10186
|
+
import { z as z317 } from "zod";
|
|
10164
10187
|
var DesignSystemSourcesEndpoint = class {
|
|
10165
10188
|
constructor(requestExecutor) {
|
|
10166
10189
|
this.requestExecutor = requestExecutor;
|
|
@@ -10178,7 +10201,7 @@ var DesignSystemSourcesEndpoint = class {
|
|
|
10178
10201
|
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
|
|
10179
10202
|
}
|
|
10180
10203
|
delete(dsId, sourceId) {
|
|
10181
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`,
|
|
10204
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z317.any(), { method: "DELETE" });
|
|
10182
10205
|
}
|
|
10183
10206
|
updateFigmaSource(dsId, sourceId, payload) {
|
|
10184
10207
|
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
|
|
@@ -10221,7 +10244,7 @@ var DesignSystemSourcesEndpoint = class {
|
|
|
10221
10244
|
};
|
|
10222
10245
|
|
|
10223
10246
|
// src/api/endpoints/design-system/storybook.ts
|
|
10224
|
-
import { z as
|
|
10247
|
+
import { z as z318 } from "zod";
|
|
10225
10248
|
var StorybookEntriesEndpoint = class {
|
|
10226
10249
|
constructor(requestExecutor) {
|
|
10227
10250
|
this.requestExecutor = requestExecutor;
|
|
@@ -10237,14 +10260,14 @@ var StorybookEntriesEndpoint = class {
|
|
|
10237
10260
|
);
|
|
10238
10261
|
}
|
|
10239
10262
|
delete(dsId, entryId) {
|
|
10240
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`,
|
|
10263
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z318.any(), {
|
|
10241
10264
|
method: "DELETE"
|
|
10242
10265
|
});
|
|
10243
10266
|
}
|
|
10244
10267
|
};
|
|
10245
10268
|
|
|
10246
10269
|
// src/api/endpoints/design-system/storybook-hosting.ts
|
|
10247
|
-
import { z as
|
|
10270
|
+
import { z as z319 } from "zod";
|
|
10248
10271
|
var StorybookHostingEndpoint = class {
|
|
10249
10272
|
constructor(requestExecutor) {
|
|
10250
10273
|
this.requestExecutor = requestExecutor;
|
|
@@ -10258,7 +10281,7 @@ var StorybookHostingEndpoint = class {
|
|
|
10258
10281
|
delete(dsId, storybookUploadId) {
|
|
10259
10282
|
return this.requestExecutor.json(
|
|
10260
10283
|
`/design-systems/${dsId}/storybook/${storybookUploadId}`,
|
|
10261
|
-
|
|
10284
|
+
z319.object({ ok: z319.boolean() }),
|
|
10262
10285
|
{
|
|
10263
10286
|
method: "DELETE"
|
|
10264
10287
|
}
|
|
@@ -10316,7 +10339,7 @@ var DesignSystemsEndpoint = class {
|
|
|
10316
10339
|
return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
|
|
10317
10340
|
}
|
|
10318
10341
|
delete(dsId) {
|
|
10319
|
-
return this.requestExecutor.json(`/design-systems/${dsId}`,
|
|
10342
|
+
return this.requestExecutor.json(`/design-systems/${dsId}`, z320.any(), { method: "DELETE" });
|
|
10320
10343
|
}
|
|
10321
10344
|
update(dsId, body) {
|
|
10322
10345
|
return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
|
|
@@ -10514,7 +10537,7 @@ var ForgeProjectContextsEndpoint = class {
|
|
|
10514
10537
|
};
|
|
10515
10538
|
|
|
10516
10539
|
// src/api/endpoints/forge/project-members.ts
|
|
10517
|
-
import { z as
|
|
10540
|
+
import { z as z321 } from "zod";
|
|
10518
10541
|
var ForgeProjectMembersEndpoint = class {
|
|
10519
10542
|
constructor(requestExecutor) {
|
|
10520
10543
|
this.requestExecutor = requestExecutor;
|
|
@@ -10543,7 +10566,7 @@ var ForgeProjectMembersEndpoint = class {
|
|
|
10543
10566
|
delete(projectId, userId) {
|
|
10544
10567
|
return this.requestExecutor.json(
|
|
10545
10568
|
`/forge/projects/${projectId}/members/${userId}`,
|
|
10546
|
-
|
|
10569
|
+
z321.object({ ok: z321.literal(true) }),
|
|
10547
10570
|
{
|
|
10548
10571
|
method: "DELETE"
|
|
10549
10572
|
}
|
|
@@ -10697,7 +10720,7 @@ var ForgeProjectIterationsEndpoint = class {
|
|
|
10697
10720
|
};
|
|
10698
10721
|
|
|
10699
10722
|
// src/api/endpoints/forge/project-invitations.ts
|
|
10700
|
-
import { z as
|
|
10723
|
+
import { z as z322 } from "zod";
|
|
10701
10724
|
var ForgeProjectInvitationsEndpoint = class {
|
|
10702
10725
|
constructor(requestExecutor) {
|
|
10703
10726
|
this.requestExecutor = requestExecutor;
|
|
@@ -10734,7 +10757,7 @@ var ForgeProjectInvitationsEndpoint = class {
|
|
|
10734
10757
|
delete(projectId, email) {
|
|
10735
10758
|
return this.requestExecutor.json(
|
|
10736
10759
|
`/forge/projects/${projectId}/invitations/${encodeURI(email)}`,
|
|
10737
|
-
|
|
10760
|
+
z322.object({ ok: z322.literal(true) }),
|
|
10738
10761
|
{
|
|
10739
10762
|
method: "DELETE"
|
|
10740
10763
|
}
|
|
@@ -10767,7 +10790,7 @@ var ForgesEndpoint = class {
|
|
|
10767
10790
|
};
|
|
10768
10791
|
|
|
10769
10792
|
// src/api/endpoints/workspaces/chat-threads.ts
|
|
10770
|
-
import { z as
|
|
10793
|
+
import { z as z323 } from "zod";
|
|
10771
10794
|
var WorkspaceChatThreadsEndpoint = class {
|
|
10772
10795
|
constructor(requestExecutor) {
|
|
10773
10796
|
this.requestExecutor = requestExecutor;
|
|
@@ -10799,7 +10822,7 @@ var WorkspaceChatThreadsEndpoint = class {
|
|
|
10799
10822
|
);
|
|
10800
10823
|
}
|
|
10801
10824
|
delete(workspaceId, threadId) {
|
|
10802
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`,
|
|
10825
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z323.any(), {
|
|
10803
10826
|
method: "DELETE"
|
|
10804
10827
|
});
|
|
10805
10828
|
}
|
|
@@ -10831,7 +10854,7 @@ var ChatThreadMessagesEndpoint = class {
|
|
|
10831
10854
|
);
|
|
10832
10855
|
}
|
|
10833
10856
|
score(workspaceId, threadId, body) {
|
|
10834
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`,
|
|
10857
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z323.any(), {
|
|
10835
10858
|
method: "POST",
|
|
10836
10859
|
body
|
|
10837
10860
|
});
|
|
@@ -10839,7 +10862,7 @@ var ChatThreadMessagesEndpoint = class {
|
|
|
10839
10862
|
};
|
|
10840
10863
|
|
|
10841
10864
|
// src/api/endpoints/workspaces/integrations.ts
|
|
10842
|
-
import { z as
|
|
10865
|
+
import { z as z324 } from "zod";
|
|
10843
10866
|
var WorkspaceIntegrationsEndpoint = class {
|
|
10844
10867
|
constructor(requestExecutor) {
|
|
10845
10868
|
this.requestExecutor = requestExecutor;
|
|
@@ -10848,7 +10871,7 @@ var WorkspaceIntegrationsEndpoint = class {
|
|
|
10848
10871
|
return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
|
|
10849
10872
|
}
|
|
10850
10873
|
delete(wsId, iId) {
|
|
10851
|
-
return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`,
|
|
10874
|
+
return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z324.unknown(), { method: "DELETE" });
|
|
10852
10875
|
}
|
|
10853
10876
|
};
|
|
10854
10877
|
|
|
@@ -10880,7 +10903,7 @@ var WorkspaceInvitationsEndpoint = class {
|
|
|
10880
10903
|
};
|
|
10881
10904
|
|
|
10882
10905
|
// src/api/endpoints/workspaces/members.ts
|
|
10883
|
-
import { z as
|
|
10906
|
+
import { z as z325 } from "zod";
|
|
10884
10907
|
var WorkspaceMembersEndpoint = class {
|
|
10885
10908
|
constructor(requestExecutor) {
|
|
10886
10909
|
this.requestExecutor = requestExecutor;
|
|
@@ -10897,7 +10920,7 @@ var WorkspaceMembersEndpoint = class {
|
|
|
10897
10920
|
});
|
|
10898
10921
|
}
|
|
10899
10922
|
invite(workspaceId, body) {
|
|
10900
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`,
|
|
10923
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z325.any(), { method: "POST", body });
|
|
10901
10924
|
}
|
|
10902
10925
|
delete(workspaceId, userId) {
|
|
10903
10926
|
return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
|
|
@@ -10926,7 +10949,7 @@ var WorkspaceNpmRegistryEndpoint = class {
|
|
|
10926
10949
|
};
|
|
10927
10950
|
|
|
10928
10951
|
// src/api/endpoints/workspaces/workspaces.ts
|
|
10929
|
-
import { z as
|
|
10952
|
+
import { z as z326 } from "zod";
|
|
10930
10953
|
var WorkspacesEndpoint = class {
|
|
10931
10954
|
constructor(requestExecutor) {
|
|
10932
10955
|
this.requestExecutor = requestExecutor;
|
|
@@ -10958,10 +10981,10 @@ var WorkspacesEndpoint = class {
|
|
|
10958
10981
|
return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
|
|
10959
10982
|
}
|
|
10960
10983
|
delete(workspaceId) {
|
|
10961
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}`,
|
|
10984
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}`, z326.any(), { method: "DELETE" });
|
|
10962
10985
|
}
|
|
10963
10986
|
subscription(workspaceId) {
|
|
10964
|
-
return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`,
|
|
10987
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z326.any(), { method: "GET" });
|
|
10965
10988
|
}
|
|
10966
10989
|
getPortalSettings(workspaceId) {
|
|
10967
10990
|
return this.requestExecutor.json(`/workspaces/${workspaceId}/portal/settings`, DTOPortalSettingsGetResponse, {
|
|
@@ -11072,9 +11095,9 @@ ${bodyText}`,
|
|
|
11072
11095
|
|
|
11073
11096
|
// src/api/transport/request-executor.ts
|
|
11074
11097
|
import fetch from "node-fetch";
|
|
11075
|
-
import { z as
|
|
11076
|
-
var ResponseWrapper =
|
|
11077
|
-
result:
|
|
11098
|
+
import { z as z327 } from "zod";
|
|
11099
|
+
var ResponseWrapper = z327.object({
|
|
11100
|
+
result: z327.record(z327.any())
|
|
11078
11101
|
});
|
|
11079
11102
|
var RequestExecutor = class {
|
|
11080
11103
|
constructor(testServerConfig) {
|
|
@@ -11151,31 +11174,31 @@ var SupernovaApiClient = class {
|
|
|
11151
11174
|
};
|
|
11152
11175
|
|
|
11153
11176
|
// src/events/design-system.ts
|
|
11154
|
-
import { z as
|
|
11155
|
-
var DTOEventFigmaNodesRendered =
|
|
11156
|
-
type:
|
|
11157
|
-
designSystemId:
|
|
11158
|
-
versionId:
|
|
11159
|
-
figmaNodePersistentIds:
|
|
11160
|
-
});
|
|
11161
|
-
var DTOEventDataSourcesImported =
|
|
11162
|
-
type:
|
|
11163
|
-
designSystemId:
|
|
11164
|
-
versionId:
|
|
11165
|
-
importJobId:
|
|
11177
|
+
import { z as z328 } from "zod";
|
|
11178
|
+
var DTOEventFigmaNodesRendered = z328.object({
|
|
11179
|
+
type: z328.literal("DesignSystem.FigmaNodesRendered"),
|
|
11180
|
+
designSystemId: z328.string(),
|
|
11181
|
+
versionId: z328.string(),
|
|
11182
|
+
figmaNodePersistentIds: z328.string().array()
|
|
11183
|
+
});
|
|
11184
|
+
var DTOEventDataSourcesImported = z328.object({
|
|
11185
|
+
type: z328.literal("DesignSystem.ImportJobFinished"),
|
|
11186
|
+
designSystemId: z328.string(),
|
|
11187
|
+
versionId: z328.string(),
|
|
11188
|
+
importJobId: z328.string(),
|
|
11166
11189
|
dataSourceType: DataSourceRemoteType,
|
|
11167
|
-
dataSourceIds:
|
|
11190
|
+
dataSourceIds: z328.string().array()
|
|
11168
11191
|
});
|
|
11169
11192
|
|
|
11170
11193
|
// src/events/event.ts
|
|
11171
|
-
import { z as
|
|
11172
|
-
var DTOEvent =
|
|
11194
|
+
import { z as z329 } from "zod";
|
|
11195
|
+
var DTOEvent = z329.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
|
|
11173
11196
|
|
|
11174
11197
|
// src/sync/docs-structure-repo.ts
|
|
11175
11198
|
import PQueue from "p-queue";
|
|
11176
11199
|
|
|
11177
11200
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
11178
|
-
import { z as
|
|
11201
|
+
import { z as z330 } from "zod";
|
|
11179
11202
|
|
|
11180
11203
|
// src/yjs/version-room/base.ts
|
|
11181
11204
|
var VersionRoomBaseYDoc = class {
|
|
@@ -11725,24 +11748,24 @@ var FrontendVersionRoomYDoc = class {
|
|
|
11725
11748
|
};
|
|
11726
11749
|
|
|
11727
11750
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
11728
|
-
var DocumentationHierarchySettings =
|
|
11729
|
-
routingVersion:
|
|
11730
|
-
isDraftFeatureAdopted:
|
|
11731
|
-
isApprovalFeatureEnabled:
|
|
11732
|
-
approvalRequiredForPublishing:
|
|
11751
|
+
var DocumentationHierarchySettings = z330.object({
|
|
11752
|
+
routingVersion: z330.string(),
|
|
11753
|
+
isDraftFeatureAdopted: z330.boolean(),
|
|
11754
|
+
isApprovalFeatureEnabled: z330.boolean(),
|
|
11755
|
+
approvalRequiredForPublishing: z330.boolean()
|
|
11733
11756
|
});
|
|
11734
11757
|
function yjsToDocumentationHierarchy(doc) {
|
|
11735
11758
|
return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
|
|
11736
11759
|
}
|
|
11737
11760
|
|
|
11738
11761
|
// src/yjs/design-system-content/item-configuration.ts
|
|
11739
|
-
import { z as
|
|
11740
|
-
var DTODocumentationPageRoomHeaderData =
|
|
11741
|
-
title:
|
|
11762
|
+
import { z as z331 } from "zod";
|
|
11763
|
+
var DTODocumentationPageRoomHeaderData = z331.object({
|
|
11764
|
+
title: z331.string(),
|
|
11742
11765
|
configuration: DTODocumentationItemConfigurationV2
|
|
11743
11766
|
});
|
|
11744
|
-
var DTODocumentationPageRoomHeaderDataUpdate =
|
|
11745
|
-
title:
|
|
11767
|
+
var DTODocumentationPageRoomHeaderDataUpdate = z331.object({
|
|
11768
|
+
title: z331.string().optional(),
|
|
11746
11769
|
configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
|
|
11747
11770
|
});
|
|
11748
11771
|
function itemConfigurationToYjs(yDoc, item) {
|
|
@@ -11777,9 +11800,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
|
|
|
11777
11800
|
var PageSectionEditorModel = PageSectionEditorModelV2;
|
|
11778
11801
|
|
|
11779
11802
|
// src/yjs/docs-editor/model/page.ts
|
|
11780
|
-
import { z as
|
|
11781
|
-
var DocumentationPageEditorModel =
|
|
11782
|
-
blocks:
|
|
11803
|
+
import { z as z332 } from "zod";
|
|
11804
|
+
var DocumentationPageEditorModel = z332.object({
|
|
11805
|
+
blocks: z332.array(DocumentationPageContentItem)
|
|
11783
11806
|
});
|
|
11784
11807
|
|
|
11785
11808
|
// src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
|
|
@@ -15456,7 +15479,7 @@ var blocks = [
|
|
|
15456
15479
|
|
|
15457
15480
|
// src/yjs/docs-editor/prosemirror-to-blocks.ts
|
|
15458
15481
|
import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
|
|
15459
|
-
import { z as
|
|
15482
|
+
import { z as z333 } from "zod";
|
|
15460
15483
|
function yDocToPage(yDoc, definitions) {
|
|
15461
15484
|
return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
|
|
15462
15485
|
}
|
|
@@ -15532,7 +15555,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
|
|
|
15532
15555
|
if (!id) return null;
|
|
15533
15556
|
return {
|
|
15534
15557
|
id,
|
|
15535
|
-
title: getProsemirrorAttribute(prosemirrorNode, "title",
|
|
15558
|
+
title: getProsemirrorAttribute(prosemirrorNode, "title", z333.string()) ?? "",
|
|
15536
15559
|
columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
|
|
15537
15560
|
};
|
|
15538
15561
|
}
|
|
@@ -15566,7 +15589,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
|
|
|
15566
15589
|
});
|
|
15567
15590
|
}
|
|
15568
15591
|
function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
|
|
15569
|
-
const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId",
|
|
15592
|
+
const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z333.string());
|
|
15570
15593
|
if (!definitionId) {
|
|
15571
15594
|
console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
|
|
15572
15595
|
return [];
|
|
@@ -15607,7 +15630,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
|
|
|
15607
15630
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
15608
15631
|
if (!id) return null;
|
|
15609
15632
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
15610
|
-
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type",
|
|
15633
|
+
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z333.string().optional()));
|
|
15611
15634
|
return {
|
|
15612
15635
|
id,
|
|
15613
15636
|
type: "Block",
|
|
@@ -15730,9 +15753,9 @@ function parseRichTextAttribute(mark) {
|
|
|
15730
15753
|
return null;
|
|
15731
15754
|
}
|
|
15732
15755
|
function parseProsemirrorLink(mark) {
|
|
15733
|
-
const href = getProsemirrorAttribute(mark, "href",
|
|
15756
|
+
const href = getProsemirrorAttribute(mark, "href", z333.string().optional());
|
|
15734
15757
|
if (!href) return null;
|
|
15735
|
-
const target = getProsemirrorAttribute(mark, "target",
|
|
15758
|
+
const target = getProsemirrorAttribute(mark, "target", z333.string().optional());
|
|
15736
15759
|
const openInNewTab = target === "_blank";
|
|
15737
15760
|
if (href.startsWith("@")) {
|
|
15738
15761
|
return {
|
|
@@ -15751,9 +15774,9 @@ function parseProsemirrorLink(mark) {
|
|
|
15751
15774
|
}
|
|
15752
15775
|
}
|
|
15753
15776
|
function parseProsemirrorCommentHighlight(mark) {
|
|
15754
|
-
const highlightId = getProsemirrorAttribute(mark, "highlightId",
|
|
15777
|
+
const highlightId = getProsemirrorAttribute(mark, "highlightId", z333.string().optional());
|
|
15755
15778
|
if (!highlightId) return null;
|
|
15756
|
-
const isResolved = getProsemirrorAttribute(mark, "resolved",
|
|
15779
|
+
const isResolved = getProsemirrorAttribute(mark, "resolved", z333.boolean().optional()) ?? false;
|
|
15757
15780
|
return {
|
|
15758
15781
|
type: "Comment",
|
|
15759
15782
|
commentHighlightId: highlightId,
|
|
@@ -15764,7 +15787,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
15764
15787
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
15765
15788
|
if (!id) return null;
|
|
15766
15789
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
15767
|
-
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder",
|
|
15790
|
+
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z333.boolean().optional()) !== false;
|
|
15768
15791
|
const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
|
|
15769
15792
|
if (!tableChild) {
|
|
15770
15793
|
return emptyTable(id, variantId, 0);
|
|
@@ -15810,9 +15833,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
15810
15833
|
function parseAsTableCell(prosemirrorNode) {
|
|
15811
15834
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
15812
15835
|
if (!id) return null;
|
|
15813
|
-
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign",
|
|
15836
|
+
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z333.string().optional());
|
|
15814
15837
|
let columnWidth;
|
|
15815
|
-
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth",
|
|
15838
|
+
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z333.array(z333.number()).nullish());
|
|
15816
15839
|
if (columnWidthArray) {
|
|
15817
15840
|
columnWidth = roundDimension(columnWidthArray[0]);
|
|
15818
15841
|
}
|
|
@@ -15848,7 +15871,7 @@ function parseAsTableNode(prosemirrorNode) {
|
|
|
15848
15871
|
value: parseRichText(prosemirrorNode.content ?? [])
|
|
15849
15872
|
};
|
|
15850
15873
|
case "image":
|
|
15851
|
-
const items = getProsemirrorAttribute(prosemirrorNode, "items",
|
|
15874
|
+
const items = getProsemirrorAttribute(prosemirrorNode, "items", z333.string());
|
|
15852
15875
|
if (!items) return null;
|
|
15853
15876
|
const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
|
|
15854
15877
|
if (!parsedItems.success) return null;
|
|
@@ -15962,7 +15985,7 @@ function definitionExpectsPlaceholderItem(definition) {
|
|
|
15962
15985
|
);
|
|
15963
15986
|
}
|
|
15964
15987
|
function parseBlockItems(prosemirrorNode, definition) {
|
|
15965
|
-
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items",
|
|
15988
|
+
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z333.string());
|
|
15966
15989
|
if (!itemsString) return null;
|
|
15967
15990
|
const itemsJson = JSON.parse(itemsString);
|
|
15968
15991
|
if (!Array.isArray(itemsJson)) {
|
|
@@ -15973,18 +15996,18 @@ function parseBlockItems(prosemirrorNode, definition) {
|
|
|
15973
15996
|
}
|
|
15974
15997
|
function parseAppearance(prosemirrorNode) {
|
|
15975
15998
|
let appearance = {};
|
|
15976
|
-
const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance",
|
|
15999
|
+
const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z333.string().optional());
|
|
15977
16000
|
if (rawAppearanceString) {
|
|
15978
16001
|
const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
|
|
15979
16002
|
if (parsedAppearance.success) {
|
|
15980
16003
|
appearance = parsedAppearance.data;
|
|
15981
16004
|
}
|
|
15982
16005
|
}
|
|
15983
|
-
const columns = getProsemirrorAttribute(prosemirrorNode, "columns",
|
|
16006
|
+
const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z333.number().optional());
|
|
15984
16007
|
if (columns) {
|
|
15985
16008
|
appearance.numberOfColumns = columns;
|
|
15986
16009
|
}
|
|
15987
|
-
const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor",
|
|
16010
|
+
const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z333.string().optional());
|
|
15988
16011
|
if (backgroundColor) {
|
|
15989
16012
|
const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
|
|
15990
16013
|
if (parsedColor.success) {
|
|
@@ -16085,12 +16108,12 @@ function valueSchemaForPropertyType(type) {
|
|
|
16085
16108
|
}
|
|
16086
16109
|
}
|
|
16087
16110
|
function getProsemirrorBlockId(prosemirrorNode) {
|
|
16088
|
-
const id = getProsemirrorAttribute(prosemirrorNode, "id",
|
|
16111
|
+
const id = getProsemirrorAttribute(prosemirrorNode, "id", z333.string());
|
|
16089
16112
|
if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
|
|
16090
16113
|
return id;
|
|
16091
16114
|
}
|
|
16092
16115
|
function getProsemirrorBlockVariantId(prosemirrorNode) {
|
|
16093
|
-
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(
|
|
16116
|
+
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z333.string()));
|
|
16094
16117
|
}
|
|
16095
16118
|
function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
|
|
16096
16119
|
const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
|
|
@@ -17065,6 +17088,8 @@ export {
|
|
|
17065
17088
|
DTOStorybookUploadStatus,
|
|
17066
17089
|
DTOStorybookUploadUrlRequest,
|
|
17067
17090
|
DTOStorybookUploadUrlResponse,
|
|
17091
|
+
DTOSubscription,
|
|
17092
|
+
DTOSubscriptionResponse,
|
|
17068
17093
|
DTOTheme,
|
|
17069
17094
|
DTOThemeCreatePayload,
|
|
17070
17095
|
DTOThemeListResponse,
|