@supernova-studio/client 1.56.1 → 1.57.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 +424 -1
- package/dist/index.d.ts +424 -1
- package/dist/index.js +34 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +33 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -259,7 +259,8 @@ var AuthV2Session = z4.object({
|
|
|
259
259
|
id: z4.string(),
|
|
260
260
|
refreshToken: z4.string(),
|
|
261
261
|
expiresAt: z4.coerce.date(),
|
|
262
|
-
createdAt: z4.coerce.date()
|
|
262
|
+
createdAt: z4.coerce.date(),
|
|
263
|
+
userId: z4.string().optional()
|
|
263
264
|
});
|
|
264
265
|
var CardSchema = z5.object({
|
|
265
266
|
cardId: z5.string().nullish(),
|
|
@@ -4753,6 +4754,15 @@ var ForgeProjectArtifact = z150.object({
|
|
|
4753
4754
|
isArchived: z150.boolean().default(false)
|
|
4754
4755
|
});
|
|
4755
4756
|
var ProjectFeatureStatus = z151.enum(["Draft", "ReadyForDevelopment"]);
|
|
4757
|
+
var FeaturePublishedStateVisibility = z151.enum(["Public", "WorkspaceMembers"]);
|
|
4758
|
+
var FeaturePublishedState = z151.object({
|
|
4759
|
+
userId: z151.string().optional(),
|
|
4760
|
+
userName: z151.string().optional(),
|
|
4761
|
+
lastPublishedAt: z151.coerce.date(),
|
|
4762
|
+
iterationId: z151.string().optional(),
|
|
4763
|
+
hideSupernovaUI: z151.boolean(),
|
|
4764
|
+
visibility: FeaturePublishedStateVisibility.default("Public")
|
|
4765
|
+
});
|
|
4756
4766
|
var ProjectFeature = z151.object({
|
|
4757
4767
|
createdAt: z151.coerce.date(),
|
|
4758
4768
|
createdByUserId: z151.string(),
|
|
@@ -4771,7 +4781,8 @@ var ProjectFeature = z151.object({
|
|
|
4771
4781
|
numberOfBookmarkedIterations: z151.number().min(0).default(0),
|
|
4772
4782
|
lastReplyTimestamp: z151.coerce.date().optional(),
|
|
4773
4783
|
threadId: z151.string().optional(),
|
|
4774
|
-
thumbnail: FileReference.optional()
|
|
4784
|
+
thumbnail: FileReference.optional(),
|
|
4785
|
+
publishedState: FeaturePublishedState.optional()
|
|
4775
4786
|
});
|
|
4776
4787
|
var ForgeProjectFigmaNode = z152.object({
|
|
4777
4788
|
id: z152.string().uuid(),
|
|
@@ -10688,7 +10699,19 @@ var DTOForgeProjectArtifactContentResponse = z328.object({
|
|
|
10688
10699
|
|
|
10689
10700
|
// src/api/dto/forge/project-feature.ts
|
|
10690
10701
|
import z329 from "zod";
|
|
10702
|
+
var DTOForgeProjectFeaturePublishedState = FeaturePublishedState;
|
|
10691
10703
|
var DTOForgeProjectFeature = ProjectFeature;
|
|
10704
|
+
var DTOForgeProjectPublishedFeature = z329.object({
|
|
10705
|
+
featureName: z329.string(),
|
|
10706
|
+
iterationName: z329.string(),
|
|
10707
|
+
projectId: z329.string(),
|
|
10708
|
+
hideSupernovaUI: z329.boolean(),
|
|
10709
|
+
thumbnailUrl: z329.string().optional(),
|
|
10710
|
+
staticPreviewUrl: z329.string()
|
|
10711
|
+
});
|
|
10712
|
+
var DTOForgeProjectPublishedFeatureGetResponse = z329.object({
|
|
10713
|
+
publishedFeature: DTOForgeProjectPublishedFeature
|
|
10714
|
+
});
|
|
10692
10715
|
var DTOForgeProjectFeatureListResponse = z329.object({
|
|
10693
10716
|
features: DTOForgeProjectFeature.array()
|
|
10694
10717
|
});
|
|
@@ -10708,7 +10731,11 @@ var DTOForgeProjectFeatureUpdateInput = z329.object({
|
|
|
10708
10731
|
name: z329.string().optional(),
|
|
10709
10732
|
description: z329.string().optional(),
|
|
10710
10733
|
isArchived: z329.boolean().optional(),
|
|
10711
|
-
status: ProjectFeatureStatus.optional()
|
|
10734
|
+
status: ProjectFeatureStatus.optional(),
|
|
10735
|
+
/**
|
|
10736
|
+
* Sending null will result in feature unpublish
|
|
10737
|
+
*/
|
|
10738
|
+
publishedState: DTOForgeProjectFeaturePublishedState.nullish()
|
|
10712
10739
|
});
|
|
10713
10740
|
var DTOForgeProjectFeatureDeleteInput = z329.object({
|
|
10714
10741
|
id: Id
|
|
@@ -20423,6 +20450,7 @@ export {
|
|
|
20423
20450
|
DTOForgeProjectFeatureListResponse,
|
|
20424
20451
|
DTOForgeProjectFeatureMoveInput,
|
|
20425
20452
|
DTOForgeProjectFeaturePreview,
|
|
20453
|
+
DTOForgeProjectFeaturePublishedState,
|
|
20426
20454
|
DTOForgeProjectFeatureUpdateInput,
|
|
20427
20455
|
DTOForgeProjectFigmaNode,
|
|
20428
20456
|
DTOForgeProjectFigmaNodeRenderInput,
|
|
@@ -20454,6 +20482,8 @@ export {
|
|
|
20454
20482
|
DTOForgeProjectMemberUpdated,
|
|
20455
20483
|
DTOForgeProjectMembersCreated,
|
|
20456
20484
|
DTOForgeProjectMembersListResponse,
|
|
20485
|
+
DTOForgeProjectPublishedFeature,
|
|
20486
|
+
DTOForgeProjectPublishedFeatureGetResponse,
|
|
20457
20487
|
DTOForgeProjectResponse,
|
|
20458
20488
|
DTOForgeProjectRole,
|
|
20459
20489
|
DTOForgeProjectRoom,
|