@trycua/cua-driver 0.28.1 → 0.28.3
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/native/cua_driver_contract.d.ts +660 -10
- package/dist/native/cua_driver_contract.js +1095 -164
- package/dist/native/cua_driver_sdk-ffi.d.ts +4 -0
- package/dist/native/cua_driver_sdk-ffi.js +20 -0
- package/dist/native/cua_driver_sdk.d.ts +15 -3
- package/dist/native/cua_driver_sdk.js +65 -1
- package/package.json +7 -7
|
@@ -80,6 +80,55 @@ const FfiConverterTypeActionDelivery = (() => {
|
|
|
80
80
|
;
|
|
81
81
|
return new FFIConverter();
|
|
82
82
|
})();
|
|
83
|
+
const stringConverter = (() => {
|
|
84
|
+
const encoder = new TextEncoder();
|
|
85
|
+
const decoder = new TextDecoder();
|
|
86
|
+
return {
|
|
87
|
+
stringToBytes: (s) => encoder.encode(s),
|
|
88
|
+
bytesToString: (ab) => decoder.decode(ab),
|
|
89
|
+
stringByteLength: (s) => encoder.encode(s).byteLength,
|
|
90
|
+
writeStringIntoBuffer: (s, buf, offset) => {
|
|
91
|
+
const view = new Uint8Array(buf.arrayBuffer, offset, buf.arrayBuffer.byteLength - offset);
|
|
92
|
+
return encoder.encodeInto(s, view).written;
|
|
93
|
+
},
|
|
94
|
+
readStringFromBuffer: (buf, offset, length) => decoder.decode(new Uint8Array(buf.arrayBuffer, offset, length)),
|
|
95
|
+
};
|
|
96
|
+
})();
|
|
97
|
+
const FfiConverterString = uniffiCreateFfiConverterString(stringConverter);
|
|
98
|
+
/**
|
|
99
|
+
* Generated factory for {@link ActionError} record objects.
|
|
100
|
+
*/
|
|
101
|
+
export const ActionError = (() => {
|
|
102
|
+
const defaults = () => ({});
|
|
103
|
+
const create = (() => {
|
|
104
|
+
return uniffiCreateRecord(defaults);
|
|
105
|
+
})();
|
|
106
|
+
return Object.freeze({
|
|
107
|
+
create,
|
|
108
|
+
new: create,
|
|
109
|
+
defaults: () => Object.freeze(defaults()),
|
|
110
|
+
});
|
|
111
|
+
})();
|
|
112
|
+
const FfiConverterTypeActionError = (() => {
|
|
113
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
114
|
+
read(from) {
|
|
115
|
+
return {
|
|
116
|
+
code: FfiConverterString.read(from),
|
|
117
|
+
hint: FfiConverterOptionalString.read(from)
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
write(value, into) {
|
|
121
|
+
FfiConverterString.write(value.code, into);
|
|
122
|
+
FfiConverterOptionalString.write(value.hint, into);
|
|
123
|
+
}
|
|
124
|
+
allocationSize(value) {
|
|
125
|
+
return FfiConverterString.allocationSize(value.code) +
|
|
126
|
+
FfiConverterOptionalString.allocationSize(value.hint);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
;
|
|
130
|
+
return new FFIConverter();
|
|
131
|
+
})();
|
|
83
132
|
export var ActionEscalationTarget;
|
|
84
133
|
(function (ActionEscalationTarget) {
|
|
85
134
|
ActionEscalationTarget[ActionEscalationTarget["Pixel"] = 0] = "Pixel";
|
|
@@ -228,14 +277,17 @@ const FfiConverterTypeActionEvidence = (() => {
|
|
|
228
277
|
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
229
278
|
read(from) {
|
|
230
279
|
return {
|
|
231
|
-
kind: FfiConverterTypeActionEvidenceKind.read(from)
|
|
280
|
+
kind: FfiConverterTypeActionEvidenceKind.read(from),
|
|
281
|
+
detail: FfiConverterOptionalString.read(from)
|
|
232
282
|
};
|
|
233
283
|
}
|
|
234
284
|
write(value, into) {
|
|
235
285
|
FfiConverterTypeActionEvidenceKind.write(value.kind, into);
|
|
286
|
+
FfiConverterOptionalString.write(value.detail, into);
|
|
236
287
|
}
|
|
237
288
|
allocationSize(value) {
|
|
238
|
-
return FfiConverterTypeActionEvidenceKind.allocationSize(value.kind)
|
|
289
|
+
return FfiConverterTypeActionEvidenceKind.allocationSize(value.kind) +
|
|
290
|
+
FfiConverterOptionalString.allocationSize(value.detail);
|
|
239
291
|
}
|
|
240
292
|
}
|
|
241
293
|
;
|
|
@@ -338,7 +390,9 @@ const FfiConverterTypeActionResult = (() => {
|
|
|
338
390
|
route: FfiConverterTypeActionRoute.read(from),
|
|
339
391
|
delivery: FfiConverterOptionalTypeActionDelivery.read(from),
|
|
340
392
|
evidence: FfiConverterOptionalSequenceTypeActionEvidence.read(from),
|
|
341
|
-
escalation: FfiConverterOptionalTypeActionEscalation.read(from)
|
|
393
|
+
escalation: FfiConverterOptionalTypeActionEscalation.read(from),
|
|
394
|
+
summary: FfiConverterOptionalString.read(from),
|
|
395
|
+
error: FfiConverterOptionalTypeActionError.read(from)
|
|
342
396
|
};
|
|
343
397
|
}
|
|
344
398
|
write(value, into) {
|
|
@@ -347,33 +401,22 @@ const FfiConverterTypeActionResult = (() => {
|
|
|
347
401
|
FfiConverterOptionalTypeActionDelivery.write(value.delivery, into);
|
|
348
402
|
FfiConverterOptionalSequenceTypeActionEvidence.write(value.evidence, into);
|
|
349
403
|
FfiConverterOptionalTypeActionEscalation.write(value.escalation, into);
|
|
404
|
+
FfiConverterOptionalString.write(value.summary, into);
|
|
405
|
+
FfiConverterOptionalTypeActionError.write(value.error, into);
|
|
350
406
|
}
|
|
351
407
|
allocationSize(value) {
|
|
352
408
|
return FfiConverterTypeActionEffect.allocationSize(value.effect) +
|
|
353
409
|
FfiConverterTypeActionRoute.allocationSize(value.route) +
|
|
354
410
|
FfiConverterOptionalTypeActionDelivery.allocationSize(value.delivery) +
|
|
355
411
|
FfiConverterOptionalSequenceTypeActionEvidence.allocationSize(value.evidence) +
|
|
356
|
-
FfiConverterOptionalTypeActionEscalation.allocationSize(value.escalation)
|
|
412
|
+
FfiConverterOptionalTypeActionEscalation.allocationSize(value.escalation) +
|
|
413
|
+
FfiConverterOptionalString.allocationSize(value.summary) +
|
|
414
|
+
FfiConverterOptionalTypeActionError.allocationSize(value.error);
|
|
357
415
|
}
|
|
358
416
|
}
|
|
359
417
|
;
|
|
360
418
|
return new FFIConverter();
|
|
361
419
|
})();
|
|
362
|
-
const stringConverter = (() => {
|
|
363
|
-
const encoder = new TextEncoder();
|
|
364
|
-
const decoder = new TextDecoder();
|
|
365
|
-
return {
|
|
366
|
-
stringToBytes: (s) => encoder.encode(s),
|
|
367
|
-
bytesToString: (ab) => decoder.decode(ab),
|
|
368
|
-
stringByteLength: (s) => encoder.encode(s).byteLength,
|
|
369
|
-
writeStringIntoBuffer: (s, buf, offset) => {
|
|
370
|
-
const view = new Uint8Array(buf.arrayBuffer, offset, buf.arrayBuffer.byteLength - offset);
|
|
371
|
-
return encoder.encodeInto(s, view).written;
|
|
372
|
-
},
|
|
373
|
-
readStringFromBuffer: (buf, offset, length) => decoder.decode(new Uint8Array(buf.arrayBuffer, offset, length)),
|
|
374
|
-
};
|
|
375
|
-
})();
|
|
376
|
-
const FfiConverterString = uniffiCreateFfiConverterString(stringConverter);
|
|
377
420
|
/**
|
|
378
421
|
* Generated factory for {@link AppInfo} record objects.
|
|
379
422
|
*/
|
|
@@ -587,6 +630,7 @@ export var ClickPosition_Tags;
|
|
|
587
630
|
(function (ClickPosition_Tags) {
|
|
588
631
|
ClickPosition_Tags["Coordinates"] = "Coordinates";
|
|
589
632
|
ClickPosition_Tags["Element"] = "Element";
|
|
633
|
+
ClickPosition_Tags["CapturedCoordinates"] = "CapturedCoordinates";
|
|
590
634
|
})(ClickPosition_Tags || (ClickPosition_Tags = {}));
|
|
591
635
|
export const ClickPosition = (() => {
|
|
592
636
|
class Coordinates_ extends UniffiEnum {
|
|
@@ -627,13 +671,33 @@ export const ClickPosition = (() => {
|
|
|
627
671
|
return obj.tag === ClickPosition_Tags.Element;
|
|
628
672
|
}
|
|
629
673
|
}
|
|
674
|
+
class CapturedCoordinates_ extends UniffiEnum {
|
|
675
|
+
/**
|
|
676
|
+
* @private
|
|
677
|
+
* This field is private and should not be used, use `tag` instead.
|
|
678
|
+
*/
|
|
679
|
+
[uniffiTypeNameSymbol] = "ClickPosition";
|
|
680
|
+
tag = ClickPosition_Tags.CapturedCoordinates;
|
|
681
|
+
inner;
|
|
682
|
+
constructor(inner) {
|
|
683
|
+
super("ClickPosition", "CapturedCoordinates");
|
|
684
|
+
this.inner = Object.freeze(inner);
|
|
685
|
+
}
|
|
686
|
+
static new(inner) {
|
|
687
|
+
return new CapturedCoordinates_(inner);
|
|
688
|
+
}
|
|
689
|
+
static instanceOf(obj) {
|
|
690
|
+
return obj.tag === ClickPosition_Tags.CapturedCoordinates;
|
|
691
|
+
}
|
|
692
|
+
}
|
|
630
693
|
function instanceOf(obj) {
|
|
631
694
|
return obj[uniffiTypeNameSymbol] === "ClickPosition";
|
|
632
695
|
}
|
|
633
696
|
return Object.freeze({
|
|
634
697
|
instanceOf,
|
|
635
698
|
Coordinates: Coordinates_,
|
|
636
|
-
Element: Element_
|
|
699
|
+
Element: Element_,
|
|
700
|
+
CapturedCoordinates: CapturedCoordinates_
|
|
637
701
|
});
|
|
638
702
|
})();
|
|
639
703
|
// FfiConverter for enum ClickPosition
|
|
@@ -644,6 +708,7 @@ const FfiConverterTypeClickPosition = (() => {
|
|
|
644
708
|
switch (ordinalConverter.read(from)) {
|
|
645
709
|
case 1: return new ClickPosition.Coordinates({ x: FfiConverterFloat64.read(from), y: FfiConverterFloat64.read(from) });
|
|
646
710
|
case 2: return new ClickPosition.Element({ elementToken: FfiConverterString.read(from) });
|
|
711
|
+
case 3: return new ClickPosition.CapturedCoordinates({ x: FfiConverterFloat64.read(from), y: FfiConverterFloat64.read(from), captureId: FfiConverterString.read(from) });
|
|
647
712
|
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
648
713
|
}
|
|
649
714
|
}
|
|
@@ -662,6 +727,14 @@ const FfiConverterTypeClickPosition = (() => {
|
|
|
662
727
|
FfiConverterString.write(inner.elementToken, into);
|
|
663
728
|
return;
|
|
664
729
|
}
|
|
730
|
+
case ClickPosition_Tags.CapturedCoordinates: {
|
|
731
|
+
ordinalConverter.write(3, into);
|
|
732
|
+
const inner = value.inner;
|
|
733
|
+
FfiConverterFloat64.write(inner.x, into);
|
|
734
|
+
FfiConverterFloat64.write(inner.y, into);
|
|
735
|
+
FfiConverterString.write(inner.captureId, into);
|
|
736
|
+
return;
|
|
737
|
+
}
|
|
665
738
|
default:
|
|
666
739
|
// Throwing from here means that ClickPosition_Tags hasn't matched an ordinal.
|
|
667
740
|
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
@@ -682,6 +755,14 @@ const FfiConverterTypeClickPosition = (() => {
|
|
|
682
755
|
size += FfiConverterString.allocationSize(inner.elementToken);
|
|
683
756
|
return size;
|
|
684
757
|
}
|
|
758
|
+
case ClickPosition_Tags.CapturedCoordinates: {
|
|
759
|
+
const inner = value.inner;
|
|
760
|
+
let size = ordinalConverter.allocationSize(3);
|
|
761
|
+
size += FfiConverterFloat64.allocationSize(inner.x);
|
|
762
|
+
size += FfiConverterFloat64.allocationSize(inner.y);
|
|
763
|
+
size += FfiConverterString.allocationSize(inner.captureId);
|
|
764
|
+
return size;
|
|
765
|
+
}
|
|
685
766
|
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
686
767
|
}
|
|
687
768
|
}
|
|
@@ -1702,7 +1783,9 @@ const FfiConverterTypeGetCursorPositionInput = (() => {
|
|
|
1702
1783
|
* Generated factory for {@link GetDesktopStateInput} record objects.
|
|
1703
1784
|
*/
|
|
1704
1785
|
export const GetDesktopStateInput = (() => {
|
|
1705
|
-
const defaults = () => ({
|
|
1786
|
+
const defaults = () => ({
|
|
1787
|
+
maxImageDimension: undefined
|
|
1788
|
+
});
|
|
1706
1789
|
const create = (() => {
|
|
1707
1790
|
return uniffiCreateRecord(defaults);
|
|
1708
1791
|
})();
|
|
@@ -1717,16 +1800,19 @@ const FfiConverterTypeGetDesktopStateInput = (() => {
|
|
|
1717
1800
|
read(from) {
|
|
1718
1801
|
return {
|
|
1719
1802
|
session: FfiConverterOptionalString.read(from),
|
|
1720
|
-
screenshotOutFile: FfiConverterOptionalString.read(from)
|
|
1803
|
+
screenshotOutFile: FfiConverterOptionalString.read(from),
|
|
1804
|
+
maxImageDimension: FfiConverterOptionalUInt32.read(from)
|
|
1721
1805
|
};
|
|
1722
1806
|
}
|
|
1723
1807
|
write(value, into) {
|
|
1724
1808
|
FfiConverterOptionalString.write(value.session, into);
|
|
1725
1809
|
FfiConverterOptionalString.write(value.screenshotOutFile, into);
|
|
1810
|
+
FfiConverterOptionalUInt32.write(value.maxImageDimension, into);
|
|
1726
1811
|
}
|
|
1727
1812
|
allocationSize(value) {
|
|
1728
1813
|
return FfiConverterOptionalString.allocationSize(value.session) +
|
|
1729
|
-
FfiConverterOptionalString.allocationSize(value.screenshotOutFile)
|
|
1814
|
+
FfiConverterOptionalString.allocationSize(value.screenshotOutFile) +
|
|
1815
|
+
FfiConverterOptionalUInt32.allocationSize(value.maxImageDimension);
|
|
1730
1816
|
}
|
|
1731
1817
|
}
|
|
1732
1818
|
;
|
|
@@ -1829,7 +1915,9 @@ const FfiConverterTypeGetSessionStateInput = (() => {
|
|
|
1829
1915
|
* Generated factory for {@link GetWindowStateInput} record objects.
|
|
1830
1916
|
*/
|
|
1831
1917
|
export const GetWindowStateInput = (() => {
|
|
1832
|
-
const defaults = () => ({
|
|
1918
|
+
const defaults = () => ({
|
|
1919
|
+
timeoutMs: undefined
|
|
1920
|
+
});
|
|
1833
1921
|
const create = (() => {
|
|
1834
1922
|
return uniffiCreateRecord(defaults);
|
|
1835
1923
|
})();
|
|
@@ -1852,7 +1940,9 @@ const FfiConverterTypeGetWindowStateInput = (() => {
|
|
|
1852
1940
|
screenshotOutFile: FfiConverterOptionalString.read(from),
|
|
1853
1941
|
maxElements: FfiConverterOptionalUInt32.read(from),
|
|
1854
1942
|
maxDepth: FfiConverterOptionalUInt32.read(from),
|
|
1855
|
-
maxDimension: FfiConverterOptionalUInt32.read(from)
|
|
1943
|
+
maxDimension: FfiConverterOptionalUInt32.read(from),
|
|
1944
|
+
maxImageDimension: FfiConverterOptionalUInt32.read(from),
|
|
1945
|
+
timeoutMs: FfiConverterOptionalUInt32.read(from)
|
|
1856
1946
|
};
|
|
1857
1947
|
}
|
|
1858
1948
|
write(value, into) {
|
|
@@ -1866,6 +1956,8 @@ const FfiConverterTypeGetWindowStateInput = (() => {
|
|
|
1866
1956
|
FfiConverterOptionalUInt32.write(value.maxElements, into);
|
|
1867
1957
|
FfiConverterOptionalUInt32.write(value.maxDepth, into);
|
|
1868
1958
|
FfiConverterOptionalUInt32.write(value.maxDimension, into);
|
|
1959
|
+
FfiConverterOptionalUInt32.write(value.maxImageDimension, into);
|
|
1960
|
+
FfiConverterOptionalUInt32.write(value.timeoutMs, into);
|
|
1869
1961
|
}
|
|
1870
1962
|
allocationSize(value) {
|
|
1871
1963
|
return FfiConverterUInt32.allocationSize(value.pid) +
|
|
@@ -1877,7 +1969,9 @@ const FfiConverterTypeGetWindowStateInput = (() => {
|
|
|
1877
1969
|
FfiConverterOptionalString.allocationSize(value.screenshotOutFile) +
|
|
1878
1970
|
FfiConverterOptionalUInt32.allocationSize(value.maxElements) +
|
|
1879
1971
|
FfiConverterOptionalUInt32.allocationSize(value.maxDepth) +
|
|
1880
|
-
FfiConverterOptionalUInt32.allocationSize(value.maxDimension)
|
|
1972
|
+
FfiConverterOptionalUInt32.allocationSize(value.maxDimension) +
|
|
1973
|
+
FfiConverterOptionalUInt32.allocationSize(value.maxImageDimension) +
|
|
1974
|
+
FfiConverterOptionalUInt32.allocationSize(value.timeoutMs);
|
|
1881
1975
|
}
|
|
1882
1976
|
}
|
|
1883
1977
|
;
|
|
@@ -2456,70 +2550,25 @@ const FfiConverterTypeMoveCursorInput = (() => {
|
|
|
2456
2550
|
;
|
|
2457
2551
|
return new FFIConverter();
|
|
2458
2552
|
})();
|
|
2459
|
-
export var
|
|
2460
|
-
(function (
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
const FfiConverterTypeVerificationStatus = (() => {
|
|
2466
|
-
const ordinalConverter = FfiConverterInt32;
|
|
2467
|
-
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2468
|
-
read(from) {
|
|
2469
|
-
switch (ordinalConverter.read(from)) {
|
|
2470
|
-
case 1: return VerificationStatus.Satisfied;
|
|
2471
|
-
case 2: return VerificationStatus.Unsatisfied;
|
|
2472
|
-
case 3: return VerificationStatus.Unknown;
|
|
2473
|
-
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2474
|
-
}
|
|
2475
|
-
}
|
|
2476
|
-
write(value, into) {
|
|
2477
|
-
switch (value) {
|
|
2478
|
-
case VerificationStatus.Satisfied: return ordinalConverter.write(1, into);
|
|
2479
|
-
case VerificationStatus.Unsatisfied: return ordinalConverter.write(2, into);
|
|
2480
|
-
case VerificationStatus.Unknown: return ordinalConverter.write(3, into);
|
|
2481
|
-
}
|
|
2482
|
-
}
|
|
2483
|
-
allocationSize(value) {
|
|
2484
|
-
return ordinalConverter.allocationSize(0);
|
|
2485
|
-
}
|
|
2486
|
-
}
|
|
2487
|
-
return new FFIConverter();
|
|
2488
|
-
})();
|
|
2489
|
-
export var UnknownReason;
|
|
2490
|
-
(function (UnknownReason) {
|
|
2491
|
-
UnknownReason[UnknownReason["InvalidPredicate"] = 0] = "InvalidPredicate";
|
|
2492
|
-
UnknownReason[UnknownReason["UnsupportedPredicate"] = 1] = "UnsupportedPredicate";
|
|
2493
|
-
UnknownReason[UnknownReason["UntrustedSource"] = 2] = "UntrustedSource";
|
|
2494
|
-
UnknownReason[UnknownReason["MultiMatch"] = 3] = "MultiMatch";
|
|
2495
|
-
UnknownReason[UnknownReason["TargetMissing"] = 4] = "TargetMissing";
|
|
2496
|
-
UnknownReason[UnknownReason["ObservationUnavailable"] = 5] = "ObservationUnavailable";
|
|
2497
|
-
UnknownReason[UnknownReason["StabilityUnproven"] = 6] = "StabilityUnproven";
|
|
2498
|
-
})(UnknownReason || (UnknownReason = {}));
|
|
2499
|
-
const FfiConverterTypeUnknownReason = (() => {
|
|
2553
|
+
export var VisualRegionKind;
|
|
2554
|
+
(function (VisualRegionKind) {
|
|
2555
|
+
VisualRegionKind[VisualRegionKind["Text"] = 0] = "Text";
|
|
2556
|
+
VisualRegionKind[VisualRegionKind["Icon"] = 1] = "Icon";
|
|
2557
|
+
})(VisualRegionKind || (VisualRegionKind = {}));
|
|
2558
|
+
const FfiConverterTypeVisualRegionKind = (() => {
|
|
2500
2559
|
const ordinalConverter = FfiConverterInt32;
|
|
2501
2560
|
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2502
2561
|
read(from) {
|
|
2503
2562
|
switch (ordinalConverter.read(from)) {
|
|
2504
|
-
case 1: return
|
|
2505
|
-
case 2: return
|
|
2506
|
-
case 3: return UnknownReason.UntrustedSource;
|
|
2507
|
-
case 4: return UnknownReason.MultiMatch;
|
|
2508
|
-
case 5: return UnknownReason.TargetMissing;
|
|
2509
|
-
case 6: return UnknownReason.ObservationUnavailable;
|
|
2510
|
-
case 7: return UnknownReason.StabilityUnproven;
|
|
2563
|
+
case 1: return VisualRegionKind.Text;
|
|
2564
|
+
case 2: return VisualRegionKind.Icon;
|
|
2511
2565
|
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2512
2566
|
}
|
|
2513
2567
|
}
|
|
2514
2568
|
write(value, into) {
|
|
2515
2569
|
switch (value) {
|
|
2516
|
-
case
|
|
2517
|
-
case
|
|
2518
|
-
case UnknownReason.UntrustedSource: return ordinalConverter.write(3, into);
|
|
2519
|
-
case UnknownReason.MultiMatch: return ordinalConverter.write(4, into);
|
|
2520
|
-
case UnknownReason.TargetMissing: return ordinalConverter.write(5, into);
|
|
2521
|
-
case UnknownReason.ObservationUnavailable: return ordinalConverter.write(6, into);
|
|
2522
|
-
case UnknownReason.StabilityUnproven: return ordinalConverter.write(7, into);
|
|
2570
|
+
case VisualRegionKind.Text: return ordinalConverter.write(1, into);
|
|
2571
|
+
case VisualRegionKind.Icon: return ordinalConverter.write(2, into);
|
|
2523
2572
|
}
|
|
2524
2573
|
}
|
|
2525
2574
|
allocationSize(value) {
|
|
@@ -2529,9 +2578,9 @@ const FfiConverterTypeUnknownReason = (() => {
|
|
|
2529
2578
|
return new FFIConverter();
|
|
2530
2579
|
})();
|
|
2531
2580
|
/**
|
|
2532
|
-
* Generated factory for {@link
|
|
2581
|
+
* Generated factory for {@link ParseVisualRegionsOptions} record objects.
|
|
2533
2582
|
*/
|
|
2534
|
-
export const
|
|
2583
|
+
export const ParseVisualRegionsOptions = (() => {
|
|
2535
2584
|
const defaults = () => ({});
|
|
2536
2585
|
const create = (() => {
|
|
2537
2586
|
return uniffiCreateRecord(defaults);
|
|
@@ -2542,36 +2591,33 @@ export const PredicateOutcome = (() => {
|
|
|
2542
2591
|
defaults: () => Object.freeze(defaults()),
|
|
2543
2592
|
});
|
|
2544
2593
|
})();
|
|
2545
|
-
const
|
|
2594
|
+
const FfiConverterTypeParseVisualRegionsOptions = (() => {
|
|
2546
2595
|
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2547
2596
|
read(from) {
|
|
2548
2597
|
return {
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
observedJson: FfiConverterOptionalString.read(from)
|
|
2598
|
+
kinds: FfiConverterOptionalSequenceTypeVisualRegionKind.read(from),
|
|
2599
|
+
minConfidence: FfiConverterOptionalFloat64.read(from),
|
|
2600
|
+
maxRegions: FfiConverterOptionalUInt32.read(from)
|
|
2553
2601
|
};
|
|
2554
2602
|
}
|
|
2555
2603
|
write(value, into) {
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
FfiConverterOptionalString.write(value.observedJson, into);
|
|
2604
|
+
FfiConverterOptionalSequenceTypeVisualRegionKind.write(value.kinds, into);
|
|
2605
|
+
FfiConverterOptionalFloat64.write(value.minConfidence, into);
|
|
2606
|
+
FfiConverterOptionalUInt32.write(value.maxRegions, into);
|
|
2560
2607
|
}
|
|
2561
2608
|
allocationSize(value) {
|
|
2562
|
-
return
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
FfiConverterOptionalString.allocationSize(value.observedJson);
|
|
2609
|
+
return FfiConverterOptionalSequenceTypeVisualRegionKind.allocationSize(value.kinds) +
|
|
2610
|
+
FfiConverterOptionalFloat64.allocationSize(value.minConfidence) +
|
|
2611
|
+
FfiConverterOptionalUInt32.allocationSize(value.maxRegions);
|
|
2566
2612
|
}
|
|
2567
2613
|
}
|
|
2568
2614
|
;
|
|
2569
2615
|
return new FFIConverter();
|
|
2570
2616
|
})();
|
|
2571
2617
|
/**
|
|
2572
|
-
* Generated factory for {@link
|
|
2618
|
+
* Generated factory for {@link ParseVisualRegionsInput} record objects.
|
|
2573
2619
|
*/
|
|
2574
|
-
export const
|
|
2620
|
+
export const ParseVisualRegionsInput = (() => {
|
|
2575
2621
|
const defaults = () => ({});
|
|
2576
2622
|
const create = (() => {
|
|
2577
2623
|
return uniffiCreateRecord(defaults);
|
|
@@ -2582,96 +2628,843 @@ export const PressKeyInput = (() => {
|
|
|
2582
2628
|
defaults: () => Object.freeze(defaults()),
|
|
2583
2629
|
});
|
|
2584
2630
|
})();
|
|
2585
|
-
const
|
|
2631
|
+
const FfiConverterTypeParseVisualRegionsInput = (() => {
|
|
2586
2632
|
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2587
2633
|
read(from) {
|
|
2588
2634
|
return {
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
scope: FfiConverterOptionalTypeDesktopScope.read(from),
|
|
2592
|
-
session: FfiConverterOptionalString.read(from),
|
|
2593
|
-
modifiers: FfiConverterOptionalSequenceString.read(from)
|
|
2635
|
+
captureId: FfiConverterString.read(from),
|
|
2636
|
+
options: FfiConverterTypeParseVisualRegionsOptions.read(from)
|
|
2594
2637
|
};
|
|
2595
2638
|
}
|
|
2596
2639
|
write(value, into) {
|
|
2597
|
-
FfiConverterString.write(value.
|
|
2598
|
-
|
|
2599
|
-
FfiConverterOptionalTypeDesktopScope.write(value.scope, into);
|
|
2600
|
-
FfiConverterOptionalString.write(value.session, into);
|
|
2601
|
-
FfiConverterOptionalSequenceString.write(value.modifiers, into);
|
|
2640
|
+
FfiConverterString.write(value.captureId, into);
|
|
2641
|
+
FfiConverterTypeParseVisualRegionsOptions.write(value.options, into);
|
|
2602
2642
|
}
|
|
2603
2643
|
allocationSize(value) {
|
|
2604
|
-
return FfiConverterString.allocationSize(value.
|
|
2605
|
-
|
|
2606
|
-
FfiConverterOptionalTypeDesktopScope.allocationSize(value.scope) +
|
|
2607
|
-
FfiConverterOptionalString.allocationSize(value.session) +
|
|
2608
|
-
FfiConverterOptionalSequenceString.allocationSize(value.modifiers);
|
|
2644
|
+
return FfiConverterString.allocationSize(value.captureId) +
|
|
2645
|
+
FfiConverterTypeParseVisualRegionsOptions.allocationSize(value.options);
|
|
2609
2646
|
}
|
|
2610
2647
|
}
|
|
2611
2648
|
;
|
|
2612
2649
|
return new FFIConverter();
|
|
2613
2650
|
})();
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2651
|
+
// Enum: VisualCaptureSource
|
|
2652
|
+
export var VisualCaptureSource_Tags;
|
|
2653
|
+
(function (VisualCaptureSource_Tags) {
|
|
2654
|
+
VisualCaptureSource_Tags["Window"] = "Window";
|
|
2655
|
+
VisualCaptureSource_Tags["PrimaryDesktop"] = "PrimaryDesktop";
|
|
2656
|
+
})(VisualCaptureSource_Tags || (VisualCaptureSource_Tags = {}));
|
|
2657
|
+
/**
|
|
2658
|
+
* Exact screen content that produced the immutable capture.
|
|
2659
|
+
*/
|
|
2660
|
+
export const VisualCaptureSource = (() => {
|
|
2661
|
+
class Window_ extends UniffiEnum {
|
|
2662
|
+
/**
|
|
2663
|
+
* @private
|
|
2664
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2665
|
+
*/
|
|
2666
|
+
[uniffiTypeNameSymbol] = "VisualCaptureSource";
|
|
2667
|
+
tag = VisualCaptureSource_Tags.Window;
|
|
2668
|
+
inner;
|
|
2669
|
+
constructor(inner) {
|
|
2670
|
+
super("VisualCaptureSource", "Window");
|
|
2671
|
+
this.inner = Object.freeze(inner);
|
|
2632
2672
|
}
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
case ScrollDirection.Up: return ordinalConverter.write(1, into);
|
|
2636
|
-
case ScrollDirection.Down: return ordinalConverter.write(2, into);
|
|
2637
|
-
case ScrollDirection.Left: return ordinalConverter.write(3, into);
|
|
2638
|
-
case ScrollDirection.Right: return ordinalConverter.write(4, into);
|
|
2639
|
-
}
|
|
2673
|
+
static new(inner) {
|
|
2674
|
+
return new Window_(inner);
|
|
2640
2675
|
}
|
|
2641
|
-
|
|
2642
|
-
return
|
|
2676
|
+
static instanceOf(obj) {
|
|
2677
|
+
return obj.tag === VisualCaptureSource_Tags.Window;
|
|
2643
2678
|
}
|
|
2644
2679
|
}
|
|
2645
|
-
|
|
2680
|
+
class PrimaryDesktop_ extends UniffiEnum {
|
|
2681
|
+
/**
|
|
2682
|
+
* @private
|
|
2683
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2684
|
+
*/
|
|
2685
|
+
[uniffiTypeNameSymbol] = "VisualCaptureSource";
|
|
2686
|
+
tag = VisualCaptureSource_Tags.PrimaryDesktop;
|
|
2687
|
+
inner;
|
|
2688
|
+
constructor(inner) {
|
|
2689
|
+
super("VisualCaptureSource", "PrimaryDesktop");
|
|
2690
|
+
this.inner = Object.freeze(inner);
|
|
2691
|
+
}
|
|
2692
|
+
static new(inner) {
|
|
2693
|
+
return new PrimaryDesktop_(inner);
|
|
2694
|
+
}
|
|
2695
|
+
static instanceOf(obj) {
|
|
2696
|
+
return obj.tag === VisualCaptureSource_Tags.PrimaryDesktop;
|
|
2697
|
+
}
|
|
2698
|
+
}
|
|
2699
|
+
function instanceOf(obj) {
|
|
2700
|
+
return obj[uniffiTypeNameSymbol] === "VisualCaptureSource";
|
|
2701
|
+
}
|
|
2702
|
+
return Object.freeze({
|
|
2703
|
+
instanceOf,
|
|
2704
|
+
Window: Window_,
|
|
2705
|
+
PrimaryDesktop: PrimaryDesktop_
|
|
2706
|
+
});
|
|
2646
2707
|
})();
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
ScrollBy[ScrollBy["Line"] = 0] = "Line";
|
|
2650
|
-
ScrollBy[ScrollBy["Page"] = 1] = "Page";
|
|
2651
|
-
})(ScrollBy || (ScrollBy = {}));
|
|
2652
|
-
const FfiConverterTypeScrollBy = (() => {
|
|
2708
|
+
// FfiConverter for enum VisualCaptureSource
|
|
2709
|
+
const FfiConverterTypeVisualCaptureSource = (() => {
|
|
2653
2710
|
const ordinalConverter = FfiConverterInt32;
|
|
2654
2711
|
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2655
2712
|
read(from) {
|
|
2656
2713
|
switch (ordinalConverter.read(from)) {
|
|
2657
|
-
case 1: return
|
|
2658
|
-
case 2: return
|
|
2714
|
+
case 1: return new VisualCaptureSource.Window({ pid: FfiConverterUInt32.read(from), windowId: FfiConverterUInt64.read(from) });
|
|
2715
|
+
case 2: return new VisualCaptureSource.PrimaryDesktop({ displayId: FfiConverterString.read(from) });
|
|
2659
2716
|
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2660
2717
|
}
|
|
2661
2718
|
}
|
|
2662
2719
|
write(value, into) {
|
|
2663
|
-
switch (value) {
|
|
2664
|
-
case
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2720
|
+
switch (value.tag) {
|
|
2721
|
+
case VisualCaptureSource_Tags.Window: {
|
|
2722
|
+
ordinalConverter.write(1, into);
|
|
2723
|
+
const inner = value.inner;
|
|
2724
|
+
FfiConverterUInt32.write(inner.pid, into);
|
|
2725
|
+
FfiConverterUInt64.write(inner.windowId, into);
|
|
2726
|
+
return;
|
|
2727
|
+
}
|
|
2728
|
+
case VisualCaptureSource_Tags.PrimaryDesktop: {
|
|
2729
|
+
ordinalConverter.write(2, into);
|
|
2730
|
+
const inner = value.inner;
|
|
2731
|
+
FfiConverterString.write(inner.displayId, into);
|
|
2732
|
+
return;
|
|
2733
|
+
}
|
|
2734
|
+
default:
|
|
2735
|
+
// Throwing from here means that VisualCaptureSource_Tags hasn't matched an ordinal.
|
|
2736
|
+
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2737
|
+
}
|
|
2738
|
+
}
|
|
2739
|
+
allocationSize(value) {
|
|
2740
|
+
switch (value.tag) {
|
|
2741
|
+
case VisualCaptureSource_Tags.Window: {
|
|
2742
|
+
const inner = value.inner;
|
|
2743
|
+
let size = ordinalConverter.allocationSize(1);
|
|
2744
|
+
size += FfiConverterUInt32.allocationSize(inner.pid);
|
|
2745
|
+
size += FfiConverterUInt64.allocationSize(inner.windowId);
|
|
2746
|
+
return size;
|
|
2747
|
+
}
|
|
2748
|
+
case VisualCaptureSource_Tags.PrimaryDesktop: {
|
|
2749
|
+
const inner = value.inner;
|
|
2750
|
+
let size = ordinalConverter.allocationSize(2);
|
|
2751
|
+
size += FfiConverterString.allocationSize(inner.displayId);
|
|
2752
|
+
return size;
|
|
2753
|
+
}
|
|
2754
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2755
|
+
}
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
return new FFIConverter();
|
|
2759
|
+
})();
|
|
2760
|
+
/**
|
|
2761
|
+
* Generated factory for {@link VisualScreenshotReference} record objects.
|
|
2762
|
+
*/
|
|
2763
|
+
export const VisualScreenshotReference = (() => {
|
|
2764
|
+
const defaults = () => ({});
|
|
2765
|
+
const create = (() => {
|
|
2766
|
+
return uniffiCreateRecord(defaults);
|
|
2767
|
+
})();
|
|
2768
|
+
return Object.freeze({
|
|
2769
|
+
create,
|
|
2770
|
+
new: create,
|
|
2771
|
+
defaults: () => Object.freeze(defaults()),
|
|
2772
|
+
});
|
|
2773
|
+
})();
|
|
2774
|
+
const FfiConverterTypeVisualScreenshotReference = (() => {
|
|
2775
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2776
|
+
read(from) {
|
|
2777
|
+
return {
|
|
2778
|
+
reference: FfiConverterString.read(from),
|
|
2779
|
+
width: FfiConverterUInt32.read(from),
|
|
2780
|
+
height: FfiConverterUInt32.read(from),
|
|
2781
|
+
mimeType: FfiConverterString.read(from),
|
|
2782
|
+
sha256: FfiConverterOptionalString.read(from)
|
|
2783
|
+
};
|
|
2784
|
+
}
|
|
2785
|
+
write(value, into) {
|
|
2786
|
+
FfiConverterString.write(value.reference, into);
|
|
2787
|
+
FfiConverterUInt32.write(value.width, into);
|
|
2788
|
+
FfiConverterUInt32.write(value.height, into);
|
|
2789
|
+
FfiConverterString.write(value.mimeType, into);
|
|
2790
|
+
FfiConverterOptionalString.write(value.sha256, into);
|
|
2791
|
+
}
|
|
2792
|
+
allocationSize(value) {
|
|
2793
|
+
return FfiConverterString.allocationSize(value.reference) +
|
|
2794
|
+
FfiConverterUInt32.allocationSize(value.width) +
|
|
2795
|
+
FfiConverterUInt32.allocationSize(value.height) +
|
|
2796
|
+
FfiConverterString.allocationSize(value.mimeType) +
|
|
2797
|
+
FfiConverterOptionalString.allocationSize(value.sha256);
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
;
|
|
2801
|
+
return new FFIConverter();
|
|
2802
|
+
})();
|
|
2803
|
+
// Enum: VisualActionCoordinateSpace
|
|
2804
|
+
export var VisualActionCoordinateSpace_Tags;
|
|
2805
|
+
(function (VisualActionCoordinateSpace_Tags) {
|
|
2806
|
+
VisualActionCoordinateSpace_Tags["ScreenshotPixels"] = "ScreenshotPixels";
|
|
2807
|
+
VisualActionCoordinateSpace_Tags["Affine"] = "Affine";
|
|
2808
|
+
})(VisualActionCoordinateSpace_Tags || (VisualActionCoordinateSpace_Tags = {}));
|
|
2809
|
+
/**
|
|
2810
|
+
* Normative mapping from source screenshot pixels to Driver action coordinates.
|
|
2811
|
+
*
|
|
2812
|
+
* Screenshot coordinates always originate at the encoded PNG's top-left; X
|
|
2813
|
+
* increases right and Y increases down. The affine form maps a source point
|
|
2814
|
+
* `(px, py)` exactly as:
|
|
2815
|
+
*
|
|
2816
|
+
* `action_x = m11 * px + m12 * py + tx`
|
|
2817
|
+
*
|
|
2818
|
+
* `action_y = m21 * px + m22 * py + ty`
|
|
2819
|
+
*/
|
|
2820
|
+
export const VisualActionCoordinateSpace = (() => {
|
|
2821
|
+
/**
|
|
2822
|
+
* Action coordinates are the same physical pixel coordinates as the PNG.
|
|
2823
|
+
*/
|
|
2824
|
+
class ScreenshotPixels_ extends UniffiEnum {
|
|
2825
|
+
/**
|
|
2826
|
+
* @private
|
|
2827
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2828
|
+
*/
|
|
2829
|
+
[uniffiTypeNameSymbol] = "VisualActionCoordinateSpace";
|
|
2830
|
+
tag = VisualActionCoordinateSpace_Tags.ScreenshotPixels;
|
|
2831
|
+
constructor() {
|
|
2832
|
+
super("VisualActionCoordinateSpace", "ScreenshotPixels");
|
|
2833
|
+
}
|
|
2834
|
+
static new() {
|
|
2835
|
+
return new ScreenshotPixels_();
|
|
2836
|
+
}
|
|
2837
|
+
static instanceOf(obj) {
|
|
2838
|
+
return obj.tag === VisualActionCoordinateSpace_Tags.ScreenshotPixels;
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2841
|
+
/**
|
|
2842
|
+
* Lossless six-coefficient affine transform retained by the capture registry.
|
|
2843
|
+
*/
|
|
2844
|
+
class Affine_ extends UniffiEnum {
|
|
2845
|
+
/**
|
|
2846
|
+
* @private
|
|
2847
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2848
|
+
*/
|
|
2849
|
+
[uniffiTypeNameSymbol] = "VisualActionCoordinateSpace";
|
|
2850
|
+
tag = VisualActionCoordinateSpace_Tags.Affine;
|
|
2851
|
+
inner;
|
|
2852
|
+
constructor(inner) {
|
|
2853
|
+
super("VisualActionCoordinateSpace", "Affine");
|
|
2854
|
+
this.inner = Object.freeze(inner);
|
|
2855
|
+
}
|
|
2856
|
+
static new(inner) {
|
|
2857
|
+
return new Affine_(inner);
|
|
2858
|
+
}
|
|
2859
|
+
static instanceOf(obj) {
|
|
2860
|
+
return obj.tag === VisualActionCoordinateSpace_Tags.Affine;
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2863
|
+
function instanceOf(obj) {
|
|
2864
|
+
return obj[uniffiTypeNameSymbol] === "VisualActionCoordinateSpace";
|
|
2865
|
+
}
|
|
2866
|
+
return Object.freeze({
|
|
2867
|
+
instanceOf,
|
|
2868
|
+
ScreenshotPixels: ScreenshotPixels_,
|
|
2869
|
+
Affine: Affine_
|
|
2870
|
+
});
|
|
2871
|
+
})();
|
|
2872
|
+
// FfiConverter for enum VisualActionCoordinateSpace
|
|
2873
|
+
const FfiConverterTypeVisualActionCoordinateSpace = (() => {
|
|
2874
|
+
const ordinalConverter = FfiConverterInt32;
|
|
2875
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2876
|
+
read(from) {
|
|
2877
|
+
switch (ordinalConverter.read(from)) {
|
|
2878
|
+
case 1: return new VisualActionCoordinateSpace.ScreenshotPixels();
|
|
2879
|
+
case 2: return new VisualActionCoordinateSpace.Affine({ m11: FfiConverterFloat64.read(from), m12: FfiConverterFloat64.read(from), m21: FfiConverterFloat64.read(from), m22: FfiConverterFloat64.read(from), tx: FfiConverterFloat64.read(from), ty: FfiConverterFloat64.read(from) });
|
|
2880
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
write(value, into) {
|
|
2884
|
+
switch (value.tag) {
|
|
2885
|
+
case VisualActionCoordinateSpace_Tags.ScreenshotPixels: {
|
|
2886
|
+
ordinalConverter.write(1, into);
|
|
2887
|
+
return;
|
|
2888
|
+
}
|
|
2889
|
+
case VisualActionCoordinateSpace_Tags.Affine: {
|
|
2890
|
+
ordinalConverter.write(2, into);
|
|
2891
|
+
const inner = value.inner;
|
|
2892
|
+
FfiConverterFloat64.write(inner.m11, into);
|
|
2893
|
+
FfiConverterFloat64.write(inner.m12, into);
|
|
2894
|
+
FfiConverterFloat64.write(inner.m21, into);
|
|
2895
|
+
FfiConverterFloat64.write(inner.m22, into);
|
|
2896
|
+
FfiConverterFloat64.write(inner.tx, into);
|
|
2897
|
+
FfiConverterFloat64.write(inner.ty, into);
|
|
2898
|
+
return;
|
|
2899
|
+
}
|
|
2900
|
+
default:
|
|
2901
|
+
// Throwing from here means that VisualActionCoordinateSpace_Tags hasn't matched an ordinal.
|
|
2902
|
+
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2903
|
+
}
|
|
2904
|
+
}
|
|
2905
|
+
allocationSize(value) {
|
|
2906
|
+
switch (value.tag) {
|
|
2907
|
+
case VisualActionCoordinateSpace_Tags.ScreenshotPixels: {
|
|
2908
|
+
return ordinalConverter.allocationSize(1);
|
|
2909
|
+
}
|
|
2910
|
+
case VisualActionCoordinateSpace_Tags.Affine: {
|
|
2911
|
+
const inner = value.inner;
|
|
2912
|
+
let size = ordinalConverter.allocationSize(2);
|
|
2913
|
+
size += FfiConverterFloat64.allocationSize(inner.m11);
|
|
2914
|
+
size += FfiConverterFloat64.allocationSize(inner.m12);
|
|
2915
|
+
size += FfiConverterFloat64.allocationSize(inner.m21);
|
|
2916
|
+
size += FfiConverterFloat64.allocationSize(inner.m22);
|
|
2917
|
+
size += FfiConverterFloat64.allocationSize(inner.tx);
|
|
2918
|
+
size += FfiConverterFloat64.allocationSize(inner.ty);
|
|
2919
|
+
return size;
|
|
2920
|
+
}
|
|
2921
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2924
|
+
}
|
|
2925
|
+
return new FFIConverter();
|
|
2926
|
+
})();
|
|
2927
|
+
/**
|
|
2928
|
+
* Generated factory for {@link VisualCaptureProvenance} record objects.
|
|
2929
|
+
*/
|
|
2930
|
+
export const VisualCaptureProvenance = (() => {
|
|
2931
|
+
const defaults = () => ({});
|
|
2932
|
+
const create = (() => {
|
|
2933
|
+
return uniffiCreateRecord(defaults);
|
|
2934
|
+
})();
|
|
2935
|
+
return Object.freeze({
|
|
2936
|
+
create,
|
|
2937
|
+
new: create,
|
|
2938
|
+
defaults: () => Object.freeze(defaults()),
|
|
2939
|
+
});
|
|
2940
|
+
})();
|
|
2941
|
+
const FfiConverterTypeVisualCaptureProvenance = (() => {
|
|
2942
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2943
|
+
read(from) {
|
|
2944
|
+
return {
|
|
2945
|
+
captureId: FfiConverterString.read(from),
|
|
2946
|
+
source: FfiConverterTypeVisualCaptureSource.read(from),
|
|
2947
|
+
screenshot: FfiConverterTypeVisualScreenshotReference.read(from),
|
|
2948
|
+
actionCoordinateSpace: FfiConverterTypeVisualActionCoordinateSpace.read(from),
|
|
2949
|
+
capturedAt: FfiConverterOptionalString.read(from)
|
|
2950
|
+
};
|
|
2951
|
+
}
|
|
2952
|
+
write(value, into) {
|
|
2953
|
+
FfiConverterString.write(value.captureId, into);
|
|
2954
|
+
FfiConverterTypeVisualCaptureSource.write(value.source, into);
|
|
2955
|
+
FfiConverterTypeVisualScreenshotReference.write(value.screenshot, into);
|
|
2956
|
+
FfiConverterTypeVisualActionCoordinateSpace.write(value.actionCoordinateSpace, into);
|
|
2957
|
+
FfiConverterOptionalString.write(value.capturedAt, into);
|
|
2958
|
+
}
|
|
2959
|
+
allocationSize(value) {
|
|
2960
|
+
return FfiConverterString.allocationSize(value.captureId) +
|
|
2961
|
+
FfiConverterTypeVisualCaptureSource.allocationSize(value.source) +
|
|
2962
|
+
FfiConverterTypeVisualScreenshotReference.allocationSize(value.screenshot) +
|
|
2963
|
+
FfiConverterTypeVisualActionCoordinateSpace.allocationSize(value.actionCoordinateSpace) +
|
|
2964
|
+
FfiConverterOptionalString.allocationSize(value.capturedAt);
|
|
2965
|
+
}
|
|
2966
|
+
}
|
|
2967
|
+
;
|
|
2968
|
+
return new FFIConverter();
|
|
2969
|
+
})();
|
|
2970
|
+
/**
|
|
2971
|
+
* Generated factory for {@link VisualParserMetadata} record objects.
|
|
2972
|
+
*/
|
|
2973
|
+
export const VisualParserMetadata = (() => {
|
|
2974
|
+
const defaults = () => ({});
|
|
2975
|
+
const create = (() => {
|
|
2976
|
+
return uniffiCreateRecord(defaults);
|
|
2977
|
+
})();
|
|
2978
|
+
return Object.freeze({
|
|
2979
|
+
create,
|
|
2980
|
+
new: create,
|
|
2981
|
+
defaults: () => Object.freeze(defaults()),
|
|
2982
|
+
});
|
|
2983
|
+
})();
|
|
2984
|
+
const FfiConverterTypeVisualParserMetadata = (() => {
|
|
2985
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2986
|
+
read(from) {
|
|
2987
|
+
return {
|
|
2988
|
+
extensionId: FfiConverterString.read(from),
|
|
2989
|
+
extensionVersion: FfiConverterString.read(from),
|
|
2990
|
+
modelId: FfiConverterString.read(from),
|
|
2991
|
+
modelVersion: FfiConverterString.read(from),
|
|
2992
|
+
runtime: FfiConverterOptionalString.read(from),
|
|
2993
|
+
backend: FfiConverterOptionalString.read(from),
|
|
2994
|
+
modelSourceRevision: FfiConverterOptionalString.read(from),
|
|
2995
|
+
modelManifestSha256: FfiConverterOptionalString.read(from),
|
|
2996
|
+
onnxRuntimeVersion: FfiConverterOptionalString.read(from),
|
|
2997
|
+
onnxRuntimeLibrarySha256: FfiConverterOptionalString.read(from),
|
|
2998
|
+
fixtureSha256: FfiConverterOptionalString.read(from)
|
|
2999
|
+
};
|
|
3000
|
+
}
|
|
3001
|
+
write(value, into) {
|
|
3002
|
+
FfiConverterString.write(value.extensionId, into);
|
|
3003
|
+
FfiConverterString.write(value.extensionVersion, into);
|
|
3004
|
+
FfiConverterString.write(value.modelId, into);
|
|
3005
|
+
FfiConverterString.write(value.modelVersion, into);
|
|
3006
|
+
FfiConverterOptionalString.write(value.runtime, into);
|
|
3007
|
+
FfiConverterOptionalString.write(value.backend, into);
|
|
3008
|
+
FfiConverterOptionalString.write(value.modelSourceRevision, into);
|
|
3009
|
+
FfiConverterOptionalString.write(value.modelManifestSha256, into);
|
|
3010
|
+
FfiConverterOptionalString.write(value.onnxRuntimeVersion, into);
|
|
3011
|
+
FfiConverterOptionalString.write(value.onnxRuntimeLibrarySha256, into);
|
|
3012
|
+
FfiConverterOptionalString.write(value.fixtureSha256, into);
|
|
3013
|
+
}
|
|
3014
|
+
allocationSize(value) {
|
|
3015
|
+
return FfiConverterString.allocationSize(value.extensionId) +
|
|
3016
|
+
FfiConverterString.allocationSize(value.extensionVersion) +
|
|
3017
|
+
FfiConverterString.allocationSize(value.modelId) +
|
|
3018
|
+
FfiConverterString.allocationSize(value.modelVersion) +
|
|
3019
|
+
FfiConverterOptionalString.allocationSize(value.runtime) +
|
|
3020
|
+
FfiConverterOptionalString.allocationSize(value.backend) +
|
|
3021
|
+
FfiConverterOptionalString.allocationSize(value.modelSourceRevision) +
|
|
3022
|
+
FfiConverterOptionalString.allocationSize(value.modelManifestSha256) +
|
|
3023
|
+
FfiConverterOptionalString.allocationSize(value.onnxRuntimeVersion) +
|
|
3024
|
+
FfiConverterOptionalString.allocationSize(value.onnxRuntimeLibrarySha256) +
|
|
3025
|
+
FfiConverterOptionalString.allocationSize(value.fixtureSha256);
|
|
3026
|
+
}
|
|
3027
|
+
}
|
|
3028
|
+
;
|
|
3029
|
+
return new FFIConverter();
|
|
3030
|
+
})();
|
|
3031
|
+
/**
|
|
3032
|
+
* Generated factory for {@link VisualRegionBounds} record objects.
|
|
3033
|
+
*/
|
|
3034
|
+
export const VisualRegionBounds = (() => {
|
|
3035
|
+
const defaults = () => ({});
|
|
3036
|
+
const create = (() => {
|
|
3037
|
+
return uniffiCreateRecord(defaults);
|
|
3038
|
+
})();
|
|
3039
|
+
return Object.freeze({
|
|
3040
|
+
create,
|
|
3041
|
+
new: create,
|
|
3042
|
+
defaults: () => Object.freeze(defaults()),
|
|
3043
|
+
});
|
|
3044
|
+
})();
|
|
3045
|
+
const FfiConverterTypeVisualRegionBounds = (() => {
|
|
3046
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
3047
|
+
read(from) {
|
|
3048
|
+
return {
|
|
3049
|
+
x: FfiConverterUInt32.read(from),
|
|
3050
|
+
y: FfiConverterUInt32.read(from),
|
|
3051
|
+
width: FfiConverterUInt32.read(from),
|
|
3052
|
+
height: FfiConverterUInt32.read(from)
|
|
3053
|
+
};
|
|
3054
|
+
}
|
|
3055
|
+
write(value, into) {
|
|
3056
|
+
FfiConverterUInt32.write(value.x, into);
|
|
3057
|
+
FfiConverterUInt32.write(value.y, into);
|
|
3058
|
+
FfiConverterUInt32.write(value.width, into);
|
|
3059
|
+
FfiConverterUInt32.write(value.height, into);
|
|
3060
|
+
}
|
|
3061
|
+
allocationSize(value) {
|
|
3062
|
+
return FfiConverterUInt32.allocationSize(value.x) +
|
|
3063
|
+
FfiConverterUInt32.allocationSize(value.y) +
|
|
3064
|
+
FfiConverterUInt32.allocationSize(value.width) +
|
|
3065
|
+
FfiConverterUInt32.allocationSize(value.height);
|
|
3066
|
+
}
|
|
3067
|
+
}
|
|
3068
|
+
;
|
|
3069
|
+
return new FFIConverter();
|
|
3070
|
+
})();
|
|
3071
|
+
/**
|
|
3072
|
+
* Generated factory for {@link VisualRegion} record objects.
|
|
3073
|
+
*/
|
|
3074
|
+
export const VisualRegion = (() => {
|
|
3075
|
+
const defaults = () => ({});
|
|
3076
|
+
const create = (() => {
|
|
3077
|
+
return uniffiCreateRecord(defaults);
|
|
3078
|
+
})();
|
|
3079
|
+
return Object.freeze({
|
|
3080
|
+
create,
|
|
3081
|
+
new: create,
|
|
3082
|
+
defaults: () => Object.freeze(defaults()),
|
|
3083
|
+
});
|
|
3084
|
+
})();
|
|
3085
|
+
const FfiConverterTypeVisualRegion = (() => {
|
|
3086
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
3087
|
+
read(from) {
|
|
3088
|
+
return {
|
|
3089
|
+
id: FfiConverterString.read(from),
|
|
3090
|
+
kind: FfiConverterTypeVisualRegionKind.read(from),
|
|
3091
|
+
bounds: FfiConverterTypeVisualRegionBounds.read(from),
|
|
3092
|
+
text: FfiConverterOptionalString.read(from),
|
|
3093
|
+
label: FfiConverterOptionalString.read(from),
|
|
3094
|
+
confidence: FfiConverterFloat64.read(from),
|
|
3095
|
+
interactive: FfiConverterBool.read(from),
|
|
3096
|
+
parentId: FfiConverterOptionalString.read(from),
|
|
3097
|
+
groupId: FfiConverterOptionalString.read(from),
|
|
3098
|
+
readingOrder: FfiConverterOptionalUInt32.read(from)
|
|
3099
|
+
};
|
|
3100
|
+
}
|
|
3101
|
+
write(value, into) {
|
|
3102
|
+
FfiConverterString.write(value.id, into);
|
|
3103
|
+
FfiConverterTypeVisualRegionKind.write(value.kind, into);
|
|
3104
|
+
FfiConverterTypeVisualRegionBounds.write(value.bounds, into);
|
|
3105
|
+
FfiConverterOptionalString.write(value.text, into);
|
|
3106
|
+
FfiConverterOptionalString.write(value.label, into);
|
|
3107
|
+
FfiConverterFloat64.write(value.confidence, into);
|
|
3108
|
+
FfiConverterBool.write(value.interactive, into);
|
|
3109
|
+
FfiConverterOptionalString.write(value.parentId, into);
|
|
3110
|
+
FfiConverterOptionalString.write(value.groupId, into);
|
|
3111
|
+
FfiConverterOptionalUInt32.write(value.readingOrder, into);
|
|
3112
|
+
}
|
|
3113
|
+
allocationSize(value) {
|
|
3114
|
+
return FfiConverterString.allocationSize(value.id) +
|
|
3115
|
+
FfiConverterTypeVisualRegionKind.allocationSize(value.kind) +
|
|
3116
|
+
FfiConverterTypeVisualRegionBounds.allocationSize(value.bounds) +
|
|
3117
|
+
FfiConverterOptionalString.allocationSize(value.text) +
|
|
3118
|
+
FfiConverterOptionalString.allocationSize(value.label) +
|
|
3119
|
+
FfiConverterFloat64.allocationSize(value.confidence) +
|
|
3120
|
+
FfiConverterBool.allocationSize(value.interactive) +
|
|
3121
|
+
FfiConverterOptionalString.allocationSize(value.parentId) +
|
|
3122
|
+
FfiConverterOptionalString.allocationSize(value.groupId) +
|
|
3123
|
+
FfiConverterOptionalUInt32.allocationSize(value.readingOrder);
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
;
|
|
3127
|
+
return new FFIConverter();
|
|
3128
|
+
})();
|
|
3129
|
+
/**
|
|
3130
|
+
* Generated factory for {@link VisualParseWarning} record objects.
|
|
3131
|
+
*/
|
|
3132
|
+
export const VisualParseWarning = (() => {
|
|
3133
|
+
const defaults = () => ({});
|
|
3134
|
+
const create = (() => {
|
|
3135
|
+
return uniffiCreateRecord(defaults);
|
|
3136
|
+
})();
|
|
3137
|
+
return Object.freeze({
|
|
3138
|
+
create,
|
|
3139
|
+
new: create,
|
|
3140
|
+
defaults: () => Object.freeze(defaults()),
|
|
3141
|
+
});
|
|
3142
|
+
})();
|
|
3143
|
+
const FfiConverterTypeVisualParseWarning = (() => {
|
|
3144
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
3145
|
+
read(from) {
|
|
3146
|
+
return {
|
|
3147
|
+
code: FfiConverterString.read(from),
|
|
3148
|
+
message: FfiConverterString.read(from),
|
|
3149
|
+
detail: FfiConverterOptionalString.read(from)
|
|
3150
|
+
};
|
|
3151
|
+
}
|
|
3152
|
+
write(value, into) {
|
|
3153
|
+
FfiConverterString.write(value.code, into);
|
|
3154
|
+
FfiConverterString.write(value.message, into);
|
|
3155
|
+
FfiConverterOptionalString.write(value.detail, into);
|
|
3156
|
+
}
|
|
3157
|
+
allocationSize(value) {
|
|
3158
|
+
return FfiConverterString.allocationSize(value.code) +
|
|
3159
|
+
FfiConverterString.allocationSize(value.message) +
|
|
3160
|
+
FfiConverterOptionalString.allocationSize(value.detail);
|
|
3161
|
+
}
|
|
3162
|
+
}
|
|
3163
|
+
;
|
|
3164
|
+
return new FFIConverter();
|
|
3165
|
+
})();
|
|
3166
|
+
/**
|
|
3167
|
+
* Generated factory for {@link VisualParseTiming} record objects.
|
|
3168
|
+
*/
|
|
3169
|
+
export const VisualParseTiming = (() => {
|
|
3170
|
+
const defaults = () => ({});
|
|
3171
|
+
const create = (() => {
|
|
3172
|
+
return uniffiCreateRecord(defaults);
|
|
3173
|
+
})();
|
|
3174
|
+
return Object.freeze({
|
|
3175
|
+
create,
|
|
3176
|
+
new: create,
|
|
3177
|
+
defaults: () => Object.freeze(defaults()),
|
|
3178
|
+
});
|
|
3179
|
+
})();
|
|
3180
|
+
const FfiConverterTypeVisualParseTiming = (() => {
|
|
3181
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
3182
|
+
read(from) {
|
|
3183
|
+
return {
|
|
3184
|
+
durationMs: FfiConverterUInt64.read(from),
|
|
3185
|
+
preprocessMs: FfiConverterOptionalUInt64.read(from),
|
|
3186
|
+
inferenceMs: FfiConverterOptionalUInt64.read(from)
|
|
3187
|
+
};
|
|
3188
|
+
}
|
|
3189
|
+
write(value, into) {
|
|
3190
|
+
FfiConverterUInt64.write(value.durationMs, into);
|
|
3191
|
+
FfiConverterOptionalUInt64.write(value.preprocessMs, into);
|
|
3192
|
+
FfiConverterOptionalUInt64.write(value.inferenceMs, into);
|
|
3193
|
+
}
|
|
3194
|
+
allocationSize(value) {
|
|
3195
|
+
return FfiConverterUInt64.allocationSize(value.durationMs) +
|
|
3196
|
+
FfiConverterOptionalUInt64.allocationSize(value.preprocessMs) +
|
|
3197
|
+
FfiConverterOptionalUInt64.allocationSize(value.inferenceMs);
|
|
3198
|
+
}
|
|
3199
|
+
}
|
|
3200
|
+
;
|
|
3201
|
+
return new FFIConverter();
|
|
3202
|
+
})();
|
|
3203
|
+
/**
|
|
3204
|
+
* Generated factory for {@link ParseVisualRegionsOutput} record objects.
|
|
3205
|
+
*/
|
|
3206
|
+
export const ParseVisualRegionsOutput = (() => {
|
|
3207
|
+
const defaults = () => ({});
|
|
3208
|
+
const create = (() => {
|
|
3209
|
+
return uniffiCreateRecord(defaults);
|
|
3210
|
+
})();
|
|
3211
|
+
return Object.freeze({
|
|
3212
|
+
create,
|
|
3213
|
+
new: create,
|
|
3214
|
+
defaults: () => Object.freeze(defaults()),
|
|
3215
|
+
});
|
|
3216
|
+
})();
|
|
3217
|
+
const FfiConverterTypeParseVisualRegionsOutput = (() => {
|
|
3218
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
3219
|
+
read(from) {
|
|
3220
|
+
return {
|
|
3221
|
+
schema: FfiConverterString.read(from),
|
|
3222
|
+
capture: FfiConverterTypeVisualCaptureProvenance.read(from),
|
|
3223
|
+
parser: FfiConverterTypeVisualParserMetadata.read(from),
|
|
3224
|
+
regions: FfiConverterSequenceTypeVisualRegion.read(from),
|
|
3225
|
+
warnings: FfiConverterSequenceTypeVisualParseWarning.read(from),
|
|
3226
|
+
timing: FfiConverterTypeVisualParseTiming.read(from),
|
|
3227
|
+
requestId: FfiConverterOptionalString.read(from)
|
|
3228
|
+
};
|
|
3229
|
+
}
|
|
3230
|
+
write(value, into) {
|
|
3231
|
+
FfiConverterString.write(value.schema, into);
|
|
3232
|
+
FfiConverterTypeVisualCaptureProvenance.write(value.capture, into);
|
|
3233
|
+
FfiConverterTypeVisualParserMetadata.write(value.parser, into);
|
|
3234
|
+
FfiConverterSequenceTypeVisualRegion.write(value.regions, into);
|
|
3235
|
+
FfiConverterSequenceTypeVisualParseWarning.write(value.warnings, into);
|
|
3236
|
+
FfiConverterTypeVisualParseTiming.write(value.timing, into);
|
|
3237
|
+
FfiConverterOptionalString.write(value.requestId, into);
|
|
3238
|
+
}
|
|
3239
|
+
allocationSize(value) {
|
|
3240
|
+
return FfiConverterString.allocationSize(value.schema) +
|
|
3241
|
+
FfiConverterTypeVisualCaptureProvenance.allocationSize(value.capture) +
|
|
3242
|
+
FfiConverterTypeVisualParserMetadata.allocationSize(value.parser) +
|
|
3243
|
+
FfiConverterSequenceTypeVisualRegion.allocationSize(value.regions) +
|
|
3244
|
+
FfiConverterSequenceTypeVisualParseWarning.allocationSize(value.warnings) +
|
|
3245
|
+
FfiConverterTypeVisualParseTiming.allocationSize(value.timing) +
|
|
3246
|
+
FfiConverterOptionalString.allocationSize(value.requestId);
|
|
3247
|
+
}
|
|
3248
|
+
}
|
|
3249
|
+
;
|
|
3250
|
+
return new FFIConverter();
|
|
3251
|
+
})();
|
|
3252
|
+
export var VerificationStatus;
|
|
3253
|
+
(function (VerificationStatus) {
|
|
3254
|
+
VerificationStatus[VerificationStatus["Satisfied"] = 0] = "Satisfied";
|
|
3255
|
+
VerificationStatus[VerificationStatus["Unsatisfied"] = 1] = "Unsatisfied";
|
|
3256
|
+
VerificationStatus[VerificationStatus["Unknown"] = 2] = "Unknown";
|
|
3257
|
+
})(VerificationStatus || (VerificationStatus = {}));
|
|
3258
|
+
const FfiConverterTypeVerificationStatus = (() => {
|
|
3259
|
+
const ordinalConverter = FfiConverterInt32;
|
|
3260
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
3261
|
+
read(from) {
|
|
3262
|
+
switch (ordinalConverter.read(from)) {
|
|
3263
|
+
case 1: return VerificationStatus.Satisfied;
|
|
3264
|
+
case 2: return VerificationStatus.Unsatisfied;
|
|
3265
|
+
case 3: return VerificationStatus.Unknown;
|
|
3266
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
3267
|
+
}
|
|
3268
|
+
}
|
|
3269
|
+
write(value, into) {
|
|
3270
|
+
switch (value) {
|
|
3271
|
+
case VerificationStatus.Satisfied: return ordinalConverter.write(1, into);
|
|
3272
|
+
case VerificationStatus.Unsatisfied: return ordinalConverter.write(2, into);
|
|
3273
|
+
case VerificationStatus.Unknown: return ordinalConverter.write(3, into);
|
|
3274
|
+
}
|
|
3275
|
+
}
|
|
3276
|
+
allocationSize(value) {
|
|
3277
|
+
return ordinalConverter.allocationSize(0);
|
|
3278
|
+
}
|
|
3279
|
+
}
|
|
3280
|
+
return new FFIConverter();
|
|
3281
|
+
})();
|
|
3282
|
+
export var UnknownReason;
|
|
3283
|
+
(function (UnknownReason) {
|
|
3284
|
+
UnknownReason[UnknownReason["InvalidPredicate"] = 0] = "InvalidPredicate";
|
|
3285
|
+
UnknownReason[UnknownReason["UnsupportedPredicate"] = 1] = "UnsupportedPredicate";
|
|
3286
|
+
UnknownReason[UnknownReason["UntrustedSource"] = 2] = "UntrustedSource";
|
|
3287
|
+
UnknownReason[UnknownReason["MultiMatch"] = 3] = "MultiMatch";
|
|
3288
|
+
UnknownReason[UnknownReason["TargetMissing"] = 4] = "TargetMissing";
|
|
3289
|
+
UnknownReason[UnknownReason["ObservationUnavailable"] = 5] = "ObservationUnavailable";
|
|
3290
|
+
UnknownReason[UnknownReason["StabilityUnproven"] = 6] = "StabilityUnproven";
|
|
3291
|
+
})(UnknownReason || (UnknownReason = {}));
|
|
3292
|
+
const FfiConverterTypeUnknownReason = (() => {
|
|
3293
|
+
const ordinalConverter = FfiConverterInt32;
|
|
3294
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
3295
|
+
read(from) {
|
|
3296
|
+
switch (ordinalConverter.read(from)) {
|
|
3297
|
+
case 1: return UnknownReason.InvalidPredicate;
|
|
3298
|
+
case 2: return UnknownReason.UnsupportedPredicate;
|
|
3299
|
+
case 3: return UnknownReason.UntrustedSource;
|
|
3300
|
+
case 4: return UnknownReason.MultiMatch;
|
|
3301
|
+
case 5: return UnknownReason.TargetMissing;
|
|
3302
|
+
case 6: return UnknownReason.ObservationUnavailable;
|
|
3303
|
+
case 7: return UnknownReason.StabilityUnproven;
|
|
3304
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
3305
|
+
}
|
|
3306
|
+
}
|
|
3307
|
+
write(value, into) {
|
|
3308
|
+
switch (value) {
|
|
3309
|
+
case UnknownReason.InvalidPredicate: return ordinalConverter.write(1, into);
|
|
3310
|
+
case UnknownReason.UnsupportedPredicate: return ordinalConverter.write(2, into);
|
|
3311
|
+
case UnknownReason.UntrustedSource: return ordinalConverter.write(3, into);
|
|
3312
|
+
case UnknownReason.MultiMatch: return ordinalConverter.write(4, into);
|
|
3313
|
+
case UnknownReason.TargetMissing: return ordinalConverter.write(5, into);
|
|
3314
|
+
case UnknownReason.ObservationUnavailable: return ordinalConverter.write(6, into);
|
|
3315
|
+
case UnknownReason.StabilityUnproven: return ordinalConverter.write(7, into);
|
|
3316
|
+
}
|
|
3317
|
+
}
|
|
3318
|
+
allocationSize(value) {
|
|
3319
|
+
return ordinalConverter.allocationSize(0);
|
|
3320
|
+
}
|
|
3321
|
+
}
|
|
3322
|
+
return new FFIConverter();
|
|
3323
|
+
})();
|
|
3324
|
+
/**
|
|
3325
|
+
* Generated factory for {@link PredicateOutcome} record objects.
|
|
3326
|
+
*/
|
|
3327
|
+
export const PredicateOutcome = (() => {
|
|
3328
|
+
const defaults = () => ({});
|
|
3329
|
+
const create = (() => {
|
|
3330
|
+
return uniffiCreateRecord(defaults);
|
|
3331
|
+
})();
|
|
3332
|
+
return Object.freeze({
|
|
3333
|
+
create,
|
|
3334
|
+
new: create,
|
|
3335
|
+
defaults: () => Object.freeze(defaults()),
|
|
3336
|
+
});
|
|
3337
|
+
})();
|
|
3338
|
+
const FfiConverterTypePredicateOutcome = (() => {
|
|
3339
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
3340
|
+
read(from) {
|
|
3341
|
+
return {
|
|
3342
|
+
index: FfiConverterUInt64.read(from),
|
|
3343
|
+
status: FfiConverterTypeVerificationStatus.read(from),
|
|
3344
|
+
unknownReason: FfiConverterOptionalTypeUnknownReason.read(from),
|
|
3345
|
+
observedJson: FfiConverterOptionalString.read(from)
|
|
3346
|
+
};
|
|
3347
|
+
}
|
|
3348
|
+
write(value, into) {
|
|
3349
|
+
FfiConverterUInt64.write(value.index, into);
|
|
3350
|
+
FfiConverterTypeVerificationStatus.write(value.status, into);
|
|
3351
|
+
FfiConverterOptionalTypeUnknownReason.write(value.unknownReason, into);
|
|
3352
|
+
FfiConverterOptionalString.write(value.observedJson, into);
|
|
3353
|
+
}
|
|
3354
|
+
allocationSize(value) {
|
|
3355
|
+
return FfiConverterUInt64.allocationSize(value.index) +
|
|
3356
|
+
FfiConverterTypeVerificationStatus.allocationSize(value.status) +
|
|
3357
|
+
FfiConverterOptionalTypeUnknownReason.allocationSize(value.unknownReason) +
|
|
3358
|
+
FfiConverterOptionalString.allocationSize(value.observedJson);
|
|
3359
|
+
}
|
|
3360
|
+
}
|
|
3361
|
+
;
|
|
3362
|
+
return new FFIConverter();
|
|
3363
|
+
})();
|
|
3364
|
+
/**
|
|
3365
|
+
* Generated factory for {@link PressKeyInput} record objects.
|
|
3366
|
+
*/
|
|
3367
|
+
export const PressKeyInput = (() => {
|
|
3368
|
+
const defaults = () => ({});
|
|
3369
|
+
const create = (() => {
|
|
3370
|
+
return uniffiCreateRecord(defaults);
|
|
3371
|
+
})();
|
|
3372
|
+
return Object.freeze({
|
|
3373
|
+
create,
|
|
3374
|
+
new: create,
|
|
3375
|
+
defaults: () => Object.freeze(defaults()),
|
|
3376
|
+
});
|
|
3377
|
+
})();
|
|
3378
|
+
const FfiConverterTypePressKeyInput = (() => {
|
|
3379
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
3380
|
+
read(from) {
|
|
3381
|
+
return {
|
|
3382
|
+
key: FfiConverterString.read(from),
|
|
3383
|
+
target: FfiConverterOptionalTypeActionTarget.read(from),
|
|
3384
|
+
scope: FfiConverterOptionalTypeDesktopScope.read(from),
|
|
3385
|
+
session: FfiConverterOptionalString.read(from),
|
|
3386
|
+
modifiers: FfiConverterOptionalSequenceString.read(from)
|
|
3387
|
+
};
|
|
3388
|
+
}
|
|
3389
|
+
write(value, into) {
|
|
3390
|
+
FfiConverterString.write(value.key, into);
|
|
3391
|
+
FfiConverterOptionalTypeActionTarget.write(value.target, into);
|
|
3392
|
+
FfiConverterOptionalTypeDesktopScope.write(value.scope, into);
|
|
3393
|
+
FfiConverterOptionalString.write(value.session, into);
|
|
3394
|
+
FfiConverterOptionalSequenceString.write(value.modifiers, into);
|
|
3395
|
+
}
|
|
3396
|
+
allocationSize(value) {
|
|
3397
|
+
return FfiConverterString.allocationSize(value.key) +
|
|
3398
|
+
FfiConverterOptionalTypeActionTarget.allocationSize(value.target) +
|
|
3399
|
+
FfiConverterOptionalTypeDesktopScope.allocationSize(value.scope) +
|
|
3400
|
+
FfiConverterOptionalString.allocationSize(value.session) +
|
|
3401
|
+
FfiConverterOptionalSequenceString.allocationSize(value.modifiers);
|
|
3402
|
+
}
|
|
3403
|
+
}
|
|
3404
|
+
;
|
|
3405
|
+
return new FFIConverter();
|
|
3406
|
+
})();
|
|
3407
|
+
export var ScrollDirection;
|
|
3408
|
+
(function (ScrollDirection) {
|
|
3409
|
+
ScrollDirection[ScrollDirection["Up"] = 0] = "Up";
|
|
3410
|
+
ScrollDirection[ScrollDirection["Down"] = 1] = "Down";
|
|
3411
|
+
ScrollDirection[ScrollDirection["Left"] = 2] = "Left";
|
|
3412
|
+
ScrollDirection[ScrollDirection["Right"] = 3] = "Right";
|
|
3413
|
+
})(ScrollDirection || (ScrollDirection = {}));
|
|
3414
|
+
const FfiConverterTypeScrollDirection = (() => {
|
|
3415
|
+
const ordinalConverter = FfiConverterInt32;
|
|
3416
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
3417
|
+
read(from) {
|
|
3418
|
+
switch (ordinalConverter.read(from)) {
|
|
3419
|
+
case 1: return ScrollDirection.Up;
|
|
3420
|
+
case 2: return ScrollDirection.Down;
|
|
3421
|
+
case 3: return ScrollDirection.Left;
|
|
3422
|
+
case 4: return ScrollDirection.Right;
|
|
3423
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
write(value, into) {
|
|
3427
|
+
switch (value) {
|
|
3428
|
+
case ScrollDirection.Up: return ordinalConverter.write(1, into);
|
|
3429
|
+
case ScrollDirection.Down: return ordinalConverter.write(2, into);
|
|
3430
|
+
case ScrollDirection.Left: return ordinalConverter.write(3, into);
|
|
3431
|
+
case ScrollDirection.Right: return ordinalConverter.write(4, into);
|
|
3432
|
+
}
|
|
3433
|
+
}
|
|
3434
|
+
allocationSize(value) {
|
|
3435
|
+
return ordinalConverter.allocationSize(0);
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
return new FFIConverter();
|
|
3439
|
+
})();
|
|
3440
|
+
export var ScrollBy;
|
|
3441
|
+
(function (ScrollBy) {
|
|
3442
|
+
ScrollBy[ScrollBy["Line"] = 0] = "Line";
|
|
3443
|
+
ScrollBy[ScrollBy["Page"] = 1] = "Page";
|
|
3444
|
+
})(ScrollBy || (ScrollBy = {}));
|
|
3445
|
+
const FfiConverterTypeScrollBy = (() => {
|
|
3446
|
+
const ordinalConverter = FfiConverterInt32;
|
|
3447
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
3448
|
+
read(from) {
|
|
3449
|
+
switch (ordinalConverter.read(from)) {
|
|
3450
|
+
case 1: return ScrollBy.Line;
|
|
3451
|
+
case 2: return ScrollBy.Page;
|
|
3452
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
3453
|
+
}
|
|
3454
|
+
}
|
|
3455
|
+
write(value, into) {
|
|
3456
|
+
switch (value) {
|
|
3457
|
+
case ScrollBy.Line: return ordinalConverter.write(1, into);
|
|
3458
|
+
case ScrollBy.Page: return ordinalConverter.write(2, into);
|
|
3459
|
+
}
|
|
3460
|
+
}
|
|
3461
|
+
allocationSize(value) {
|
|
3462
|
+
return ordinalConverter.allocationSize(0);
|
|
3463
|
+
}
|
|
3464
|
+
}
|
|
3465
|
+
return new FFIConverter();
|
|
3466
|
+
})();
|
|
3467
|
+
/**
|
|
2675
3468
|
* Generated factory for {@link ScrollInput} record objects.
|
|
2676
3469
|
*/
|
|
2677
3470
|
export const ScrollInput = (() => {
|
|
@@ -3417,6 +4210,118 @@ const FfiConverterTypeVerifyStateOutput = (() => {
|
|
|
3417
4210
|
;
|
|
3418
4211
|
return new FFIConverter();
|
|
3419
4212
|
})();
|
|
4213
|
+
/**
|
|
4214
|
+
* Stable machine-readable failures for capture lookup and visual parsing.
|
|
4215
|
+
*/
|
|
4216
|
+
export var VisualParseErrorCode;
|
|
4217
|
+
(function (VisualParseErrorCode) {
|
|
4218
|
+
VisualParseErrorCode[VisualParseErrorCode["NotInstalled"] = 0] = "NotInstalled";
|
|
4219
|
+
VisualParseErrorCode[VisualParseErrorCode["CaptureNotFound"] = 1] = "CaptureNotFound";
|
|
4220
|
+
VisualParseErrorCode[VisualParseErrorCode["CaptureExpired"] = 2] = "CaptureExpired";
|
|
4221
|
+
VisualParseErrorCode[VisualParseErrorCode["CaptureStale"] = 3] = "CaptureStale";
|
|
4222
|
+
VisualParseErrorCode[VisualParseErrorCode["CaptureGenerationMismatch"] = 4] = "CaptureGenerationMismatch";
|
|
4223
|
+
VisualParseErrorCode[VisualParseErrorCode["UnsupportedTarget"] = 5] = "UnsupportedTarget";
|
|
4224
|
+
VisualParseErrorCode[VisualParseErrorCode["UnsupportedPlatform"] = 6] = "UnsupportedPlatform";
|
|
4225
|
+
VisualParseErrorCode[VisualParseErrorCode["IncompatibleProtocol"] = 7] = "IncompatibleProtocol";
|
|
4226
|
+
VisualParseErrorCode[VisualParseErrorCode["InvalidFrame"] = 8] = "InvalidFrame";
|
|
4227
|
+
VisualParseErrorCode[VisualParseErrorCode["WorkerLaunchFailed"] = 9] = "WorkerLaunchFailed";
|
|
4228
|
+
VisualParseErrorCode[VisualParseErrorCode["WorkerCrashed"] = 10] = "WorkerCrashed";
|
|
4229
|
+
VisualParseErrorCode[VisualParseErrorCode["WorkerCancelled"] = 11] = "WorkerCancelled";
|
|
4230
|
+
VisualParseErrorCode[VisualParseErrorCode["Timeout"] = 12] = "Timeout";
|
|
4231
|
+
VisualParseErrorCode[VisualParseErrorCode["ResourceLimitExceeded"] = 13] = "ResourceLimitExceeded";
|
|
4232
|
+
VisualParseErrorCode[VisualParseErrorCode["ArtifactInvalid"] = 14] = "ArtifactInvalid";
|
|
4233
|
+
VisualParseErrorCode[VisualParseErrorCode["InferenceFailed"] = 15] = "InferenceFailed";
|
|
4234
|
+
})(VisualParseErrorCode || (VisualParseErrorCode = {}));
|
|
4235
|
+
const FfiConverterTypeVisualParseErrorCode = (() => {
|
|
4236
|
+
const ordinalConverter = FfiConverterInt32;
|
|
4237
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
4238
|
+
read(from) {
|
|
4239
|
+
switch (ordinalConverter.read(from)) {
|
|
4240
|
+
case 1: return VisualParseErrorCode.NotInstalled;
|
|
4241
|
+
case 2: return VisualParseErrorCode.CaptureNotFound;
|
|
4242
|
+
case 3: return VisualParseErrorCode.CaptureExpired;
|
|
4243
|
+
case 4: return VisualParseErrorCode.CaptureStale;
|
|
4244
|
+
case 5: return VisualParseErrorCode.CaptureGenerationMismatch;
|
|
4245
|
+
case 6: return VisualParseErrorCode.UnsupportedTarget;
|
|
4246
|
+
case 7: return VisualParseErrorCode.UnsupportedPlatform;
|
|
4247
|
+
case 8: return VisualParseErrorCode.IncompatibleProtocol;
|
|
4248
|
+
case 9: return VisualParseErrorCode.InvalidFrame;
|
|
4249
|
+
case 10: return VisualParseErrorCode.WorkerLaunchFailed;
|
|
4250
|
+
case 11: return VisualParseErrorCode.WorkerCrashed;
|
|
4251
|
+
case 12: return VisualParseErrorCode.WorkerCancelled;
|
|
4252
|
+
case 13: return VisualParseErrorCode.Timeout;
|
|
4253
|
+
case 14: return VisualParseErrorCode.ResourceLimitExceeded;
|
|
4254
|
+
case 15: return VisualParseErrorCode.ArtifactInvalid;
|
|
4255
|
+
case 16: return VisualParseErrorCode.InferenceFailed;
|
|
4256
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
4257
|
+
}
|
|
4258
|
+
}
|
|
4259
|
+
write(value, into) {
|
|
4260
|
+
switch (value) {
|
|
4261
|
+
case VisualParseErrorCode.NotInstalled: return ordinalConverter.write(1, into);
|
|
4262
|
+
case VisualParseErrorCode.CaptureNotFound: return ordinalConverter.write(2, into);
|
|
4263
|
+
case VisualParseErrorCode.CaptureExpired: return ordinalConverter.write(3, into);
|
|
4264
|
+
case VisualParseErrorCode.CaptureStale: return ordinalConverter.write(4, into);
|
|
4265
|
+
case VisualParseErrorCode.CaptureGenerationMismatch: return ordinalConverter.write(5, into);
|
|
4266
|
+
case VisualParseErrorCode.UnsupportedTarget: return ordinalConverter.write(6, into);
|
|
4267
|
+
case VisualParseErrorCode.UnsupportedPlatform: return ordinalConverter.write(7, into);
|
|
4268
|
+
case VisualParseErrorCode.IncompatibleProtocol: return ordinalConverter.write(8, into);
|
|
4269
|
+
case VisualParseErrorCode.InvalidFrame: return ordinalConverter.write(9, into);
|
|
4270
|
+
case VisualParseErrorCode.WorkerLaunchFailed: return ordinalConverter.write(10, into);
|
|
4271
|
+
case VisualParseErrorCode.WorkerCrashed: return ordinalConverter.write(11, into);
|
|
4272
|
+
case VisualParseErrorCode.WorkerCancelled: return ordinalConverter.write(12, into);
|
|
4273
|
+
case VisualParseErrorCode.Timeout: return ordinalConverter.write(13, into);
|
|
4274
|
+
case VisualParseErrorCode.ResourceLimitExceeded: return ordinalConverter.write(14, into);
|
|
4275
|
+
case VisualParseErrorCode.ArtifactInvalid: return ordinalConverter.write(15, into);
|
|
4276
|
+
case VisualParseErrorCode.InferenceFailed: return ordinalConverter.write(16, into);
|
|
4277
|
+
}
|
|
4278
|
+
}
|
|
4279
|
+
allocationSize(value) {
|
|
4280
|
+
return ordinalConverter.allocationSize(0);
|
|
4281
|
+
}
|
|
4282
|
+
}
|
|
4283
|
+
return new FFIConverter();
|
|
4284
|
+
})();
|
|
4285
|
+
/**
|
|
4286
|
+
* Generated factory for {@link VisualParseError} record objects.
|
|
4287
|
+
*/
|
|
4288
|
+
export const VisualParseError = (() => {
|
|
4289
|
+
const defaults = () => ({});
|
|
4290
|
+
const create = (() => {
|
|
4291
|
+
return uniffiCreateRecord(defaults);
|
|
4292
|
+
})();
|
|
4293
|
+
return Object.freeze({
|
|
4294
|
+
create,
|
|
4295
|
+
new: create,
|
|
4296
|
+
defaults: () => Object.freeze(defaults()),
|
|
4297
|
+
});
|
|
4298
|
+
})();
|
|
4299
|
+
const FfiConverterTypeVisualParseError = (() => {
|
|
4300
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
4301
|
+
read(from) {
|
|
4302
|
+
return {
|
|
4303
|
+
code: FfiConverterTypeVisualParseErrorCode.read(from),
|
|
4304
|
+
message: FfiConverterString.read(from),
|
|
4305
|
+
retryable: FfiConverterBool.read(from),
|
|
4306
|
+
detail: FfiConverterOptionalString.read(from)
|
|
4307
|
+
};
|
|
4308
|
+
}
|
|
4309
|
+
write(value, into) {
|
|
4310
|
+
FfiConverterTypeVisualParseErrorCode.write(value.code, into);
|
|
4311
|
+
FfiConverterString.write(value.message, into);
|
|
4312
|
+
FfiConverterBool.write(value.retryable, into);
|
|
4313
|
+
FfiConverterOptionalString.write(value.detail, into);
|
|
4314
|
+
}
|
|
4315
|
+
allocationSize(value) {
|
|
4316
|
+
return FfiConverterTypeVisualParseErrorCode.allocationSize(value.code) +
|
|
4317
|
+
FfiConverterString.allocationSize(value.message) +
|
|
4318
|
+
FfiConverterBool.allocationSize(value.retryable) +
|
|
4319
|
+
FfiConverterOptionalString.allocationSize(value.detail);
|
|
4320
|
+
}
|
|
4321
|
+
}
|
|
4322
|
+
;
|
|
4323
|
+
return new FFIConverter();
|
|
4324
|
+
})();
|
|
3420
4325
|
/**
|
|
3421
4326
|
* Generated factory for {@link WindowElement} record objects.
|
|
3422
4327
|
*/
|
|
@@ -3622,6 +4527,8 @@ const FfiConverterTypePlatform = (() => {
|
|
|
3622
4527
|
})();
|
|
3623
4528
|
// FfiConverter for number | undefined
|
|
3624
4529
|
const FfiConverterOptionalUInt32 = new FfiConverterOptional(FfiConverterUInt32);
|
|
4530
|
+
// FfiConverter for string | undefined
|
|
4531
|
+
const FfiConverterOptionalString = new FfiConverterOptional(FfiConverterString);
|
|
3625
4532
|
// FfiConverter for ActionDelivery | undefined
|
|
3626
4533
|
const FfiConverterOptionalTypeActionDelivery = new FfiConverterOptional(FfiConverterTypeActionDelivery);
|
|
3627
4534
|
// FfiConverter for Array<ActionEvidence>
|
|
@@ -3630,8 +4537,8 @@ const FfiConverterSequenceTypeActionEvidence = new FfiConverterArray(FfiConverte
|
|
|
3630
4537
|
const FfiConverterOptionalSequenceTypeActionEvidence = new FfiConverterOptional(FfiConverterSequenceTypeActionEvidence);
|
|
3631
4538
|
// FfiConverter for ActionEscalation | undefined
|
|
3632
4539
|
const FfiConverterOptionalTypeActionEscalation = new FfiConverterOptional(FfiConverterTypeActionEscalation);
|
|
3633
|
-
// FfiConverter for
|
|
3634
|
-
const
|
|
4540
|
+
// FfiConverter for ActionError | undefined
|
|
4541
|
+
const FfiConverterOptionalTypeActionError = new FfiConverterOptional(FfiConverterTypeActionError);
|
|
3635
4542
|
// FfiConverter for number | undefined
|
|
3636
4543
|
const FfiConverterOptionalFloat64 = new FfiConverterOptional(FfiConverterFloat64);
|
|
3637
4544
|
// FfiConverter for ClickButton | undefined
|
|
@@ -3664,6 +4571,14 @@ const FfiConverterSequenceUInt64 = new FfiConverterArray(FfiConverterUInt64);
|
|
|
3664
4571
|
const FfiConverterOptionalSequenceUInt64 = new FfiConverterOptional(FfiConverterSequenceUInt64);
|
|
3665
4572
|
// FfiConverter for Array<WindowInfo>
|
|
3666
4573
|
const FfiConverterSequenceTypeWindowInfo = new FfiConverterArray(FfiConverterTypeWindowInfo);
|
|
4574
|
+
// FfiConverter for Array<VisualRegionKind>
|
|
4575
|
+
const FfiConverterSequenceTypeVisualRegionKind = new FfiConverterArray(FfiConverterTypeVisualRegionKind);
|
|
4576
|
+
// FfiConverter for Array<VisualRegionKind> | undefined
|
|
4577
|
+
const FfiConverterOptionalSequenceTypeVisualRegionKind = new FfiConverterOptional(FfiConverterSequenceTypeVisualRegionKind);
|
|
4578
|
+
// FfiConverter for Array<VisualRegion>
|
|
4579
|
+
const FfiConverterSequenceTypeVisualRegion = new FfiConverterArray(FfiConverterTypeVisualRegion);
|
|
4580
|
+
// FfiConverter for Array<VisualParseWarning>
|
|
4581
|
+
const FfiConverterSequenceTypeVisualParseWarning = new FfiConverterArray(FfiConverterTypeVisualParseWarning);
|
|
3667
4582
|
// FfiConverter for UnknownReason | undefined
|
|
3668
4583
|
const FfiConverterOptionalTypeUnknownReason = new FfiConverterOptional(FfiConverterTypeUnknownReason);
|
|
3669
4584
|
// FfiConverter for ScrollBy | undefined
|
|
@@ -3719,6 +4634,7 @@ export default Object.freeze({
|
|
|
3719
4634
|
FfiConverterTypeActionDelivery,
|
|
3720
4635
|
FfiConverterTypeActionDeliveryMode,
|
|
3721
4636
|
FfiConverterTypeActionEffect,
|
|
4637
|
+
FfiConverterTypeActionError,
|
|
3722
4638
|
FfiConverterTypeActionEscalation,
|
|
3723
4639
|
FfiConverterTypeActionEscalationReason,
|
|
3724
4640
|
FfiConverterTypeActionEscalationTarget,
|
|
@@ -3772,6 +4688,9 @@ export default Object.freeze({
|
|
|
3772
4688
|
FfiConverterTypeListWindowsInput,
|
|
3773
4689
|
FfiConverterTypeListWindowsOutput,
|
|
3774
4690
|
FfiConverterTypeMoveCursorInput,
|
|
4691
|
+
FfiConverterTypeParseVisualRegionsInput,
|
|
4692
|
+
FfiConverterTypeParseVisualRegionsOptions,
|
|
4693
|
+
FfiConverterTypeParseVisualRegionsOutput,
|
|
3775
4694
|
FfiConverterTypePlatform,
|
|
3776
4695
|
FfiConverterTypePredicateOutcome,
|
|
3777
4696
|
FfiConverterTypePressKeyInput,
|
|
@@ -3799,6 +4718,18 @@ export default Object.freeze({
|
|
|
3799
4718
|
FfiConverterTypeVerificationStatus,
|
|
3800
4719
|
FfiConverterTypeVerifyStateInput,
|
|
3801
4720
|
FfiConverterTypeVerifyStateOutput,
|
|
4721
|
+
FfiConverterTypeVisualActionCoordinateSpace,
|
|
4722
|
+
FfiConverterTypeVisualCaptureProvenance,
|
|
4723
|
+
FfiConverterTypeVisualCaptureSource,
|
|
4724
|
+
FfiConverterTypeVisualParseError,
|
|
4725
|
+
FfiConverterTypeVisualParseErrorCode,
|
|
4726
|
+
FfiConverterTypeVisualParseTiming,
|
|
4727
|
+
FfiConverterTypeVisualParseWarning,
|
|
4728
|
+
FfiConverterTypeVisualParserMetadata,
|
|
4729
|
+
FfiConverterTypeVisualRegion,
|
|
4730
|
+
FfiConverterTypeVisualRegionBounds,
|
|
4731
|
+
FfiConverterTypeVisualRegionKind,
|
|
4732
|
+
FfiConverterTypeVisualScreenshotReference,
|
|
3802
4733
|
FfiConverterTypeWindowBounds,
|
|
3803
4734
|
FfiConverterTypeWindowElement,
|
|
3804
4735
|
FfiConverterTypeWindowInfo,
|