@supernova-studio/client 1.45.1 → 1.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1479 -9
- package/dist/index.d.ts +1479 -9
- package/dist/index.js +24 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10407,6 +10407,20 @@ import { z as z331 } from "zod";
|
|
|
10407
10407
|
var DTOForgeProjectRole = z331.enum(["Viewer", "Builder", "Admin"]);
|
|
10408
10408
|
var DTOForgeProjectAccessMode = z331.enum(["InviteOnly", "Open", "Unlisted"]);
|
|
10409
10409
|
var DTOForgeProjectDefaultRole = DTOForgeProjectRole.exclude(["Admin"]);
|
|
10410
|
+
var DTOForgeProjectDocumentPreview = z331.object({
|
|
10411
|
+
id: z331.string(),
|
|
10412
|
+
title: z331.string(),
|
|
10413
|
+
thumbnail: DTOFileReference.optional(),
|
|
10414
|
+
createdAt: z331.string(),
|
|
10415
|
+
updatedAt: z331.string()
|
|
10416
|
+
});
|
|
10417
|
+
var DTOForgeProjectFeaturePreview = z331.object({
|
|
10418
|
+
id: z331.string(),
|
|
10419
|
+
name: z331.string(),
|
|
10420
|
+
thumbnail: DTOFileReference.optional(),
|
|
10421
|
+
createdAt: z331.string(),
|
|
10422
|
+
updatedAt: z331.string()
|
|
10423
|
+
});
|
|
10410
10424
|
var DTOForgeProject = z331.object({
|
|
10411
10425
|
id: z331.string(),
|
|
10412
10426
|
workspaceId: z331.string(),
|
|
@@ -10422,6 +10436,8 @@ var DTOForgeProject = z331.object({
|
|
|
10422
10436
|
createdAt: z331.coerce.date(),
|
|
10423
10437
|
createdByUserId: z331.string().optional(),
|
|
10424
10438
|
updatedAt: z331.coerce.date(),
|
|
10439
|
+
documents: DTOForgeProjectDocumentPreview.array(),
|
|
10440
|
+
features: DTOForgeProjectFeaturePreview.array(),
|
|
10425
10441
|
/** @deprecated use `projectContextId` */
|
|
10426
10442
|
fpContextId: z331.string(),
|
|
10427
10443
|
/** @deprecated use `name` and `description` properties on project */
|
|
@@ -10429,10 +10445,12 @@ var DTOForgeProject = z331.object({
|
|
|
10429
10445
|
name: z331.string(),
|
|
10430
10446
|
description: z331.string().optional()
|
|
10431
10447
|
}),
|
|
10432
|
-
/** @deprecated
|
|
10433
|
-
context: DTOForgeProjectContextV2,
|
|
10448
|
+
/** @deprecated use features.length */
|
|
10434
10449
|
numberOfFeatures: z331.number().int().nonnegative(),
|
|
10435
|
-
|
|
10450
|
+
/** @deprecated use documents.length */
|
|
10451
|
+
numberOfDocuments: z331.number().int().nonnegative().optional(),
|
|
10452
|
+
/** @deprecated prefer fetching from project contexts endpoint separately */
|
|
10453
|
+
context: DTOForgeProjectContextV2
|
|
10436
10454
|
});
|
|
10437
10455
|
var DTOForgeProjectCreate = DTOForgeProject.pick({
|
|
10438
10456
|
name: true,
|
|
@@ -19641,12 +19659,14 @@ export {
|
|
|
19641
19659
|
DTOForgeProjectContextV2,
|
|
19642
19660
|
DTOForgeProjectCreate,
|
|
19643
19661
|
DTOForgeProjectDefaultRole,
|
|
19662
|
+
DTOForgeProjectDocumentPreview,
|
|
19644
19663
|
DTOForgeProjectFeature,
|
|
19645
19664
|
DTOForgeProjectFeatureCreateInput,
|
|
19646
19665
|
DTOForgeProjectFeatureDeleteInput,
|
|
19647
19666
|
DTOForgeProjectFeatureGetResponse,
|
|
19648
19667
|
DTOForgeProjectFeatureListResponse,
|
|
19649
19668
|
DTOForgeProjectFeatureMoveInput,
|
|
19669
|
+
DTOForgeProjectFeaturePreview,
|
|
19650
19670
|
DTOForgeProjectFeatureUpdateInput,
|
|
19651
19671
|
DTOForgeProjectFigmaNode,
|
|
19652
19672
|
DTOForgeProjectFigmaNodeRenderInput,
|