@supernova-studio/client 1.69.3 → 1.69.5

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
@@ -9707,9 +9707,21 @@ var DTOFeatureSandbox = z314.object({
9707
9707
  url: z314.string(),
9708
9708
  parentMessageId: Id.optional(),
9709
9709
  currentIterationId: Id,
9710
+ // TODO (jovanblazek): Remove optional once we remove sandboxes from feature room ydoc
9711
+ featureId: Id.optional(),
9710
9712
  expiresAt: z314.string().optional(),
9711
9713
  error: DTOSandboxError.optional()
9712
9714
  });
9715
+ var DTOCreateFeatureSandbox = DTOFeatureSandbox.extend({ featureId: Id });
9716
+ var DTOUpdateFeatureSandbox = DTOCreateFeatureSandbox.partial().extend({
9717
+ id: z314.string(),
9718
+ parentMessageId: Id.nullish(),
9719
+ expiresAt: z314.string().nullish(),
9720
+ error: DTOSandboxError.nullish()
9721
+ });
9722
+ var DTOFeatureSandboxListResponse = z314.object({
9723
+ sandboxes: DTOFeatureSandbox.array()
9724
+ });
9713
9725
  var DTOFeatureMessageCreateInput = DTOFeatureMessage.pick({
9714
9726
  id: true,
9715
9727
  body: true,
@@ -11090,15 +11102,20 @@ var DTOForgeProjectIterationTagSet = z336.object({
11090
11102
  type: z336.literal("ProjectIterationTagSet"),
11091
11103
  data: DTOFeatureIterationTag
11092
11104
  });
11105
+ var DTOForgeProjectFeatureSandboxUpdated = z336.object({
11106
+ type: z336.literal("ProjectFeatureSandboxUpdated"),
11107
+ data: DTOFeatureSandbox
11108
+ });
11093
11109
  var DTOForgeProjectIterationUpdated = z336.object({
11094
11110
  type: z336.literal("ProjectIterationUpdated"),
11095
- data: DTOFeatureIteration
11111
+ data: DTOFeatureIteration.extend({ featureId: Id })
11096
11112
  });
11097
11113
  var DTOForgeProjectRoomEvent = z336.discriminatedUnion("type", [
11098
11114
  DTOForgeProjectMembersCreated,
11099
11115
  DTOForgeProjectMemberUpdated,
11100
11116
  DTOForgeProjectMemberDeleted,
11101
11117
  DTOForgeProjectIterationTagSet,
11118
+ DTOForgeProjectFeatureSandboxUpdated,
11102
11119
  DTOForgeProjectIterationUpdated
11103
11120
  ]);
11104
11121
 
@@ -20115,6 +20132,7 @@ export {
20115
20132
  DTOCreateDocumentationGroupInput,
20116
20133
  DTOCreateDocumentationPageInputV2,
20117
20134
  DTOCreateDocumentationTabInput,
20135
+ DTOCreateFeatureSandbox,
20118
20136
  DTOCreateForgeAgent,
20119
20137
  DTOCreateForgeAgentResponse,
20120
20138
  DTOCreateForgeArtifact,
@@ -20386,6 +20404,7 @@ export {
20386
20404
  DTOFeatureMessageUserSender,
20387
20405
  DTOFeaturePublishedStateUpdateInput,
20388
20406
  DTOFeatureSandbox,
20407
+ DTOFeatureSandboxListResponse,
20389
20408
  DTOFeatureUpdateThemeInput,
20390
20409
  DTOFigmaComponent,
20391
20410
  DTOFigmaComponentGroup,
@@ -20540,6 +20559,7 @@ export {
20540
20559
  DTOForgeProjectFeatureListResponse,
20541
20560
  DTOForgeProjectFeatureMoveInput,
20542
20561
  DTOForgeProjectFeaturePreview,
20562
+ DTOForgeProjectFeatureSandboxUpdated,
20543
20563
  DTOForgeProjectFeatureUpdateInput,
20544
20564
  DTOForgeProjectFigmaNode,
20545
20565
  DTOForgeProjectFigmaNodeRenderInput,
@@ -20766,6 +20786,7 @@ export {
20766
20786
  DTOUpdateDocumentationGroupInput,
20767
20787
  DTOUpdateDocumentationPageDocumentInputV2,
20768
20788
  DTOUpdateDocumentationPageInputV2,
20789
+ DTOUpdateFeatureSandbox,
20769
20790
  DTOUpdateForgeAgent,
20770
20791
  DTOUpdateForgeAgentResponse,
20771
20792
  DTOUpdateForgeArtifact,