@opengeni/contracts 2.13.0-canary.8 → 2.14.0-canary.1

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/atlassian.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  AtlassianSyncCadence,
18
18
  SaveAtlassianSourcesRequest,
19
19
  atlassianScopesAllowRead
20
- } from "./chunk-H57IGMNW.js";
20
+ } from "./chunk-ZMXDOKJK.js";
21
21
  import "./chunk-YBW5JSA3.js";
22
22
  import "./chunk-6TCVR53X.js";
23
23
  import "./chunk-GRG7PHWQ.js";
@@ -9820,6 +9820,7 @@ var UpdateSessionVisibilityResponse = z34.object({
9820
9820
  }
9821
9821
  });
9822
9822
  var ForkSessionRequest = z34.object({
9823
+ sourceEventId: z34.string().uuid().optional(),
9823
9824
  idempotencyKey: SessionTenancyIdempotencyKey,
9824
9825
  visibility: SessionVisibility,
9825
9826
  workspaceSharedAcknowledged: z34.boolean(),
@@ -9828,6 +9829,13 @@ var ForkSessionRequest = z34.object({
9828
9829
  rigId: z34.string().uuid().nullable().optional(),
9829
9830
  variableSetIds: z34.array(z34.string().uuid()).max(MAX_SELECTED_VARIABLE_SETS).optional()
9830
9831
  }).strict().superRefine((value, context) => {
9832
+ if (value.sourceEventId && (value.rigId !== void 0 || value.variableSetIds !== void 0)) {
9833
+ context.addIssue({
9834
+ code: "custom",
9835
+ path: ["sourceEventId"],
9836
+ message: "Message forks cannot replace runtime setup"
9837
+ });
9838
+ }
9831
9839
  if (value.visibility === "private" && value.workspaceSharedAcknowledged) {
9832
9840
  context.addIssue({
9833
9841
  code: "custom",
@@ -22192,4 +22200,4 @@ export {
22192
22200
  ClientConfig,
22193
22201
  evaluateWorkspaceModelPolicy
22194
22202
  };
22195
- //# sourceMappingURL=chunk-H57IGMNW.js.map
22203
+ //# sourceMappingURL=chunk-ZMXDOKJK.js.map