@supernova-studio/client 1.57.1 → 1.59.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
@@ -4759,7 +4759,7 @@ var FeaturePublishedState = z151.object({
4759
4759
  userId: z151.string().optional(),
4760
4760
  userName: z151.string().optional(),
4761
4761
  lastPublishedAt: z151.coerce.date(),
4762
- iterationId: z151.string().optional(),
4762
+ iterationId: z151.string().nullable(),
4763
4763
  hideSupernovaUI: z151.boolean(),
4764
4764
  visibility: FeaturePublishedStateVisibility.default("Public")
4765
4765
  });
@@ -10699,7 +10699,11 @@ var DTOForgeProjectArtifactContentResponse = z328.object({
10699
10699
 
10700
10700
  // src/api/dto/forge/project-feature.ts
10701
10701
  import z329 from "zod";
10702
- var DTOForgeProjectFeaturePublishedState = FeaturePublishedState;
10702
+ var DTOForgeProjectFeaturePublishedState = FeaturePublishedState.pick({
10703
+ iterationId: true,
10704
+ hideSupernovaUI: true,
10705
+ visibility: true
10706
+ });
10703
10707
  var DTOForgeProjectFeature = ProjectFeature;
10704
10708
  var DTOForgeProjectPublishedFeature = z329.object({
10705
10709
  featureName: z329.string(),
@@ -11376,7 +11380,9 @@ var DTOTrailEventType = z347.enum([
11376
11380
  "ProjectArchived",
11377
11381
  "IterationPromoted",
11378
11382
  "ProjectContextCreated",
11379
- "ProjectContextArchived"
11383
+ "ProjectContextArchived",
11384
+ "FeaturePublished",
11385
+ "FeatureUnpublished"
11380
11386
  ]);
11381
11387
  var DTOTrailEventBase = z347.object({
11382
11388
  id: z347.string(),
@@ -11436,6 +11442,18 @@ var DTOTrailEventProjectCreatedPayload = z347.object({
11436
11442
  name: z347.string(),
11437
11443
  description: z347.string().optional()
11438
11444
  });
11445
+ var DTOTrailEventFeaturePublishedPayload = z347.object({
11446
+ featureId: z347.string().uuid(),
11447
+ featureName: z347.string(),
11448
+ iterationId: z347.string().uuid(),
11449
+ iterationName: z347.string()
11450
+ });
11451
+ var DTOTrailEventFeatureUnpublishedPayload = z347.object({
11452
+ featureId: z347.string().uuid(),
11453
+ featureName: z347.string(),
11454
+ iterationId: z347.string().uuid(),
11455
+ iterationName: z347.string()
11456
+ });
11439
11457
  var DTOTrailEventProjectArchivedPayload = z347.object({
11440
11458
  name: z347.string()
11441
11459
  });
@@ -11461,7 +11479,9 @@ var DTOTrailEventPayload = z347.discriminatedUnion("type", [
11461
11479
  z347.object({ type: z347.literal("ProjectArchived"), payload: DTOTrailEventProjectArchivedPayload }),
11462
11480
  z347.object({ type: z347.literal("IterationPromoted"), payload: DTOTrailEventIterationPromotedPayload }),
11463
11481
  z347.object({ type: z347.literal("ProjectContextCreated"), payload: DTOTrailEventProjectContextCreatedPayload }),
11464
- z347.object({ type: z347.literal("ProjectContextArchived"), payload: DTOTrailEventProjectContextArchivedPayload })
11482
+ z347.object({ type: z347.literal("ProjectContextArchived"), payload: DTOTrailEventProjectContextArchivedPayload }),
11483
+ z347.object({ type: z347.literal("FeaturePublished"), payload: DTOTrailEventFeaturePublishedPayload }),
11484
+ z347.object({ type: z347.literal("FeatureUnpublished"), payload: DTOTrailEventFeatureUnpublishedPayload })
11465
11485
  ]);
11466
11486
  var DTOTrailEvent = DTOTrailEventPayload.and(DTOTrailEventBase);
11467
11487
  var DTOTrailEventWithDetails = DTOTrailEvent.and(