@supernova-studio/client 1.45.1 → 1.46.1

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
@@ -5843,8 +5843,7 @@ var PageScreenshotInput = z214.object({
5843
5843
  height: z214.number().positive()
5844
5844
  }).optional(),
5845
5845
  supernovaAuth: z214.object({
5846
- accessToken: z214.string(),
5847
- authPageUrl: z214.string()
5846
+ accessToken: z214.string()
5848
5847
  }).optional()
5849
5848
  });
5850
5849
  var PageScreenshotOutput = z214.discriminatedUnion("success", [
@@ -10407,6 +10406,20 @@ import { z as z331 } from "zod";
10407
10406
  var DTOForgeProjectRole = z331.enum(["Viewer", "Builder", "Admin"]);
10408
10407
  var DTOForgeProjectAccessMode = z331.enum(["InviteOnly", "Open", "Unlisted"]);
10409
10408
  var DTOForgeProjectDefaultRole = DTOForgeProjectRole.exclude(["Admin"]);
10409
+ var DTOForgeProjectDocumentPreview = z331.object({
10410
+ id: z331.string(),
10411
+ title: z331.string(),
10412
+ thumbnail: DTOFileReference.optional(),
10413
+ createdAt: z331.string(),
10414
+ updatedAt: z331.string()
10415
+ });
10416
+ var DTOForgeProjectFeaturePreview = z331.object({
10417
+ id: z331.string(),
10418
+ name: z331.string(),
10419
+ thumbnail: DTOFileReference.optional(),
10420
+ createdAt: z331.string(),
10421
+ updatedAt: z331.string()
10422
+ });
10410
10423
  var DTOForgeProject = z331.object({
10411
10424
  id: z331.string(),
10412
10425
  workspaceId: z331.string(),
@@ -10422,6 +10435,8 @@ var DTOForgeProject = z331.object({
10422
10435
  createdAt: z331.coerce.date(),
10423
10436
  createdByUserId: z331.string().optional(),
10424
10437
  updatedAt: z331.coerce.date(),
10438
+ documents: DTOForgeProjectDocumentPreview.array(),
10439
+ features: DTOForgeProjectFeaturePreview.array(),
10425
10440
  /** @deprecated use `projectContextId` */
10426
10441
  fpContextId: z331.string(),
10427
10442
  /** @deprecated use `name` and `description` properties on project */
@@ -10429,10 +10444,12 @@ var DTOForgeProject = z331.object({
10429
10444
  name: z331.string(),
10430
10445
  description: z331.string().optional()
10431
10446
  }),
10432
- /** @deprecated prefer fetching from project contexts endpoint separately */
10433
- context: DTOForgeProjectContextV2,
10447
+ /** @deprecated use features.length */
10434
10448
  numberOfFeatures: z331.number().int().nonnegative(),
10435
- numberOfDocuments: z331.number().int().nonnegative().optional()
10449
+ /** @deprecated use documents.length */
10450
+ numberOfDocuments: z331.number().int().nonnegative().optional(),
10451
+ /** @deprecated prefer fetching from project contexts endpoint separately */
10452
+ context: DTOForgeProjectContextV2
10436
10453
  });
10437
10454
  var DTOForgeProjectCreate = DTOForgeProject.pick({
10438
10455
  name: true,
@@ -19641,12 +19658,14 @@ export {
19641
19658
  DTOForgeProjectContextV2,
19642
19659
  DTOForgeProjectCreate,
19643
19660
  DTOForgeProjectDefaultRole,
19661
+ DTOForgeProjectDocumentPreview,
19644
19662
  DTOForgeProjectFeature,
19645
19663
  DTOForgeProjectFeatureCreateInput,
19646
19664
  DTOForgeProjectFeatureDeleteInput,
19647
19665
  DTOForgeProjectFeatureGetResponse,
19648
19666
  DTOForgeProjectFeatureListResponse,
19649
19667
  DTOForgeProjectFeatureMoveInput,
19668
+ DTOForgeProjectFeaturePreview,
19650
19669
  DTOForgeProjectFeatureUpdateInput,
19651
19670
  DTOForgeProjectFigmaNode,
19652
19671
  DTOForgeProjectFigmaNodeRenderInput,