@supernova-studio/model 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.mjs CHANGED
@@ -45,7 +45,8 @@ var AuthV2Session = z4.object({
45
45
  id: z4.string(),
46
46
  refreshToken: z4.string(),
47
47
  expiresAt: z4.coerce.date(),
48
- createdAt: z4.coerce.date()
48
+ createdAt: z4.coerce.date(),
49
+ userId: z4.string().optional()
49
50
  });
50
51
 
51
52
  // src/billing/card.ts
@@ -5412,6 +5413,15 @@ var ForgeProjectArtifact = z150.object({
5412
5413
  // src/forge/project-feature.ts
5413
5414
  import { z as z151 } from "zod";
5414
5415
  var ProjectFeatureStatus = z151.enum(["Draft", "ReadyForDevelopment"]);
5416
+ var FeaturePublishedStateVisibility = z151.enum(["Public", "WorkspaceMembers"]);
5417
+ var FeaturePublishedState = z151.object({
5418
+ userId: z151.string().optional(),
5419
+ userName: z151.string().optional(),
5420
+ lastPublishedAt: z151.coerce.date(),
5421
+ iterationId: z151.string().optional(),
5422
+ hideSupernovaUI: z151.boolean(),
5423
+ visibility: FeaturePublishedStateVisibility.default("Public")
5424
+ });
5415
5425
  var ProjectFeature = z151.object({
5416
5426
  createdAt: z151.coerce.date(),
5417
5427
  createdByUserId: z151.string(),
@@ -5430,7 +5440,8 @@ var ProjectFeature = z151.object({
5430
5440
  numberOfBookmarkedIterations: z151.number().min(0).default(0),
5431
5441
  lastReplyTimestamp: z151.coerce.date().optional(),
5432
5442
  threadId: z151.string().optional(),
5433
- thumbnail: FileReference.optional()
5443
+ thumbnail: FileReference.optional(),
5444
+ publishedState: FeaturePublishedState.optional()
5434
5445
  });
5435
5446
 
5436
5447
  // src/forge/project-figma-node.ts
@@ -7119,6 +7130,8 @@ export {
7119
7130
  FeatureFlagDefaults,
7120
7131
  FeatureFlagMap,
7121
7132
  FeatureFlagsKeepAliases,
7133
+ FeaturePublishedState,
7134
+ FeaturePublishedStateVisibility,
7122
7135
  FeaturesSummary,
7123
7136
  FigmaComponent,
7124
7137
  FigmaComponentBooleanProperty,