@opengeni/contracts 1.4.2 → 1.4.4

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-LGT7XRX7.js";
20
+ } from "./chunk-T5AUJN7S.js";
21
21
  import "./chunk-4JGHSSB7.js";
22
22
  import "./chunk-5IXYF6XN.js";
23
23
  import "./chunk-NRMCVHAU.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ConnectionKind,
3
3
  SessionTenancyVisibility
4
- } from "./chunk-LGT7XRX7.js";
4
+ } from "./chunk-T5AUJN7S.js";
5
5
 
6
6
  // src/connection-authority.ts
7
7
  import { z } from "zod";
@@ -183,4 +183,4 @@ export {
183
183
  ConnectionUseAuditFact,
184
184
  ConnectionUseAuthorizationResult
185
185
  };
186
- //# sourceMappingURL=chunk-IBQ2IDBV.js.map
186
+ //# sourceMappingURL=chunk-4GWPPWL3.js.map
@@ -7227,6 +7227,8 @@ var ComputerSessionCapabilities = z34.object({
7227
7227
  screenCapture: z34.boolean(),
7228
7228
  semanticActions: z34.boolean(),
7229
7229
  pointerInput: z34.boolean(),
7230
+ /** A causal count-2 click requires its exact confirmed first operation. */
7231
+ pointerClickContinuation: z34.boolean().optional(),
7230
7232
  keyboardInput: z34.boolean(),
7231
7233
  clipboard: z34.boolean(),
7232
7234
  backgroundActions: z34.boolean(),
@@ -7353,10 +7355,25 @@ var ComputerAction = z34.discriminatedUnion("type", [
7353
7355
  endY: z34.number().finite().optional(),
7354
7356
  deltaX: z34.number().finite().optional(),
7355
7357
  deltaY: z34.number().finite().optional(),
7356
- button: z34.enum(["left", "right", "middle"]).optional()
7358
+ button: z34.enum(["left", "right", "middle"]).optional(),
7359
+ clickCount: z34.union([z34.literal(1), z34.literal(2)]).optional(),
7360
+ continuationOfOperationId: z34.string().uuid().optional()
7357
7361
  }).strict().superRefine((action, context) => {
7358
7362
  const hasEnd = action.endX !== void 0 || action.endY !== void 0;
7359
7363
  const hasDelta = action.deltaX !== void 0 || action.deltaY !== void 0;
7364
+ if (action.action !== "click" && action.clickCount !== void 0) {
7365
+ context.addIssue({
7366
+ code: "custom",
7367
+ message: "pointer clickCount requires click"
7368
+ });
7369
+ }
7370
+ if (action.clickCount === 2 !== (action.continuationOfOperationId !== void 0)) {
7371
+ context.addIssue({
7372
+ code: "custom",
7373
+ path: ["continuationOfOperationId"],
7374
+ message: "clickCount 2 requires exactly one prior first-click operation"
7375
+ });
7376
+ }
7360
7377
  if (action.action === "drag" && (action.endX === void 0 || action.endY === void 0)) {
7361
7378
  context.addIssue({
7362
7379
  code: "custom",
@@ -7429,6 +7446,13 @@ var ComputerActionCommand = z34.object({
7429
7446
  });
7430
7447
  }
7431
7448
  if (command.action.type === "pointer") {
7449
+ if (command.action.continuationOfOperationId === command.operationId) {
7450
+ context.addIssue({
7451
+ code: "custom",
7452
+ path: ["action", "continuationOfOperationId"],
7453
+ message: "a click cannot continue its own operation"
7454
+ });
7455
+ }
7432
7456
  if (command.expectedFrameId !== command.action.frameId) {
7433
7457
  context.addIssue({
7434
7458
  code: "custom",
@@ -26974,4 +26998,4 @@ export {
26974
26998
  AtlassianDisconnectRequest,
26975
26999
  atlassianScopesAllowRead
26976
27000
  };
26977
- //# sourceMappingURL=chunk-LGT7XRX7.js.map
27001
+ //# sourceMappingURL=chunk-T5AUJN7S.js.map