@supernova-studio/client 0.48.18 → 0.48.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 +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +24 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +829 -806
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -152,27 +152,30 @@ import { z as z140 } from "zod";
|
|
|
152
152
|
import { z as z142 } from "zod";
|
|
153
153
|
import { z as z141 } from "zod";
|
|
154
154
|
import { z as z144 } from "zod";
|
|
155
|
+
import { z as z147 } from "zod";
|
|
155
156
|
import { z as z145 } from "zod";
|
|
156
157
|
import { z as z146 } from "zod";
|
|
157
|
-
import { z as z147 } from "zod";
|
|
158
158
|
import { z as z148 } from "zod";
|
|
159
159
|
import { z as z149 } from "zod";
|
|
160
160
|
import { z as z150 } from "zod";
|
|
161
|
-
import { z as z152 } from "zod";
|
|
162
161
|
import { z as z151 } from "zod";
|
|
162
|
+
import { z as z152 } from "zod";
|
|
163
163
|
import { z as z153 } from "zod";
|
|
164
|
-
import { z as z154 } from "zod";
|
|
165
164
|
import { z as z155 } from "zod";
|
|
165
|
+
import { z as z154 } from "zod";
|
|
166
166
|
import { z as z156 } from "zod";
|
|
167
167
|
import { z as z157 } from "zod";
|
|
168
|
-
import { z as z165 } from "zod";
|
|
169
|
-
import { z as z159 } from "zod";
|
|
170
168
|
import { z as z158 } from "zod";
|
|
169
|
+
import { z as z159 } from "zod";
|
|
171
170
|
import { z as z160 } from "zod";
|
|
172
|
-
import { z as
|
|
171
|
+
import { z as z168 } from "zod";
|
|
173
172
|
import { z as z162 } from "zod";
|
|
173
|
+
import { z as z161 } from "zod";
|
|
174
174
|
import { z as z163 } from "zod";
|
|
175
175
|
import { z as z164 } from "zod";
|
|
176
|
+
import { z as z165 } from "zod";
|
|
177
|
+
import { z as z166 } from "zod";
|
|
178
|
+
import { z as z167 } from "zod";
|
|
176
179
|
var AssetDeleteScheduleStatus = z.enum(["InProgress", "Pending"]);
|
|
177
180
|
var AssetDeleteSchedule = z.object({
|
|
178
181
|
id: z.string(),
|
|
@@ -3992,32 +3995,44 @@ var UserSession = z144.object({
|
|
|
3992
3995
|
session: Session,
|
|
3993
3996
|
user: User.nullable()
|
|
3994
3997
|
});
|
|
3995
|
-
var
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
+
var EventDataSourceImported = z145.object({
|
|
3999
|
+
type: z145.literal("DataSourceImported"),
|
|
4000
|
+
workspaceId: z145.string(),
|
|
4001
|
+
designSystemId: z145.string()
|
|
4002
|
+
});
|
|
4003
|
+
var EventVersionReleased = z146.object({
|
|
4004
|
+
type: z146.literal("DesignSystemVersionReleased"),
|
|
4005
|
+
workspaceId: z146.string(),
|
|
4006
|
+
designSystemId: z146.string(),
|
|
4007
|
+
versionId: z146.string()
|
|
4008
|
+
});
|
|
4009
|
+
var Event = z147.discriminatedUnion("type", [EventVersionReleased, EventDataSourceImported]);
|
|
4010
|
+
var ExportJobDocumentationContext = z148.object({
|
|
4011
|
+
isSingleVersionDocs: z148.boolean(),
|
|
4012
|
+
versionSlug: z148.string(),
|
|
3998
4013
|
environment: PublishedDocEnvironment
|
|
3999
4014
|
});
|
|
4000
|
-
var ExportJobContext =
|
|
4001
|
-
apiUrl:
|
|
4002
|
-
accessToken:
|
|
4003
|
-
designSystemId:
|
|
4004
|
-
designSystemName:
|
|
4005
|
-
exporterId:
|
|
4006
|
-
versionId:
|
|
4007
|
-
brandId:
|
|
4008
|
-
themeId:
|
|
4009
|
-
exporterName:
|
|
4010
|
-
exporterPackageUrl:
|
|
4015
|
+
var ExportJobContext = z148.object({
|
|
4016
|
+
apiUrl: z148.string(),
|
|
4017
|
+
accessToken: z148.string(),
|
|
4018
|
+
designSystemId: z148.string(),
|
|
4019
|
+
designSystemName: z148.string(),
|
|
4020
|
+
exporterId: z148.string(),
|
|
4021
|
+
versionId: z148.string(),
|
|
4022
|
+
brandId: z148.string().optional(),
|
|
4023
|
+
themeId: z148.string().optional(),
|
|
4024
|
+
exporterName: z148.string(),
|
|
4025
|
+
exporterPackageUrl: z148.string(),
|
|
4011
4026
|
exporterPropertyValues: ExporterPropertyValue.array(),
|
|
4012
4027
|
documentation: ExportJobDocumentationContext.optional()
|
|
4013
4028
|
});
|
|
4014
|
-
var ExporterFunctionPayload =
|
|
4015
|
-
exportJobId:
|
|
4016
|
-
exportContextId:
|
|
4017
|
-
designSystemId:
|
|
4018
|
-
workspaceId:
|
|
4029
|
+
var ExporterFunctionPayload = z149.object({
|
|
4030
|
+
exportJobId: z149.string(),
|
|
4031
|
+
exportContextId: z149.string(),
|
|
4032
|
+
designSystemId: z149.string(),
|
|
4033
|
+
workspaceId: z149.string()
|
|
4019
4034
|
});
|
|
4020
|
-
var ExportJobDestinationType =
|
|
4035
|
+
var ExportJobDestinationType = z150.enum([
|
|
4021
4036
|
"s3",
|
|
4022
4037
|
"webhookUrl",
|
|
4023
4038
|
"github",
|
|
@@ -4026,30 +4041,30 @@ var ExportJobDestinationType = z147.enum([
|
|
|
4026
4041
|
"gitlab",
|
|
4027
4042
|
"bitbucket"
|
|
4028
4043
|
]);
|
|
4029
|
-
var ExportJobStatus =
|
|
4030
|
-
var ExportJobLogEntryType =
|
|
4031
|
-
var ExportJobLogEntry =
|
|
4032
|
-
id:
|
|
4033
|
-
time:
|
|
4044
|
+
var ExportJobStatus = z150.enum(["InProgress", "Success", "Failed", "Timeout"]);
|
|
4045
|
+
var ExportJobLogEntryType = z150.enum(["success", "info", "warning", "error", "user"]);
|
|
4046
|
+
var ExportJobLogEntry = z150.object({
|
|
4047
|
+
id: z150.string().optional(),
|
|
4048
|
+
time: z150.coerce.date(),
|
|
4034
4049
|
type: ExportJobLogEntryType,
|
|
4035
|
-
message:
|
|
4050
|
+
message: z150.string()
|
|
4036
4051
|
});
|
|
4037
|
-
var ExportJobPullRequestDestinationResult =
|
|
4038
|
-
pullRequestUrl:
|
|
4052
|
+
var ExportJobPullRequestDestinationResult = z150.object({
|
|
4053
|
+
pullRequestUrl: z150.string()
|
|
4039
4054
|
});
|
|
4040
|
-
var ExportJobS3DestinationResult =
|
|
4041
|
-
bucket:
|
|
4042
|
-
urlPrefix:
|
|
4043
|
-
path:
|
|
4044
|
-
files:
|
|
4045
|
-
url: nullishToOptional(
|
|
4046
|
-
urls: nullishToOptional(
|
|
4055
|
+
var ExportJobS3DestinationResult = z150.object({
|
|
4056
|
+
bucket: z150.string(),
|
|
4057
|
+
urlPrefix: z150.string().optional(),
|
|
4058
|
+
path: z150.string(),
|
|
4059
|
+
files: z150.array(z150.string()),
|
|
4060
|
+
url: nullishToOptional(z150.string()),
|
|
4061
|
+
urls: nullishToOptional(z150.string().array())
|
|
4047
4062
|
});
|
|
4048
|
-
var ExportJobDocsDestinationResult =
|
|
4049
|
-
url:
|
|
4063
|
+
var ExportJobDocsDestinationResult = z150.object({
|
|
4064
|
+
url: z150.string()
|
|
4050
4065
|
});
|
|
4051
|
-
var ExportJobResult =
|
|
4052
|
-
error:
|
|
4066
|
+
var ExportJobResult = z150.object({
|
|
4067
|
+
error: z150.string().optional(),
|
|
4053
4068
|
s3: nullishToOptional(ExportJobS3DestinationResult),
|
|
4054
4069
|
github: nullishToOptional(ExportJobPullRequestDestinationResult),
|
|
4055
4070
|
azure: nullishToOptional(ExportJobPullRequestDestinationResult),
|
|
@@ -4058,21 +4073,21 @@ var ExportJobResult = z147.object({
|
|
|
4058
4073
|
sndocs: nullishToOptional(ExportJobDocsDestinationResult),
|
|
4059
4074
|
logs: nullishToOptional(ExportJobLogEntry.array())
|
|
4060
4075
|
});
|
|
4061
|
-
var ExportJob =
|
|
4062
|
-
id:
|
|
4063
|
-
createdAt:
|
|
4064
|
-
finishedAt:
|
|
4065
|
-
designSystemId:
|
|
4066
|
-
designSystemVersionId:
|
|
4067
|
-
workspaceId:
|
|
4068
|
-
scheduleId:
|
|
4069
|
-
exporterId:
|
|
4070
|
-
brandId:
|
|
4071
|
-
themeId:
|
|
4072
|
-
estimatedExecutionTime:
|
|
4076
|
+
var ExportJob = z150.object({
|
|
4077
|
+
id: z150.string(),
|
|
4078
|
+
createdAt: z150.coerce.date(),
|
|
4079
|
+
finishedAt: z150.coerce.date().optional(),
|
|
4080
|
+
designSystemId: z150.string(),
|
|
4081
|
+
designSystemVersionId: z150.string(),
|
|
4082
|
+
workspaceId: z150.string(),
|
|
4083
|
+
scheduleId: z150.string().nullish(),
|
|
4084
|
+
exporterId: z150.string(),
|
|
4085
|
+
brandId: z150.string().optional(),
|
|
4086
|
+
themeId: z150.string().optional(),
|
|
4087
|
+
estimatedExecutionTime: z150.number().optional(),
|
|
4073
4088
|
status: ExportJobStatus,
|
|
4074
4089
|
result: ExportJobResult.optional(),
|
|
4075
|
-
createdByUserId:
|
|
4090
|
+
createdByUserId: z150.string().optional(),
|
|
4076
4091
|
// Destinations
|
|
4077
4092
|
...ExportDestinationsMap.shape
|
|
4078
4093
|
});
|
|
@@ -4086,24 +4101,24 @@ var ExportJobFindByFilter = ExportJob.pick({
|
|
|
4086
4101
|
themeId: true,
|
|
4087
4102
|
brandId: true
|
|
4088
4103
|
}).extend({
|
|
4089
|
-
destinations:
|
|
4104
|
+
destinations: z150.array(ExportJobDestinationType),
|
|
4090
4105
|
docsEnvironment: PublishedDocEnvironment
|
|
4091
4106
|
}).partial();
|
|
4092
|
-
var ExporterWorkspaceMembershipRole =
|
|
4093
|
-
var ExporterWorkspaceMembership =
|
|
4094
|
-
id:
|
|
4095
|
-
workspaceId:
|
|
4096
|
-
exporterId:
|
|
4107
|
+
var ExporterWorkspaceMembershipRole = z151.enum(["Owner", "OwnerArchived", "User"]);
|
|
4108
|
+
var ExporterWorkspaceMembership = z152.object({
|
|
4109
|
+
id: z152.string(),
|
|
4110
|
+
workspaceId: z152.string(),
|
|
4111
|
+
exporterId: z152.string(),
|
|
4097
4112
|
role: ExporterWorkspaceMembershipRole
|
|
4098
4113
|
});
|
|
4099
|
-
var FlaggedFeature =
|
|
4100
|
-
var FeatureFlagMap =
|
|
4101
|
-
var FeatureFlag =
|
|
4102
|
-
id:
|
|
4114
|
+
var FlaggedFeature = z153.enum(["FigmaImporterV2", "ShadowOpacityOptional", "DisableImporter"]);
|
|
4115
|
+
var FeatureFlagMap = z153.record(FlaggedFeature, z153.boolean());
|
|
4116
|
+
var FeatureFlag = z153.object({
|
|
4117
|
+
id: z153.string(),
|
|
4103
4118
|
feature: FlaggedFeature,
|
|
4104
|
-
createdAt:
|
|
4105
|
-
enabled:
|
|
4106
|
-
designSystemId:
|
|
4119
|
+
createdAt: z153.coerce.date(),
|
|
4120
|
+
enabled: z153.boolean(),
|
|
4121
|
+
designSystemId: z153.string().optional()
|
|
4107
4122
|
});
|
|
4108
4123
|
var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
|
|
4109
4124
|
OAuthProviderNames2["Figma"] = "figma";
|
|
@@ -4113,173 +4128,173 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
|
|
|
4113
4128
|
OAuthProviderNames2["Bitbucket"] = "bitbucket";
|
|
4114
4129
|
return OAuthProviderNames2;
|
|
4115
4130
|
})(OAuthProviderNames || {});
|
|
4116
|
-
var OAuthProviderSchema =
|
|
4131
|
+
var OAuthProviderSchema = z154.nativeEnum(OAuthProviderNames);
|
|
4117
4132
|
var OAuthProvider = OAuthProviderSchema.enum;
|
|
4118
|
-
var ExternalOAuthRequest =
|
|
4119
|
-
id:
|
|
4133
|
+
var ExternalOAuthRequest = z155.object({
|
|
4134
|
+
id: z155.string(),
|
|
4120
4135
|
provider: OAuthProviderSchema,
|
|
4121
|
-
userId:
|
|
4122
|
-
state:
|
|
4123
|
-
createdAt:
|
|
4136
|
+
userId: z155.string(),
|
|
4137
|
+
state: z155.string(),
|
|
4138
|
+
createdAt: z155.coerce.date()
|
|
4124
4139
|
});
|
|
4125
|
-
var GitObjectsQuery =
|
|
4126
|
-
organization:
|
|
4140
|
+
var GitObjectsQuery = z156.object({
|
|
4141
|
+
organization: z156.string().optional(),
|
|
4127
4142
|
// Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
|
|
4128
|
-
project:
|
|
4143
|
+
project: z156.string().optional(),
|
|
4129
4144
|
// Only for Bitbucket and Azure
|
|
4130
|
-
repository:
|
|
4145
|
+
repository: z156.string().optional(),
|
|
4131
4146
|
// For all providers. For Gitlab, it's called "project".
|
|
4132
|
-
branch:
|
|
4147
|
+
branch: z156.string().optional(),
|
|
4133
4148
|
// For all providers.
|
|
4134
|
-
user:
|
|
4149
|
+
user: z156.string().optional()
|
|
4135
4150
|
// Gitlab user
|
|
4136
4151
|
});
|
|
4137
|
-
var GitOrganization =
|
|
4138
|
-
id:
|
|
4139
|
-
name:
|
|
4140
|
-
url:
|
|
4141
|
-
slug:
|
|
4142
|
-
});
|
|
4143
|
-
var GitProject =
|
|
4144
|
-
id:
|
|
4145
|
-
name:
|
|
4146
|
-
url:
|
|
4147
|
-
slug:
|
|
4148
|
-
});
|
|
4149
|
-
var GitRepository =
|
|
4150
|
-
id:
|
|
4151
|
-
name:
|
|
4152
|
-
url:
|
|
4153
|
-
slug:
|
|
4152
|
+
var GitOrganization = z156.object({
|
|
4153
|
+
id: z156.string(),
|
|
4154
|
+
name: z156.string(),
|
|
4155
|
+
url: z156.string(),
|
|
4156
|
+
slug: z156.string()
|
|
4157
|
+
});
|
|
4158
|
+
var GitProject = z156.object({
|
|
4159
|
+
id: z156.string(),
|
|
4160
|
+
name: z156.string(),
|
|
4161
|
+
url: z156.string(),
|
|
4162
|
+
slug: z156.string()
|
|
4163
|
+
});
|
|
4164
|
+
var GitRepository = z156.object({
|
|
4165
|
+
id: z156.string(),
|
|
4166
|
+
name: z156.string(),
|
|
4167
|
+
url: z156.string(),
|
|
4168
|
+
slug: z156.string(),
|
|
4154
4169
|
/**
|
|
4155
4170
|
* Can be undefined when:
|
|
4156
4171
|
* - there are no branches in the repository yet
|
|
4157
4172
|
* - Git provider doesn't expose this information on a repository via their API
|
|
4158
4173
|
*/
|
|
4159
|
-
defaultBranch:
|
|
4174
|
+
defaultBranch: z156.string().optional()
|
|
4160
4175
|
});
|
|
4161
|
-
var GitBranch =
|
|
4162
|
-
name:
|
|
4163
|
-
lastCommitId:
|
|
4176
|
+
var GitBranch = z156.object({
|
|
4177
|
+
name: z156.string(),
|
|
4178
|
+
lastCommitId: z156.string()
|
|
4164
4179
|
});
|
|
4165
|
-
var IntegrationTokenSchemaOld =
|
|
4166
|
-
id:
|
|
4180
|
+
var IntegrationTokenSchemaOld = z157.object({
|
|
4181
|
+
id: z157.string(),
|
|
4167
4182
|
provider: OAuthProviderSchema,
|
|
4168
|
-
scope:
|
|
4169
|
-
userId:
|
|
4170
|
-
accessToken:
|
|
4171
|
-
refreshToken:
|
|
4172
|
-
expiresAt:
|
|
4173
|
-
externalUserId:
|
|
4174
|
-
});
|
|
4175
|
-
var WorkspaceOAuthRequestSchema =
|
|
4176
|
-
id:
|
|
4177
|
-
workspaceId:
|
|
4183
|
+
scope: z157.string(),
|
|
4184
|
+
userId: z157.string(),
|
|
4185
|
+
accessToken: z157.string(),
|
|
4186
|
+
refreshToken: z157.string(),
|
|
4187
|
+
expiresAt: z157.coerce.date(),
|
|
4188
|
+
externalUserId: z157.string().nullish()
|
|
4189
|
+
});
|
|
4190
|
+
var WorkspaceOAuthRequestSchema = z158.object({
|
|
4191
|
+
id: z158.string(),
|
|
4192
|
+
workspaceId: z158.string(),
|
|
4178
4193
|
provider: OAuthProviderSchema,
|
|
4179
|
-
userId:
|
|
4180
|
-
createdAt:
|
|
4194
|
+
userId: z158.string(),
|
|
4195
|
+
createdAt: z158.coerce.date()
|
|
4181
4196
|
});
|
|
4182
|
-
var AnyRecord =
|
|
4197
|
+
var AnyRecord = z159.record(z159.any());
|
|
4183
4198
|
var NpmPackageVersionDist = AnyRecord.and(
|
|
4184
|
-
|
|
4185
|
-
tarball:
|
|
4199
|
+
z159.object({
|
|
4200
|
+
tarball: z159.string()
|
|
4186
4201
|
})
|
|
4187
4202
|
);
|
|
4188
4203
|
var NpmPackageVersion = AnyRecord.and(
|
|
4189
|
-
|
|
4204
|
+
z159.object({
|
|
4190
4205
|
dist: NpmPackageVersionDist
|
|
4191
4206
|
})
|
|
4192
4207
|
);
|
|
4193
4208
|
var NpmPackage = AnyRecord.and(
|
|
4194
|
-
|
|
4195
|
-
_id:
|
|
4196
|
-
name:
|
|
4209
|
+
z159.object({
|
|
4210
|
+
_id: z159.string(),
|
|
4211
|
+
name: z159.string(),
|
|
4197
4212
|
// e.g. "latest": "1.2.3"
|
|
4198
|
-
"dist-tags":
|
|
4213
|
+
"dist-tags": z159.record(z159.string(), z159.string()),
|
|
4199
4214
|
// "1.2.3": {...}
|
|
4200
|
-
versions:
|
|
4215
|
+
versions: z159.record(NpmPackageVersion)
|
|
4201
4216
|
})
|
|
4202
4217
|
);
|
|
4203
|
-
var NpmProxyTokenPayload =
|
|
4204
|
-
npmProxyRegistryConfigId:
|
|
4218
|
+
var NpmProxyTokenPayload = z160.object({
|
|
4219
|
+
npmProxyRegistryConfigId: z160.string()
|
|
4205
4220
|
});
|
|
4206
|
-
var WorkspaceRoleSchema =
|
|
4221
|
+
var WorkspaceRoleSchema = z161.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest"]);
|
|
4207
4222
|
var WorkspaceRole = WorkspaceRoleSchema.enum;
|
|
4208
4223
|
var MAX_MEMBERS_COUNT = 100;
|
|
4209
|
-
var UserInvite =
|
|
4210
|
-
email:
|
|
4224
|
+
var UserInvite = z162.object({
|
|
4225
|
+
email: z162.string().email().trim().transform((value) => value.toLowerCase()),
|
|
4211
4226
|
role: WorkspaceRoleSchema
|
|
4212
4227
|
});
|
|
4213
|
-
var UserInvites =
|
|
4214
|
-
var WorkspaceConfigurationUpdate =
|
|
4215
|
-
id:
|
|
4228
|
+
var UserInvites = z162.array(UserInvite).max(MAX_MEMBERS_COUNT);
|
|
4229
|
+
var WorkspaceConfigurationUpdate = z163.object({
|
|
4230
|
+
id: z163.string(),
|
|
4216
4231
|
ipWhitelist: WorkspaceIpSettings.optional(),
|
|
4217
4232
|
sso: SsoProvider.optional(),
|
|
4218
4233
|
npmRegistrySettings: NpmRegistryConfig.optional(),
|
|
4219
4234
|
profile: WorkspaceProfileUpdate.optional()
|
|
4220
4235
|
});
|
|
4221
|
-
var WorkspaceContext =
|
|
4222
|
-
workspaceId:
|
|
4236
|
+
var WorkspaceContext = z164.object({
|
|
4237
|
+
workspaceId: z164.string(),
|
|
4223
4238
|
product: ProductCodeSchema,
|
|
4224
4239
|
ipWhitelist: nullishToOptional(WorkspaceIpSettings),
|
|
4225
|
-
publicDesignSystem:
|
|
4240
|
+
publicDesignSystem: z164.boolean().optional()
|
|
4226
4241
|
});
|
|
4227
4242
|
var WORKSPACE_NAME_MIN_LENGTH = 2;
|
|
4228
4243
|
var WORKSPACE_NAME_MAX_LENGTH = 64;
|
|
4229
4244
|
var HANDLE_MIN_LENGTH = 2;
|
|
4230
4245
|
var HANDLE_MAX_LENGTH = 64;
|
|
4231
|
-
var CreateWorkspaceInput =
|
|
4232
|
-
name:
|
|
4246
|
+
var CreateWorkspaceInput = z165.object({
|
|
4247
|
+
name: z165.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
|
|
4233
4248
|
product: ProductCodeSchema,
|
|
4234
|
-
priceId:
|
|
4235
|
-
billingEmail:
|
|
4236
|
-
handle:
|
|
4249
|
+
priceId: z165.string(),
|
|
4250
|
+
billingEmail: z165.string().email().optional(),
|
|
4251
|
+
handle: z165.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional(),
|
|
4237
4252
|
invites: UserInvites.optional(),
|
|
4238
|
-
promoCode:
|
|
4253
|
+
promoCode: z165.string().optional(),
|
|
4239
4254
|
status: InternalStatusSchema.optional(),
|
|
4240
4255
|
planInterval: BillingIntervalSchema.optional(),
|
|
4241
|
-
seats:
|
|
4242
|
-
seatLimit:
|
|
4256
|
+
seats: z165.number().optional(),
|
|
4257
|
+
seatLimit: z165.number().optional(),
|
|
4243
4258
|
card: CardSchema.optional(),
|
|
4244
4259
|
sso: SsoProvider.optional(),
|
|
4245
4260
|
npmRegistrySettings: NpmRegistryConfig.optional(),
|
|
4246
4261
|
ipWhitelist: WorkspaceIpSettings.optional()
|
|
4247
4262
|
});
|
|
4248
|
-
var WorkspaceInvitation =
|
|
4249
|
-
id:
|
|
4250
|
-
email:
|
|
4251
|
-
createdAt:
|
|
4252
|
-
resentAt:
|
|
4253
|
-
role:
|
|
4254
|
-
workspaceId:
|
|
4255
|
-
invitedBy:
|
|
4256
|
-
});
|
|
4257
|
-
var WorkspaceMembership =
|
|
4258
|
-
id:
|
|
4259
|
-
userId:
|
|
4260
|
-
workspaceId:
|
|
4261
|
-
workspaceRole:
|
|
4263
|
+
var WorkspaceInvitation = z166.object({
|
|
4264
|
+
id: z166.string(),
|
|
4265
|
+
email: z166.string().email(),
|
|
4266
|
+
createdAt: z166.coerce.date(),
|
|
4267
|
+
resentAt: z166.coerce.date().nullish(),
|
|
4268
|
+
role: z166.nativeEnum(WorkspaceRole),
|
|
4269
|
+
workspaceId: z166.string(),
|
|
4270
|
+
invitedBy: z166.string()
|
|
4271
|
+
});
|
|
4272
|
+
var WorkspaceMembership = z167.object({
|
|
4273
|
+
id: z167.string(),
|
|
4274
|
+
userId: z167.string(),
|
|
4275
|
+
workspaceId: z167.string(),
|
|
4276
|
+
workspaceRole: z167.nativeEnum(WorkspaceRole),
|
|
4262
4277
|
notificationSettings: UserNotificationSettings
|
|
4263
4278
|
});
|
|
4264
|
-
var UpdateMembershipRolesInput =
|
|
4265
|
-
members:
|
|
4266
|
-
|
|
4267
|
-
userId:
|
|
4268
|
-
role:
|
|
4279
|
+
var UpdateMembershipRolesInput = z167.object({
|
|
4280
|
+
members: z167.array(
|
|
4281
|
+
z167.object({
|
|
4282
|
+
userId: z167.string(),
|
|
4283
|
+
role: z167.nativeEnum(WorkspaceRole)
|
|
4269
4284
|
})
|
|
4270
4285
|
)
|
|
4271
4286
|
});
|
|
4272
|
-
var PersonalAccessToken =
|
|
4273
|
-
id:
|
|
4274
|
-
userId:
|
|
4275
|
-
workspaceId:
|
|
4287
|
+
var PersonalAccessToken = z168.object({
|
|
4288
|
+
id: z168.string(),
|
|
4289
|
+
userId: z168.string(),
|
|
4290
|
+
workspaceId: z168.string().optional(),
|
|
4276
4291
|
workspaceRole: WorkspaceRoleSchema.optional(),
|
|
4277
|
-
name:
|
|
4278
|
-
hidden:
|
|
4279
|
-
token:
|
|
4280
|
-
scope:
|
|
4281
|
-
createdAt:
|
|
4282
|
-
expireAt:
|
|
4292
|
+
name: z168.string(),
|
|
4293
|
+
hidden: z168.boolean(),
|
|
4294
|
+
token: z168.string(),
|
|
4295
|
+
scope: z168.string().optional(),
|
|
4296
|
+
createdAt: z168.coerce.date(),
|
|
4297
|
+
expireAt: z168.coerce.date().optional()
|
|
4283
4298
|
});
|
|
4284
4299
|
|
|
4285
4300
|
// src/api/conversion/documentation/documentation-item-configuration-v1-to-dto.ts
|
|
@@ -4694,157 +4709,164 @@ function integrationCredentialToDto(credential) {
|
|
|
4694
4709
|
};
|
|
4695
4710
|
}
|
|
4696
4711
|
|
|
4712
|
+
// src/api/dto/aux/pagination.ts
|
|
4713
|
+
import { z as z169 } from "zod";
|
|
4714
|
+
var DTOPagination = z169.object({
|
|
4715
|
+
limit: z169.string().optional(),
|
|
4716
|
+
offset: z169.string().optional()
|
|
4717
|
+
});
|
|
4718
|
+
|
|
4697
4719
|
// src/api/dto/design-systems/brand.ts
|
|
4698
|
-
import { z as
|
|
4699
|
-
var DTOBrand =
|
|
4700
|
-
id:
|
|
4701
|
-
designSystemVersionId:
|
|
4702
|
-
persistentId:
|
|
4720
|
+
import { z as z170 } from "zod";
|
|
4721
|
+
var DTOBrand = z170.object({
|
|
4722
|
+
id: z170.string(),
|
|
4723
|
+
designSystemVersionId: z170.string(),
|
|
4724
|
+
persistentId: z170.string(),
|
|
4703
4725
|
meta: ObjectMeta
|
|
4704
4726
|
});
|
|
4705
|
-
var DTOBrandGetResponse =
|
|
4706
|
-
var DTOBrandCreateResponse =
|
|
4727
|
+
var DTOBrandGetResponse = z170.object({ brand: DTOBrand });
|
|
4728
|
+
var DTOBrandCreateResponse = z170.object({
|
|
4707
4729
|
brand: DTOBrand
|
|
4708
4730
|
});
|
|
4709
|
-
var DTOBrandsListResponse =
|
|
4731
|
+
var DTOBrandsListResponse = z170.object({ brands: z170.array(DTOBrand) });
|
|
4710
4732
|
|
|
4711
4733
|
// src/api/dto/design-systems/data-source.ts
|
|
4712
|
-
import { z as
|
|
4713
|
-
var DTODataSourceFigmaFileVersion =
|
|
4714
|
-
id:
|
|
4715
|
-
created_at:
|
|
4716
|
-
label:
|
|
4717
|
-
description:
|
|
4718
|
-
});
|
|
4719
|
-
var DTODataSourceFigmaCloud =
|
|
4720
|
-
fileId:
|
|
4734
|
+
import { z as z171 } from "zod";
|
|
4735
|
+
var DTODataSourceFigmaFileVersion = z171.object({
|
|
4736
|
+
id: z171.string(),
|
|
4737
|
+
created_at: z171.coerce.date(),
|
|
4738
|
+
label: z171.string(),
|
|
4739
|
+
description: z171.string()
|
|
4740
|
+
});
|
|
4741
|
+
var DTODataSourceFigmaCloud = z171.object({
|
|
4742
|
+
fileId: z171.string(),
|
|
4721
4743
|
state: DataSourceFigmaState,
|
|
4722
4744
|
autoImportMode: DataSourceAutoImportMode,
|
|
4723
|
-
fileThumbnailUrl:
|
|
4745
|
+
fileThumbnailUrl: z171.string().optional(),
|
|
4724
4746
|
lastImportResult: SourceImportSummary.nullish(),
|
|
4725
|
-
lastImportedAt:
|
|
4747
|
+
lastImportedAt: z171.date().nullish(),
|
|
4726
4748
|
lastImportedVersion: DTODataSourceFigmaFileVersion.nullish(),
|
|
4727
|
-
lastUpdatesCheckedAt:
|
|
4728
|
-
ownerId:
|
|
4729
|
-
ownerUserName:
|
|
4730
|
-
preferredCredentialId:
|
|
4749
|
+
lastUpdatesCheckedAt: z171.date().nullish(),
|
|
4750
|
+
ownerId: z171.string(),
|
|
4751
|
+
ownerUserName: z171.string().optional(),
|
|
4752
|
+
preferredCredentialId: z171.string().optional(),
|
|
4731
4753
|
stats: DataSourceStats
|
|
4732
4754
|
});
|
|
4733
|
-
var DTODataSourceFigma =
|
|
4734
|
-
id:
|
|
4735
|
-
type:
|
|
4736
|
-
fileName:
|
|
4755
|
+
var DTODataSourceFigma = z171.object({
|
|
4756
|
+
id: z171.string(),
|
|
4757
|
+
type: z171.literal(DataSourceRemoteType.Enum.Figma),
|
|
4758
|
+
fileName: z171.string(),
|
|
4737
4759
|
scope: DataSourceFigmaScope,
|
|
4738
|
-
brandId:
|
|
4739
|
-
themeId:
|
|
4760
|
+
brandId: z171.string(),
|
|
4761
|
+
themeId: z171.string().nullish(),
|
|
4740
4762
|
cloud: DTODataSourceFigmaCloud.nullish(),
|
|
4741
|
-
tokenStudio:
|
|
4742
|
-
upload:
|
|
4743
|
-
figmaVariablesPlugin:
|
|
4744
|
-
});
|
|
4745
|
-
var DTODataSourceTokenStudio =
|
|
4746
|
-
id:
|
|
4747
|
-
type:
|
|
4748
|
-
fileName:
|
|
4749
|
-
brandId:
|
|
4750
|
-
themeId:
|
|
4751
|
-
cloud:
|
|
4752
|
-
tokenStudio:
|
|
4753
|
-
settings:
|
|
4754
|
-
dryRun:
|
|
4755
|
-
verbose:
|
|
4756
|
-
preciseCopy:
|
|
4763
|
+
tokenStudio: z171.literal(null),
|
|
4764
|
+
upload: z171.literal(null),
|
|
4765
|
+
figmaVariablesPlugin: z171.literal(null)
|
|
4766
|
+
});
|
|
4767
|
+
var DTODataSourceTokenStudio = z171.object({
|
|
4768
|
+
id: z171.string(),
|
|
4769
|
+
type: z171.literal(DataSourceRemoteType.Enum.TokenStudio),
|
|
4770
|
+
fileName: z171.string(),
|
|
4771
|
+
brandId: z171.string(),
|
|
4772
|
+
themeId: z171.string().nullish(),
|
|
4773
|
+
cloud: z171.literal(null),
|
|
4774
|
+
tokenStudio: z171.object({
|
|
4775
|
+
settings: z171.object({
|
|
4776
|
+
dryRun: z171.boolean(),
|
|
4777
|
+
verbose: z171.boolean(),
|
|
4778
|
+
preciseCopy: z171.boolean()
|
|
4757
4779
|
}),
|
|
4758
|
-
connectionName:
|
|
4759
|
-
lastImportedAt:
|
|
4760
|
-
lastImportedResults:
|
|
4761
|
-
|
|
4762
|
-
mapping:
|
|
4763
|
-
tokenSets:
|
|
4764
|
-
supernovaBrand:
|
|
4765
|
-
supernovaTheme:
|
|
4780
|
+
connectionName: z171.string(),
|
|
4781
|
+
lastImportedAt: z171.date(),
|
|
4782
|
+
lastImportedResults: z171.array(
|
|
4783
|
+
z171.object({
|
|
4784
|
+
mapping: z171.object({
|
|
4785
|
+
tokenSets: z171.array(z171.string()),
|
|
4786
|
+
supernovaBrand: z171.string(),
|
|
4787
|
+
supernovaTheme: z171.string().optional()
|
|
4766
4788
|
}),
|
|
4767
|
-
isFailed:
|
|
4768
|
-
tokensCreated:
|
|
4769
|
-
tokensDeleted:
|
|
4770
|
-
tokensUpdated:
|
|
4789
|
+
isFailed: z171.boolean(),
|
|
4790
|
+
tokensCreated: z171.number(),
|
|
4791
|
+
tokensDeleted: z171.number(),
|
|
4792
|
+
tokensUpdated: z171.number()
|
|
4771
4793
|
})
|
|
4772
4794
|
)
|
|
4773
4795
|
}),
|
|
4774
|
-
upload:
|
|
4775
|
-
figmaVariablesPlugin:
|
|
4776
|
-
});
|
|
4777
|
-
var DTODataSourceFigmaVariablesPlugin =
|
|
4778
|
-
id:
|
|
4779
|
-
type:
|
|
4780
|
-
fileName:
|
|
4781
|
-
brandId:
|
|
4782
|
-
themeId:
|
|
4783
|
-
cloud:
|
|
4784
|
-
tokenStudio:
|
|
4785
|
-
upload:
|
|
4786
|
-
remoteId:
|
|
4796
|
+
upload: z171.literal(null),
|
|
4797
|
+
figmaVariablesPlugin: z171.literal(null)
|
|
4798
|
+
});
|
|
4799
|
+
var DTODataSourceFigmaVariablesPlugin = z171.object({
|
|
4800
|
+
id: z171.string(),
|
|
4801
|
+
type: z171.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
|
|
4802
|
+
fileName: z171.string(),
|
|
4803
|
+
brandId: z171.string(),
|
|
4804
|
+
themeId: z171.literal(null),
|
|
4805
|
+
cloud: z171.literal(null),
|
|
4806
|
+
tokenStudio: z171.literal(null),
|
|
4807
|
+
upload: z171.object({
|
|
4808
|
+
remoteId: z171.string(),
|
|
4787
4809
|
remoteSourceType: DataSourceUploadRemoteSource,
|
|
4788
|
-
lastImportedAt:
|
|
4810
|
+
lastImportedAt: z171.date().optional(),
|
|
4789
4811
|
lastImportMetadata: DataSourceUploadImportMetadata.optional()
|
|
4790
4812
|
}),
|
|
4791
|
-
figmaVariablesPlugin:
|
|
4792
|
-
fileId:
|
|
4793
|
-
lastImportedAt:
|
|
4813
|
+
figmaVariablesPlugin: z171.object({
|
|
4814
|
+
fileId: z171.string(),
|
|
4815
|
+
lastImportedAt: z171.date().optional(),
|
|
4794
4816
|
lastImportMetadata: DataSourceUploadImportMetadata.optional()
|
|
4795
4817
|
})
|
|
4796
4818
|
});
|
|
4797
|
-
var DTODataSource =
|
|
4819
|
+
var DTODataSource = z171.discriminatedUnion("type", [
|
|
4798
4820
|
DTODataSourceFigma,
|
|
4799
4821
|
DTODataSourceFigmaVariablesPlugin,
|
|
4800
4822
|
DTODataSourceTokenStudio
|
|
4801
4823
|
]);
|
|
4802
|
-
var DTODataSourcesListResponse =
|
|
4803
|
-
sources:
|
|
4824
|
+
var DTODataSourcesListResponse = z171.object({
|
|
4825
|
+
sources: z171.array(DTODataSource)
|
|
4804
4826
|
});
|
|
4805
|
-
var DTODataSourceCreationResponse =
|
|
4827
|
+
var DTODataSourceCreationResponse = z171.object({
|
|
4806
4828
|
source: DTODataSource
|
|
4807
4829
|
});
|
|
4808
4830
|
|
|
4809
4831
|
// src/api/dto/design-systems/design-system.ts
|
|
4810
|
-
import { z as
|
|
4832
|
+
import { z as z172 } from "zod";
|
|
4811
4833
|
var DTODesignSystem = DesignSystem.omit({
|
|
4812
4834
|
name: true,
|
|
4813
4835
|
description: true,
|
|
4814
4836
|
docExporterId: true
|
|
4815
4837
|
}).extend({
|
|
4816
4838
|
meta: ObjectMeta,
|
|
4817
|
-
docExporterId:
|
|
4818
|
-
sources:
|
|
4839
|
+
docExporterId: z172.string(),
|
|
4840
|
+
sources: z172.array(z172.any())
|
|
4819
4841
|
});
|
|
4820
4842
|
|
|
4821
4843
|
// src/api/dto/design-systems/elements-diff.ts
|
|
4822
|
-
import { z as
|
|
4823
|
-
var DTODiffCountBase =
|
|
4824
|
-
created:
|
|
4825
|
-
updated:
|
|
4826
|
-
deleted:
|
|
4844
|
+
import { z as z173 } from "zod";
|
|
4845
|
+
var DTODiffCountBase = z173.object({
|
|
4846
|
+
created: z173.number(),
|
|
4847
|
+
updated: z173.number(),
|
|
4848
|
+
deleted: z173.number()
|
|
4827
4849
|
});
|
|
4828
|
-
var DTODesignElementsDataDiffResponse =
|
|
4850
|
+
var DTODesignElementsDataDiffResponse = z173.object({
|
|
4829
4851
|
tokens: DTODiffCountBase,
|
|
4830
4852
|
assets: DTODiffCountBase
|
|
4831
4853
|
});
|
|
4832
4854
|
|
|
4833
4855
|
// src/api/dto/design-systems/exporter-property.ts
|
|
4834
|
-
import { z as
|
|
4835
|
-
var DTOExporterProperty =
|
|
4836
|
-
var DTOExporterPropertyListResponse =
|
|
4856
|
+
import { z as z174 } from "zod";
|
|
4857
|
+
var DTOExporterProperty = z174.any({});
|
|
4858
|
+
var DTOExporterPropertyListResponse = z174.object({ items: z174.array(DTOExporterProperty) });
|
|
4837
4859
|
|
|
4838
4860
|
// src/api/dto/design-systems/version.ts
|
|
4839
|
-
import { z as
|
|
4861
|
+
import { z as z184 } from "zod";
|
|
4840
4862
|
|
|
4841
4863
|
// src/api/payloads/design-systems/brand.ts
|
|
4842
|
-
import { z as
|
|
4843
|
-
var DTOCreateBrandInput =
|
|
4844
|
-
persistentId:
|
|
4845
|
-
meta:
|
|
4846
|
-
name:
|
|
4847
|
-
description:
|
|
4864
|
+
import { z as z175 } from "zod";
|
|
4865
|
+
var DTOCreateBrandInput = z175.object({
|
|
4866
|
+
persistentId: z175.string().uuid(),
|
|
4867
|
+
meta: z175.object({
|
|
4868
|
+
name: z175.string(),
|
|
4869
|
+
description: z175.string()
|
|
4848
4870
|
})
|
|
4849
4871
|
});
|
|
4850
4872
|
|
|
@@ -4852,31 +4874,31 @@ var DTOCreateBrandInput = z171.object({
|
|
|
4852
4874
|
var DTODesignSystemUpdateInput = DesignSystemUpdateInput;
|
|
4853
4875
|
|
|
4854
4876
|
// src/api/payloads/design-systems/version.ts
|
|
4855
|
-
import { z as
|
|
4856
|
-
var ObjectMeta2 =
|
|
4857
|
-
name:
|
|
4858
|
-
description:
|
|
4877
|
+
import { z as z176 } from "zod";
|
|
4878
|
+
var ObjectMeta2 = z176.object({
|
|
4879
|
+
name: z176.string().max(150).optional(),
|
|
4880
|
+
description: z176.string().max(2e3).optional()
|
|
4859
4881
|
});
|
|
4860
4882
|
function validateDesignSystemVersion(version) {
|
|
4861
4883
|
const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
|
|
4862
4884
|
return urlCompliantRegex.test(version);
|
|
4863
4885
|
}
|
|
4864
|
-
var DTOCreateVersionInput =
|
|
4886
|
+
var DTOCreateVersionInput = z176.object({
|
|
4865
4887
|
meta: ObjectMeta2,
|
|
4866
|
-
version:
|
|
4888
|
+
version: z176.string().refine(validateDesignSystemVersion, {
|
|
4867
4889
|
message: "Invalid semantic versioning format"
|
|
4868
4890
|
}),
|
|
4869
|
-
changeLog:
|
|
4891
|
+
changeLog: z176.string().optional()
|
|
4870
4892
|
});
|
|
4871
|
-
var DTOUpdateVersionInput =
|
|
4893
|
+
var DTOUpdateVersionInput = z176.object({
|
|
4872
4894
|
meta: ObjectMeta2,
|
|
4873
|
-
version:
|
|
4895
|
+
version: z176.string(),
|
|
4874
4896
|
// required for PUT, but not editable
|
|
4875
|
-
changeLog:
|
|
4897
|
+
changeLog: z176.string()
|
|
4876
4898
|
});
|
|
4877
4899
|
|
|
4878
4900
|
// src/api/payloads/documentation/block-definitions.ts
|
|
4879
|
-
import { z as
|
|
4901
|
+
import { z as z177 } from "zod";
|
|
4880
4902
|
|
|
4881
4903
|
// src/api/dto/documentation/block-definition.ts
|
|
4882
4904
|
var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
|
|
@@ -4888,59 +4910,59 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
|
|
|
4888
4910
|
var DTOPageBlockDefinition = PageBlockDefinition;
|
|
4889
4911
|
|
|
4890
4912
|
// src/api/payloads/documentation/block-definitions.ts
|
|
4891
|
-
var DTOGetBlockDefinitionsOutput =
|
|
4892
|
-
definitions:
|
|
4913
|
+
var DTOGetBlockDefinitionsOutput = z177.object({
|
|
4914
|
+
definitions: z177.array(DTOPageBlockDefinition)
|
|
4893
4915
|
});
|
|
4894
4916
|
|
|
4895
4917
|
// src/api/payloads/documentation/design-data-doc-diff.ts
|
|
4896
|
-
import { z as
|
|
4897
|
-
var DTODocumentationPublishTypeQueryParams =
|
|
4898
|
-
environment:
|
|
4918
|
+
import { z as z178 } from "zod";
|
|
4919
|
+
var DTODocumentationPublishTypeQueryParams = z178.object({
|
|
4920
|
+
environment: z178.enum(["Live", "Preview"])
|
|
4899
4921
|
});
|
|
4900
4922
|
|
|
4901
4923
|
// src/api/payloads/export/pipeline.ts
|
|
4902
|
-
import { z as
|
|
4903
|
-
var DTOPipelineCreateBody =
|
|
4904
|
-
name:
|
|
4905
|
-
exporterId:
|
|
4906
|
-
designSystemId:
|
|
4907
|
-
isEnabled:
|
|
4924
|
+
import { z as z179 } from "zod";
|
|
4925
|
+
var DTOPipelineCreateBody = z179.object({
|
|
4926
|
+
name: z179.string(),
|
|
4927
|
+
exporterId: z179.string(),
|
|
4928
|
+
designSystemId: z179.string(),
|
|
4929
|
+
isEnabled: z179.boolean(),
|
|
4908
4930
|
eventType: PipelineEventType,
|
|
4909
|
-
brandPersistentId:
|
|
4910
|
-
themePersistentId:
|
|
4931
|
+
brandPersistentId: z179.string().optional(),
|
|
4932
|
+
themePersistentId: z179.string().optional(),
|
|
4911
4933
|
destination: PipelineDestinationType.optional(),
|
|
4912
4934
|
gitQuery: GitObjectsQuery,
|
|
4913
|
-
destinations:
|
|
4935
|
+
destinations: z179.object({
|
|
4914
4936
|
s3: ExporterDestinationS3.nullish(),
|
|
4915
4937
|
azure: ExporterDestinationAzure.nullish(),
|
|
4916
4938
|
bitbucket: ExporterDestinationBitbucket.nullish(),
|
|
4917
4939
|
github: ExporterDestinationGithub.nullish(),
|
|
4918
4940
|
gitlab: ExporterDestinationGitlab.nullish(),
|
|
4919
4941
|
documentation: ExporterDestinationDocs.nullish(),
|
|
4920
|
-
webhookUrl:
|
|
4942
|
+
webhookUrl: z179.string().nullish()
|
|
4921
4943
|
})
|
|
4922
4944
|
});
|
|
4923
4945
|
var DTOPipelineUpdateBody = DTOPipelineCreateBody.extend({
|
|
4924
|
-
id:
|
|
4946
|
+
id: z179.string()
|
|
4925
4947
|
});
|
|
4926
|
-
var DTOPipelineTriggerBody =
|
|
4927
|
-
designSystemVersionId:
|
|
4948
|
+
var DTOPipelineTriggerBody = z179.object({
|
|
4949
|
+
designSystemVersionId: z179.string()
|
|
4928
4950
|
});
|
|
4929
4951
|
|
|
4930
4952
|
// src/api/payloads/liveblocks/auth.ts
|
|
4931
|
-
import { z as
|
|
4932
|
-
var DTOLiveblocksAuthRequest =
|
|
4933
|
-
room:
|
|
4953
|
+
import { z as z180 } from "zod";
|
|
4954
|
+
var DTOLiveblocksAuthRequest = z180.object({
|
|
4955
|
+
room: z180.string().optional()
|
|
4934
4956
|
});
|
|
4935
4957
|
|
|
4936
4958
|
// src/api/payloads/users/notifications/notification-settings.ts
|
|
4937
|
-
import { z as
|
|
4938
|
-
var DTOUpdateUserNotificationSettingsPayload =
|
|
4959
|
+
import { z as z181 } from "zod";
|
|
4960
|
+
var DTOUpdateUserNotificationSettingsPayload = z181.object({
|
|
4939
4961
|
notificationSettings: UserNotificationSettings
|
|
4940
4962
|
});
|
|
4941
|
-
var DTOUserNotificationSettingsResponse =
|
|
4942
|
-
userId:
|
|
4943
|
-
workspaceId:
|
|
4963
|
+
var DTOUserNotificationSettingsResponse = z181.object({
|
|
4964
|
+
userId: z181.string(),
|
|
4965
|
+
workspaceId: z181.string(),
|
|
4944
4966
|
notificationSettings: UserNotificationSettings
|
|
4945
4967
|
});
|
|
4946
4968
|
|
|
@@ -4948,7 +4970,7 @@ var DTOUserNotificationSettingsResponse = z177.object({
|
|
|
4948
4970
|
var DTOUserProfileUpdatePayload = UserProfileUpdate;
|
|
4949
4971
|
|
|
4950
4972
|
// src/api/payloads/workspaces/workspace-configuration.ts
|
|
4951
|
-
import { z as
|
|
4973
|
+
import { z as z182 } from "zod";
|
|
4952
4974
|
var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
|
|
4953
4975
|
function validateSsoPayload(ssoPayload) {
|
|
4954
4976
|
const keys = [];
|
|
@@ -4971,21 +4993,21 @@ function validateSsoPayload(ssoPayload) {
|
|
|
4971
4993
|
keys
|
|
4972
4994
|
};
|
|
4973
4995
|
}
|
|
4974
|
-
var NpmRegistryInput =
|
|
4975
|
-
enabledScopes:
|
|
4976
|
-
customRegistryUrl:
|
|
4977
|
-
bypassProxy:
|
|
4978
|
-
npmProxyRegistryConfigId:
|
|
4979
|
-
npmProxyVersion:
|
|
4980
|
-
registryType:
|
|
4981
|
-
authType:
|
|
4982
|
-
authHeaderName:
|
|
4983
|
-
authHeaderValue:
|
|
4984
|
-
accessToken:
|
|
4985
|
-
username:
|
|
4986
|
-
password:
|
|
4987
|
-
});
|
|
4988
|
-
var WorkspaceConfigurationPayload =
|
|
4996
|
+
var NpmRegistryInput = z182.object({
|
|
4997
|
+
enabledScopes: z182.array(z182.string()),
|
|
4998
|
+
customRegistryUrl: z182.string().optional(),
|
|
4999
|
+
bypassProxy: z182.boolean().optional(),
|
|
5000
|
+
npmProxyRegistryConfigId: z182.string().optional(),
|
|
5001
|
+
npmProxyVersion: z182.number().optional(),
|
|
5002
|
+
registryType: z182.string(),
|
|
5003
|
+
authType: z182.string(),
|
|
5004
|
+
authHeaderName: z182.string(),
|
|
5005
|
+
authHeaderValue: z182.string(),
|
|
5006
|
+
accessToken: z182.string(),
|
|
5007
|
+
username: z182.string(),
|
|
5008
|
+
password: z182.string()
|
|
5009
|
+
});
|
|
5010
|
+
var WorkspaceConfigurationPayload = z182.object({
|
|
4989
5011
|
ipWhitelist: WorkspaceIpSettings.partial().optional(),
|
|
4990
5012
|
sso: SsoProvider.partial().optional(),
|
|
4991
5013
|
npmRegistrySettings: NpmRegistryInput.partial().optional(),
|
|
@@ -4993,363 +5015,363 @@ var WorkspaceConfigurationPayload = z178.object({
|
|
|
4993
5015
|
});
|
|
4994
5016
|
|
|
4995
5017
|
// src/api/payloads/workspaces/workspace-integrations.ts
|
|
4996
|
-
import { z as
|
|
4997
|
-
var DTOWorkspaceIntegrationOauthInput =
|
|
5018
|
+
import { z as z183 } from "zod";
|
|
5019
|
+
var DTOWorkspaceIntegrationOauthInput = z183.object({
|
|
4998
5020
|
type: IntegrationType
|
|
4999
5021
|
});
|
|
5000
|
-
var DTOWorkspaceIntegrationPATInput =
|
|
5001
|
-
userId:
|
|
5022
|
+
var DTOWorkspaceIntegrationPATInput = z183.object({
|
|
5023
|
+
userId: z183.string(),
|
|
5002
5024
|
type: IntegrationType,
|
|
5003
5025
|
token: IntegrationToken
|
|
5004
5026
|
});
|
|
5005
|
-
var DTOWorkspaceIntegrationGetGitObjectsInput =
|
|
5006
|
-
organization:
|
|
5027
|
+
var DTOWorkspaceIntegrationGetGitObjectsInput = z183.object({
|
|
5028
|
+
organization: z183.string().optional(),
|
|
5007
5029
|
// Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
|
|
5008
|
-
project:
|
|
5030
|
+
project: z183.string().optional(),
|
|
5009
5031
|
// Only for Bitbucket and Azure
|
|
5010
|
-
repository:
|
|
5032
|
+
repository: z183.string().optional(),
|
|
5011
5033
|
// For all providers. Pay attention for Gitlab, they call repositories "projects".
|
|
5012
|
-
branch:
|
|
5034
|
+
branch: z183.string().optional(),
|
|
5013
5035
|
// For all providers, useful for PR creations.
|
|
5014
|
-
user:
|
|
5036
|
+
user: z183.string().optional()
|
|
5015
5037
|
// Only for Gitlab User Repositories
|
|
5016
5038
|
});
|
|
5017
5039
|
|
|
5018
5040
|
// src/api/dto/design-systems/version.ts
|
|
5019
|
-
var DTODesignSystemVersion =
|
|
5020
|
-
id:
|
|
5021
|
-
createdAt:
|
|
5041
|
+
var DTODesignSystemVersion = z184.object({
|
|
5042
|
+
id: z184.string(),
|
|
5043
|
+
createdAt: z184.date(),
|
|
5022
5044
|
meta: ObjectMeta,
|
|
5023
|
-
version:
|
|
5024
|
-
isReadonly:
|
|
5025
|
-
changeLog:
|
|
5026
|
-
designSystemId:
|
|
5045
|
+
version: z184.string(),
|
|
5046
|
+
isReadonly: z184.boolean(),
|
|
5047
|
+
changeLog: z184.string(),
|
|
5048
|
+
designSystemId: z184.string()
|
|
5027
5049
|
});
|
|
5028
|
-
var DTODesignSystemVersionsListResponse =
|
|
5029
|
-
designSystemVersions:
|
|
5050
|
+
var DTODesignSystemVersionsListResponse = z184.object({
|
|
5051
|
+
designSystemVersions: z184.array(DTODesignSystemVersion)
|
|
5030
5052
|
});
|
|
5031
|
-
var DTODesignSystemVersionGetResponse =
|
|
5053
|
+
var DTODesignSystemVersionGetResponse = z184.object({
|
|
5032
5054
|
designSystemVersion: DTODesignSystemVersion
|
|
5033
5055
|
});
|
|
5034
|
-
var DTODesignSystemVersionCreationResponse =
|
|
5056
|
+
var DTODesignSystemVersionCreationResponse = z184.object({
|
|
5035
5057
|
meta: ObjectMeta,
|
|
5036
|
-
version:
|
|
5037
|
-
changeLog:
|
|
5038
|
-
isReadOnly:
|
|
5039
|
-
designSystemId:
|
|
5040
|
-
jobId:
|
|
5041
|
-
});
|
|
5042
|
-
var VersionSQSPayload =
|
|
5043
|
-
jobId:
|
|
5044
|
-
designSystemId:
|
|
5058
|
+
version: z184.string(),
|
|
5059
|
+
changeLog: z184.string(),
|
|
5060
|
+
isReadOnly: z184.boolean(),
|
|
5061
|
+
designSystemId: z184.string(),
|
|
5062
|
+
jobId: z184.string()
|
|
5063
|
+
});
|
|
5064
|
+
var VersionSQSPayload = z184.object({
|
|
5065
|
+
jobId: z184.string(),
|
|
5066
|
+
designSystemId: z184.string(),
|
|
5045
5067
|
input: DTOCreateVersionInput
|
|
5046
5068
|
});
|
|
5047
|
-
var DTODesignSystemVersionJobsResponse =
|
|
5048
|
-
jobs:
|
|
5069
|
+
var DTODesignSystemVersionJobsResponse = z184.object({
|
|
5070
|
+
jobs: z184.array(VersionCreationJob)
|
|
5049
5071
|
});
|
|
5050
|
-
var DTODesignSystemVersionJobStatusResponse =
|
|
5072
|
+
var DTODesignSystemVersionJobStatusResponse = z184.object({
|
|
5051
5073
|
job: VersionCreationJob
|
|
5052
5074
|
});
|
|
5053
5075
|
|
|
5054
5076
|
// src/api/dto/design-systems/view.ts
|
|
5055
|
-
import { z as
|
|
5056
|
-
var DTOElementViewColumnSharedAttributes =
|
|
5057
|
-
id:
|
|
5058
|
-
persistentId:
|
|
5059
|
-
width:
|
|
5077
|
+
import { z as z185 } from "zod";
|
|
5078
|
+
var DTOElementViewColumnSharedAttributes = z185.object({
|
|
5079
|
+
id: z185.string(),
|
|
5080
|
+
persistentId: z185.string(),
|
|
5081
|
+
width: z185.number()
|
|
5060
5082
|
});
|
|
5061
5083
|
var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
5062
|
-
type:
|
|
5084
|
+
type: z185.literal("BaseProperty"),
|
|
5063
5085
|
basePropertyType: ElementViewBaseColumnType
|
|
5064
5086
|
});
|
|
5065
5087
|
var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
5066
|
-
type:
|
|
5067
|
-
propertyDefinitionId:
|
|
5088
|
+
type: z185.literal("PropertyDefinition"),
|
|
5089
|
+
propertyDefinitionId: z185.string()
|
|
5068
5090
|
});
|
|
5069
5091
|
var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
|
|
5070
|
-
type:
|
|
5071
|
-
themeId:
|
|
5092
|
+
type: z185.literal("Theme"),
|
|
5093
|
+
themeId: z185.string()
|
|
5072
5094
|
});
|
|
5073
|
-
var DTOElementViewColumn =
|
|
5095
|
+
var DTOElementViewColumn = z185.discriminatedUnion("type", [
|
|
5074
5096
|
DTOElementViewBasePropertyColumn,
|
|
5075
5097
|
DTOElementViewPropertyDefinitionColumn,
|
|
5076
5098
|
DTOElementViewThemeColumn
|
|
5077
5099
|
]);
|
|
5078
|
-
var DTOElementView =
|
|
5100
|
+
var DTOElementView = z185.object({
|
|
5079
5101
|
meta: ObjectMeta,
|
|
5080
|
-
persistentId:
|
|
5102
|
+
persistentId: z185.string(),
|
|
5081
5103
|
targetElementType: ElementPropertyTargetType,
|
|
5082
|
-
id:
|
|
5083
|
-
isDefault:
|
|
5084
|
-
columns:
|
|
5104
|
+
id: z185.string(),
|
|
5105
|
+
isDefault: z185.boolean(),
|
|
5106
|
+
columns: z185.array(DTOElementViewColumn)
|
|
5085
5107
|
});
|
|
5086
|
-
var DTOElementViewsListResponse =
|
|
5087
|
-
elementDataViews:
|
|
5108
|
+
var DTOElementViewsListResponse = z185.object({
|
|
5109
|
+
elementDataViews: z185.array(DTOElementView)
|
|
5088
5110
|
});
|
|
5089
5111
|
|
|
5090
5112
|
// src/api/dto/documentation/anchor.ts
|
|
5091
|
-
import { z as
|
|
5113
|
+
import { z as z186 } from "zod";
|
|
5092
5114
|
var DTODocumentationPageAnchor = DocumentationPageAnchor;
|
|
5093
|
-
var DTOGetDocumentationPageAnchorsResponse =
|
|
5094
|
-
anchors:
|
|
5115
|
+
var DTOGetDocumentationPageAnchorsResponse = z186.object({
|
|
5116
|
+
anchors: z186.array(DTODocumentationPageAnchor)
|
|
5095
5117
|
});
|
|
5096
5118
|
|
|
5097
5119
|
// src/api/dto/documentation/block.ts
|
|
5098
5120
|
var DTOPageBlockItemV2 = PageBlockItemV2;
|
|
5099
5121
|
|
|
5100
5122
|
// src/api/dto/documentation/documentation-page-snapshot.ts
|
|
5101
|
-
import { z as
|
|
5123
|
+
import { z as z191 } from "zod";
|
|
5102
5124
|
|
|
5103
5125
|
// src/api/dto/elements/documentation/page-v2.ts
|
|
5104
|
-
import { z as
|
|
5126
|
+
import { z as z190 } from "zod";
|
|
5105
5127
|
|
|
5106
5128
|
// src/api/dto/elements/documentation/draft-state.ts
|
|
5107
|
-
import { z as
|
|
5129
|
+
import { z as z188 } from "zod";
|
|
5108
5130
|
|
|
5109
5131
|
// src/api/dto/elements/documentation/item-configuration-v2.ts
|
|
5110
|
-
import { z as
|
|
5132
|
+
import { z as z187 } from "zod";
|
|
5111
5133
|
var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
|
|
5112
|
-
var DTODocumentationItemConfigurationV2 =
|
|
5113
|
-
showSidebar:
|
|
5114
|
-
isPrivate:
|
|
5115
|
-
isHidden:
|
|
5134
|
+
var DTODocumentationItemConfigurationV2 = z187.object({
|
|
5135
|
+
showSidebar: z187.boolean(),
|
|
5136
|
+
isPrivate: z187.boolean(),
|
|
5137
|
+
isHidden: z187.boolean(),
|
|
5116
5138
|
header: DTODocumentationItemHeaderV2
|
|
5117
5139
|
});
|
|
5118
5140
|
|
|
5119
5141
|
// src/api/dto/elements/documentation/draft-state.ts
|
|
5120
|
-
var DTODocumentationDraftChangeType =
|
|
5121
|
-
var DTODocumentationDraftStateCreated =
|
|
5122
|
-
changeType:
|
|
5123
|
-
});
|
|
5124
|
-
var DTODocumentationDraftStateUpdated =
|
|
5125
|
-
changeType:
|
|
5126
|
-
changes:
|
|
5127
|
-
previousTitle:
|
|
5142
|
+
var DTODocumentationDraftChangeType = z188.enum(["Created", "Updated", "Deleted"]);
|
|
5143
|
+
var DTODocumentationDraftStateCreated = z188.object({
|
|
5144
|
+
changeType: z188.literal(DTODocumentationDraftChangeType.enum.Created)
|
|
5145
|
+
});
|
|
5146
|
+
var DTODocumentationDraftStateUpdated = z188.object({
|
|
5147
|
+
changeType: z188.literal(DTODocumentationDraftChangeType.enum.Updated),
|
|
5148
|
+
changes: z188.object({
|
|
5149
|
+
previousTitle: z188.string().optional(),
|
|
5128
5150
|
previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
|
|
5129
|
-
previousContentHash:
|
|
5151
|
+
previousContentHash: z188.string().optional()
|
|
5130
5152
|
})
|
|
5131
5153
|
});
|
|
5132
|
-
var DTODocumentationDraftStateDeleted =
|
|
5133
|
-
changeType:
|
|
5134
|
-
deletedAt:
|
|
5135
|
-
deletedByUserId:
|
|
5154
|
+
var DTODocumentationDraftStateDeleted = z188.object({
|
|
5155
|
+
changeType: z188.literal(DTODocumentationDraftChangeType.enum.Deleted),
|
|
5156
|
+
deletedAt: z188.coerce.date(),
|
|
5157
|
+
deletedByUserId: z188.string()
|
|
5136
5158
|
});
|
|
5137
|
-
var DTODocumentationDraftState =
|
|
5159
|
+
var DTODocumentationDraftState = z188.discriminatedUnion("changeType", [
|
|
5138
5160
|
DTODocumentationDraftStateCreated,
|
|
5139
5161
|
DTODocumentationDraftStateUpdated,
|
|
5140
5162
|
DTODocumentationDraftStateDeleted
|
|
5141
5163
|
]);
|
|
5142
5164
|
|
|
5143
5165
|
// src/api/dto/elements/documentation/metadata.ts
|
|
5144
|
-
import { z as
|
|
5145
|
-
var DTODocumentationPublishMetadata =
|
|
5146
|
-
lastPublishedByUserId:
|
|
5147
|
-
lastPublishedAt:
|
|
5166
|
+
import { z as z189 } from "zod";
|
|
5167
|
+
var DTODocumentationPublishMetadata = z189.object({
|
|
5168
|
+
lastPublishedByUserId: z189.string(),
|
|
5169
|
+
lastPublishedAt: z189.coerce.date()
|
|
5148
5170
|
});
|
|
5149
5171
|
|
|
5150
5172
|
// src/api/dto/elements/documentation/page-v2.ts
|
|
5151
|
-
var DTODocumentationPageV2 =
|
|
5152
|
-
id:
|
|
5153
|
-
persistentId:
|
|
5154
|
-
designSystemVersionId:
|
|
5155
|
-
title:
|
|
5173
|
+
var DTODocumentationPageV2 = z190.object({
|
|
5174
|
+
id: z190.string(),
|
|
5175
|
+
persistentId: z190.string(),
|
|
5176
|
+
designSystemVersionId: z190.string(),
|
|
5177
|
+
title: z190.string(),
|
|
5156
5178
|
configuration: DTODocumentationItemConfigurationV2,
|
|
5157
|
-
shortPersistentId:
|
|
5158
|
-
slug:
|
|
5159
|
-
userSlug:
|
|
5160
|
-
createdAt:
|
|
5161
|
-
updatedAt:
|
|
5162
|
-
path:
|
|
5179
|
+
shortPersistentId: z190.string(),
|
|
5180
|
+
slug: z190.string().optional(),
|
|
5181
|
+
userSlug: z190.string().optional(),
|
|
5182
|
+
createdAt: z190.coerce.date(),
|
|
5183
|
+
updatedAt: z190.coerce.date(),
|
|
5184
|
+
path: z190.string(),
|
|
5163
5185
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
5164
5186
|
draftState: DTODocumentationDraftState.optional(),
|
|
5165
5187
|
/** Defined if a page was published at least once and contains metadata about last publish */
|
|
5166
5188
|
publishMetadata: DTODocumentationPublishMetadata.optional(),
|
|
5167
5189
|
// Backward compatibility
|
|
5168
|
-
type:
|
|
5190
|
+
type: z190.literal("Page")
|
|
5169
5191
|
});
|
|
5170
|
-
var DTOCreateDocumentationPageInputV2 =
|
|
5192
|
+
var DTOCreateDocumentationPageInputV2 = z190.object({
|
|
5171
5193
|
// Identifier
|
|
5172
|
-
persistentId:
|
|
5194
|
+
persistentId: z190.string().uuid(),
|
|
5173
5195
|
// Page properties
|
|
5174
|
-
title:
|
|
5196
|
+
title: z190.string(),
|
|
5175
5197
|
configuration: DTODocumentationItemConfigurationV2.partial().optional(),
|
|
5176
5198
|
// Page placement properties
|
|
5177
|
-
parentPersistentId:
|
|
5178
|
-
afterPersistentId:
|
|
5199
|
+
parentPersistentId: z190.string().uuid(),
|
|
5200
|
+
afterPersistentId: z190.string().uuid().nullish()
|
|
5179
5201
|
});
|
|
5180
|
-
var DTOUpdateDocumentationPageInputV2 =
|
|
5202
|
+
var DTOUpdateDocumentationPageInputV2 = z190.object({
|
|
5181
5203
|
// Identifier of the group to update
|
|
5182
|
-
id:
|
|
5204
|
+
id: z190.string(),
|
|
5183
5205
|
// Page properties
|
|
5184
|
-
title:
|
|
5206
|
+
title: z190.string().optional(),
|
|
5185
5207
|
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
5186
5208
|
});
|
|
5187
|
-
var DTOMoveDocumentationPageInputV2 =
|
|
5209
|
+
var DTOMoveDocumentationPageInputV2 = z190.object({
|
|
5188
5210
|
// Identifier of the group to update
|
|
5189
|
-
id:
|
|
5211
|
+
id: z190.string(),
|
|
5190
5212
|
// Page placement properties
|
|
5191
|
-
parentPersistentId:
|
|
5192
|
-
afterPersistentId:
|
|
5213
|
+
parentPersistentId: z190.string().uuid(),
|
|
5214
|
+
afterPersistentId: z190.string().uuid().nullish()
|
|
5193
5215
|
});
|
|
5194
|
-
var DTODuplicateDocumentationPageInputV2 =
|
|
5216
|
+
var DTODuplicateDocumentationPageInputV2 = z190.object({
|
|
5195
5217
|
// Identifier of the page to duplicate from
|
|
5196
|
-
id:
|
|
5218
|
+
id: z190.string(),
|
|
5197
5219
|
// New page persistent id
|
|
5198
|
-
persistentId:
|
|
5220
|
+
persistentId: z190.string().uuid(),
|
|
5199
5221
|
// Page placement properties
|
|
5200
|
-
parentPersistentId:
|
|
5201
|
-
afterPersistentId:
|
|
5222
|
+
parentPersistentId: z190.string().uuid(),
|
|
5223
|
+
afterPersistentId: z190.string().uuid().nullish()
|
|
5202
5224
|
});
|
|
5203
|
-
var DTODeleteDocumentationPageInputV2 =
|
|
5225
|
+
var DTODeleteDocumentationPageInputV2 = z190.object({
|
|
5204
5226
|
// Identifier
|
|
5205
|
-
id:
|
|
5227
|
+
id: z190.string()
|
|
5206
5228
|
});
|
|
5207
|
-
var DTORestoreDocumentationPageInput =
|
|
5208
|
-
persistentId:
|
|
5209
|
-
snapshotId:
|
|
5229
|
+
var DTORestoreDocumentationPageInput = z190.object({
|
|
5230
|
+
persistentId: z190.string(),
|
|
5231
|
+
snapshotId: z190.string().optional()
|
|
5210
5232
|
});
|
|
5211
|
-
var DTORestoreDocumentationGroupInput =
|
|
5212
|
-
persistentId:
|
|
5213
|
-
snapshotId:
|
|
5233
|
+
var DTORestoreDocumentationGroupInput = z190.object({
|
|
5234
|
+
persistentId: z190.string(),
|
|
5235
|
+
snapshotId: z190.string().optional()
|
|
5214
5236
|
});
|
|
5215
5237
|
|
|
5216
5238
|
// src/api/dto/documentation/documentation-page-snapshot.ts
|
|
5217
|
-
var DTODocumentationPageSnapshot =
|
|
5218
|
-
id:
|
|
5219
|
-
designSystemVersionId:
|
|
5220
|
-
createdAt:
|
|
5221
|
-
updatedAt:
|
|
5239
|
+
var DTODocumentationPageSnapshot = z191.object({
|
|
5240
|
+
id: z191.string(),
|
|
5241
|
+
designSystemVersionId: z191.string(),
|
|
5242
|
+
createdAt: z191.string(),
|
|
5243
|
+
updatedAt: z191.string(),
|
|
5222
5244
|
documentationPage: DTODocumentationPageV2,
|
|
5223
|
-
pageContentHash:
|
|
5245
|
+
pageContentHash: z191.string(),
|
|
5224
5246
|
reason: DesignElementSnapshotReason
|
|
5225
5247
|
});
|
|
5226
5248
|
|
|
5227
5249
|
// src/api/dto/documentation/link-preview.ts
|
|
5228
|
-
import { z as
|
|
5229
|
-
var DTODocumentationLinkPreviewResponse =
|
|
5250
|
+
import { z as z192 } from "zod";
|
|
5251
|
+
var DTODocumentationLinkPreviewResponse = z192.object({
|
|
5230
5252
|
linkPreview: DocumentationLinkPreview
|
|
5231
5253
|
});
|
|
5232
|
-
var DTODocumentationLinkPreviewRequest =
|
|
5233
|
-
url:
|
|
5234
|
-
documentationItemPersistentId:
|
|
5254
|
+
var DTODocumentationLinkPreviewRequest = z192.object({
|
|
5255
|
+
url: z192.string().optional(),
|
|
5256
|
+
documentationItemPersistentId: z192.string().optional()
|
|
5235
5257
|
});
|
|
5236
5258
|
|
|
5237
5259
|
// src/api/dto/documentation/publish.ts
|
|
5238
|
-
import { z as
|
|
5260
|
+
import { z as z196 } from "zod";
|
|
5239
5261
|
|
|
5240
5262
|
// src/api/dto/export/exporter.ts
|
|
5241
|
-
import { z as
|
|
5242
|
-
var DTOExporterType =
|
|
5243
|
-
var DTOExporterSource =
|
|
5244
|
-
var DTOExporterMembershipRole =
|
|
5245
|
-
var DTOExporter =
|
|
5246
|
-
id:
|
|
5247
|
-
name:
|
|
5248
|
-
isPrivate:
|
|
5263
|
+
import { z as z193 } from "zod";
|
|
5264
|
+
var DTOExporterType = z193.enum(["documentation", "code"]);
|
|
5265
|
+
var DTOExporterSource = z193.enum(["git", "upload"]);
|
|
5266
|
+
var DTOExporterMembershipRole = z193.enum(["Owner", "OwnerArchived", "User"]);
|
|
5267
|
+
var DTOExporter = z193.object({
|
|
5268
|
+
id: z193.string(),
|
|
5269
|
+
name: z193.string(),
|
|
5270
|
+
isPrivate: z193.boolean(),
|
|
5249
5271
|
exporterType: DTOExporterType,
|
|
5250
|
-
isDefaultDocumentationExporter:
|
|
5251
|
-
iconURL:
|
|
5272
|
+
isDefaultDocumentationExporter: z193.boolean(),
|
|
5273
|
+
iconURL: z193.string().optional(),
|
|
5252
5274
|
configurationProperties: PulsarContributionConfigurationProperty.array(),
|
|
5253
5275
|
customBlocks: PulsarCustomBlock.array(),
|
|
5254
|
-
blockVariants:
|
|
5255
|
-
usesBrands:
|
|
5256
|
-
usesThemes:
|
|
5276
|
+
blockVariants: z193.record(z193.string(), PulsarContributionVariant.array()),
|
|
5277
|
+
usesBrands: z193.boolean(),
|
|
5278
|
+
usesThemes: z193.boolean(),
|
|
5257
5279
|
source: DTOExporterSource,
|
|
5258
|
-
gitUrl:
|
|
5259
|
-
gitBranch:
|
|
5260
|
-
gitDirectory:
|
|
5280
|
+
gitUrl: z193.string().optional(),
|
|
5281
|
+
gitBranch: z193.string().optional(),
|
|
5282
|
+
gitDirectory: z193.string().optional()
|
|
5261
5283
|
});
|
|
5262
|
-
var DTOExporterMembership =
|
|
5263
|
-
workspaceId:
|
|
5264
|
-
exporterId:
|
|
5284
|
+
var DTOExporterMembership = z193.object({
|
|
5285
|
+
workspaceId: z193.string(),
|
|
5286
|
+
exporterId: z193.string(),
|
|
5265
5287
|
role: DTOExporterMembershipRole
|
|
5266
5288
|
});
|
|
5267
|
-
var DTOExporterCreateOutput =
|
|
5289
|
+
var DTOExporterCreateOutput = z193.object({
|
|
5268
5290
|
exporter: DTOExporter,
|
|
5269
5291
|
membership: DTOExporterMembership
|
|
5270
5292
|
});
|
|
5271
|
-
var DTOExporterGitProviderEnum =
|
|
5272
|
-
var DTOExporterCreateInput =
|
|
5273
|
-
url:
|
|
5293
|
+
var DTOExporterGitProviderEnum = z193.enum(["github", "gitlab", "bitbucket", "azure"]);
|
|
5294
|
+
var DTOExporterCreateInput = z193.object({
|
|
5295
|
+
url: z193.string(),
|
|
5274
5296
|
provider: DTOExporterGitProviderEnum
|
|
5275
5297
|
});
|
|
5276
|
-
var DTOExporterUpdateInput =
|
|
5277
|
-
url:
|
|
5298
|
+
var DTOExporterUpdateInput = z193.object({
|
|
5299
|
+
url: z193.string().optional()
|
|
5278
5300
|
});
|
|
5279
5301
|
|
|
5280
5302
|
// src/api/dto/export/filter.ts
|
|
5281
5303
|
var DTOExportJobsListFilter = ExportJobFindByFilter;
|
|
5282
5304
|
|
|
5283
5305
|
// src/api/dto/export/job.ts
|
|
5284
|
-
import { z as
|
|
5285
|
-
var DTOExportJobCreatedBy =
|
|
5286
|
-
userId:
|
|
5287
|
-
userName:
|
|
5306
|
+
import { z as z194 } from "zod";
|
|
5307
|
+
var DTOExportJobCreatedBy = z194.object({
|
|
5308
|
+
userId: z194.string(),
|
|
5309
|
+
userName: z194.string()
|
|
5288
5310
|
});
|
|
5289
|
-
var DTOExportJobDesignSystemPreview =
|
|
5290
|
-
id:
|
|
5311
|
+
var DTOExportJobDesignSystemPreview = z194.object({
|
|
5312
|
+
id: z194.string(),
|
|
5291
5313
|
meta: ObjectMeta
|
|
5292
5314
|
});
|
|
5293
|
-
var DTOExportJobDesignSystemVersionPreview =
|
|
5294
|
-
id:
|
|
5315
|
+
var DTOExportJobDesignSystemVersionPreview = z194.object({
|
|
5316
|
+
id: z194.string(),
|
|
5295
5317
|
meta: ObjectMeta,
|
|
5296
|
-
version:
|
|
5297
|
-
isReadonly:
|
|
5318
|
+
version: z194.string(),
|
|
5319
|
+
isReadonly: z194.boolean()
|
|
5298
5320
|
});
|
|
5299
|
-
var DTOExportJobDestinations =
|
|
5321
|
+
var DTOExportJobDestinations = z194.object({
|
|
5300
5322
|
s3: ExporterDestinationS3.optional(),
|
|
5301
5323
|
azure: ExporterDestinationAzure.optional(),
|
|
5302
5324
|
bitbucket: ExporterDestinationBitbucket.optional(),
|
|
5303
5325
|
github: ExporterDestinationGithub.optional(),
|
|
5304
5326
|
gitlab: ExporterDestinationGitlab.optional(),
|
|
5305
5327
|
documentation: ExporterDestinationDocs.optional(),
|
|
5306
|
-
webhookUrl:
|
|
5328
|
+
webhookUrl: z194.string().optional()
|
|
5307
5329
|
});
|
|
5308
5330
|
var DTOExportJobResult = ExportJobResult.omit({
|
|
5309
5331
|
sndocs: true
|
|
5310
5332
|
}).extend({
|
|
5311
5333
|
documentation: ExportJobDocsDestinationResult.optional()
|
|
5312
5334
|
});
|
|
5313
|
-
var DTOExportJob =
|
|
5314
|
-
id:
|
|
5315
|
-
createdAt:
|
|
5316
|
-
finishedAt:
|
|
5317
|
-
index:
|
|
5335
|
+
var DTOExportJob = z194.object({
|
|
5336
|
+
id: z194.string(),
|
|
5337
|
+
createdAt: z194.coerce.date(),
|
|
5338
|
+
finishedAt: z194.coerce.date().optional(),
|
|
5339
|
+
index: z194.number().optional(),
|
|
5318
5340
|
status: ExportJobStatus,
|
|
5319
|
-
estimatedExecutionTime:
|
|
5341
|
+
estimatedExecutionTime: z194.number().optional(),
|
|
5320
5342
|
createdBy: DTOExportJobCreatedBy.optional(),
|
|
5321
5343
|
designSystem: DTOExportJobDesignSystemPreview,
|
|
5322
5344
|
designSystemVersion: DTOExportJobDesignSystemVersionPreview,
|
|
5323
5345
|
destinations: DTOExportJobDestinations,
|
|
5324
|
-
exporterId:
|
|
5325
|
-
scheduleId:
|
|
5346
|
+
exporterId: z194.string(),
|
|
5347
|
+
scheduleId: z194.string().optional(),
|
|
5326
5348
|
result: DTOExportJobResult.optional(),
|
|
5327
|
-
brandPersistentId:
|
|
5328
|
-
themePersistentId:
|
|
5349
|
+
brandPersistentId: z194.string().optional(),
|
|
5350
|
+
themePersistentId: z194.string().optional()
|
|
5329
5351
|
});
|
|
5330
|
-
var DTOExportJobResponse =
|
|
5352
|
+
var DTOExportJobResponse = z194.object({
|
|
5331
5353
|
job: DTOExportJob
|
|
5332
5354
|
});
|
|
5333
5355
|
|
|
5334
5356
|
// src/api/dto/export/pipeline.ts
|
|
5335
|
-
import { z as
|
|
5336
|
-
var DTOPipeline =
|
|
5337
|
-
id:
|
|
5338
|
-
name:
|
|
5357
|
+
import { z as z195 } from "zod";
|
|
5358
|
+
var DTOPipeline = z195.object({
|
|
5359
|
+
id: z195.string(),
|
|
5360
|
+
name: z195.string(),
|
|
5339
5361
|
eventType: PipelineEventType,
|
|
5340
|
-
isEnabled:
|
|
5341
|
-
workspaceId:
|
|
5342
|
-
designSystemId:
|
|
5343
|
-
exporterId:
|
|
5344
|
-
brandPersistentId:
|
|
5345
|
-
themePersistentId:
|
|
5362
|
+
isEnabled: z195.boolean(),
|
|
5363
|
+
workspaceId: z195.string(),
|
|
5364
|
+
designSystemId: z195.string(),
|
|
5365
|
+
exporterId: z195.string(),
|
|
5366
|
+
brandPersistentId: z195.string().optional(),
|
|
5367
|
+
themePersistentId: z195.string().optional(),
|
|
5346
5368
|
...ExportDestinationsMap.shape,
|
|
5347
5369
|
latestJobs: DTOExportJob.array()
|
|
5348
5370
|
});
|
|
5349
5371
|
|
|
5350
5372
|
// src/api/dto/documentation/publish.ts
|
|
5351
5373
|
var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
|
|
5352
|
-
var DTOPublishDocumentationRequest =
|
|
5374
|
+
var DTOPublishDocumentationRequest = z196.object({
|
|
5353
5375
|
environment: PublishedDocEnvironment,
|
|
5354
5376
|
/**
|
|
5355
5377
|
* If defined, this allows narrowing down what is published to a set of specific pages and groups
|
|
@@ -5357,15 +5379,15 @@ var DTOPublishDocumentationRequest = z192.object({
|
|
|
5357
5379
|
*/
|
|
5358
5380
|
changes: DTOPublishDocumentationChanges.optional()
|
|
5359
5381
|
});
|
|
5360
|
-
var DTOPublishDocumentationResponse =
|
|
5382
|
+
var DTOPublishDocumentationResponse = z196.object({
|
|
5361
5383
|
job: DTOExportJob
|
|
5362
5384
|
});
|
|
5363
5385
|
|
|
5364
5386
|
// src/api/dto/elements/documentation/group-action.ts
|
|
5365
|
-
import { z as
|
|
5387
|
+
import { z as z198 } from "zod";
|
|
5366
5388
|
|
|
5367
5389
|
// src/api/dto/elements/documentation/group-v2.ts
|
|
5368
|
-
import { z as
|
|
5390
|
+
import { z as z197 } from "zod";
|
|
5369
5391
|
var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
5370
5392
|
sortOrder: true,
|
|
5371
5393
|
parentPersistentId: true,
|
|
@@ -5375,139 +5397,139 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
|
|
|
5375
5397
|
data: true,
|
|
5376
5398
|
shortPersistentId: true
|
|
5377
5399
|
}).extend({
|
|
5378
|
-
title:
|
|
5379
|
-
isRoot:
|
|
5380
|
-
childrenIds:
|
|
5400
|
+
title: z197.string(),
|
|
5401
|
+
isRoot: z197.boolean(),
|
|
5402
|
+
childrenIds: z197.array(z197.string()),
|
|
5381
5403
|
groupBehavior: DocumentationGroupBehavior,
|
|
5382
|
-
shortPersistentId:
|
|
5404
|
+
shortPersistentId: z197.string(),
|
|
5383
5405
|
configuration: DTODocumentationItemConfigurationV2,
|
|
5384
|
-
type:
|
|
5406
|
+
type: z197.literal("Group"),
|
|
5385
5407
|
/** Defined when a group has changed since last publish and can be included into a partial publish */
|
|
5386
5408
|
draftState: DTODocumentationDraftState.optional(),
|
|
5387
5409
|
/** Defined if a group was published at least once and contains metadata about last publish */
|
|
5388
5410
|
publishMetadata: DTODocumentationPublishMetadata.optional()
|
|
5389
5411
|
});
|
|
5390
|
-
var DTOCreateDocumentationGroupInput =
|
|
5412
|
+
var DTOCreateDocumentationGroupInput = z197.object({
|
|
5391
5413
|
// Identifier
|
|
5392
|
-
persistentId:
|
|
5414
|
+
persistentId: z197.string().uuid(),
|
|
5393
5415
|
// Group properties
|
|
5394
|
-
title:
|
|
5416
|
+
title: z197.string(),
|
|
5395
5417
|
configuration: DTODocumentationItemConfigurationV2.partial().optional(),
|
|
5396
5418
|
// Group placement properties
|
|
5397
|
-
afterPersistentId:
|
|
5398
|
-
parentPersistentId:
|
|
5419
|
+
afterPersistentId: z197.string().uuid().nullish(),
|
|
5420
|
+
parentPersistentId: z197.string().uuid()
|
|
5399
5421
|
});
|
|
5400
|
-
var DTOUpdateDocumentationGroupInput =
|
|
5422
|
+
var DTOUpdateDocumentationGroupInput = z197.object({
|
|
5401
5423
|
// Identifier of the group to update
|
|
5402
|
-
id:
|
|
5424
|
+
id: z197.string(),
|
|
5403
5425
|
// Group properties
|
|
5404
|
-
title:
|
|
5426
|
+
title: z197.string().optional(),
|
|
5405
5427
|
configuration: DTODocumentationItemConfigurationV2.partial().optional()
|
|
5406
5428
|
});
|
|
5407
|
-
var DTOMoveDocumentationGroupInput =
|
|
5429
|
+
var DTOMoveDocumentationGroupInput = z197.object({
|
|
5408
5430
|
// Identifier of the group to update
|
|
5409
|
-
id:
|
|
5431
|
+
id: z197.string(),
|
|
5410
5432
|
// Group placement properties
|
|
5411
|
-
parentPersistentId:
|
|
5412
|
-
afterPersistentId:
|
|
5433
|
+
parentPersistentId: z197.string().uuid(),
|
|
5434
|
+
afterPersistentId: z197.string().uuid().nullish()
|
|
5413
5435
|
});
|
|
5414
|
-
var DTODuplicateDocumentationGroupInput =
|
|
5436
|
+
var DTODuplicateDocumentationGroupInput = z197.object({
|
|
5415
5437
|
// Identifier of the group to duplicate from
|
|
5416
|
-
id:
|
|
5438
|
+
id: z197.string(),
|
|
5417
5439
|
// New group persistent id
|
|
5418
|
-
persistentId:
|
|
5440
|
+
persistentId: z197.string().uuid(),
|
|
5419
5441
|
// Group placement properties
|
|
5420
|
-
afterPersistentId:
|
|
5421
|
-
parentPersistentId:
|
|
5442
|
+
afterPersistentId: z197.string().uuid().nullish(),
|
|
5443
|
+
parentPersistentId: z197.string().uuid()
|
|
5422
5444
|
});
|
|
5423
|
-
var DTOCreateDocumentationTabInput =
|
|
5445
|
+
var DTOCreateDocumentationTabInput = z197.object({
|
|
5424
5446
|
// New group persistent id
|
|
5425
|
-
persistentId:
|
|
5447
|
+
persistentId: z197.string().uuid(),
|
|
5426
5448
|
// If this is page, we will attempt to convert it to tab
|
|
5427
5449
|
// If this is tab group, we will add a new tab to it
|
|
5428
|
-
fromItemPersistentId:
|
|
5429
|
-
tabName:
|
|
5450
|
+
fromItemPersistentId: z197.string(),
|
|
5451
|
+
tabName: z197.string()
|
|
5430
5452
|
});
|
|
5431
|
-
var DTODeleteDocumentationTabGroupInput =
|
|
5453
|
+
var DTODeleteDocumentationTabGroupInput = z197.object({
|
|
5432
5454
|
// Deleted group id
|
|
5433
|
-
id:
|
|
5455
|
+
id: z197.string()
|
|
5434
5456
|
});
|
|
5435
|
-
var DTODeleteDocumentationGroupInput =
|
|
5457
|
+
var DTODeleteDocumentationGroupInput = z197.object({
|
|
5436
5458
|
// Identifier
|
|
5437
|
-
id:
|
|
5459
|
+
id: z197.string(),
|
|
5438
5460
|
// Deletion options
|
|
5439
|
-
deleteSubtree:
|
|
5461
|
+
deleteSubtree: z197.boolean().default(false)
|
|
5440
5462
|
});
|
|
5441
5463
|
|
|
5442
5464
|
// src/api/dto/elements/documentation/group-action.ts
|
|
5443
|
-
var SuccessPayload =
|
|
5444
|
-
success:
|
|
5465
|
+
var SuccessPayload = z198.object({
|
|
5466
|
+
success: z198.literal(true)
|
|
5445
5467
|
});
|
|
5446
|
-
var DTODocumentationGroupCreateActionOutputV2 =
|
|
5447
|
-
type:
|
|
5468
|
+
var DTODocumentationGroupCreateActionOutputV2 = z198.object({
|
|
5469
|
+
type: z198.literal("DocumentationGroupCreate"),
|
|
5448
5470
|
output: SuccessPayload
|
|
5449
5471
|
});
|
|
5450
|
-
var DTODocumentationTabCreateActionOutputV2 =
|
|
5451
|
-
type:
|
|
5472
|
+
var DTODocumentationTabCreateActionOutputV2 = z198.object({
|
|
5473
|
+
type: z198.literal("DocumentationTabCreate"),
|
|
5452
5474
|
output: SuccessPayload
|
|
5453
5475
|
});
|
|
5454
|
-
var DTODocumentationGroupUpdateActionOutputV2 =
|
|
5455
|
-
type:
|
|
5476
|
+
var DTODocumentationGroupUpdateActionOutputV2 = z198.object({
|
|
5477
|
+
type: z198.literal("DocumentationGroupUpdate"),
|
|
5456
5478
|
output: SuccessPayload
|
|
5457
5479
|
});
|
|
5458
|
-
var DTODocumentationGroupMoveActionOutputV2 =
|
|
5459
|
-
type:
|
|
5480
|
+
var DTODocumentationGroupMoveActionOutputV2 = z198.object({
|
|
5481
|
+
type: z198.literal("DocumentationGroupMove"),
|
|
5460
5482
|
output: SuccessPayload
|
|
5461
5483
|
});
|
|
5462
|
-
var DTODocumentationGroupDuplicateActionOutputV2 =
|
|
5463
|
-
type:
|
|
5484
|
+
var DTODocumentationGroupDuplicateActionOutputV2 = z198.object({
|
|
5485
|
+
type: z198.literal("DocumentationGroupDuplicate"),
|
|
5464
5486
|
output: SuccessPayload
|
|
5465
5487
|
});
|
|
5466
|
-
var DTODocumentationGroupDeleteActionOutputV2 =
|
|
5467
|
-
type:
|
|
5488
|
+
var DTODocumentationGroupDeleteActionOutputV2 = z198.object({
|
|
5489
|
+
type: z198.literal("DocumentationGroupDelete"),
|
|
5468
5490
|
output: SuccessPayload
|
|
5469
5491
|
});
|
|
5470
|
-
var DTODocumentationTabGroupDeleteActionOutputV2 =
|
|
5471
|
-
type:
|
|
5492
|
+
var DTODocumentationTabGroupDeleteActionOutputV2 = z198.object({
|
|
5493
|
+
type: z198.literal("DocumentationTabGroupDelete"),
|
|
5472
5494
|
output: SuccessPayload
|
|
5473
5495
|
});
|
|
5474
|
-
var DTODocumentationGroupCreateActionInputV2 =
|
|
5475
|
-
type:
|
|
5496
|
+
var DTODocumentationGroupCreateActionInputV2 = z198.object({
|
|
5497
|
+
type: z198.literal("DocumentationGroupCreate"),
|
|
5476
5498
|
input: DTOCreateDocumentationGroupInput
|
|
5477
5499
|
});
|
|
5478
|
-
var DTODocumentationTabCreateActionInputV2 =
|
|
5479
|
-
type:
|
|
5500
|
+
var DTODocumentationTabCreateActionInputV2 = z198.object({
|
|
5501
|
+
type: z198.literal("DocumentationTabCreate"),
|
|
5480
5502
|
input: DTOCreateDocumentationTabInput
|
|
5481
5503
|
});
|
|
5482
|
-
var DTODocumentationGroupUpdateActionInputV2 =
|
|
5483
|
-
type:
|
|
5504
|
+
var DTODocumentationGroupUpdateActionInputV2 = z198.object({
|
|
5505
|
+
type: z198.literal("DocumentationGroupUpdate"),
|
|
5484
5506
|
input: DTOUpdateDocumentationGroupInput
|
|
5485
5507
|
});
|
|
5486
|
-
var DTODocumentationGroupMoveActionInputV2 =
|
|
5487
|
-
type:
|
|
5508
|
+
var DTODocumentationGroupMoveActionInputV2 = z198.object({
|
|
5509
|
+
type: z198.literal("DocumentationGroupMove"),
|
|
5488
5510
|
input: DTOMoveDocumentationGroupInput
|
|
5489
5511
|
});
|
|
5490
|
-
var DTODocumentationGroupDuplicateActionInputV2 =
|
|
5491
|
-
type:
|
|
5512
|
+
var DTODocumentationGroupDuplicateActionInputV2 = z198.object({
|
|
5513
|
+
type: z198.literal("DocumentationGroupDuplicate"),
|
|
5492
5514
|
input: DTODuplicateDocumentationGroupInput
|
|
5493
5515
|
});
|
|
5494
|
-
var DTODocumentationGroupDeleteActionInputV2 =
|
|
5495
|
-
type:
|
|
5516
|
+
var DTODocumentationGroupDeleteActionInputV2 = z198.object({
|
|
5517
|
+
type: z198.literal("DocumentationGroupDelete"),
|
|
5496
5518
|
input: DTODeleteDocumentationGroupInput
|
|
5497
5519
|
});
|
|
5498
|
-
var DTODocumentationTabGroupDeleteActionInputV2 =
|
|
5499
|
-
type:
|
|
5520
|
+
var DTODocumentationTabGroupDeleteActionInputV2 = z198.object({
|
|
5521
|
+
type: z198.literal("DocumentationTabGroupDelete"),
|
|
5500
5522
|
input: DTODeleteDocumentationTabGroupInput
|
|
5501
5523
|
});
|
|
5502
5524
|
|
|
5503
5525
|
// src/api/dto/elements/documentation/group-v1.ts
|
|
5504
|
-
import { z as
|
|
5526
|
+
import { z as z200 } from "zod";
|
|
5505
5527
|
|
|
5506
5528
|
// src/api/dto/elements/documentation/item-configuration-v1.ts
|
|
5507
|
-
import { z as
|
|
5508
|
-
var DocumentationColorV1 =
|
|
5509
|
-
aliasTo:
|
|
5510
|
-
value:
|
|
5529
|
+
import { z as z199 } from "zod";
|
|
5530
|
+
var DocumentationColorV1 = z199.object({
|
|
5531
|
+
aliasTo: z199.string().optional(),
|
|
5532
|
+
value: z199.string().optional()
|
|
5511
5533
|
});
|
|
5512
5534
|
var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
|
|
5513
5535
|
foregroundColor: true,
|
|
@@ -5516,10 +5538,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
|
|
|
5516
5538
|
foregroundColor: DocumentationColorV1.optional(),
|
|
5517
5539
|
backgroundColor: DocumentationColorV1.optional()
|
|
5518
5540
|
});
|
|
5519
|
-
var DTODocumentationItemConfigurationV1 =
|
|
5520
|
-
showSidebar:
|
|
5521
|
-
isPrivate:
|
|
5522
|
-
isHidden:
|
|
5541
|
+
var DTODocumentationItemConfigurationV1 = z199.object({
|
|
5542
|
+
showSidebar: z199.boolean(),
|
|
5543
|
+
isPrivate: z199.boolean(),
|
|
5544
|
+
isHidden: z199.boolean(),
|
|
5523
5545
|
header: DTODocumentationItemHeaderV1
|
|
5524
5546
|
});
|
|
5525
5547
|
|
|
@@ -5533,27 +5555,27 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
|
|
|
5533
5555
|
data: true,
|
|
5534
5556
|
shortPersistentId: true
|
|
5535
5557
|
}).extend({
|
|
5536
|
-
title:
|
|
5537
|
-
isRoot:
|
|
5538
|
-
childrenIds:
|
|
5558
|
+
title: z200.string(),
|
|
5559
|
+
isRoot: z200.boolean(),
|
|
5560
|
+
childrenIds: z200.array(z200.string()),
|
|
5539
5561
|
groupBehavior: DocumentationGroupBehavior,
|
|
5540
|
-
shortPersistentId:
|
|
5541
|
-
type:
|
|
5562
|
+
shortPersistentId: z200.string(),
|
|
5563
|
+
type: z200.literal("Group")
|
|
5542
5564
|
});
|
|
5543
5565
|
var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
|
|
5544
5566
|
configuration: DTODocumentationItemConfigurationV1
|
|
5545
5567
|
});
|
|
5546
5568
|
|
|
5547
5569
|
// src/api/dto/elements/documentation/hierarchy.ts
|
|
5548
|
-
import { z as
|
|
5549
|
-
var DTODocumentationHierarchyV2 =
|
|
5550
|
-
pages:
|
|
5570
|
+
import { z as z201 } from "zod";
|
|
5571
|
+
var DTODocumentationHierarchyV2 = z201.object({
|
|
5572
|
+
pages: z201.array(
|
|
5551
5573
|
DTODocumentationPageV2.extend({
|
|
5552
5574
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
5553
5575
|
draftState: DTODocumentationDraftState.optional()
|
|
5554
5576
|
})
|
|
5555
5577
|
),
|
|
5556
|
-
groups:
|
|
5578
|
+
groups: z201.array(
|
|
5557
5579
|
DTODocumentationGroupV2.extend({
|
|
5558
5580
|
/** Defined when a page has changed since last publish and can be included into a partial publish */
|
|
5559
5581
|
draftState: DTODocumentationDraftState.optional()
|
|
@@ -5562,76 +5584,76 @@ var DTODocumentationHierarchyV2 = z197.object({
|
|
|
5562
5584
|
});
|
|
5563
5585
|
|
|
5564
5586
|
// src/api/dto/elements/documentation/page-actions-v2.ts
|
|
5565
|
-
import { z as
|
|
5566
|
-
var SuccessPayload2 =
|
|
5567
|
-
success:
|
|
5587
|
+
import { z as z202 } from "zod";
|
|
5588
|
+
var SuccessPayload2 = z202.object({
|
|
5589
|
+
success: z202.literal(true)
|
|
5568
5590
|
});
|
|
5569
|
-
var DTODocumentationPageCreateActionOutputV2 =
|
|
5570
|
-
type:
|
|
5591
|
+
var DTODocumentationPageCreateActionOutputV2 = z202.object({
|
|
5592
|
+
type: z202.literal("DocumentationPageCreate"),
|
|
5571
5593
|
output: SuccessPayload2
|
|
5572
5594
|
});
|
|
5573
|
-
var DTODocumentationPageUpdateActionOutputV2 =
|
|
5574
|
-
type:
|
|
5595
|
+
var DTODocumentationPageUpdateActionOutputV2 = z202.object({
|
|
5596
|
+
type: z202.literal("DocumentationPageUpdate"),
|
|
5575
5597
|
output: SuccessPayload2
|
|
5576
5598
|
});
|
|
5577
|
-
var DTODocumentationPageMoveActionOutputV2 =
|
|
5578
|
-
type:
|
|
5599
|
+
var DTODocumentationPageMoveActionOutputV2 = z202.object({
|
|
5600
|
+
type: z202.literal("DocumentationPageMove"),
|
|
5579
5601
|
output: SuccessPayload2
|
|
5580
5602
|
});
|
|
5581
|
-
var DTODocumentationPageDuplicateActionOutputV2 =
|
|
5582
|
-
type:
|
|
5603
|
+
var DTODocumentationPageDuplicateActionOutputV2 = z202.object({
|
|
5604
|
+
type: z202.literal("DocumentationPageDuplicate"),
|
|
5583
5605
|
output: SuccessPayload2
|
|
5584
5606
|
});
|
|
5585
|
-
var DTODocumentationPageDeleteActionOutputV2 =
|
|
5586
|
-
type:
|
|
5607
|
+
var DTODocumentationPageDeleteActionOutputV2 = z202.object({
|
|
5608
|
+
type: z202.literal("DocumentationPageDelete"),
|
|
5587
5609
|
output: SuccessPayload2
|
|
5588
5610
|
});
|
|
5589
|
-
var DTODocumentationPageRestoreActionOutput =
|
|
5590
|
-
type:
|
|
5611
|
+
var DTODocumentationPageRestoreActionOutput = z202.object({
|
|
5612
|
+
type: z202.literal("DocumentationPageRestore"),
|
|
5591
5613
|
output: SuccessPayload2
|
|
5592
5614
|
});
|
|
5593
|
-
var DTODocumentationGroupRestoreActionOutput =
|
|
5594
|
-
type:
|
|
5615
|
+
var DTODocumentationGroupRestoreActionOutput = z202.object({
|
|
5616
|
+
type: z202.literal("DocumentationGroupRestore"),
|
|
5595
5617
|
output: SuccessPayload2
|
|
5596
5618
|
});
|
|
5597
|
-
var DTODocumentationPageCreateActionInputV2 =
|
|
5598
|
-
type:
|
|
5619
|
+
var DTODocumentationPageCreateActionInputV2 = z202.object({
|
|
5620
|
+
type: z202.literal("DocumentationPageCreate"),
|
|
5599
5621
|
input: DTOCreateDocumentationPageInputV2
|
|
5600
5622
|
});
|
|
5601
|
-
var DTODocumentationPageUpdateActionInputV2 =
|
|
5602
|
-
type:
|
|
5623
|
+
var DTODocumentationPageUpdateActionInputV2 = z202.object({
|
|
5624
|
+
type: z202.literal("DocumentationPageUpdate"),
|
|
5603
5625
|
input: DTOUpdateDocumentationPageInputV2
|
|
5604
5626
|
});
|
|
5605
|
-
var DTODocumentationPageMoveActionInputV2 =
|
|
5606
|
-
type:
|
|
5627
|
+
var DTODocumentationPageMoveActionInputV2 = z202.object({
|
|
5628
|
+
type: z202.literal("DocumentationPageMove"),
|
|
5607
5629
|
input: DTOMoveDocumentationPageInputV2
|
|
5608
5630
|
});
|
|
5609
|
-
var DTODocumentationPageDuplicateActionInputV2 =
|
|
5610
|
-
type:
|
|
5631
|
+
var DTODocumentationPageDuplicateActionInputV2 = z202.object({
|
|
5632
|
+
type: z202.literal("DocumentationPageDuplicate"),
|
|
5611
5633
|
input: DTODuplicateDocumentationPageInputV2
|
|
5612
5634
|
});
|
|
5613
|
-
var DTODocumentationPageDeleteActionInputV2 =
|
|
5614
|
-
type:
|
|
5635
|
+
var DTODocumentationPageDeleteActionInputV2 = z202.object({
|
|
5636
|
+
type: z202.literal("DocumentationPageDelete"),
|
|
5615
5637
|
input: DTODeleteDocumentationPageInputV2
|
|
5616
5638
|
});
|
|
5617
|
-
var DTODocumentationPageRestoreActionInput =
|
|
5618
|
-
type:
|
|
5639
|
+
var DTODocumentationPageRestoreActionInput = z202.object({
|
|
5640
|
+
type: z202.literal("DocumentationPageRestore"),
|
|
5619
5641
|
input: DTORestoreDocumentationPageInput
|
|
5620
5642
|
});
|
|
5621
|
-
var DTODocumentationGroupRestoreActionInput =
|
|
5622
|
-
type:
|
|
5643
|
+
var DTODocumentationGroupRestoreActionInput = z202.object({
|
|
5644
|
+
type: z202.literal("DocumentationGroupRestore"),
|
|
5623
5645
|
input: DTORestoreDocumentationGroupInput
|
|
5624
5646
|
});
|
|
5625
5647
|
|
|
5626
5648
|
// src/api/dto/elements/documentation/page-content.ts
|
|
5627
|
-
import { z as
|
|
5649
|
+
import { z as z203 } from "zod";
|
|
5628
5650
|
var DTODocumentationPageContent = DocumentationPageContent;
|
|
5629
|
-
var DTODocumentationPageContentGetResponse =
|
|
5651
|
+
var DTODocumentationPageContentGetResponse = z203.object({
|
|
5630
5652
|
pageContent: DTODocumentationPageContent
|
|
5631
5653
|
});
|
|
5632
5654
|
|
|
5633
5655
|
// src/api/dto/elements/documentation/page-v1.ts
|
|
5634
|
-
import { z as
|
|
5656
|
+
import { z as z204 } from "zod";
|
|
5635
5657
|
var DocumentationPageV1DTO = DocumentationPageV1.omit({
|
|
5636
5658
|
data: true,
|
|
5637
5659
|
meta: true,
|
|
@@ -5639,30 +5661,30 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
|
|
|
5639
5661
|
sortOrder: true
|
|
5640
5662
|
}).extend({
|
|
5641
5663
|
configuration: DTODocumentationItemConfigurationV1,
|
|
5642
|
-
blocks:
|
|
5643
|
-
title:
|
|
5644
|
-
path:
|
|
5664
|
+
blocks: z204.array(PageBlockV1),
|
|
5665
|
+
title: z204.string(),
|
|
5666
|
+
path: z204.string()
|
|
5645
5667
|
});
|
|
5646
5668
|
|
|
5647
5669
|
// src/api/dto/elements/figma-nodes/figma-node.ts
|
|
5648
|
-
import { z as
|
|
5649
|
-
var DTOFigmaNodeOrigin =
|
|
5650
|
-
sourceId:
|
|
5651
|
-
fileId:
|
|
5652
|
-
parentName:
|
|
5670
|
+
import { z as z205 } from "zod";
|
|
5671
|
+
var DTOFigmaNodeOrigin = z205.object({
|
|
5672
|
+
sourceId: z205.string(),
|
|
5673
|
+
fileId: z205.string().optional(),
|
|
5674
|
+
parentName: z205.string().optional()
|
|
5653
5675
|
});
|
|
5654
|
-
var DTOFigmaNodeData =
|
|
5676
|
+
var DTOFigmaNodeData = z205.object({
|
|
5655
5677
|
// Id of the node in the Figma file
|
|
5656
|
-
figmaNodeId:
|
|
5678
|
+
figmaNodeId: z205.string(),
|
|
5657
5679
|
// Validity
|
|
5658
|
-
isValid:
|
|
5680
|
+
isValid: z205.boolean(),
|
|
5659
5681
|
// Asset data
|
|
5660
|
-
assetId:
|
|
5661
|
-
assetUrl:
|
|
5682
|
+
assetId: z205.string(),
|
|
5683
|
+
assetUrl: z205.string(),
|
|
5662
5684
|
// Asset metadata
|
|
5663
|
-
assetScale:
|
|
5664
|
-
assetWidth:
|
|
5665
|
-
assetHeight:
|
|
5685
|
+
assetScale: z205.number(),
|
|
5686
|
+
assetWidth: z205.number().optional(),
|
|
5687
|
+
assetHeight: z205.number().optional()
|
|
5666
5688
|
});
|
|
5667
5689
|
var DTOFigmaNode = FigmaFileStructure.omit({
|
|
5668
5690
|
data: true,
|
|
@@ -5671,105 +5693,105 @@ var DTOFigmaNode = FigmaFileStructure.omit({
|
|
|
5671
5693
|
data: DTOFigmaNodeData,
|
|
5672
5694
|
origin: DTOFigmaNodeOrigin
|
|
5673
5695
|
});
|
|
5674
|
-
var DTOFigmaNodeRenderInput =
|
|
5696
|
+
var DTOFigmaNodeRenderInput = z205.object({
|
|
5675
5697
|
// Id of a design system's data source representing a linked Figma file
|
|
5676
|
-
sourceId:
|
|
5698
|
+
sourceId: z205.string(),
|
|
5677
5699
|
// Id of a node within the Figma file
|
|
5678
|
-
figmaFileNodeId:
|
|
5700
|
+
figmaFileNodeId: z205.string()
|
|
5679
5701
|
});
|
|
5680
5702
|
|
|
5681
5703
|
// src/api/dto/elements/figma-nodes/node-actions-v2.ts
|
|
5682
|
-
import { z as
|
|
5683
|
-
var DTOFigmaNodeRenderActionOutput =
|
|
5684
|
-
type:
|
|
5685
|
-
figmaNodes:
|
|
5704
|
+
import { z as z206 } from "zod";
|
|
5705
|
+
var DTOFigmaNodeRenderActionOutput = z206.object({
|
|
5706
|
+
type: z206.literal("FigmaNodeRender"),
|
|
5707
|
+
figmaNodes: z206.array(DTOFigmaNode)
|
|
5686
5708
|
});
|
|
5687
|
-
var DTOFigmaNodeRenderActionInput =
|
|
5688
|
-
type:
|
|
5709
|
+
var DTOFigmaNodeRenderActionInput = z206.object({
|
|
5710
|
+
type: z206.literal("FigmaNodeRender"),
|
|
5689
5711
|
input: DTOFigmaNodeRenderInput.array()
|
|
5690
5712
|
});
|
|
5691
5713
|
|
|
5692
5714
|
// src/api/dto/elements/properties/property-definitions-actions-v2.ts
|
|
5693
|
-
import { z as
|
|
5715
|
+
import { z as z208 } from "zod";
|
|
5694
5716
|
|
|
5695
5717
|
// src/api/dto/elements/properties/property-definitions.ts
|
|
5696
|
-
import { z as
|
|
5718
|
+
import { z as z207 } from "zod";
|
|
5697
5719
|
var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
|
|
5698
|
-
var DTOElementPropertyDefinition =
|
|
5699
|
-
id:
|
|
5700
|
-
designSystemVersionId:
|
|
5720
|
+
var DTOElementPropertyDefinition = z207.object({
|
|
5721
|
+
id: z207.string(),
|
|
5722
|
+
designSystemVersionId: z207.string(),
|
|
5701
5723
|
meta: ObjectMeta,
|
|
5702
|
-
persistentId:
|
|
5724
|
+
persistentId: z207.string(),
|
|
5703
5725
|
type: ElementPropertyTypeSchema,
|
|
5704
5726
|
targetElementType: ElementPropertyTargetType,
|
|
5705
|
-
codeName:
|
|
5706
|
-
options:
|
|
5727
|
+
codeName: z207.string().regex(CODE_NAME_REGEX2),
|
|
5728
|
+
options: z207.array(ElementPropertyDefinitionOption).optional(),
|
|
5707
5729
|
linkElementType: ElementPropertyLinkType.optional()
|
|
5708
5730
|
});
|
|
5709
|
-
var DTOElementPropertyDefinitionsGetResponse =
|
|
5710
|
-
definitions:
|
|
5731
|
+
var DTOElementPropertyDefinitionsGetResponse = z207.object({
|
|
5732
|
+
definitions: z207.array(DTOElementPropertyDefinition)
|
|
5711
5733
|
});
|
|
5712
5734
|
var DTOCreateElementPropertyDefinitionInputV2 = DTOElementPropertyDefinition.omit({
|
|
5713
5735
|
id: true,
|
|
5714
5736
|
designSystemVersionId: true
|
|
5715
5737
|
});
|
|
5716
|
-
var DTOUpdateElementPropertyDefinitionInputV2 =
|
|
5717
|
-
id:
|
|
5718
|
-
name:
|
|
5719
|
-
description:
|
|
5720
|
-
codeName:
|
|
5721
|
-
options:
|
|
5738
|
+
var DTOUpdateElementPropertyDefinitionInputV2 = z207.object({
|
|
5739
|
+
id: z207.string(),
|
|
5740
|
+
name: z207.string().optional(),
|
|
5741
|
+
description: z207.string().optional(),
|
|
5742
|
+
codeName: z207.string().regex(CODE_NAME_REGEX2).optional(),
|
|
5743
|
+
options: z207.array(ElementPropertyDefinitionOption).optional()
|
|
5722
5744
|
});
|
|
5723
|
-
var DTODeleteElementPropertyDefinitionInputV2 =
|
|
5724
|
-
id:
|
|
5745
|
+
var DTODeleteElementPropertyDefinitionInputV2 = z207.object({
|
|
5746
|
+
id: z207.string()
|
|
5725
5747
|
});
|
|
5726
5748
|
|
|
5727
5749
|
// src/api/dto/elements/properties/property-definitions-actions-v2.ts
|
|
5728
|
-
var SuccessPayload3 =
|
|
5729
|
-
success:
|
|
5750
|
+
var SuccessPayload3 = z208.object({
|
|
5751
|
+
success: z208.literal(true)
|
|
5730
5752
|
});
|
|
5731
|
-
var DTOPropertyDefinitionCreateActionOutputV2 =
|
|
5732
|
-
type:
|
|
5753
|
+
var DTOPropertyDefinitionCreateActionOutputV2 = z208.object({
|
|
5754
|
+
type: z208.literal("PropertyDefinitionCreate"),
|
|
5733
5755
|
definition: DTOElementPropertyDefinition
|
|
5734
5756
|
});
|
|
5735
|
-
var DTOPropertyDefinitionUpdateActionOutputV2 =
|
|
5736
|
-
type:
|
|
5757
|
+
var DTOPropertyDefinitionUpdateActionOutputV2 = z208.object({
|
|
5758
|
+
type: z208.literal("PropertyDefinitionUpdate"),
|
|
5737
5759
|
definition: DTOElementPropertyDefinition
|
|
5738
5760
|
});
|
|
5739
|
-
var DTOPropertyDefinitionDeleteActionOutputV2 =
|
|
5740
|
-
type:
|
|
5761
|
+
var DTOPropertyDefinitionDeleteActionOutputV2 = z208.object({
|
|
5762
|
+
type: z208.literal("PropertyDefinitionDelete"),
|
|
5741
5763
|
output: SuccessPayload3
|
|
5742
5764
|
});
|
|
5743
|
-
var DTOPropertyDefinitionCreateActionInputV2 =
|
|
5744
|
-
type:
|
|
5765
|
+
var DTOPropertyDefinitionCreateActionInputV2 = z208.object({
|
|
5766
|
+
type: z208.literal("PropertyDefinitionCreate"),
|
|
5745
5767
|
input: DTOCreateElementPropertyDefinitionInputV2
|
|
5746
5768
|
});
|
|
5747
|
-
var DTOPropertyDefinitionUpdateActionInputV2 =
|
|
5748
|
-
type:
|
|
5769
|
+
var DTOPropertyDefinitionUpdateActionInputV2 = z208.object({
|
|
5770
|
+
type: z208.literal("PropertyDefinitionUpdate"),
|
|
5749
5771
|
input: DTOUpdateElementPropertyDefinitionInputV2
|
|
5750
5772
|
});
|
|
5751
|
-
var DTOPropertyDefinitionDeleteActionInputV2 =
|
|
5752
|
-
type:
|
|
5773
|
+
var DTOPropertyDefinitionDeleteActionInputV2 = z208.object({
|
|
5774
|
+
type: z208.literal("PropertyDefinitionDelete"),
|
|
5753
5775
|
input: DTODeleteElementPropertyDefinitionInputV2
|
|
5754
5776
|
});
|
|
5755
5777
|
|
|
5756
5778
|
// src/api/dto/elements/properties/property-values.ts
|
|
5757
|
-
import { z as
|
|
5758
|
-
var DTOElementPropertyValue =
|
|
5759
|
-
id:
|
|
5760
|
-
designSystemVersionId:
|
|
5761
|
-
definitionId:
|
|
5762
|
-
targetElementId:
|
|
5763
|
-
value:
|
|
5764
|
-
valuePreview:
|
|
5779
|
+
import { z as z209 } from "zod";
|
|
5780
|
+
var DTOElementPropertyValue = z209.object({
|
|
5781
|
+
id: z209.string(),
|
|
5782
|
+
designSystemVersionId: z209.string(),
|
|
5783
|
+
definitionId: z209.string(),
|
|
5784
|
+
targetElementId: z209.string(),
|
|
5785
|
+
value: z209.union([z209.string(), z209.number(), z209.boolean()]).optional(),
|
|
5786
|
+
valuePreview: z209.string().optional()
|
|
5765
5787
|
});
|
|
5766
|
-
var DTOElementPropertyValuesGetResponse =
|
|
5767
|
-
values:
|
|
5788
|
+
var DTOElementPropertyValuesGetResponse = z209.object({
|
|
5789
|
+
values: z209.array(DTOElementPropertyValue)
|
|
5768
5790
|
});
|
|
5769
5791
|
|
|
5770
5792
|
// src/api/dto/elements/elements-action-v2.ts
|
|
5771
|
-
import { z as
|
|
5772
|
-
var DTOElementActionOutput =
|
|
5793
|
+
import { z as z210 } from "zod";
|
|
5794
|
+
var DTOElementActionOutput = z210.discriminatedUnion("type", [
|
|
5773
5795
|
// Documentation pages
|
|
5774
5796
|
DTODocumentationPageCreateActionOutputV2,
|
|
5775
5797
|
DTODocumentationPageUpdateActionOutputV2,
|
|
@@ -5794,7 +5816,7 @@ var DTOElementActionOutput = z206.discriminatedUnion("type", [
|
|
|
5794
5816
|
DTODocumentationPageRestoreActionOutput,
|
|
5795
5817
|
DTODocumentationGroupRestoreActionOutput
|
|
5796
5818
|
]);
|
|
5797
|
-
var DTOElementActionInput =
|
|
5819
|
+
var DTOElementActionInput = z210.discriminatedUnion("type", [
|
|
5798
5820
|
// Documentation pages
|
|
5799
5821
|
DTODocumentationPageCreateActionInputV2,
|
|
5800
5822
|
DTODocumentationPageUpdateActionInputV2,
|
|
@@ -5821,141 +5843,141 @@ var DTOElementActionInput = z206.discriminatedUnion("type", [
|
|
|
5821
5843
|
]);
|
|
5822
5844
|
|
|
5823
5845
|
// src/api/dto/elements/get-elements-v2.ts
|
|
5824
|
-
import { z as
|
|
5825
|
-
var DTOElementsGetTypeFilter =
|
|
5826
|
-
var DTOElementsGetQuerySchema =
|
|
5827
|
-
types:
|
|
5846
|
+
import { z as z211 } from "zod";
|
|
5847
|
+
var DTOElementsGetTypeFilter = z211.enum(["FigmaNode"]);
|
|
5848
|
+
var DTOElementsGetQuerySchema = z211.object({
|
|
5849
|
+
types: z211.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
|
|
5828
5850
|
});
|
|
5829
|
-
var DTOElementsGetOutput =
|
|
5830
|
-
figmaNodes:
|
|
5851
|
+
var DTOElementsGetOutput = z211.object({
|
|
5852
|
+
figmaNodes: z211.array(DTOFigmaNode).optional()
|
|
5831
5853
|
});
|
|
5832
5854
|
|
|
5833
5855
|
// src/api/dto/figma-components/assets/download.ts
|
|
5834
|
-
import { z as
|
|
5835
|
-
var DTOAssetRenderConfiguration =
|
|
5836
|
-
prefix:
|
|
5837
|
-
suffix:
|
|
5838
|
-
scale:
|
|
5839
|
-
format:
|
|
5840
|
-
});
|
|
5841
|
-
var DTORenderedAssetFile =
|
|
5842
|
-
assetId:
|
|
5843
|
-
fileName:
|
|
5844
|
-
sourceUrl:
|
|
5856
|
+
import { z as z212 } from "zod";
|
|
5857
|
+
var DTOAssetRenderConfiguration = z212.object({
|
|
5858
|
+
prefix: z212.string().optional(),
|
|
5859
|
+
suffix: z212.string().optional(),
|
|
5860
|
+
scale: z212.enum(["x1", "x2", "x3", "x4"]),
|
|
5861
|
+
format: z212.enum(["png", "pdf", "svg"])
|
|
5862
|
+
});
|
|
5863
|
+
var DTORenderedAssetFile = z212.object({
|
|
5864
|
+
assetId: z212.string(),
|
|
5865
|
+
fileName: z212.string(),
|
|
5866
|
+
sourceUrl: z212.string(),
|
|
5845
5867
|
settings: DTOAssetRenderConfiguration,
|
|
5846
|
-
originalName:
|
|
5868
|
+
originalName: z212.string()
|
|
5847
5869
|
});
|
|
5848
|
-
var DTODownloadAssetsRequest =
|
|
5849
|
-
persistentIds:
|
|
5870
|
+
var DTODownloadAssetsRequest = z212.object({
|
|
5871
|
+
persistentIds: z212.array(z212.string().uuid()).optional(),
|
|
5850
5872
|
settings: DTOAssetRenderConfiguration.array()
|
|
5851
5873
|
});
|
|
5852
|
-
var DTODownloadAssetsResponse =
|
|
5874
|
+
var DTODownloadAssetsResponse = z212.object({
|
|
5853
5875
|
items: DTORenderedAssetFile.array()
|
|
5854
5876
|
});
|
|
5855
5877
|
|
|
5856
5878
|
// src/api/dto/liveblocks/auth-response.ts
|
|
5857
|
-
import { z as
|
|
5858
|
-
var DTOLiveblocksAuthResponse =
|
|
5859
|
-
token:
|
|
5879
|
+
import { z as z213 } from "zod";
|
|
5880
|
+
var DTOLiveblocksAuthResponse = z213.object({
|
|
5881
|
+
token: z213.string()
|
|
5860
5882
|
});
|
|
5861
5883
|
|
|
5862
5884
|
// src/api/dto/users/profile/update.ts
|
|
5863
|
-
import { z as
|
|
5864
|
-
var DTOUserProfileUpdateResponse =
|
|
5885
|
+
import { z as z214 } from "zod";
|
|
5886
|
+
var DTOUserProfileUpdateResponse = z214.object({
|
|
5865
5887
|
user: User
|
|
5866
5888
|
});
|
|
5867
5889
|
|
|
5868
5890
|
// src/api/dto/workspaces/git.ts
|
|
5869
|
-
import { z as
|
|
5870
|
-
var DTOGitOrganization =
|
|
5871
|
-
id:
|
|
5872
|
-
name:
|
|
5873
|
-
url:
|
|
5874
|
-
slug:
|
|
5875
|
-
});
|
|
5876
|
-
var DTOGitProject =
|
|
5877
|
-
id:
|
|
5878
|
-
name:
|
|
5879
|
-
url:
|
|
5880
|
-
slug:
|
|
5881
|
-
});
|
|
5882
|
-
var DTOGitRepository =
|
|
5883
|
-
id:
|
|
5884
|
-
name:
|
|
5885
|
-
url:
|
|
5886
|
-
slug:
|
|
5887
|
-
defaultBranch:
|
|
5888
|
-
});
|
|
5889
|
-
var DTOGitBranch =
|
|
5890
|
-
name:
|
|
5891
|
-
lastCommitId:
|
|
5891
|
+
import { z as z215 } from "zod";
|
|
5892
|
+
var DTOGitOrganization = z215.object({
|
|
5893
|
+
id: z215.string(),
|
|
5894
|
+
name: z215.string(),
|
|
5895
|
+
url: z215.string(),
|
|
5896
|
+
slug: z215.string()
|
|
5897
|
+
});
|
|
5898
|
+
var DTOGitProject = z215.object({
|
|
5899
|
+
id: z215.string(),
|
|
5900
|
+
name: z215.string(),
|
|
5901
|
+
url: z215.string(),
|
|
5902
|
+
slug: z215.string()
|
|
5903
|
+
});
|
|
5904
|
+
var DTOGitRepository = z215.object({
|
|
5905
|
+
id: z215.string(),
|
|
5906
|
+
name: z215.string(),
|
|
5907
|
+
url: z215.string(),
|
|
5908
|
+
slug: z215.string(),
|
|
5909
|
+
defaultBranch: z215.string().optional()
|
|
5910
|
+
});
|
|
5911
|
+
var DTOGitBranch = z215.object({
|
|
5912
|
+
name: z215.string(),
|
|
5913
|
+
lastCommitId: z215.string()
|
|
5892
5914
|
});
|
|
5893
5915
|
|
|
5894
5916
|
// src/api/dto/workspaces/integrations.ts
|
|
5895
|
-
import { z as
|
|
5917
|
+
import { z as z216 } from "zod";
|
|
5896
5918
|
var DTOIntegrationCredentials = IntegrationCredentials.omit({
|
|
5897
5919
|
accessToken: true,
|
|
5898
5920
|
refreshToken: true
|
|
5899
5921
|
});
|
|
5900
|
-
var DTOIntegration =
|
|
5901
|
-
id:
|
|
5902
|
-
workspaceId:
|
|
5922
|
+
var DTOIntegration = z216.object({
|
|
5923
|
+
id: z216.string(),
|
|
5924
|
+
workspaceId: z216.string(),
|
|
5903
5925
|
type: ExtendedIntegrationType,
|
|
5904
|
-
createdAt:
|
|
5905
|
-
integrationCredentials:
|
|
5906
|
-
integrationDesignSystems:
|
|
5926
|
+
createdAt: z216.coerce.date(),
|
|
5927
|
+
integrationCredentials: z216.array(DTOIntegrationCredentials).optional(),
|
|
5928
|
+
integrationDesignSystems: z216.array(IntegrationDesignSystem).optional()
|
|
5907
5929
|
});
|
|
5908
|
-
var DTOIntegrationOAuthGetResponse =
|
|
5909
|
-
url:
|
|
5930
|
+
var DTOIntegrationOAuthGetResponse = z216.object({
|
|
5931
|
+
url: z216.string()
|
|
5910
5932
|
});
|
|
5911
|
-
var DTOIntegrationPostResponse =
|
|
5933
|
+
var DTOIntegrationPostResponse = z216.object({
|
|
5912
5934
|
integration: DTOIntegration
|
|
5913
5935
|
});
|
|
5914
|
-
var DTOIntegrationsGetListResponse =
|
|
5936
|
+
var DTOIntegrationsGetListResponse = z216.object({
|
|
5915
5937
|
integrations: DTOIntegration.array()
|
|
5916
5938
|
});
|
|
5917
5939
|
|
|
5918
5940
|
// src/api/dto/workspaces/membership.ts
|
|
5919
|
-
import { z as
|
|
5941
|
+
import { z as z219 } from "zod";
|
|
5920
5942
|
|
|
5921
5943
|
// src/api/dto/workspaces/workspace.ts
|
|
5922
|
-
import { z as
|
|
5944
|
+
import { z as z218 } from "zod";
|
|
5923
5945
|
|
|
5924
5946
|
// src/api/dto/workspaces/npm-registry.ts
|
|
5925
|
-
import { z as
|
|
5947
|
+
import { z as z217 } from "zod";
|
|
5926
5948
|
var DTONpmRegistryConfigConstants = {
|
|
5927
5949
|
passwordPlaceholder: "redacted"
|
|
5928
5950
|
};
|
|
5929
|
-
var DTONpmRegistryConfig =
|
|
5951
|
+
var DTONpmRegistryConfig = z217.object({
|
|
5930
5952
|
// Registry basic configuration
|
|
5931
5953
|
registryType: NpmRegistryType,
|
|
5932
|
-
registryUrl:
|
|
5933
|
-
customRegistryUrl:
|
|
5954
|
+
registryUrl: z217.string(),
|
|
5955
|
+
customRegistryUrl: z217.string().optional(),
|
|
5934
5956
|
// URL of Supernova NPM packages proxy
|
|
5935
|
-
proxyUrl:
|
|
5957
|
+
proxyUrl: z217.string(),
|
|
5936
5958
|
// Auth configuration
|
|
5937
5959
|
authType: NpmRegistryAuthType,
|
|
5938
|
-
accessToken:
|
|
5939
|
-
username:
|
|
5940
|
-
password:
|
|
5960
|
+
accessToken: z217.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
|
|
5961
|
+
username: z217.string().optional(),
|
|
5962
|
+
password: z217.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
|
|
5941
5963
|
// NPM package scopes for whih the proxy should be enabled
|
|
5942
|
-
enabledScopes:
|
|
5964
|
+
enabledScopes: z217.array(z217.string()),
|
|
5943
5965
|
// True if client should bypass Supernova proxy and connect directly to the registry
|
|
5944
5966
|
// (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
|
|
5945
|
-
bypassProxy:
|
|
5967
|
+
bypassProxy: z217.boolean()
|
|
5946
5968
|
});
|
|
5947
5969
|
|
|
5948
5970
|
// src/api/dto/workspaces/workspace.ts
|
|
5949
|
-
var DTOWorkspace =
|
|
5950
|
-
id:
|
|
5971
|
+
var DTOWorkspace = z218.object({
|
|
5972
|
+
id: z218.string(),
|
|
5951
5973
|
profile: WorkspaceProfile,
|
|
5952
5974
|
subscription: Subscription,
|
|
5953
5975
|
npmRegistry: DTONpmRegistryConfig.optional()
|
|
5954
5976
|
});
|
|
5955
5977
|
|
|
5956
5978
|
// src/api/dto/workspaces/membership.ts
|
|
5957
|
-
var DTOWorkspaceRole =
|
|
5958
|
-
var DTOUserWorkspaceMembership =
|
|
5979
|
+
var DTOWorkspaceRole = z219.enum(["Owner", "Admin", "Creator", "Viewer", "Billing"]);
|
|
5980
|
+
var DTOUserWorkspaceMembership = z219.object({
|
|
5959
5981
|
// Workspace the user is a member of
|
|
5960
5982
|
workspace: DTOWorkspace,
|
|
5961
5983
|
// Assigned role the user has in the workspace
|
|
@@ -5965,8 +5987,8 @@ var DTOUserWorkspaceMembership = z215.object({
|
|
|
5965
5987
|
// when a workspace's subscription is downgraded to free tier
|
|
5966
5988
|
effectiveRole: DTOWorkspaceRole
|
|
5967
5989
|
});
|
|
5968
|
-
var DTOUserWorkspaceMembershipsResponse =
|
|
5969
|
-
membership:
|
|
5990
|
+
var DTOUserWorkspaceMembershipsResponse = z219.object({
|
|
5991
|
+
membership: z219.array(DTOUserWorkspaceMembership)
|
|
5970
5992
|
});
|
|
5971
5993
|
|
|
5972
5994
|
// src/utils/hash.ts
|
|
@@ -6028,7 +6050,7 @@ function generateHash(input, debug = false) {
|
|
|
6028
6050
|
}
|
|
6029
6051
|
|
|
6030
6052
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
6031
|
-
import { z as
|
|
6053
|
+
import { z as z220 } from "zod";
|
|
6032
6054
|
|
|
6033
6055
|
// src/yjs/version-room/base.ts
|
|
6034
6056
|
var VersionRoomBaseYDoc = class {
|
|
@@ -6448,22 +6470,22 @@ var FrontendVersionRoomYDoc = class {
|
|
|
6448
6470
|
};
|
|
6449
6471
|
|
|
6450
6472
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
6451
|
-
var DocumentationHierarchySettings =
|
|
6452
|
-
routingVersion:
|
|
6453
|
-
isDraftFeatureAdopted:
|
|
6473
|
+
var DocumentationHierarchySettings = z220.object({
|
|
6474
|
+
routingVersion: z220.string(),
|
|
6475
|
+
isDraftFeatureAdopted: z220.boolean()
|
|
6454
6476
|
});
|
|
6455
6477
|
function yjsToDocumentationHierarchy(doc) {
|
|
6456
6478
|
return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
|
|
6457
6479
|
}
|
|
6458
6480
|
|
|
6459
6481
|
// src/yjs/design-system-content/item-configuration.ts
|
|
6460
|
-
import { z as
|
|
6461
|
-
var DTODocumentationPageRoomHeaderData =
|
|
6462
|
-
title:
|
|
6482
|
+
import { z as z221 } from "zod";
|
|
6483
|
+
var DTODocumentationPageRoomHeaderData = z221.object({
|
|
6484
|
+
title: z221.string(),
|
|
6463
6485
|
configuration: DTODocumentationItemConfigurationV2
|
|
6464
6486
|
});
|
|
6465
|
-
var DTODocumentationPageRoomHeaderDataUpdate =
|
|
6466
|
-
title:
|
|
6487
|
+
var DTODocumentationPageRoomHeaderDataUpdate = z221.object({
|
|
6488
|
+
title: z221.string().optional(),
|
|
6467
6489
|
configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
|
|
6468
6490
|
});
|
|
6469
6491
|
function itemConfigurationToYjs(yDoc, item) {
|
|
@@ -6514,7 +6536,7 @@ function yjsToItemConfiguration(yDoc) {
|
|
|
6514
6536
|
header: rawHeader
|
|
6515
6537
|
};
|
|
6516
6538
|
return {
|
|
6517
|
-
title:
|
|
6539
|
+
title: z221.string().parse(title),
|
|
6518
6540
|
configuration: DTODocumentationItemConfigurationV2.parse(rawConfig)
|
|
6519
6541
|
};
|
|
6520
6542
|
}
|
|
@@ -6524,9 +6546,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
|
|
|
6524
6546
|
var PageSectionEditorModel = PageSectionEditorModelV2;
|
|
6525
6547
|
|
|
6526
6548
|
// src/yjs/docs-editor/model/page.ts
|
|
6527
|
-
import { z as
|
|
6528
|
-
var DocumentationPageEditorModel =
|
|
6529
|
-
blocks:
|
|
6549
|
+
import { z as z222 } from "zod";
|
|
6550
|
+
var DocumentationPageEditorModel = z222.object({
|
|
6551
|
+
blocks: z222.array(DocumentationPageContentItem)
|
|
6530
6552
|
});
|
|
6531
6553
|
|
|
6532
6554
|
// src/yjs/docs-editor/prosemirror/schema.ts
|
|
@@ -10276,7 +10298,7 @@ var blocks = [
|
|
|
10276
10298
|
|
|
10277
10299
|
// src/yjs/docs-editor/prosemirror-to-blocks.ts
|
|
10278
10300
|
import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
|
|
10279
|
-
import { z as
|
|
10301
|
+
import { z as z223 } from "zod";
|
|
10280
10302
|
function yDocToPage(yDoc, definitions) {
|
|
10281
10303
|
return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
|
|
10282
10304
|
}
|
|
@@ -10319,7 +10341,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
|
|
|
10319
10341
|
return null;
|
|
10320
10342
|
return {
|
|
10321
10343
|
id,
|
|
10322
|
-
title: getProsemirrorAttribute(prosemirrorNode, "title",
|
|
10344
|
+
title: getProsemirrorAttribute(prosemirrorNode, "title", z223.string()) ?? "",
|
|
10323
10345
|
columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
|
|
10324
10346
|
};
|
|
10325
10347
|
}
|
|
@@ -10354,7 +10376,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
|
|
|
10354
10376
|
});
|
|
10355
10377
|
}
|
|
10356
10378
|
function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
|
|
10357
|
-
const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId",
|
|
10379
|
+
const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z223.string());
|
|
10358
10380
|
if (!definitionId) {
|
|
10359
10381
|
console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
|
|
10360
10382
|
return [];
|
|
@@ -10396,7 +10418,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
|
|
|
10396
10418
|
if (!id)
|
|
10397
10419
|
return null;
|
|
10398
10420
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
10399
|
-
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type",
|
|
10421
|
+
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z223.string().optional()));
|
|
10400
10422
|
return {
|
|
10401
10423
|
id,
|
|
10402
10424
|
type: "Block",
|
|
@@ -10522,10 +10544,10 @@ function parseRichTextAttribute(mark) {
|
|
|
10522
10544
|
return null;
|
|
10523
10545
|
}
|
|
10524
10546
|
function parseProsemirrorLink(mark) {
|
|
10525
|
-
const href = getProsemirrorAttribute(mark, "href",
|
|
10547
|
+
const href = getProsemirrorAttribute(mark, "href", z223.string().optional());
|
|
10526
10548
|
if (!href)
|
|
10527
10549
|
return null;
|
|
10528
|
-
const target = getProsemirrorAttribute(mark, "target",
|
|
10550
|
+
const target = getProsemirrorAttribute(mark, "target", z223.string().optional());
|
|
10529
10551
|
const openInNewTab = target === "_blank";
|
|
10530
10552
|
if (href.startsWith("@")) {
|
|
10531
10553
|
return {
|
|
@@ -10548,7 +10570,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
10548
10570
|
if (!id)
|
|
10549
10571
|
return null;
|
|
10550
10572
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
10551
|
-
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder",
|
|
10573
|
+
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z223.boolean().optional()) !== false;
|
|
10552
10574
|
const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
|
|
10553
10575
|
if (!tableChild) {
|
|
10554
10576
|
return emptyTable(id, variantId, 0);
|
|
@@ -10595,9 +10617,9 @@ function parseAsTableCell(prosemirrorNode) {
|
|
|
10595
10617
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
10596
10618
|
if (!id)
|
|
10597
10619
|
return null;
|
|
10598
|
-
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign",
|
|
10620
|
+
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z223.string().optional());
|
|
10599
10621
|
let columnWidth;
|
|
10600
|
-
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth",
|
|
10622
|
+
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z223.array(z223.number()).optional());
|
|
10601
10623
|
if (columnWidthArray) {
|
|
10602
10624
|
columnWidth = roundDimension(columnWidthArray[0]);
|
|
10603
10625
|
}
|
|
@@ -10635,7 +10657,7 @@ function parseAsTableNode(prosemirrorNode) {
|
|
|
10635
10657
|
value: parseRichText(prosemirrorNode.content ?? [])
|
|
10636
10658
|
};
|
|
10637
10659
|
case "image":
|
|
10638
|
-
const items = getProsemirrorAttribute(prosemirrorNode, "items",
|
|
10660
|
+
const items = getProsemirrorAttribute(prosemirrorNode, "items", z223.string());
|
|
10639
10661
|
if (!items)
|
|
10640
10662
|
return null;
|
|
10641
10663
|
const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
|
|
@@ -10752,7 +10774,7 @@ function definitionExpectsPlaceholderItem(definition) {
|
|
|
10752
10774
|
);
|
|
10753
10775
|
}
|
|
10754
10776
|
function parseBlockItems(prosemirrorNode, definition) {
|
|
10755
|
-
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items",
|
|
10777
|
+
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z223.string());
|
|
10756
10778
|
if (!itemsString)
|
|
10757
10779
|
return null;
|
|
10758
10780
|
const itemsJson = JSON.parse(itemsString);
|
|
@@ -10764,18 +10786,18 @@ function parseBlockItems(prosemirrorNode, definition) {
|
|
|
10764
10786
|
}
|
|
10765
10787
|
function parseAppearance(prosemirrorNode) {
|
|
10766
10788
|
let appearance = {};
|
|
10767
|
-
const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance",
|
|
10789
|
+
const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z223.string().optional());
|
|
10768
10790
|
if (rawAppearanceString) {
|
|
10769
10791
|
const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
|
|
10770
10792
|
if (parsedAppearance.success) {
|
|
10771
10793
|
appearance = parsedAppearance.data;
|
|
10772
10794
|
}
|
|
10773
10795
|
}
|
|
10774
|
-
const columns = getProsemirrorAttribute(prosemirrorNode, "columns",
|
|
10796
|
+
const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z223.number().optional());
|
|
10775
10797
|
if (columns) {
|
|
10776
10798
|
appearance.numberOfColumns = columns;
|
|
10777
10799
|
}
|
|
10778
|
-
const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor",
|
|
10800
|
+
const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z223.string().optional());
|
|
10779
10801
|
if (backgroundColor) {
|
|
10780
10802
|
const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
|
|
10781
10803
|
if (parsedColor.success) {
|
|
@@ -10868,13 +10890,13 @@ function valueSchemaForPropertyType(type) {
|
|
|
10868
10890
|
}
|
|
10869
10891
|
}
|
|
10870
10892
|
function getProsemirrorBlockId(prosemirrorNode) {
|
|
10871
|
-
const id = getProsemirrorAttribute(prosemirrorNode, "id",
|
|
10893
|
+
const id = getProsemirrorAttribute(prosemirrorNode, "id", z223.string());
|
|
10872
10894
|
if (!id)
|
|
10873
10895
|
console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
|
|
10874
10896
|
return id;
|
|
10875
10897
|
}
|
|
10876
10898
|
function getProsemirrorBlockVariantId(prosemirrorNode) {
|
|
10877
|
-
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(
|
|
10899
|
+
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z223.string()));
|
|
10878
10900
|
}
|
|
10879
10901
|
function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
|
|
10880
10902
|
const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
|
|
@@ -11079,6 +11101,7 @@ export {
|
|
|
11079
11101
|
DTOPageBlockDefinitionProperty,
|
|
11080
11102
|
DTOPageBlockDefinitionVariant,
|
|
11081
11103
|
DTOPageBlockItemV2,
|
|
11104
|
+
DTOPagination,
|
|
11082
11105
|
DTOPipeline,
|
|
11083
11106
|
DTOPipelineCreateBody,
|
|
11084
11107
|
DTOPipelineTriggerBody,
|