@supernova-studio/client 1.43.0 → 1.43.2

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
@@ -5781,6 +5781,10 @@ var PageScreenshotInput = z212.object({
5781
5781
  url: z212.string().url(),
5782
5782
  elementSelector: z212.string(),
5783
5783
  uploadUrl: z212.string().url(),
5784
+ viewportSize: z212.object({
5785
+ width: z212.number().positive(),
5786
+ height: z212.number().positive()
5787
+ }).optional(),
5784
5788
  imageSize: z212.object({
5785
5789
  width: z212.number().positive(),
5786
5790
  height: z212.number().positive()
@@ -10330,149 +10334,161 @@ var DTOForgeProjectResponse = z328.object({
10330
10334
  })
10331
10335
  });
10332
10336
 
10337
+ // src/api/dto/forge/relation.ts
10338
+ import z329 from "zod";
10339
+ var DTOForgeRelation = z329.object({
10340
+ id: z329.string(),
10341
+ projectId: z329.string(),
10342
+ fromFeature: z329.string().optional(),
10343
+ fromDocument: z329.string().optional(),
10344
+ toFeature: z329.string().optional(),
10345
+ toDocument: z329.string().optional(),
10346
+ createdAt: z329.string()
10347
+ });
10348
+
10333
10349
  // src/api/dto/forge/threads.ts
10334
- import { z as z329 } from "zod";
10350
+ import { z as z330 } from "zod";
10335
10351
  var DTOForgeChatMessage = ForgeChatMessage;
10336
10352
  var DTOForgeChatThread = ForgeChatThread;
10337
10353
  var DTOForgeChatMessageSenderType = ForgeChatMessageSenderType;
10338
10354
  var DTOForgeChatMessageSender = ForgeChatMessageSender;
10339
- var DTOForgeChatThreadCreateInput = z329.object({
10340
- title: z329.string().optional()
10355
+ var DTOForgeChatThreadCreateInput = z330.object({
10356
+ title: z330.string().optional()
10341
10357
  });
10342
- var DTOForgeChatThreadCreateResponse = z329.object({
10358
+ var DTOForgeChatThreadCreateResponse = z330.object({
10343
10359
  thread: DTOForgeChatThread
10344
10360
  });
10345
- var DTOForgeChatThreadUpdateInput = z329.object({
10346
- title: z329.string()
10361
+ var DTOForgeChatThreadUpdateInput = z330.object({
10362
+ title: z330.string()
10347
10363
  });
10348
- var DTOForgeChatThreadUpdateResponse = z329.object({
10364
+ var DTOForgeChatThreadUpdateResponse = z330.object({
10349
10365
  thread: DTOForgeChatThread
10350
10366
  });
10351
- var DTOForgeChatThreadDeleteResponse = z329.object({
10352
- success: z329.boolean()
10367
+ var DTOForgeChatThreadDeleteResponse = z330.object({
10368
+ success: z330.boolean()
10353
10369
  });
10354
- var DTOForgeChatThreadListQuery = z329.object({
10355
- limit: z329.number().optional(),
10356
- offset: z329.number().optional()
10370
+ var DTOForgeChatThreadListQuery = z330.object({
10371
+ limit: z330.number().optional(),
10372
+ offset: z330.number().optional()
10357
10373
  });
10358
- var DTOForgeChatThreadListResponse = z329.object({
10359
- threads: z329.array(DTOForgeChatThread),
10360
- pagination: z329.object({
10361
- offset: z329.number(),
10362
- limit: z329.number(),
10363
- total: z329.number()
10374
+ var DTOForgeChatThreadListResponse = z330.object({
10375
+ threads: z330.array(DTOForgeChatThread),
10376
+ pagination: z330.object({
10377
+ offset: z330.number(),
10378
+ limit: z330.number(),
10379
+ total: z330.number()
10364
10380
  })
10365
10381
  });
10366
- var DTOForgeChatMessageCreateInput = z329.object({
10367
- payload: z329.string(),
10382
+ var DTOForgeChatMessageCreateInput = z330.object({
10383
+ payload: z330.string(),
10368
10384
  sender: DTOForgeChatMessageSender.optional(),
10369
- opikTraceId: z329.string().optional()
10385
+ opikTraceId: z330.string().optional()
10370
10386
  });
10371
- var DTOForgeChatMessageCreateResponse = z329.object({
10387
+ var DTOForgeChatMessageCreateResponse = z330.object({
10372
10388
  message: DTOForgeChatMessage
10373
10389
  });
10374
- var DTOForgeChatMessageListQuery = z329.object({
10375
- limit: z329.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
10376
- offset: z329.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
10390
+ var DTOForgeChatMessageListQuery = z330.object({
10391
+ limit: z330.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
10392
+ offset: z330.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
10377
10393
  });
10378
- var DTOForgeChatMessageListResponse = z329.object({
10379
- messages: z329.array(DTOForgeChatMessage),
10380
- totalCount: z329.number(),
10381
- hasMore: z329.boolean()
10394
+ var DTOForgeChatMessageListResponse = z330.object({
10395
+ messages: z330.array(DTOForgeChatMessage),
10396
+ totalCount: z330.number(),
10397
+ hasMore: z330.boolean()
10382
10398
  });
10383
- var DTOForgeChatExportResponse = z329.object({
10384
- csvDownloadUrl: z329.string().nullable()
10399
+ var DTOForgeChatExportResponse = z330.object({
10400
+ csvDownloadUrl: z330.string().nullable()
10385
10401
  });
10386
- var DTOForgeChatMessageScoreInput = z329.object({
10387
- messageId: z329.string(),
10388
- name: z329.string(),
10389
- value: z329.number(),
10390
- categoryName: z329.string().optional(),
10391
- reason: z329.string().optional()
10402
+ var DTOForgeChatMessageScoreInput = z330.object({
10403
+ messageId: z330.string(),
10404
+ name: z330.string(),
10405
+ value: z330.number(),
10406
+ categoryName: z330.string().optional(),
10407
+ reason: z330.string().optional()
10392
10408
  });
10393
- var DTOForgeChatMessageTagInput = z329.object({
10394
- messageId: z329.string(),
10395
- tags: z329.array(z329.string())
10409
+ var DTOForgeChatMessageTagInput = z330.object({
10410
+ messageId: z330.string(),
10411
+ tags: z330.array(z330.string())
10396
10412
  });
10397
- var DTOForgeChatMessageScoreRequest = z329.object({
10413
+ var DTOForgeChatMessageScoreRequest = z330.object({
10398
10414
  scores: DTOForgeChatMessageScoreInput.array(),
10399
10415
  tags: DTOForgeChatMessageTagInput.array().optional().default([])
10400
10416
  });
10401
10417
 
10402
10418
  // src/api/dto/liveblocks/auth-response.ts
10403
- import { z as z330 } from "zod";
10404
- var DTOLiveblocksAuthResponse = z330.object({
10405
- token: z330.string()
10419
+ import { z as z331 } from "zod";
10420
+ var DTOLiveblocksAuthResponse = z331.object({
10421
+ token: z331.string()
10406
10422
  });
10407
10423
 
10408
10424
  // src/api/dto/portal/portal-settings.ts
10409
- import { z as z331 } from "zod";
10425
+ import { z as z332 } from "zod";
10410
10426
  var DTOPortalSettingsTheme = PortalSettingsTheme;
10411
10427
  var DTOPortalSettingsSidebarLink = PortalSettingsSidebarLink;
10412
10428
  var DTOPortalSettingsSidebarSection = PortalSettingsSidebarSection;
10413
10429
  var DTOPortalSettingsSidebar = PortalSettingsSidebar;
10414
- var DTOPortalSettings = z331.object({
10415
- id: z331.string(),
10416
- workspaceId: z331.string(),
10417
- enabledDesignSystemIds: z331.array(z331.string()),
10418
- enabledBrandPersistentIds: z331.array(z331.string()),
10430
+ var DTOPortalSettings = z332.object({
10431
+ id: z332.string(),
10432
+ workspaceId: z332.string(),
10433
+ enabledDesignSystemIds: z332.array(z332.string()),
10434
+ enabledBrandPersistentIds: z332.array(z332.string()),
10419
10435
  theme: DTOPortalSettingsTheme.nullish(),
10420
10436
  sidebar: DTOPortalSettingsSidebar.nullish(),
10421
- createdAt: z331.coerce.date(),
10422
- updatedAt: z331.coerce.date()
10437
+ createdAt: z332.coerce.date(),
10438
+ updatedAt: z332.coerce.date()
10423
10439
  });
10424
- var DTOPortalSettingsGetResponse = z331.object({
10440
+ var DTOPortalSettingsGetResponse = z332.object({
10425
10441
  portalSettings: DTOPortalSettings
10426
10442
  });
10427
- var DTOPortalSettingsUpdatePayload = z331.object({
10428
- enabledDesignSystemIds: z331.array(z331.string()).optional(),
10429
- enabledBrandPersistentIds: z331.array(z331.string()).optional(),
10443
+ var DTOPortalSettingsUpdatePayload = z332.object({
10444
+ enabledDesignSystemIds: z332.array(z332.string()).optional(),
10445
+ enabledBrandPersistentIds: z332.array(z332.string()).optional(),
10430
10446
  theme: DTOPortalSettingsTheme.nullish(),
10431
10447
  sidebar: DTOPortalSettingsSidebar.nullish()
10432
10448
  });
10433
10449
 
10434
10450
  // src/api/dto/themes/override.ts
10435
- import { z as z332 } from "zod";
10451
+ import { z as z333 } from "zod";
10436
10452
  var DTOThemeOverride = DesignTokenTypedData.and(
10437
- z332.object({
10438
- tokenPersistentId: z332.string(),
10453
+ z333.object({
10454
+ tokenPersistentId: z333.string(),
10439
10455
  origin: ThemeOverrideOrigin.optional()
10440
10456
  })
10441
10457
  );
10442
10458
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
10443
- z332.object({
10444
- tokenPersistentId: z332.string()
10459
+ z333.object({
10460
+ tokenPersistentId: z333.string()
10445
10461
  })
10446
10462
  );
10447
10463
 
10448
10464
  // src/api/dto/themes/theme.ts
10449
- import { z as z333 } from "zod";
10450
- var DTOTheme = z333.object({
10451
- id: z333.string(),
10452
- persistentId: z333.string(),
10453
- designSystemVersionId: z333.string(),
10454
- brandId: z333.string(),
10465
+ import { z as z334 } from "zod";
10466
+ var DTOTheme = z334.object({
10467
+ id: z334.string(),
10468
+ persistentId: z334.string(),
10469
+ designSystemVersionId: z334.string(),
10470
+ brandId: z334.string(),
10455
10471
  meta: ObjectMeta,
10456
- codeName: z333.string(),
10472
+ codeName: z334.string(),
10457
10473
  overrides: DTOThemeOverride.array()
10458
10474
  });
10459
- var DTOThemeResponse = z333.object({
10475
+ var DTOThemeResponse = z334.object({
10460
10476
  theme: DTOTheme
10461
10477
  });
10462
- var DTOThemeListResponse = z333.object({
10478
+ var DTOThemeListResponse = z334.object({
10463
10479
  themes: DTOTheme.array()
10464
10480
  });
10465
- var DTOThemeCreatePayload = z333.object({
10481
+ var DTOThemeCreatePayload = z334.object({
10466
10482
  meta: ObjectMeta,
10467
- persistentId: z333.string(),
10468
- brandId: z333.string(),
10469
- codeName: z333.string(),
10483
+ persistentId: z334.string(),
10484
+ brandId: z334.string(),
10485
+ codeName: z334.string(),
10470
10486
  overrides: DTOThemeOverride.array()
10471
10487
  });
10472
10488
 
10473
10489
  // src/api/dto/trail-events/trail-events.ts
10474
- import { z as z334 } from "zod";
10475
- var DTOTrailEventType = z334.enum([
10490
+ import { z as z335 } from "zod";
10491
+ var DTOTrailEventType = z335.enum([
10476
10492
  "IterationCreated",
10477
10493
  "IterationBookmarked",
10478
10494
  "FeatureCreated",
@@ -10485,80 +10501,86 @@ var DTOTrailEventType = z334.enum([
10485
10501
  "ProjectContextCreated",
10486
10502
  "ProjectContextArchived"
10487
10503
  ]);
10488
- var DTOTrailEventBase = z334.object({
10489
- id: z334.string(),
10490
- projectId: z334.string(),
10491
- userId: z334.string(),
10492
- createdAt: z334.coerce.date(),
10493
- updatedAt: z334.coerce.date()
10494
- });
10495
- var DTOTrailEventIterationCreatedPayload = z334.object({
10496
- iterationName: z334.string(),
10497
- iterationId: z334.string().uuid(),
10498
- featureId: z334.string().uuid()
10499
- });
10500
- var DTOTrailEventIterationBookmarkedPayload = z334.object({
10501
- iterationId: z334.string().uuid(),
10502
- featureId: z334.string().uuid(),
10503
- iterationName: z334.string()
10504
- });
10505
- var DTOTrailEventIterationPromotedPayload = z334.object({
10506
- iterationId: z334.string().uuid(),
10507
- featureId: z334.string().uuid(),
10508
- iterationName: z334.string()
10509
- });
10510
- var DTOTrailEventFeatureCreatedPayload = z334.object({
10511
- featureId: z334.string().uuid(),
10512
- name: z334.string(),
10513
- description: z334.string().optional()
10514
- });
10515
- var DTOTrailEventFeatureDeletedPayload = z334.object({
10516
- featureId: z334.string().uuid(),
10517
- name: z334.string()
10518
- });
10519
- var DTOTrailEventDocumentCreatedPayload = z334.object({
10520
- documentId: z334.string().uuid(),
10521
- title: z334.string(),
10522
- sectionId: z334.string().uuid().optional()
10523
- });
10524
- var DTOTrailEventDocumentDeletedPayload = z334.object({
10525
- documentId: z334.string().uuid(),
10526
- title: z334.string()
10527
- });
10528
- var DTOTrailEventProjectCreatedPayload = z334.object({
10529
- name: z334.string(),
10530
- description: z334.string().optional()
10531
- });
10532
- var DTOTrailEventProjectArchivedPayload = z334.object({
10533
- name: z334.string()
10534
- });
10535
- var DTOTrailEventProjectContextCreatedPayload = z334.object({
10536
- contextId: z334.number(),
10537
- name: z334.string(),
10538
- description: z334.string().optional()
10539
- });
10540
- var DTOTrailEventProjectContextArchivedPayload = z334.object({
10541
- contextId: z334.number()
10542
- });
10543
- var DTOTrailEventPayload = z334.discriminatedUnion("type", [
10544
- z334.object({ type: z334.literal("IterationCreated"), payload: DTOTrailEventIterationCreatedPayload }),
10545
- z334.object({ type: z334.literal("IterationBookmarked"), payload: DTOTrailEventIterationBookmarkedPayload }),
10546
- z334.object({ type: z334.literal("FeatureCreated"), payload: DTOTrailEventFeatureCreatedPayload }),
10547
- z334.object({ type: z334.literal("FeatureDeleted"), payload: DTOTrailEventFeatureDeletedPayload }),
10548
- z334.object({ type: z334.literal("DocumentCreated"), payload: DTOTrailEventDocumentCreatedPayload }),
10549
- z334.object({ type: z334.literal("DocumentDeleted"), payload: DTOTrailEventDocumentDeletedPayload }),
10550
- z334.object({ type: z334.literal("ProjectCreated"), payload: DTOTrailEventProjectCreatedPayload }),
10551
- z334.object({ type: z334.literal("ProjectArchived"), payload: DTOTrailEventProjectArchivedPayload }),
10552
- z334.object({ type: z334.literal("IterationPromoted"), payload: DTOTrailEventIterationPromotedPayload }),
10553
- z334.object({ type: z334.literal("ProjectContextCreated"), payload: DTOTrailEventProjectContextCreatedPayload }),
10554
- z334.object({ type: z334.literal("ProjectContextArchived"), payload: DTOTrailEventProjectContextArchivedPayload })
10504
+ var DTOTrailEventBase = z335.object({
10505
+ id: z335.string(),
10506
+ projectId: z335.string(),
10507
+ userId: z335.string(),
10508
+ createdAt: z335.coerce.date(),
10509
+ updatedAt: z335.coerce.date()
10510
+ });
10511
+ var DTOTrailEventIterationCreatedPayload = z335.object({
10512
+ iterationName: z335.string(),
10513
+ iterationId: z335.string().uuid(),
10514
+ featureId: z335.string().uuid()
10515
+ });
10516
+ var DTOTrailEventIterationBookmarkedPayload = z335.object({
10517
+ iterationId: z335.string().uuid(),
10518
+ featureId: z335.string().uuid(),
10519
+ iterationName: z335.string()
10520
+ });
10521
+ var DTOTrailEventIterationPromotedPayload = z335.object({
10522
+ iterationId: z335.string().uuid(),
10523
+ featureId: z335.string().uuid(),
10524
+ iterationName: z335.string()
10525
+ });
10526
+ var DTOTrailEventFeatureCreatedPayload = z335.object({
10527
+ featureId: z335.string().uuid(),
10528
+ name: z335.string(),
10529
+ description: z335.string().optional()
10530
+ });
10531
+ var DTOTrailEventFeatureDeletedPayload = z335.object({
10532
+ featureId: z335.string().uuid(),
10533
+ name: z335.string()
10534
+ });
10535
+ var DTOTrailEventDocumentCreatedPayload = z335.object({
10536
+ documentId: z335.string().uuid(),
10537
+ title: z335.string(),
10538
+ sectionId: z335.string().uuid().optional()
10539
+ });
10540
+ var DTOTrailEventDocumentDeletedPayload = z335.object({
10541
+ documentId: z335.string().uuid(),
10542
+ title: z335.string()
10543
+ });
10544
+ var DTOTrailEventProjectCreatedPayload = z335.object({
10545
+ name: z335.string(),
10546
+ description: z335.string().optional()
10547
+ });
10548
+ var DTOTrailEventProjectArchivedPayload = z335.object({
10549
+ name: z335.string()
10550
+ });
10551
+ var DTOTrailEventProjectContextCreatedPayload = z335.object({
10552
+ contextId: z335.number(),
10553
+ name: z335.string(),
10554
+ description: z335.string().optional()
10555
+ });
10556
+ var DTOTrailEventProjectContextArchivedPayload = z335.object({
10557
+ contextId: z335.number()
10558
+ });
10559
+ var DTOTrailEventPayload = z335.discriminatedUnion("type", [
10560
+ z335.object({ type: z335.literal("IterationCreated"), payload: DTOTrailEventIterationCreatedPayload }),
10561
+ z335.object({ type: z335.literal("IterationBookmarked"), payload: DTOTrailEventIterationBookmarkedPayload }),
10562
+ z335.object({ type: z335.literal("FeatureCreated"), payload: DTOTrailEventFeatureCreatedPayload }),
10563
+ z335.object({ type: z335.literal("FeatureDeleted"), payload: DTOTrailEventFeatureDeletedPayload }),
10564
+ z335.object({ type: z335.literal("DocumentCreated"), payload: DTOTrailEventDocumentCreatedPayload }),
10565
+ z335.object({ type: z335.literal("DocumentDeleted"), payload: DTOTrailEventDocumentDeletedPayload }),
10566
+ z335.object({ type: z335.literal("ProjectCreated"), payload: DTOTrailEventProjectCreatedPayload }),
10567
+ z335.object({ type: z335.literal("ProjectArchived"), payload: DTOTrailEventProjectArchivedPayload }),
10568
+ z335.object({ type: z335.literal("IterationPromoted"), payload: DTOTrailEventIterationPromotedPayload }),
10569
+ z335.object({ type: z335.literal("ProjectContextCreated"), payload: DTOTrailEventProjectContextCreatedPayload }),
10570
+ z335.object({ type: z335.literal("ProjectContextArchived"), payload: DTOTrailEventProjectContextArchivedPayload })
10555
10571
  ]);
10556
10572
  var DTOTrailEvent = DTOTrailEventPayload.and(DTOTrailEventBase);
10557
- var DTOTrailEventListInput = z334.object({
10558
- projectId: z334.string()
10573
+ var DTOTrailEventWithDetails = DTOTrailEvent.and(
10574
+ z335.object({
10575
+ projectName: z335.string().optional(),
10576
+ userName: z335.string().optional()
10577
+ })
10578
+ );
10579
+ var DTOTrailEventListInput = z335.object({
10580
+ projectId: z335.string()
10559
10581
  });
10560
- var DTOTrailEventListResponse = z334.object({
10561
- events: z334.array(DTOTrailEvent)
10582
+ var DTOTrailEventListResponse = z335.object({
10583
+ events: z335.array(DTOTrailEventWithDetails)
10562
10584
  });
10563
10585
  var DTOTrailEventCreate = DTOTrailEventPayload.and(
10564
10586
  DTOTrailEventBase.omit({ id: true, createdAt: true, updatedAt: true })
@@ -10796,13 +10818,13 @@ var ExportersEndpoint = class {
10796
10818
  };
10797
10819
 
10798
10820
  // src/api/endpoints/codegen/jobs.ts
10799
- import { z as z335 } from "zod";
10821
+ import { z as z336 } from "zod";
10800
10822
  var ExporterJobsEndpoint = class {
10801
10823
  constructor(requestExecutor) {
10802
10824
  this.requestExecutor = requestExecutor;
10803
10825
  }
10804
10826
  list(workspaceId) {
10805
- return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z335.any());
10827
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z336.any());
10806
10828
  }
10807
10829
  get(workspaceId, jobId) {
10808
10830
  return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
@@ -10860,7 +10882,7 @@ var CodegenEndpoint = class {
10860
10882
  };
10861
10883
 
10862
10884
  // src/api/endpoints/design-system/versions/brands.ts
10863
- import { z as z336 } from "zod";
10885
+ import { z as z337 } from "zod";
10864
10886
  var BrandsEndpoint = class {
10865
10887
  constructor(requestExecutor) {
10866
10888
  this.requestExecutor = requestExecutor;
@@ -10894,7 +10916,7 @@ var BrandsEndpoint = class {
10894
10916
  });
10895
10917
  }
10896
10918
  delete(dsId, vId, brandId) {
10897
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z336.any(), {
10919
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z337.any(), {
10898
10920
  method: "DELETE"
10899
10921
  });
10900
10922
  }
@@ -11170,7 +11192,7 @@ var ImportJobsEndpoint = class {
11170
11192
  };
11171
11193
 
11172
11194
  // src/api/endpoints/design-system/versions/overrides.ts
11173
- import { z as z337 } from "zod";
11195
+ import { z as z338 } from "zod";
11174
11196
  var OverridesEndpoint = class {
11175
11197
  constructor(requestExecutor) {
11176
11198
  this.requestExecutor = requestExecutor;
@@ -11178,7 +11200,7 @@ var OverridesEndpoint = class {
11178
11200
  create(dsId, versionId, themeId, body) {
11179
11201
  return this.requestExecutor.json(
11180
11202
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
11181
- z337.any(),
11203
+ z338.any(),
11182
11204
  {
11183
11205
  method: "POST",
11184
11206
  body
@@ -11188,7 +11210,7 @@ var OverridesEndpoint = class {
11188
11210
  };
11189
11211
 
11190
11212
  // src/api/endpoints/design-system/versions/property-definitions.ts
11191
- import { z as z338 } from "zod";
11213
+ import { z as z339 } from "zod";
11192
11214
  var ElementPropertyDefinitionsEndpoint = class {
11193
11215
  constructor(requestExecutor) {
11194
11216
  this.requestExecutor = requestExecutor;
@@ -11216,7 +11238,7 @@ var ElementPropertyDefinitionsEndpoint = class {
11216
11238
  delete(designSystemId, versionId, defId) {
11217
11239
  return this.requestExecutor.json(
11218
11240
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
11219
- z338.any(),
11241
+ z339.any(),
11220
11242
  { method: "DELETE" }
11221
11243
  );
11222
11244
  }
@@ -11255,7 +11277,7 @@ var VersionStatsEndpoint = class {
11255
11277
  };
11256
11278
 
11257
11279
  // src/api/endpoints/design-system/versions/themes.ts
11258
- import { z as z339 } from "zod";
11280
+ import { z as z340 } from "zod";
11259
11281
  var ThemesEndpoint = class {
11260
11282
  constructor(requestExecutor) {
11261
11283
  this.requestExecutor = requestExecutor;
@@ -11278,7 +11300,7 @@ var ThemesEndpoint = class {
11278
11300
  });
11279
11301
  }
11280
11302
  delete(dsId, versionId, themeId) {
11281
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z339.any(), {
11303
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z340.any(), {
11282
11304
  method: "DELETE"
11283
11305
  });
11284
11306
  }
@@ -11451,7 +11473,7 @@ var DesignSystemContactsEndpoint = class {
11451
11473
  };
11452
11474
 
11453
11475
  // src/api/endpoints/design-system/design-systems.ts
11454
- import { z as z343 } from "zod";
11476
+ import { z as z344 } from "zod";
11455
11477
 
11456
11478
  // src/api/endpoints/design-system/figma-node-structures.ts
11457
11479
  var FigmaNodeStructuresEndpoint = class {
@@ -11528,7 +11550,7 @@ var DesignSystemPageRedirectsEndpoint = class {
11528
11550
  };
11529
11551
 
11530
11552
  // src/api/endpoints/design-system/sources.ts
11531
- import { z as z340 } from "zod";
11553
+ import { z as z341 } from "zod";
11532
11554
  var DesignSystemSourcesEndpoint = class {
11533
11555
  constructor(requestExecutor) {
11534
11556
  this.requestExecutor = requestExecutor;
@@ -11546,7 +11568,7 @@ var DesignSystemSourcesEndpoint = class {
11546
11568
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
11547
11569
  }
11548
11570
  delete(dsId, sourceId) {
11549
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z340.any(), { method: "DELETE" });
11571
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z341.any(), { method: "DELETE" });
11550
11572
  }
11551
11573
  updateFigmaSource(dsId, sourceId, payload) {
11552
11574
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
@@ -11589,7 +11611,7 @@ var DesignSystemSourcesEndpoint = class {
11589
11611
  };
11590
11612
 
11591
11613
  // src/api/endpoints/design-system/storybook.ts
11592
- import { z as z341 } from "zod";
11614
+ import { z as z342 } from "zod";
11593
11615
  var StorybookEntriesEndpoint = class {
11594
11616
  constructor(requestExecutor) {
11595
11617
  this.requestExecutor = requestExecutor;
@@ -11607,14 +11629,14 @@ var StorybookEntriesEndpoint = class {
11607
11629
  );
11608
11630
  }
11609
11631
  delete(dsId, entryId) {
11610
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z341.any(), {
11632
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z342.any(), {
11611
11633
  method: "DELETE"
11612
11634
  });
11613
11635
  }
11614
11636
  };
11615
11637
 
11616
11638
  // src/api/endpoints/design-system/storybook-hosting.ts
11617
- import { z as z342 } from "zod";
11639
+ import { z as z343 } from "zod";
11618
11640
  var StorybookHostingEndpoint = class {
11619
11641
  constructor(requestExecutor) {
11620
11642
  this.requestExecutor = requestExecutor;
@@ -11628,7 +11650,7 @@ var StorybookHostingEndpoint = class {
11628
11650
  delete(dsId, storybookUploadId) {
11629
11651
  return this.requestExecutor.json(
11630
11652
  `/design-systems/${dsId}/storybook/${storybookUploadId}`,
11631
- z342.object({ ok: z342.boolean() }),
11653
+ z343.object({ ok: z343.boolean() }),
11632
11654
  {
11633
11655
  method: "DELETE"
11634
11656
  }
@@ -11686,7 +11708,7 @@ var DesignSystemsEndpoint = class {
11686
11708
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
11687
11709
  }
11688
11710
  delete(dsId) {
11689
- return this.requestExecutor.json(`/design-systems/${dsId}`, z343.any(), { method: "DELETE" });
11711
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z344.any(), { method: "DELETE" });
11690
11712
  }
11691
11713
  update(dsId, body) {
11692
11714
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -11809,7 +11831,7 @@ var ForgeFeatureArtifactsEndpoint = class {
11809
11831
  };
11810
11832
 
11811
11833
  // src/api/endpoints/forge/feature-iterations.ts
11812
- import z344 from "zod";
11834
+ import z345 from "zod";
11813
11835
  var ForgeFeatureIterationsEndpoint = class {
11814
11836
  constructor(requestExecutor) {
11815
11837
  this.requestExecutor = requestExecutor;
@@ -11826,7 +11848,7 @@ var ForgeFeatureIterationsEndpoint = class {
11826
11848
  updateArtifacts(workspaceId, projectId, featureId, body) {
11827
11849
  return this.requestExecutor.json(
11828
11850
  `/workspaces/${workspaceId}/forge/projects/${projectId}/features/${featureId}/iterations/update-artifacts`,
11829
- z344.any(),
11851
+ z345.any(),
11830
11852
  {
11831
11853
  body,
11832
11854
  method: "POST"
@@ -12061,7 +12083,7 @@ var ForgeProjectMembersEndpoint = class {
12061
12083
  };
12062
12084
 
12063
12085
  // src/api/endpoints/forge/projects.ts
12064
- import z345 from "zod";
12086
+ import z346 from "zod";
12065
12087
  var ForgeProjectsEndpoint = class {
12066
12088
  constructor(requestExecutor) {
12067
12089
  this.requestExecutor = requestExecutor;
@@ -12098,7 +12120,7 @@ var ForgeProjectsEndpoint = class {
12098
12120
  );
12099
12121
  }
12100
12122
  action(workspaceId, projectId, body) {
12101
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/projects/${projectId}/action`, z345.any(), {
12123
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/projects/${projectId}/action`, z346.any(), {
12102
12124
  body,
12103
12125
  method: "POST"
12104
12126
  });
@@ -12181,7 +12203,7 @@ var ForgeProjectIterationsEndpoint = class {
12181
12203
  };
12182
12204
 
12183
12205
  // src/api/endpoints/workspaces/chat-threads.ts
12184
- import { z as z346 } from "zod";
12206
+ import { z as z347 } from "zod";
12185
12207
  var WorkspaceChatThreadsEndpoint = class {
12186
12208
  constructor(requestExecutor) {
12187
12209
  this.requestExecutor = requestExecutor;
@@ -12213,7 +12235,7 @@ var WorkspaceChatThreadsEndpoint = class {
12213
12235
  );
12214
12236
  }
12215
12237
  delete(workspaceId, threadId) {
12216
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z346.any(), {
12238
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z347.any(), {
12217
12239
  method: "DELETE"
12218
12240
  });
12219
12241
  }
@@ -12245,7 +12267,7 @@ var ChatThreadMessagesEndpoint = class {
12245
12267
  );
12246
12268
  }
12247
12269
  score(workspaceId, threadId, body) {
12248
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z346.any(), {
12270
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z347.any(), {
12249
12271
  method: "POST",
12250
12272
  body
12251
12273
  });
@@ -12253,7 +12275,7 @@ var ChatThreadMessagesEndpoint = class {
12253
12275
  };
12254
12276
 
12255
12277
  // src/api/endpoints/workspaces/integrations.ts
12256
- import { z as z347 } from "zod";
12278
+ import { z as z348 } from "zod";
12257
12279
  var WorkspaceIntegrationsEndpoint = class {
12258
12280
  constructor(requestExecutor) {
12259
12281
  this.requestExecutor = requestExecutor;
@@ -12262,7 +12284,7 @@ var WorkspaceIntegrationsEndpoint = class {
12262
12284
  return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
12263
12285
  }
12264
12286
  delete(wsId, iId) {
12265
- return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z347.unknown(), { method: "DELETE" });
12287
+ return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z348.unknown(), { method: "DELETE" });
12266
12288
  }
12267
12289
  };
12268
12290
 
@@ -12294,7 +12316,7 @@ var WorkspaceInvitationsEndpoint = class {
12294
12316
  };
12295
12317
 
12296
12318
  // src/api/endpoints/workspaces/members.ts
12297
- import { z as z348 } from "zod";
12319
+ import { z as z349 } from "zod";
12298
12320
  var WorkspaceMembersEndpoint = class {
12299
12321
  constructor(requestExecutor) {
12300
12322
  this.requestExecutor = requestExecutor;
@@ -12311,7 +12333,7 @@ var WorkspaceMembersEndpoint = class {
12311
12333
  });
12312
12334
  }
12313
12335
  invite(workspaceId, body) {
12314
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z348.any(), { method: "POST", body });
12336
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z349.any(), { method: "POST", body });
12315
12337
  }
12316
12338
  delete(workspaceId, userId) {
12317
12339
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -12340,7 +12362,7 @@ var WorkspaceNpmRegistryEndpoint = class {
12340
12362
  };
12341
12363
 
12342
12364
  // src/api/endpoints/workspaces/workspaces.ts
12343
- import { z as z349 } from "zod";
12365
+ import { z as z350 } from "zod";
12344
12366
  var WorkspacesEndpoint = class {
12345
12367
  constructor(requestExecutor) {
12346
12368
  this.requestExecutor = requestExecutor;
@@ -12372,10 +12394,10 @@ var WorkspacesEndpoint = class {
12372
12394
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
12373
12395
  }
12374
12396
  delete(workspaceId) {
12375
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z349.any(), { method: "DELETE" });
12397
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z350.any(), { method: "DELETE" });
12376
12398
  }
12377
12399
  subscription(workspaceId) {
12378
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z349.any(), { method: "GET" });
12400
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z350.any(), { method: "GET" });
12379
12401
  }
12380
12402
  getPortalSettings(workspaceId) {
12381
12403
  return this.requestExecutor.json(`/workspaces/${workspaceId}/portal/settings`, DTOPortalSettingsGetResponse, {
@@ -12533,9 +12555,9 @@ ${bodyText}`,
12533
12555
 
12534
12556
  // src/api/transport/request-executor.ts
12535
12557
  import fetch from "node-fetch";
12536
- import { z as z350 } from "zod";
12537
- var ResponseWrapper = z350.object({
12538
- result: z350.record(z350.any())
12558
+ import { z as z351 } from "zod";
12559
+ var ResponseWrapper = z351.object({
12560
+ result: z351.record(z351.any())
12539
12561
  });
12540
12562
  var RequestExecutor = class {
12541
12563
  constructor(testServerConfig) {
@@ -12616,25 +12638,25 @@ var SupernovaApiClient = class {
12616
12638
  };
12617
12639
 
12618
12640
  // src/events/design-system.ts
12619
- import { z as z351 } from "zod";
12620
- var DTOEventFigmaNodesRendered = z351.object({
12621
- type: z351.literal("DesignSystem.FigmaNodesRendered"),
12622
- designSystemId: z351.string(),
12623
- versionId: z351.string(),
12624
- figmaNodePersistentIds: z351.string().array()
12625
- });
12626
- var DTOEventDataSourcesImported = z351.object({
12627
- type: z351.literal("DesignSystem.ImportJobFinished"),
12628
- designSystemId: z351.string(),
12629
- versionId: z351.string(),
12630
- importJobId: z351.string(),
12641
+ import { z as z352 } from "zod";
12642
+ var DTOEventFigmaNodesRendered = z352.object({
12643
+ type: z352.literal("DesignSystem.FigmaNodesRendered"),
12644
+ designSystemId: z352.string(),
12645
+ versionId: z352.string(),
12646
+ figmaNodePersistentIds: z352.string().array()
12647
+ });
12648
+ var DTOEventDataSourcesImported = z352.object({
12649
+ type: z352.literal("DesignSystem.ImportJobFinished"),
12650
+ designSystemId: z352.string(),
12651
+ versionId: z352.string(),
12652
+ importJobId: z352.string(),
12631
12653
  dataSourceType: DataSourceRemoteType,
12632
- dataSourceIds: z351.string().array()
12654
+ dataSourceIds: z352.string().array()
12633
12655
  });
12634
12656
 
12635
12657
  // src/events/event.ts
12636
- import { z as z352 } from "zod";
12637
- var DTOEvent = z352.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
12658
+ import { z as z353 } from "zod";
12659
+ var DTOEvent = z353.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
12638
12660
 
12639
12661
  // src/sync/docs-local-action-executor.ts
12640
12662
  function applyActionsLocally(input) {
@@ -12930,7 +12952,7 @@ var LocalDocsElementActionExecutor = class {
12930
12952
  import PQueue from "p-queue";
12931
12953
 
12932
12954
  // src/yjs/design-system-content/documentation-hierarchy.ts
12933
- import { z as z353 } from "zod";
12955
+ import { z as z354 } from "zod";
12934
12956
 
12935
12957
  // src/yjs/version-room/base.ts
12936
12958
  var VersionRoomBaseYDoc = class {
@@ -13480,24 +13502,24 @@ var FrontendVersionRoomYDoc = class {
13480
13502
  };
13481
13503
 
13482
13504
  // src/yjs/design-system-content/documentation-hierarchy.ts
13483
- var DocumentationHierarchySettings = z353.object({
13484
- routingVersion: z353.string(),
13485
- isDraftFeatureAdopted: z353.boolean(),
13486
- isApprovalFeatureEnabled: z353.boolean(),
13487
- approvalRequiredForPublishing: z353.boolean()
13505
+ var DocumentationHierarchySettings = z354.object({
13506
+ routingVersion: z354.string(),
13507
+ isDraftFeatureAdopted: z354.boolean(),
13508
+ isApprovalFeatureEnabled: z354.boolean(),
13509
+ approvalRequiredForPublishing: z354.boolean()
13488
13510
  });
13489
13511
  function yjsToDocumentationHierarchy(doc) {
13490
13512
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
13491
13513
  }
13492
13514
 
13493
13515
  // src/yjs/design-system-content/item-configuration.ts
13494
- import { z as z354 } from "zod";
13495
- var DTODocumentationPageRoomHeaderData = z354.object({
13496
- title: z354.string(),
13516
+ import { z as z355 } from "zod";
13517
+ var DTODocumentationPageRoomHeaderData = z355.object({
13518
+ title: z355.string(),
13497
13519
  configuration: DTODocumentationItemConfigurationV2
13498
13520
  });
13499
- var DTODocumentationPageRoomHeaderDataUpdate = z354.object({
13500
- title: z354.string().optional(),
13521
+ var DTODocumentationPageRoomHeaderDataUpdate = z355.object({
13522
+ title: z355.string().optional(),
13501
13523
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
13502
13524
  });
13503
13525
  function itemConfigurationToYjs(yDoc, item) {
@@ -13532,9 +13554,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
13532
13554
  var PageSectionEditorModel = PageSectionEditorModelV2;
13533
13555
 
13534
13556
  // src/yjs/docs-editor/model/page.ts
13535
- import { z as z355 } from "zod";
13536
- var DocumentationPageEditorModel = z355.object({
13537
- blocks: z355.array(DocumentationPageContentItem)
13557
+ import { z as z356 } from "zod";
13558
+ var DocumentationPageEditorModel = z356.object({
13559
+ blocks: z356.array(DocumentationPageContentItem)
13538
13560
  });
13539
13561
 
13540
13562
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -17211,7 +17233,7 @@ var blocks = [
17211
17233
 
17212
17234
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
17213
17235
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
17214
- import { z as z356 } from "zod";
17236
+ import { z as z357 } from "zod";
17215
17237
  function yDocToPage(yDoc, definitions) {
17216
17238
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
17217
17239
  }
@@ -17287,7 +17309,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
17287
17309
  if (!id) return null;
17288
17310
  return {
17289
17311
  id,
17290
- title: getProsemirrorAttribute(prosemirrorNode, "title", z356.string()) ?? "",
17312
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z357.string()) ?? "",
17291
17313
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
17292
17314
  };
17293
17315
  }
@@ -17321,7 +17343,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
17321
17343
  });
17322
17344
  }
17323
17345
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
17324
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z356.string());
17346
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z357.string());
17325
17347
  if (!definitionId) {
17326
17348
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
17327
17349
  return [];
@@ -17362,7 +17384,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
17362
17384
  const id = getProsemirrorBlockId(prosemirrorNode);
17363
17385
  if (!id) return null;
17364
17386
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
17365
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z356.string().optional()));
17387
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z357.string().optional()));
17366
17388
  return {
17367
17389
  id,
17368
17390
  type: "Block",
@@ -17485,9 +17507,9 @@ function parseRichTextAttribute(mark) {
17485
17507
  return null;
17486
17508
  }
17487
17509
  function parseProsemirrorLink(mark) {
17488
- const href = getProsemirrorAttribute(mark, "href", z356.string().optional());
17510
+ const href = getProsemirrorAttribute(mark, "href", z357.string().optional());
17489
17511
  if (!href) return null;
17490
- const target = getProsemirrorAttribute(mark, "target", z356.string().optional());
17512
+ const target = getProsemirrorAttribute(mark, "target", z357.string().optional());
17491
17513
  const openInNewTab = target === "_blank";
17492
17514
  if (href.startsWith("@")) {
17493
17515
  return {
@@ -17506,9 +17528,9 @@ function parseProsemirrorLink(mark) {
17506
17528
  }
17507
17529
  }
17508
17530
  function parseProsemirrorCommentHighlight(mark) {
17509
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z356.string().optional());
17531
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z357.string().optional());
17510
17532
  if (!highlightId) return null;
17511
- const isResolved = getProsemirrorAttribute(mark, "resolved", z356.boolean().optional()) ?? false;
17533
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z357.boolean().optional()) ?? false;
17512
17534
  return {
17513
17535
  type: "Comment",
17514
17536
  commentHighlightId: highlightId,
@@ -17519,7 +17541,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
17519
17541
  const id = getProsemirrorBlockId(prosemirrorNode);
17520
17542
  if (!id) return null;
17521
17543
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
17522
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z356.boolean().optional()) !== false;
17544
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z357.boolean().optional()) !== false;
17523
17545
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
17524
17546
  if (!tableChild) {
17525
17547
  return emptyTable(id, variantId, 0);
@@ -17565,9 +17587,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
17565
17587
  function parseAsTableCell(prosemirrorNode) {
17566
17588
  const id = getProsemirrorBlockId(prosemirrorNode);
17567
17589
  if (!id) return null;
17568
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z356.string().optional());
17590
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z357.string().optional());
17569
17591
  let columnWidth;
17570
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z356.array(z356.number()).nullish());
17592
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z357.array(z357.number()).nullish());
17571
17593
  if (columnWidthArray) {
17572
17594
  columnWidth = roundDimension(columnWidthArray[0]);
17573
17595
  }
@@ -17603,7 +17625,7 @@ function parseAsTableNode(prosemirrorNode) {
17603
17625
  value: parseRichText(prosemirrorNode.content ?? [])
17604
17626
  };
17605
17627
  case "image":
17606
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z356.string());
17628
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z357.string());
17607
17629
  if (!items) return null;
17608
17630
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
17609
17631
  if (!parsedItems.success) return null;
@@ -17717,7 +17739,7 @@ function definitionExpectsPlaceholderItem(definition) {
17717
17739
  );
17718
17740
  }
17719
17741
  function parseBlockItems(prosemirrorNode, definition) {
17720
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z356.string());
17742
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z357.string());
17721
17743
  if (!itemsString) return null;
17722
17744
  const itemsJson = JSON.parse(itemsString);
17723
17745
  if (!Array.isArray(itemsJson)) {
@@ -17728,18 +17750,18 @@ function parseBlockItems(prosemirrorNode, definition) {
17728
17750
  }
17729
17751
  function parseAppearance(prosemirrorNode) {
17730
17752
  let appearance = {};
17731
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z356.string().optional());
17753
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z357.string().optional());
17732
17754
  if (rawAppearanceString) {
17733
17755
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
17734
17756
  if (parsedAppearance.success) {
17735
17757
  appearance = parsedAppearance.data;
17736
17758
  }
17737
17759
  }
17738
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z356.number().optional());
17760
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z357.number().optional());
17739
17761
  if (columns) {
17740
17762
  appearance.numberOfColumns = columns;
17741
17763
  }
17742
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z356.string().optional());
17764
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z357.string().optional());
17743
17765
  if (backgroundColor) {
17744
17766
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
17745
17767
  if (parsedColor.success) {
@@ -17840,12 +17862,12 @@ function valueSchemaForPropertyType(type) {
17840
17862
  }
17841
17863
  }
17842
17864
  function getProsemirrorBlockId(prosemirrorNode) {
17843
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z356.string());
17865
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z357.string());
17844
17866
  if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
17845
17867
  return id;
17846
17868
  }
17847
17869
  function getProsemirrorBlockVariantId(prosemirrorNode) {
17848
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z356.string()));
17870
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z357.string()));
17849
17871
  }
17850
17872
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
17851
17873
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -19490,6 +19512,7 @@ export {
19490
19512
  DTOForgeProjectRoomResponse,
19491
19513
  DTOForgeProjectTheme,
19492
19514
  DTOForgeProjectUpdate,
19515
+ DTOForgeRelation,
19493
19516
  DTOForgeSection,
19494
19517
  DTOForgeSectionCreateInput,
19495
19518
  DTOForgeSectionDeleteInput,
@@ -19623,6 +19646,7 @@ export {
19623
19646
  DTOTrailEventListInput,
19624
19647
  DTOTrailEventListResponse,
19625
19648
  DTOTrailEventType,
19649
+ DTOTrailEventWithDetails,
19626
19650
  DTOTransferOwnershipPayload,
19627
19651
  DTOUGetForgeAgentResponse,
19628
19652
  DTOUpdateDocumentationGroupInput,