@supernova-studio/model 0.4.0 → 0.5.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.mjs CHANGED
@@ -353,7 +353,7 @@ var ImportJob = Entity.extend({
353
353
  });
354
354
 
355
355
  // src/dsm/data-sources/import-summary.ts
356
- import { z as z79 } from "zod";
356
+ import { z as z82 } from "zod";
357
357
 
358
358
  // src/dsm/elements/data/base.ts
359
359
  import { z as z18 } from "zod";
@@ -537,10 +537,8 @@ var DesignElement = ShallowDesignElement.extend({
537
537
  createdAt: z27.date(),
538
538
  updatedAt: z27.date(),
539
539
  exportProperties: DesignSystemElementExportProps.optional(),
540
- data: z27.any(),
541
- // TODO this should be an object, not any.
542
- origin: z27.any().optional()
543
- // TODO object, not any.
540
+ data: z27.record(z27.any()),
541
+ origin: z27.record(z27.any()).optional()
544
542
  });
545
543
 
546
544
  // src/dsm/properties/property-definition.ts
@@ -995,6 +993,7 @@ var PageBlockItemTextValue = z33.object({
995
993
  var PageBlockItemTokenValue = z33.object({
996
994
  selectedPropertyIds: z33.array(z33.string()).optional(),
997
995
  selectedThemeIds: z33.array(z33.string()).optional(),
996
+ themeDisplayMode: z33.enum(["Split", "Override"]).optional(),
998
997
  value: z33.array(
999
998
  z33.object({
1000
999
  entityId: z33.string(),
@@ -1043,67 +1042,129 @@ var PageBlockItemTableValue = z33.object({
1043
1042
  highlightHeaderColumn: z33.boolean().optional(),
1044
1043
  highlightHeaderRow: z33.boolean().optional(),
1045
1044
  showBorder: z33.boolean().optional(),
1046
- width: z33.number().optional(),
1047
1045
  value: z33.array(PageBlockItemTableRow)
1048
1046
  });
1049
1047
 
1050
1048
  // src/dsm/elements/data/documentation-page-v1.ts
1051
- import { z as z35 } from "zod";
1049
+ import { z as z38 } from "zod";
1052
1050
 
1053
1051
  // src/dsm/elements/data/documentation.ts
1052
+ import { z as z37 } from "zod";
1053
+
1054
+ // src/dsm/elements/data/item-header.ts
1055
+ import { z as z36 } from "zod";
1056
+
1057
+ // src/dsm/elements/data/page-asset.ts
1058
+ import { z as z35 } from "zod";
1059
+
1060
+ // src/dsm/elements/data/safe-id.ts
1054
1061
  import { z as z34 } from "zod";
1055
- var DocumentationItemConfiguration = z34.object({
1056
- showSidebar: z34.boolean(),
1057
- header: z34.any()
1062
+ var RESERVED_OBJECT_ID_PREFIX = "x-sn-reserved-";
1063
+ var SafeIdSchema = z34.string().refine(
1064
+ (value) => {
1065
+ return !value.startsWith(RESERVED_OBJECT_ID_PREFIX);
1066
+ },
1067
+ {
1068
+ message: `ID value can't start with ${RESERVED_OBJECT_ID_PREFIX}`
1069
+ }
1070
+ );
1071
+
1072
+ // src/dsm/elements/data/page-asset.ts
1073
+ var DocumentationPageAssetType = z35.enum(["image", "figmaFrame"]);
1074
+ var DocumentationPageImageAsset = z35.object({
1075
+ type: z35.literal(DocumentationPageAssetType.Enum.image),
1076
+ url: z35.string().url().optional(),
1077
+ id: SafeIdSchema
1078
+ });
1079
+ var DocumentationPageFrameAsset = z35.object({
1080
+ type: z35.literal(DocumentationPageAssetType.Enum.figmaFrame),
1081
+ url: z35.string().url().optional(),
1082
+ figmaFrame: PageBlockFrame
1083
+ });
1084
+ var DocumentationPageAsset = z35.discriminatedUnion("type", [
1085
+ DocumentationPageImageAsset,
1086
+ DocumentationPageFrameAsset
1087
+ ]);
1088
+
1089
+ // src/dsm/elements/data/item-header.ts
1090
+ var colorValueRegex = /^#[a-f0-9]{8}$/;
1091
+ var colorValueFormatDescription = "Must match /^#[a-f0-9]{8}$/";
1092
+ var DocumentationItemHeaderAlignmentSchema = z36.enum(["Left", "Center"]);
1093
+ var DocumentationItemHeaderImageScaleTypeSchema = z36.enum(["AspectFill", "AspectFit"]);
1094
+ var DocumentationItemHeaderAlignment = DocumentationItemHeaderAlignmentSchema.enum;
1095
+ var DocumentationItemHeaderImageScaleType = DocumentationItemHeaderImageScaleTypeSchema.enum;
1096
+ var DocumentationItemHeader = z36.object({
1097
+ description: z36.string(),
1098
+ alignment: DocumentationItemHeaderAlignmentSchema,
1099
+ foregroundColor: ColorTokenData.nullish(),
1100
+ backgroundColor: ColorTokenData.nullish(),
1101
+ backgroundImageAsset: DocumentationPageAsset.nullish(),
1102
+ backgroundImageScaleType: DocumentationItemHeaderImageScaleTypeSchema,
1103
+ showBackgroundOverlay: z36.boolean(),
1104
+ showCoverText: z36.boolean(),
1105
+ minHeight: z36.number().nullish()
1106
+ });
1107
+ var defaultDocumentationItemHeader = {
1108
+ alignment: DocumentationItemHeaderAlignment.Left,
1109
+ backgroundImageScaleType: DocumentationItemHeaderImageScaleType.AspectFill,
1110
+ description: "",
1111
+ showBackgroundOverlay: false,
1112
+ showCoverText: true
1113
+ };
1114
+
1115
+ // src/dsm/elements/data/documentation.ts
1116
+ var DocumentationItemConfiguration = z37.object({
1117
+ showSidebar: z37.boolean(),
1118
+ header: DocumentationItemHeader
1058
1119
  });
1059
1120
 
1060
1121
  // src/dsm/elements/data/documentation-page-v1.ts
1061
- var DocumentationPageDataV1 = z35.object({
1062
- blocks: z35.array(PageBlockV1),
1122
+ var DocumentationPageDataV1 = z38.object({
1123
+ blocks: z38.array(PageBlockV1),
1063
1124
  configuration: nullishToOptional(DocumentationItemConfiguration)
1064
1125
  });
1065
- var DocumentationPageElementDataV1 = z35.object({
1126
+ var DocumentationPageElementDataV1 = z38.object({
1066
1127
  value: DocumentationPageDataV1
1067
1128
  });
1068
1129
 
1069
1130
  // src/dsm/elements/data/documentation-page-v2.ts
1070
- import { z as z36 } from "zod";
1071
- var DocumentationPageDataV2 = z36.object({
1131
+ import { z as z39 } from "zod";
1132
+ var DocumentationPageDataV2 = z39.object({
1072
1133
  configuration: nullishToOptional(DocumentationItemConfiguration)
1073
1134
  });
1074
- var DocumentationPageElementDataV2 = z36.object({
1135
+ var DocumentationPageElementDataV2 = z39.object({
1075
1136
  value: DocumentationPageDataV2
1076
1137
  });
1077
1138
 
1078
1139
  // src/dsm/elements/data/duration.ts
1079
- import { z as z37 } from "zod";
1080
- var DurationUnit = z37.enum(["Ms"]);
1081
- var DurationValue = z37.object({
1140
+ import { z as z40 } from "zod";
1141
+ var DurationUnit = z40.enum(["Ms"]);
1142
+ var DurationValue = z40.object({
1082
1143
  unit: DurationUnit,
1083
- measure: z37.number()
1144
+ measure: z40.number()
1084
1145
  });
1085
1146
  var DurationTokenData = tokenAliasOrValue(DurationValue);
1086
1147
 
1087
1148
  // src/dsm/elements/data/figma-file-structure.ts
1088
- import { z as z38 } from "zod";
1089
- var FigmaFileStructureNodeType = z38.enum(["DOCUMENT", "CANVAS", "FRAME", "COMPONENT", "COMPONENT_SET"]);
1090
- var FigmaFileStructureNodeBase = z38.object({
1091
- id: z38.string(),
1092
- name: z38.string(),
1149
+ import { z as z41 } from "zod";
1150
+ var FigmaFileStructureNodeType = z41.enum(["DOCUMENT", "CANVAS", "FRAME", "COMPONENT", "COMPONENT_SET"]);
1151
+ var FigmaFileStructureNodeBase = z41.object({
1152
+ id: z41.string(),
1153
+ name: z41.string(),
1093
1154
  type: FigmaFileStructureNodeType,
1094
1155
  size: SizeOrUndefined,
1095
- parentComponentSetId: z38.string().optional()
1156
+ parentComponentSetId: z41.string().optional()
1096
1157
  });
1097
1158
  var FigmaFileStructureNode = FigmaFileStructureNodeBase.extend({
1098
- children: z38.lazy(() => FigmaFileStructureNode.array())
1159
+ children: z41.lazy(() => FigmaFileStructureNode.array())
1099
1160
  });
1100
- var FigmaFileStructureStatistics = z38.object({
1101
- frames: z38.number().nullable().optional().transform((v) => v ?? 0),
1102
- components: z38.number().nullable().optional().transform((v) => v ?? 0),
1103
- componentSets: z38.number().nullable().optional().transform((v) => v ?? 0)
1161
+ var FigmaFileStructureStatistics = z41.object({
1162
+ frames: z41.number().nullable().optional().transform((v) => v ?? 0),
1163
+ components: z41.number().nullable().optional().transform((v) => v ?? 0),
1164
+ componentSets: z41.number().nullable().optional().transform((v) => v ?? 0)
1104
1165
  });
1105
- var FigmaFileStructureElementData = z38.object({
1106
- value: z38.object({
1166
+ var FigmaFileStructureElementData = z41.object({
1167
+ value: z41.object({
1107
1168
  structure: FigmaFileStructureNode,
1108
1169
  assetsInFile: FigmaFileStructureStatistics
1109
1170
  })
@@ -1120,165 +1181,165 @@ function recursiveFigmaFileStructureToMap(node, map) {
1120
1181
  }
1121
1182
 
1122
1183
  // src/dsm/elements/data/figma-node-reference.ts
1123
- import { z as z39 } from "zod";
1124
- var FigmaNodeReferenceData = z39.object({
1125
- structureElementId: z39.string(),
1126
- nodeId: z39.string(),
1127
- fileId: z39.string().optional(),
1128
- valid: z39.boolean(),
1129
- assetId: z39.string().optional(),
1130
- assetScale: z39.number().optional(),
1131
- assetWidth: z39.number().optional(),
1132
- assetHeight: z39.number().optional(),
1133
- assetUrl: z39.string().optional()
1134
- });
1135
- var FigmaNodeReferenceElementData = z39.object({
1184
+ import { z as z42 } from "zod";
1185
+ var FigmaNodeReferenceData = z42.object({
1186
+ structureElementId: z42.string(),
1187
+ nodeId: z42.string(),
1188
+ fileId: z42.string().optional(),
1189
+ valid: z42.boolean(),
1190
+ assetId: z42.string().optional(),
1191
+ assetScale: z42.number().optional(),
1192
+ assetWidth: z42.number().optional(),
1193
+ assetHeight: z42.number().optional(),
1194
+ assetUrl: z42.string().optional()
1195
+ });
1196
+ var FigmaNodeReferenceElementData = z42.object({
1136
1197
  value: FigmaNodeReferenceData
1137
1198
  });
1138
1199
 
1139
1200
  // src/dsm/elements/data/font-family.ts
1140
- import { z as z40 } from "zod";
1141
- var FontFamilyValue = z40.string();
1201
+ import { z as z43 } from "zod";
1202
+ var FontFamilyValue = z43.string();
1142
1203
  var FontFamilyTokenData = tokenAliasOrValue(FontFamilyValue);
1143
1204
 
1144
1205
  // src/dsm/elements/data/font-size.ts
1145
- import { z as z41 } from "zod";
1146
- var FontSizeUnit = z41.enum(["Pixels", "Rem", "Percent"]);
1147
- var FontSizeValue = z41.object({
1206
+ import { z as z44 } from "zod";
1207
+ var FontSizeUnit = z44.enum(["Pixels", "Rem", "Percent"]);
1208
+ var FontSizeValue = z44.object({
1148
1209
  unit: FontSizeUnit,
1149
- measure: z41.number()
1210
+ measure: z44.number()
1150
1211
  });
1151
1212
  var FontSizeTokenData = tokenAliasOrValue(FontSizeValue);
1152
1213
 
1153
1214
  // src/dsm/elements/data/font-weight.ts
1154
- import { z as z42 } from "zod";
1155
- var FontWeightValue = z42.string();
1215
+ import { z as z45 } from "zod";
1216
+ var FontWeightValue = z45.string();
1156
1217
  var FontWeightTokenData = tokenAliasOrValue(FontWeightValue);
1157
1218
 
1158
1219
  // src/dsm/elements/data/gradient.ts
1159
- import { z as z43 } from "zod";
1160
- var GradientType = z43.enum(["Linear", "Radial", "Angular"]);
1161
- var GradientStop = z43.object({
1162
- position: z43.number(),
1220
+ import { z as z46 } from "zod";
1221
+ var GradientType = z46.enum(["Linear", "Radial", "Angular"]);
1222
+ var GradientStop = z46.object({
1223
+ position: z46.number(),
1163
1224
  color: ColorTokenData
1164
1225
  });
1165
- var GradientLayerValue = z43.object({
1226
+ var GradientLayerValue = z46.object({
1166
1227
  from: Point2D,
1167
1228
  to: Point2D,
1168
1229
  type: GradientType,
1169
- aspectRatio: nullishToOptional(z43.number()),
1230
+ aspectRatio: nullishToOptional(z46.number()),
1170
1231
  // z.number(),
1171
- stops: z43.array(GradientStop).min(2)
1232
+ stops: z46.array(GradientStop).min(2)
1172
1233
  });
1173
1234
  var GradientLayerData = tokenAliasOrValue(GradientLayerValue);
1174
- var GradientTokenValue = z43.array(GradientLayerData);
1235
+ var GradientTokenValue = z46.array(GradientLayerData);
1175
1236
  var GradientTokenData = tokenAliasOrValue(GradientTokenValue);
1176
1237
 
1177
1238
  // src/dsm/elements/data/group.ts
1178
- import { z as z44 } from "zod";
1179
- var DocumentationGroupBehavior = z44.enum(["Group", "Tabs"]);
1180
- var ElementGroupData = z44.object({
1239
+ import { z as z47 } from "zod";
1240
+ var DocumentationGroupBehavior = z47.enum(["Group", "Tabs"]);
1241
+ var ElementGroupData = z47.object({
1181
1242
  behavior: nullishToOptional(DocumentationGroupBehavior.optional()),
1182
1243
  configuration: nullishToOptional(DocumentationItemConfiguration)
1183
1244
  });
1184
- var ElementGroupElementData = z44.object({
1245
+ var ElementGroupElementData = z47.object({
1185
1246
  value: ElementGroupData.optional()
1186
1247
  });
1187
1248
 
1188
1249
  // src/dsm/elements/data/letter-spacing.ts
1189
- import { z as z45 } from "zod";
1190
- var LetterSpacingUnit = z45.enum(["Pixels", "Rem", "Percent"]);
1191
- var LetterSpacingValue = z45.object({
1250
+ import { z as z48 } from "zod";
1251
+ var LetterSpacingUnit = z48.enum(["Pixels", "Rem", "Percent"]);
1252
+ var LetterSpacingValue = z48.object({
1192
1253
  unit: LetterSpacingUnit,
1193
- measure: z45.number()
1254
+ measure: z48.number()
1194
1255
  });
1195
1256
  var LetterSpacingTokenData = tokenAliasOrValue(LetterSpacingValue);
1196
1257
 
1197
1258
  // src/dsm/elements/data/line-height.ts
1198
- import { z as z46 } from "zod";
1199
- var LineHeightUnit = z46.enum(["Pixels", "Rem", "Percent", "Raw"]);
1200
- var LineHeightValue = z46.object({
1259
+ import { z as z49 } from "zod";
1260
+ var LineHeightUnit = z49.enum(["Pixels", "Rem", "Percent", "Raw"]);
1261
+ var LineHeightValue = z49.object({
1201
1262
  unit: LineHeightUnit,
1202
- measure: z46.number()
1263
+ measure: z49.number()
1203
1264
  });
1204
1265
  var LineHeightTokenData = tokenAliasOrValue(LineHeightValue);
1205
1266
 
1206
1267
  // src/dsm/elements/data/paragraph-indent.ts
1207
- import { z as z47 } from "zod";
1208
- var ParagraphIndentUnit = z47.enum(["Pixels", "Rem", "Percent"]);
1209
- var ParagraphIndentValue = z47.object({
1268
+ import { z as z50 } from "zod";
1269
+ var ParagraphIndentUnit = z50.enum(["Pixels", "Rem", "Percent"]);
1270
+ var ParagraphIndentValue = z50.object({
1210
1271
  unit: ParagraphIndentUnit,
1211
- measure: z47.number()
1272
+ measure: z50.number()
1212
1273
  });
1213
1274
  var ParagraphIndentTokenData = tokenAliasOrValue(ParagraphIndentValue);
1214
1275
 
1215
1276
  // src/dsm/elements/data/paragraph-spacing.ts
1216
- import { z as z48 } from "zod";
1217
- var ParagraphSpacingUnit = z48.enum(["Pixels", "Rem", "Percent"]);
1218
- var ParagraphSpacingValue = z48.object({
1277
+ import { z as z51 } from "zod";
1278
+ var ParagraphSpacingUnit = z51.enum(["Pixels", "Rem", "Percent"]);
1279
+ var ParagraphSpacingValue = z51.object({
1219
1280
  unit: ParagraphSpacingUnit,
1220
- measure: z48.number()
1281
+ measure: z51.number()
1221
1282
  });
1222
1283
  var ParagraphSpacingTokenData = tokenAliasOrValue(ParagraphSpacingValue);
1223
1284
 
1224
1285
  // src/dsm/elements/data/product-copy.ts
1225
- import { z as z49 } from "zod";
1226
- var ProductCopyValue = z49.string();
1286
+ import { z as z52 } from "zod";
1287
+ var ProductCopyValue = z52.string();
1227
1288
  var ProductCopyTokenData = tokenAliasOrValue(ProductCopyValue);
1228
1289
 
1229
1290
  // src/dsm/elements/data/shadow.ts
1230
- import { z as z50 } from "zod";
1231
- var ShadowType = z50.enum(["Drop", "Inner"]);
1232
- var ShadowLayerValue = z50.object({
1291
+ import { z as z53 } from "zod";
1292
+ var ShadowType = z53.enum(["Drop", "Inner"]);
1293
+ var ShadowLayerValue = z53.object({
1233
1294
  color: ColorTokenData,
1234
- x: z50.number(),
1235
- y: z50.number(),
1236
- radius: z50.number(),
1237
- spread: z50.number(),
1295
+ x: z53.number(),
1296
+ y: z53.number(),
1297
+ radius: z53.number(),
1298
+ spread: z53.number(),
1238
1299
  opacity: OpacityTokenData,
1239
1300
  type: ShadowType
1240
1301
  });
1241
1302
  var ShadowTokenDataBase = tokenAliasOrValue(ShadowLayerValue);
1242
- var ShadowTokenData = tokenAliasOrValue(z50.array(ShadowTokenDataBase));
1303
+ var ShadowTokenData = tokenAliasOrValue(z53.array(ShadowTokenDataBase));
1243
1304
 
1244
1305
  // src/dsm/elements/data/size.ts
1245
- import { z as z51 } from "zod";
1246
- var SizeUnit = z51.enum(["Pixels", "Rem", "Percent"]);
1247
- var SizeValue = z51.object({
1306
+ import { z as z54 } from "zod";
1307
+ var SizeUnit = z54.enum(["Pixels", "Rem", "Percent"]);
1308
+ var SizeValue = z54.object({
1248
1309
  unit: SizeUnit,
1249
- measure: z51.number()
1310
+ measure: z54.number()
1250
1311
  });
1251
1312
  var SizeTokenData = tokenAliasOrValue(SizeValue);
1252
1313
 
1253
1314
  // src/dsm/elements/data/space.ts
1254
- import { z as z52 } from "zod";
1255
- var SpaceUnit = z52.enum(["Pixels", "Rem", "Percent"]);
1256
- var SpaceValue = z52.object({
1315
+ import { z as z55 } from "zod";
1316
+ var SpaceUnit = z55.enum(["Pixels", "Rem", "Percent"]);
1317
+ var SpaceValue = z55.object({
1257
1318
  unit: SpaceUnit,
1258
- measure: z52.number()
1319
+ measure: z55.number()
1259
1320
  });
1260
1321
  var SpaceTokenData = tokenAliasOrValue(SpaceValue);
1261
1322
 
1262
1323
  // src/dsm/elements/data/string.ts
1263
- import { z as z53 } from "zod";
1264
- var StringValue = z53.string();
1324
+ import { z as z56 } from "zod";
1325
+ var StringValue = z56.string();
1265
1326
  var StringTokenData = tokenAliasOrValue(StringValue);
1266
1327
 
1267
1328
  // src/dsm/elements/data/text-case.ts
1268
- import { z as z54 } from "zod";
1269
- var TextCase = z54.enum(["Original", "Upper", "Lower", "Camel", "SmallCaps"]);
1329
+ import { z as z57 } from "zod";
1330
+ var TextCase = z57.enum(["Original", "Upper", "Lower", "Camel", "SmallCaps"]);
1270
1331
  var TextCaseValue = TextCase;
1271
1332
  var TextCaseTokenData = tokenAliasOrValue(TextCaseValue);
1272
1333
 
1273
1334
  // src/dsm/elements/data/text-decoration.ts
1274
- import { z as z55 } from "zod";
1275
- var TextDecoration = z55.enum(["None", "Underline", "Strikethrough"]);
1335
+ import { z as z58 } from "zod";
1336
+ var TextDecoration = z58.enum(["None", "Underline", "Strikethrough"]);
1276
1337
  var TextDecorationValue = TextDecoration;
1277
1338
  var TextDecorationTokenData = tokenAliasOrValue(TextDecorationValue);
1278
1339
 
1279
1340
  // src/dsm/elements/data/typography.ts
1280
- import { z as z56 } from "zod";
1281
- var TypographyValue = z56.object({
1341
+ import { z as z59 } from "zod";
1342
+ var TypographyValue = z59.object({
1282
1343
  fontSize: FontSizeTokenData,
1283
1344
  fontFamily: FontFamilyTokenData,
1284
1345
  fontWeight: FontWeightTokenData,
@@ -1292,106 +1353,97 @@ var TypographyValue = z56.object({
1292
1353
  var TypographyTokenData = tokenAliasOrValue(TypographyValue);
1293
1354
 
1294
1355
  // src/dsm/elements/data/visibility.ts
1295
- import { z as z57 } from "zod";
1296
- var Visibility = z57.enum(["Hidden", "Visible"]);
1356
+ import { z as z60 } from "zod";
1357
+ var Visibility = z60.enum(["Hidden", "Visible"]);
1297
1358
  var VisibilityValue = Visibility;
1298
1359
  var VisibilityTokenData = tokenAliasOrValue(VisibilityValue);
1299
1360
 
1300
1361
  // src/dsm/elements/data/z-index.ts
1301
- import { z as z58 } from "zod";
1302
- var ZIndexUnit = z58.enum(["Raw"]);
1303
- var ZIndexValue = z58.object({
1362
+ import { z as z61 } from "zod";
1363
+ var ZIndexUnit = z61.enum(["Raw"]);
1364
+ var ZIndexValue = z61.object({
1304
1365
  unit: ZIndexUnit,
1305
- measure: z58.number()
1366
+ measure: z61.number()
1306
1367
  });
1307
1368
  var ZIndexTokenData = tokenAliasOrValue(ZIndexValue);
1308
1369
 
1309
1370
  // src/dsm/elements/base.ts
1310
- import { z as z59 } from "zod";
1311
- var DesignElementOrigin = z59.object({
1312
- id: z59.string(),
1313
- sourceId: z59.string(),
1314
- name: z59.string()
1315
- });
1316
- var DesignElementBase = z59.object({
1317
- id: z59.string(),
1318
- persistentId: z59.string(),
1371
+ import { z as z62 } from "zod";
1372
+ var DesignElementOrigin = z62.object({
1373
+ id: z62.string(),
1374
+ sourceId: z62.string(),
1375
+ name: z62.string()
1376
+ });
1377
+ var DesignElementBase = z62.object({
1378
+ id: z62.string(),
1379
+ persistentId: z62.string(),
1319
1380
  meta: ObjectMeta,
1320
- designSystemVersionId: z59.string(),
1321
- createdAt: z59.date(),
1322
- updatedAt: z59.date()
1381
+ designSystemVersionId: z62.string(),
1382
+ createdAt: z62.date(),
1383
+ updatedAt: z62.date()
1323
1384
  });
1324
1385
  var DesignElementImportedBase = DesignElementBase.extend({
1325
1386
  origin: DesignElementOrigin
1326
1387
  });
1327
- var DesignElementGroupablePart = z59.object({
1328
- parentPersistentId: z59.string().optional(),
1329
- sortOrder: z59.number()
1388
+ var DesignElementGroupablePart = z62.object({
1389
+ parentPersistentId: z62.string().optional(),
1390
+ sortOrder: z62.number()
1330
1391
  });
1331
1392
  var DesignElementGroupableBase = DesignElementBase.extend(DesignElementGroupablePart.shape);
1332
1393
  var DesignElementGroupableRequiredPart = DesignElementGroupablePart.extend({
1333
- parentPersistentId: z59.string()
1394
+ parentPersistentId: z62.string()
1334
1395
  });
1335
- var DesignElementBrandedPart = z59.object({
1336
- brandPersistentId: z59.string()
1396
+ var DesignElementBrandedPart = z62.object({
1397
+ brandPersistentId: z62.string()
1337
1398
  });
1338
- var DesignElementSlugPart = z59.object({
1339
- slug: z59.string().optional(),
1340
- userSlug: z59.string().optional()
1399
+ var DesignElementSlugPart = z62.object({
1400
+ slug: z62.string().optional(),
1401
+ userSlug: z62.string().optional()
1341
1402
  });
1342
1403
 
1343
1404
  // src/dsm/elements/component.ts
1344
- import { z as z60 } from "zod";
1345
- var ComponentOriginPart = z60.object({
1346
- nodeId: z60.string().optional(),
1347
- width: z60.number().optional(),
1348
- height: z60.number().optional()
1405
+ import { z as z63 } from "zod";
1406
+ var ComponentOriginPart = z63.object({
1407
+ nodeId: z63.string().optional(),
1408
+ width: z63.number().optional(),
1409
+ height: z63.number().optional()
1349
1410
  });
1350
- var ComponentAsset = z60.object({
1351
- assetId: z60.string(),
1352
- assetPath: z60.string()
1411
+ var ComponentAsset = z63.object({
1412
+ assetId: z63.string(),
1413
+ assetPath: z63.string()
1353
1414
  });
1354
1415
  var ComponentOrigin = DesignElementOrigin.extend(ComponentOriginPart.shape);
1355
1416
  var Component = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementBrandedPart.shape).extend({
1356
1417
  origin: ComponentOrigin.optional(),
1357
1418
  thumbnail: ComponentAsset,
1358
1419
  svg: ComponentAsset.optional(),
1359
- isAsset: z60.boolean()
1420
+ isAsset: z63.boolean()
1360
1421
  });
1361
1422
  function isImportedComponent(component) {
1362
1423
  return !!component.origin;
1363
1424
  }
1364
1425
 
1365
1426
  // src/dsm/elements/documentation-page-v1.ts
1366
- import { z as z61 } from "zod";
1427
+ import { z as z64 } from "zod";
1367
1428
  var DocumentationPageV1 = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementSlugPart.shape).extend({
1368
- shortPersistentId: z61.string(),
1429
+ shortPersistentId: z64.string(),
1369
1430
  data: DocumentationPageDataV1
1370
1431
  });
1371
- var DocumentationPageDTOV1 = DocumentationPageV1.omit({
1372
- data: true,
1373
- meta: true,
1374
- parentPersistentId: true,
1375
- sortOrder: true
1376
- }).extend(DocumentationPageV1.shape.data.shape).extend({
1377
- title: z61.string(),
1378
- path: z61.string()
1379
- });
1380
1432
 
1381
1433
  // src/dsm/elements/documentation-page-v2.ts
1382
- import { z as z62 } from "zod";
1434
+ import { z as z65 } from "zod";
1383
1435
  var DocumentationPageV2 = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementSlugPart.shape).extend({
1384
- shortPersistentId: z62.string(),
1436
+ shortPersistentId: z65.string(),
1385
1437
  data: DocumentationPageDataV2
1386
1438
  });
1387
1439
 
1388
1440
  // src/dsm/elements/figma-file-structures.ts
1389
- import { z as z63 } from "zod";
1390
- var FigmaFileStructureOrigin = z63.object({
1391
- sourceId: z63.string(),
1392
- fileId: z63.string().optional()
1441
+ import { z as z66 } from "zod";
1442
+ var FigmaFileStructureOrigin = z66.object({
1443
+ sourceId: z66.string(),
1444
+ fileId: z66.string().optional()
1393
1445
  });
1394
- var FigmaFileStructureData = z63.object({
1446
+ var FigmaFileStructureData = z66.object({
1395
1447
  rootNode: FigmaFileStructureNode,
1396
1448
  assetsInFile: FigmaFileStructureStatistics
1397
1449
  });
@@ -1412,48 +1464,32 @@ var FigmaNodeReference = DesignElementBase.extend({
1412
1464
  });
1413
1465
 
1414
1466
  // src/dsm/elements/group.ts
1415
- import { z as z64 } from "zod";
1467
+ import { z as z67 } from "zod";
1416
1468
  var ElementGroup = DesignElementBase.extend(DesignElementGroupablePart.shape).extend(DesignElementSlugPart.shape).extend(DesignElementBrandedPart.partial().shape).extend({
1417
- shortPersistentId: z64.string().optional(),
1469
+ shortPersistentId: z67.string().optional(),
1418
1470
  childType: DesignElementType,
1419
1471
  data: ElementGroupData.optional()
1420
1472
  });
1421
1473
  var BrandedElementGroup = ElementGroup.extend(DesignElementBrandedPart.shape);
1422
- var DocumentationGroupDTO = ElementGroup.omit({
1423
- sortOrder: true,
1424
- parentPersistentId: true,
1425
- brandPersistentId: true,
1426
- meta: true,
1427
- childType: true,
1428
- data: true,
1429
- shortPersistentId: true
1430
- }).extend({
1431
- title: z64.string(),
1432
- isRoot: z64.boolean(),
1433
- childrenIds: z64.array(z64.string()),
1434
- groupBehavior: DocumentationGroupBehavior,
1435
- configuration: DocumentationItemConfiguration,
1436
- shortPersistentId: z64.string()
1437
- });
1438
1474
 
1439
1475
  // src/dsm/elements/page-block-v2.ts
1440
- import { z as z65 } from "zod";
1476
+ import { z as z68 } from "zod";
1441
1477
  var PageBlockV2 = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend({
1442
1478
  data: PageBlockDataV2
1443
1479
  });
1444
- var PageBlockEditorModelV2 = z65.object({
1445
- id: z65.string(),
1480
+ var PageBlockEditorModelV2 = z68.object({
1481
+ id: z68.string(),
1446
1482
  data: PageBlockDataV2
1447
1483
  });
1448
1484
 
1449
1485
  // src/dsm/elements/theme.ts
1450
- import { z as z67 } from "zod";
1486
+ import { z as z70 } from "zod";
1451
1487
 
1452
1488
  // src/dsm/elements/tokens.ts
1453
- import { z as z66 } from "zod";
1454
- var DesignTokenOriginPart = z66.object({
1455
- referenceOriginId: z66.string().optional(),
1456
- referencePersistentId: z66.string().optional()
1489
+ import { z as z69 } from "zod";
1490
+ var DesignTokenOriginPart = z69.object({
1491
+ referenceOriginId: z69.string().optional(),
1492
+ referencePersistentId: z69.string().optional()
1457
1493
  });
1458
1494
  var DesignTokenOrigin = DesignElementOrigin.extend(DesignTokenOriginPart.shape);
1459
1495
  var DesignTokenBase = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementBrandedPart.shape).extend({
@@ -1465,111 +1501,111 @@ var UpdateDesignTokenBase = DesignTokenBase.omit({
1465
1501
  brandPersistentId: true,
1466
1502
  designSystemVersionId: true
1467
1503
  });
1468
- var BlurTokenTypedData = z66.object({
1469
- type: z66.literal("Blur"),
1504
+ var BlurTokenTypedData = z69.object({
1505
+ type: z69.literal("Blur"),
1470
1506
  data: BlurTokenData
1471
1507
  });
1472
- var ColorTokenTypedData = z66.object({
1473
- type: z66.literal("Color"),
1508
+ var ColorTokenTypedData = z69.object({
1509
+ type: z69.literal("Color"),
1474
1510
  data: ColorTokenData
1475
1511
  });
1476
- var GradientTokenTypedData = z66.object({
1477
- type: z66.literal("Gradient"),
1512
+ var GradientTokenTypedData = z69.object({
1513
+ type: z69.literal("Gradient"),
1478
1514
  data: GradientTokenData
1479
1515
  });
1480
- var OpacityTokenTypedData = z66.object({
1481
- type: z66.literal("Opacity"),
1516
+ var OpacityTokenTypedData = z69.object({
1517
+ type: z69.literal("Opacity"),
1482
1518
  data: OpacityTokenData
1483
1519
  });
1484
- var ShadowTokenTypedData = z66.object({
1485
- type: z66.literal("Shadow"),
1520
+ var ShadowTokenTypedData = z69.object({
1521
+ type: z69.literal("Shadow"),
1486
1522
  data: ShadowTokenData
1487
1523
  });
1488
- var TypographyTokenTypedData = z66.object({
1489
- type: z66.literal("Typography"),
1524
+ var TypographyTokenTypedData = z69.object({
1525
+ type: z69.literal("Typography"),
1490
1526
  data: TypographyTokenData
1491
1527
  });
1492
- var StringTokenTypedData = z66.object({
1493
- type: z66.literal("String"),
1528
+ var StringTokenTypedData = z69.object({
1529
+ type: z69.literal("String"),
1494
1530
  data: StringTokenData
1495
1531
  });
1496
- var DimensionTokenTypedData = z66.object({
1497
- type: z66.literal("Dimension"),
1532
+ var DimensionTokenTypedData = z69.object({
1533
+ type: z69.literal("Dimension"),
1498
1534
  data: DimensionTokenData
1499
1535
  });
1500
- var FontSizeTokenTypedData = z66.object({
1501
- type: z66.literal("FontSize"),
1536
+ var FontSizeTokenTypedData = z69.object({
1537
+ type: z69.literal("FontSize"),
1502
1538
  data: FontSizeTokenData
1503
1539
  });
1504
- var FontFamilyTokenTypedData = z66.object({
1505
- type: z66.literal("FontFamily"),
1540
+ var FontFamilyTokenTypedData = z69.object({
1541
+ type: z69.literal("FontFamily"),
1506
1542
  data: FontFamilyTokenData
1507
1543
  });
1508
- var FontWeightTokenTypedData = z66.object({
1509
- type: z66.literal("FontWeight"),
1544
+ var FontWeightTokenTypedData = z69.object({
1545
+ type: z69.literal("FontWeight"),
1510
1546
  data: FontWeightTokenData
1511
1547
  });
1512
- var LetterSpacingTokenTypedData = z66.object({
1513
- type: z66.literal("LetterSpacing"),
1548
+ var LetterSpacingTokenTypedData = z69.object({
1549
+ type: z69.literal("LetterSpacing"),
1514
1550
  data: LetterSpacingTokenData
1515
1551
  });
1516
- var LineHeightTokenTypedData = z66.object({
1517
- type: z66.literal("LineHeight"),
1552
+ var LineHeightTokenTypedData = z69.object({
1553
+ type: z69.literal("LineHeight"),
1518
1554
  data: LineHeightTokenData
1519
1555
  });
1520
- var ParagraphSpacingTokenTypedData = z66.object({
1521
- type: z66.literal("ParagraphSpacing"),
1556
+ var ParagraphSpacingTokenTypedData = z69.object({
1557
+ type: z69.literal("ParagraphSpacing"),
1522
1558
  data: ParagraphSpacingTokenData
1523
1559
  });
1524
- var TextCaseTokenTypedData = z66.object({
1525
- type: z66.literal("TextCase"),
1560
+ var TextCaseTokenTypedData = z69.object({
1561
+ type: z69.literal("TextCase"),
1526
1562
  data: TextCaseTokenData
1527
1563
  });
1528
- var TextDecorationTokenTypedData = z66.object({
1529
- type: z66.literal("TextDecoration"),
1564
+ var TextDecorationTokenTypedData = z69.object({
1565
+ type: z69.literal("TextDecoration"),
1530
1566
  data: TextDecorationTokenData
1531
1567
  });
1532
- var BorderRadiusTokenTypedData = z66.object({
1533
- type: z66.literal("BorderRadius"),
1568
+ var BorderRadiusTokenTypedData = z69.object({
1569
+ type: z69.literal("BorderRadius"),
1534
1570
  data: BorderRadiusTokenData
1535
1571
  });
1536
- var BorderWidthTokenTypedData = z66.object({
1537
- type: z66.literal("BorderWidth"),
1572
+ var BorderWidthTokenTypedData = z69.object({
1573
+ type: z69.literal("BorderWidth"),
1538
1574
  data: BorderWidthTokenData
1539
1575
  });
1540
- var BorderTypedData = z66.object({
1541
- type: z66.literal("Border"),
1576
+ var BorderTypedData = z69.object({
1577
+ type: z69.literal("Border"),
1542
1578
  data: BorderTokenData
1543
1579
  });
1544
- var ProductCopyTypedData = z66.object({
1545
- type: z66.literal("ProductCopy"),
1580
+ var ProductCopyTypedData = z69.object({
1581
+ type: z69.literal("ProductCopy"),
1546
1582
  data: ProductCopyTokenData
1547
1583
  });
1548
- var SizeTypedData = z66.object({
1549
- type: z66.literal("Size"),
1584
+ var SizeTypedData = z69.object({
1585
+ type: z69.literal("Size"),
1550
1586
  data: SizeTokenData
1551
1587
  });
1552
- var SpaceTypedData = z66.object({
1553
- type: z66.literal("Space"),
1588
+ var SpaceTypedData = z69.object({
1589
+ type: z69.literal("Space"),
1554
1590
  data: SpaceTokenData
1555
1591
  });
1556
- var VisibilityTypedData = z66.object({
1557
- type: z66.literal("Visibility"),
1592
+ var VisibilityTypedData = z69.object({
1593
+ type: z69.literal("Visibility"),
1558
1594
  data: VisibilityTokenData
1559
1595
  });
1560
- var ZIndexTypedData = z66.object({
1561
- type: z66.literal("ZIndex"),
1596
+ var ZIndexTypedData = z69.object({
1597
+ type: z69.literal("ZIndex"),
1562
1598
  data: ZIndexTokenData
1563
1599
  });
1564
- var DurationTypedData = z66.object({
1565
- type: z66.literal("Duration"),
1600
+ var DurationTypedData = z69.object({
1601
+ type: z69.literal("Duration"),
1566
1602
  data: DurationTokenData
1567
1603
  });
1568
- var FontTypedData = z66.object({
1569
- type: z66.literal("Font"),
1570
- data: z66.record(z66.any())
1604
+ var FontTypedData = z69.object({
1605
+ type: z69.literal("Font"),
1606
+ data: z69.record(z69.any())
1571
1607
  });
1572
- var DesignTokenTypedData = z66.discriminatedUnion("type", [
1608
+ var DesignTokenTypedData = z69.discriminatedUnion("type", [
1573
1609
  BlurTokenTypedData,
1574
1610
  BorderRadiusTokenTypedData,
1575
1611
  BorderWidthTokenTypedData,
@@ -1619,72 +1655,72 @@ function designTokenTypeFilter(type) {
1619
1655
  var ThemeOverrideOriginPart = DesignTokenOriginPart;
1620
1656
  var ThemeOverrideOrigin = DesignTokenOrigin;
1621
1657
  var ThemeOverride = DesignTokenTypedData.and(
1622
- z67.object({
1623
- tokenPersistentId: z67.string(),
1658
+ z70.object({
1659
+ tokenPersistentId: z70.string(),
1624
1660
  origin: ThemeOverrideOrigin.optional().nullable().transform((v) => v ?? void 0)
1625
1661
  })
1626
1662
  );
1627
- var ThemeElementData = z67.object({
1628
- value: z67.object({
1629
- overrides: z67.array(ThemeOverride)
1663
+ var ThemeElementData = z70.object({
1664
+ value: z70.object({
1665
+ overrides: z70.array(ThemeOverride)
1630
1666
  })
1631
1667
  });
1632
- var ThemeOriginPart = z67.object({});
1633
- var ThemeOriginObject = z67.object({
1634
- id: z67.string(),
1635
- name: z67.string()
1668
+ var ThemeOriginPart = z70.object({});
1669
+ var ThemeOriginObject = z70.object({
1670
+ id: z70.string(),
1671
+ name: z70.string()
1636
1672
  });
1637
- var ThemeOriginSource = z67.object({
1638
- sourceId: z67.string(),
1639
- sourceObjects: z67.array(ThemeOriginObject)
1673
+ var ThemeOriginSource = z70.object({
1674
+ sourceId: z70.string(),
1675
+ sourceObjects: z70.array(ThemeOriginObject)
1640
1676
  });
1641
- var ThemeOrigin = z67.object({
1642
- sources: z67.array(ThemeOriginSource)
1677
+ var ThemeOrigin = z70.object({
1678
+ sources: z70.array(ThemeOriginSource)
1643
1679
  });
1644
1680
  var Theme = DesignElementBase.extend(DesignElementBrandedPart.shape).extend({
1645
1681
  origin: ThemeOrigin.optional(),
1646
- overrides: z67.array(ThemeOverride)
1682
+ overrides: z70.array(ThemeOverride)
1647
1683
  });
1648
1684
 
1649
1685
  // src/dsm/import/support/figma-files.ts
1650
- import { z as z68 } from "zod";
1651
- var FigmaFileDownloadScope = z68.object({
1652
- styles: z68.boolean(),
1653
- components: z68.boolean(),
1654
- currentVersion: z68.literal("__latest__").nullable(),
1655
- publishedVersion: z68.string().nullable(),
1656
- downloadChunkSize: z68.number().optional()
1686
+ import { z as z71 } from "zod";
1687
+ var FigmaFileDownloadScope = z71.object({
1688
+ styles: z71.boolean(),
1689
+ components: z71.boolean(),
1690
+ currentVersion: z71.literal("__latest__").nullable(),
1691
+ publishedVersion: z71.string().nullable(),
1692
+ downloadChunkSize: z71.number().optional()
1657
1693
  });
1658
- var FigmaFileAccessData = z68.object({
1659
- accessToken: z68.string()
1694
+ var FigmaFileAccessData = z71.object({
1695
+ accessToken: z71.string()
1660
1696
  });
1661
1697
 
1662
1698
  // src/dsm/import/support/import-context.ts
1663
- import { z as z69 } from "zod";
1664
- var ImportFunctionInput = z69.object({
1665
- importJobId: z69.string(),
1666
- importContextId: z69.string(),
1667
- designSystemId: z69.string().optional()
1699
+ import { z as z72 } from "zod";
1700
+ var ImportFunctionInput = z72.object({
1701
+ importJobId: z72.string(),
1702
+ importContextId: z72.string(),
1703
+ designSystemId: z72.string().optional()
1668
1704
  });
1669
- var ImportedFigmaSourceData = z69.object({
1670
- sourceId: z69.string(),
1705
+ var ImportedFigmaSourceData = z72.object({
1706
+ sourceId: z72.string(),
1671
1707
  figmaRemote: DataSourceFigmaRemote
1672
1708
  });
1673
- var FigmaImportBaseContext = z69.object({
1674
- designSystemId: z69.string(),
1709
+ var FigmaImportBaseContext = z72.object({
1710
+ designSystemId: z72.string(),
1675
1711
  /**
1676
1712
  * Data required for accessing Figma files. This should contain access data for all file ids
1677
1713
  * mentioned in the `importedSourceDataBySourceId`
1678
1714
  *
1679
1715
  * fileId: file data
1680
1716
  */
1681
- fileAccessByFileId: z69.record(FigmaFileAccessData),
1717
+ fileAccessByFileId: z72.record(FigmaFileAccessData),
1682
1718
  /**
1683
1719
  * Figma source data for which import was requested
1684
1720
  *
1685
1721
  * sourceId: source data
1686
1722
  */
1687
- importedSourceDataBySourceId: z69.record(ImportedFigmaSourceData)
1723
+ importedSourceDataBySourceId: z72.record(ImportedFigmaSourceData)
1688
1724
  });
1689
1725
  var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
1690
1726
  importMetadata: DataSourceFigmaImportMetadata
@@ -1696,79 +1732,79 @@ var FigmaImportContextWithDownloadScopes = FigmaImportBaseContext.extend({
1696
1732
  *
1697
1733
  * File id -> file download scope
1698
1734
  */
1699
- fileDownloadScopesByFileId: z69.record(FigmaFileDownloadScope),
1735
+ fileDownloadScopesByFileId: z72.record(FigmaFileDownloadScope),
1700
1736
  /**
1701
1737
  * Sources filtered down to the ones that have changed since last import and therefore need to be
1702
1738
  * imported again.
1703
1739
  *
1704
1740
  * Source id -> import metadata
1705
1741
  */
1706
- changedImportedSourceDataBySourceId: z69.record(ChangedImportedFigmaSourceData)
1742
+ changedImportedSourceDataBySourceId: z72.record(ChangedImportedFigmaSourceData)
1707
1743
  });
1708
1744
 
1709
1745
  // src/dsm/import/support/import-model-collections.ts
1710
- import { z as z77 } from "zod";
1746
+ import { z as z80 } from "zod";
1711
1747
 
1712
1748
  // src/dsm/import/image.ts
1713
- import { z as z70 } from "zod";
1714
- var ImageImportModelType = z70.enum(["Url", "FigmaRender"]);
1715
- var ImageImportModelBase = z70.object({
1749
+ import { z as z73 } from "zod";
1750
+ var ImageImportModelType = z73.enum(["Url", "FigmaRender"]);
1751
+ var ImageImportModelBase = z73.object({
1716
1752
  scope: AssetScope
1717
1753
  });
1718
1754
  var UrlImageImportModel = ImageImportModelBase.extend({
1719
- type: z70.literal(ImageImportModelType.enum.Url),
1720
- url: z70.string(),
1721
- originKey: z70.string(),
1722
- extension: z70.enum(["png", "svg", "jpg"])
1755
+ type: z73.literal(ImageImportModelType.enum.Url),
1756
+ url: z73.string(),
1757
+ originKey: z73.string(),
1758
+ extension: z73.enum(["png", "svg", "jpg"])
1723
1759
  });
1724
- var FigmaRenderFormat = z70.enum(["Svg", "Png"]);
1760
+ var FigmaRenderFormat = z73.enum(["Svg", "Png"]);
1725
1761
  var FigmaRenderBase = ImageImportModelBase.extend({
1726
- type: z70.literal(ImageImportModelType.enum.FigmaRender),
1727
- fileId: z70.string(),
1728
- fileVersionId: z70.string().optional(),
1729
- nodeId: z70.string(),
1730
- originKey: z70.string()
1762
+ type: z73.literal(ImageImportModelType.enum.FigmaRender),
1763
+ fileId: z73.string(),
1764
+ fileVersionId: z73.string().optional(),
1765
+ nodeId: z73.string(),
1766
+ originKey: z73.string()
1731
1767
  });
1732
1768
  var FigmaPngRenderImportModel = FigmaRenderBase.extend({
1733
- format: z70.literal(FigmaRenderFormat.enum.Png),
1734
- scale: z70.number()
1769
+ format: z73.literal(FigmaRenderFormat.enum.Png),
1770
+ scale: z73.number()
1735
1771
  });
1736
1772
  var FigmaSvgRenderImportModel = FigmaRenderBase.extend({
1737
- format: z70.literal(FigmaRenderFormat.enum.Svg)
1773
+ format: z73.literal(FigmaRenderFormat.enum.Svg)
1738
1774
  });
1739
- var FigmaRenderImportModel = z70.discriminatedUnion("format", [
1775
+ var FigmaRenderImportModel = z73.discriminatedUnion("format", [
1740
1776
  FigmaPngRenderImportModel,
1741
1777
  FigmaSvgRenderImportModel
1742
1778
  ]);
1743
- var ImageImportModel = z70.union([UrlImageImportModel, FigmaRenderImportModel]);
1779
+ var ImageImportModel = z73.union([UrlImageImportModel, FigmaRenderImportModel]);
1744
1780
 
1745
1781
  // src/dsm/import/component.ts
1746
- import { z as z72 } from "zod";
1782
+ import { z as z75 } from "zod";
1747
1783
 
1748
1784
  // src/dsm/import/base.ts
1749
- import { z as z71 } from "zod";
1750
- var ImportModelBase = z71.object({
1751
- id: z71.string(),
1785
+ import { z as z74 } from "zod";
1786
+ var ImportModelBase = z74.object({
1787
+ id: z74.string(),
1752
1788
  meta: ObjectMeta,
1753
1789
  origin: DesignElementOrigin,
1754
- brandPersistentId: z71.string(),
1755
- sortOrder: z71.number()
1790
+ brandPersistentId: z74.string(),
1791
+ sortOrder: z74.number()
1756
1792
  });
1757
1793
  var ImportModelInputBase = ImportModelBase.omit({
1758
1794
  brandPersistentId: true,
1759
1795
  origin: true,
1760
1796
  sortOrder: true
1761
1797
  }).extend({
1762
- originId: z71.string(),
1763
- originMetadata: z71.record(z71.any())
1798
+ originId: z74.string(),
1799
+ originMetadata: z74.record(z74.any())
1764
1800
  });
1765
1801
 
1766
1802
  // src/dsm/import/component.ts
1767
- var ComponentImportModelPart = z72.object({
1803
+ var ComponentImportModelPart = z75.object({
1768
1804
  thumbnail: ImageImportModel
1769
1805
  });
1770
1806
  var ComponentImportModel = ImportModelBase.extend(ComponentImportModelPart.shape).extend({
1771
- isAsset: z72.boolean(),
1807
+ isAsset: z75.boolean(),
1772
1808
  svg: FigmaSvgRenderImportModel.optional(),
1773
1809
  origin: ComponentOrigin
1774
1810
  });
@@ -1781,49 +1817,49 @@ var AssetImportModelInput = ImportModelInputBase.extend(ComponentImportModelPart
1781
1817
  });
1782
1818
 
1783
1819
  // src/dsm/import/theme.ts
1784
- import { z as z73 } from "zod";
1820
+ import { z as z76 } from "zod";
1785
1821
  var ThemeOverrideImportModelBase = DesignTokenTypedData.and(
1786
- z73.object({
1787
- id: z73.string(),
1822
+ z76.object({
1823
+ id: z76.string(),
1788
1824
  meta: ObjectMeta
1789
1825
  })
1790
1826
  );
1791
1827
  var ThemeOverrideImportModel = ThemeOverrideImportModelBase.and(
1792
- z73.object({
1828
+ z76.object({
1793
1829
  origin: ThemeOverrideOrigin
1794
1830
  })
1795
1831
  );
1796
1832
  var ThemeOverrideImportModelInput = ThemeOverrideImportModelBase.and(
1797
- z73.object({
1798
- originId: z73.string(),
1833
+ z76.object({
1834
+ originId: z76.string(),
1799
1835
  originMetadata: ThemeOverrideOriginPart
1800
1836
  })
1801
1837
  );
1802
- var ThemeImportModel = z73.object({
1838
+ var ThemeImportModel = z76.object({
1803
1839
  meta: ObjectMeta,
1804
- brandPersistentId: z73.string(),
1840
+ brandPersistentId: z76.string(),
1805
1841
  originSource: ThemeOriginSource,
1806
- overrides: z73.array(ThemeOverrideImportModel),
1807
- sortOrder: z73.number()
1842
+ overrides: z76.array(ThemeOverrideImportModel),
1843
+ sortOrder: z76.number()
1808
1844
  });
1809
- var ThemeImportModelInput = z73.object({
1845
+ var ThemeImportModelInput = z76.object({
1810
1846
  meta: ObjectMeta,
1811
- originObjects: z73.array(ThemeOriginObject),
1812
- overrides: z73.array(ThemeOverrideImportModelInput)
1847
+ originObjects: z76.array(ThemeOriginObject),
1848
+ overrides: z76.array(ThemeOverrideImportModelInput)
1813
1849
  });
1814
- var ThemeUpdateImportModel = z73.object({
1815
- themePersistentId: z73.string(),
1816
- overrides: z73.array(ThemeOverrideImportModel)
1850
+ var ThemeUpdateImportModel = z76.object({
1851
+ themePersistentId: z76.string(),
1852
+ overrides: z76.array(ThemeOverrideImportModel)
1817
1853
  });
1818
- var ThemeUpdateImportModelInput = z73.object({
1819
- themePersistentId: z73.string(),
1820
- overrides: z73.array(ThemeOverrideImportModelInput)
1854
+ var ThemeUpdateImportModelInput = z76.object({
1855
+ themePersistentId: z76.string(),
1856
+ overrides: z76.array(ThemeOverrideImportModelInput)
1821
1857
  });
1822
1858
 
1823
1859
  // src/dsm/import/tokens.ts
1824
- import { z as z74 } from "zod";
1825
- var DesignTokenImportModelPart = z74.object({
1826
- collection: z74.string().optional()
1860
+ import { z as z77 } from "zod";
1861
+ var DesignTokenImportModelPart = z77.object({
1862
+ collection: z77.string().optional()
1827
1863
  });
1828
1864
  var DesignTokenImportModelBase = ImportModelBase.extend(DesignTokenImportModelPart.shape).extend({
1829
1865
  origin: DesignTokenOrigin
@@ -1841,15 +1877,15 @@ function designTokenImportModelTypeFilter(type) {
1841
1877
  }
1842
1878
 
1843
1879
  // src/dsm/import/figma-frames.ts
1844
- import { z as z75 } from "zod";
1880
+ import { z as z78 } from "zod";
1845
1881
  var FigmaFileStructureNodeImportModelBase = FigmaFileStructureNodeBase.extend({
1846
1882
  image: FigmaPngRenderImportModel
1847
1883
  });
1848
1884
  var FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModelBase.extend({
1849
- children: z75.lazy(() => FigmaFileStructureNodeImportModel.array())
1885
+ children: z78.lazy(() => FigmaFileStructureNodeImportModel.array())
1850
1886
  });
1851
- var FigmaFileStructureImportModelPart = z75.object({
1852
- data: z75.object({
1887
+ var FigmaFileStructureImportModelPart = z78.object({
1888
+ data: z78.object({
1853
1889
  rootNode: FigmaFileStructureNodeImportModel,
1854
1890
  assetsInFile: FigmaFileStructureStatistics
1855
1891
  })
@@ -1860,7 +1896,7 @@ var FigmaFileStructureImportModel = ImportModelBase.extend(FigmaFileStructureImp
1860
1896
  var FigmaFileStructureImportModelInput = ImportModelInputBase.extend(
1861
1897
  FigmaFileStructureImportModelPart.shape
1862
1898
  ).extend({
1863
- fileVersionId: z75.string()
1899
+ fileVersionId: z78.string()
1864
1900
  });
1865
1901
  function figmaFileStructureImportModelToMap(root) {
1866
1902
  const map = /* @__PURE__ */ new Map();
@@ -1874,30 +1910,30 @@ function recursiveFigmaFileStructureToMap2(node, map) {
1874
1910
  }
1875
1911
 
1876
1912
  // src/dsm/import/data-source.ts
1877
- import { z as z76 } from "zod";
1878
- var DataSourceImportModel = z76.object({
1879
- id: z76.string(),
1880
- fileName: z76.string().optional(),
1881
- thumbnailUrl: z76.string().optional()
1913
+ import { z as z79 } from "zod";
1914
+ var DataSourceImportModel = z79.object({
1915
+ id: z79.string(),
1916
+ fileName: z79.string().optional(),
1917
+ thumbnailUrl: z79.string().optional()
1882
1918
  });
1883
1919
 
1884
1920
  // src/dsm/import/support/import-model-collections.ts
1885
- var ImportModelInputCollection = z77.object({
1921
+ var ImportModelInputCollection = z80.object({
1886
1922
  source: DataSourceImportModel,
1887
- tokens: z77.array(DesignTokenImportModelInput).default([]),
1888
- components: z77.array(ComponentImportModelInput).default([]),
1889
- assets: z77.array(AssetImportModelInput).default([]),
1890
- themeUpdates: z77.array(ThemeUpdateImportModelInput).default([]),
1891
- themes: z77.array(ThemeImportModelInput).default([]),
1923
+ tokens: z80.array(DesignTokenImportModelInput).default([]),
1924
+ components: z80.array(ComponentImportModelInput).default([]),
1925
+ assets: z80.array(AssetImportModelInput).default([]),
1926
+ themeUpdates: z80.array(ThemeUpdateImportModelInput).default([]),
1927
+ themes: z80.array(ThemeImportModelInput).default([]),
1892
1928
  figmaFileStructure: FigmaFileStructureImportModelInput.optional()
1893
1929
  });
1894
- var ImportModelCollection = z77.object({
1895
- sources: z77.array(DataSourceImportModel),
1896
- tokens: z77.array(DesignTokenImportModel).default([]),
1897
- components: z77.array(ComponentImportModel).default([]),
1898
- themeUpdates: z77.array(ThemeUpdateImportModel).default([]),
1899
- themes: z77.array(ThemeImportModel).default([]),
1900
- figmaFileStructures: z77.array(FigmaFileStructureImportModel)
1930
+ var ImportModelCollection = z80.object({
1931
+ sources: z80.array(DataSourceImportModel),
1932
+ tokens: z80.array(DesignTokenImportModel).default([]),
1933
+ components: z80.array(ComponentImportModel).default([]),
1934
+ themeUpdates: z80.array(ThemeUpdateImportModel).default([]),
1935
+ themes: z80.array(ThemeImportModel).default([]),
1936
+ figmaFileStructures: z80.array(FigmaFileStructureImportModel)
1901
1937
  });
1902
1938
  function addImportModelCollections(lhs, rhs) {
1903
1939
  return {
@@ -1911,8 +1947,8 @@ function addImportModelCollections(lhs, rhs) {
1911
1947
  }
1912
1948
 
1913
1949
  // src/dsm/import/warning.ts
1914
- import { z as z78 } from "zod";
1915
- var ImportWarningType = z78.enum([
1950
+ import { z as z81 } from "zod";
1951
+ var ImportWarningType = z81.enum([
1916
1952
  "NoVersionFound",
1917
1953
  "UnsupportedFill",
1918
1954
  "UnsupportedStroke",
@@ -1926,27 +1962,27 @@ var ImportWarningType = z78.enum([
1926
1962
  "DuplicateImportedStyleId",
1927
1963
  "DuplicateImportedStylePath"
1928
1964
  ]);
1929
- var ImportWarning = z78.object({
1965
+ var ImportWarning = z81.object({
1930
1966
  warningType: ImportWarningType,
1931
- componentId: z78.string().optional(),
1932
- componentName: z78.string().optional(),
1933
- styleId: z78.string().optional(),
1934
- styleName: z78.string().optional(),
1935
- unsupportedStyleValueType: z78.string().optional()
1967
+ componentId: z81.string().optional(),
1968
+ componentName: z81.string().optional(),
1969
+ styleId: z81.string().optional(),
1970
+ styleName: z81.string().optional(),
1971
+ unsupportedStyleValueType: z81.string().optional()
1936
1972
  });
1937
1973
 
1938
1974
  // src/dsm/data-sources/import-summary.ts
1939
- var FileStructureStats = z79.object({
1975
+ var FileStructureStats = z82.object({
1940
1976
  frames: zeroNumberByDefault2(),
1941
1977
  components: zeroNumberByDefault2(),
1942
1978
  componentSets: zeroNumberByDefault2()
1943
1979
  });
1944
1980
  var SourceImportSummaryByTokenTypeKey = DesignTokenType.or(
1945
1981
  // Backward compatibility
1946
- z79.enum(["Measure", "Radius", "GenericToken", "Font", "Text"])
1982
+ z82.enum(["Measure", "Radius", "GenericToken", "Font", "Text"])
1947
1983
  );
1948
- var SourceImportSummaryByTokenType = z79.record(SourceImportSummaryByTokenTypeKey, z79.number());
1949
- var SourceImportTokenSummary = z79.object({
1984
+ var SourceImportSummaryByTokenType = z82.record(SourceImportSummaryByTokenTypeKey, z82.number());
1985
+ var SourceImportTokenSummary = z82.object({
1950
1986
  tokensCreated: zeroNumberByDefault2(),
1951
1987
  tokensUpdated: zeroNumberByDefault2(),
1952
1988
  tokensDeleted: zeroNumberByDefault2(),
@@ -1954,7 +1990,7 @@ var SourceImportTokenSummary = z79.object({
1954
1990
  tokensUpdatedPerType: SourceImportSummaryByTokenType.nullish().transform((v) => v ?? {}),
1955
1991
  tokensDeletedPerType: SourceImportSummaryByTokenType.nullish().transform((v) => v ?? {})
1956
1992
  });
1957
- var SourceImportComponentSummary = z79.object({
1993
+ var SourceImportComponentSummary = z82.object({
1958
1994
  componentsCreated: zeroNumberByDefault2(),
1959
1995
  componentsUpdated: zeroNumberByDefault2(),
1960
1996
  componentsDeleted: zeroNumberByDefault2(),
@@ -1962,68 +1998,68 @@ var SourceImportComponentSummary = z79.object({
1962
1998
  componentAssetsUpdated: zeroNumberByDefault2(),
1963
1999
  componentAssetsDeleted: zeroNumberByDefault2()
1964
2000
  });
1965
- var SourceImportFrameSummary = z79.object({
2001
+ var SourceImportFrameSummary = z82.object({
1966
2002
  assetsInFile: nullishToOptional(FileStructureStats.optional()),
1967
- invalidReferencesCount: nullishToOptional(z79.number().optional())
1968
- });
1969
- var SourceImportSummary = z79.object({
1970
- sourceId: nullishToOptional(z79.string()),
1971
- brandId: nullishToOptional(z79.string()),
1972
- versionId: nullishToOptional(z79.string()),
1973
- error: nullishToOptional(z79.any()),
1974
- isFailed: z79.boolean(),
1975
- warnings: z79.array(ImportWarning).nullish().transform((v) => v ?? []),
2003
+ invalidReferencesCount: nullishToOptional(z82.number().optional())
2004
+ });
2005
+ var SourceImportSummary = z82.object({
2006
+ sourceId: nullishToOptional(z82.string()),
2007
+ brandId: nullishToOptional(z82.string()),
2008
+ versionId: nullishToOptional(z82.string()),
2009
+ error: nullishToOptional(z82.any()),
2010
+ isFailed: z82.boolean(),
2011
+ warnings: z82.array(ImportWarning).nullish().transform((v) => v ?? []),
1976
2012
  ...SourceImportTokenSummary.shape,
1977
2013
  ...SourceImportComponentSummary.shape,
1978
2014
  ...FileStructureStats.shape
1979
2015
  });
1980
2016
  function zeroNumberByDefault2() {
1981
- return z79.number().nullish().transform((v) => v ?? 0);
2017
+ return z82.number().nullish().transform((v) => v ?? 0);
1982
2018
  }
1983
2019
 
1984
2020
  // src/dsm/documentation/block-definitions/aux.ts
1985
- import { z as z80 } from "zod";
1986
- var PageBlockDefinitionAppearance = z80.object({
1987
- isBordered: z80.boolean().optional(),
1988
- hasBackground: z80.boolean().optional(),
1989
- isEditorPresentationDifferent: z80.boolean().optional()
2021
+ import { z as z83 } from "zod";
2022
+ var PageBlockDefinitionAppearance = z83.object({
2023
+ isBordered: z83.boolean().optional(),
2024
+ hasBackground: z83.boolean().optional(),
2025
+ isEditorPresentationDifferent: z83.boolean().optional()
1990
2026
  });
1991
2027
 
1992
2028
  // src/dsm/documentation/block-definitions/definition.ts
1993
- import { z as z83 } from "zod";
2029
+ import { z as z86 } from "zod";
1994
2030
 
1995
2031
  // src/dsm/documentation/block-definitions/item.ts
1996
- import { z as z82 } from "zod";
2032
+ import { z as z85 } from "zod";
1997
2033
 
1998
2034
  // src/dsm/documentation/block-definitions/variant.ts
1999
- import { z as z81 } from "zod";
2000
- var PageBlockDefinitionLayoutType = z81.enum(["Column", "Row"]);
2001
- var PageBlockDefinitionLayoutGap = z81.enum(["Small", "Medium", "Large", "None"]);
2002
- var PageBlockDefinitionLayoutAlign = z81.enum(["Start", "Center", "End"]);
2003
- var PageBlockDefinitionLayoutResizing = z81.enum(["Fill", "Hug"]);
2004
- var PageBlockDefinitionLayoutBase = z81.object({
2035
+ import { z as z84 } from "zod";
2036
+ var PageBlockDefinitionLayoutType = z84.enum(["Column", "Row"]);
2037
+ var PageBlockDefinitionLayoutGap = z84.enum(["Small", "Medium", "Large", "None"]);
2038
+ var PageBlockDefinitionLayoutAlign = z84.enum(["Start", "Center", "End"]);
2039
+ var PageBlockDefinitionLayoutResizing = z84.enum(["Fill", "Hug"]);
2040
+ var PageBlockDefinitionLayoutBase = z84.object({
2005
2041
  type: PageBlockDefinitionLayoutType,
2006
2042
  gap: PageBlockDefinitionLayoutGap.optional(),
2007
2043
  columnAlign: PageBlockDefinitionLayoutAlign.optional(),
2008
2044
  columnResizing: PageBlockDefinitionLayoutResizing.optional()
2009
2045
  });
2010
2046
  var PageBlockDefinitionLayout = PageBlockDefinitionLayoutBase.extend({
2011
- children: z81.lazy(() => z81.array(PageBlockDefinitionLayout.or(z81.string())))
2012
- });
2013
- var PageBlockDefinitionVariant = z81.object({
2014
- id: z81.string(),
2015
- name: z81.string(),
2016
- image: z81.string().optional(),
2017
- description: z81.string().optional(),
2018
- documentationLink: z81.string().optional(),
2047
+ children: z84.lazy(() => z84.array(PageBlockDefinitionLayout.or(z84.string())))
2048
+ });
2049
+ var PageBlockDefinitionVariant = z84.object({
2050
+ id: z84.string(),
2051
+ name: z84.string(),
2052
+ image: z84.string().optional(),
2053
+ description: z84.string().optional(),
2054
+ documentationLink: z84.string().optional(),
2019
2055
  layout: PageBlockDefinitionLayout,
2020
- maxColumns: z81.number().optional(),
2021
- defaultColumns: z81.number().optional(),
2056
+ maxColumns: z84.number().optional(),
2057
+ defaultColumns: z84.number().optional(),
2022
2058
  appearance: PageBlockDefinitionAppearance.optional()
2023
2059
  });
2024
2060
 
2025
2061
  // src/dsm/documentation/block-definitions/item.ts
2026
- var PageBlockDefinitionPropertyType = z82.enum([
2062
+ var PageBlockDefinitionPropertyType = z85.enum([
2027
2063
  "RichText",
2028
2064
  "MultiRichText",
2029
2065
  "Text",
@@ -2049,7 +2085,7 @@ var PageBlockDefinitionPropertyType = z82.enum([
2049
2085
  "Storybook",
2050
2086
  "Color"
2051
2087
  ]);
2052
- var PageBlockDefinitionRichTextPropertyStyle = z82.enum([
2088
+ var PageBlockDefinitionRichTextPropertyStyle = z85.enum([
2053
2089
  "Title1",
2054
2090
  "Title2",
2055
2091
  "Title3",
@@ -2059,8 +2095,8 @@ var PageBlockDefinitionRichTextPropertyStyle = z82.enum([
2059
2095
  "Callout",
2060
2096
  "Default"
2061
2097
  ]);
2062
- var PageBlockDefinitionMultiRichTextPropertyStyle = z82.enum(["OL", "UL", "Default"]);
2063
- var PageBlockDefinitionTextPropertyStyle = z82.enum([
2098
+ var PageBlockDefinitionMultiRichTextPropertyStyle = z85.enum(["OL", "UL", "Default"]);
2099
+ var PageBlockDefinitionTextPropertyStyle = z85.enum([
2064
2100
  "Title1",
2065
2101
  "Title2",
2066
2102
  "Title3",
@@ -2073,38 +2109,38 @@ var PageBlockDefinitionTextPropertyStyle = z82.enum([
2073
2109
  "SmallBold",
2074
2110
  "SmallSemibold"
2075
2111
  ]);
2076
- var PageBlockDefinitionBooleanPropertyStyle = z82.enum(["SegmentedControl", "ToggleButton", "Checkbox"]);
2077
- var PageBlockDefinitionSingleSelectPropertyStyle = z82.enum([
2112
+ var PageBlockDefinitionBooleanPropertyStyle = z85.enum(["SegmentedControl", "ToggleButton", "Checkbox"]);
2113
+ var PageBlockDefinitionSingleSelectPropertyStyle = z85.enum([
2078
2114
  "SegmentedControl",
2079
2115
  "ToggleButton",
2080
2116
  "Select",
2081
2117
  "Checkbox"
2082
2118
  ]);
2083
- var PageBlockDefinitionMultiSelectPropertyStyle = z82.enum(["SegmentedControl", "Select", "Checkbox"]);
2084
- var PageBlockDefinitionPropertyOptions = z82.object({
2119
+ var PageBlockDefinitionMultiSelectPropertyStyle = z85.enum(["SegmentedControl", "Select", "Checkbox"]);
2120
+ var PageBlockDefinitionPropertyOptions = z85.object({
2085
2121
  richTextStyle: PageBlockDefinitionRichTextPropertyStyle.optional(),
2086
2122
  multiRichTextStyle: PageBlockDefinitionMultiRichTextPropertyStyle.optional(),
2087
2123
  textStyle: PageBlockDefinitionTextPropertyStyle.optional(),
2088
- placeholder: z82.string().optional()
2089
- }).and(z82.record(z82.any()));
2090
- var PageBlockDefinitionProperty = z82.object({
2091
- id: z82.string(),
2092
- name: z82.string(),
2124
+ placeholder: z85.string().optional()
2125
+ }).and(z85.record(z85.any()));
2126
+ var PageBlockDefinitionProperty = z85.object({
2127
+ id: z85.string(),
2128
+ name: z85.string(),
2093
2129
  type: PageBlockDefinitionPropertyType,
2094
- description: z82.string().optional(),
2130
+ description: z85.string().optional(),
2095
2131
  // TODO Docs
2096
2132
  options: PageBlockDefinitionPropertyOptions.optional(),
2097
- variantOptions: z82.record(PageBlockDefinitionPropertyOptions).optional()
2133
+ variantOptions: z85.record(PageBlockDefinitionPropertyOptions).optional()
2098
2134
  });
2099
- var PageBlockDefinitionItem = z82.object({
2100
- properties: z82.array(PageBlockDefinitionProperty),
2135
+ var PageBlockDefinitionItem = z85.object({
2136
+ properties: z85.array(PageBlockDefinitionProperty),
2101
2137
  appearance: PageBlockDefinitionAppearance.optional(),
2102
- variants: z82.array(PageBlockDefinitionVariant),
2103
- defaultVariantKey: z82.string()
2138
+ variants: z85.array(PageBlockDefinitionVariant),
2139
+ defaultVariantKey: z85.string()
2104
2140
  });
2105
2141
 
2106
2142
  // src/dsm/documentation/block-definitions/definition.ts
2107
- var PageBlockCategory = z83.enum([
2143
+ var PageBlockCategory = z86.enum([
2108
2144
  "Text",
2109
2145
  "Layout",
2110
2146
  "Media",
@@ -2118,153 +2154,153 @@ var PageBlockCategory = z83.enum([
2118
2154
  "Data",
2119
2155
  "Other"
2120
2156
  ]);
2121
- var PageBlockBehaviorDataType = z83.enum(["Item", "Token", "Asset", "Component", "FigmaFrame"]);
2122
- var PageBlockBehaviorSelectionType = z83.enum(["Entity", "Group", "EntityAndGroup"]);
2123
- var PageBlockDefinitionBehavior = z83.object({
2157
+ var PageBlockBehaviorDataType = z86.enum(["Item", "Token", "Asset", "Component", "FigmaFrame"]);
2158
+ var PageBlockBehaviorSelectionType = z86.enum(["Entity", "Group", "EntityAndGroup"]);
2159
+ var PageBlockDefinitionBehavior = z86.object({
2124
2160
  dataType: PageBlockBehaviorDataType,
2125
- items: z83.object({
2126
- numberOfItems: z83.number(),
2127
- allowLinks: z83.boolean()
2161
+ items: z86.object({
2162
+ numberOfItems: z86.number(),
2163
+ allowLinks: z86.boolean()
2128
2164
  }).optional(),
2129
- entities: z83.object({
2165
+ entities: z86.object({
2130
2166
  selectionType: PageBlockBehaviorSelectionType,
2131
- maxSelected: z83.number()
2167
+ maxSelected: z86.number()
2132
2168
  }).optional()
2133
2169
  });
2134
- var PageBlockDefinitionOnboarding = z83.object({
2135
- helpText: z83.string(),
2136
- documentationLink: z83.string().optional()
2170
+ var PageBlockDefinitionOnboarding = z86.object({
2171
+ helpText: z86.string(),
2172
+ documentationLink: z86.string().optional()
2137
2173
  });
2138
- var PageBlockDefinition = z83.object({
2139
- id: z83.string(),
2140
- name: z83.string(),
2141
- description: z83.string(),
2174
+ var PageBlockDefinition = z86.object({
2175
+ id: z86.string(),
2176
+ name: z86.string(),
2177
+ description: z86.string(),
2142
2178
  category: PageBlockCategory,
2143
2179
  icon: AssetValue.optional(),
2144
- documentationLink: z83.string().optional(),
2145
- searchKeywords: z83.array(z83.string()).optional(),
2180
+ documentationLink: z86.string().optional(),
2181
+ searchKeywords: z86.array(z86.string()).optional(),
2146
2182
  item: PageBlockDefinitionItem,
2147
2183
  behavior: PageBlockDefinitionBehavior,
2148
- editorOptions: z83.object({
2184
+ editorOptions: z86.object({
2149
2185
  onboarding: PageBlockDefinitionOnboarding.optional()
2150
2186
  }),
2151
2187
  appearance: PageBlockDefinitionAppearance.optional()
2152
2188
  });
2153
2189
 
2154
2190
  // src/dsm/documentation/group.ts
2155
- import { z as z84 } from "zod";
2156
- var DocumentationPageGroup = z84.object({
2157
- type: z84.literal("ElementGroup"),
2158
- childType: z84.literal("DocumentationPage"),
2159
- id: z84.string(),
2160
- persistentId: z84.string(),
2161
- shortPersistentId: z84.string(),
2162
- designSystemVersionId: z84.string(),
2163
- parentPersistentId: z84.string().nullish(),
2164
- sortOrder: z84.number(),
2165
- title: z84.string(),
2166
- slug: z84.string(),
2167
- userSlug: z84.string().nullish(),
2168
- createdAt: z84.date(),
2169
- updatedAt: z84.date()
2191
+ import { z as z87 } from "zod";
2192
+ var DocumentationPageGroup = z87.object({
2193
+ type: z87.literal("ElementGroup"),
2194
+ childType: z87.literal("DocumentationPage"),
2195
+ id: z87.string(),
2196
+ persistentId: z87.string(),
2197
+ shortPersistentId: z87.string(),
2198
+ designSystemVersionId: z87.string(),
2199
+ parentPersistentId: z87.string().nullish(),
2200
+ sortOrder: z87.number(),
2201
+ title: z87.string(),
2202
+ slug: z87.string(),
2203
+ userSlug: z87.string().nullish(),
2204
+ createdAt: z87.date(),
2205
+ updatedAt: z87.date()
2170
2206
  });
2171
2207
 
2172
2208
  // src/dsm/documentation/page.ts
2173
- import { z as z85 } from "zod";
2174
- var DocumentationPage = z85.object({
2175
- type: z85.literal("DocumentationPage"),
2176
- id: z85.string(),
2177
- persistentId: z85.string(),
2178
- shortPersistentId: z85.string(),
2179
- designSystemVersionId: z85.string(),
2180
- parentPersistentId: z85.string().nullish(),
2181
- sortOrder: z85.number(),
2182
- title: z85.string(),
2183
- slug: z85.string(),
2184
- userSlug: z85.string().nullish(),
2185
- createdAt: z85.date(),
2186
- updatedAt: z85.date()
2209
+ import { z as z88 } from "zod";
2210
+ var DocumentationPage = z88.object({
2211
+ type: z88.literal("DocumentationPage"),
2212
+ id: z88.string(),
2213
+ persistentId: z88.string(),
2214
+ shortPersistentId: z88.string(),
2215
+ designSystemVersionId: z88.string(),
2216
+ parentPersistentId: z88.string().nullish(),
2217
+ sortOrder: z88.number(),
2218
+ title: z88.string(),
2219
+ slug: z88.string(),
2220
+ userSlug: z88.string().nullish(),
2221
+ createdAt: z88.date(),
2222
+ updatedAt: z88.date()
2187
2223
  });
2188
2224
 
2189
2225
  // src/dsm/design-system.ts
2190
- import { z as z95 } from "zod";
2226
+ import { z as z98 } from "zod";
2191
2227
 
2192
2228
  // src/workspace/npm-registry-settings.ts
2193
- import { z as z86 } from "zod";
2194
- var NpmRegistryAuthType = z86.enum(["Basic", "Bearer", "None", "Custom"]);
2195
- var NpmRegistryType = z86.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
2196
- var NpmRegistryBasicAuthConfig = z86.object({
2197
- authType: z86.literal(NpmRegistryAuthType.Enum.Basic),
2198
- username: z86.string(),
2199
- password: z86.string()
2200
- });
2201
- var NpmRegistryBearerAuthConfig = z86.object({
2202
- authType: z86.literal(NpmRegistryAuthType.Enum.Bearer),
2203
- accessToken: z86.string()
2204
- });
2205
- var NpmRegistryNoAuthConfig = z86.object({
2206
- authType: z86.literal(NpmRegistryAuthType.Enum.None)
2207
- });
2208
- var NpmRegistrCustomAuthConfig = z86.object({
2209
- authType: z86.literal(NpmRegistryAuthType.Enum.Custom),
2210
- authHeaderName: z86.string(),
2211
- authHeaderValue: z86.string()
2212
- });
2213
- var NpmRegistryAuthConfig = z86.discriminatedUnion("authType", [
2229
+ import { z as z89 } from "zod";
2230
+ var NpmRegistryAuthType = z89.enum(["Basic", "Bearer", "None", "Custom"]);
2231
+ var NpmRegistryType = z89.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
2232
+ var NpmRegistryBasicAuthConfig = z89.object({
2233
+ authType: z89.literal(NpmRegistryAuthType.Enum.Basic),
2234
+ username: z89.string(),
2235
+ password: z89.string()
2236
+ });
2237
+ var NpmRegistryBearerAuthConfig = z89.object({
2238
+ authType: z89.literal(NpmRegistryAuthType.Enum.Bearer),
2239
+ accessToken: z89.string()
2240
+ });
2241
+ var NpmRegistryNoAuthConfig = z89.object({
2242
+ authType: z89.literal(NpmRegistryAuthType.Enum.None)
2243
+ });
2244
+ var NpmRegistrCustomAuthConfig = z89.object({
2245
+ authType: z89.literal(NpmRegistryAuthType.Enum.Custom),
2246
+ authHeaderName: z89.string(),
2247
+ authHeaderValue: z89.string()
2248
+ });
2249
+ var NpmRegistryAuthConfig = z89.discriminatedUnion("authType", [
2214
2250
  NpmRegistryBasicAuthConfig,
2215
2251
  NpmRegistryBearerAuthConfig,
2216
2252
  NpmRegistryNoAuthConfig,
2217
2253
  NpmRegistrCustomAuthConfig
2218
2254
  ]);
2219
- var NpmRegistryConfigBase = z86.object({
2255
+ var NpmRegistryConfigBase = z89.object({
2220
2256
  registryType: NpmRegistryType,
2221
- enabledScopes: z86.array(z86.string()),
2222
- customRegistryUrl: z86.string().optional(),
2223
- bypassProxy: z86.boolean().default(false),
2224
- npmProxyRegistryConfigId: z86.string().optional(),
2225
- npmProxyVersion: z86.number().optional()
2257
+ enabledScopes: z89.array(z89.string()),
2258
+ customRegistryUrl: z89.string().optional(),
2259
+ bypassProxy: z89.boolean().default(false),
2260
+ npmProxyRegistryConfigId: z89.string().optional(),
2261
+ npmProxyVersion: z89.number().optional()
2226
2262
  });
2227
2263
  var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
2228
2264
 
2229
2265
  // src/workspace/sso-provider.ts
2230
- import { z as z87 } from "zod";
2231
- var SsoProvider = z87.object({
2232
- providerId: z87.string(),
2233
- defaultAutoInviteValue: z87.boolean(),
2234
- autoInviteDomains: z87.record(z87.string(), z87.boolean()),
2235
- skipDocsSupernovaLogin: z87.boolean(),
2236
- areInvitesDisabled: z87.boolean(),
2237
- isTestMode: z87.boolean(),
2238
- emailDomains: z87.array(z87.string()),
2239
- metadataXml: z87.string().nullish()
2266
+ import { z as z90 } from "zod";
2267
+ var SsoProvider = z90.object({
2268
+ providerId: z90.string(),
2269
+ defaultAutoInviteValue: z90.boolean(),
2270
+ autoInviteDomains: z90.record(z90.string(), z90.boolean()),
2271
+ skipDocsSupernovaLogin: z90.boolean(),
2272
+ areInvitesDisabled: z90.boolean(),
2273
+ isTestMode: z90.boolean(),
2274
+ emailDomains: z90.array(z90.string()),
2275
+ metadataXml: z90.string().nullish()
2240
2276
  });
2241
2277
 
2242
2278
  // src/workspace/user-invite.ts
2243
- import { z as z89 } from "zod";
2279
+ import { z as z92 } from "zod";
2244
2280
 
2245
2281
  // src/workspace/workspace-role.ts
2246
- import { z as z88 } from "zod";
2247
- var WorkspaceRoleSchema = z88.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest"]);
2282
+ import { z as z91 } from "zod";
2283
+ var WorkspaceRoleSchema = z91.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest"]);
2248
2284
  var WorkspaceRole = WorkspaceRoleSchema.enum;
2249
2285
 
2250
2286
  // src/workspace/user-invite.ts
2251
2287
  var MAX_MEMBERS_COUNT = 100;
2252
- var UserInvite = z89.object({
2253
- email: z89.string().email().trim().transform((value) => value.toLowerCase()),
2288
+ var UserInvite = z92.object({
2289
+ email: z92.string().email().trim().transform((value) => value.toLowerCase()),
2254
2290
  role: WorkspaceRoleSchema
2255
2291
  });
2256
- var UserInvites = z89.array(UserInvite).max(MAX_MEMBERS_COUNT);
2292
+ var UserInvites = z92.array(UserInvite).max(MAX_MEMBERS_COUNT);
2257
2293
 
2258
2294
  // src/workspace/workspace-context.ts
2259
- import { z as z90 } from "zod";
2260
- var WorkspaceContext = z90.object({
2261
- workspaceId: z90.string(),
2295
+ import { z as z93 } from "zod";
2296
+ var WorkspaceContext = z93.object({
2297
+ workspaceId: z93.string(),
2262
2298
  product: ProductCodeSchema,
2263
- publicDesignSystem: z90.boolean().optional()
2299
+ publicDesignSystem: z93.boolean().optional()
2264
2300
  });
2265
2301
 
2266
2302
  // src/workspace/workspace-create.ts
2267
- import { z as z91 } from "zod";
2303
+ import { z as z94 } from "zod";
2268
2304
 
2269
2305
  // src/utils/validation.ts
2270
2306
  var slugRegex = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
@@ -2274,136 +2310,136 @@ var WORKSPACE_NAME_MIN_LENGTH = 2;
2274
2310
  var WORKSPACE_NAME_MAX_LENGTH = 64;
2275
2311
  var HANDLE_MIN_LENGTH = 2;
2276
2312
  var HANDLE_MAX_LENGTH = 64;
2277
- var CreateWorkspaceInput = z91.object({
2278
- name: z91.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
2313
+ var CreateWorkspaceInput = z94.object({
2314
+ name: z94.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
2279
2315
  product: ProductCodeSchema,
2280
- priceId: z91.string(),
2281
- billingEmail: z91.string().email().optional(),
2282
- handle: z91.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional(),
2316
+ priceId: z94.string(),
2317
+ billingEmail: z94.string().email().optional(),
2318
+ handle: z94.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional(),
2283
2319
  invites: UserInvites.optional(),
2284
- promoCode: z91.string().optional()
2320
+ promoCode: z94.string().optional()
2285
2321
  });
2286
2322
 
2287
2323
  // src/workspace/workspace-invitations.ts
2288
- import { z as z92 } from "zod";
2289
- var WorkspaceInvitation = z92.object({
2290
- id: z92.string(),
2291
- email: z92.string().email(),
2292
- createdAt: z92.date(),
2293
- resentAt: z92.date().nullish(),
2294
- role: z92.nativeEnum(WorkspaceRole),
2295
- workspaceId: z92.string(),
2296
- invitedBy: z92.string()
2324
+ import { z as z95 } from "zod";
2325
+ var WorkspaceInvitation = z95.object({
2326
+ id: z95.string(),
2327
+ email: z95.string().email(),
2328
+ createdAt: z95.date(),
2329
+ resentAt: z95.date().nullish(),
2330
+ role: z95.nativeEnum(WorkspaceRole),
2331
+ workspaceId: z95.string(),
2332
+ invitedBy: z95.string()
2297
2333
  });
2298
2334
 
2299
2335
  // src/workspace/workspace-membership.ts
2300
- import { z as z93 } from "zod";
2301
- var WorkspaceMembership = z93.object({
2302
- id: z93.string(),
2303
- userId: z93.string(),
2304
- workspaceId: z93.string(),
2305
- workspaceRole: z93.nativeEnum(WorkspaceRole)
2336
+ import { z as z96 } from "zod";
2337
+ var WorkspaceMembership = z96.object({
2338
+ id: z96.string(),
2339
+ userId: z96.string(),
2340
+ workspaceId: z96.string(),
2341
+ workspaceRole: z96.nativeEnum(WorkspaceRole)
2306
2342
  });
2307
2343
 
2308
2344
  // src/workspace/workspace.ts
2309
- import { z as z94 } from "zod";
2310
- var WorkspaceIpWhitelistEntry = z94.object({
2311
- isEnabled: z94.boolean(),
2312
- name: z94.string(),
2313
- range: z94.string()
2314
- });
2315
- var WorkspaceIpSettings = z94.object({
2316
- isEnabledForCloud: z94.boolean(),
2317
- isEnabledForDocs: z94.boolean(),
2318
- entries: z94.array(WorkspaceIpWhitelistEntry)
2345
+ import { z as z97 } from "zod";
2346
+ var WorkspaceIpWhitelistEntry = z97.object({
2347
+ isEnabled: z97.boolean(),
2348
+ name: z97.string(),
2349
+ range: z97.string()
2350
+ });
2351
+ var WorkspaceIpSettings = z97.object({
2352
+ isEnabledForCloud: z97.boolean(),
2353
+ isEnabledForDocs: z97.boolean(),
2354
+ entries: z97.array(WorkspaceIpWhitelistEntry)
2319
2355
  }).nullish();
2320
- var WorkspaceProfile = z94.object({
2321
- name: z94.string(),
2322
- handle: z94.string(),
2323
- color: z94.string(),
2324
- avatar: z94.string().optional(),
2356
+ var WorkspaceProfile = z97.object({
2357
+ name: z97.string(),
2358
+ handle: z97.string(),
2359
+ color: z97.string(),
2360
+ avatar: z97.string().optional(),
2325
2361
  billingDetails: BillingDetails.optional()
2326
2362
  });
2327
- var Workspace = z94.object({
2328
- id: z94.string(),
2363
+ var Workspace = z97.object({
2364
+ id: z97.string(),
2329
2365
  profile: WorkspaceProfile,
2330
2366
  subscription: Subscription,
2331
2367
  ipWhitelist: WorkspaceIpSettings,
2332
2368
  sso: SsoProvider.nullish(),
2333
- npmRegistrySettings: z94.unknown().optional(),
2334
- designSystems: z94.array(DesignSystem).nullish()
2369
+ npmRegistrySettings: z97.unknown().optional(),
2370
+ designSystems: z97.array(DesignSystem).nullish()
2335
2371
  });
2336
- var WorkspaceWithDesignSystems = z94.object({
2372
+ var WorkspaceWithDesignSystems = z97.object({
2337
2373
  workspace: Workspace,
2338
- designSystems: z94.array(DesignSystem)
2374
+ designSystems: z97.array(DesignSystem)
2339
2375
  });
2340
2376
 
2341
2377
  // src/dsm/design-system.ts
2342
- var DesignSystemSwitcher = z95.object({
2343
- isEnabled: z95.boolean(),
2344
- designSystemIds: z95.string()
2378
+ var DesignSystemSwitcher = z98.object({
2379
+ isEnabled: z98.boolean(),
2380
+ designSystemIds: z98.string()
2345
2381
  });
2346
- var DesignSystem = z95.object({
2347
- id: z95.string(),
2348
- workspaceId: z95.string(),
2349
- name: z95.string(),
2350
- description: z95.string(),
2351
- docExporterId: z95.string().nullish(),
2352
- docSlug: z95.string(),
2353
- docUserSlug: z95.string().nullish(),
2354
- docSlugDeprecated: z95.string(),
2355
- isPublic: z95.boolean(),
2356
- isMultibrand: z95.boolean(),
2357
- docViewUrl: z95.string().nullish(),
2358
- basePrefixes: z95.array(z95.string()),
2382
+ var DesignSystem = z98.object({
2383
+ id: z98.string(),
2384
+ workspaceId: z98.string(),
2385
+ name: z98.string(),
2386
+ description: z98.string(),
2387
+ docExporterId: z98.string().nullish(),
2388
+ docSlug: z98.string(),
2389
+ docUserSlug: z98.string().nullish(),
2390
+ docSlugDeprecated: z98.string(),
2391
+ isPublic: z98.boolean(),
2392
+ isMultibrand: z98.boolean(),
2393
+ docViewUrl: z98.string().nullish(),
2394
+ basePrefixes: z98.array(z98.string()),
2359
2395
  designSystemSwitcher: DesignSystemSwitcher.nullish(),
2360
- createdAt: z95.date(),
2361
- updatedAt: z95.date()
2396
+ createdAt: z98.date(),
2397
+ updatedAt: z98.date()
2362
2398
  });
2363
- var DesignSystemWithWorkspace = z95.object({
2399
+ var DesignSystemWithWorkspace = z98.object({
2364
2400
  designSystem: DesignSystem,
2365
2401
  workspace: Workspace
2366
2402
  });
2367
2403
 
2368
2404
  // src/dsm/desing-system-create.ts
2369
- import { z as z96 } from "zod";
2405
+ import { z as z99 } from "zod";
2370
2406
  var DS_NAME_MIN_LENGTH = 2;
2371
2407
  var DS_NAME_MAX_LENGTH = 64;
2372
2408
  var DS_DESC_MIN_LENGTH = 2;
2373
2409
  var DS_DESC_MAX_LENGTH = 64;
2374
- var DesignSystemCreateInputMetadata = z96.object({
2375
- name: z96.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim(),
2376
- description: z96.string().min(DS_DESC_MIN_LENGTH).max(DS_DESC_MAX_LENGTH).trim()
2410
+ var DesignSystemCreateInputMetadata = z99.object({
2411
+ name: z99.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim(),
2412
+ description: z99.string().min(DS_DESC_MIN_LENGTH).max(DS_DESC_MAX_LENGTH).trim()
2377
2413
  });
2378
- var DesignSystemCreateInput = z96.object({
2414
+ var DesignSystemCreateInput = z99.object({
2379
2415
  meta: DesignSystemCreateInputMetadata,
2380
- workspaceId: z96.string(),
2381
- isPublic: z96.boolean().optional(),
2382
- basePrefixes: z96.array(z96.string()).optional(),
2383
- docUserSlug: z96.string().nullish().optional(),
2384
- source: z96.array(z96.string()).optional()
2416
+ workspaceId: z99.string(),
2417
+ isPublic: z99.boolean().optional(),
2418
+ basePrefixes: z99.array(z99.string()).optional(),
2419
+ docUserSlug: z99.string().nullish().optional(),
2420
+ source: z99.array(z99.string()).optional()
2385
2421
  });
2386
2422
 
2387
2423
  // src/dsm/desing-system-update.ts
2388
- import { z as z97 } from "zod";
2424
+ import { z as z100 } from "zod";
2389
2425
  var DS_NAME_MIN_LENGTH2 = 2;
2390
2426
  var DS_NAME_MAX_LENGTH2 = 64;
2391
2427
  var DS_DESC_MIN_LENGTH2 = 2;
2392
2428
  var DS_DESC_MAX_LENGTH2 = 64;
2393
- var DesignSystemUpdateInputMetadata = z97.object({
2394
- name: z97.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim().optional(),
2395
- description: z97.string().min(DS_DESC_MIN_LENGTH2).max(DS_DESC_MAX_LENGTH2).trim().optional()
2429
+ var DesignSystemUpdateInputMetadata = z100.object({
2430
+ name: z100.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim().optional(),
2431
+ description: z100.string().min(DS_DESC_MIN_LENGTH2).max(DS_DESC_MAX_LENGTH2).trim().optional()
2396
2432
  });
2397
- var DesignSystemUpdateInput = z97.object({
2433
+ var DesignSystemUpdateInput = z100.object({
2398
2434
  meta: DesignSystemUpdateInputMetadata.optional(),
2399
- workspaceId: z97.string().optional(),
2400
- isPublic: z97.boolean().optional(),
2401
- basePrefixes: z97.array(z97.string()).optional(),
2402
- docUserSlug: z97.string().nullish().optional(),
2403
- source: z97.array(z97.string()).optional(),
2404
- name: z97.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim().optional(),
2405
- description: z97.string().min(DS_DESC_MIN_LENGTH2).max(DS_DESC_MAX_LENGTH2).trim().optional(),
2406
- docExporterId: z97.string().optional()
2435
+ workspaceId: z100.string().optional(),
2436
+ isPublic: z100.boolean().optional(),
2437
+ basePrefixes: z100.array(z100.string()).optional(),
2438
+ docUserSlug: z100.string().nullish().optional(),
2439
+ source: z100.array(z100.string()).optional(),
2440
+ name: z100.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim().optional(),
2441
+ description: z100.string().min(DS_DESC_MIN_LENGTH2).max(DS_DESC_MAX_LENGTH2).trim().optional(),
2442
+ docExporterId: z100.string().optional()
2407
2443
  });
2408
2444
 
2409
2445
  // src/dsm/published-doc-page.ts
@@ -2415,68 +2451,68 @@ function tryParseShortPersistentId(url = "/") {
2415
2451
  }
2416
2452
 
2417
2453
  // src/dsm/published-doc.ts
2418
- import { z as z98 } from "zod";
2454
+ import { z as z101 } from "zod";
2419
2455
  var publishedDocEnvironments = ["Live", "Preview"];
2420
- var PublishedDocEnvironment = z98.enum(publishedDocEnvironments);
2421
- var PublishedDocsChecksums = z98.record(z98.string());
2422
- var PublishedDocRoutingVersion = z98.enum(["1", "2"]);
2423
- var PublishedDoc = z98.object({
2424
- id: z98.string(),
2425
- designSystemVersionId: z98.string(),
2426
- createdAt: z98.date(),
2427
- updatedAt: z98.date(),
2428
- lastPublishedAt: z98.date(),
2429
- isDefault: z98.boolean(),
2430
- isPublic: z98.boolean(),
2456
+ var PublishedDocEnvironment = z101.enum(publishedDocEnvironments);
2457
+ var PublishedDocsChecksums = z101.record(z101.string());
2458
+ var PublishedDocRoutingVersion = z101.enum(["1", "2"]);
2459
+ var PublishedDoc = z101.object({
2460
+ id: z101.string(),
2461
+ designSystemVersionId: z101.string(),
2462
+ createdAt: z101.date(),
2463
+ updatedAt: z101.date(),
2464
+ lastPublishedAt: z101.date(),
2465
+ isDefault: z101.boolean(),
2466
+ isPublic: z101.boolean(),
2431
2467
  environment: PublishedDocEnvironment,
2432
2468
  checksums: PublishedDocsChecksums,
2433
- storagePath: z98.string(),
2434
- wasMigrated: z98.boolean(),
2469
+ storagePath: z101.string(),
2470
+ wasMigrated: z101.boolean(),
2435
2471
  routingVersion: PublishedDocRoutingVersion,
2436
- usesLocalizations: z98.boolean(),
2437
- wasPublishedWithLocalizations: z98.boolean()
2472
+ usesLocalizations: z101.boolean(),
2473
+ wasPublishedWithLocalizations: z101.boolean()
2438
2474
  });
2439
2475
 
2440
2476
  // src/codegen/export-jobs.ts
2441
- import { z as z99 } from "zod";
2442
- var ExportJobStatus = z99.union([
2443
- z99.literal("Success"),
2444
- z99.literal("InProgress"),
2445
- z99.literal("Timeout"),
2446
- z99.literal("Failed")
2477
+ import { z as z102 } from "zod";
2478
+ var ExportJobStatus = z102.union([
2479
+ z102.literal("Success"),
2480
+ z102.literal("InProgress"),
2481
+ z102.literal("Timeout"),
2482
+ z102.literal("Failed")
2447
2483
  ]);
2448
- var ExportJob = z99.object({
2449
- id: z99.string(),
2450
- workspaceId: z99.string(),
2451
- designSystemId: z99.string(),
2452
- designSystemVersionId: z99.string(),
2484
+ var ExportJob = z102.object({
2485
+ id: z102.string(),
2486
+ workspaceId: z102.string(),
2487
+ designSystemId: z102.string(),
2488
+ designSystemVersionId: z102.string(),
2453
2489
  status: ExportJobStatus,
2454
- docsUrl: z99.string().nullish(),
2455
- scheduleId: z99.string().nullish(),
2456
- exporterId: z99.string().nullish(),
2457
- createdAt: z99.date(),
2490
+ docsUrl: z102.string().nullish(),
2491
+ scheduleId: z102.string().nullish(),
2492
+ exporterId: z102.string().nullish(),
2493
+ createdAt: z102.date(),
2458
2494
  environment: PublishedDocEnvironment,
2459
- finishedAt: z99.date().nullish()
2495
+ finishedAt: z102.date().nullish()
2460
2496
  });
2461
2497
 
2462
2498
  // src/codegen/exporter-workspace-membership-role.ts
2463
- import { z as z100 } from "zod";
2464
- var ExporterWorkspaceMembershipRole = z100.enum(["Owner", "OwnerArchived", "User"]);
2499
+ import { z as z103 } from "zod";
2500
+ var ExporterWorkspaceMembershipRole = z103.enum(["Owner", "OwnerArchived", "User"]);
2465
2501
 
2466
2502
  // src/codegen/exporter-workspace-membership.ts
2467
- import { z as z101 } from "zod";
2468
- var ExporterWorkspaceMembership = z101.object({
2469
- id: z101.string(),
2470
- workspaceId: z101.string(),
2471
- exporterId: z101.string(),
2503
+ import { z as z104 } from "zod";
2504
+ var ExporterWorkspaceMembership = z104.object({
2505
+ id: z104.string(),
2506
+ workspaceId: z104.string(),
2507
+ exporterId: z104.string(),
2472
2508
  role: ExporterWorkspaceMembershipRole
2473
2509
  });
2474
2510
 
2475
2511
  // src/codegen/exporter.ts
2476
- import { z as z104 } from "zod";
2512
+ import { z as z107 } from "zod";
2477
2513
 
2478
2514
  // src/codegen/git-providers.ts
2479
- import { z as z102 } from "zod";
2515
+ import { z as z105 } from "zod";
2480
2516
  var GitProviderNames = /* @__PURE__ */ ((GitProviderNames2) => {
2481
2517
  GitProviderNames2["Azure"] = "azure";
2482
2518
  GitProviderNames2["Github"] = "github";
@@ -2484,18 +2520,18 @@ var GitProviderNames = /* @__PURE__ */ ((GitProviderNames2) => {
2484
2520
  GitProviderNames2["Bitbucket"] = "bitbucket";
2485
2521
  return GitProviderNames2;
2486
2522
  })(GitProviderNames || {});
2487
- var GitProvider = z102.nativeEnum(GitProviderNames);
2523
+ var GitProvider = z105.nativeEnum(GitProviderNames);
2488
2524
 
2489
2525
  // src/codegen/pulsar.ts
2490
- import { z as z103 } from "zod";
2491
- var PulsarContributionVariant = z103.object({
2492
- key: z103.string(),
2493
- name: z103.string(),
2494
- isDefault: z103.boolean().optional(),
2495
- description: z103.string().optional(),
2496
- thumbnailURL: z103.string().optional()
2497
- });
2498
- var PulsarPropertyType = z103.enum([
2526
+ import { z as z106 } from "zod";
2527
+ var PulsarContributionVariant = z106.object({
2528
+ key: z106.string(),
2529
+ name: z106.string(),
2530
+ isDefault: z106.boolean().optional(),
2531
+ description: z106.string().optional(),
2532
+ thumbnailURL: z106.string().optional()
2533
+ });
2534
+ var PulsarPropertyType = z106.enum([
2499
2535
  "string",
2500
2536
  "number",
2501
2537
  "boolean",
@@ -2508,99 +2544,99 @@ var PulsarPropertyType = z103.enum([
2508
2544
  "tokenProperties",
2509
2545
  "tokenType"
2510
2546
  ]);
2511
- var BasePulsarProperty = z103.object({
2512
- label: z103.string(),
2513
- key: z103.string(),
2514
- description: z103.string().optional(),
2547
+ var BasePulsarProperty = z106.object({
2548
+ label: z106.string(),
2549
+ key: z106.string(),
2550
+ description: z106.string().optional(),
2515
2551
  type: PulsarPropertyType,
2516
- values: z103.array(z103.string()).optional(),
2517
- default: z103.union([z103.string(), z103.boolean(), z103.number()]).nullish(),
2552
+ values: z106.array(z106.string()).optional(),
2553
+ default: z106.union([z106.string(), z106.boolean(), z106.number()]).nullish(),
2518
2554
  // PulsarPropertyValueType //is optional?
2519
- inputType: z103.enum(["code", "plain"]).optional(),
2555
+ inputType: z106.enum(["code", "plain"]).optional(),
2520
2556
  //is optional?
2521
- isMultiline: z103.boolean().optional()
2557
+ isMultiline: z106.boolean().optional()
2522
2558
  });
2523
- var PulsarContributionBlock = z103.object({
2524
- title: z103.string(),
2525
- key: z103.string(),
2526
- category: z103.string(),
2527
- description: z103.string().optional(),
2528
- iconURL: z103.string(),
2529
- mode: z103.enum(["array", "block"]),
2530
- properties: z103.array(BasePulsarProperty)
2559
+ var PulsarContributionBlock = z106.object({
2560
+ title: z106.string(),
2561
+ key: z106.string(),
2562
+ category: z106.string(),
2563
+ description: z106.string().optional(),
2564
+ iconURL: z106.string(),
2565
+ mode: z106.enum(["array", "block"]),
2566
+ properties: z106.array(BasePulsarProperty)
2531
2567
  });
2532
- var PulsarContributionConfigurationProperty = BasePulsarProperty.extend({ category: z103.string() });
2568
+ var PulsarContributionConfigurationProperty = BasePulsarProperty.extend({ category: z106.string() });
2533
2569
 
2534
2570
  // src/codegen/exporter.ts
2535
- var ExporterType = z104.enum(["code", "documentation"]);
2536
- var ExporterSource = z104.enum(["git", "upload"]);
2537
- var ExporterTag = z104.string().regex(/^[0-9a-zA-Z]+(\s[0-9a-zA-Z]+)*$/);
2538
- var ExporterDetails = z104.object({
2539
- packageId: z104.string().max(255),
2540
- version: z104.string(),
2541
- description: z104.string(),
2542
- author: nullishToOptional(z104.string()),
2543
- organization: nullishToOptional(z104.string()),
2544
- homepage: nullishToOptional(z104.string()),
2545
- readme: nullishToOptional(z104.string()),
2546
- tags: z104.array(ExporterTag).default([]),
2547
- routingVersion: nullishToOptional(z104.string()),
2548
- iconURL: nullishToOptional(z104.string()),
2549
- configurationProperties: z104.array(PulsarContributionConfigurationProperty).default([]),
2550
- customBlocks: z104.array(PulsarContributionBlock).default([]),
2551
- blockVariants: z104.record(z104.string(), z104.array(PulsarContributionVariant)).default({}),
2552
- usesBrands: z104.boolean().default(false),
2553
- usesThemes: z104.boolean().default(false),
2571
+ var ExporterType = z107.enum(["code", "documentation"]);
2572
+ var ExporterSource = z107.enum(["git", "upload"]);
2573
+ var ExporterTag = z107.string().regex(/^[0-9a-zA-Z]+(\s[0-9a-zA-Z]+)*$/);
2574
+ var ExporterDetails = z107.object({
2575
+ packageId: z107.string().max(255),
2576
+ version: z107.string(),
2577
+ description: z107.string(),
2578
+ author: nullishToOptional(z107.string()),
2579
+ organization: nullishToOptional(z107.string()),
2580
+ homepage: nullishToOptional(z107.string()),
2581
+ readme: nullishToOptional(z107.string()),
2582
+ tags: z107.array(ExporterTag).default([]),
2583
+ routingVersion: nullishToOptional(z107.string()),
2584
+ iconURL: nullishToOptional(z107.string()),
2585
+ configurationProperties: z107.array(PulsarContributionConfigurationProperty).default([]),
2586
+ customBlocks: z107.array(PulsarContributionBlock).default([]),
2587
+ blockVariants: z107.record(z107.string(), z107.array(PulsarContributionVariant)).default({}),
2588
+ usesBrands: z107.boolean().default(false),
2589
+ usesThemes: z107.boolean().default(false),
2554
2590
  source: ExporterSource,
2555
2591
  gitProvider: nullishToOptional(GitProvider),
2556
- gitUrl: nullishToOptional(z104.string()),
2557
- gitBranch: nullishToOptional(z104.string()),
2558
- gitDirectory: nullishToOptional(z104.string())
2592
+ gitUrl: nullishToOptional(z107.string()),
2593
+ gitBranch: nullishToOptional(z107.string()),
2594
+ gitDirectory: nullishToOptional(z107.string())
2559
2595
  });
2560
- var Exporter = z104.object({
2561
- id: z104.string(),
2562
- createdAt: z104.coerce.date(),
2563
- name: z104.string(),
2564
- isPrivate: z104.boolean(),
2596
+ var Exporter = z107.object({
2597
+ id: z107.string(),
2598
+ createdAt: z107.coerce.date(),
2599
+ name: z107.string(),
2600
+ isPrivate: z107.boolean(),
2565
2601
  details: ExporterDetails,
2566
2602
  exporterType: ExporterType.default("code"),
2567
- storagePath: z104.string().default("")
2603
+ storagePath: z107.string().default("")
2568
2604
  });
2569
2605
 
2570
2606
  // src/custom-domains/custom-domains.ts
2571
- import { z as z105 } from "zod";
2572
- var CustomDomain = z105.object({
2573
- id: z105.string(),
2574
- designSystemId: z105.string(),
2575
- state: z105.string(),
2576
- supernovaDomain: z105.string(),
2577
- customerDomain: z105.string().nullish(),
2578
- error: z105.string().nullish(),
2579
- errorCode: z105.string().nullish()
2607
+ import { z as z108 } from "zod";
2608
+ var CustomDomain = z108.object({
2609
+ id: z108.string(),
2610
+ designSystemId: z108.string(),
2611
+ state: z108.string(),
2612
+ supernovaDomain: z108.string(),
2613
+ customerDomain: z108.string().nullish(),
2614
+ error: z108.string().nullish(),
2615
+ errorCode: z108.string().nullish()
2580
2616
  });
2581
2617
 
2582
2618
  // src/docs-server/session.ts
2583
- import { z as z110 } from "zod";
2619
+ import { z as z113 } from "zod";
2584
2620
 
2585
2621
  // src/users/linked-integrations.ts
2586
- import { z as z106 } from "zod";
2587
- var IntegrationAuthType = z106.union([z106.literal("OAuth2"), z106.literal("PAT")]);
2588
- var ExternalServiceType = z106.union([
2589
- z106.literal("figma"),
2590
- z106.literal("github"),
2591
- z106.literal("azure"),
2592
- z106.literal("gitlab"),
2593
- z106.literal("bitbucket")
2622
+ import { z as z109 } from "zod";
2623
+ var IntegrationAuthType = z109.union([z109.literal("OAuth2"), z109.literal("PAT")]);
2624
+ var ExternalServiceType = z109.union([
2625
+ z109.literal("figma"),
2626
+ z109.literal("github"),
2627
+ z109.literal("azure"),
2628
+ z109.literal("gitlab"),
2629
+ z109.literal("bitbucket")
2594
2630
  ]);
2595
- var IntegrationUserInfo = z106.object({
2596
- id: z106.string(),
2597
- handle: z106.string().optional(),
2598
- avatarUrl: z106.string().optional(),
2599
- email: z106.string().optional(),
2631
+ var IntegrationUserInfo = z109.object({
2632
+ id: z109.string(),
2633
+ handle: z109.string().optional(),
2634
+ avatarUrl: z109.string().optional(),
2635
+ email: z109.string().optional(),
2600
2636
  authType: IntegrationAuthType.optional(),
2601
- customUrl: z106.string().optional()
2637
+ customUrl: z109.string().optional()
2602
2638
  });
2603
- var UserLinkedIntegrations = z106.object({
2639
+ var UserLinkedIntegrations = z109.object({
2604
2640
  figma: IntegrationUserInfo.optional(),
2605
2641
  github: IntegrationUserInfo.array().optional(),
2606
2642
  azure: IntegrationUserInfo.array().optional(),
@@ -2609,86 +2645,86 @@ var UserLinkedIntegrations = z106.object({
2609
2645
  });
2610
2646
 
2611
2647
  // src/users/user-identity.ts
2612
- import { z as z107 } from "zod";
2613
- var UserIdentity = z107.object({
2614
- id: z107.string(),
2615
- userId: z107.string()
2648
+ import { z as z110 } from "zod";
2649
+ var UserIdentity = z110.object({
2650
+ id: z110.string(),
2651
+ userId: z110.string()
2616
2652
  });
2617
2653
 
2618
2654
  // src/users/user-profile.ts
2619
- import { z as z108 } from "zod";
2620
- var UserOnboardingDepartment = z108.enum(["Design", "Engineering", "Brand", "Other"]);
2621
- var UserOnboardingJobLevel = z108.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
2622
- var UserOnboarding = z108.object({
2623
- companyName: z108.string().optional(),
2624
- numberOfPeopleInOrg: z108.string().optional(),
2625
- numberOfPeopleInDesignTeam: z108.string().optional(),
2655
+ import { z as z111 } from "zod";
2656
+ var UserOnboardingDepartment = z111.enum(["Design", "Engineering", "Brand", "Other"]);
2657
+ var UserOnboardingJobLevel = z111.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
2658
+ var UserOnboarding = z111.object({
2659
+ companyName: z111.string().optional(),
2660
+ numberOfPeopleInOrg: z111.string().optional(),
2661
+ numberOfPeopleInDesignTeam: z111.string().optional(),
2626
2662
  department: UserOnboardingDepartment.optional(),
2627
- jobTitle: z108.string().optional(),
2628
- phase: z108.string().optional(),
2663
+ jobTitle: z111.string().optional(),
2664
+ phase: z111.string().optional(),
2629
2665
  jobLevel: UserOnboardingJobLevel.optional()
2630
2666
  });
2631
- var UserProfile = z108.object({
2632
- name: z108.string(),
2633
- avatar: z108.string().optional(),
2634
- nickname: z108.string().optional(),
2667
+ var UserProfile = z111.object({
2668
+ name: z111.string(),
2669
+ avatar: z111.string().optional(),
2670
+ nickname: z111.string().optional(),
2635
2671
  onboarding: UserOnboarding.optional()
2636
2672
  });
2637
2673
 
2638
2674
  // src/users/user.ts
2639
- import { z as z109 } from "zod";
2640
- var User = z109.object({
2641
- id: z109.string(),
2642
- email: z109.string(),
2643
- emailVerified: z109.boolean(),
2644
- createdAt: z109.date(),
2645
- trialExpiresAt: z109.date().optional(),
2675
+ import { z as z112 } from "zod";
2676
+ var User = z112.object({
2677
+ id: z112.string(),
2678
+ email: z112.string(),
2679
+ emailVerified: z112.boolean(),
2680
+ createdAt: z112.date(),
2681
+ trialExpiresAt: z112.date().optional(),
2646
2682
  profile: UserProfile,
2647
2683
  linkedIntegrations: UserLinkedIntegrations.optional(),
2648
- loggedOutAt: z109.date().optional(),
2649
- isProtected: z109.boolean()
2684
+ loggedOutAt: z112.date().optional(),
2685
+ isProtected: z112.boolean()
2650
2686
  });
2651
2687
 
2652
2688
  // src/docs-server/session.ts
2653
- var NpmProxyToken = z110.object({
2654
- access: z110.string(),
2655
- expiresAt: z110.number()
2689
+ var NpmProxyToken = z113.object({
2690
+ access: z113.string(),
2691
+ expiresAt: z113.number()
2656
2692
  });
2657
- var SessionData = z110.object({
2658
- returnToUrl: z110.string().optional(),
2693
+ var SessionData = z113.object({
2694
+ returnToUrl: z113.string().optional(),
2659
2695
  npmProxyToken: NpmProxyToken.optional()
2660
2696
  });
2661
- var Session = z110.object({
2662
- id: z110.string(),
2663
- expiresAt: z110.date(),
2664
- userId: z110.string().nullable(),
2697
+ var Session = z113.object({
2698
+ id: z113.string(),
2699
+ expiresAt: z113.date(),
2700
+ userId: z113.string().nullable(),
2665
2701
  data: SessionData
2666
2702
  });
2667
- var AuthTokens = z110.object({
2668
- access: z110.string(),
2669
- refresh: z110.string()
2703
+ var AuthTokens = z113.object({
2704
+ access: z113.string(),
2705
+ refresh: z113.string()
2670
2706
  });
2671
- var UserSession = z110.object({
2707
+ var UserSession = z113.object({
2672
2708
  session: Session,
2673
2709
  user: User.nullable()
2674
2710
  });
2675
2711
 
2676
2712
  // src/feature-flags/feature-flags.ts
2677
- import { z as z111 } from "zod";
2678
- var FlaggedFeature = z111.enum(["FigmaImporterV2"]);
2679
- var FeatureFlagMap = z111.record(FlaggedFeature, z111.boolean());
2680
- var FeatureFlag = z111.object({
2681
- id: z111.string(),
2713
+ import { z as z114 } from "zod";
2714
+ var FlaggedFeature = z114.enum(["FigmaImporterV2"]);
2715
+ var FeatureFlagMap = z114.record(FlaggedFeature, z114.boolean());
2716
+ var FeatureFlag = z114.object({
2717
+ id: z114.string(),
2682
2718
  feature: FlaggedFeature,
2683
- createdAt: z111.date(),
2684
- enabled: z111.boolean()
2719
+ createdAt: z114.date(),
2720
+ enabled: z114.boolean()
2685
2721
  });
2686
2722
 
2687
2723
  // src/integrations/external-oauth-request.ts
2688
- import { z as z113 } from "zod";
2724
+ import { z as z116 } from "zod";
2689
2725
 
2690
2726
  // src/integrations/oauth-providers.ts
2691
- import { z as z112 } from "zod";
2727
+ import { z as z115 } from "zod";
2692
2728
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
2693
2729
  OAuthProviderNames2["Figma"] = "figma";
2694
2730
  OAuthProviderNames2["Azure"] = "azure";
@@ -2697,112 +2733,122 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
2697
2733
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
2698
2734
  return OAuthProviderNames2;
2699
2735
  })(OAuthProviderNames || {});
2700
- var OAuthProviderSchema = z112.nativeEnum(OAuthProviderNames);
2736
+ var OAuthProviderSchema = z115.nativeEnum(OAuthProviderNames);
2701
2737
  var OAuthProvider = OAuthProviderSchema.enum;
2702
2738
 
2703
2739
  // src/integrations/external-oauth-request.ts
2704
- var ExternalOAuthRequest = z113.object({
2705
- id: z113.string(),
2740
+ var ExternalOAuthRequest = z116.object({
2741
+ id: z116.string(),
2706
2742
  provider: OAuthProviderSchema,
2707
- userId: z113.string(),
2708
- state: z113.string(),
2709
- createdAt: z113.date()
2743
+ userId: z116.string(),
2744
+ state: z116.string(),
2745
+ createdAt: z116.date()
2710
2746
  });
2711
2747
 
2712
2748
  // src/integrations/oauth-token.ts
2713
- import { z as z114 } from "zod";
2714
- var IntegrationTokenSchema = z114.object({
2715
- id: z114.string(),
2749
+ import { z as z117 } from "zod";
2750
+ var IntegrationTokenSchema = z117.object({
2751
+ id: z117.string(),
2716
2752
  provider: OAuthProviderSchema,
2717
- scope: z114.string(),
2718
- userId: z114.string(),
2719
- accessToken: z114.string(),
2720
- refreshToken: z114.string(),
2721
- expiresAt: z114.date(),
2722
- externalUserId: z114.string().nullish()
2753
+ scope: z117.string(),
2754
+ userId: z117.string(),
2755
+ accessToken: z117.string(),
2756
+ refreshToken: z117.string(),
2757
+ expiresAt: z117.date(),
2758
+ externalUserId: z117.string().nullish()
2723
2759
  });
2724
2760
 
2725
2761
  // src/multiplayer/design-system-version-room.ts
2726
- import { z as z115 } from "zod";
2762
+ import { z as z118 } from "zod";
2727
2763
  var DesignSystemVersionRoom = Entity.extend({
2728
- designSystemVersionId: z115.string(),
2729
- liveblocksId: z115.string()
2764
+ designSystemVersionId: z118.string(),
2765
+ liveblocksId: z118.string()
2730
2766
  });
2731
2767
 
2732
2768
  // src/multiplayer/documentation-page-room.ts
2733
- import { z as z116 } from "zod";
2769
+ import { z as z119 } from "zod";
2734
2770
  var DocumentationPageRoom = Entity.extend({
2735
- designSystemVersionId: z116.string(),
2736
- documentationPageId: z116.string(),
2737
- liveblocksId: z116.string()
2771
+ designSystemVersionId: z119.string(),
2772
+ documentationPageId: z119.string(),
2773
+ liveblocksId: z119.string()
2738
2774
  });
2739
2775
 
2776
+ // src/multiplayer/room-type.ts
2777
+ import { z as z120 } from "zod";
2778
+ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
2779
+ RoomTypeEnum2["DocumentationPage"] = "documentation-page";
2780
+ RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
2781
+ return RoomTypeEnum2;
2782
+ })(RoomTypeEnum || {});
2783
+ var RoomTypeSchema = z120.nativeEnum(RoomTypeEnum);
2784
+ var RoomType = RoomTypeSchema.enum;
2785
+
2740
2786
  // src/npm/npm-package.ts
2741
- import { z as z117 } from "zod";
2742
- var AnyRecord = z117.record(z117.any());
2787
+ import { z as z121 } from "zod";
2788
+ var AnyRecord = z121.record(z121.any());
2743
2789
  var NpmPackageVersionDist = AnyRecord.and(
2744
- z117.object({
2745
- tarball: z117.string()
2790
+ z121.object({
2791
+ tarball: z121.string()
2746
2792
  })
2747
2793
  );
2748
2794
  var NpmPackageVersion = AnyRecord.and(
2749
- z117.object({
2795
+ z121.object({
2750
2796
  dist: NpmPackageVersionDist
2751
2797
  })
2752
2798
  );
2753
2799
  var NpmPackage = AnyRecord.and(
2754
- z117.object({
2755
- _id: z117.string(),
2756
- name: z117.string(),
2800
+ z121.object({
2801
+ _id: z121.string(),
2802
+ name: z121.string(),
2757
2803
  // e.g. "latest": "1.2.3"
2758
- "dist-tags": z117.record(z117.string(), z117.string()),
2804
+ "dist-tags": z121.record(z121.string(), z121.string()),
2759
2805
  // "1.2.3": {...}
2760
- versions: z117.record(NpmPackageVersion)
2806
+ versions: z121.record(NpmPackageVersion)
2761
2807
  })
2762
2808
  );
2763
2809
 
2764
2810
  // src/npm/npm-proxy-token-payload.ts
2765
- import { z as z118 } from "zod";
2766
- var NpmProxyTokenPayload = z118.object({
2767
- npmProxyRegistryConfigId: z118.string()
2811
+ import { z as z122 } from "zod";
2812
+ var NpmProxyTokenPayload = z122.object({
2813
+ npmProxyRegistryConfigId: z122.string()
2768
2814
  });
2769
2815
 
2770
2816
  // src/tokens/personal-access-token.ts
2771
- import { z as z119 } from "zod";
2772
- var PersonalAccessToken = z119.object({
2773
- id: z119.string(),
2774
- userId: z119.string(),
2775
- name: z119.string(),
2776
- token: z119.string(),
2777
- createdAt: z119.date(),
2778
- hidden: z119.boolean(),
2779
- workspaceId: z119.string().optional(),
2817
+ import { z as z123 } from "zod";
2818
+ var PersonalAccessToken = z123.object({
2819
+ id: z123.string(),
2820
+ userId: z123.string(),
2821
+ name: z123.string(),
2822
+ token: z123.string(),
2823
+ createdAt: z123.date(),
2824
+ hidden: z123.boolean(),
2825
+ workspaceId: z123.string().optional(),
2780
2826
  workspaceRole: WorkspaceRoleSchema.optional(),
2781
- expireAt: z119.date().optional(),
2782
- scope: z119.string().optional()
2827
+ expireAt: z123.date().optional(),
2828
+ scope: z123.string().optional()
2783
2829
  });
2784
2830
 
2785
2831
  // src/utils/content-loader-instruction.ts
2786
- import { z as z120 } from "zod";
2787
- var ContentLoadInstruction = z120.object({
2788
- from: z120.string(),
2789
- to: z120.string(),
2790
- authorizationHeaderKvsId: z120.string().optional(),
2791
- timeout: z120.number().optional()
2792
- });
2793
- var ContentLoaderPayload = z120.object({
2794
- type: z120.literal("Single"),
2832
+ import { z as z124 } from "zod";
2833
+ var ContentLoadInstruction = z124.object({
2834
+ from: z124.string(),
2835
+ to: z124.string(),
2836
+ authorizationHeaderKvsId: z124.string().optional(),
2837
+ timeout: z124.number().optional()
2838
+ });
2839
+ var ContentLoaderPayload = z124.object({
2840
+ type: z124.literal("Single"),
2795
2841
  instruction: ContentLoadInstruction
2796
2842
  }).or(
2797
- z120.object({
2798
- type: z120.literal("Multiple"),
2799
- loadingChunkSize: z120.number().optional(),
2800
- instructions: z120.array(ContentLoadInstruction)
2843
+ z124.object({
2844
+ type: z124.literal("Multiple"),
2845
+ loadingChunkSize: z124.number().optional(),
2846
+ instructions: z124.array(ContentLoadInstruction)
2801
2847
  })
2802
2848
  ).or(
2803
- z120.object({
2804
- type: z120.literal("S3"),
2805
- location: z120.string()
2849
+ z124.object({
2850
+ type: z124.literal("S3"),
2851
+ location: z124.string()
2806
2852
  })
2807
2853
  );
2808
2854
  export {
@@ -2900,15 +2946,22 @@ export {
2900
2946
  DimensionUnit,
2901
2947
  DimensionValue,
2902
2948
  DocumentationGroupBehavior,
2903
- DocumentationGroupDTO,
2904
2949
  DocumentationItemConfiguration,
2950
+ DocumentationItemHeader,
2951
+ DocumentationItemHeaderAlignment,
2952
+ DocumentationItemHeaderAlignmentSchema,
2953
+ DocumentationItemHeaderImageScaleType,
2954
+ DocumentationItemHeaderImageScaleTypeSchema,
2905
2955
  DocumentationPage,
2906
- DocumentationPageDTOV1,
2956
+ DocumentationPageAsset,
2957
+ DocumentationPageAssetType,
2907
2958
  DocumentationPageDataV1,
2908
2959
  DocumentationPageDataV2,
2909
2960
  DocumentationPageElementDataV1,
2910
2961
  DocumentationPageElementDataV2,
2962
+ DocumentationPageFrameAsset,
2911
2963
  DocumentationPageGroup,
2964
+ DocumentationPageImageAsset,
2912
2965
  DocumentationPageRoom,
2913
2966
  DocumentationPageV1,
2914
2967
  DocumentationPageV2,
@@ -3146,7 +3199,11 @@ export {
3146
3199
  PulsarContributionConfigurationProperty,
3147
3200
  PulsarContributionVariant,
3148
3201
  PulsarPropertyType,
3202
+ RoomType,
3203
+ RoomTypeEnum,
3204
+ RoomTypeSchema,
3149
3205
  SHORT_PERSISTENT_ID_LENGTH,
3206
+ SafeIdSchema,
3150
3207
  Session,
3151
3208
  SessionData,
3152
3209
  ShadowLayerValue,
@@ -3225,6 +3282,9 @@ export {
3225
3282
  ZIndexUnit,
3226
3283
  ZIndexValue,
3227
3284
  addImportModelCollections,
3285
+ colorValueFormatDescription,
3286
+ colorValueRegex,
3287
+ defaultDocumentationItemHeader,
3228
3288
  designTokenImportModelTypeFilter,
3229
3289
  designTokenTypeFilter,
3230
3290
  extractTokenTypedData,
@@ -3238,6 +3298,7 @@ export {
3238
3298
  isTokenType,
3239
3299
  nullishToOptional,
3240
3300
  publishedDocEnvironments,
3301
+ slugRegex,
3241
3302
  tokenAliasOrValue,
3242
3303
  tokenElementTypes,
3243
3304
  traversePageBlocksV1,