@supernova-studio/client 0.13.0 → 0.15.0
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 +1988 -25
- package/dist/index.d.ts +1988 -25
- package/dist/index.js +39 -24
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1172 -1157
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/documentation-v2.ts +7 -7
- package/src/api/requests/elements/elements-transaction-v2.ts +53 -0
- package/src/api/requests/elements/index.ts +1 -0
- package/src/api/requests/index.ts +1 -1
- package/src/api/responses/elements/elements-transaction-v2.ts +11 -0
- package/src/api/responses/elements/index.ts +1 -0
- package/src/api/responses/index.ts +1 -0
- package/src/design-system-content/documentation-hierarchy.ts +43 -10
- package/src/design-system-content/item-configuration.ts +1 -1
- package/src/api/requests/post-bulk-doc-page-elements.ts +0 -47
package/dist/index.d.mts
CHANGED
|
@@ -925,7 +925,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
|
|
|
925
925
|
}>;
|
|
926
926
|
type DocumentationPageV1DTO = z.infer<typeof DocumentationPageV1DTO>;
|
|
927
927
|
|
|
928
|
-
declare const
|
|
928
|
+
declare const DTODocumentationPageV2: z.ZodObject<{
|
|
929
929
|
id: z.ZodString;
|
|
930
930
|
createdAt: z.ZodDate;
|
|
931
931
|
updatedAt: z.ZodDate;
|
|
@@ -1400,12 +1400,12 @@ declare const DocumentationPageV2DTO: z.ZodObject<{
|
|
|
1400
1400
|
};
|
|
1401
1401
|
} | null | undefined;
|
|
1402
1402
|
}>;
|
|
1403
|
-
type
|
|
1403
|
+
type DTODocumentationPageV2 = z.infer<typeof DTODocumentationPageV2>;
|
|
1404
1404
|
/**
|
|
1405
1405
|
* Structure DTO is element properties minus element data (in other words data required
|
|
1406
1406
|
* to display the element in the left panel)
|
|
1407
1407
|
*/
|
|
1408
|
-
declare const
|
|
1408
|
+
declare const DTODocumentationPageStructureV2: z.ZodObject<{
|
|
1409
1409
|
id: z.ZodString;
|
|
1410
1410
|
createdAt: z.ZodDate;
|
|
1411
1411
|
updatedAt: z.ZodDate;
|
|
@@ -1439,8 +1439,8 @@ declare const DocumentationPageStructureV2DTO: z.ZodObject<{
|
|
|
1439
1439
|
slug?: string | undefined;
|
|
1440
1440
|
userSlug?: string | undefined;
|
|
1441
1441
|
}>;
|
|
1442
|
-
type
|
|
1443
|
-
declare const
|
|
1442
|
+
type DTODocumentationPageStructureV2 = z.infer<typeof DTODocumentationPageStructureV2>;
|
|
1443
|
+
declare const DTODocumentationHierarchyV2: z.ZodObject<{
|
|
1444
1444
|
pages: z.ZodArray<z.ZodObject<{
|
|
1445
1445
|
id: z.ZodString;
|
|
1446
1446
|
createdAt: z.ZodDate;
|
|
@@ -1570,7 +1570,7 @@ declare const DocumentationHierarchyV2DTO: z.ZodObject<{
|
|
|
1570
1570
|
userSlug?: string | undefined;
|
|
1571
1571
|
}[];
|
|
1572
1572
|
}>;
|
|
1573
|
-
type
|
|
1573
|
+
type DTODocumentationHierarchyV2 = z.infer<typeof DTODocumentationHierarchyV2>;
|
|
1574
1574
|
|
|
1575
1575
|
/**
|
|
1576
1576
|
* Structure DTO is element properties minus element data (in other words data required
|
|
@@ -2441,7 +2441,7 @@ declare const DocumentationGroupDTO: z.ZodObject<{
|
|
|
2441
2441
|
}>;
|
|
2442
2442
|
type DocumentationGroupDTO = z.infer<typeof DocumentationGroupDTO>;
|
|
2443
2443
|
|
|
2444
|
-
declare const
|
|
2444
|
+
declare const DTOCreateDocumentationPageInput: z.ZodObject<{
|
|
2445
2445
|
parentPersistentId: z.ZodString;
|
|
2446
2446
|
persistentId: z.ZodString;
|
|
2447
2447
|
title: z.ZodString;
|
|
@@ -3239,8 +3239,8 @@ declare const CreateBulkElementsInput: z.ZodObject<{
|
|
|
3239
3239
|
} | undefined;
|
|
3240
3240
|
afterPersistentId?: string | undefined;
|
|
3241
3241
|
}>;
|
|
3242
|
-
type
|
|
3243
|
-
declare const
|
|
3242
|
+
type DTOCreateDocumentationPageInput = z.infer<typeof DTOCreateDocumentationPageInput>;
|
|
3243
|
+
declare const DTOUpdateDocumentationPageInput: z.ZodObject<{
|
|
3244
3244
|
id: z.ZodString;
|
|
3245
3245
|
title: z.ZodOptional<z.ZodString>;
|
|
3246
3246
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -4038,10 +4038,8 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
|
|
|
4038
4038
|
parentPersistentId?: string | undefined;
|
|
4039
4039
|
afterPersistentId?: string | undefined;
|
|
4040
4040
|
}>;
|
|
4041
|
-
type
|
|
4042
|
-
declare const
|
|
4043
|
-
type DeleteBulkElementsInput = z.infer<typeof DeleteBulkElementsInput>;
|
|
4044
|
-
declare const DuplicateBulkElementsInput: z.ZodObject<{
|
|
4041
|
+
type DTOUpdateDocumentationPageInput = z.infer<typeof DTOUpdateDocumentationPageInput>;
|
|
4042
|
+
declare const DTODuplicateDocumentationPageInput: z.ZodObject<{
|
|
4045
4043
|
id: z.ZodString;
|
|
4046
4044
|
persistentId: z.ZodString;
|
|
4047
4045
|
parentPersistentId: z.ZodString;
|
|
@@ -4057,8 +4055,1960 @@ declare const DuplicateBulkElementsInput: z.ZodObject<{
|
|
|
4057
4055
|
parentPersistentId: string;
|
|
4058
4056
|
afterPersistentId?: string | undefined;
|
|
4059
4057
|
}>;
|
|
4060
|
-
type
|
|
4061
|
-
declare const
|
|
4058
|
+
type DTODuplicateDocumentationPageInput = z.infer<typeof DTODuplicateDocumentationPageInput>;
|
|
4059
|
+
declare const DTODocumentationTransactionInput: z.ZodObject<{
|
|
4060
|
+
create: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4061
|
+
parentPersistentId: z.ZodString;
|
|
4062
|
+
persistentId: z.ZodString;
|
|
4063
|
+
title: z.ZodString;
|
|
4064
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
4065
|
+
showSidebar: z.ZodBoolean;
|
|
4066
|
+
header: z.ZodObject<{
|
|
4067
|
+
description: z.ZodString;
|
|
4068
|
+
alignment: z.ZodEnum<["Left", "Center"]>;
|
|
4069
|
+
foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4070
|
+
aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
4071
|
+
value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
|
|
4072
|
+
opacity: {
|
|
4073
|
+
aliasTo?: string | undefined;
|
|
4074
|
+
value?: {
|
|
4075
|
+
unit: "Pixels" | "Raw";
|
|
4076
|
+
measure: number;
|
|
4077
|
+
} | undefined;
|
|
4078
|
+
};
|
|
4079
|
+
color: (string | {
|
|
4080
|
+
aliasTo?: string | undefined;
|
|
4081
|
+
}) & (string | {
|
|
4082
|
+
aliasTo?: string | undefined;
|
|
4083
|
+
} | undefined);
|
|
4084
|
+
}, z.ZodTypeDef, {
|
|
4085
|
+
opacity: {
|
|
4086
|
+
aliasTo?: string | null | undefined;
|
|
4087
|
+
value?: {
|
|
4088
|
+
unit: "Pixels" | "Raw";
|
|
4089
|
+
measure: number;
|
|
4090
|
+
} | null | undefined;
|
|
4091
|
+
};
|
|
4092
|
+
color: (string | {
|
|
4093
|
+
aliasTo?: string | null | undefined;
|
|
4094
|
+
}) & (string | {
|
|
4095
|
+
aliasTo?: string | null | undefined;
|
|
4096
|
+
} | undefined);
|
|
4097
|
+
}>>>, {
|
|
4098
|
+
opacity: {
|
|
4099
|
+
aliasTo?: string | undefined;
|
|
4100
|
+
value?: {
|
|
4101
|
+
unit: "Pixels" | "Raw";
|
|
4102
|
+
measure: number;
|
|
4103
|
+
} | undefined;
|
|
4104
|
+
};
|
|
4105
|
+
color: (string | {
|
|
4106
|
+
aliasTo?: string | undefined;
|
|
4107
|
+
}) & (string | {
|
|
4108
|
+
aliasTo?: string | undefined;
|
|
4109
|
+
} | undefined);
|
|
4110
|
+
} | undefined, {
|
|
4111
|
+
opacity: {
|
|
4112
|
+
aliasTo?: string | null | undefined;
|
|
4113
|
+
value?: {
|
|
4114
|
+
unit: "Pixels" | "Raw";
|
|
4115
|
+
measure: number;
|
|
4116
|
+
} | null | undefined;
|
|
4117
|
+
};
|
|
4118
|
+
color: (string | {
|
|
4119
|
+
aliasTo?: string | null | undefined;
|
|
4120
|
+
}) & (string | {
|
|
4121
|
+
aliasTo?: string | null | undefined;
|
|
4122
|
+
} | undefined);
|
|
4123
|
+
} | null | undefined>;
|
|
4124
|
+
}, "strip", z.ZodTypeAny, {
|
|
4125
|
+
aliasTo?: string | undefined;
|
|
4126
|
+
value?: {
|
|
4127
|
+
opacity: {
|
|
4128
|
+
aliasTo?: string | undefined;
|
|
4129
|
+
value?: {
|
|
4130
|
+
unit: "Pixels" | "Raw";
|
|
4131
|
+
measure: number;
|
|
4132
|
+
} | undefined;
|
|
4133
|
+
};
|
|
4134
|
+
color: (string | {
|
|
4135
|
+
aliasTo?: string | undefined;
|
|
4136
|
+
}) & (string | {
|
|
4137
|
+
aliasTo?: string | undefined;
|
|
4138
|
+
} | undefined);
|
|
4139
|
+
} | undefined;
|
|
4140
|
+
}, {
|
|
4141
|
+
aliasTo?: string | null | undefined;
|
|
4142
|
+
value?: {
|
|
4143
|
+
opacity: {
|
|
4144
|
+
aliasTo?: string | null | undefined;
|
|
4145
|
+
value?: {
|
|
4146
|
+
unit: "Pixels" | "Raw";
|
|
4147
|
+
measure: number;
|
|
4148
|
+
} | null | undefined;
|
|
4149
|
+
};
|
|
4150
|
+
color: (string | {
|
|
4151
|
+
aliasTo?: string | null | undefined;
|
|
4152
|
+
}) & (string | {
|
|
4153
|
+
aliasTo?: string | null | undefined;
|
|
4154
|
+
} | undefined);
|
|
4155
|
+
} | null | undefined;
|
|
4156
|
+
}>>>;
|
|
4157
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4158
|
+
aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
4159
|
+
value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
|
|
4160
|
+
opacity: {
|
|
4161
|
+
aliasTo?: string | undefined;
|
|
4162
|
+
value?: {
|
|
4163
|
+
unit: "Pixels" | "Raw";
|
|
4164
|
+
measure: number;
|
|
4165
|
+
} | undefined;
|
|
4166
|
+
};
|
|
4167
|
+
color: (string | {
|
|
4168
|
+
aliasTo?: string | undefined;
|
|
4169
|
+
}) & (string | {
|
|
4170
|
+
aliasTo?: string | undefined;
|
|
4171
|
+
} | undefined);
|
|
4172
|
+
}, z.ZodTypeDef, {
|
|
4173
|
+
opacity: {
|
|
4174
|
+
aliasTo?: string | null | undefined;
|
|
4175
|
+
value?: {
|
|
4176
|
+
unit: "Pixels" | "Raw";
|
|
4177
|
+
measure: number;
|
|
4178
|
+
} | null | undefined;
|
|
4179
|
+
};
|
|
4180
|
+
color: (string | {
|
|
4181
|
+
aliasTo?: string | null | undefined;
|
|
4182
|
+
}) & (string | {
|
|
4183
|
+
aliasTo?: string | null | undefined;
|
|
4184
|
+
} | undefined);
|
|
4185
|
+
}>>>, {
|
|
4186
|
+
opacity: {
|
|
4187
|
+
aliasTo?: string | undefined;
|
|
4188
|
+
value?: {
|
|
4189
|
+
unit: "Pixels" | "Raw";
|
|
4190
|
+
measure: number;
|
|
4191
|
+
} | undefined;
|
|
4192
|
+
};
|
|
4193
|
+
color: (string | {
|
|
4194
|
+
aliasTo?: string | undefined;
|
|
4195
|
+
}) & (string | {
|
|
4196
|
+
aliasTo?: string | undefined;
|
|
4197
|
+
} | undefined);
|
|
4198
|
+
} | undefined, {
|
|
4199
|
+
opacity: {
|
|
4200
|
+
aliasTo?: string | null | undefined;
|
|
4201
|
+
value?: {
|
|
4202
|
+
unit: "Pixels" | "Raw";
|
|
4203
|
+
measure: number;
|
|
4204
|
+
} | null | undefined;
|
|
4205
|
+
};
|
|
4206
|
+
color: (string | {
|
|
4207
|
+
aliasTo?: string | null | undefined;
|
|
4208
|
+
}) & (string | {
|
|
4209
|
+
aliasTo?: string | null | undefined;
|
|
4210
|
+
} | undefined);
|
|
4211
|
+
} | null | undefined>;
|
|
4212
|
+
}, "strip", z.ZodTypeAny, {
|
|
4213
|
+
aliasTo?: string | undefined;
|
|
4214
|
+
value?: {
|
|
4215
|
+
opacity: {
|
|
4216
|
+
aliasTo?: string | undefined;
|
|
4217
|
+
value?: {
|
|
4218
|
+
unit: "Pixels" | "Raw";
|
|
4219
|
+
measure: number;
|
|
4220
|
+
} | undefined;
|
|
4221
|
+
};
|
|
4222
|
+
color: (string | {
|
|
4223
|
+
aliasTo?: string | undefined;
|
|
4224
|
+
}) & (string | {
|
|
4225
|
+
aliasTo?: string | undefined;
|
|
4226
|
+
} | undefined);
|
|
4227
|
+
} | undefined;
|
|
4228
|
+
}, {
|
|
4229
|
+
aliasTo?: string | null | undefined;
|
|
4230
|
+
value?: {
|
|
4231
|
+
opacity: {
|
|
4232
|
+
aliasTo?: string | null | undefined;
|
|
4233
|
+
value?: {
|
|
4234
|
+
unit: "Pixels" | "Raw";
|
|
4235
|
+
measure: number;
|
|
4236
|
+
} | null | undefined;
|
|
4237
|
+
};
|
|
4238
|
+
color: (string | {
|
|
4239
|
+
aliasTo?: string | null | undefined;
|
|
4240
|
+
}) & (string | {
|
|
4241
|
+
aliasTo?: string | null | undefined;
|
|
4242
|
+
} | undefined);
|
|
4243
|
+
} | null | undefined;
|
|
4244
|
+
}>>>;
|
|
4245
|
+
backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4246
|
+
type: z.ZodLiteral<"image">;
|
|
4247
|
+
url: z.ZodOptional<z.ZodString>;
|
|
4248
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
4249
|
+
}, "strip", z.ZodTypeAny, {
|
|
4250
|
+
id: string;
|
|
4251
|
+
type: "image";
|
|
4252
|
+
url?: string | undefined;
|
|
4253
|
+
}, {
|
|
4254
|
+
id: string;
|
|
4255
|
+
type: "image";
|
|
4256
|
+
url?: string | undefined;
|
|
4257
|
+
}>, z.ZodObject<{
|
|
4258
|
+
type: z.ZodLiteral<"figmaFrame">;
|
|
4259
|
+
url: z.ZodOptional<z.ZodString>;
|
|
4260
|
+
figmaFrame: z.ZodObject<{
|
|
4261
|
+
persistentId: z.ZodString;
|
|
4262
|
+
sourceId: z.ZodString;
|
|
4263
|
+
sourceFrameId: z.ZodString;
|
|
4264
|
+
title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
4265
|
+
description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
4266
|
+
backgroundColor: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
4267
|
+
value: string;
|
|
4268
|
+
}, z.ZodTypeDef, {
|
|
4269
|
+
value: string;
|
|
4270
|
+
}>>>, {
|
|
4271
|
+
value: string;
|
|
4272
|
+
} | undefined, {
|
|
4273
|
+
value: string;
|
|
4274
|
+
} | null | undefined>;
|
|
4275
|
+
origin: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
4276
|
+
sourceFileName?: string | undefined;
|
|
4277
|
+
title?: string | undefined;
|
|
4278
|
+
previewUrl?: string | undefined;
|
|
4279
|
+
valid?: boolean | undefined;
|
|
4280
|
+
referenceId?: string | undefined;
|
|
4281
|
+
assetId?: string | undefined;
|
|
4282
|
+
assetScale?: number | undefined;
|
|
4283
|
+
width?: number | undefined;
|
|
4284
|
+
height?: number | undefined;
|
|
4285
|
+
}, z.ZodTypeDef, {
|
|
4286
|
+
sourceFileName?: string | null | undefined;
|
|
4287
|
+
title?: string | null | undefined;
|
|
4288
|
+
previewUrl?: string | null | undefined;
|
|
4289
|
+
valid?: boolean | null | undefined;
|
|
4290
|
+
referenceId?: string | null | undefined;
|
|
4291
|
+
assetId?: string | null | undefined;
|
|
4292
|
+
assetScale?: number | null | undefined;
|
|
4293
|
+
width?: number | null | undefined;
|
|
4294
|
+
height?: number | null | undefined;
|
|
4295
|
+
}>>>, {
|
|
4296
|
+
sourceFileName?: string | undefined;
|
|
4297
|
+
title?: string | undefined;
|
|
4298
|
+
previewUrl?: string | undefined;
|
|
4299
|
+
valid?: boolean | undefined;
|
|
4300
|
+
referenceId?: string | undefined;
|
|
4301
|
+
assetId?: string | undefined;
|
|
4302
|
+
assetScale?: number | undefined;
|
|
4303
|
+
width?: number | undefined;
|
|
4304
|
+
height?: number | undefined;
|
|
4305
|
+
} | undefined, {
|
|
4306
|
+
sourceFileName?: string | null | undefined;
|
|
4307
|
+
title?: string | null | undefined;
|
|
4308
|
+
previewUrl?: string | null | undefined;
|
|
4309
|
+
valid?: boolean | null | undefined;
|
|
4310
|
+
referenceId?: string | null | undefined;
|
|
4311
|
+
assetId?: string | null | undefined;
|
|
4312
|
+
assetScale?: number | null | undefined;
|
|
4313
|
+
width?: number | null | undefined;
|
|
4314
|
+
height?: number | null | undefined;
|
|
4315
|
+
} | null | undefined>;
|
|
4316
|
+
}, "strip", z.ZodTypeAny, {
|
|
4317
|
+
persistentId: string;
|
|
4318
|
+
sourceId: string;
|
|
4319
|
+
sourceFrameId: string;
|
|
4320
|
+
title?: string | undefined;
|
|
4321
|
+
description?: string | undefined;
|
|
4322
|
+
backgroundColor?: {
|
|
4323
|
+
value: string;
|
|
4324
|
+
} | undefined;
|
|
4325
|
+
origin?: {
|
|
4326
|
+
sourceFileName?: string | undefined;
|
|
4327
|
+
title?: string | undefined;
|
|
4328
|
+
previewUrl?: string | undefined;
|
|
4329
|
+
valid?: boolean | undefined;
|
|
4330
|
+
referenceId?: string | undefined;
|
|
4331
|
+
assetId?: string | undefined;
|
|
4332
|
+
assetScale?: number | undefined;
|
|
4333
|
+
width?: number | undefined;
|
|
4334
|
+
height?: number | undefined;
|
|
4335
|
+
} | undefined;
|
|
4336
|
+
}, {
|
|
4337
|
+
persistentId: string;
|
|
4338
|
+
sourceId: string;
|
|
4339
|
+
sourceFrameId: string;
|
|
4340
|
+
title?: string | null | undefined;
|
|
4341
|
+
description?: string | null | undefined;
|
|
4342
|
+
backgroundColor?: {
|
|
4343
|
+
value: string;
|
|
4344
|
+
} | null | undefined;
|
|
4345
|
+
origin?: {
|
|
4346
|
+
sourceFileName?: string | null | undefined;
|
|
4347
|
+
title?: string | null | undefined;
|
|
4348
|
+
previewUrl?: string | null | undefined;
|
|
4349
|
+
valid?: boolean | null | undefined;
|
|
4350
|
+
referenceId?: string | null | undefined;
|
|
4351
|
+
assetId?: string | null | undefined;
|
|
4352
|
+
assetScale?: number | null | undefined;
|
|
4353
|
+
width?: number | null | undefined;
|
|
4354
|
+
height?: number | null | undefined;
|
|
4355
|
+
} | null | undefined;
|
|
4356
|
+
}>;
|
|
4357
|
+
}, "strip", z.ZodTypeAny, {
|
|
4358
|
+
type: "figmaFrame";
|
|
4359
|
+
figmaFrame: {
|
|
4360
|
+
persistentId: string;
|
|
4361
|
+
sourceId: string;
|
|
4362
|
+
sourceFrameId: string;
|
|
4363
|
+
title?: string | undefined;
|
|
4364
|
+
description?: string | undefined;
|
|
4365
|
+
backgroundColor?: {
|
|
4366
|
+
value: string;
|
|
4367
|
+
} | undefined;
|
|
4368
|
+
origin?: {
|
|
4369
|
+
sourceFileName?: string | undefined;
|
|
4370
|
+
title?: string | undefined;
|
|
4371
|
+
previewUrl?: string | undefined;
|
|
4372
|
+
valid?: boolean | undefined;
|
|
4373
|
+
referenceId?: string | undefined;
|
|
4374
|
+
assetId?: string | undefined;
|
|
4375
|
+
assetScale?: number | undefined;
|
|
4376
|
+
width?: number | undefined;
|
|
4377
|
+
height?: number | undefined;
|
|
4378
|
+
} | undefined;
|
|
4379
|
+
};
|
|
4380
|
+
url?: string | undefined;
|
|
4381
|
+
}, {
|
|
4382
|
+
type: "figmaFrame";
|
|
4383
|
+
figmaFrame: {
|
|
4384
|
+
persistentId: string;
|
|
4385
|
+
sourceId: string;
|
|
4386
|
+
sourceFrameId: string;
|
|
4387
|
+
title?: string | null | undefined;
|
|
4388
|
+
description?: string | null | undefined;
|
|
4389
|
+
backgroundColor?: {
|
|
4390
|
+
value: string;
|
|
4391
|
+
} | null | undefined;
|
|
4392
|
+
origin?: {
|
|
4393
|
+
sourceFileName?: string | null | undefined;
|
|
4394
|
+
title?: string | null | undefined;
|
|
4395
|
+
previewUrl?: string | null | undefined;
|
|
4396
|
+
valid?: boolean | null | undefined;
|
|
4397
|
+
referenceId?: string | null | undefined;
|
|
4398
|
+
assetId?: string | null | undefined;
|
|
4399
|
+
assetScale?: number | null | undefined;
|
|
4400
|
+
width?: number | null | undefined;
|
|
4401
|
+
height?: number | null | undefined;
|
|
4402
|
+
} | null | undefined;
|
|
4403
|
+
};
|
|
4404
|
+
url?: string | undefined;
|
|
4405
|
+
}>]>>>;
|
|
4406
|
+
backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
|
|
4407
|
+
showBackgroundOverlay: z.ZodBoolean;
|
|
4408
|
+
showCoverText: z.ZodBoolean;
|
|
4409
|
+
minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4410
|
+
}, "strip", z.ZodTypeAny, {
|
|
4411
|
+
description: string;
|
|
4412
|
+
alignment: "Center" | "Left";
|
|
4413
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
4414
|
+
showBackgroundOverlay: boolean;
|
|
4415
|
+
showCoverText: boolean;
|
|
4416
|
+
foregroundColor?: {
|
|
4417
|
+
aliasTo?: string | undefined;
|
|
4418
|
+
value?: {
|
|
4419
|
+
opacity: {
|
|
4420
|
+
aliasTo?: string | undefined;
|
|
4421
|
+
value?: {
|
|
4422
|
+
unit: "Pixels" | "Raw";
|
|
4423
|
+
measure: number;
|
|
4424
|
+
} | undefined;
|
|
4425
|
+
};
|
|
4426
|
+
color: (string | {
|
|
4427
|
+
aliasTo?: string | undefined;
|
|
4428
|
+
}) & (string | {
|
|
4429
|
+
aliasTo?: string | undefined;
|
|
4430
|
+
} | undefined);
|
|
4431
|
+
} | undefined;
|
|
4432
|
+
} | null | undefined;
|
|
4433
|
+
backgroundColor?: {
|
|
4434
|
+
aliasTo?: string | undefined;
|
|
4435
|
+
value?: {
|
|
4436
|
+
opacity: {
|
|
4437
|
+
aliasTo?: string | undefined;
|
|
4438
|
+
value?: {
|
|
4439
|
+
unit: "Pixels" | "Raw";
|
|
4440
|
+
measure: number;
|
|
4441
|
+
} | undefined;
|
|
4442
|
+
};
|
|
4443
|
+
color: (string | {
|
|
4444
|
+
aliasTo?: string | undefined;
|
|
4445
|
+
}) & (string | {
|
|
4446
|
+
aliasTo?: string | undefined;
|
|
4447
|
+
} | undefined);
|
|
4448
|
+
} | undefined;
|
|
4449
|
+
} | null | undefined;
|
|
4450
|
+
backgroundImageAsset?: {
|
|
4451
|
+
id: string;
|
|
4452
|
+
type: "image";
|
|
4453
|
+
url?: string | undefined;
|
|
4454
|
+
} | {
|
|
4455
|
+
type: "figmaFrame";
|
|
4456
|
+
figmaFrame: {
|
|
4457
|
+
persistentId: string;
|
|
4458
|
+
sourceId: string;
|
|
4459
|
+
sourceFrameId: string;
|
|
4460
|
+
title?: string | undefined;
|
|
4461
|
+
description?: string | undefined;
|
|
4462
|
+
backgroundColor?: {
|
|
4463
|
+
value: string;
|
|
4464
|
+
} | undefined;
|
|
4465
|
+
origin?: {
|
|
4466
|
+
sourceFileName?: string | undefined;
|
|
4467
|
+
title?: string | undefined;
|
|
4468
|
+
previewUrl?: string | undefined;
|
|
4469
|
+
valid?: boolean | undefined;
|
|
4470
|
+
referenceId?: string | undefined;
|
|
4471
|
+
assetId?: string | undefined;
|
|
4472
|
+
assetScale?: number | undefined;
|
|
4473
|
+
width?: number | undefined;
|
|
4474
|
+
height?: number | undefined;
|
|
4475
|
+
} | undefined;
|
|
4476
|
+
};
|
|
4477
|
+
url?: string | undefined;
|
|
4478
|
+
} | null | undefined;
|
|
4479
|
+
minHeight?: number | null | undefined;
|
|
4480
|
+
}, {
|
|
4481
|
+
description: string;
|
|
4482
|
+
alignment: "Center" | "Left";
|
|
4483
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
4484
|
+
showBackgroundOverlay: boolean;
|
|
4485
|
+
showCoverText: boolean;
|
|
4486
|
+
foregroundColor?: {
|
|
4487
|
+
aliasTo?: string | null | undefined;
|
|
4488
|
+
value?: {
|
|
4489
|
+
opacity: {
|
|
4490
|
+
aliasTo?: string | null | undefined;
|
|
4491
|
+
value?: {
|
|
4492
|
+
unit: "Pixels" | "Raw";
|
|
4493
|
+
measure: number;
|
|
4494
|
+
} | null | undefined;
|
|
4495
|
+
};
|
|
4496
|
+
color: (string | {
|
|
4497
|
+
aliasTo?: string | null | undefined;
|
|
4498
|
+
}) & (string | {
|
|
4499
|
+
aliasTo?: string | null | undefined;
|
|
4500
|
+
} | undefined);
|
|
4501
|
+
} | null | undefined;
|
|
4502
|
+
} | null | undefined;
|
|
4503
|
+
backgroundColor?: {
|
|
4504
|
+
aliasTo?: string | null | undefined;
|
|
4505
|
+
value?: {
|
|
4506
|
+
opacity: {
|
|
4507
|
+
aliasTo?: string | null | undefined;
|
|
4508
|
+
value?: {
|
|
4509
|
+
unit: "Pixels" | "Raw";
|
|
4510
|
+
measure: number;
|
|
4511
|
+
} | null | undefined;
|
|
4512
|
+
};
|
|
4513
|
+
color: (string | {
|
|
4514
|
+
aliasTo?: string | null | undefined;
|
|
4515
|
+
}) & (string | {
|
|
4516
|
+
aliasTo?: string | null | undefined;
|
|
4517
|
+
} | undefined);
|
|
4518
|
+
} | null | undefined;
|
|
4519
|
+
} | null | undefined;
|
|
4520
|
+
backgroundImageAsset?: {
|
|
4521
|
+
id: string;
|
|
4522
|
+
type: "image";
|
|
4523
|
+
url?: string | undefined;
|
|
4524
|
+
} | {
|
|
4525
|
+
type: "figmaFrame";
|
|
4526
|
+
figmaFrame: {
|
|
4527
|
+
persistentId: string;
|
|
4528
|
+
sourceId: string;
|
|
4529
|
+
sourceFrameId: string;
|
|
4530
|
+
title?: string | null | undefined;
|
|
4531
|
+
description?: string | null | undefined;
|
|
4532
|
+
backgroundColor?: {
|
|
4533
|
+
value: string;
|
|
4534
|
+
} | null | undefined;
|
|
4535
|
+
origin?: {
|
|
4536
|
+
sourceFileName?: string | null | undefined;
|
|
4537
|
+
title?: string | null | undefined;
|
|
4538
|
+
previewUrl?: string | null | undefined;
|
|
4539
|
+
valid?: boolean | null | undefined;
|
|
4540
|
+
referenceId?: string | null | undefined;
|
|
4541
|
+
assetId?: string | null | undefined;
|
|
4542
|
+
assetScale?: number | null | undefined;
|
|
4543
|
+
width?: number | null | undefined;
|
|
4544
|
+
height?: number | null | undefined;
|
|
4545
|
+
} | null | undefined;
|
|
4546
|
+
};
|
|
4547
|
+
url?: string | undefined;
|
|
4548
|
+
} | null | undefined;
|
|
4549
|
+
minHeight?: number | null | undefined;
|
|
4550
|
+
}>;
|
|
4551
|
+
}, "strip", z.ZodTypeAny, {
|
|
4552
|
+
showSidebar: boolean;
|
|
4553
|
+
header: {
|
|
4554
|
+
description: string;
|
|
4555
|
+
alignment: "Center" | "Left";
|
|
4556
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
4557
|
+
showBackgroundOverlay: boolean;
|
|
4558
|
+
showCoverText: boolean;
|
|
4559
|
+
foregroundColor?: {
|
|
4560
|
+
aliasTo?: string | undefined;
|
|
4561
|
+
value?: {
|
|
4562
|
+
opacity: {
|
|
4563
|
+
aliasTo?: string | undefined;
|
|
4564
|
+
value?: {
|
|
4565
|
+
unit: "Pixels" | "Raw";
|
|
4566
|
+
measure: number;
|
|
4567
|
+
} | undefined;
|
|
4568
|
+
};
|
|
4569
|
+
color: (string | {
|
|
4570
|
+
aliasTo?: string | undefined;
|
|
4571
|
+
}) & (string | {
|
|
4572
|
+
aliasTo?: string | undefined;
|
|
4573
|
+
} | undefined);
|
|
4574
|
+
} | undefined;
|
|
4575
|
+
} | null | undefined;
|
|
4576
|
+
backgroundColor?: {
|
|
4577
|
+
aliasTo?: string | undefined;
|
|
4578
|
+
value?: {
|
|
4579
|
+
opacity: {
|
|
4580
|
+
aliasTo?: string | undefined;
|
|
4581
|
+
value?: {
|
|
4582
|
+
unit: "Pixels" | "Raw";
|
|
4583
|
+
measure: number;
|
|
4584
|
+
} | undefined;
|
|
4585
|
+
};
|
|
4586
|
+
color: (string | {
|
|
4587
|
+
aliasTo?: string | undefined;
|
|
4588
|
+
}) & (string | {
|
|
4589
|
+
aliasTo?: string | undefined;
|
|
4590
|
+
} | undefined);
|
|
4591
|
+
} | undefined;
|
|
4592
|
+
} | null | undefined;
|
|
4593
|
+
backgroundImageAsset?: {
|
|
4594
|
+
id: string;
|
|
4595
|
+
type: "image";
|
|
4596
|
+
url?: string | undefined;
|
|
4597
|
+
} | {
|
|
4598
|
+
type: "figmaFrame";
|
|
4599
|
+
figmaFrame: {
|
|
4600
|
+
persistentId: string;
|
|
4601
|
+
sourceId: string;
|
|
4602
|
+
sourceFrameId: string;
|
|
4603
|
+
title?: string | undefined;
|
|
4604
|
+
description?: string | undefined;
|
|
4605
|
+
backgroundColor?: {
|
|
4606
|
+
value: string;
|
|
4607
|
+
} | undefined;
|
|
4608
|
+
origin?: {
|
|
4609
|
+
sourceFileName?: string | undefined;
|
|
4610
|
+
title?: string | undefined;
|
|
4611
|
+
previewUrl?: string | undefined;
|
|
4612
|
+
valid?: boolean | undefined;
|
|
4613
|
+
referenceId?: string | undefined;
|
|
4614
|
+
assetId?: string | undefined;
|
|
4615
|
+
assetScale?: number | undefined;
|
|
4616
|
+
width?: number | undefined;
|
|
4617
|
+
height?: number | undefined;
|
|
4618
|
+
} | undefined;
|
|
4619
|
+
};
|
|
4620
|
+
url?: string | undefined;
|
|
4621
|
+
} | null | undefined;
|
|
4622
|
+
minHeight?: number | null | undefined;
|
|
4623
|
+
};
|
|
4624
|
+
}, {
|
|
4625
|
+
showSidebar: boolean;
|
|
4626
|
+
header: {
|
|
4627
|
+
description: string;
|
|
4628
|
+
alignment: "Center" | "Left";
|
|
4629
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
4630
|
+
showBackgroundOverlay: boolean;
|
|
4631
|
+
showCoverText: boolean;
|
|
4632
|
+
foregroundColor?: {
|
|
4633
|
+
aliasTo?: string | null | undefined;
|
|
4634
|
+
value?: {
|
|
4635
|
+
opacity: {
|
|
4636
|
+
aliasTo?: string | null | undefined;
|
|
4637
|
+
value?: {
|
|
4638
|
+
unit: "Pixels" | "Raw";
|
|
4639
|
+
measure: number;
|
|
4640
|
+
} | null | undefined;
|
|
4641
|
+
};
|
|
4642
|
+
color: (string | {
|
|
4643
|
+
aliasTo?: string | null | undefined;
|
|
4644
|
+
}) & (string | {
|
|
4645
|
+
aliasTo?: string | null | undefined;
|
|
4646
|
+
} | undefined);
|
|
4647
|
+
} | null | undefined;
|
|
4648
|
+
} | null | undefined;
|
|
4649
|
+
backgroundColor?: {
|
|
4650
|
+
aliasTo?: string | null | undefined;
|
|
4651
|
+
value?: {
|
|
4652
|
+
opacity: {
|
|
4653
|
+
aliasTo?: string | null | undefined;
|
|
4654
|
+
value?: {
|
|
4655
|
+
unit: "Pixels" | "Raw";
|
|
4656
|
+
measure: number;
|
|
4657
|
+
} | null | undefined;
|
|
4658
|
+
};
|
|
4659
|
+
color: (string | {
|
|
4660
|
+
aliasTo?: string | null | undefined;
|
|
4661
|
+
}) & (string | {
|
|
4662
|
+
aliasTo?: string | null | undefined;
|
|
4663
|
+
} | undefined);
|
|
4664
|
+
} | null | undefined;
|
|
4665
|
+
} | null | undefined;
|
|
4666
|
+
backgroundImageAsset?: {
|
|
4667
|
+
id: string;
|
|
4668
|
+
type: "image";
|
|
4669
|
+
url?: string | undefined;
|
|
4670
|
+
} | {
|
|
4671
|
+
type: "figmaFrame";
|
|
4672
|
+
figmaFrame: {
|
|
4673
|
+
persistentId: string;
|
|
4674
|
+
sourceId: string;
|
|
4675
|
+
sourceFrameId: string;
|
|
4676
|
+
title?: string | null | undefined;
|
|
4677
|
+
description?: string | null | undefined;
|
|
4678
|
+
backgroundColor?: {
|
|
4679
|
+
value: string;
|
|
4680
|
+
} | null | undefined;
|
|
4681
|
+
origin?: {
|
|
4682
|
+
sourceFileName?: string | null | undefined;
|
|
4683
|
+
title?: string | null | undefined;
|
|
4684
|
+
previewUrl?: string | null | undefined;
|
|
4685
|
+
valid?: boolean | null | undefined;
|
|
4686
|
+
referenceId?: string | null | undefined;
|
|
4687
|
+
assetId?: string | null | undefined;
|
|
4688
|
+
assetScale?: number | null | undefined;
|
|
4689
|
+
width?: number | null | undefined;
|
|
4690
|
+
height?: number | null | undefined;
|
|
4691
|
+
} | null | undefined;
|
|
4692
|
+
};
|
|
4693
|
+
url?: string | undefined;
|
|
4694
|
+
} | null | undefined;
|
|
4695
|
+
minHeight?: number | null | undefined;
|
|
4696
|
+
};
|
|
4697
|
+
}>>;
|
|
4698
|
+
afterPersistentId: z.ZodOptional<z.ZodString>;
|
|
4699
|
+
}, "strip", z.ZodTypeAny, {
|
|
4700
|
+
persistentId: string;
|
|
4701
|
+
parentPersistentId: string;
|
|
4702
|
+
title: string;
|
|
4703
|
+
configuration?: {
|
|
4704
|
+
showSidebar: boolean;
|
|
4705
|
+
header: {
|
|
4706
|
+
description: string;
|
|
4707
|
+
alignment: "Center" | "Left";
|
|
4708
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
4709
|
+
showBackgroundOverlay: boolean;
|
|
4710
|
+
showCoverText: boolean;
|
|
4711
|
+
foregroundColor?: {
|
|
4712
|
+
aliasTo?: string | undefined;
|
|
4713
|
+
value?: {
|
|
4714
|
+
opacity: {
|
|
4715
|
+
aliasTo?: string | undefined;
|
|
4716
|
+
value?: {
|
|
4717
|
+
unit: "Pixels" | "Raw";
|
|
4718
|
+
measure: number;
|
|
4719
|
+
} | undefined;
|
|
4720
|
+
};
|
|
4721
|
+
color: (string | {
|
|
4722
|
+
aliasTo?: string | undefined;
|
|
4723
|
+
}) & (string | {
|
|
4724
|
+
aliasTo?: string | undefined;
|
|
4725
|
+
} | undefined);
|
|
4726
|
+
} | undefined;
|
|
4727
|
+
} | null | undefined;
|
|
4728
|
+
backgroundColor?: {
|
|
4729
|
+
aliasTo?: string | undefined;
|
|
4730
|
+
value?: {
|
|
4731
|
+
opacity: {
|
|
4732
|
+
aliasTo?: string | undefined;
|
|
4733
|
+
value?: {
|
|
4734
|
+
unit: "Pixels" | "Raw";
|
|
4735
|
+
measure: number;
|
|
4736
|
+
} | undefined;
|
|
4737
|
+
};
|
|
4738
|
+
color: (string | {
|
|
4739
|
+
aliasTo?: string | undefined;
|
|
4740
|
+
}) & (string | {
|
|
4741
|
+
aliasTo?: string | undefined;
|
|
4742
|
+
} | undefined);
|
|
4743
|
+
} | undefined;
|
|
4744
|
+
} | null | undefined;
|
|
4745
|
+
backgroundImageAsset?: {
|
|
4746
|
+
id: string;
|
|
4747
|
+
type: "image";
|
|
4748
|
+
url?: string | undefined;
|
|
4749
|
+
} | {
|
|
4750
|
+
type: "figmaFrame";
|
|
4751
|
+
figmaFrame: {
|
|
4752
|
+
persistentId: string;
|
|
4753
|
+
sourceId: string;
|
|
4754
|
+
sourceFrameId: string;
|
|
4755
|
+
title?: string | undefined;
|
|
4756
|
+
description?: string | undefined;
|
|
4757
|
+
backgroundColor?: {
|
|
4758
|
+
value: string;
|
|
4759
|
+
} | undefined;
|
|
4760
|
+
origin?: {
|
|
4761
|
+
sourceFileName?: string | undefined;
|
|
4762
|
+
title?: string | undefined;
|
|
4763
|
+
previewUrl?: string | undefined;
|
|
4764
|
+
valid?: boolean | undefined;
|
|
4765
|
+
referenceId?: string | undefined;
|
|
4766
|
+
assetId?: string | undefined;
|
|
4767
|
+
assetScale?: number | undefined;
|
|
4768
|
+
width?: number | undefined;
|
|
4769
|
+
height?: number | undefined;
|
|
4770
|
+
} | undefined;
|
|
4771
|
+
};
|
|
4772
|
+
url?: string | undefined;
|
|
4773
|
+
} | null | undefined;
|
|
4774
|
+
minHeight?: number | null | undefined;
|
|
4775
|
+
};
|
|
4776
|
+
} | undefined;
|
|
4777
|
+
afterPersistentId?: string | undefined;
|
|
4778
|
+
}, {
|
|
4779
|
+
persistentId: string;
|
|
4780
|
+
parentPersistentId: string;
|
|
4781
|
+
title: string;
|
|
4782
|
+
configuration?: {
|
|
4783
|
+
showSidebar: boolean;
|
|
4784
|
+
header: {
|
|
4785
|
+
description: string;
|
|
4786
|
+
alignment: "Center" | "Left";
|
|
4787
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
4788
|
+
showBackgroundOverlay: boolean;
|
|
4789
|
+
showCoverText: boolean;
|
|
4790
|
+
foregroundColor?: {
|
|
4791
|
+
aliasTo?: string | null | undefined;
|
|
4792
|
+
value?: {
|
|
4793
|
+
opacity: {
|
|
4794
|
+
aliasTo?: string | null | undefined;
|
|
4795
|
+
value?: {
|
|
4796
|
+
unit: "Pixels" | "Raw";
|
|
4797
|
+
measure: number;
|
|
4798
|
+
} | null | undefined;
|
|
4799
|
+
};
|
|
4800
|
+
color: (string | {
|
|
4801
|
+
aliasTo?: string | null | undefined;
|
|
4802
|
+
}) & (string | {
|
|
4803
|
+
aliasTo?: string | null | undefined;
|
|
4804
|
+
} | undefined);
|
|
4805
|
+
} | null | undefined;
|
|
4806
|
+
} | null | undefined;
|
|
4807
|
+
backgroundColor?: {
|
|
4808
|
+
aliasTo?: string | null | undefined;
|
|
4809
|
+
value?: {
|
|
4810
|
+
opacity: {
|
|
4811
|
+
aliasTo?: string | null | undefined;
|
|
4812
|
+
value?: {
|
|
4813
|
+
unit: "Pixels" | "Raw";
|
|
4814
|
+
measure: number;
|
|
4815
|
+
} | null | undefined;
|
|
4816
|
+
};
|
|
4817
|
+
color: (string | {
|
|
4818
|
+
aliasTo?: string | null | undefined;
|
|
4819
|
+
}) & (string | {
|
|
4820
|
+
aliasTo?: string | null | undefined;
|
|
4821
|
+
} | undefined);
|
|
4822
|
+
} | null | undefined;
|
|
4823
|
+
} | null | undefined;
|
|
4824
|
+
backgroundImageAsset?: {
|
|
4825
|
+
id: string;
|
|
4826
|
+
type: "image";
|
|
4827
|
+
url?: string | undefined;
|
|
4828
|
+
} | {
|
|
4829
|
+
type: "figmaFrame";
|
|
4830
|
+
figmaFrame: {
|
|
4831
|
+
persistentId: string;
|
|
4832
|
+
sourceId: string;
|
|
4833
|
+
sourceFrameId: string;
|
|
4834
|
+
title?: string | null | undefined;
|
|
4835
|
+
description?: string | null | undefined;
|
|
4836
|
+
backgroundColor?: {
|
|
4837
|
+
value: string;
|
|
4838
|
+
} | null | undefined;
|
|
4839
|
+
origin?: {
|
|
4840
|
+
sourceFileName?: string | null | undefined;
|
|
4841
|
+
title?: string | null | undefined;
|
|
4842
|
+
previewUrl?: string | null | undefined;
|
|
4843
|
+
valid?: boolean | null | undefined;
|
|
4844
|
+
referenceId?: string | null | undefined;
|
|
4845
|
+
assetId?: string | null | undefined;
|
|
4846
|
+
assetScale?: number | null | undefined;
|
|
4847
|
+
width?: number | null | undefined;
|
|
4848
|
+
height?: number | null | undefined;
|
|
4849
|
+
} | null | undefined;
|
|
4850
|
+
};
|
|
4851
|
+
url?: string | undefined;
|
|
4852
|
+
} | null | undefined;
|
|
4853
|
+
minHeight?: number | null | undefined;
|
|
4854
|
+
};
|
|
4855
|
+
} | undefined;
|
|
4856
|
+
afterPersistentId?: string | undefined;
|
|
4857
|
+
}>, "many">>;
|
|
4858
|
+
update: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4859
|
+
id: z.ZodString;
|
|
4860
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4861
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
4862
|
+
showSidebar: z.ZodBoolean;
|
|
4863
|
+
header: z.ZodObject<{
|
|
4864
|
+
description: z.ZodString;
|
|
4865
|
+
alignment: z.ZodEnum<["Left", "Center"]>;
|
|
4866
|
+
foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4867
|
+
aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
4868
|
+
value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
|
|
4869
|
+
opacity: {
|
|
4870
|
+
aliasTo?: string | undefined;
|
|
4871
|
+
value?: {
|
|
4872
|
+
unit: "Pixels" | "Raw";
|
|
4873
|
+
measure: number;
|
|
4874
|
+
} | undefined;
|
|
4875
|
+
};
|
|
4876
|
+
color: (string | {
|
|
4877
|
+
aliasTo?: string | undefined;
|
|
4878
|
+
}) & (string | {
|
|
4879
|
+
aliasTo?: string | undefined;
|
|
4880
|
+
} | undefined);
|
|
4881
|
+
}, z.ZodTypeDef, {
|
|
4882
|
+
opacity: {
|
|
4883
|
+
aliasTo?: string | null | undefined;
|
|
4884
|
+
value?: {
|
|
4885
|
+
unit: "Pixels" | "Raw";
|
|
4886
|
+
measure: number;
|
|
4887
|
+
} | null | undefined;
|
|
4888
|
+
};
|
|
4889
|
+
color: (string | {
|
|
4890
|
+
aliasTo?: string | null | undefined;
|
|
4891
|
+
}) & (string | {
|
|
4892
|
+
aliasTo?: string | null | undefined;
|
|
4893
|
+
} | undefined);
|
|
4894
|
+
}>>>, {
|
|
4895
|
+
opacity: {
|
|
4896
|
+
aliasTo?: string | undefined;
|
|
4897
|
+
value?: {
|
|
4898
|
+
unit: "Pixels" | "Raw";
|
|
4899
|
+
measure: number;
|
|
4900
|
+
} | undefined;
|
|
4901
|
+
};
|
|
4902
|
+
color: (string | {
|
|
4903
|
+
aliasTo?: string | undefined;
|
|
4904
|
+
}) & (string | {
|
|
4905
|
+
aliasTo?: string | undefined;
|
|
4906
|
+
} | undefined);
|
|
4907
|
+
} | undefined, {
|
|
4908
|
+
opacity: {
|
|
4909
|
+
aliasTo?: string | null | undefined;
|
|
4910
|
+
value?: {
|
|
4911
|
+
unit: "Pixels" | "Raw";
|
|
4912
|
+
measure: number;
|
|
4913
|
+
} | null | undefined;
|
|
4914
|
+
};
|
|
4915
|
+
color: (string | {
|
|
4916
|
+
aliasTo?: string | null | undefined;
|
|
4917
|
+
}) & (string | {
|
|
4918
|
+
aliasTo?: string | null | undefined;
|
|
4919
|
+
} | undefined);
|
|
4920
|
+
} | null | undefined>;
|
|
4921
|
+
}, "strip", z.ZodTypeAny, {
|
|
4922
|
+
aliasTo?: string | undefined;
|
|
4923
|
+
value?: {
|
|
4924
|
+
opacity: {
|
|
4925
|
+
aliasTo?: string | undefined;
|
|
4926
|
+
value?: {
|
|
4927
|
+
unit: "Pixels" | "Raw";
|
|
4928
|
+
measure: number;
|
|
4929
|
+
} | undefined;
|
|
4930
|
+
};
|
|
4931
|
+
color: (string | {
|
|
4932
|
+
aliasTo?: string | undefined;
|
|
4933
|
+
}) & (string | {
|
|
4934
|
+
aliasTo?: string | undefined;
|
|
4935
|
+
} | undefined);
|
|
4936
|
+
} | undefined;
|
|
4937
|
+
}, {
|
|
4938
|
+
aliasTo?: string | null | undefined;
|
|
4939
|
+
value?: {
|
|
4940
|
+
opacity: {
|
|
4941
|
+
aliasTo?: string | null | undefined;
|
|
4942
|
+
value?: {
|
|
4943
|
+
unit: "Pixels" | "Raw";
|
|
4944
|
+
measure: number;
|
|
4945
|
+
} | null | undefined;
|
|
4946
|
+
};
|
|
4947
|
+
color: (string | {
|
|
4948
|
+
aliasTo?: string | null | undefined;
|
|
4949
|
+
}) & (string | {
|
|
4950
|
+
aliasTo?: string | null | undefined;
|
|
4951
|
+
} | undefined);
|
|
4952
|
+
} | null | undefined;
|
|
4953
|
+
}>>>;
|
|
4954
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4955
|
+
aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
4956
|
+
value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
|
|
4957
|
+
opacity: {
|
|
4958
|
+
aliasTo?: string | undefined;
|
|
4959
|
+
value?: {
|
|
4960
|
+
unit: "Pixels" | "Raw";
|
|
4961
|
+
measure: number;
|
|
4962
|
+
} | undefined;
|
|
4963
|
+
};
|
|
4964
|
+
color: (string | {
|
|
4965
|
+
aliasTo?: string | undefined;
|
|
4966
|
+
}) & (string | {
|
|
4967
|
+
aliasTo?: string | undefined;
|
|
4968
|
+
} | undefined);
|
|
4969
|
+
}, z.ZodTypeDef, {
|
|
4970
|
+
opacity: {
|
|
4971
|
+
aliasTo?: string | null | undefined;
|
|
4972
|
+
value?: {
|
|
4973
|
+
unit: "Pixels" | "Raw";
|
|
4974
|
+
measure: number;
|
|
4975
|
+
} | null | undefined;
|
|
4976
|
+
};
|
|
4977
|
+
color: (string | {
|
|
4978
|
+
aliasTo?: string | null | undefined;
|
|
4979
|
+
}) & (string | {
|
|
4980
|
+
aliasTo?: string | null | undefined;
|
|
4981
|
+
} | undefined);
|
|
4982
|
+
}>>>, {
|
|
4983
|
+
opacity: {
|
|
4984
|
+
aliasTo?: string | undefined;
|
|
4985
|
+
value?: {
|
|
4986
|
+
unit: "Pixels" | "Raw";
|
|
4987
|
+
measure: number;
|
|
4988
|
+
} | undefined;
|
|
4989
|
+
};
|
|
4990
|
+
color: (string | {
|
|
4991
|
+
aliasTo?: string | undefined;
|
|
4992
|
+
}) & (string | {
|
|
4993
|
+
aliasTo?: string | undefined;
|
|
4994
|
+
} | undefined);
|
|
4995
|
+
} | undefined, {
|
|
4996
|
+
opacity: {
|
|
4997
|
+
aliasTo?: string | null | undefined;
|
|
4998
|
+
value?: {
|
|
4999
|
+
unit: "Pixels" | "Raw";
|
|
5000
|
+
measure: number;
|
|
5001
|
+
} | null | undefined;
|
|
5002
|
+
};
|
|
5003
|
+
color: (string | {
|
|
5004
|
+
aliasTo?: string | null | undefined;
|
|
5005
|
+
}) & (string | {
|
|
5006
|
+
aliasTo?: string | null | undefined;
|
|
5007
|
+
} | undefined);
|
|
5008
|
+
} | null | undefined>;
|
|
5009
|
+
}, "strip", z.ZodTypeAny, {
|
|
5010
|
+
aliasTo?: string | undefined;
|
|
5011
|
+
value?: {
|
|
5012
|
+
opacity: {
|
|
5013
|
+
aliasTo?: string | undefined;
|
|
5014
|
+
value?: {
|
|
5015
|
+
unit: "Pixels" | "Raw";
|
|
5016
|
+
measure: number;
|
|
5017
|
+
} | undefined;
|
|
5018
|
+
};
|
|
5019
|
+
color: (string | {
|
|
5020
|
+
aliasTo?: string | undefined;
|
|
5021
|
+
}) & (string | {
|
|
5022
|
+
aliasTo?: string | undefined;
|
|
5023
|
+
} | undefined);
|
|
5024
|
+
} | undefined;
|
|
5025
|
+
}, {
|
|
5026
|
+
aliasTo?: string | null | undefined;
|
|
5027
|
+
value?: {
|
|
5028
|
+
opacity: {
|
|
5029
|
+
aliasTo?: string | null | undefined;
|
|
5030
|
+
value?: {
|
|
5031
|
+
unit: "Pixels" | "Raw";
|
|
5032
|
+
measure: number;
|
|
5033
|
+
} | null | undefined;
|
|
5034
|
+
};
|
|
5035
|
+
color: (string | {
|
|
5036
|
+
aliasTo?: string | null | undefined;
|
|
5037
|
+
}) & (string | {
|
|
5038
|
+
aliasTo?: string | null | undefined;
|
|
5039
|
+
} | undefined);
|
|
5040
|
+
} | null | undefined;
|
|
5041
|
+
}>>>;
|
|
5042
|
+
backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5043
|
+
type: z.ZodLiteral<"image">;
|
|
5044
|
+
url: z.ZodOptional<z.ZodString>;
|
|
5045
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
5046
|
+
}, "strip", z.ZodTypeAny, {
|
|
5047
|
+
id: string;
|
|
5048
|
+
type: "image";
|
|
5049
|
+
url?: string | undefined;
|
|
5050
|
+
}, {
|
|
5051
|
+
id: string;
|
|
5052
|
+
type: "image";
|
|
5053
|
+
url?: string | undefined;
|
|
5054
|
+
}>, z.ZodObject<{
|
|
5055
|
+
type: z.ZodLiteral<"figmaFrame">;
|
|
5056
|
+
url: z.ZodOptional<z.ZodString>;
|
|
5057
|
+
figmaFrame: z.ZodObject<{
|
|
5058
|
+
persistentId: z.ZodString;
|
|
5059
|
+
sourceId: z.ZodString;
|
|
5060
|
+
sourceFrameId: z.ZodString;
|
|
5061
|
+
title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
5062
|
+
description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
5063
|
+
backgroundColor: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
5064
|
+
value: string;
|
|
5065
|
+
}, z.ZodTypeDef, {
|
|
5066
|
+
value: string;
|
|
5067
|
+
}>>>, {
|
|
5068
|
+
value: string;
|
|
5069
|
+
} | undefined, {
|
|
5070
|
+
value: string;
|
|
5071
|
+
} | null | undefined>;
|
|
5072
|
+
origin: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
5073
|
+
sourceFileName?: string | undefined;
|
|
5074
|
+
title?: string | undefined;
|
|
5075
|
+
previewUrl?: string | undefined;
|
|
5076
|
+
valid?: boolean | undefined;
|
|
5077
|
+
referenceId?: string | undefined;
|
|
5078
|
+
assetId?: string | undefined;
|
|
5079
|
+
assetScale?: number | undefined;
|
|
5080
|
+
width?: number | undefined;
|
|
5081
|
+
height?: number | undefined;
|
|
5082
|
+
}, z.ZodTypeDef, {
|
|
5083
|
+
sourceFileName?: string | null | undefined;
|
|
5084
|
+
title?: string | null | undefined;
|
|
5085
|
+
previewUrl?: string | null | undefined;
|
|
5086
|
+
valid?: boolean | null | undefined;
|
|
5087
|
+
referenceId?: string | null | undefined;
|
|
5088
|
+
assetId?: string | null | undefined;
|
|
5089
|
+
assetScale?: number | null | undefined;
|
|
5090
|
+
width?: number | null | undefined;
|
|
5091
|
+
height?: number | null | undefined;
|
|
5092
|
+
}>>>, {
|
|
5093
|
+
sourceFileName?: string | undefined;
|
|
5094
|
+
title?: string | undefined;
|
|
5095
|
+
previewUrl?: string | undefined;
|
|
5096
|
+
valid?: boolean | undefined;
|
|
5097
|
+
referenceId?: string | undefined;
|
|
5098
|
+
assetId?: string | undefined;
|
|
5099
|
+
assetScale?: number | undefined;
|
|
5100
|
+
width?: number | undefined;
|
|
5101
|
+
height?: number | undefined;
|
|
5102
|
+
} | undefined, {
|
|
5103
|
+
sourceFileName?: string | null | undefined;
|
|
5104
|
+
title?: string | null | undefined;
|
|
5105
|
+
previewUrl?: string | null | undefined;
|
|
5106
|
+
valid?: boolean | null | undefined;
|
|
5107
|
+
referenceId?: string | null | undefined;
|
|
5108
|
+
assetId?: string | null | undefined;
|
|
5109
|
+
assetScale?: number | null | undefined;
|
|
5110
|
+
width?: number | null | undefined;
|
|
5111
|
+
height?: number | null | undefined;
|
|
5112
|
+
} | null | undefined>;
|
|
5113
|
+
}, "strip", z.ZodTypeAny, {
|
|
5114
|
+
persistentId: string;
|
|
5115
|
+
sourceId: string;
|
|
5116
|
+
sourceFrameId: string;
|
|
5117
|
+
title?: string | undefined;
|
|
5118
|
+
description?: string | undefined;
|
|
5119
|
+
backgroundColor?: {
|
|
5120
|
+
value: string;
|
|
5121
|
+
} | undefined;
|
|
5122
|
+
origin?: {
|
|
5123
|
+
sourceFileName?: string | undefined;
|
|
5124
|
+
title?: string | undefined;
|
|
5125
|
+
previewUrl?: string | undefined;
|
|
5126
|
+
valid?: boolean | undefined;
|
|
5127
|
+
referenceId?: string | undefined;
|
|
5128
|
+
assetId?: string | undefined;
|
|
5129
|
+
assetScale?: number | undefined;
|
|
5130
|
+
width?: number | undefined;
|
|
5131
|
+
height?: number | undefined;
|
|
5132
|
+
} | undefined;
|
|
5133
|
+
}, {
|
|
5134
|
+
persistentId: string;
|
|
5135
|
+
sourceId: string;
|
|
5136
|
+
sourceFrameId: string;
|
|
5137
|
+
title?: string | null | undefined;
|
|
5138
|
+
description?: string | null | undefined;
|
|
5139
|
+
backgroundColor?: {
|
|
5140
|
+
value: string;
|
|
5141
|
+
} | null | undefined;
|
|
5142
|
+
origin?: {
|
|
5143
|
+
sourceFileName?: string | null | undefined;
|
|
5144
|
+
title?: string | null | undefined;
|
|
5145
|
+
previewUrl?: string | null | undefined;
|
|
5146
|
+
valid?: boolean | null | undefined;
|
|
5147
|
+
referenceId?: string | null | undefined;
|
|
5148
|
+
assetId?: string | null | undefined;
|
|
5149
|
+
assetScale?: number | null | undefined;
|
|
5150
|
+
width?: number | null | undefined;
|
|
5151
|
+
height?: number | null | undefined;
|
|
5152
|
+
} | null | undefined;
|
|
5153
|
+
}>;
|
|
5154
|
+
}, "strip", z.ZodTypeAny, {
|
|
5155
|
+
type: "figmaFrame";
|
|
5156
|
+
figmaFrame: {
|
|
5157
|
+
persistentId: string;
|
|
5158
|
+
sourceId: string;
|
|
5159
|
+
sourceFrameId: string;
|
|
5160
|
+
title?: string | undefined;
|
|
5161
|
+
description?: string | undefined;
|
|
5162
|
+
backgroundColor?: {
|
|
5163
|
+
value: string;
|
|
5164
|
+
} | undefined;
|
|
5165
|
+
origin?: {
|
|
5166
|
+
sourceFileName?: string | undefined;
|
|
5167
|
+
title?: string | undefined;
|
|
5168
|
+
previewUrl?: string | undefined;
|
|
5169
|
+
valid?: boolean | undefined;
|
|
5170
|
+
referenceId?: string | undefined;
|
|
5171
|
+
assetId?: string | undefined;
|
|
5172
|
+
assetScale?: number | undefined;
|
|
5173
|
+
width?: number | undefined;
|
|
5174
|
+
height?: number | undefined;
|
|
5175
|
+
} | undefined;
|
|
5176
|
+
};
|
|
5177
|
+
url?: string | undefined;
|
|
5178
|
+
}, {
|
|
5179
|
+
type: "figmaFrame";
|
|
5180
|
+
figmaFrame: {
|
|
5181
|
+
persistentId: string;
|
|
5182
|
+
sourceId: string;
|
|
5183
|
+
sourceFrameId: string;
|
|
5184
|
+
title?: string | null | undefined;
|
|
5185
|
+
description?: string | null | undefined;
|
|
5186
|
+
backgroundColor?: {
|
|
5187
|
+
value: string;
|
|
5188
|
+
} | null | undefined;
|
|
5189
|
+
origin?: {
|
|
5190
|
+
sourceFileName?: string | null | undefined;
|
|
5191
|
+
title?: string | null | undefined;
|
|
5192
|
+
previewUrl?: string | null | undefined;
|
|
5193
|
+
valid?: boolean | null | undefined;
|
|
5194
|
+
referenceId?: string | null | undefined;
|
|
5195
|
+
assetId?: string | null | undefined;
|
|
5196
|
+
assetScale?: number | null | undefined;
|
|
5197
|
+
width?: number | null | undefined;
|
|
5198
|
+
height?: number | null | undefined;
|
|
5199
|
+
} | null | undefined;
|
|
5200
|
+
};
|
|
5201
|
+
url?: string | undefined;
|
|
5202
|
+
}>]>>>;
|
|
5203
|
+
backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
|
|
5204
|
+
showBackgroundOverlay: z.ZodBoolean;
|
|
5205
|
+
showCoverText: z.ZodBoolean;
|
|
5206
|
+
minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5207
|
+
}, "strip", z.ZodTypeAny, {
|
|
5208
|
+
description: string;
|
|
5209
|
+
alignment: "Center" | "Left";
|
|
5210
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
5211
|
+
showBackgroundOverlay: boolean;
|
|
5212
|
+
showCoverText: boolean;
|
|
5213
|
+
foregroundColor?: {
|
|
5214
|
+
aliasTo?: string | undefined;
|
|
5215
|
+
value?: {
|
|
5216
|
+
opacity: {
|
|
5217
|
+
aliasTo?: string | undefined;
|
|
5218
|
+
value?: {
|
|
5219
|
+
unit: "Pixels" | "Raw";
|
|
5220
|
+
measure: number;
|
|
5221
|
+
} | undefined;
|
|
5222
|
+
};
|
|
5223
|
+
color: (string | {
|
|
5224
|
+
aliasTo?: string | undefined;
|
|
5225
|
+
}) & (string | {
|
|
5226
|
+
aliasTo?: string | undefined;
|
|
5227
|
+
} | undefined);
|
|
5228
|
+
} | undefined;
|
|
5229
|
+
} | null | undefined;
|
|
5230
|
+
backgroundColor?: {
|
|
5231
|
+
aliasTo?: string | undefined;
|
|
5232
|
+
value?: {
|
|
5233
|
+
opacity: {
|
|
5234
|
+
aliasTo?: string | undefined;
|
|
5235
|
+
value?: {
|
|
5236
|
+
unit: "Pixels" | "Raw";
|
|
5237
|
+
measure: number;
|
|
5238
|
+
} | undefined;
|
|
5239
|
+
};
|
|
5240
|
+
color: (string | {
|
|
5241
|
+
aliasTo?: string | undefined;
|
|
5242
|
+
}) & (string | {
|
|
5243
|
+
aliasTo?: string | undefined;
|
|
5244
|
+
} | undefined);
|
|
5245
|
+
} | undefined;
|
|
5246
|
+
} | null | undefined;
|
|
5247
|
+
backgroundImageAsset?: {
|
|
5248
|
+
id: string;
|
|
5249
|
+
type: "image";
|
|
5250
|
+
url?: string | undefined;
|
|
5251
|
+
} | {
|
|
5252
|
+
type: "figmaFrame";
|
|
5253
|
+
figmaFrame: {
|
|
5254
|
+
persistentId: string;
|
|
5255
|
+
sourceId: string;
|
|
5256
|
+
sourceFrameId: string;
|
|
5257
|
+
title?: string | undefined;
|
|
5258
|
+
description?: string | undefined;
|
|
5259
|
+
backgroundColor?: {
|
|
5260
|
+
value: string;
|
|
5261
|
+
} | undefined;
|
|
5262
|
+
origin?: {
|
|
5263
|
+
sourceFileName?: string | undefined;
|
|
5264
|
+
title?: string | undefined;
|
|
5265
|
+
previewUrl?: string | undefined;
|
|
5266
|
+
valid?: boolean | undefined;
|
|
5267
|
+
referenceId?: string | undefined;
|
|
5268
|
+
assetId?: string | undefined;
|
|
5269
|
+
assetScale?: number | undefined;
|
|
5270
|
+
width?: number | undefined;
|
|
5271
|
+
height?: number | undefined;
|
|
5272
|
+
} | undefined;
|
|
5273
|
+
};
|
|
5274
|
+
url?: string | undefined;
|
|
5275
|
+
} | null | undefined;
|
|
5276
|
+
minHeight?: number | null | undefined;
|
|
5277
|
+
}, {
|
|
5278
|
+
description: string;
|
|
5279
|
+
alignment: "Center" | "Left";
|
|
5280
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
5281
|
+
showBackgroundOverlay: boolean;
|
|
5282
|
+
showCoverText: boolean;
|
|
5283
|
+
foregroundColor?: {
|
|
5284
|
+
aliasTo?: string | null | undefined;
|
|
5285
|
+
value?: {
|
|
5286
|
+
opacity: {
|
|
5287
|
+
aliasTo?: string | null | undefined;
|
|
5288
|
+
value?: {
|
|
5289
|
+
unit: "Pixels" | "Raw";
|
|
5290
|
+
measure: number;
|
|
5291
|
+
} | null | undefined;
|
|
5292
|
+
};
|
|
5293
|
+
color: (string | {
|
|
5294
|
+
aliasTo?: string | null | undefined;
|
|
5295
|
+
}) & (string | {
|
|
5296
|
+
aliasTo?: string | null | undefined;
|
|
5297
|
+
} | undefined);
|
|
5298
|
+
} | null | undefined;
|
|
5299
|
+
} | null | undefined;
|
|
5300
|
+
backgroundColor?: {
|
|
5301
|
+
aliasTo?: string | null | undefined;
|
|
5302
|
+
value?: {
|
|
5303
|
+
opacity: {
|
|
5304
|
+
aliasTo?: string | null | undefined;
|
|
5305
|
+
value?: {
|
|
5306
|
+
unit: "Pixels" | "Raw";
|
|
5307
|
+
measure: number;
|
|
5308
|
+
} | null | undefined;
|
|
5309
|
+
};
|
|
5310
|
+
color: (string | {
|
|
5311
|
+
aliasTo?: string | null | undefined;
|
|
5312
|
+
}) & (string | {
|
|
5313
|
+
aliasTo?: string | null | undefined;
|
|
5314
|
+
} | undefined);
|
|
5315
|
+
} | null | undefined;
|
|
5316
|
+
} | null | undefined;
|
|
5317
|
+
backgroundImageAsset?: {
|
|
5318
|
+
id: string;
|
|
5319
|
+
type: "image";
|
|
5320
|
+
url?: string | undefined;
|
|
5321
|
+
} | {
|
|
5322
|
+
type: "figmaFrame";
|
|
5323
|
+
figmaFrame: {
|
|
5324
|
+
persistentId: string;
|
|
5325
|
+
sourceId: string;
|
|
5326
|
+
sourceFrameId: string;
|
|
5327
|
+
title?: string | null | undefined;
|
|
5328
|
+
description?: string | null | undefined;
|
|
5329
|
+
backgroundColor?: {
|
|
5330
|
+
value: string;
|
|
5331
|
+
} | null | undefined;
|
|
5332
|
+
origin?: {
|
|
5333
|
+
sourceFileName?: string | null | undefined;
|
|
5334
|
+
title?: string | null | undefined;
|
|
5335
|
+
previewUrl?: string | null | undefined;
|
|
5336
|
+
valid?: boolean | null | undefined;
|
|
5337
|
+
referenceId?: string | null | undefined;
|
|
5338
|
+
assetId?: string | null | undefined;
|
|
5339
|
+
assetScale?: number | null | undefined;
|
|
5340
|
+
width?: number | null | undefined;
|
|
5341
|
+
height?: number | null | undefined;
|
|
5342
|
+
} | null | undefined;
|
|
5343
|
+
};
|
|
5344
|
+
url?: string | undefined;
|
|
5345
|
+
} | null | undefined;
|
|
5346
|
+
minHeight?: number | null | undefined;
|
|
5347
|
+
}>;
|
|
5348
|
+
}, "strip", z.ZodTypeAny, {
|
|
5349
|
+
showSidebar: boolean;
|
|
5350
|
+
header: {
|
|
5351
|
+
description: string;
|
|
5352
|
+
alignment: "Center" | "Left";
|
|
5353
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
5354
|
+
showBackgroundOverlay: boolean;
|
|
5355
|
+
showCoverText: boolean;
|
|
5356
|
+
foregroundColor?: {
|
|
5357
|
+
aliasTo?: string | undefined;
|
|
5358
|
+
value?: {
|
|
5359
|
+
opacity: {
|
|
5360
|
+
aliasTo?: string | undefined;
|
|
5361
|
+
value?: {
|
|
5362
|
+
unit: "Pixels" | "Raw";
|
|
5363
|
+
measure: number;
|
|
5364
|
+
} | undefined;
|
|
5365
|
+
};
|
|
5366
|
+
color: (string | {
|
|
5367
|
+
aliasTo?: string | undefined;
|
|
5368
|
+
}) & (string | {
|
|
5369
|
+
aliasTo?: string | undefined;
|
|
5370
|
+
} | undefined);
|
|
5371
|
+
} | undefined;
|
|
5372
|
+
} | null | undefined;
|
|
5373
|
+
backgroundColor?: {
|
|
5374
|
+
aliasTo?: string | undefined;
|
|
5375
|
+
value?: {
|
|
5376
|
+
opacity: {
|
|
5377
|
+
aliasTo?: string | undefined;
|
|
5378
|
+
value?: {
|
|
5379
|
+
unit: "Pixels" | "Raw";
|
|
5380
|
+
measure: number;
|
|
5381
|
+
} | undefined;
|
|
5382
|
+
};
|
|
5383
|
+
color: (string | {
|
|
5384
|
+
aliasTo?: string | undefined;
|
|
5385
|
+
}) & (string | {
|
|
5386
|
+
aliasTo?: string | undefined;
|
|
5387
|
+
} | undefined);
|
|
5388
|
+
} | undefined;
|
|
5389
|
+
} | null | undefined;
|
|
5390
|
+
backgroundImageAsset?: {
|
|
5391
|
+
id: string;
|
|
5392
|
+
type: "image";
|
|
5393
|
+
url?: string | undefined;
|
|
5394
|
+
} | {
|
|
5395
|
+
type: "figmaFrame";
|
|
5396
|
+
figmaFrame: {
|
|
5397
|
+
persistentId: string;
|
|
5398
|
+
sourceId: string;
|
|
5399
|
+
sourceFrameId: string;
|
|
5400
|
+
title?: string | undefined;
|
|
5401
|
+
description?: string | undefined;
|
|
5402
|
+
backgroundColor?: {
|
|
5403
|
+
value: string;
|
|
5404
|
+
} | undefined;
|
|
5405
|
+
origin?: {
|
|
5406
|
+
sourceFileName?: string | undefined;
|
|
5407
|
+
title?: string | undefined;
|
|
5408
|
+
previewUrl?: string | undefined;
|
|
5409
|
+
valid?: boolean | undefined;
|
|
5410
|
+
referenceId?: string | undefined;
|
|
5411
|
+
assetId?: string | undefined;
|
|
5412
|
+
assetScale?: number | undefined;
|
|
5413
|
+
width?: number | undefined;
|
|
5414
|
+
height?: number | undefined;
|
|
5415
|
+
} | undefined;
|
|
5416
|
+
};
|
|
5417
|
+
url?: string | undefined;
|
|
5418
|
+
} | null | undefined;
|
|
5419
|
+
minHeight?: number | null | undefined;
|
|
5420
|
+
};
|
|
5421
|
+
}, {
|
|
5422
|
+
showSidebar: boolean;
|
|
5423
|
+
header: {
|
|
5424
|
+
description: string;
|
|
5425
|
+
alignment: "Center" | "Left";
|
|
5426
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
5427
|
+
showBackgroundOverlay: boolean;
|
|
5428
|
+
showCoverText: boolean;
|
|
5429
|
+
foregroundColor?: {
|
|
5430
|
+
aliasTo?: string | null | undefined;
|
|
5431
|
+
value?: {
|
|
5432
|
+
opacity: {
|
|
5433
|
+
aliasTo?: string | null | undefined;
|
|
5434
|
+
value?: {
|
|
5435
|
+
unit: "Pixels" | "Raw";
|
|
5436
|
+
measure: number;
|
|
5437
|
+
} | null | undefined;
|
|
5438
|
+
};
|
|
5439
|
+
color: (string | {
|
|
5440
|
+
aliasTo?: string | null | undefined;
|
|
5441
|
+
}) & (string | {
|
|
5442
|
+
aliasTo?: string | null | undefined;
|
|
5443
|
+
} | undefined);
|
|
5444
|
+
} | null | undefined;
|
|
5445
|
+
} | null | undefined;
|
|
5446
|
+
backgroundColor?: {
|
|
5447
|
+
aliasTo?: string | null | undefined;
|
|
5448
|
+
value?: {
|
|
5449
|
+
opacity: {
|
|
5450
|
+
aliasTo?: string | null | undefined;
|
|
5451
|
+
value?: {
|
|
5452
|
+
unit: "Pixels" | "Raw";
|
|
5453
|
+
measure: number;
|
|
5454
|
+
} | null | undefined;
|
|
5455
|
+
};
|
|
5456
|
+
color: (string | {
|
|
5457
|
+
aliasTo?: string | null | undefined;
|
|
5458
|
+
}) & (string | {
|
|
5459
|
+
aliasTo?: string | null | undefined;
|
|
5460
|
+
} | undefined);
|
|
5461
|
+
} | null | undefined;
|
|
5462
|
+
} | null | undefined;
|
|
5463
|
+
backgroundImageAsset?: {
|
|
5464
|
+
id: string;
|
|
5465
|
+
type: "image";
|
|
5466
|
+
url?: string | undefined;
|
|
5467
|
+
} | {
|
|
5468
|
+
type: "figmaFrame";
|
|
5469
|
+
figmaFrame: {
|
|
5470
|
+
persistentId: string;
|
|
5471
|
+
sourceId: string;
|
|
5472
|
+
sourceFrameId: string;
|
|
5473
|
+
title?: string | null | undefined;
|
|
5474
|
+
description?: string | null | undefined;
|
|
5475
|
+
backgroundColor?: {
|
|
5476
|
+
value: string;
|
|
5477
|
+
} | null | undefined;
|
|
5478
|
+
origin?: {
|
|
5479
|
+
sourceFileName?: string | null | undefined;
|
|
5480
|
+
title?: string | null | undefined;
|
|
5481
|
+
previewUrl?: string | null | undefined;
|
|
5482
|
+
valid?: boolean | null | undefined;
|
|
5483
|
+
referenceId?: string | null | undefined;
|
|
5484
|
+
assetId?: string | null | undefined;
|
|
5485
|
+
assetScale?: number | null | undefined;
|
|
5486
|
+
width?: number | null | undefined;
|
|
5487
|
+
height?: number | null | undefined;
|
|
5488
|
+
} | null | undefined;
|
|
5489
|
+
};
|
|
5490
|
+
url?: string | undefined;
|
|
5491
|
+
} | null | undefined;
|
|
5492
|
+
minHeight?: number | null | undefined;
|
|
5493
|
+
};
|
|
5494
|
+
}>>;
|
|
5495
|
+
parentPersistentId: z.ZodOptional<z.ZodString>;
|
|
5496
|
+
afterPersistentId: z.ZodOptional<z.ZodString>;
|
|
5497
|
+
}, "strip", z.ZodTypeAny, {
|
|
5498
|
+
id: string;
|
|
5499
|
+
title?: string | undefined;
|
|
5500
|
+
configuration?: {
|
|
5501
|
+
showSidebar: boolean;
|
|
5502
|
+
header: {
|
|
5503
|
+
description: string;
|
|
5504
|
+
alignment: "Center" | "Left";
|
|
5505
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
5506
|
+
showBackgroundOverlay: boolean;
|
|
5507
|
+
showCoverText: boolean;
|
|
5508
|
+
foregroundColor?: {
|
|
5509
|
+
aliasTo?: string | undefined;
|
|
5510
|
+
value?: {
|
|
5511
|
+
opacity: {
|
|
5512
|
+
aliasTo?: string | undefined;
|
|
5513
|
+
value?: {
|
|
5514
|
+
unit: "Pixels" | "Raw";
|
|
5515
|
+
measure: number;
|
|
5516
|
+
} | undefined;
|
|
5517
|
+
};
|
|
5518
|
+
color: (string | {
|
|
5519
|
+
aliasTo?: string | undefined;
|
|
5520
|
+
}) & (string | {
|
|
5521
|
+
aliasTo?: string | undefined;
|
|
5522
|
+
} | undefined);
|
|
5523
|
+
} | undefined;
|
|
5524
|
+
} | null | undefined;
|
|
5525
|
+
backgroundColor?: {
|
|
5526
|
+
aliasTo?: string | undefined;
|
|
5527
|
+
value?: {
|
|
5528
|
+
opacity: {
|
|
5529
|
+
aliasTo?: string | undefined;
|
|
5530
|
+
value?: {
|
|
5531
|
+
unit: "Pixels" | "Raw";
|
|
5532
|
+
measure: number;
|
|
5533
|
+
} | undefined;
|
|
5534
|
+
};
|
|
5535
|
+
color: (string | {
|
|
5536
|
+
aliasTo?: string | undefined;
|
|
5537
|
+
}) & (string | {
|
|
5538
|
+
aliasTo?: string | undefined;
|
|
5539
|
+
} | undefined);
|
|
5540
|
+
} | undefined;
|
|
5541
|
+
} | null | undefined;
|
|
5542
|
+
backgroundImageAsset?: {
|
|
5543
|
+
id: string;
|
|
5544
|
+
type: "image";
|
|
5545
|
+
url?: string | undefined;
|
|
5546
|
+
} | {
|
|
5547
|
+
type: "figmaFrame";
|
|
5548
|
+
figmaFrame: {
|
|
5549
|
+
persistentId: string;
|
|
5550
|
+
sourceId: string;
|
|
5551
|
+
sourceFrameId: string;
|
|
5552
|
+
title?: string | undefined;
|
|
5553
|
+
description?: string | undefined;
|
|
5554
|
+
backgroundColor?: {
|
|
5555
|
+
value: string;
|
|
5556
|
+
} | undefined;
|
|
5557
|
+
origin?: {
|
|
5558
|
+
sourceFileName?: string | undefined;
|
|
5559
|
+
title?: string | undefined;
|
|
5560
|
+
previewUrl?: string | undefined;
|
|
5561
|
+
valid?: boolean | undefined;
|
|
5562
|
+
referenceId?: string | undefined;
|
|
5563
|
+
assetId?: string | undefined;
|
|
5564
|
+
assetScale?: number | undefined;
|
|
5565
|
+
width?: number | undefined;
|
|
5566
|
+
height?: number | undefined;
|
|
5567
|
+
} | undefined;
|
|
5568
|
+
};
|
|
5569
|
+
url?: string | undefined;
|
|
5570
|
+
} | null | undefined;
|
|
5571
|
+
minHeight?: number | null | undefined;
|
|
5572
|
+
};
|
|
5573
|
+
} | undefined;
|
|
5574
|
+
parentPersistentId?: string | undefined;
|
|
5575
|
+
afterPersistentId?: string | undefined;
|
|
5576
|
+
}, {
|
|
5577
|
+
id: string;
|
|
5578
|
+
title?: string | undefined;
|
|
5579
|
+
configuration?: {
|
|
5580
|
+
showSidebar: boolean;
|
|
5581
|
+
header: {
|
|
5582
|
+
description: string;
|
|
5583
|
+
alignment: "Center" | "Left";
|
|
5584
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
5585
|
+
showBackgroundOverlay: boolean;
|
|
5586
|
+
showCoverText: boolean;
|
|
5587
|
+
foregroundColor?: {
|
|
5588
|
+
aliasTo?: string | null | undefined;
|
|
5589
|
+
value?: {
|
|
5590
|
+
opacity: {
|
|
5591
|
+
aliasTo?: string | null | undefined;
|
|
5592
|
+
value?: {
|
|
5593
|
+
unit: "Pixels" | "Raw";
|
|
5594
|
+
measure: number;
|
|
5595
|
+
} | null | undefined;
|
|
5596
|
+
};
|
|
5597
|
+
color: (string | {
|
|
5598
|
+
aliasTo?: string | null | undefined;
|
|
5599
|
+
}) & (string | {
|
|
5600
|
+
aliasTo?: string | null | undefined;
|
|
5601
|
+
} | undefined);
|
|
5602
|
+
} | null | undefined;
|
|
5603
|
+
} | null | undefined;
|
|
5604
|
+
backgroundColor?: {
|
|
5605
|
+
aliasTo?: string | null | undefined;
|
|
5606
|
+
value?: {
|
|
5607
|
+
opacity: {
|
|
5608
|
+
aliasTo?: string | null | undefined;
|
|
5609
|
+
value?: {
|
|
5610
|
+
unit: "Pixels" | "Raw";
|
|
5611
|
+
measure: number;
|
|
5612
|
+
} | null | undefined;
|
|
5613
|
+
};
|
|
5614
|
+
color: (string | {
|
|
5615
|
+
aliasTo?: string | null | undefined;
|
|
5616
|
+
}) & (string | {
|
|
5617
|
+
aliasTo?: string | null | undefined;
|
|
5618
|
+
} | undefined);
|
|
5619
|
+
} | null | undefined;
|
|
5620
|
+
} | null | undefined;
|
|
5621
|
+
backgroundImageAsset?: {
|
|
5622
|
+
id: string;
|
|
5623
|
+
type: "image";
|
|
5624
|
+
url?: string | undefined;
|
|
5625
|
+
} | {
|
|
5626
|
+
type: "figmaFrame";
|
|
5627
|
+
figmaFrame: {
|
|
5628
|
+
persistentId: string;
|
|
5629
|
+
sourceId: string;
|
|
5630
|
+
sourceFrameId: string;
|
|
5631
|
+
title?: string | null | undefined;
|
|
5632
|
+
description?: string | null | undefined;
|
|
5633
|
+
backgroundColor?: {
|
|
5634
|
+
value: string;
|
|
5635
|
+
} | null | undefined;
|
|
5636
|
+
origin?: {
|
|
5637
|
+
sourceFileName?: string | null | undefined;
|
|
5638
|
+
title?: string | null | undefined;
|
|
5639
|
+
previewUrl?: string | null | undefined;
|
|
5640
|
+
valid?: boolean | null | undefined;
|
|
5641
|
+
referenceId?: string | null | undefined;
|
|
5642
|
+
assetId?: string | null | undefined;
|
|
5643
|
+
assetScale?: number | null | undefined;
|
|
5644
|
+
width?: number | null | undefined;
|
|
5645
|
+
height?: number | null | undefined;
|
|
5646
|
+
} | null | undefined;
|
|
5647
|
+
};
|
|
5648
|
+
url?: string | undefined;
|
|
5649
|
+
} | null | undefined;
|
|
5650
|
+
minHeight?: number | null | undefined;
|
|
5651
|
+
};
|
|
5652
|
+
} | undefined;
|
|
5653
|
+
parentPersistentId?: string | undefined;
|
|
5654
|
+
afterPersistentId?: string | undefined;
|
|
5655
|
+
}>, "many">>;
|
|
5656
|
+
duplicate: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5657
|
+
id: z.ZodString;
|
|
5658
|
+
persistentId: z.ZodString;
|
|
5659
|
+
parentPersistentId: z.ZodString;
|
|
5660
|
+
afterPersistentId: z.ZodOptional<z.ZodString>;
|
|
5661
|
+
}, "strip", z.ZodTypeAny, {
|
|
5662
|
+
id: string;
|
|
5663
|
+
persistentId: string;
|
|
5664
|
+
parentPersistentId: string;
|
|
5665
|
+
afterPersistentId?: string | undefined;
|
|
5666
|
+
}, {
|
|
5667
|
+
id: string;
|
|
5668
|
+
persistentId: string;
|
|
5669
|
+
parentPersistentId: string;
|
|
5670
|
+
afterPersistentId?: string | undefined;
|
|
5671
|
+
}>, "many">>;
|
|
5672
|
+
delete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5673
|
+
}, "strip", z.ZodTypeAny, {
|
|
5674
|
+
create?: {
|
|
5675
|
+
persistentId: string;
|
|
5676
|
+
parentPersistentId: string;
|
|
5677
|
+
title: string;
|
|
5678
|
+
configuration?: {
|
|
5679
|
+
showSidebar: boolean;
|
|
5680
|
+
header: {
|
|
5681
|
+
description: string;
|
|
5682
|
+
alignment: "Center" | "Left";
|
|
5683
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
5684
|
+
showBackgroundOverlay: boolean;
|
|
5685
|
+
showCoverText: boolean;
|
|
5686
|
+
foregroundColor?: {
|
|
5687
|
+
aliasTo?: string | undefined;
|
|
5688
|
+
value?: {
|
|
5689
|
+
opacity: {
|
|
5690
|
+
aliasTo?: string | undefined;
|
|
5691
|
+
value?: {
|
|
5692
|
+
unit: "Pixels" | "Raw";
|
|
5693
|
+
measure: number;
|
|
5694
|
+
} | undefined;
|
|
5695
|
+
};
|
|
5696
|
+
color: (string | {
|
|
5697
|
+
aliasTo?: string | undefined;
|
|
5698
|
+
}) & (string | {
|
|
5699
|
+
aliasTo?: string | undefined;
|
|
5700
|
+
} | undefined);
|
|
5701
|
+
} | undefined;
|
|
5702
|
+
} | null | undefined;
|
|
5703
|
+
backgroundColor?: {
|
|
5704
|
+
aliasTo?: string | undefined;
|
|
5705
|
+
value?: {
|
|
5706
|
+
opacity: {
|
|
5707
|
+
aliasTo?: string | undefined;
|
|
5708
|
+
value?: {
|
|
5709
|
+
unit: "Pixels" | "Raw";
|
|
5710
|
+
measure: number;
|
|
5711
|
+
} | undefined;
|
|
5712
|
+
};
|
|
5713
|
+
color: (string | {
|
|
5714
|
+
aliasTo?: string | undefined;
|
|
5715
|
+
}) & (string | {
|
|
5716
|
+
aliasTo?: string | undefined;
|
|
5717
|
+
} | undefined);
|
|
5718
|
+
} | undefined;
|
|
5719
|
+
} | null | undefined;
|
|
5720
|
+
backgroundImageAsset?: {
|
|
5721
|
+
id: string;
|
|
5722
|
+
type: "image";
|
|
5723
|
+
url?: string | undefined;
|
|
5724
|
+
} | {
|
|
5725
|
+
type: "figmaFrame";
|
|
5726
|
+
figmaFrame: {
|
|
5727
|
+
persistentId: string;
|
|
5728
|
+
sourceId: string;
|
|
5729
|
+
sourceFrameId: string;
|
|
5730
|
+
title?: string | undefined;
|
|
5731
|
+
description?: string | undefined;
|
|
5732
|
+
backgroundColor?: {
|
|
5733
|
+
value: string;
|
|
5734
|
+
} | undefined;
|
|
5735
|
+
origin?: {
|
|
5736
|
+
sourceFileName?: string | undefined;
|
|
5737
|
+
title?: string | undefined;
|
|
5738
|
+
previewUrl?: string | undefined;
|
|
5739
|
+
valid?: boolean | undefined;
|
|
5740
|
+
referenceId?: string | undefined;
|
|
5741
|
+
assetId?: string | undefined;
|
|
5742
|
+
assetScale?: number | undefined;
|
|
5743
|
+
width?: number | undefined;
|
|
5744
|
+
height?: number | undefined;
|
|
5745
|
+
} | undefined;
|
|
5746
|
+
};
|
|
5747
|
+
url?: string | undefined;
|
|
5748
|
+
} | null | undefined;
|
|
5749
|
+
minHeight?: number | null | undefined;
|
|
5750
|
+
};
|
|
5751
|
+
} | undefined;
|
|
5752
|
+
afterPersistentId?: string | undefined;
|
|
5753
|
+
}[] | undefined;
|
|
5754
|
+
update?: {
|
|
5755
|
+
id: string;
|
|
5756
|
+
title?: string | undefined;
|
|
5757
|
+
configuration?: {
|
|
5758
|
+
showSidebar: boolean;
|
|
5759
|
+
header: {
|
|
5760
|
+
description: string;
|
|
5761
|
+
alignment: "Center" | "Left";
|
|
5762
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
5763
|
+
showBackgroundOverlay: boolean;
|
|
5764
|
+
showCoverText: boolean;
|
|
5765
|
+
foregroundColor?: {
|
|
5766
|
+
aliasTo?: string | undefined;
|
|
5767
|
+
value?: {
|
|
5768
|
+
opacity: {
|
|
5769
|
+
aliasTo?: string | undefined;
|
|
5770
|
+
value?: {
|
|
5771
|
+
unit: "Pixels" | "Raw";
|
|
5772
|
+
measure: number;
|
|
5773
|
+
} | undefined;
|
|
5774
|
+
};
|
|
5775
|
+
color: (string | {
|
|
5776
|
+
aliasTo?: string | undefined;
|
|
5777
|
+
}) & (string | {
|
|
5778
|
+
aliasTo?: string | undefined;
|
|
5779
|
+
} | undefined);
|
|
5780
|
+
} | undefined;
|
|
5781
|
+
} | null | undefined;
|
|
5782
|
+
backgroundColor?: {
|
|
5783
|
+
aliasTo?: string | undefined;
|
|
5784
|
+
value?: {
|
|
5785
|
+
opacity: {
|
|
5786
|
+
aliasTo?: string | undefined;
|
|
5787
|
+
value?: {
|
|
5788
|
+
unit: "Pixels" | "Raw";
|
|
5789
|
+
measure: number;
|
|
5790
|
+
} | undefined;
|
|
5791
|
+
};
|
|
5792
|
+
color: (string | {
|
|
5793
|
+
aliasTo?: string | undefined;
|
|
5794
|
+
}) & (string | {
|
|
5795
|
+
aliasTo?: string | undefined;
|
|
5796
|
+
} | undefined);
|
|
5797
|
+
} | undefined;
|
|
5798
|
+
} | null | undefined;
|
|
5799
|
+
backgroundImageAsset?: {
|
|
5800
|
+
id: string;
|
|
5801
|
+
type: "image";
|
|
5802
|
+
url?: string | undefined;
|
|
5803
|
+
} | {
|
|
5804
|
+
type: "figmaFrame";
|
|
5805
|
+
figmaFrame: {
|
|
5806
|
+
persistentId: string;
|
|
5807
|
+
sourceId: string;
|
|
5808
|
+
sourceFrameId: string;
|
|
5809
|
+
title?: string | undefined;
|
|
5810
|
+
description?: string | undefined;
|
|
5811
|
+
backgroundColor?: {
|
|
5812
|
+
value: string;
|
|
5813
|
+
} | undefined;
|
|
5814
|
+
origin?: {
|
|
5815
|
+
sourceFileName?: string | undefined;
|
|
5816
|
+
title?: string | undefined;
|
|
5817
|
+
previewUrl?: string | undefined;
|
|
5818
|
+
valid?: boolean | undefined;
|
|
5819
|
+
referenceId?: string | undefined;
|
|
5820
|
+
assetId?: string | undefined;
|
|
5821
|
+
assetScale?: number | undefined;
|
|
5822
|
+
width?: number | undefined;
|
|
5823
|
+
height?: number | undefined;
|
|
5824
|
+
} | undefined;
|
|
5825
|
+
};
|
|
5826
|
+
url?: string | undefined;
|
|
5827
|
+
} | null | undefined;
|
|
5828
|
+
minHeight?: number | null | undefined;
|
|
5829
|
+
};
|
|
5830
|
+
} | undefined;
|
|
5831
|
+
parentPersistentId?: string | undefined;
|
|
5832
|
+
afterPersistentId?: string | undefined;
|
|
5833
|
+
}[] | undefined;
|
|
5834
|
+
duplicate?: {
|
|
5835
|
+
id: string;
|
|
5836
|
+
persistentId: string;
|
|
5837
|
+
parentPersistentId: string;
|
|
5838
|
+
afterPersistentId?: string | undefined;
|
|
5839
|
+
}[] | undefined;
|
|
5840
|
+
delete?: string[] | undefined;
|
|
5841
|
+
}, {
|
|
5842
|
+
create?: {
|
|
5843
|
+
persistentId: string;
|
|
5844
|
+
parentPersistentId: string;
|
|
5845
|
+
title: string;
|
|
5846
|
+
configuration?: {
|
|
5847
|
+
showSidebar: boolean;
|
|
5848
|
+
header: {
|
|
5849
|
+
description: string;
|
|
5850
|
+
alignment: "Center" | "Left";
|
|
5851
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
5852
|
+
showBackgroundOverlay: boolean;
|
|
5853
|
+
showCoverText: boolean;
|
|
5854
|
+
foregroundColor?: {
|
|
5855
|
+
aliasTo?: string | null | undefined;
|
|
5856
|
+
value?: {
|
|
5857
|
+
opacity: {
|
|
5858
|
+
aliasTo?: string | null | undefined;
|
|
5859
|
+
value?: {
|
|
5860
|
+
unit: "Pixels" | "Raw";
|
|
5861
|
+
measure: number;
|
|
5862
|
+
} | null | undefined;
|
|
5863
|
+
};
|
|
5864
|
+
color: (string | {
|
|
5865
|
+
aliasTo?: string | null | undefined;
|
|
5866
|
+
}) & (string | {
|
|
5867
|
+
aliasTo?: string | null | undefined;
|
|
5868
|
+
} | undefined);
|
|
5869
|
+
} | null | undefined;
|
|
5870
|
+
} | null | undefined;
|
|
5871
|
+
backgroundColor?: {
|
|
5872
|
+
aliasTo?: string | null | undefined;
|
|
5873
|
+
value?: {
|
|
5874
|
+
opacity: {
|
|
5875
|
+
aliasTo?: string | null | undefined;
|
|
5876
|
+
value?: {
|
|
5877
|
+
unit: "Pixels" | "Raw";
|
|
5878
|
+
measure: number;
|
|
5879
|
+
} | null | undefined;
|
|
5880
|
+
};
|
|
5881
|
+
color: (string | {
|
|
5882
|
+
aliasTo?: string | null | undefined;
|
|
5883
|
+
}) & (string | {
|
|
5884
|
+
aliasTo?: string | null | undefined;
|
|
5885
|
+
} | undefined);
|
|
5886
|
+
} | null | undefined;
|
|
5887
|
+
} | null | undefined;
|
|
5888
|
+
backgroundImageAsset?: {
|
|
5889
|
+
id: string;
|
|
5890
|
+
type: "image";
|
|
5891
|
+
url?: string | undefined;
|
|
5892
|
+
} | {
|
|
5893
|
+
type: "figmaFrame";
|
|
5894
|
+
figmaFrame: {
|
|
5895
|
+
persistentId: string;
|
|
5896
|
+
sourceId: string;
|
|
5897
|
+
sourceFrameId: string;
|
|
5898
|
+
title?: string | null | undefined;
|
|
5899
|
+
description?: string | null | undefined;
|
|
5900
|
+
backgroundColor?: {
|
|
5901
|
+
value: string;
|
|
5902
|
+
} | null | undefined;
|
|
5903
|
+
origin?: {
|
|
5904
|
+
sourceFileName?: string | null | undefined;
|
|
5905
|
+
title?: string | null | undefined;
|
|
5906
|
+
previewUrl?: string | null | undefined;
|
|
5907
|
+
valid?: boolean | null | undefined;
|
|
5908
|
+
referenceId?: string | null | undefined;
|
|
5909
|
+
assetId?: string | null | undefined;
|
|
5910
|
+
assetScale?: number | null | undefined;
|
|
5911
|
+
width?: number | null | undefined;
|
|
5912
|
+
height?: number | null | undefined;
|
|
5913
|
+
} | null | undefined;
|
|
5914
|
+
};
|
|
5915
|
+
url?: string | undefined;
|
|
5916
|
+
} | null | undefined;
|
|
5917
|
+
minHeight?: number | null | undefined;
|
|
5918
|
+
};
|
|
5919
|
+
} | undefined;
|
|
5920
|
+
afterPersistentId?: string | undefined;
|
|
5921
|
+
}[] | undefined;
|
|
5922
|
+
update?: {
|
|
5923
|
+
id: string;
|
|
5924
|
+
title?: string | undefined;
|
|
5925
|
+
configuration?: {
|
|
5926
|
+
showSidebar: boolean;
|
|
5927
|
+
header: {
|
|
5928
|
+
description: string;
|
|
5929
|
+
alignment: "Center" | "Left";
|
|
5930
|
+
backgroundImageScaleType: "AspectFill" | "AspectFit";
|
|
5931
|
+
showBackgroundOverlay: boolean;
|
|
5932
|
+
showCoverText: boolean;
|
|
5933
|
+
foregroundColor?: {
|
|
5934
|
+
aliasTo?: string | null | undefined;
|
|
5935
|
+
value?: {
|
|
5936
|
+
opacity: {
|
|
5937
|
+
aliasTo?: string | null | undefined;
|
|
5938
|
+
value?: {
|
|
5939
|
+
unit: "Pixels" | "Raw";
|
|
5940
|
+
measure: number;
|
|
5941
|
+
} | null | undefined;
|
|
5942
|
+
};
|
|
5943
|
+
color: (string | {
|
|
5944
|
+
aliasTo?: string | null | undefined;
|
|
5945
|
+
}) & (string | {
|
|
5946
|
+
aliasTo?: string | null | undefined;
|
|
5947
|
+
} | undefined);
|
|
5948
|
+
} | null | undefined;
|
|
5949
|
+
} | null | undefined;
|
|
5950
|
+
backgroundColor?: {
|
|
5951
|
+
aliasTo?: string | null | undefined;
|
|
5952
|
+
value?: {
|
|
5953
|
+
opacity: {
|
|
5954
|
+
aliasTo?: string | null | undefined;
|
|
5955
|
+
value?: {
|
|
5956
|
+
unit: "Pixels" | "Raw";
|
|
5957
|
+
measure: number;
|
|
5958
|
+
} | null | undefined;
|
|
5959
|
+
};
|
|
5960
|
+
color: (string | {
|
|
5961
|
+
aliasTo?: string | null | undefined;
|
|
5962
|
+
}) & (string | {
|
|
5963
|
+
aliasTo?: string | null | undefined;
|
|
5964
|
+
} | undefined);
|
|
5965
|
+
} | null | undefined;
|
|
5966
|
+
} | null | undefined;
|
|
5967
|
+
backgroundImageAsset?: {
|
|
5968
|
+
id: string;
|
|
5969
|
+
type: "image";
|
|
5970
|
+
url?: string | undefined;
|
|
5971
|
+
} | {
|
|
5972
|
+
type: "figmaFrame";
|
|
5973
|
+
figmaFrame: {
|
|
5974
|
+
persistentId: string;
|
|
5975
|
+
sourceId: string;
|
|
5976
|
+
sourceFrameId: string;
|
|
5977
|
+
title?: string | null | undefined;
|
|
5978
|
+
description?: string | null | undefined;
|
|
5979
|
+
backgroundColor?: {
|
|
5980
|
+
value: string;
|
|
5981
|
+
} | null | undefined;
|
|
5982
|
+
origin?: {
|
|
5983
|
+
sourceFileName?: string | null | undefined;
|
|
5984
|
+
title?: string | null | undefined;
|
|
5985
|
+
previewUrl?: string | null | undefined;
|
|
5986
|
+
valid?: boolean | null | undefined;
|
|
5987
|
+
referenceId?: string | null | undefined;
|
|
5988
|
+
assetId?: string | null | undefined;
|
|
5989
|
+
assetScale?: number | null | undefined;
|
|
5990
|
+
width?: number | null | undefined;
|
|
5991
|
+
height?: number | null | undefined;
|
|
5992
|
+
} | null | undefined;
|
|
5993
|
+
};
|
|
5994
|
+
url?: string | undefined;
|
|
5995
|
+
} | null | undefined;
|
|
5996
|
+
minHeight?: number | null | undefined;
|
|
5997
|
+
};
|
|
5998
|
+
} | undefined;
|
|
5999
|
+
parentPersistentId?: string | undefined;
|
|
6000
|
+
afterPersistentId?: string | undefined;
|
|
6001
|
+
}[] | undefined;
|
|
6002
|
+
duplicate?: {
|
|
6003
|
+
id: string;
|
|
6004
|
+
persistentId: string;
|
|
6005
|
+
parentPersistentId: string;
|
|
6006
|
+
afterPersistentId?: string | undefined;
|
|
6007
|
+
}[] | undefined;
|
|
6008
|
+
delete?: string[] | undefined;
|
|
6009
|
+
}>;
|
|
6010
|
+
type DTODocumentationTransactionInput = z.infer<typeof DTODocumentationTransactionInput>;
|
|
6011
|
+
declare const DTOElementsTransactionInput: z.ZodObject<{
|
|
4062
6012
|
documentationPages: z.ZodObject<{
|
|
4063
6013
|
create: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4064
6014
|
parentPersistentId: z.ZodString;
|
|
@@ -5656,7 +7606,6 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
5656
7606
|
parentPersistentId?: string | undefined;
|
|
5657
7607
|
afterPersistentId?: string | undefined;
|
|
5658
7608
|
}>, "many">>;
|
|
5659
|
-
delete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5660
7609
|
duplicate: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5661
7610
|
id: z.ZodString;
|
|
5662
7611
|
persistentId: z.ZodString;
|
|
@@ -5673,6 +7622,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
5673
7622
|
parentPersistentId: string;
|
|
5674
7623
|
afterPersistentId?: string | undefined;
|
|
5675
7624
|
}>, "many">>;
|
|
7625
|
+
delete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5676
7626
|
}, "strip", z.ZodTypeAny, {
|
|
5677
7627
|
create?: {
|
|
5678
7628
|
persistentId: string;
|
|
@@ -5834,13 +7784,13 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
5834
7784
|
parentPersistentId?: string | undefined;
|
|
5835
7785
|
afterPersistentId?: string | undefined;
|
|
5836
7786
|
}[] | undefined;
|
|
5837
|
-
delete?: string[] | undefined;
|
|
5838
7787
|
duplicate?: {
|
|
5839
7788
|
id: string;
|
|
5840
7789
|
persistentId: string;
|
|
5841
7790
|
parentPersistentId: string;
|
|
5842
7791
|
afterPersistentId?: string | undefined;
|
|
5843
7792
|
}[] | undefined;
|
|
7793
|
+
delete?: string[] | undefined;
|
|
5844
7794
|
}, {
|
|
5845
7795
|
create?: {
|
|
5846
7796
|
persistentId: string;
|
|
@@ -6002,13 +7952,13 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6002
7952
|
parentPersistentId?: string | undefined;
|
|
6003
7953
|
afterPersistentId?: string | undefined;
|
|
6004
7954
|
}[] | undefined;
|
|
6005
|
-
delete?: string[] | undefined;
|
|
6006
7955
|
duplicate?: {
|
|
6007
7956
|
id: string;
|
|
6008
7957
|
persistentId: string;
|
|
6009
7958
|
parentPersistentId: string;
|
|
6010
7959
|
afterPersistentId?: string | undefined;
|
|
6011
7960
|
}[] | undefined;
|
|
7961
|
+
delete?: string[] | undefined;
|
|
6012
7962
|
}>;
|
|
6013
7963
|
}, "strip", z.ZodTypeAny, {
|
|
6014
7964
|
documentationPages: {
|
|
@@ -6172,13 +8122,13 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6172
8122
|
parentPersistentId?: string | undefined;
|
|
6173
8123
|
afterPersistentId?: string | undefined;
|
|
6174
8124
|
}[] | undefined;
|
|
6175
|
-
delete?: string[] | undefined;
|
|
6176
8125
|
duplicate?: {
|
|
6177
8126
|
id: string;
|
|
6178
8127
|
persistentId: string;
|
|
6179
8128
|
parentPersistentId: string;
|
|
6180
8129
|
afterPersistentId?: string | undefined;
|
|
6181
8130
|
}[] | undefined;
|
|
8131
|
+
delete?: string[] | undefined;
|
|
6182
8132
|
};
|
|
6183
8133
|
}, {
|
|
6184
8134
|
documentationPages: {
|
|
@@ -6342,16 +8292,16 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6342
8292
|
parentPersistentId?: string | undefined;
|
|
6343
8293
|
afterPersistentId?: string | undefined;
|
|
6344
8294
|
}[] | undefined;
|
|
6345
|
-
delete?: string[] | undefined;
|
|
6346
8295
|
duplicate?: {
|
|
6347
8296
|
id: string;
|
|
6348
8297
|
persistentId: string;
|
|
6349
8298
|
parentPersistentId: string;
|
|
6350
8299
|
afterPersistentId?: string | undefined;
|
|
6351
8300
|
}[] | undefined;
|
|
8301
|
+
delete?: string[] | undefined;
|
|
6352
8302
|
};
|
|
6353
8303
|
}>;
|
|
6354
|
-
type
|
|
8304
|
+
type DTOElementsTransactionInput = z.infer<typeof DTOElementsTransactionInput>;
|
|
6355
8305
|
|
|
6356
8306
|
declare const PostLiveblocksAuth: z.ZodObject<{
|
|
6357
8307
|
room: z.ZodString;
|
|
@@ -6361,6 +8311,15 @@ declare const PostLiveblocksAuth: z.ZodObject<{
|
|
|
6361
8311
|
room: string;
|
|
6362
8312
|
}>;
|
|
6363
8313
|
|
|
8314
|
+
type DTODocumentationElementsTransactionOutput = {
|
|
8315
|
+
created: DTODocumentationPageV2[];
|
|
8316
|
+
updated: DTODocumentationPageV2[];
|
|
8317
|
+
deleted: string[];
|
|
8318
|
+
};
|
|
8319
|
+
type DTOElementsTransactionOutput = {
|
|
8320
|
+
documentationPages: DTODocumentationElementsTransactionOutput;
|
|
8321
|
+
};
|
|
8322
|
+
|
|
6364
8323
|
declare const GetBlockDefinitionsResponse: z.ZodObject<{
|
|
6365
8324
|
definitions: z.ZodArray<z.ZodObject<{
|
|
6366
8325
|
id: z.ZodString;
|
|
@@ -6905,13 +8864,17 @@ declare const GetBlockDefinitionsResponse: z.ZodObject<{
|
|
|
6905
8864
|
}>;
|
|
6906
8865
|
type GetBlockDefinitionsResponse = z.infer<typeof GetBlockDefinitionsResponse>;
|
|
6907
8866
|
|
|
6908
|
-
|
|
6909
|
-
|
|
8867
|
+
type ItemsToDelete = {
|
|
8868
|
+
pagePersistentIdsToDelete: string[];
|
|
8869
|
+
groupPersistentIdsToDelete: string[];
|
|
8870
|
+
};
|
|
8871
|
+
declare function documentationHierarchyToYjs(doc: Y.Doc, documentationHierarchy: DTODocumentationHierarchyV2, itemsToDelete: ItemsToDelete): Y.Doc;
|
|
8872
|
+
declare function yjsToDocumentationHierarchy(doc: Y.Doc): DTODocumentationHierarchyV2;
|
|
6910
8873
|
|
|
6911
8874
|
type UpdateDocumentationItemConfiguration = Partial<DocumentationItemConfiguration> & {
|
|
6912
8875
|
header?: Partial<DocumentationItemHeader>;
|
|
6913
8876
|
};
|
|
6914
|
-
declare function itemConfigurationToYjs(
|
|
8877
|
+
declare function itemConfigurationToYjs(yDoc: Y.Doc, item: UpdateDocumentationItemConfiguration): void;
|
|
6915
8878
|
declare function yjsToItemConfiguration(yDoc: Y.Doc): DocumentationItemConfiguration;
|
|
6916
8879
|
|
|
6917
8880
|
declare const PageBlockEditorModel: z.ZodObject<{
|
|
@@ -7527,4 +9490,4 @@ declare const BlockDefinitionUtils: {
|
|
|
7527
9490
|
};
|
|
7528
9491
|
};
|
|
7529
9492
|
|
|
7530
|
-
export { BlockDefinitionUtils, BlockParsingUtils,
|
|
9493
|
+
export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationPageInput, type DTODocumentationElementsTransactionOutput, DTODocumentationHierarchyV2, DTODocumentationPageStructureV2, DTODocumentationPageV2, DTODocumentationTransactionInput, DTODuplicateDocumentationPageInput, DTOElementsTransactionInput, type DTOElementsTransactionOutput, DTOUpdateDocumentationPageInput, DesignSystemDTO, DocumentationGroupDTO, DocumentationGroupStructureDTO, DocumentationPageEditorModel, DocumentationPageV1DTO, GetBlockDefinitionsResponse, PageBlockEditorModel, PostLiveblocksAuth, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, documentationHierarchyToYjs, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|