luigi12345 commited on
Commit
d847fd8
1 Parent(s): 7b0ed66

89490cd097b9c7e7c95975d2951e30e8e49d55a4968d5066d214be124ccde46d

Browse files
Files changed (50) hide show
  1. workers1/auto3d/node_modules/capnp-ts/src/std/rpc-twoparty.capnp.d.ts +78 -0
  2. workers1/auto3d/node_modules/capnp-ts/src/std/rpc-twoparty.capnp.js +64 -0
  3. workers1/auto3d/node_modules/capnp-ts/src/std/rpc-twoparty.capnp.js.map +1 -0
  4. workers1/auto3d/node_modules/capnp-ts/src/std/rpc-twoparty.capnp.ts +55 -0
  5. workers1/auto3d/node_modules/capnp-ts/src/std/rpc.capnp.d.ts +600 -0
  6. workers1/auto3d/node_modules/capnp-ts/src/std/rpc.capnp.js +869 -0
  7. workers1/auto3d/node_modules/capnp-ts/src/std/rpc.capnp.js.map +1 -0
  8. workers1/auto3d/node_modules/capnp-ts/src/std/rpc.capnp.ts +838 -0
  9. workers1/auto3d/node_modules/capnp-ts/src/std/schema.capnp.d.ts +929 -0
  10. workers1/auto3d/node_modules/capnp-ts/src/std/schema.capnp.js +1081 -0
  11. workers1/auto3d/node_modules/capnp-ts/src/std/schema.capnp.js.map +1 -0
  12. workers1/auto3d/node_modules/capnp-ts/src/std/schema.capnp.ts +1050 -0
  13. workers1/auto3d/node_modules/capnp-ts/src/std/ts.capnp.d.ts +5 -0
  14. workers1/auto3d/node_modules/capnp-ts/src/std/ts.capnp.js +9 -0
  15. workers1/auto3d/node_modules/capnp-ts/src/std/ts.capnp.js.map +1 -0
  16. workers1/auto3d/node_modules/capnp-ts/src/std/ts.capnp.ts +8 -0
  17. workers1/auto3d/node_modules/capnp-ts/src/types/index.d.ts +5 -0
  18. workers1/auto3d/node_modules/capnp-ts/src/types/index.js +11 -0
  19. workers1/auto3d/node_modules/capnp-ts/src/types/index.js.map +1 -0
  20. workers1/auto3d/node_modules/capnp-ts/src/types/index.ts +6 -0
  21. workers1/auto3d/node_modules/capnp-ts/src/types/int64.d.ts +43 -0
  22. workers1/auto3d/node_modules/capnp-ts/src/types/int64.js +162 -0
  23. workers1/auto3d/node_modules/capnp-ts/src/types/int64.js.map +1 -0
  24. workers1/auto3d/node_modules/capnp-ts/src/types/int64.ts +200 -0
  25. workers1/auto3d/node_modules/capnp-ts/src/types/uint64.d.ts +64 -0
  26. workers1/auto3d/node_modules/capnp-ts/src/types/uint64.js +178 -0
  27. workers1/auto3d/node_modules/capnp-ts/src/types/uint64.js.map +1 -0
  28. workers1/auto3d/node_modules/capnp-ts/src/types/uint64.ts +217 -0
  29. workers1/auto3d/node_modules/capnp-ts/src/util.d.ts +75 -0
  30. workers1/auto3d/node_modules/capnp-ts/src/util.js +349 -0
  31. workers1/auto3d/node_modules/capnp-ts/src/util.js.map +1 -0
  32. workers1/auto3d/node_modules/capnp-ts/src/util.ts +413 -0
  33. workers1/auto3d/node_modules/capnp-ts/tsconfig.json +7 -0
  34. workers1/auto3d/node_modules/chokidar/LICENSE +21 -0
  35. workers1/auto3d/node_modules/chokidar/README.md +308 -0
  36. workers1/auto3d/node_modules/chokidar/index.js +973 -0
  37. workers1/auto3d/node_modules/chokidar/lib/constants.js +66 -0
  38. workers1/auto3d/node_modules/chokidar/lib/fsevents-handler.js +526 -0
  39. workers1/auto3d/node_modules/chokidar/lib/nodefs-handler.js +654 -0
  40. workers1/auto3d/node_modules/chokidar/package.json +70 -0
  41. workers1/auto3d/node_modules/chokidar/types/index.d.ts +192 -0
  42. workers1/auto3d/node_modules/cookie/HISTORY.md +142 -0
  43. workers1/auto3d/node_modules/cookie/LICENSE +24 -0
  44. workers1/auto3d/node_modules/cookie/README.md +302 -0
  45. workers1/auto3d/node_modules/cookie/SECURITY.md +25 -0
  46. workers1/auto3d/node_modules/cookie/index.js +270 -0
  47. workers1/auto3d/node_modules/cookie/package.json +44 -0
  48. workers1/auto3d/node_modules/data-uri-to-buffer/.travis.yml +25 -0
  49. workers1/auto3d/node_modules/data-uri-to-buffer/History.md +55 -0
  50. workers1/auto3d/node_modules/data-uri-to-buffer/README.md +88 -0
workers1/auto3d/node_modules/capnp-ts/src/std/rpc-twoparty.capnp.d.ts ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
3
+ * compiled output.
4
+ */
5
+ import * as capnp from "../index";
6
+ import { Struct as __S } from "../index";
7
+ export declare const _capnpFileId = "a184c7885cdaf2a1";
8
+ export declare enum Side {
9
+ SERVER = 0,
10
+ CLIENT = 1
11
+ }
12
+ export declare class VatId extends __S {
13
+ static readonly _capnp: {
14
+ displayName: string;
15
+ id: string;
16
+ size: capnp.ObjectSize;
17
+ };
18
+ getSide(): Side;
19
+ setSide(value: Side): void;
20
+ toString(): string;
21
+ }
22
+ export declare class ProvisionId extends __S {
23
+ static readonly _capnp: {
24
+ displayName: string;
25
+ id: string;
26
+ size: capnp.ObjectSize;
27
+ };
28
+ getJoinId(): number;
29
+ setJoinId(value: number): void;
30
+ toString(): string;
31
+ }
32
+ export declare class RecipientId extends __S {
33
+ static readonly _capnp: {
34
+ displayName: string;
35
+ id: string;
36
+ size: capnp.ObjectSize;
37
+ };
38
+ toString(): string;
39
+ }
40
+ export declare class ThirdPartyCapId extends __S {
41
+ static readonly _capnp: {
42
+ displayName: string;
43
+ id: string;
44
+ size: capnp.ObjectSize;
45
+ };
46
+ toString(): string;
47
+ }
48
+ export declare class JoinKeyPart extends __S {
49
+ static readonly _capnp: {
50
+ displayName: string;
51
+ id: string;
52
+ size: capnp.ObjectSize;
53
+ };
54
+ getJoinId(): number;
55
+ setJoinId(value: number): void;
56
+ getPartCount(): number;
57
+ setPartCount(value: number): void;
58
+ getPartNum(): number;
59
+ setPartNum(value: number): void;
60
+ toString(): string;
61
+ }
62
+ export declare class JoinResult extends __S {
63
+ static readonly _capnp: {
64
+ displayName: string;
65
+ id: string;
66
+ size: capnp.ObjectSize;
67
+ };
68
+ getJoinId(): number;
69
+ setJoinId(value: number): void;
70
+ getSucceeded(): boolean;
71
+ setSucceeded(value: boolean): void;
72
+ adoptCap(value: capnp.Orphan<capnp.Pointer>): void;
73
+ disownCap(): capnp.Orphan<capnp.Pointer>;
74
+ getCap(): capnp.Pointer;
75
+ hasCap(): boolean;
76
+ setCap(value: capnp.Pointer): void;
77
+ toString(): string;
78
+ }
workers1/auto3d/node_modules/capnp-ts/src/std/rpc-twoparty.capnp.js ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ /**
3
+ * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
4
+ * compiled output.
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.JoinResult = exports.JoinKeyPart = exports.ThirdPartyCapId = exports.RecipientId = exports.ProvisionId = exports.VatId = exports.Side = exports._capnpFileId = void 0;
8
+ const index_1 = require("../index");
9
+ exports._capnpFileId = "a184c7885cdaf2a1";
10
+ var Side;
11
+ (function (Side) {
12
+ Side[Side["SERVER"] = 0] = "SERVER";
13
+ Side[Side["CLIENT"] = 1] = "CLIENT";
14
+ })(Side = exports.Side || (exports.Side = {}));
15
+ class VatId extends index_1.Struct {
16
+ getSide() { return index_1.Struct.getUint16(0, this); }
17
+ setSide(value) { index_1.Struct.setUint16(0, value, this); }
18
+ toString() { return "VatId_" + super.toString(); }
19
+ }
20
+ exports.VatId = VatId;
21
+ VatId._capnp = { displayName: "VatId", id: "d20b909fee733a8e", size: new index_1.ObjectSize(8, 0) };
22
+ class ProvisionId extends index_1.Struct {
23
+ getJoinId() { return index_1.Struct.getUint32(0, this); }
24
+ setJoinId(value) { index_1.Struct.setUint32(0, value, this); }
25
+ toString() { return "ProvisionId_" + super.toString(); }
26
+ }
27
+ exports.ProvisionId = ProvisionId;
28
+ ProvisionId._capnp = { displayName: "ProvisionId", id: "b88d09a9c5f39817", size: new index_1.ObjectSize(8, 0) };
29
+ class RecipientId extends index_1.Struct {
30
+ toString() { return "RecipientId_" + super.toString(); }
31
+ }
32
+ exports.RecipientId = RecipientId;
33
+ RecipientId._capnp = { displayName: "RecipientId", id: "89f389b6fd4082c1", size: new index_1.ObjectSize(0, 0) };
34
+ class ThirdPartyCapId extends index_1.Struct {
35
+ toString() { return "ThirdPartyCapId_" + super.toString(); }
36
+ }
37
+ exports.ThirdPartyCapId = ThirdPartyCapId;
38
+ ThirdPartyCapId._capnp = { displayName: "ThirdPartyCapId", id: "b47f4979672cb59d", size: new index_1.ObjectSize(0, 0) };
39
+ class JoinKeyPart extends index_1.Struct {
40
+ getJoinId() { return index_1.Struct.getUint32(0, this); }
41
+ setJoinId(value) { index_1.Struct.setUint32(0, value, this); }
42
+ getPartCount() { return index_1.Struct.getUint16(4, this); }
43
+ setPartCount(value) { index_1.Struct.setUint16(4, value, this); }
44
+ getPartNum() { return index_1.Struct.getUint16(6, this); }
45
+ setPartNum(value) { index_1.Struct.setUint16(6, value, this); }
46
+ toString() { return "JoinKeyPart_" + super.toString(); }
47
+ }
48
+ exports.JoinKeyPart = JoinKeyPart;
49
+ JoinKeyPart._capnp = { displayName: "JoinKeyPart", id: "95b29059097fca83", size: new index_1.ObjectSize(8, 0) };
50
+ class JoinResult extends index_1.Struct {
51
+ getJoinId() { return index_1.Struct.getUint32(0, this); }
52
+ setJoinId(value) { index_1.Struct.setUint32(0, value, this); }
53
+ getSucceeded() { return index_1.Struct.getBit(32, this); }
54
+ setSucceeded(value) { index_1.Struct.setBit(32, value, this); }
55
+ adoptCap(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
56
+ disownCap() { return index_1.Struct.disown(this.getCap()); }
57
+ getCap() { return index_1.Struct.getPointer(0, this); }
58
+ hasCap() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
59
+ setCap(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
60
+ toString() { return "JoinResult_" + super.toString(); }
61
+ }
62
+ exports.JoinResult = JoinResult;
63
+ JoinResult._capnp = { displayName: "JoinResult", id: "9d263a3630b7ebee", size: new index_1.ObjectSize(8, 1) };
64
+ //# sourceMappingURL=rpc-twoparty.capnp.js.map
workers1/auto3d/node_modules/capnp-ts/src/std/rpc-twoparty.capnp.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"rpc-twoparty.capnp.js","sourceRoot":"","sources":["rpc-twoparty.capnp.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,oCAA4D;AAC/C,QAAA,YAAY,GAAG,kBAAkB,CAAC;AAC/C,IAAY,IAGX;AAHD,WAAY,IAAI;IACZ,mCAAM,CAAA;IACN,mCAAM,CAAA;AACV,CAAC,EAHW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAGf;AACD,MAAa,KAAM,SAAQ,cAAG;IAE1B,OAAO,KAAW,OAAO,cAAG,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAClD,OAAO,CAAC,KAAW,IAAU,cAAG,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAC7D,QAAQ,KAAa,OAAO,QAAQ,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;;AAJ9D,sBAKC;AAJmB,YAAM,GAAG,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE,IAAI,kBAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;AAKnG,MAAa,WAAY,SAAQ,cAAG;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AAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;IAC9E,MAAM,KAAoB,OAAO,cAAG,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAC3D,MAAM,KAAc,OAAO,CAAC,cAAG,CAAC,MAAM,CAAC,cAAG,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAClE,MAAM,CAAC,KAAoB,IAAU,cAAG,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAG,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACpF,QAAQ,KAAa,OAAO,aAAa,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;;AAXnE,gCAYC;AAXmB,iBAAM,GAAG,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE,IAAI,kBAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC"}
workers1/auto3d/node_modules/capnp-ts/src/std/rpc-twoparty.capnp.ts ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
3
+ * compiled output.
4
+ */
5
+
6
+ import * as capnp from "../index";
7
+ import { ObjectSize as __O, Struct as __S } from "../index";
8
+ export const _capnpFileId = "a184c7885cdaf2a1";
9
+ export enum Side {
10
+ SERVER,
11
+ CLIENT
12
+ }
13
+ export class VatId extends __S {
14
+ static readonly _capnp = { displayName: "VatId", id: "d20b909fee733a8e", size: new __O(8, 0) };
15
+ getSide(): Side { return __S.getUint16(0, this); }
16
+ setSide(value: Side): void { __S.setUint16(0, value, this); }
17
+ toString(): string { return "VatId_" + super.toString(); }
18
+ }
19
+ export class ProvisionId extends __S {
20
+ static readonly _capnp = { displayName: "ProvisionId", id: "b88d09a9c5f39817", size: new __O(8, 0) };
21
+ getJoinId(): number { return __S.getUint32(0, this); }
22
+ setJoinId(value: number): void { __S.setUint32(0, value, this); }
23
+ toString(): string { return "ProvisionId_" + super.toString(); }
24
+ }
25
+ export class RecipientId extends __S {
26
+ static readonly _capnp = { displayName: "RecipientId", id: "89f389b6fd4082c1", size: new __O(0, 0) };
27
+ toString(): string { return "RecipientId_" + super.toString(); }
28
+ }
29
+ export class ThirdPartyCapId extends __S {
30
+ static readonly _capnp = { displayName: "ThirdPartyCapId", id: "b47f4979672cb59d", size: new __O(0, 0) };
31
+ toString(): string { return "ThirdPartyCapId_" + super.toString(); }
32
+ }
33
+ export class JoinKeyPart extends __S {
34
+ static readonly _capnp = { displayName: "JoinKeyPart", id: "95b29059097fca83", size: new __O(8, 0) };
35
+ getJoinId(): number { return __S.getUint32(0, this); }
36
+ setJoinId(value: number): void { __S.setUint32(0, value, this); }
37
+ getPartCount(): number { return __S.getUint16(4, this); }
38
+ setPartCount(value: number): void { __S.setUint16(4, value, this); }
39
+ getPartNum(): number { return __S.getUint16(6, this); }
40
+ setPartNum(value: number): void { __S.setUint16(6, value, this); }
41
+ toString(): string { return "JoinKeyPart_" + super.toString(); }
42
+ }
43
+ export class JoinResult extends __S {
44
+ static readonly _capnp = { displayName: "JoinResult", id: "9d263a3630b7ebee", size: new __O(8, 1) };
45
+ getJoinId(): number { return __S.getUint32(0, this); }
46
+ setJoinId(value: number): void { __S.setUint32(0, value, this); }
47
+ getSucceeded(): boolean { return __S.getBit(32, this); }
48
+ setSucceeded(value: boolean): void { __S.setBit(32, value, this); }
49
+ adoptCap(value: capnp.Orphan<capnp.Pointer>): void { __S.adopt(value, __S.getPointer(0, this)); }
50
+ disownCap(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getCap()); }
51
+ getCap(): capnp.Pointer { return __S.getPointer(0, this); }
52
+ hasCap(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
53
+ setCap(value: capnp.Pointer): void { __S.copyFrom(value, __S.getPointer(0, this)); }
54
+ toString(): string { return "JoinResult_" + super.toString(); }
55
+ }
workers1/auto3d/node_modules/capnp-ts/src/std/rpc.capnp.d.ts ADDED
@@ -0,0 +1,600 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
3
+ * compiled output.
4
+ */
5
+ import * as capnp from "../index";
6
+ import { Struct as __S } from "../index";
7
+ export declare const _capnpFileId = "b312981b2552a250";
8
+ export declare enum Message_Which {
9
+ UNIMPLEMENTED = 0,
10
+ ABORT = 1,
11
+ BOOTSTRAP = 8,
12
+ CALL = 2,
13
+ RETURN = 3,
14
+ FINISH = 4,
15
+ RESOLVE = 5,
16
+ RELEASE = 6,
17
+ DISEMBARGO = 13,
18
+ OBSOLETE_SAVE = 7,
19
+ OBSOLETE_DELETE = 9,
20
+ PROVIDE = 10,
21
+ ACCEPT = 11,
22
+ JOIN = 12
23
+ }
24
+ export declare class Message extends __S {
25
+ static readonly UNIMPLEMENTED = Message_Which.UNIMPLEMENTED;
26
+ static readonly ABORT = Message_Which.ABORT;
27
+ static readonly BOOTSTRAP = Message_Which.BOOTSTRAP;
28
+ static readonly CALL = Message_Which.CALL;
29
+ static readonly RETURN = Message_Which.RETURN;
30
+ static readonly FINISH = Message_Which.FINISH;
31
+ static readonly RESOLVE = Message_Which.RESOLVE;
32
+ static readonly RELEASE = Message_Which.RELEASE;
33
+ static readonly DISEMBARGO = Message_Which.DISEMBARGO;
34
+ static readonly OBSOLETE_SAVE = Message_Which.OBSOLETE_SAVE;
35
+ static readonly OBSOLETE_DELETE = Message_Which.OBSOLETE_DELETE;
36
+ static readonly PROVIDE = Message_Which.PROVIDE;
37
+ static readonly ACCEPT = Message_Which.ACCEPT;
38
+ static readonly JOIN = Message_Which.JOIN;
39
+ static readonly _capnp: {
40
+ displayName: string;
41
+ id: string;
42
+ size: capnp.ObjectSize;
43
+ };
44
+ adoptUnimplemented(value: capnp.Orphan<Message>): void;
45
+ disownUnimplemented(): capnp.Orphan<Message>;
46
+ getUnimplemented(): Message;
47
+ hasUnimplemented(): boolean;
48
+ initUnimplemented(): Message;
49
+ isUnimplemented(): boolean;
50
+ setUnimplemented(value: Message): void;
51
+ adoptAbort(value: capnp.Orphan<Exception>): void;
52
+ disownAbort(): capnp.Orphan<Exception>;
53
+ getAbort(): Exception;
54
+ hasAbort(): boolean;
55
+ initAbort(): Exception;
56
+ isAbort(): boolean;
57
+ setAbort(value: Exception): void;
58
+ adoptBootstrap(value: capnp.Orphan<Bootstrap>): void;
59
+ disownBootstrap(): capnp.Orphan<Bootstrap>;
60
+ getBootstrap(): Bootstrap;
61
+ hasBootstrap(): boolean;
62
+ initBootstrap(): Bootstrap;
63
+ isBootstrap(): boolean;
64
+ setBootstrap(value: Bootstrap): void;
65
+ adoptCall(value: capnp.Orphan<Call>): void;
66
+ disownCall(): capnp.Orphan<Call>;
67
+ getCall(): Call;
68
+ hasCall(): boolean;
69
+ initCall(): Call;
70
+ isCall(): boolean;
71
+ setCall(value: Call): void;
72
+ adoptReturn(value: capnp.Orphan<Return>): void;
73
+ disownReturn(): capnp.Orphan<Return>;
74
+ getReturn(): Return;
75
+ hasReturn(): boolean;
76
+ initReturn(): Return;
77
+ isReturn(): boolean;
78
+ setReturn(value: Return): void;
79
+ adoptFinish(value: capnp.Orphan<Finish>): void;
80
+ disownFinish(): capnp.Orphan<Finish>;
81
+ getFinish(): Finish;
82
+ hasFinish(): boolean;
83
+ initFinish(): Finish;
84
+ isFinish(): boolean;
85
+ setFinish(value: Finish): void;
86
+ adoptResolve(value: capnp.Orphan<Resolve>): void;
87
+ disownResolve(): capnp.Orphan<Resolve>;
88
+ getResolve(): Resolve;
89
+ hasResolve(): boolean;
90
+ initResolve(): Resolve;
91
+ isResolve(): boolean;
92
+ setResolve(value: Resolve): void;
93
+ adoptRelease(value: capnp.Orphan<Release>): void;
94
+ disownRelease(): capnp.Orphan<Release>;
95
+ getRelease(): Release;
96
+ hasRelease(): boolean;
97
+ initRelease(): Release;
98
+ isRelease(): boolean;
99
+ setRelease(value: Release): void;
100
+ adoptDisembargo(value: capnp.Orphan<Disembargo>): void;
101
+ disownDisembargo(): capnp.Orphan<Disembargo>;
102
+ getDisembargo(): Disembargo;
103
+ hasDisembargo(): boolean;
104
+ initDisembargo(): Disembargo;
105
+ isDisembargo(): boolean;
106
+ setDisembargo(value: Disembargo): void;
107
+ adoptObsoleteSave(value: capnp.Orphan<capnp.Pointer>): void;
108
+ disownObsoleteSave(): capnp.Orphan<capnp.Pointer>;
109
+ getObsoleteSave(): capnp.Pointer;
110
+ hasObsoleteSave(): boolean;
111
+ isObsoleteSave(): boolean;
112
+ setObsoleteSave(value: capnp.Pointer): void;
113
+ adoptObsoleteDelete(value: capnp.Orphan<capnp.Pointer>): void;
114
+ disownObsoleteDelete(): capnp.Orphan<capnp.Pointer>;
115
+ getObsoleteDelete(): capnp.Pointer;
116
+ hasObsoleteDelete(): boolean;
117
+ isObsoleteDelete(): boolean;
118
+ setObsoleteDelete(value: capnp.Pointer): void;
119
+ adoptProvide(value: capnp.Orphan<Provide>): void;
120
+ disownProvide(): capnp.Orphan<Provide>;
121
+ getProvide(): Provide;
122
+ hasProvide(): boolean;
123
+ initProvide(): Provide;
124
+ isProvide(): boolean;
125
+ setProvide(value: Provide): void;
126
+ adoptAccept(value: capnp.Orphan<Accept>): void;
127
+ disownAccept(): capnp.Orphan<Accept>;
128
+ getAccept(): Accept;
129
+ hasAccept(): boolean;
130
+ initAccept(): Accept;
131
+ isAccept(): boolean;
132
+ setAccept(value: Accept): void;
133
+ adoptJoin(value: capnp.Orphan<Join>): void;
134
+ disownJoin(): capnp.Orphan<Join>;
135
+ getJoin(): Join;
136
+ hasJoin(): boolean;
137
+ initJoin(): Join;
138
+ isJoin(): boolean;
139
+ setJoin(value: Join): void;
140
+ toString(): string;
141
+ which(): Message_Which;
142
+ }
143
+ export declare class Bootstrap extends __S {
144
+ static readonly _capnp: {
145
+ displayName: string;
146
+ id: string;
147
+ size: capnp.ObjectSize;
148
+ };
149
+ getQuestionId(): number;
150
+ setQuestionId(value: number): void;
151
+ adoptDeprecatedObjectId(value: capnp.Orphan<capnp.Pointer>): void;
152
+ disownDeprecatedObjectId(): capnp.Orphan<capnp.Pointer>;
153
+ getDeprecatedObjectId(): capnp.Pointer;
154
+ hasDeprecatedObjectId(): boolean;
155
+ setDeprecatedObjectId(value: capnp.Pointer): void;
156
+ toString(): string;
157
+ }
158
+ export declare enum Call_SendResultsTo_Which {
159
+ CALLER = 0,
160
+ YOURSELF = 1,
161
+ THIRD_PARTY = 2
162
+ }
163
+ export declare class Call_SendResultsTo extends __S {
164
+ static readonly CALLER = Call_SendResultsTo_Which.CALLER;
165
+ static readonly YOURSELF = Call_SendResultsTo_Which.YOURSELF;
166
+ static readonly THIRD_PARTY = Call_SendResultsTo_Which.THIRD_PARTY;
167
+ static readonly _capnp: {
168
+ displayName: string;
169
+ id: string;
170
+ size: capnp.ObjectSize;
171
+ };
172
+ isCaller(): boolean;
173
+ setCaller(): void;
174
+ isYourself(): boolean;
175
+ setYourself(): void;
176
+ adoptThirdParty(value: capnp.Orphan<capnp.Pointer>): void;
177
+ disownThirdParty(): capnp.Orphan<capnp.Pointer>;
178
+ getThirdParty(): capnp.Pointer;
179
+ hasThirdParty(): boolean;
180
+ isThirdParty(): boolean;
181
+ setThirdParty(value: capnp.Pointer): void;
182
+ toString(): string;
183
+ which(): Call_SendResultsTo_Which;
184
+ }
185
+ export declare class Call extends __S {
186
+ static readonly _capnp: {
187
+ displayName: string;
188
+ id: string;
189
+ size: capnp.ObjectSize;
190
+ defaultAllowThirdPartyTailCall: DataView;
191
+ };
192
+ getQuestionId(): number;
193
+ setQuestionId(value: number): void;
194
+ adoptTarget(value: capnp.Orphan<MessageTarget>): void;
195
+ disownTarget(): capnp.Orphan<MessageTarget>;
196
+ getTarget(): MessageTarget;
197
+ hasTarget(): boolean;
198
+ initTarget(): MessageTarget;
199
+ setTarget(value: MessageTarget): void;
200
+ getInterfaceId(): capnp.Uint64;
201
+ setInterfaceId(value: capnp.Uint64): void;
202
+ getMethodId(): number;
203
+ setMethodId(value: number): void;
204
+ getAllowThirdPartyTailCall(): boolean;
205
+ setAllowThirdPartyTailCall(value: boolean): void;
206
+ adoptParams(value: capnp.Orphan<Payload>): void;
207
+ disownParams(): capnp.Orphan<Payload>;
208
+ getParams(): Payload;
209
+ hasParams(): boolean;
210
+ initParams(): Payload;
211
+ setParams(value: Payload): void;
212
+ getSendResultsTo(): Call_SendResultsTo;
213
+ initSendResultsTo(): Call_SendResultsTo;
214
+ toString(): string;
215
+ }
216
+ export declare enum Return_Which {
217
+ RESULTS = 0,
218
+ EXCEPTION = 1,
219
+ CANCELED = 2,
220
+ RESULTS_SENT_ELSEWHERE = 3,
221
+ TAKE_FROM_OTHER_QUESTION = 4,
222
+ ACCEPT_FROM_THIRD_PARTY = 5
223
+ }
224
+ export declare class Return extends __S {
225
+ static readonly RESULTS = Return_Which.RESULTS;
226
+ static readonly EXCEPTION = Return_Which.EXCEPTION;
227
+ static readonly CANCELED = Return_Which.CANCELED;
228
+ static readonly RESULTS_SENT_ELSEWHERE = Return_Which.RESULTS_SENT_ELSEWHERE;
229
+ static readonly TAKE_FROM_OTHER_QUESTION = Return_Which.TAKE_FROM_OTHER_QUESTION;
230
+ static readonly ACCEPT_FROM_THIRD_PARTY = Return_Which.ACCEPT_FROM_THIRD_PARTY;
231
+ static readonly _capnp: {
232
+ displayName: string;
233
+ id: string;
234
+ size: capnp.ObjectSize;
235
+ defaultReleaseParamCaps: DataView;
236
+ };
237
+ getAnswerId(): number;
238
+ setAnswerId(value: number): void;
239
+ getReleaseParamCaps(): boolean;
240
+ setReleaseParamCaps(value: boolean): void;
241
+ adoptResults(value: capnp.Orphan<Payload>): void;
242
+ disownResults(): capnp.Orphan<Payload>;
243
+ getResults(): Payload;
244
+ hasResults(): boolean;
245
+ initResults(): Payload;
246
+ isResults(): boolean;
247
+ setResults(value: Payload): void;
248
+ adoptException(value: capnp.Orphan<Exception>): void;
249
+ disownException(): capnp.Orphan<Exception>;
250
+ getException(): Exception;
251
+ hasException(): boolean;
252
+ initException(): Exception;
253
+ isException(): boolean;
254
+ setException(value: Exception): void;
255
+ isCanceled(): boolean;
256
+ setCanceled(): void;
257
+ isResultsSentElsewhere(): boolean;
258
+ setResultsSentElsewhere(): void;
259
+ getTakeFromOtherQuestion(): number;
260
+ isTakeFromOtherQuestion(): boolean;
261
+ setTakeFromOtherQuestion(value: number): void;
262
+ adoptAcceptFromThirdParty(value: capnp.Orphan<capnp.Pointer>): void;
263
+ disownAcceptFromThirdParty(): capnp.Orphan<capnp.Pointer>;
264
+ getAcceptFromThirdParty(): capnp.Pointer;
265
+ hasAcceptFromThirdParty(): boolean;
266
+ isAcceptFromThirdParty(): boolean;
267
+ setAcceptFromThirdParty(value: capnp.Pointer): void;
268
+ toString(): string;
269
+ which(): Return_Which;
270
+ }
271
+ export declare class Finish extends __S {
272
+ static readonly _capnp: {
273
+ displayName: string;
274
+ id: string;
275
+ size: capnp.ObjectSize;
276
+ defaultReleaseResultCaps: DataView;
277
+ };
278
+ getQuestionId(): number;
279
+ setQuestionId(value: number): void;
280
+ getReleaseResultCaps(): boolean;
281
+ setReleaseResultCaps(value: boolean): void;
282
+ toString(): string;
283
+ }
284
+ export declare enum Resolve_Which {
285
+ CAP = 0,
286
+ EXCEPTION = 1
287
+ }
288
+ export declare class Resolve extends __S {
289
+ static readonly CAP = Resolve_Which.CAP;
290
+ static readonly EXCEPTION = Resolve_Which.EXCEPTION;
291
+ static readonly _capnp: {
292
+ displayName: string;
293
+ id: string;
294
+ size: capnp.ObjectSize;
295
+ };
296
+ getPromiseId(): number;
297
+ setPromiseId(value: number): void;
298
+ adoptCap(value: capnp.Orphan<CapDescriptor>): void;
299
+ disownCap(): capnp.Orphan<CapDescriptor>;
300
+ getCap(): CapDescriptor;
301
+ hasCap(): boolean;
302
+ initCap(): CapDescriptor;
303
+ isCap(): boolean;
304
+ setCap(value: CapDescriptor): void;
305
+ adoptException(value: capnp.Orphan<Exception>): void;
306
+ disownException(): capnp.Orphan<Exception>;
307
+ getException(): Exception;
308
+ hasException(): boolean;
309
+ initException(): Exception;
310
+ isException(): boolean;
311
+ setException(value: Exception): void;
312
+ toString(): string;
313
+ which(): Resolve_Which;
314
+ }
315
+ export declare class Release extends __S {
316
+ static readonly _capnp: {
317
+ displayName: string;
318
+ id: string;
319
+ size: capnp.ObjectSize;
320
+ };
321
+ getId(): number;
322
+ setId(value: number): void;
323
+ getReferenceCount(): number;
324
+ setReferenceCount(value: number): void;
325
+ toString(): string;
326
+ }
327
+ export declare enum Disembargo_Context_Which {
328
+ SENDER_LOOPBACK = 0,
329
+ RECEIVER_LOOPBACK = 1,
330
+ ACCEPT = 2,
331
+ PROVIDE = 3
332
+ }
333
+ export declare class Disembargo_Context extends __S {
334
+ static readonly SENDER_LOOPBACK = Disembargo_Context_Which.SENDER_LOOPBACK;
335
+ static readonly RECEIVER_LOOPBACK = Disembargo_Context_Which.RECEIVER_LOOPBACK;
336
+ static readonly ACCEPT = Disembargo_Context_Which.ACCEPT;
337
+ static readonly PROVIDE = Disembargo_Context_Which.PROVIDE;
338
+ static readonly _capnp: {
339
+ displayName: string;
340
+ id: string;
341
+ size: capnp.ObjectSize;
342
+ };
343
+ getSenderLoopback(): number;
344
+ isSenderLoopback(): boolean;
345
+ setSenderLoopback(value: number): void;
346
+ getReceiverLoopback(): number;
347
+ isReceiverLoopback(): boolean;
348
+ setReceiverLoopback(value: number): void;
349
+ isAccept(): boolean;
350
+ setAccept(): void;
351
+ getProvide(): number;
352
+ isProvide(): boolean;
353
+ setProvide(value: number): void;
354
+ toString(): string;
355
+ which(): Disembargo_Context_Which;
356
+ }
357
+ export declare class Disembargo extends __S {
358
+ static readonly _capnp: {
359
+ displayName: string;
360
+ id: string;
361
+ size: capnp.ObjectSize;
362
+ };
363
+ adoptTarget(value: capnp.Orphan<MessageTarget>): void;
364
+ disownTarget(): capnp.Orphan<MessageTarget>;
365
+ getTarget(): MessageTarget;
366
+ hasTarget(): boolean;
367
+ initTarget(): MessageTarget;
368
+ setTarget(value: MessageTarget): void;
369
+ getContext(): Disembargo_Context;
370
+ initContext(): Disembargo_Context;
371
+ toString(): string;
372
+ }
373
+ export declare class Provide extends __S {
374
+ static readonly _capnp: {
375
+ displayName: string;
376
+ id: string;
377
+ size: capnp.ObjectSize;
378
+ };
379
+ getQuestionId(): number;
380
+ setQuestionId(value: number): void;
381
+ adoptTarget(value: capnp.Orphan<MessageTarget>): void;
382
+ disownTarget(): capnp.Orphan<MessageTarget>;
383
+ getTarget(): MessageTarget;
384
+ hasTarget(): boolean;
385
+ initTarget(): MessageTarget;
386
+ setTarget(value: MessageTarget): void;
387
+ adoptRecipient(value: capnp.Orphan<capnp.Pointer>): void;
388
+ disownRecipient(): capnp.Orphan<capnp.Pointer>;
389
+ getRecipient(): capnp.Pointer;
390
+ hasRecipient(): boolean;
391
+ setRecipient(value: capnp.Pointer): void;
392
+ toString(): string;
393
+ }
394
+ export declare class Accept extends __S {
395
+ static readonly _capnp: {
396
+ displayName: string;
397
+ id: string;
398
+ size: capnp.ObjectSize;
399
+ };
400
+ getQuestionId(): number;
401
+ setQuestionId(value: number): void;
402
+ adoptProvision(value: capnp.Orphan<capnp.Pointer>): void;
403
+ disownProvision(): capnp.Orphan<capnp.Pointer>;
404
+ getProvision(): capnp.Pointer;
405
+ hasProvision(): boolean;
406
+ setProvision(value: capnp.Pointer): void;
407
+ getEmbargo(): boolean;
408
+ setEmbargo(value: boolean): void;
409
+ toString(): string;
410
+ }
411
+ export declare class Join extends __S {
412
+ static readonly _capnp: {
413
+ displayName: string;
414
+ id: string;
415
+ size: capnp.ObjectSize;
416
+ };
417
+ getQuestionId(): number;
418
+ setQuestionId(value: number): void;
419
+ adoptTarget(value: capnp.Orphan<MessageTarget>): void;
420
+ disownTarget(): capnp.Orphan<MessageTarget>;
421
+ getTarget(): MessageTarget;
422
+ hasTarget(): boolean;
423
+ initTarget(): MessageTarget;
424
+ setTarget(value: MessageTarget): void;
425
+ adoptKeyPart(value: capnp.Orphan<capnp.Pointer>): void;
426
+ disownKeyPart(): capnp.Orphan<capnp.Pointer>;
427
+ getKeyPart(): capnp.Pointer;
428
+ hasKeyPart(): boolean;
429
+ setKeyPart(value: capnp.Pointer): void;
430
+ toString(): string;
431
+ }
432
+ export declare enum MessageTarget_Which {
433
+ IMPORTED_CAP = 0,
434
+ PROMISED_ANSWER = 1
435
+ }
436
+ export declare class MessageTarget extends __S {
437
+ static readonly IMPORTED_CAP = MessageTarget_Which.IMPORTED_CAP;
438
+ static readonly PROMISED_ANSWER = MessageTarget_Which.PROMISED_ANSWER;
439
+ static readonly _capnp: {
440
+ displayName: string;
441
+ id: string;
442
+ size: capnp.ObjectSize;
443
+ };
444
+ getImportedCap(): number;
445
+ isImportedCap(): boolean;
446
+ setImportedCap(value: number): void;
447
+ adoptPromisedAnswer(value: capnp.Orphan<PromisedAnswer>): void;
448
+ disownPromisedAnswer(): capnp.Orphan<PromisedAnswer>;
449
+ getPromisedAnswer(): PromisedAnswer;
450
+ hasPromisedAnswer(): boolean;
451
+ initPromisedAnswer(): PromisedAnswer;
452
+ isPromisedAnswer(): boolean;
453
+ setPromisedAnswer(value: PromisedAnswer): void;
454
+ toString(): string;
455
+ which(): MessageTarget_Which;
456
+ }
457
+ export declare class Payload extends __S {
458
+ static readonly _capnp: {
459
+ displayName: string;
460
+ id: string;
461
+ size: capnp.ObjectSize;
462
+ };
463
+ static _CapTable: capnp.ListCtor<CapDescriptor>;
464
+ adoptContent(value: capnp.Orphan<capnp.Pointer>): void;
465
+ disownContent(): capnp.Orphan<capnp.Pointer>;
466
+ getContent(): capnp.Pointer;
467
+ hasContent(): boolean;
468
+ setContent(value: capnp.Pointer): void;
469
+ adoptCapTable(value: capnp.Orphan<capnp.List<CapDescriptor>>): void;
470
+ disownCapTable(): capnp.Orphan<capnp.List<CapDescriptor>>;
471
+ getCapTable(): capnp.List<CapDescriptor>;
472
+ hasCapTable(): boolean;
473
+ initCapTable(length: number): capnp.List<CapDescriptor>;
474
+ setCapTable(value: capnp.List<CapDescriptor>): void;
475
+ toString(): string;
476
+ }
477
+ export declare enum CapDescriptor_Which {
478
+ NONE = 0,
479
+ SENDER_HOSTED = 1,
480
+ SENDER_PROMISE = 2,
481
+ RECEIVER_HOSTED = 3,
482
+ RECEIVER_ANSWER = 4,
483
+ THIRD_PARTY_HOSTED = 5
484
+ }
485
+ export declare class CapDescriptor extends __S {
486
+ static readonly NONE = CapDescriptor_Which.NONE;
487
+ static readonly SENDER_HOSTED = CapDescriptor_Which.SENDER_HOSTED;
488
+ static readonly SENDER_PROMISE = CapDescriptor_Which.SENDER_PROMISE;
489
+ static readonly RECEIVER_HOSTED = CapDescriptor_Which.RECEIVER_HOSTED;
490
+ static readonly RECEIVER_ANSWER = CapDescriptor_Which.RECEIVER_ANSWER;
491
+ static readonly THIRD_PARTY_HOSTED = CapDescriptor_Which.THIRD_PARTY_HOSTED;
492
+ static readonly _capnp: {
493
+ displayName: string;
494
+ id: string;
495
+ size: capnp.ObjectSize;
496
+ };
497
+ isNone(): boolean;
498
+ setNone(): void;
499
+ getSenderHosted(): number;
500
+ isSenderHosted(): boolean;
501
+ setSenderHosted(value: number): void;
502
+ getSenderPromise(): number;
503
+ isSenderPromise(): boolean;
504
+ setSenderPromise(value: number): void;
505
+ getReceiverHosted(): number;
506
+ isReceiverHosted(): boolean;
507
+ setReceiverHosted(value: number): void;
508
+ adoptReceiverAnswer(value: capnp.Orphan<PromisedAnswer>): void;
509
+ disownReceiverAnswer(): capnp.Orphan<PromisedAnswer>;
510
+ getReceiverAnswer(): PromisedAnswer;
511
+ hasReceiverAnswer(): boolean;
512
+ initReceiverAnswer(): PromisedAnswer;
513
+ isReceiverAnswer(): boolean;
514
+ setReceiverAnswer(value: PromisedAnswer): void;
515
+ adoptThirdPartyHosted(value: capnp.Orphan<ThirdPartyCapDescriptor>): void;
516
+ disownThirdPartyHosted(): capnp.Orphan<ThirdPartyCapDescriptor>;
517
+ getThirdPartyHosted(): ThirdPartyCapDescriptor;
518
+ hasThirdPartyHosted(): boolean;
519
+ initThirdPartyHosted(): ThirdPartyCapDescriptor;
520
+ isThirdPartyHosted(): boolean;
521
+ setThirdPartyHosted(value: ThirdPartyCapDescriptor): void;
522
+ toString(): string;
523
+ which(): CapDescriptor_Which;
524
+ }
525
+ export declare enum PromisedAnswer_Op_Which {
526
+ NOOP = 0,
527
+ GET_POINTER_FIELD = 1
528
+ }
529
+ export declare class PromisedAnswer_Op extends __S {
530
+ static readonly NOOP = PromisedAnswer_Op_Which.NOOP;
531
+ static readonly GET_POINTER_FIELD = PromisedAnswer_Op_Which.GET_POINTER_FIELD;
532
+ static readonly _capnp: {
533
+ displayName: string;
534
+ id: string;
535
+ size: capnp.ObjectSize;
536
+ };
537
+ isNoop(): boolean;
538
+ setNoop(): void;
539
+ getGetPointerField(): number;
540
+ isGetPointerField(): boolean;
541
+ setGetPointerField(value: number): void;
542
+ toString(): string;
543
+ which(): PromisedAnswer_Op_Which;
544
+ }
545
+ export declare class PromisedAnswer extends __S {
546
+ static readonly Op: typeof PromisedAnswer_Op;
547
+ static readonly _capnp: {
548
+ displayName: string;
549
+ id: string;
550
+ size: capnp.ObjectSize;
551
+ };
552
+ static _Transform: capnp.ListCtor<PromisedAnswer_Op>;
553
+ getQuestionId(): number;
554
+ setQuestionId(value: number): void;
555
+ adoptTransform(value: capnp.Orphan<capnp.List<PromisedAnswer_Op>>): void;
556
+ disownTransform(): capnp.Orphan<capnp.List<PromisedAnswer_Op>>;
557
+ getTransform(): capnp.List<PromisedAnswer_Op>;
558
+ hasTransform(): boolean;
559
+ initTransform(length: number): capnp.List<PromisedAnswer_Op>;
560
+ setTransform(value: capnp.List<PromisedAnswer_Op>): void;
561
+ toString(): string;
562
+ }
563
+ export declare class ThirdPartyCapDescriptor extends __S {
564
+ static readonly _capnp: {
565
+ displayName: string;
566
+ id: string;
567
+ size: capnp.ObjectSize;
568
+ };
569
+ adoptId(value: capnp.Orphan<capnp.Pointer>): void;
570
+ disownId(): capnp.Orphan<capnp.Pointer>;
571
+ getId(): capnp.Pointer;
572
+ hasId(): boolean;
573
+ setId(value: capnp.Pointer): void;
574
+ getVineId(): number;
575
+ setVineId(value: number): void;
576
+ toString(): string;
577
+ }
578
+ export declare enum Exception_Type {
579
+ FAILED = 0,
580
+ OVERLOADED = 1,
581
+ DISCONNECTED = 2,
582
+ UNIMPLEMENTED = 3
583
+ }
584
+ export declare class Exception extends __S {
585
+ static readonly Type: typeof Exception_Type;
586
+ static readonly _capnp: {
587
+ displayName: string;
588
+ id: string;
589
+ size: capnp.ObjectSize;
590
+ };
591
+ getReason(): string;
592
+ setReason(value: string): void;
593
+ getType(): Exception_Type;
594
+ setType(value: Exception_Type): void;
595
+ getObsoleteIsCallersFault(): boolean;
596
+ setObsoleteIsCallersFault(value: boolean): void;
597
+ getObsoleteDurability(): number;
598
+ setObsoleteDurability(value: number): void;
599
+ toString(): string;
600
+ }
workers1/auto3d/node_modules/capnp-ts/src/std/rpc.capnp.js ADDED
@@ -0,0 +1,869 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ /**
3
+ * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
4
+ * compiled output.
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.Exception = exports.Exception_Type = exports.ThirdPartyCapDescriptor = exports.PromisedAnswer = exports.PromisedAnswer_Op = exports.PromisedAnswer_Op_Which = exports.CapDescriptor = exports.CapDescriptor_Which = exports.Payload = exports.MessageTarget = exports.MessageTarget_Which = exports.Join = exports.Accept = exports.Provide = exports.Disembargo = exports.Disembargo_Context = exports.Disembargo_Context_Which = exports.Release = exports.Resolve = exports.Resolve_Which = exports.Finish = exports.Return = exports.Return_Which = exports.Call = exports.Call_SendResultsTo = exports.Call_SendResultsTo_Which = exports.Bootstrap = exports.Message = exports.Message_Which = exports._capnpFileId = void 0;
8
+ const tslib_1 = require("tslib");
9
+ const capnp = tslib_1.__importStar(require("../index"));
10
+ const index_1 = require("../index");
11
+ exports._capnpFileId = "b312981b2552a250";
12
+ var Message_Which;
13
+ (function (Message_Which) {
14
+ Message_Which[Message_Which["UNIMPLEMENTED"] = 0] = "UNIMPLEMENTED";
15
+ Message_Which[Message_Which["ABORT"] = 1] = "ABORT";
16
+ Message_Which[Message_Which["BOOTSTRAP"] = 8] = "BOOTSTRAP";
17
+ Message_Which[Message_Which["CALL"] = 2] = "CALL";
18
+ Message_Which[Message_Which["RETURN"] = 3] = "RETURN";
19
+ Message_Which[Message_Which["FINISH"] = 4] = "FINISH";
20
+ Message_Which[Message_Which["RESOLVE"] = 5] = "RESOLVE";
21
+ Message_Which[Message_Which["RELEASE"] = 6] = "RELEASE";
22
+ Message_Which[Message_Which["DISEMBARGO"] = 13] = "DISEMBARGO";
23
+ Message_Which[Message_Which["OBSOLETE_SAVE"] = 7] = "OBSOLETE_SAVE";
24
+ Message_Which[Message_Which["OBSOLETE_DELETE"] = 9] = "OBSOLETE_DELETE";
25
+ Message_Which[Message_Which["PROVIDE"] = 10] = "PROVIDE";
26
+ Message_Which[Message_Which["ACCEPT"] = 11] = "ACCEPT";
27
+ Message_Which[Message_Which["JOIN"] = 12] = "JOIN";
28
+ })(Message_Which = exports.Message_Which || (exports.Message_Which = {}));
29
+ class Message extends index_1.Struct {
30
+ adoptUnimplemented(value) {
31
+ index_1.Struct.setUint16(0, 0, this);
32
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
33
+ }
34
+ disownUnimplemented() { return index_1.Struct.disown(this.getUnimplemented()); }
35
+ getUnimplemented() {
36
+ index_1.Struct.testWhich("unimplemented", index_1.Struct.getUint16(0, this), 0, this);
37
+ return index_1.Struct.getStruct(0, Message, this);
38
+ }
39
+ hasUnimplemented() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
40
+ initUnimplemented() {
41
+ index_1.Struct.setUint16(0, 0, this);
42
+ return index_1.Struct.initStructAt(0, Message, this);
43
+ }
44
+ isUnimplemented() { return index_1.Struct.getUint16(0, this) === 0; }
45
+ setUnimplemented(value) {
46
+ index_1.Struct.setUint16(0, 0, this);
47
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
48
+ }
49
+ adoptAbort(value) {
50
+ index_1.Struct.setUint16(0, 1, this);
51
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
52
+ }
53
+ disownAbort() { return index_1.Struct.disown(this.getAbort()); }
54
+ getAbort() {
55
+ index_1.Struct.testWhich("abort", index_1.Struct.getUint16(0, this), 1, this);
56
+ return index_1.Struct.getStruct(0, Exception, this);
57
+ }
58
+ hasAbort() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
59
+ initAbort() {
60
+ index_1.Struct.setUint16(0, 1, this);
61
+ return index_1.Struct.initStructAt(0, Exception, this);
62
+ }
63
+ isAbort() { return index_1.Struct.getUint16(0, this) === 1; }
64
+ setAbort(value) {
65
+ index_1.Struct.setUint16(0, 1, this);
66
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
67
+ }
68
+ adoptBootstrap(value) {
69
+ index_1.Struct.setUint16(0, 8, this);
70
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
71
+ }
72
+ disownBootstrap() { return index_1.Struct.disown(this.getBootstrap()); }
73
+ getBootstrap() {
74
+ index_1.Struct.testWhich("bootstrap", index_1.Struct.getUint16(0, this), 8, this);
75
+ return index_1.Struct.getStruct(0, Bootstrap, this);
76
+ }
77
+ hasBootstrap() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
78
+ initBootstrap() {
79
+ index_1.Struct.setUint16(0, 8, this);
80
+ return index_1.Struct.initStructAt(0, Bootstrap, this);
81
+ }
82
+ isBootstrap() { return index_1.Struct.getUint16(0, this) === 8; }
83
+ setBootstrap(value) {
84
+ index_1.Struct.setUint16(0, 8, this);
85
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
86
+ }
87
+ adoptCall(value) {
88
+ index_1.Struct.setUint16(0, 2, this);
89
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
90
+ }
91
+ disownCall() { return index_1.Struct.disown(this.getCall()); }
92
+ getCall() {
93
+ index_1.Struct.testWhich("call", index_1.Struct.getUint16(0, this), 2, this);
94
+ return index_1.Struct.getStruct(0, Call, this);
95
+ }
96
+ hasCall() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
97
+ initCall() {
98
+ index_1.Struct.setUint16(0, 2, this);
99
+ return index_1.Struct.initStructAt(0, Call, this);
100
+ }
101
+ isCall() { return index_1.Struct.getUint16(0, this) === 2; }
102
+ setCall(value) {
103
+ index_1.Struct.setUint16(0, 2, this);
104
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
105
+ }
106
+ adoptReturn(value) {
107
+ index_1.Struct.setUint16(0, 3, this);
108
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
109
+ }
110
+ disownReturn() { return index_1.Struct.disown(this.getReturn()); }
111
+ getReturn() {
112
+ index_1.Struct.testWhich("return", index_1.Struct.getUint16(0, this), 3, this);
113
+ return index_1.Struct.getStruct(0, Return, this);
114
+ }
115
+ hasReturn() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
116
+ initReturn() {
117
+ index_1.Struct.setUint16(0, 3, this);
118
+ return index_1.Struct.initStructAt(0, Return, this);
119
+ }
120
+ isReturn() { return index_1.Struct.getUint16(0, this) === 3; }
121
+ setReturn(value) {
122
+ index_1.Struct.setUint16(0, 3, this);
123
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
124
+ }
125
+ adoptFinish(value) {
126
+ index_1.Struct.setUint16(0, 4, this);
127
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
128
+ }
129
+ disownFinish() { return index_1.Struct.disown(this.getFinish()); }
130
+ getFinish() {
131
+ index_1.Struct.testWhich("finish", index_1.Struct.getUint16(0, this), 4, this);
132
+ return index_1.Struct.getStruct(0, Finish, this);
133
+ }
134
+ hasFinish() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
135
+ initFinish() {
136
+ index_1.Struct.setUint16(0, 4, this);
137
+ return index_1.Struct.initStructAt(0, Finish, this);
138
+ }
139
+ isFinish() { return index_1.Struct.getUint16(0, this) === 4; }
140
+ setFinish(value) {
141
+ index_1.Struct.setUint16(0, 4, this);
142
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
143
+ }
144
+ adoptResolve(value) {
145
+ index_1.Struct.setUint16(0, 5, this);
146
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
147
+ }
148
+ disownResolve() { return index_1.Struct.disown(this.getResolve()); }
149
+ getResolve() {
150
+ index_1.Struct.testWhich("resolve", index_1.Struct.getUint16(0, this), 5, this);
151
+ return index_1.Struct.getStruct(0, Resolve, this);
152
+ }
153
+ hasResolve() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
154
+ initResolve() {
155
+ index_1.Struct.setUint16(0, 5, this);
156
+ return index_1.Struct.initStructAt(0, Resolve, this);
157
+ }
158
+ isResolve() { return index_1.Struct.getUint16(0, this) === 5; }
159
+ setResolve(value) {
160
+ index_1.Struct.setUint16(0, 5, this);
161
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
162
+ }
163
+ adoptRelease(value) {
164
+ index_1.Struct.setUint16(0, 6, this);
165
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
166
+ }
167
+ disownRelease() { return index_1.Struct.disown(this.getRelease()); }
168
+ getRelease() {
169
+ index_1.Struct.testWhich("release", index_1.Struct.getUint16(0, this), 6, this);
170
+ return index_1.Struct.getStruct(0, Release, this);
171
+ }
172
+ hasRelease() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
173
+ initRelease() {
174
+ index_1.Struct.setUint16(0, 6, this);
175
+ return index_1.Struct.initStructAt(0, Release, this);
176
+ }
177
+ isRelease() { return index_1.Struct.getUint16(0, this) === 6; }
178
+ setRelease(value) {
179
+ index_1.Struct.setUint16(0, 6, this);
180
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
181
+ }
182
+ adoptDisembargo(value) {
183
+ index_1.Struct.setUint16(0, 13, this);
184
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
185
+ }
186
+ disownDisembargo() { return index_1.Struct.disown(this.getDisembargo()); }
187
+ getDisembargo() {
188
+ index_1.Struct.testWhich("disembargo", index_1.Struct.getUint16(0, this), 13, this);
189
+ return index_1.Struct.getStruct(0, Disembargo, this);
190
+ }
191
+ hasDisembargo() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
192
+ initDisembargo() {
193
+ index_1.Struct.setUint16(0, 13, this);
194
+ return index_1.Struct.initStructAt(0, Disembargo, this);
195
+ }
196
+ isDisembargo() { return index_1.Struct.getUint16(0, this) === 13; }
197
+ setDisembargo(value) {
198
+ index_1.Struct.setUint16(0, 13, this);
199
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
200
+ }
201
+ adoptObsoleteSave(value) {
202
+ index_1.Struct.setUint16(0, 7, this);
203
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
204
+ }
205
+ disownObsoleteSave() { return index_1.Struct.disown(this.getObsoleteSave()); }
206
+ getObsoleteSave() {
207
+ index_1.Struct.testWhich("obsoleteSave", index_1.Struct.getUint16(0, this), 7, this);
208
+ return index_1.Struct.getPointer(0, this);
209
+ }
210
+ hasObsoleteSave() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
211
+ isObsoleteSave() { return index_1.Struct.getUint16(0, this) === 7; }
212
+ setObsoleteSave(value) {
213
+ index_1.Struct.setUint16(0, 7, this);
214
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
215
+ }
216
+ adoptObsoleteDelete(value) {
217
+ index_1.Struct.setUint16(0, 9, this);
218
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
219
+ }
220
+ disownObsoleteDelete() { return index_1.Struct.disown(this.getObsoleteDelete()); }
221
+ getObsoleteDelete() {
222
+ index_1.Struct.testWhich("obsoleteDelete", index_1.Struct.getUint16(0, this), 9, this);
223
+ return index_1.Struct.getPointer(0, this);
224
+ }
225
+ hasObsoleteDelete() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
226
+ isObsoleteDelete() { return index_1.Struct.getUint16(0, this) === 9; }
227
+ setObsoleteDelete(value) {
228
+ index_1.Struct.setUint16(0, 9, this);
229
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
230
+ }
231
+ adoptProvide(value) {
232
+ index_1.Struct.setUint16(0, 10, this);
233
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
234
+ }
235
+ disownProvide() { return index_1.Struct.disown(this.getProvide()); }
236
+ getProvide() {
237
+ index_1.Struct.testWhich("provide", index_1.Struct.getUint16(0, this), 10, this);
238
+ return index_1.Struct.getStruct(0, Provide, this);
239
+ }
240
+ hasProvide() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
241
+ initProvide() {
242
+ index_1.Struct.setUint16(0, 10, this);
243
+ return index_1.Struct.initStructAt(0, Provide, this);
244
+ }
245
+ isProvide() { return index_1.Struct.getUint16(0, this) === 10; }
246
+ setProvide(value) {
247
+ index_1.Struct.setUint16(0, 10, this);
248
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
249
+ }
250
+ adoptAccept(value) {
251
+ index_1.Struct.setUint16(0, 11, this);
252
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
253
+ }
254
+ disownAccept() { return index_1.Struct.disown(this.getAccept()); }
255
+ getAccept() {
256
+ index_1.Struct.testWhich("accept", index_1.Struct.getUint16(0, this), 11, this);
257
+ return index_1.Struct.getStruct(0, Accept, this);
258
+ }
259
+ hasAccept() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
260
+ initAccept() {
261
+ index_1.Struct.setUint16(0, 11, this);
262
+ return index_1.Struct.initStructAt(0, Accept, this);
263
+ }
264
+ isAccept() { return index_1.Struct.getUint16(0, this) === 11; }
265
+ setAccept(value) {
266
+ index_1.Struct.setUint16(0, 11, this);
267
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
268
+ }
269
+ adoptJoin(value) {
270
+ index_1.Struct.setUint16(0, 12, this);
271
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
272
+ }
273
+ disownJoin() { return index_1.Struct.disown(this.getJoin()); }
274
+ getJoin() {
275
+ index_1.Struct.testWhich("join", index_1.Struct.getUint16(0, this), 12, this);
276
+ return index_1.Struct.getStruct(0, Join, this);
277
+ }
278
+ hasJoin() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
279
+ initJoin() {
280
+ index_1.Struct.setUint16(0, 12, this);
281
+ return index_1.Struct.initStructAt(0, Join, this);
282
+ }
283
+ isJoin() { return index_1.Struct.getUint16(0, this) === 12; }
284
+ setJoin(value) {
285
+ index_1.Struct.setUint16(0, 12, this);
286
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
287
+ }
288
+ toString() { return "Message_" + super.toString(); }
289
+ which() { return index_1.Struct.getUint16(0, this); }
290
+ }
291
+ exports.Message = Message;
292
+ Message.UNIMPLEMENTED = Message_Which.UNIMPLEMENTED;
293
+ Message.ABORT = Message_Which.ABORT;
294
+ Message.BOOTSTRAP = Message_Which.BOOTSTRAP;
295
+ Message.CALL = Message_Which.CALL;
296
+ Message.RETURN = Message_Which.RETURN;
297
+ Message.FINISH = Message_Which.FINISH;
298
+ Message.RESOLVE = Message_Which.RESOLVE;
299
+ Message.RELEASE = Message_Which.RELEASE;
300
+ Message.DISEMBARGO = Message_Which.DISEMBARGO;
301
+ Message.OBSOLETE_SAVE = Message_Which.OBSOLETE_SAVE;
302
+ Message.OBSOLETE_DELETE = Message_Which.OBSOLETE_DELETE;
303
+ Message.PROVIDE = Message_Which.PROVIDE;
304
+ Message.ACCEPT = Message_Which.ACCEPT;
305
+ Message.JOIN = Message_Which.JOIN;
306
+ Message._capnp = { displayName: "Message", id: "91b79f1f808db032", size: new index_1.ObjectSize(8, 1) };
307
+ class Bootstrap extends index_1.Struct {
308
+ getQuestionId() { return index_1.Struct.getUint32(0, this); }
309
+ setQuestionId(value) { index_1.Struct.setUint32(0, value, this); }
310
+ adoptDeprecatedObjectId(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
311
+ disownDeprecatedObjectId() { return index_1.Struct.disown(this.getDeprecatedObjectId()); }
312
+ getDeprecatedObjectId() { return index_1.Struct.getPointer(0, this); }
313
+ hasDeprecatedObjectId() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
314
+ setDeprecatedObjectId(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
315
+ toString() { return "Bootstrap_" + super.toString(); }
316
+ }
317
+ exports.Bootstrap = Bootstrap;
318
+ Bootstrap._capnp = { displayName: "Bootstrap", id: "e94ccf8031176ec4", size: new index_1.ObjectSize(8, 1) };
319
+ var Call_SendResultsTo_Which;
320
+ (function (Call_SendResultsTo_Which) {
321
+ Call_SendResultsTo_Which[Call_SendResultsTo_Which["CALLER"] = 0] = "CALLER";
322
+ Call_SendResultsTo_Which[Call_SendResultsTo_Which["YOURSELF"] = 1] = "YOURSELF";
323
+ Call_SendResultsTo_Which[Call_SendResultsTo_Which["THIRD_PARTY"] = 2] = "THIRD_PARTY";
324
+ })(Call_SendResultsTo_Which = exports.Call_SendResultsTo_Which || (exports.Call_SendResultsTo_Which = {}));
325
+ class Call_SendResultsTo extends index_1.Struct {
326
+ isCaller() { return index_1.Struct.getUint16(6, this) === 0; }
327
+ setCaller() { index_1.Struct.setUint16(6, 0, this); }
328
+ isYourself() { return index_1.Struct.getUint16(6, this) === 1; }
329
+ setYourself() { index_1.Struct.setUint16(6, 1, this); }
330
+ adoptThirdParty(value) {
331
+ index_1.Struct.setUint16(6, 2, this);
332
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(2, this));
333
+ }
334
+ disownThirdParty() { return index_1.Struct.disown(this.getThirdParty()); }
335
+ getThirdParty() {
336
+ index_1.Struct.testWhich("thirdParty", index_1.Struct.getUint16(6, this), 2, this);
337
+ return index_1.Struct.getPointer(2, this);
338
+ }
339
+ hasThirdParty() { return !index_1.Struct.isNull(index_1.Struct.getPointer(2, this)); }
340
+ isThirdParty() { return index_1.Struct.getUint16(6, this) === 2; }
341
+ setThirdParty(value) {
342
+ index_1.Struct.setUint16(6, 2, this);
343
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(2, this));
344
+ }
345
+ toString() { return "Call_SendResultsTo_" + super.toString(); }
346
+ which() { return index_1.Struct.getUint16(6, this); }
347
+ }
348
+ exports.Call_SendResultsTo = Call_SendResultsTo;
349
+ Call_SendResultsTo.CALLER = Call_SendResultsTo_Which.CALLER;
350
+ Call_SendResultsTo.YOURSELF = Call_SendResultsTo_Which.YOURSELF;
351
+ Call_SendResultsTo.THIRD_PARTY = Call_SendResultsTo_Which.THIRD_PARTY;
352
+ Call_SendResultsTo._capnp = { displayName: "sendResultsTo", id: "dae8b0f61aab5f99", size: new index_1.ObjectSize(24, 3) };
353
+ class Call extends index_1.Struct {
354
+ getQuestionId() { return index_1.Struct.getUint32(0, this); }
355
+ setQuestionId(value) { index_1.Struct.setUint32(0, value, this); }
356
+ adoptTarget(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
357
+ disownTarget() { return index_1.Struct.disown(this.getTarget()); }
358
+ getTarget() { return index_1.Struct.getStruct(0, MessageTarget, this); }
359
+ hasTarget() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
360
+ initTarget() { return index_1.Struct.initStructAt(0, MessageTarget, this); }
361
+ setTarget(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
362
+ getInterfaceId() { return index_1.Struct.getUint64(8, this); }
363
+ setInterfaceId(value) { index_1.Struct.setUint64(8, value, this); }
364
+ getMethodId() { return index_1.Struct.getUint16(4, this); }
365
+ setMethodId(value) { index_1.Struct.setUint16(4, value, this); }
366
+ getAllowThirdPartyTailCall() { return index_1.Struct.getBit(128, this, Call._capnp.defaultAllowThirdPartyTailCall); }
367
+ setAllowThirdPartyTailCall(value) { index_1.Struct.setBit(128, value, this); }
368
+ adoptParams(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(1, this)); }
369
+ disownParams() { return index_1.Struct.disown(this.getParams()); }
370
+ getParams() { return index_1.Struct.getStruct(1, Payload, this); }
371
+ hasParams() { return !index_1.Struct.isNull(index_1.Struct.getPointer(1, this)); }
372
+ initParams() { return index_1.Struct.initStructAt(1, Payload, this); }
373
+ setParams(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(1, this)); }
374
+ getSendResultsTo() { return index_1.Struct.getAs(Call_SendResultsTo, this); }
375
+ initSendResultsTo() { return index_1.Struct.getAs(Call_SendResultsTo, this); }
376
+ toString() { return "Call_" + super.toString(); }
377
+ }
378
+ exports.Call = Call;
379
+ Call._capnp = { displayName: "Call", id: "836a53ce789d4cd4", size: new index_1.ObjectSize(24, 3), defaultAllowThirdPartyTailCall: capnp.getBitMask(false, 0) };
380
+ var Return_Which;
381
+ (function (Return_Which) {
382
+ Return_Which[Return_Which["RESULTS"] = 0] = "RESULTS";
383
+ Return_Which[Return_Which["EXCEPTION"] = 1] = "EXCEPTION";
384
+ Return_Which[Return_Which["CANCELED"] = 2] = "CANCELED";
385
+ Return_Which[Return_Which["RESULTS_SENT_ELSEWHERE"] = 3] = "RESULTS_SENT_ELSEWHERE";
386
+ Return_Which[Return_Which["TAKE_FROM_OTHER_QUESTION"] = 4] = "TAKE_FROM_OTHER_QUESTION";
387
+ Return_Which[Return_Which["ACCEPT_FROM_THIRD_PARTY"] = 5] = "ACCEPT_FROM_THIRD_PARTY";
388
+ })(Return_Which = exports.Return_Which || (exports.Return_Which = {}));
389
+ class Return extends index_1.Struct {
390
+ getAnswerId() { return index_1.Struct.getUint32(0, this); }
391
+ setAnswerId(value) { index_1.Struct.setUint32(0, value, this); }
392
+ getReleaseParamCaps() { return index_1.Struct.getBit(32, this, Return._capnp.defaultReleaseParamCaps); }
393
+ setReleaseParamCaps(value) { index_1.Struct.setBit(32, value, this); }
394
+ adoptResults(value) {
395
+ index_1.Struct.setUint16(6, 0, this);
396
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
397
+ }
398
+ disownResults() { return index_1.Struct.disown(this.getResults()); }
399
+ getResults() {
400
+ index_1.Struct.testWhich("results", index_1.Struct.getUint16(6, this), 0, this);
401
+ return index_1.Struct.getStruct(0, Payload, this);
402
+ }
403
+ hasResults() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
404
+ initResults() {
405
+ index_1.Struct.setUint16(6, 0, this);
406
+ return index_1.Struct.initStructAt(0, Payload, this);
407
+ }
408
+ isResults() { return index_1.Struct.getUint16(6, this) === 0; }
409
+ setResults(value) {
410
+ index_1.Struct.setUint16(6, 0, this);
411
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
412
+ }
413
+ adoptException(value) {
414
+ index_1.Struct.setUint16(6, 1, this);
415
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
416
+ }
417
+ disownException() { return index_1.Struct.disown(this.getException()); }
418
+ getException() {
419
+ index_1.Struct.testWhich("exception", index_1.Struct.getUint16(6, this), 1, this);
420
+ return index_1.Struct.getStruct(0, Exception, this);
421
+ }
422
+ hasException() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
423
+ initException() {
424
+ index_1.Struct.setUint16(6, 1, this);
425
+ return index_1.Struct.initStructAt(0, Exception, this);
426
+ }
427
+ isException() { return index_1.Struct.getUint16(6, this) === 1; }
428
+ setException(value) {
429
+ index_1.Struct.setUint16(6, 1, this);
430
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
431
+ }
432
+ isCanceled() { return index_1.Struct.getUint16(6, this) === 2; }
433
+ setCanceled() { index_1.Struct.setUint16(6, 2, this); }
434
+ isResultsSentElsewhere() { return index_1.Struct.getUint16(6, this) === 3; }
435
+ setResultsSentElsewhere() { index_1.Struct.setUint16(6, 3, this); }
436
+ getTakeFromOtherQuestion() {
437
+ index_1.Struct.testWhich("takeFromOtherQuestion", index_1.Struct.getUint16(6, this), 4, this);
438
+ return index_1.Struct.getUint32(8, this);
439
+ }
440
+ isTakeFromOtherQuestion() { return index_1.Struct.getUint16(6, this) === 4; }
441
+ setTakeFromOtherQuestion(value) {
442
+ index_1.Struct.setUint16(6, 4, this);
443
+ index_1.Struct.setUint32(8, value, this);
444
+ }
445
+ adoptAcceptFromThirdParty(value) {
446
+ index_1.Struct.setUint16(6, 5, this);
447
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
448
+ }
449
+ disownAcceptFromThirdParty() { return index_1.Struct.disown(this.getAcceptFromThirdParty()); }
450
+ getAcceptFromThirdParty() {
451
+ index_1.Struct.testWhich("acceptFromThirdParty", index_1.Struct.getUint16(6, this), 5, this);
452
+ return index_1.Struct.getPointer(0, this);
453
+ }
454
+ hasAcceptFromThirdParty() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
455
+ isAcceptFromThirdParty() { return index_1.Struct.getUint16(6, this) === 5; }
456
+ setAcceptFromThirdParty(value) {
457
+ index_1.Struct.setUint16(6, 5, this);
458
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
459
+ }
460
+ toString() { return "Return_" + super.toString(); }
461
+ which() { return index_1.Struct.getUint16(6, this); }
462
+ }
463
+ exports.Return = Return;
464
+ Return.RESULTS = Return_Which.RESULTS;
465
+ Return.EXCEPTION = Return_Which.EXCEPTION;
466
+ Return.CANCELED = Return_Which.CANCELED;
467
+ Return.RESULTS_SENT_ELSEWHERE = Return_Which.RESULTS_SENT_ELSEWHERE;
468
+ Return.TAKE_FROM_OTHER_QUESTION = Return_Which.TAKE_FROM_OTHER_QUESTION;
469
+ Return.ACCEPT_FROM_THIRD_PARTY = Return_Which.ACCEPT_FROM_THIRD_PARTY;
470
+ Return._capnp = { displayName: "Return", id: "9e19b28d3db3573a", size: new index_1.ObjectSize(16, 1), defaultReleaseParamCaps: capnp.getBitMask(true, 0) };
471
+ class Finish extends index_1.Struct {
472
+ getQuestionId() { return index_1.Struct.getUint32(0, this); }
473
+ setQuestionId(value) { index_1.Struct.setUint32(0, value, this); }
474
+ getReleaseResultCaps() { return index_1.Struct.getBit(32, this, Finish._capnp.defaultReleaseResultCaps); }
475
+ setReleaseResultCaps(value) { index_1.Struct.setBit(32, value, this); }
476
+ toString() { return "Finish_" + super.toString(); }
477
+ }
478
+ exports.Finish = Finish;
479
+ Finish._capnp = { displayName: "Finish", id: "d37d2eb2c2f80e63", size: new index_1.ObjectSize(8, 0), defaultReleaseResultCaps: capnp.getBitMask(true, 0) };
480
+ var Resolve_Which;
481
+ (function (Resolve_Which) {
482
+ Resolve_Which[Resolve_Which["CAP"] = 0] = "CAP";
483
+ Resolve_Which[Resolve_Which["EXCEPTION"] = 1] = "EXCEPTION";
484
+ })(Resolve_Which = exports.Resolve_Which || (exports.Resolve_Which = {}));
485
+ class Resolve extends index_1.Struct {
486
+ getPromiseId() { return index_1.Struct.getUint32(0, this); }
487
+ setPromiseId(value) { index_1.Struct.setUint32(0, value, this); }
488
+ adoptCap(value) {
489
+ index_1.Struct.setUint16(4, 0, this);
490
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
491
+ }
492
+ disownCap() { return index_1.Struct.disown(this.getCap()); }
493
+ getCap() {
494
+ index_1.Struct.testWhich("cap", index_1.Struct.getUint16(4, this), 0, this);
495
+ return index_1.Struct.getStruct(0, CapDescriptor, this);
496
+ }
497
+ hasCap() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
498
+ initCap() {
499
+ index_1.Struct.setUint16(4, 0, this);
500
+ return index_1.Struct.initStructAt(0, CapDescriptor, this);
501
+ }
502
+ isCap() { return index_1.Struct.getUint16(4, this) === 0; }
503
+ setCap(value) {
504
+ index_1.Struct.setUint16(4, 0, this);
505
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
506
+ }
507
+ adoptException(value) {
508
+ index_1.Struct.setUint16(4, 1, this);
509
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
510
+ }
511
+ disownException() { return index_1.Struct.disown(this.getException()); }
512
+ getException() {
513
+ index_1.Struct.testWhich("exception", index_1.Struct.getUint16(4, this), 1, this);
514
+ return index_1.Struct.getStruct(0, Exception, this);
515
+ }
516
+ hasException() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
517
+ initException() {
518
+ index_1.Struct.setUint16(4, 1, this);
519
+ return index_1.Struct.initStructAt(0, Exception, this);
520
+ }
521
+ isException() { return index_1.Struct.getUint16(4, this) === 1; }
522
+ setException(value) {
523
+ index_1.Struct.setUint16(4, 1, this);
524
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
525
+ }
526
+ toString() { return "Resolve_" + super.toString(); }
527
+ which() { return index_1.Struct.getUint16(4, this); }
528
+ }
529
+ exports.Resolve = Resolve;
530
+ Resolve.CAP = Resolve_Which.CAP;
531
+ Resolve.EXCEPTION = Resolve_Which.EXCEPTION;
532
+ Resolve._capnp = { displayName: "Resolve", id: "bbc29655fa89086e", size: new index_1.ObjectSize(8, 1) };
533
+ class Release extends index_1.Struct {
534
+ getId() { return index_1.Struct.getUint32(0, this); }
535
+ setId(value) { index_1.Struct.setUint32(0, value, this); }
536
+ getReferenceCount() { return index_1.Struct.getUint32(4, this); }
537
+ setReferenceCount(value) { index_1.Struct.setUint32(4, value, this); }
538
+ toString() { return "Release_" + super.toString(); }
539
+ }
540
+ exports.Release = Release;
541
+ Release._capnp = { displayName: "Release", id: "ad1a6c0d7dd07497", size: new index_1.ObjectSize(8, 0) };
542
+ var Disembargo_Context_Which;
543
+ (function (Disembargo_Context_Which) {
544
+ Disembargo_Context_Which[Disembargo_Context_Which["SENDER_LOOPBACK"] = 0] = "SENDER_LOOPBACK";
545
+ Disembargo_Context_Which[Disembargo_Context_Which["RECEIVER_LOOPBACK"] = 1] = "RECEIVER_LOOPBACK";
546
+ Disembargo_Context_Which[Disembargo_Context_Which["ACCEPT"] = 2] = "ACCEPT";
547
+ Disembargo_Context_Which[Disembargo_Context_Which["PROVIDE"] = 3] = "PROVIDE";
548
+ })(Disembargo_Context_Which = exports.Disembargo_Context_Which || (exports.Disembargo_Context_Which = {}));
549
+ class Disembargo_Context extends index_1.Struct {
550
+ getSenderLoopback() {
551
+ index_1.Struct.testWhich("senderLoopback", index_1.Struct.getUint16(4, this), 0, this);
552
+ return index_1.Struct.getUint32(0, this);
553
+ }
554
+ isSenderLoopback() { return index_1.Struct.getUint16(4, this) === 0; }
555
+ setSenderLoopback(value) {
556
+ index_1.Struct.setUint16(4, 0, this);
557
+ index_1.Struct.setUint32(0, value, this);
558
+ }
559
+ getReceiverLoopback() {
560
+ index_1.Struct.testWhich("receiverLoopback", index_1.Struct.getUint16(4, this), 1, this);
561
+ return index_1.Struct.getUint32(0, this);
562
+ }
563
+ isReceiverLoopback() { return index_1.Struct.getUint16(4, this) === 1; }
564
+ setReceiverLoopback(value) {
565
+ index_1.Struct.setUint16(4, 1, this);
566
+ index_1.Struct.setUint32(0, value, this);
567
+ }
568
+ isAccept() { return index_1.Struct.getUint16(4, this) === 2; }
569
+ setAccept() { index_1.Struct.setUint16(4, 2, this); }
570
+ getProvide() {
571
+ index_1.Struct.testWhich("provide", index_1.Struct.getUint16(4, this), 3, this);
572
+ return index_1.Struct.getUint32(0, this);
573
+ }
574
+ isProvide() { return index_1.Struct.getUint16(4, this) === 3; }
575
+ setProvide(value) {
576
+ index_1.Struct.setUint16(4, 3, this);
577
+ index_1.Struct.setUint32(0, value, this);
578
+ }
579
+ toString() { return "Disembargo_Context_" + super.toString(); }
580
+ which() { return index_1.Struct.getUint16(4, this); }
581
+ }
582
+ exports.Disembargo_Context = Disembargo_Context;
583
+ Disembargo_Context.SENDER_LOOPBACK = Disembargo_Context_Which.SENDER_LOOPBACK;
584
+ Disembargo_Context.RECEIVER_LOOPBACK = Disembargo_Context_Which.RECEIVER_LOOPBACK;
585
+ Disembargo_Context.ACCEPT = Disembargo_Context_Which.ACCEPT;
586
+ Disembargo_Context.PROVIDE = Disembargo_Context_Which.PROVIDE;
587
+ Disembargo_Context._capnp = { displayName: "context", id: "d562b4df655bdd4d", size: new index_1.ObjectSize(8, 1) };
588
+ class Disembargo extends index_1.Struct {
589
+ adoptTarget(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
590
+ disownTarget() { return index_1.Struct.disown(this.getTarget()); }
591
+ getTarget() { return index_1.Struct.getStruct(0, MessageTarget, this); }
592
+ hasTarget() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
593
+ initTarget() { return index_1.Struct.initStructAt(0, MessageTarget, this); }
594
+ setTarget(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
595
+ getContext() { return index_1.Struct.getAs(Disembargo_Context, this); }
596
+ initContext() { return index_1.Struct.getAs(Disembargo_Context, this); }
597
+ toString() { return "Disembargo_" + super.toString(); }
598
+ }
599
+ exports.Disembargo = Disembargo;
600
+ Disembargo._capnp = { displayName: "Disembargo", id: "f964368b0fbd3711", size: new index_1.ObjectSize(8, 1) };
601
+ class Provide extends index_1.Struct {
602
+ getQuestionId() { return index_1.Struct.getUint32(0, this); }
603
+ setQuestionId(value) { index_1.Struct.setUint32(0, value, this); }
604
+ adoptTarget(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
605
+ disownTarget() { return index_1.Struct.disown(this.getTarget()); }
606
+ getTarget() { return index_1.Struct.getStruct(0, MessageTarget, this); }
607
+ hasTarget() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
608
+ initTarget() { return index_1.Struct.initStructAt(0, MessageTarget, this); }
609
+ setTarget(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
610
+ adoptRecipient(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(1, this)); }
611
+ disownRecipient() { return index_1.Struct.disown(this.getRecipient()); }
612
+ getRecipient() { return index_1.Struct.getPointer(1, this); }
613
+ hasRecipient() { return !index_1.Struct.isNull(index_1.Struct.getPointer(1, this)); }
614
+ setRecipient(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(1, this)); }
615
+ toString() { return "Provide_" + super.toString(); }
616
+ }
617
+ exports.Provide = Provide;
618
+ Provide._capnp = { displayName: "Provide", id: "9c6a046bfbc1ac5a", size: new index_1.ObjectSize(8, 2) };
619
+ class Accept extends index_1.Struct {
620
+ getQuestionId() { return index_1.Struct.getUint32(0, this); }
621
+ setQuestionId(value) { index_1.Struct.setUint32(0, value, this); }
622
+ adoptProvision(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
623
+ disownProvision() { return index_1.Struct.disown(this.getProvision()); }
624
+ getProvision() { return index_1.Struct.getPointer(0, this); }
625
+ hasProvision() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
626
+ setProvision(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
627
+ getEmbargo() { return index_1.Struct.getBit(32, this); }
628
+ setEmbargo(value) { index_1.Struct.setBit(32, value, this); }
629
+ toString() { return "Accept_" + super.toString(); }
630
+ }
631
+ exports.Accept = Accept;
632
+ Accept._capnp = { displayName: "Accept", id: "d4c9b56290554016", size: new index_1.ObjectSize(8, 1) };
633
+ class Join extends index_1.Struct {
634
+ getQuestionId() { return index_1.Struct.getUint32(0, this); }
635
+ setQuestionId(value) { index_1.Struct.setUint32(0, value, this); }
636
+ adoptTarget(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
637
+ disownTarget() { return index_1.Struct.disown(this.getTarget()); }
638
+ getTarget() { return index_1.Struct.getStruct(0, MessageTarget, this); }
639
+ hasTarget() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
640
+ initTarget() { return index_1.Struct.initStructAt(0, MessageTarget, this); }
641
+ setTarget(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
642
+ adoptKeyPart(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(1, this)); }
643
+ disownKeyPart() { return index_1.Struct.disown(this.getKeyPart()); }
644
+ getKeyPart() { return index_1.Struct.getPointer(1, this); }
645
+ hasKeyPart() { return !index_1.Struct.isNull(index_1.Struct.getPointer(1, this)); }
646
+ setKeyPart(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(1, this)); }
647
+ toString() { return "Join_" + super.toString(); }
648
+ }
649
+ exports.Join = Join;
650
+ Join._capnp = { displayName: "Join", id: "fbe1980490e001af", size: new index_1.ObjectSize(8, 2) };
651
+ var MessageTarget_Which;
652
+ (function (MessageTarget_Which) {
653
+ MessageTarget_Which[MessageTarget_Which["IMPORTED_CAP"] = 0] = "IMPORTED_CAP";
654
+ MessageTarget_Which[MessageTarget_Which["PROMISED_ANSWER"] = 1] = "PROMISED_ANSWER";
655
+ })(MessageTarget_Which = exports.MessageTarget_Which || (exports.MessageTarget_Which = {}));
656
+ class MessageTarget extends index_1.Struct {
657
+ getImportedCap() {
658
+ index_1.Struct.testWhich("importedCap", index_1.Struct.getUint16(4, this), 0, this);
659
+ return index_1.Struct.getUint32(0, this);
660
+ }
661
+ isImportedCap() { return index_1.Struct.getUint16(4, this) === 0; }
662
+ setImportedCap(value) {
663
+ index_1.Struct.setUint16(4, 0, this);
664
+ index_1.Struct.setUint32(0, value, this);
665
+ }
666
+ adoptPromisedAnswer(value) {
667
+ index_1.Struct.setUint16(4, 1, this);
668
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
669
+ }
670
+ disownPromisedAnswer() { return index_1.Struct.disown(this.getPromisedAnswer()); }
671
+ getPromisedAnswer() {
672
+ index_1.Struct.testWhich("promisedAnswer", index_1.Struct.getUint16(4, this), 1, this);
673
+ return index_1.Struct.getStruct(0, PromisedAnswer, this);
674
+ }
675
+ hasPromisedAnswer() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
676
+ initPromisedAnswer() {
677
+ index_1.Struct.setUint16(4, 1, this);
678
+ return index_1.Struct.initStructAt(0, PromisedAnswer, this);
679
+ }
680
+ isPromisedAnswer() { return index_1.Struct.getUint16(4, this) === 1; }
681
+ setPromisedAnswer(value) {
682
+ index_1.Struct.setUint16(4, 1, this);
683
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
684
+ }
685
+ toString() { return "MessageTarget_" + super.toString(); }
686
+ which() { return index_1.Struct.getUint16(4, this); }
687
+ }
688
+ exports.MessageTarget = MessageTarget;
689
+ MessageTarget.IMPORTED_CAP = MessageTarget_Which.IMPORTED_CAP;
690
+ MessageTarget.PROMISED_ANSWER = MessageTarget_Which.PROMISED_ANSWER;
691
+ MessageTarget._capnp = { displayName: "MessageTarget", id: "95bc14545813fbc1", size: new index_1.ObjectSize(8, 1) };
692
+ class Payload extends index_1.Struct {
693
+ adoptContent(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
694
+ disownContent() { return index_1.Struct.disown(this.getContent()); }
695
+ getContent() { return index_1.Struct.getPointer(0, this); }
696
+ hasContent() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
697
+ setContent(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
698
+ adoptCapTable(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(1, this)); }
699
+ disownCapTable() { return index_1.Struct.disown(this.getCapTable()); }
700
+ getCapTable() { return index_1.Struct.getList(1, Payload._CapTable, this); }
701
+ hasCapTable() { return !index_1.Struct.isNull(index_1.Struct.getPointer(1, this)); }
702
+ initCapTable(length) { return index_1.Struct.initList(1, Payload._CapTable, length, this); }
703
+ setCapTable(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(1, this)); }
704
+ toString() { return "Payload_" + super.toString(); }
705
+ }
706
+ exports.Payload = Payload;
707
+ Payload._capnp = { displayName: "Payload", id: "9a0e61223d96743b", size: new index_1.ObjectSize(0, 2) };
708
+ var CapDescriptor_Which;
709
+ (function (CapDescriptor_Which) {
710
+ CapDescriptor_Which[CapDescriptor_Which["NONE"] = 0] = "NONE";
711
+ CapDescriptor_Which[CapDescriptor_Which["SENDER_HOSTED"] = 1] = "SENDER_HOSTED";
712
+ CapDescriptor_Which[CapDescriptor_Which["SENDER_PROMISE"] = 2] = "SENDER_PROMISE";
713
+ CapDescriptor_Which[CapDescriptor_Which["RECEIVER_HOSTED"] = 3] = "RECEIVER_HOSTED";
714
+ CapDescriptor_Which[CapDescriptor_Which["RECEIVER_ANSWER"] = 4] = "RECEIVER_ANSWER";
715
+ CapDescriptor_Which[CapDescriptor_Which["THIRD_PARTY_HOSTED"] = 5] = "THIRD_PARTY_HOSTED";
716
+ })(CapDescriptor_Which = exports.CapDescriptor_Which || (exports.CapDescriptor_Which = {}));
717
+ class CapDescriptor extends index_1.Struct {
718
+ isNone() { return index_1.Struct.getUint16(0, this) === 0; }
719
+ setNone() { index_1.Struct.setUint16(0, 0, this); }
720
+ getSenderHosted() {
721
+ index_1.Struct.testWhich("senderHosted", index_1.Struct.getUint16(0, this), 1, this);
722
+ return index_1.Struct.getUint32(4, this);
723
+ }
724
+ isSenderHosted() { return index_1.Struct.getUint16(0, this) === 1; }
725
+ setSenderHosted(value) {
726
+ index_1.Struct.setUint16(0, 1, this);
727
+ index_1.Struct.setUint32(4, value, this);
728
+ }
729
+ getSenderPromise() {
730
+ index_1.Struct.testWhich("senderPromise", index_1.Struct.getUint16(0, this), 2, this);
731
+ return index_1.Struct.getUint32(4, this);
732
+ }
733
+ isSenderPromise() { return index_1.Struct.getUint16(0, this) === 2; }
734
+ setSenderPromise(value) {
735
+ index_1.Struct.setUint16(0, 2, this);
736
+ index_1.Struct.setUint32(4, value, this);
737
+ }
738
+ getReceiverHosted() {
739
+ index_1.Struct.testWhich("receiverHosted", index_1.Struct.getUint16(0, this), 3, this);
740
+ return index_1.Struct.getUint32(4, this);
741
+ }
742
+ isReceiverHosted() { return index_1.Struct.getUint16(0, this) === 3; }
743
+ setReceiverHosted(value) {
744
+ index_1.Struct.setUint16(0, 3, this);
745
+ index_1.Struct.setUint32(4, value, this);
746
+ }
747
+ adoptReceiverAnswer(value) {
748
+ index_1.Struct.setUint16(0, 4, this);
749
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
750
+ }
751
+ disownReceiverAnswer() { return index_1.Struct.disown(this.getReceiverAnswer()); }
752
+ getReceiverAnswer() {
753
+ index_1.Struct.testWhich("receiverAnswer", index_1.Struct.getUint16(0, this), 4, this);
754
+ return index_1.Struct.getStruct(0, PromisedAnswer, this);
755
+ }
756
+ hasReceiverAnswer() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
757
+ initReceiverAnswer() {
758
+ index_1.Struct.setUint16(0, 4, this);
759
+ return index_1.Struct.initStructAt(0, PromisedAnswer, this);
760
+ }
761
+ isReceiverAnswer() { return index_1.Struct.getUint16(0, this) === 4; }
762
+ setReceiverAnswer(value) {
763
+ index_1.Struct.setUint16(0, 4, this);
764
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
765
+ }
766
+ adoptThirdPartyHosted(value) {
767
+ index_1.Struct.setUint16(0, 5, this);
768
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
769
+ }
770
+ disownThirdPartyHosted() { return index_1.Struct.disown(this.getThirdPartyHosted()); }
771
+ getThirdPartyHosted() {
772
+ index_1.Struct.testWhich("thirdPartyHosted", index_1.Struct.getUint16(0, this), 5, this);
773
+ return index_1.Struct.getStruct(0, ThirdPartyCapDescriptor, this);
774
+ }
775
+ hasThirdPartyHosted() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
776
+ initThirdPartyHosted() {
777
+ index_1.Struct.setUint16(0, 5, this);
778
+ return index_1.Struct.initStructAt(0, ThirdPartyCapDescriptor, this);
779
+ }
780
+ isThirdPartyHosted() { return index_1.Struct.getUint16(0, this) === 5; }
781
+ setThirdPartyHosted(value) {
782
+ index_1.Struct.setUint16(0, 5, this);
783
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
784
+ }
785
+ toString() { return "CapDescriptor_" + super.toString(); }
786
+ which() { return index_1.Struct.getUint16(0, this); }
787
+ }
788
+ exports.CapDescriptor = CapDescriptor;
789
+ CapDescriptor.NONE = CapDescriptor_Which.NONE;
790
+ CapDescriptor.SENDER_HOSTED = CapDescriptor_Which.SENDER_HOSTED;
791
+ CapDescriptor.SENDER_PROMISE = CapDescriptor_Which.SENDER_PROMISE;
792
+ CapDescriptor.RECEIVER_HOSTED = CapDescriptor_Which.RECEIVER_HOSTED;
793
+ CapDescriptor.RECEIVER_ANSWER = CapDescriptor_Which.RECEIVER_ANSWER;
794
+ CapDescriptor.THIRD_PARTY_HOSTED = CapDescriptor_Which.THIRD_PARTY_HOSTED;
795
+ CapDescriptor._capnp = { displayName: "CapDescriptor", id: "8523ddc40b86b8b0", size: new index_1.ObjectSize(8, 1) };
796
+ var PromisedAnswer_Op_Which;
797
+ (function (PromisedAnswer_Op_Which) {
798
+ PromisedAnswer_Op_Which[PromisedAnswer_Op_Which["NOOP"] = 0] = "NOOP";
799
+ PromisedAnswer_Op_Which[PromisedAnswer_Op_Which["GET_POINTER_FIELD"] = 1] = "GET_POINTER_FIELD";
800
+ })(PromisedAnswer_Op_Which = exports.PromisedAnswer_Op_Which || (exports.PromisedAnswer_Op_Which = {}));
801
+ class PromisedAnswer_Op extends index_1.Struct {
802
+ isNoop() { return index_1.Struct.getUint16(0, this) === 0; }
803
+ setNoop() { index_1.Struct.setUint16(0, 0, this); }
804
+ getGetPointerField() {
805
+ index_1.Struct.testWhich("getPointerField", index_1.Struct.getUint16(0, this), 1, this);
806
+ return index_1.Struct.getUint16(2, this);
807
+ }
808
+ isGetPointerField() { return index_1.Struct.getUint16(0, this) === 1; }
809
+ setGetPointerField(value) {
810
+ index_1.Struct.setUint16(0, 1, this);
811
+ index_1.Struct.setUint16(2, value, this);
812
+ }
813
+ toString() { return "PromisedAnswer_Op_" + super.toString(); }
814
+ which() { return index_1.Struct.getUint16(0, this); }
815
+ }
816
+ exports.PromisedAnswer_Op = PromisedAnswer_Op;
817
+ PromisedAnswer_Op.NOOP = PromisedAnswer_Op_Which.NOOP;
818
+ PromisedAnswer_Op.GET_POINTER_FIELD = PromisedAnswer_Op_Which.GET_POINTER_FIELD;
819
+ PromisedAnswer_Op._capnp = { displayName: "Op", id: "f316944415569081", size: new index_1.ObjectSize(8, 0) };
820
+ class PromisedAnswer extends index_1.Struct {
821
+ getQuestionId() { return index_1.Struct.getUint32(0, this); }
822
+ setQuestionId(value) { index_1.Struct.setUint32(0, value, this); }
823
+ adoptTransform(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
824
+ disownTransform() { return index_1.Struct.disown(this.getTransform()); }
825
+ getTransform() { return index_1.Struct.getList(0, PromisedAnswer._Transform, this); }
826
+ hasTransform() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
827
+ initTransform(length) { return index_1.Struct.initList(0, PromisedAnswer._Transform, length, this); }
828
+ setTransform(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
829
+ toString() { return "PromisedAnswer_" + super.toString(); }
830
+ }
831
+ exports.PromisedAnswer = PromisedAnswer;
832
+ PromisedAnswer.Op = PromisedAnswer_Op;
833
+ PromisedAnswer._capnp = { displayName: "PromisedAnswer", id: "d800b1d6cd6f1ca0", size: new index_1.ObjectSize(8, 1) };
834
+ class ThirdPartyCapDescriptor extends index_1.Struct {
835
+ adoptId(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
836
+ disownId() { return index_1.Struct.disown(this.getId()); }
837
+ getId() { return index_1.Struct.getPointer(0, this); }
838
+ hasId() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
839
+ setId(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
840
+ getVineId() { return index_1.Struct.getUint32(0, this); }
841
+ setVineId(value) { index_1.Struct.setUint32(0, value, this); }
842
+ toString() { return "ThirdPartyCapDescriptor_" + super.toString(); }
843
+ }
844
+ exports.ThirdPartyCapDescriptor = ThirdPartyCapDescriptor;
845
+ ThirdPartyCapDescriptor._capnp = { displayName: "ThirdPartyCapDescriptor", id: "d37007fde1f0027d", size: new index_1.ObjectSize(8, 1) };
846
+ var Exception_Type;
847
+ (function (Exception_Type) {
848
+ Exception_Type[Exception_Type["FAILED"] = 0] = "FAILED";
849
+ Exception_Type[Exception_Type["OVERLOADED"] = 1] = "OVERLOADED";
850
+ Exception_Type[Exception_Type["DISCONNECTED"] = 2] = "DISCONNECTED";
851
+ Exception_Type[Exception_Type["UNIMPLEMENTED"] = 3] = "UNIMPLEMENTED";
852
+ })(Exception_Type = exports.Exception_Type || (exports.Exception_Type = {}));
853
+ class Exception extends index_1.Struct {
854
+ getReason() { return index_1.Struct.getText(0, this); }
855
+ setReason(value) { index_1.Struct.setText(0, value, this); }
856
+ getType() { return index_1.Struct.getUint16(4, this); }
857
+ setType(value) { index_1.Struct.setUint16(4, value, this); }
858
+ getObsoleteIsCallersFault() { return index_1.Struct.getBit(0, this); }
859
+ setObsoleteIsCallersFault(value) { index_1.Struct.setBit(0, value, this); }
860
+ getObsoleteDurability() { return index_1.Struct.getUint16(2, this); }
861
+ setObsoleteDurability(value) { index_1.Struct.setUint16(2, value, this); }
862
+ toString() { return "Exception_" + super.toString(); }
863
+ }
864
+ exports.Exception = Exception;
865
+ Exception.Type = Exception_Type;
866
+ Exception._capnp = { displayName: "Exception", id: "d625b7063acf691a", size: new index_1.ObjectSize(8, 1) };
867
+ Payload._CapTable = capnp.CompositeList(CapDescriptor);
868
+ PromisedAnswer._Transform = capnp.CompositeList(PromisedAnswer_Op);
869
+ //# sourceMappingURL=rpc.capnp.js.map
workers1/auto3d/node_modules/capnp-ts/src/std/rpc.capnp.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"rpc.capnp.js","sourceRoot":"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 
 
 
 
1
+ /**
2
+ * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
3
+ * compiled output.
4
+ */
5
+
6
+ import * as capnp from "../index";
7
+ import { ObjectSize as __O, Struct as __S } from "../index";
8
+ export const _capnpFileId = "b312981b2552a250";
9
+ export enum Message_Which {
10
+ UNIMPLEMENTED = 0,
11
+ ABORT = 1,
12
+ BOOTSTRAP = 8,
13
+ CALL = 2,
14
+ RETURN = 3,
15
+ FINISH = 4,
16
+ RESOLVE = 5,
17
+ RELEASE = 6,
18
+ DISEMBARGO = 13,
19
+ OBSOLETE_SAVE = 7,
20
+ OBSOLETE_DELETE = 9,
21
+ PROVIDE = 10,
22
+ ACCEPT = 11,
23
+ JOIN = 12
24
+ }
25
+ export class Message extends __S {
26
+ static readonly UNIMPLEMENTED = Message_Which.UNIMPLEMENTED;
27
+ static readonly ABORT = Message_Which.ABORT;
28
+ static readonly BOOTSTRAP = Message_Which.BOOTSTRAP;
29
+ static readonly CALL = Message_Which.CALL;
30
+ static readonly RETURN = Message_Which.RETURN;
31
+ static readonly FINISH = Message_Which.FINISH;
32
+ static readonly RESOLVE = Message_Which.RESOLVE;
33
+ static readonly RELEASE = Message_Which.RELEASE;
34
+ static readonly DISEMBARGO = Message_Which.DISEMBARGO;
35
+ static readonly OBSOLETE_SAVE = Message_Which.OBSOLETE_SAVE;
36
+ static readonly OBSOLETE_DELETE = Message_Which.OBSOLETE_DELETE;
37
+ static readonly PROVIDE = Message_Which.PROVIDE;
38
+ static readonly ACCEPT = Message_Which.ACCEPT;
39
+ static readonly JOIN = Message_Which.JOIN;
40
+ static readonly _capnp = { displayName: "Message", id: "91b79f1f808db032", size: new __O(8, 1) };
41
+ adoptUnimplemented(value: capnp.Orphan<Message>): void {
42
+ __S.setUint16(0, 0, this);
43
+ __S.adopt(value, __S.getPointer(0, this));
44
+ }
45
+ disownUnimplemented(): capnp.Orphan<Message> { return __S.disown(this.getUnimplemented()); }
46
+ getUnimplemented(): Message {
47
+ __S.testWhich("unimplemented", __S.getUint16(0, this), 0, this);
48
+ return __S.getStruct(0, Message, this);
49
+ }
50
+ hasUnimplemented(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
51
+ initUnimplemented(): Message {
52
+ __S.setUint16(0, 0, this);
53
+ return __S.initStructAt(0, Message, this);
54
+ }
55
+ isUnimplemented(): boolean { return __S.getUint16(0, this) === 0; }
56
+ setUnimplemented(value: Message): void {
57
+ __S.setUint16(0, 0, this);
58
+ __S.copyFrom(value, __S.getPointer(0, this));
59
+ }
60
+ adoptAbort(value: capnp.Orphan<Exception>): void {
61
+ __S.setUint16(0, 1, this);
62
+ __S.adopt(value, __S.getPointer(0, this));
63
+ }
64
+ disownAbort(): capnp.Orphan<Exception> { return __S.disown(this.getAbort()); }
65
+ getAbort(): Exception {
66
+ __S.testWhich("abort", __S.getUint16(0, this), 1, this);
67
+ return __S.getStruct(0, Exception, this);
68
+ }
69
+ hasAbort(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
70
+ initAbort(): Exception {
71
+ __S.setUint16(0, 1, this);
72
+ return __S.initStructAt(0, Exception, this);
73
+ }
74
+ isAbort(): boolean { return __S.getUint16(0, this) === 1; }
75
+ setAbort(value: Exception): void {
76
+ __S.setUint16(0, 1, this);
77
+ __S.copyFrom(value, __S.getPointer(0, this));
78
+ }
79
+ adoptBootstrap(value: capnp.Orphan<Bootstrap>): void {
80
+ __S.setUint16(0, 8, this);
81
+ __S.adopt(value, __S.getPointer(0, this));
82
+ }
83
+ disownBootstrap(): capnp.Orphan<Bootstrap> { return __S.disown(this.getBootstrap()); }
84
+ getBootstrap(): Bootstrap {
85
+ __S.testWhich("bootstrap", __S.getUint16(0, this), 8, this);
86
+ return __S.getStruct(0, Bootstrap, this);
87
+ }
88
+ hasBootstrap(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
89
+ initBootstrap(): Bootstrap {
90
+ __S.setUint16(0, 8, this);
91
+ return __S.initStructAt(0, Bootstrap, this);
92
+ }
93
+ isBootstrap(): boolean { return __S.getUint16(0, this) === 8; }
94
+ setBootstrap(value: Bootstrap): void {
95
+ __S.setUint16(0, 8, this);
96
+ __S.copyFrom(value, __S.getPointer(0, this));
97
+ }
98
+ adoptCall(value: capnp.Orphan<Call>): void {
99
+ __S.setUint16(0, 2, this);
100
+ __S.adopt(value, __S.getPointer(0, this));
101
+ }
102
+ disownCall(): capnp.Orphan<Call> { return __S.disown(this.getCall()); }
103
+ getCall(): Call {
104
+ __S.testWhich("call", __S.getUint16(0, this), 2, this);
105
+ return __S.getStruct(0, Call, this);
106
+ }
107
+ hasCall(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
108
+ initCall(): Call {
109
+ __S.setUint16(0, 2, this);
110
+ return __S.initStructAt(0, Call, this);
111
+ }
112
+ isCall(): boolean { return __S.getUint16(0, this) === 2; }
113
+ setCall(value: Call): void {
114
+ __S.setUint16(0, 2, this);
115
+ __S.copyFrom(value, __S.getPointer(0, this));
116
+ }
117
+ adoptReturn(value: capnp.Orphan<Return>): void {
118
+ __S.setUint16(0, 3, this);
119
+ __S.adopt(value, __S.getPointer(0, this));
120
+ }
121
+ disownReturn(): capnp.Orphan<Return> { return __S.disown(this.getReturn()); }
122
+ getReturn(): Return {
123
+ __S.testWhich("return", __S.getUint16(0, this), 3, this);
124
+ return __S.getStruct(0, Return, this);
125
+ }
126
+ hasReturn(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
127
+ initReturn(): Return {
128
+ __S.setUint16(0, 3, this);
129
+ return __S.initStructAt(0, Return, this);
130
+ }
131
+ isReturn(): boolean { return __S.getUint16(0, this) === 3; }
132
+ setReturn(value: Return): void {
133
+ __S.setUint16(0, 3, this);
134
+ __S.copyFrom(value, __S.getPointer(0, this));
135
+ }
136
+ adoptFinish(value: capnp.Orphan<Finish>): void {
137
+ __S.setUint16(0, 4, this);
138
+ __S.adopt(value, __S.getPointer(0, this));
139
+ }
140
+ disownFinish(): capnp.Orphan<Finish> { return __S.disown(this.getFinish()); }
141
+ getFinish(): Finish {
142
+ __S.testWhich("finish", __S.getUint16(0, this), 4, this);
143
+ return __S.getStruct(0, Finish, this);
144
+ }
145
+ hasFinish(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
146
+ initFinish(): Finish {
147
+ __S.setUint16(0, 4, this);
148
+ return __S.initStructAt(0, Finish, this);
149
+ }
150
+ isFinish(): boolean { return __S.getUint16(0, this) === 4; }
151
+ setFinish(value: Finish): void {
152
+ __S.setUint16(0, 4, this);
153
+ __S.copyFrom(value, __S.getPointer(0, this));
154
+ }
155
+ adoptResolve(value: capnp.Orphan<Resolve>): void {
156
+ __S.setUint16(0, 5, this);
157
+ __S.adopt(value, __S.getPointer(0, this));
158
+ }
159
+ disownResolve(): capnp.Orphan<Resolve> { return __S.disown(this.getResolve()); }
160
+ getResolve(): Resolve {
161
+ __S.testWhich("resolve", __S.getUint16(0, this), 5, this);
162
+ return __S.getStruct(0, Resolve, this);
163
+ }
164
+ hasResolve(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
165
+ initResolve(): Resolve {
166
+ __S.setUint16(0, 5, this);
167
+ return __S.initStructAt(0, Resolve, this);
168
+ }
169
+ isResolve(): boolean { return __S.getUint16(0, this) === 5; }
170
+ setResolve(value: Resolve): void {
171
+ __S.setUint16(0, 5, this);
172
+ __S.copyFrom(value, __S.getPointer(0, this));
173
+ }
174
+ adoptRelease(value: capnp.Orphan<Release>): void {
175
+ __S.setUint16(0, 6, this);
176
+ __S.adopt(value, __S.getPointer(0, this));
177
+ }
178
+ disownRelease(): capnp.Orphan<Release> { return __S.disown(this.getRelease()); }
179
+ getRelease(): Release {
180
+ __S.testWhich("release", __S.getUint16(0, this), 6, this);
181
+ return __S.getStruct(0, Release, this);
182
+ }
183
+ hasRelease(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
184
+ initRelease(): Release {
185
+ __S.setUint16(0, 6, this);
186
+ return __S.initStructAt(0, Release, this);
187
+ }
188
+ isRelease(): boolean { return __S.getUint16(0, this) === 6; }
189
+ setRelease(value: Release): void {
190
+ __S.setUint16(0, 6, this);
191
+ __S.copyFrom(value, __S.getPointer(0, this));
192
+ }
193
+ adoptDisembargo(value: capnp.Orphan<Disembargo>): void {
194
+ __S.setUint16(0, 13, this);
195
+ __S.adopt(value, __S.getPointer(0, this));
196
+ }
197
+ disownDisembargo(): capnp.Orphan<Disembargo> { return __S.disown(this.getDisembargo()); }
198
+ getDisembargo(): Disembargo {
199
+ __S.testWhich("disembargo", __S.getUint16(0, this), 13, this);
200
+ return __S.getStruct(0, Disembargo, this);
201
+ }
202
+ hasDisembargo(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
203
+ initDisembargo(): Disembargo {
204
+ __S.setUint16(0, 13, this);
205
+ return __S.initStructAt(0, Disembargo, this);
206
+ }
207
+ isDisembargo(): boolean { return __S.getUint16(0, this) === 13; }
208
+ setDisembargo(value: Disembargo): void {
209
+ __S.setUint16(0, 13, this);
210
+ __S.copyFrom(value, __S.getPointer(0, this));
211
+ }
212
+ adoptObsoleteSave(value: capnp.Orphan<capnp.Pointer>): void {
213
+ __S.setUint16(0, 7, this);
214
+ __S.adopt(value, __S.getPointer(0, this));
215
+ }
216
+ disownObsoleteSave(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getObsoleteSave()); }
217
+ getObsoleteSave(): capnp.Pointer {
218
+ __S.testWhich("obsoleteSave", __S.getUint16(0, this), 7, this);
219
+ return __S.getPointer(0, this);
220
+ }
221
+ hasObsoleteSave(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
222
+ isObsoleteSave(): boolean { return __S.getUint16(0, this) === 7; }
223
+ setObsoleteSave(value: capnp.Pointer): void {
224
+ __S.setUint16(0, 7, this);
225
+ __S.copyFrom(value, __S.getPointer(0, this));
226
+ }
227
+ adoptObsoleteDelete(value: capnp.Orphan<capnp.Pointer>): void {
228
+ __S.setUint16(0, 9, this);
229
+ __S.adopt(value, __S.getPointer(0, this));
230
+ }
231
+ disownObsoleteDelete(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getObsoleteDelete()); }
232
+ getObsoleteDelete(): capnp.Pointer {
233
+ __S.testWhich("obsoleteDelete", __S.getUint16(0, this), 9, this);
234
+ return __S.getPointer(0, this);
235
+ }
236
+ hasObsoleteDelete(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
237
+ isObsoleteDelete(): boolean { return __S.getUint16(0, this) === 9; }
238
+ setObsoleteDelete(value: capnp.Pointer): void {
239
+ __S.setUint16(0, 9, this);
240
+ __S.copyFrom(value, __S.getPointer(0, this));
241
+ }
242
+ adoptProvide(value: capnp.Orphan<Provide>): void {
243
+ __S.setUint16(0, 10, this);
244
+ __S.adopt(value, __S.getPointer(0, this));
245
+ }
246
+ disownProvide(): capnp.Orphan<Provide> { return __S.disown(this.getProvide()); }
247
+ getProvide(): Provide {
248
+ __S.testWhich("provide", __S.getUint16(0, this), 10, this);
249
+ return __S.getStruct(0, Provide, this);
250
+ }
251
+ hasProvide(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
252
+ initProvide(): Provide {
253
+ __S.setUint16(0, 10, this);
254
+ return __S.initStructAt(0, Provide, this);
255
+ }
256
+ isProvide(): boolean { return __S.getUint16(0, this) === 10; }
257
+ setProvide(value: Provide): void {
258
+ __S.setUint16(0, 10, this);
259
+ __S.copyFrom(value, __S.getPointer(0, this));
260
+ }
261
+ adoptAccept(value: capnp.Orphan<Accept>): void {
262
+ __S.setUint16(0, 11, this);
263
+ __S.adopt(value, __S.getPointer(0, this));
264
+ }
265
+ disownAccept(): capnp.Orphan<Accept> { return __S.disown(this.getAccept()); }
266
+ getAccept(): Accept {
267
+ __S.testWhich("accept", __S.getUint16(0, this), 11, this);
268
+ return __S.getStruct(0, Accept, this);
269
+ }
270
+ hasAccept(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
271
+ initAccept(): Accept {
272
+ __S.setUint16(0, 11, this);
273
+ return __S.initStructAt(0, Accept, this);
274
+ }
275
+ isAccept(): boolean { return __S.getUint16(0, this) === 11; }
276
+ setAccept(value: Accept): void {
277
+ __S.setUint16(0, 11, this);
278
+ __S.copyFrom(value, __S.getPointer(0, this));
279
+ }
280
+ adoptJoin(value: capnp.Orphan<Join>): void {
281
+ __S.setUint16(0, 12, this);
282
+ __S.adopt(value, __S.getPointer(0, this));
283
+ }
284
+ disownJoin(): capnp.Orphan<Join> { return __S.disown(this.getJoin()); }
285
+ getJoin(): Join {
286
+ __S.testWhich("join", __S.getUint16(0, this), 12, this);
287
+ return __S.getStruct(0, Join, this);
288
+ }
289
+ hasJoin(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
290
+ initJoin(): Join {
291
+ __S.setUint16(0, 12, this);
292
+ return __S.initStructAt(0, Join, this);
293
+ }
294
+ isJoin(): boolean { return __S.getUint16(0, this) === 12; }
295
+ setJoin(value: Join): void {
296
+ __S.setUint16(0, 12, this);
297
+ __S.copyFrom(value, __S.getPointer(0, this));
298
+ }
299
+ toString(): string { return "Message_" + super.toString(); }
300
+ which(): Message_Which { return __S.getUint16(0, this); }
301
+ }
302
+ export class Bootstrap extends __S {
303
+ static readonly _capnp = { displayName: "Bootstrap", id: "e94ccf8031176ec4", size: new __O(8, 1) };
304
+ getQuestionId(): number { return __S.getUint32(0, this); }
305
+ setQuestionId(value: number): void { __S.setUint32(0, value, this); }
306
+ adoptDeprecatedObjectId(value: capnp.Orphan<capnp.Pointer>): void { __S.adopt(value, __S.getPointer(0, this)); }
307
+ disownDeprecatedObjectId(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getDeprecatedObjectId()); }
308
+ getDeprecatedObjectId(): capnp.Pointer { return __S.getPointer(0, this); }
309
+ hasDeprecatedObjectId(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
310
+ setDeprecatedObjectId(value: capnp.Pointer): void { __S.copyFrom(value, __S.getPointer(0, this)); }
311
+ toString(): string { return "Bootstrap_" + super.toString(); }
312
+ }
313
+ export enum Call_SendResultsTo_Which {
314
+ CALLER = 0,
315
+ YOURSELF = 1,
316
+ THIRD_PARTY = 2
317
+ }
318
+ export class Call_SendResultsTo extends __S {
319
+ static readonly CALLER = Call_SendResultsTo_Which.CALLER;
320
+ static readonly YOURSELF = Call_SendResultsTo_Which.YOURSELF;
321
+ static readonly THIRD_PARTY = Call_SendResultsTo_Which.THIRD_PARTY;
322
+ static readonly _capnp = { displayName: "sendResultsTo", id: "dae8b0f61aab5f99", size: new __O(24, 3) };
323
+ isCaller(): boolean { return __S.getUint16(6, this) === 0; }
324
+ setCaller(): void { __S.setUint16(6, 0, this); }
325
+ isYourself(): boolean { return __S.getUint16(6, this) === 1; }
326
+ setYourself(): void { __S.setUint16(6, 1, this); }
327
+ adoptThirdParty(value: capnp.Orphan<capnp.Pointer>): void {
328
+ __S.setUint16(6, 2, this);
329
+ __S.adopt(value, __S.getPointer(2, this));
330
+ }
331
+ disownThirdParty(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getThirdParty()); }
332
+ getThirdParty(): capnp.Pointer {
333
+ __S.testWhich("thirdParty", __S.getUint16(6, this), 2, this);
334
+ return __S.getPointer(2, this);
335
+ }
336
+ hasThirdParty(): boolean { return !__S.isNull(__S.getPointer(2, this)); }
337
+ isThirdParty(): boolean { return __S.getUint16(6, this) === 2; }
338
+ setThirdParty(value: capnp.Pointer): void {
339
+ __S.setUint16(6, 2, this);
340
+ __S.copyFrom(value, __S.getPointer(2, this));
341
+ }
342
+ toString(): string { return "Call_SendResultsTo_" + super.toString(); }
343
+ which(): Call_SendResultsTo_Which { return __S.getUint16(6, this); }
344
+ }
345
+ export class Call extends __S {
346
+ static readonly _capnp = { displayName: "Call", id: "836a53ce789d4cd4", size: new __O(24, 3), defaultAllowThirdPartyTailCall: capnp.getBitMask(false, 0) };
347
+ getQuestionId(): number { return __S.getUint32(0, this); }
348
+ setQuestionId(value: number): void { __S.setUint32(0, value, this); }
349
+ adoptTarget(value: capnp.Orphan<MessageTarget>): void { __S.adopt(value, __S.getPointer(0, this)); }
350
+ disownTarget(): capnp.Orphan<MessageTarget> { return __S.disown(this.getTarget()); }
351
+ getTarget(): MessageTarget { return __S.getStruct(0, MessageTarget, this); }
352
+ hasTarget(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
353
+ initTarget(): MessageTarget { return __S.initStructAt(0, MessageTarget, this); }
354
+ setTarget(value: MessageTarget): void { __S.copyFrom(value, __S.getPointer(0, this)); }
355
+ getInterfaceId(): capnp.Uint64 { return __S.getUint64(8, this); }
356
+ setInterfaceId(value: capnp.Uint64): void { __S.setUint64(8, value, this); }
357
+ getMethodId(): number { return __S.getUint16(4, this); }
358
+ setMethodId(value: number): void { __S.setUint16(4, value, this); }
359
+ getAllowThirdPartyTailCall(): boolean { return __S.getBit(128, this, Call._capnp.defaultAllowThirdPartyTailCall); }
360
+ setAllowThirdPartyTailCall(value: boolean): void { __S.setBit(128, value, this); }
361
+ adoptParams(value: capnp.Orphan<Payload>): void { __S.adopt(value, __S.getPointer(1, this)); }
362
+ disownParams(): capnp.Orphan<Payload> { return __S.disown(this.getParams()); }
363
+ getParams(): Payload { return __S.getStruct(1, Payload, this); }
364
+ hasParams(): boolean { return !__S.isNull(__S.getPointer(1, this)); }
365
+ initParams(): Payload { return __S.initStructAt(1, Payload, this); }
366
+ setParams(value: Payload): void { __S.copyFrom(value, __S.getPointer(1, this)); }
367
+ getSendResultsTo(): Call_SendResultsTo { return __S.getAs(Call_SendResultsTo, this); }
368
+ initSendResultsTo(): Call_SendResultsTo { return __S.getAs(Call_SendResultsTo, this); }
369
+ toString(): string { return "Call_" + super.toString(); }
370
+ }
371
+ export enum Return_Which {
372
+ RESULTS = 0,
373
+ EXCEPTION = 1,
374
+ CANCELED = 2,
375
+ RESULTS_SENT_ELSEWHERE = 3,
376
+ TAKE_FROM_OTHER_QUESTION = 4,
377
+ ACCEPT_FROM_THIRD_PARTY = 5
378
+ }
379
+ export class Return extends __S {
380
+ static readonly RESULTS = Return_Which.RESULTS;
381
+ static readonly EXCEPTION = Return_Which.EXCEPTION;
382
+ static readonly CANCELED = Return_Which.CANCELED;
383
+ static readonly RESULTS_SENT_ELSEWHERE = Return_Which.RESULTS_SENT_ELSEWHERE;
384
+ static readonly TAKE_FROM_OTHER_QUESTION = Return_Which.TAKE_FROM_OTHER_QUESTION;
385
+ static readonly ACCEPT_FROM_THIRD_PARTY = Return_Which.ACCEPT_FROM_THIRD_PARTY;
386
+ static readonly _capnp = { displayName: "Return", id: "9e19b28d3db3573a", size: new __O(16, 1), defaultReleaseParamCaps: capnp.getBitMask(true, 0) };
387
+ getAnswerId(): number { return __S.getUint32(0, this); }
388
+ setAnswerId(value: number): void { __S.setUint32(0, value, this); }
389
+ getReleaseParamCaps(): boolean { return __S.getBit(32, this, Return._capnp.defaultReleaseParamCaps); }
390
+ setReleaseParamCaps(value: boolean): void { __S.setBit(32, value, this); }
391
+ adoptResults(value: capnp.Orphan<Payload>): void {
392
+ __S.setUint16(6, 0, this);
393
+ __S.adopt(value, __S.getPointer(0, this));
394
+ }
395
+ disownResults(): capnp.Orphan<Payload> { return __S.disown(this.getResults()); }
396
+ getResults(): Payload {
397
+ __S.testWhich("results", __S.getUint16(6, this), 0, this);
398
+ return __S.getStruct(0, Payload, this);
399
+ }
400
+ hasResults(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
401
+ initResults(): Payload {
402
+ __S.setUint16(6, 0, this);
403
+ return __S.initStructAt(0, Payload, this);
404
+ }
405
+ isResults(): boolean { return __S.getUint16(6, this) === 0; }
406
+ setResults(value: Payload): void {
407
+ __S.setUint16(6, 0, this);
408
+ __S.copyFrom(value, __S.getPointer(0, this));
409
+ }
410
+ adoptException(value: capnp.Orphan<Exception>): void {
411
+ __S.setUint16(6, 1, this);
412
+ __S.adopt(value, __S.getPointer(0, this));
413
+ }
414
+ disownException(): capnp.Orphan<Exception> { return __S.disown(this.getException()); }
415
+ getException(): Exception {
416
+ __S.testWhich("exception", __S.getUint16(6, this), 1, this);
417
+ return __S.getStruct(0, Exception, this);
418
+ }
419
+ hasException(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
420
+ initException(): Exception {
421
+ __S.setUint16(6, 1, this);
422
+ return __S.initStructAt(0, Exception, this);
423
+ }
424
+ isException(): boolean { return __S.getUint16(6, this) === 1; }
425
+ setException(value: Exception): void {
426
+ __S.setUint16(6, 1, this);
427
+ __S.copyFrom(value, __S.getPointer(0, this));
428
+ }
429
+ isCanceled(): boolean { return __S.getUint16(6, this) === 2; }
430
+ setCanceled(): void { __S.setUint16(6, 2, this); }
431
+ isResultsSentElsewhere(): boolean { return __S.getUint16(6, this) === 3; }
432
+ setResultsSentElsewhere(): void { __S.setUint16(6, 3, this); }
433
+ getTakeFromOtherQuestion(): number {
434
+ __S.testWhich("takeFromOtherQuestion", __S.getUint16(6, this), 4, this);
435
+ return __S.getUint32(8, this);
436
+ }
437
+ isTakeFromOtherQuestion(): boolean { return __S.getUint16(6, this) === 4; }
438
+ setTakeFromOtherQuestion(value: number): void {
439
+ __S.setUint16(6, 4, this);
440
+ __S.setUint32(8, value, this);
441
+ }
442
+ adoptAcceptFromThirdParty(value: capnp.Orphan<capnp.Pointer>): void {
443
+ __S.setUint16(6, 5, this);
444
+ __S.adopt(value, __S.getPointer(0, this));
445
+ }
446
+ disownAcceptFromThirdParty(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getAcceptFromThirdParty()); }
447
+ getAcceptFromThirdParty(): capnp.Pointer {
448
+ __S.testWhich("acceptFromThirdParty", __S.getUint16(6, this), 5, this);
449
+ return __S.getPointer(0, this);
450
+ }
451
+ hasAcceptFromThirdParty(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
452
+ isAcceptFromThirdParty(): boolean { return __S.getUint16(6, this) === 5; }
453
+ setAcceptFromThirdParty(value: capnp.Pointer): void {
454
+ __S.setUint16(6, 5, this);
455
+ __S.copyFrom(value, __S.getPointer(0, this));
456
+ }
457
+ toString(): string { return "Return_" + super.toString(); }
458
+ which(): Return_Which { return __S.getUint16(6, this); }
459
+ }
460
+ export class Finish extends __S {
461
+ static readonly _capnp = { displayName: "Finish", id: "d37d2eb2c2f80e63", size: new __O(8, 0), defaultReleaseResultCaps: capnp.getBitMask(true, 0) };
462
+ getQuestionId(): number { return __S.getUint32(0, this); }
463
+ setQuestionId(value: number): void { __S.setUint32(0, value, this); }
464
+ getReleaseResultCaps(): boolean { return __S.getBit(32, this, Finish._capnp.defaultReleaseResultCaps); }
465
+ setReleaseResultCaps(value: boolean): void { __S.setBit(32, value, this); }
466
+ toString(): string { return "Finish_" + super.toString(); }
467
+ }
468
+ export enum Resolve_Which {
469
+ CAP = 0,
470
+ EXCEPTION = 1
471
+ }
472
+ export class Resolve extends __S {
473
+ static readonly CAP = Resolve_Which.CAP;
474
+ static readonly EXCEPTION = Resolve_Which.EXCEPTION;
475
+ static readonly _capnp = { displayName: "Resolve", id: "bbc29655fa89086e", size: new __O(8, 1) };
476
+ getPromiseId(): number { return __S.getUint32(0, this); }
477
+ setPromiseId(value: number): void { __S.setUint32(0, value, this); }
478
+ adoptCap(value: capnp.Orphan<CapDescriptor>): void {
479
+ __S.setUint16(4, 0, this);
480
+ __S.adopt(value, __S.getPointer(0, this));
481
+ }
482
+ disownCap(): capnp.Orphan<CapDescriptor> { return __S.disown(this.getCap()); }
483
+ getCap(): CapDescriptor {
484
+ __S.testWhich("cap", __S.getUint16(4, this), 0, this);
485
+ return __S.getStruct(0, CapDescriptor, this);
486
+ }
487
+ hasCap(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
488
+ initCap(): CapDescriptor {
489
+ __S.setUint16(4, 0, this);
490
+ return __S.initStructAt(0, CapDescriptor, this);
491
+ }
492
+ isCap(): boolean { return __S.getUint16(4, this) === 0; }
493
+ setCap(value: CapDescriptor): void {
494
+ __S.setUint16(4, 0, this);
495
+ __S.copyFrom(value, __S.getPointer(0, this));
496
+ }
497
+ adoptException(value: capnp.Orphan<Exception>): void {
498
+ __S.setUint16(4, 1, this);
499
+ __S.adopt(value, __S.getPointer(0, this));
500
+ }
501
+ disownException(): capnp.Orphan<Exception> { return __S.disown(this.getException()); }
502
+ getException(): Exception {
503
+ __S.testWhich("exception", __S.getUint16(4, this), 1, this);
504
+ return __S.getStruct(0, Exception, this);
505
+ }
506
+ hasException(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
507
+ initException(): Exception {
508
+ __S.setUint16(4, 1, this);
509
+ return __S.initStructAt(0, Exception, this);
510
+ }
511
+ isException(): boolean { return __S.getUint16(4, this) === 1; }
512
+ setException(value: Exception): void {
513
+ __S.setUint16(4, 1, this);
514
+ __S.copyFrom(value, __S.getPointer(0, this));
515
+ }
516
+ toString(): string { return "Resolve_" + super.toString(); }
517
+ which(): Resolve_Which { return __S.getUint16(4, this); }
518
+ }
519
+ export class Release extends __S {
520
+ static readonly _capnp = { displayName: "Release", id: "ad1a6c0d7dd07497", size: new __O(8, 0) };
521
+ getId(): number { return __S.getUint32(0, this); }
522
+ setId(value: number): void { __S.setUint32(0, value, this); }
523
+ getReferenceCount(): number { return __S.getUint32(4, this); }
524
+ setReferenceCount(value: number): void { __S.setUint32(4, value, this); }
525
+ toString(): string { return "Release_" + super.toString(); }
526
+ }
527
+ export enum Disembargo_Context_Which {
528
+ SENDER_LOOPBACK = 0,
529
+ RECEIVER_LOOPBACK = 1,
530
+ ACCEPT = 2,
531
+ PROVIDE = 3
532
+ }
533
+ export class Disembargo_Context extends __S {
534
+ static readonly SENDER_LOOPBACK = Disembargo_Context_Which.SENDER_LOOPBACK;
535
+ static readonly RECEIVER_LOOPBACK = Disembargo_Context_Which.RECEIVER_LOOPBACK;
536
+ static readonly ACCEPT = Disembargo_Context_Which.ACCEPT;
537
+ static readonly PROVIDE = Disembargo_Context_Which.PROVIDE;
538
+ static readonly _capnp = { displayName: "context", id: "d562b4df655bdd4d", size: new __O(8, 1) };
539
+ getSenderLoopback(): number {
540
+ __S.testWhich("senderLoopback", __S.getUint16(4, this), 0, this);
541
+ return __S.getUint32(0, this);
542
+ }
543
+ isSenderLoopback(): boolean { return __S.getUint16(4, this) === 0; }
544
+ setSenderLoopback(value: number): void {
545
+ __S.setUint16(4, 0, this);
546
+ __S.setUint32(0, value, this);
547
+ }
548
+ getReceiverLoopback(): number {
549
+ __S.testWhich("receiverLoopback", __S.getUint16(4, this), 1, this);
550
+ return __S.getUint32(0, this);
551
+ }
552
+ isReceiverLoopback(): boolean { return __S.getUint16(4, this) === 1; }
553
+ setReceiverLoopback(value: number): void {
554
+ __S.setUint16(4, 1, this);
555
+ __S.setUint32(0, value, this);
556
+ }
557
+ isAccept(): boolean { return __S.getUint16(4, this) === 2; }
558
+ setAccept(): void { __S.setUint16(4, 2, this); }
559
+ getProvide(): number {
560
+ __S.testWhich("provide", __S.getUint16(4, this), 3, this);
561
+ return __S.getUint32(0, this);
562
+ }
563
+ isProvide(): boolean { return __S.getUint16(4, this) === 3; }
564
+ setProvide(value: number): void {
565
+ __S.setUint16(4, 3, this);
566
+ __S.setUint32(0, value, this);
567
+ }
568
+ toString(): string { return "Disembargo_Context_" + super.toString(); }
569
+ which(): Disembargo_Context_Which { return __S.getUint16(4, this); }
570
+ }
571
+ export class Disembargo extends __S {
572
+ static readonly _capnp = { displayName: "Disembargo", id: "f964368b0fbd3711", size: new __O(8, 1) };
573
+ adoptTarget(value: capnp.Orphan<MessageTarget>): void { __S.adopt(value, __S.getPointer(0, this)); }
574
+ disownTarget(): capnp.Orphan<MessageTarget> { return __S.disown(this.getTarget()); }
575
+ getTarget(): MessageTarget { return __S.getStruct(0, MessageTarget, this); }
576
+ hasTarget(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
577
+ initTarget(): MessageTarget { return __S.initStructAt(0, MessageTarget, this); }
578
+ setTarget(value: MessageTarget): void { __S.copyFrom(value, __S.getPointer(0, this)); }
579
+ getContext(): Disembargo_Context { return __S.getAs(Disembargo_Context, this); }
580
+ initContext(): Disembargo_Context { return __S.getAs(Disembargo_Context, this); }
581
+ toString(): string { return "Disembargo_" + super.toString(); }
582
+ }
583
+ export class Provide extends __S {
584
+ static readonly _capnp = { displayName: "Provide", id: "9c6a046bfbc1ac5a", size: new __O(8, 2) };
585
+ getQuestionId(): number { return __S.getUint32(0, this); }
586
+ setQuestionId(value: number): void { __S.setUint32(0, value, this); }
587
+ adoptTarget(value: capnp.Orphan<MessageTarget>): void { __S.adopt(value, __S.getPointer(0, this)); }
588
+ disownTarget(): capnp.Orphan<MessageTarget> { return __S.disown(this.getTarget()); }
589
+ getTarget(): MessageTarget { return __S.getStruct(0, MessageTarget, this); }
590
+ hasTarget(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
591
+ initTarget(): MessageTarget { return __S.initStructAt(0, MessageTarget, this); }
592
+ setTarget(value: MessageTarget): void { __S.copyFrom(value, __S.getPointer(0, this)); }
593
+ adoptRecipient(value: capnp.Orphan<capnp.Pointer>): void { __S.adopt(value, __S.getPointer(1, this)); }
594
+ disownRecipient(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getRecipient()); }
595
+ getRecipient(): capnp.Pointer { return __S.getPointer(1, this); }
596
+ hasRecipient(): boolean { return !__S.isNull(__S.getPointer(1, this)); }
597
+ setRecipient(value: capnp.Pointer): void { __S.copyFrom(value, __S.getPointer(1, this)); }
598
+ toString(): string { return "Provide_" + super.toString(); }
599
+ }
600
+ export class Accept extends __S {
601
+ static readonly _capnp = { displayName: "Accept", id: "d4c9b56290554016", size: new __O(8, 1) };
602
+ getQuestionId(): number { return __S.getUint32(0, this); }
603
+ setQuestionId(value: number): void { __S.setUint32(0, value, this); }
604
+ adoptProvision(value: capnp.Orphan<capnp.Pointer>): void { __S.adopt(value, __S.getPointer(0, this)); }
605
+ disownProvision(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getProvision()); }
606
+ getProvision(): capnp.Pointer { return __S.getPointer(0, this); }
607
+ hasProvision(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
608
+ setProvision(value: capnp.Pointer): void { __S.copyFrom(value, __S.getPointer(0, this)); }
609
+ getEmbargo(): boolean { return __S.getBit(32, this); }
610
+ setEmbargo(value: boolean): void { __S.setBit(32, value, this); }
611
+ toString(): string { return "Accept_" + super.toString(); }
612
+ }
613
+ export class Join extends __S {
614
+ static readonly _capnp = { displayName: "Join", id: "fbe1980490e001af", size: new __O(8, 2) };
615
+ getQuestionId(): number { return __S.getUint32(0, this); }
616
+ setQuestionId(value: number): void { __S.setUint32(0, value, this); }
617
+ adoptTarget(value: capnp.Orphan<MessageTarget>): void { __S.adopt(value, __S.getPointer(0, this)); }
618
+ disownTarget(): capnp.Orphan<MessageTarget> { return __S.disown(this.getTarget()); }
619
+ getTarget(): MessageTarget { return __S.getStruct(0, MessageTarget, this); }
620
+ hasTarget(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
621
+ initTarget(): MessageTarget { return __S.initStructAt(0, MessageTarget, this); }
622
+ setTarget(value: MessageTarget): void { __S.copyFrom(value, __S.getPointer(0, this)); }
623
+ adoptKeyPart(value: capnp.Orphan<capnp.Pointer>): void { __S.adopt(value, __S.getPointer(1, this)); }
624
+ disownKeyPart(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getKeyPart()); }
625
+ getKeyPart(): capnp.Pointer { return __S.getPointer(1, this); }
626
+ hasKeyPart(): boolean { return !__S.isNull(__S.getPointer(1, this)); }
627
+ setKeyPart(value: capnp.Pointer): void { __S.copyFrom(value, __S.getPointer(1, this)); }
628
+ toString(): string { return "Join_" + super.toString(); }
629
+ }
630
+ export enum MessageTarget_Which {
631
+ IMPORTED_CAP = 0,
632
+ PROMISED_ANSWER = 1
633
+ }
634
+ export class MessageTarget extends __S {
635
+ static readonly IMPORTED_CAP = MessageTarget_Which.IMPORTED_CAP;
636
+ static readonly PROMISED_ANSWER = MessageTarget_Which.PROMISED_ANSWER;
637
+ static readonly _capnp = { displayName: "MessageTarget", id: "95bc14545813fbc1", size: new __O(8, 1) };
638
+ getImportedCap(): number {
639
+ __S.testWhich("importedCap", __S.getUint16(4, this), 0, this);
640
+ return __S.getUint32(0, this);
641
+ }
642
+ isImportedCap(): boolean { return __S.getUint16(4, this) === 0; }
643
+ setImportedCap(value: number): void {
644
+ __S.setUint16(4, 0, this);
645
+ __S.setUint32(0, value, this);
646
+ }
647
+ adoptPromisedAnswer(value: capnp.Orphan<PromisedAnswer>): void {
648
+ __S.setUint16(4, 1, this);
649
+ __S.adopt(value, __S.getPointer(0, this));
650
+ }
651
+ disownPromisedAnswer(): capnp.Orphan<PromisedAnswer> { return __S.disown(this.getPromisedAnswer()); }
652
+ getPromisedAnswer(): PromisedAnswer {
653
+ __S.testWhich("promisedAnswer", __S.getUint16(4, this), 1, this);
654
+ return __S.getStruct(0, PromisedAnswer, this);
655
+ }
656
+ hasPromisedAnswer(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
657
+ initPromisedAnswer(): PromisedAnswer {
658
+ __S.setUint16(4, 1, this);
659
+ return __S.initStructAt(0, PromisedAnswer, this);
660
+ }
661
+ isPromisedAnswer(): boolean { return __S.getUint16(4, this) === 1; }
662
+ setPromisedAnswer(value: PromisedAnswer): void {
663
+ __S.setUint16(4, 1, this);
664
+ __S.copyFrom(value, __S.getPointer(0, this));
665
+ }
666
+ toString(): string { return "MessageTarget_" + super.toString(); }
667
+ which(): MessageTarget_Which { return __S.getUint16(4, this); }
668
+ }
669
+ export class Payload extends __S {
670
+ static readonly _capnp = { displayName: "Payload", id: "9a0e61223d96743b", size: new __O(0, 2) };
671
+ static _CapTable: capnp.ListCtor<CapDescriptor>;
672
+ adoptContent(value: capnp.Orphan<capnp.Pointer>): void { __S.adopt(value, __S.getPointer(0, this)); }
673
+ disownContent(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getContent()); }
674
+ getContent(): capnp.Pointer { return __S.getPointer(0, this); }
675
+ hasContent(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
676
+ setContent(value: capnp.Pointer): void { __S.copyFrom(value, __S.getPointer(0, this)); }
677
+ adoptCapTable(value: capnp.Orphan<capnp.List<CapDescriptor>>): void { __S.adopt(value, __S.getPointer(1, this)); }
678
+ disownCapTable(): capnp.Orphan<capnp.List<CapDescriptor>> { return __S.disown(this.getCapTable()); }
679
+ getCapTable(): capnp.List<CapDescriptor> { return __S.getList(1, Payload._CapTable, this); }
680
+ hasCapTable(): boolean { return !__S.isNull(__S.getPointer(1, this)); }
681
+ initCapTable(length: number): capnp.List<CapDescriptor> { return __S.initList(1, Payload._CapTable, length, this); }
682
+ setCapTable(value: capnp.List<CapDescriptor>): void { __S.copyFrom(value, __S.getPointer(1, this)); }
683
+ toString(): string { return "Payload_" + super.toString(); }
684
+ }
685
+ export enum CapDescriptor_Which {
686
+ NONE = 0,
687
+ SENDER_HOSTED = 1,
688
+ SENDER_PROMISE = 2,
689
+ RECEIVER_HOSTED = 3,
690
+ RECEIVER_ANSWER = 4,
691
+ THIRD_PARTY_HOSTED = 5
692
+ }
693
+ export class CapDescriptor extends __S {
694
+ static readonly NONE = CapDescriptor_Which.NONE;
695
+ static readonly SENDER_HOSTED = CapDescriptor_Which.SENDER_HOSTED;
696
+ static readonly SENDER_PROMISE = CapDescriptor_Which.SENDER_PROMISE;
697
+ static readonly RECEIVER_HOSTED = CapDescriptor_Which.RECEIVER_HOSTED;
698
+ static readonly RECEIVER_ANSWER = CapDescriptor_Which.RECEIVER_ANSWER;
699
+ static readonly THIRD_PARTY_HOSTED = CapDescriptor_Which.THIRD_PARTY_HOSTED;
700
+ static readonly _capnp = { displayName: "CapDescriptor", id: "8523ddc40b86b8b0", size: new __O(8, 1) };
701
+ isNone(): boolean { return __S.getUint16(0, this) === 0; }
702
+ setNone(): void { __S.setUint16(0, 0, this); }
703
+ getSenderHosted(): number {
704
+ __S.testWhich("senderHosted", __S.getUint16(0, this), 1, this);
705
+ return __S.getUint32(4, this);
706
+ }
707
+ isSenderHosted(): boolean { return __S.getUint16(0, this) === 1; }
708
+ setSenderHosted(value: number): void {
709
+ __S.setUint16(0, 1, this);
710
+ __S.setUint32(4, value, this);
711
+ }
712
+ getSenderPromise(): number {
713
+ __S.testWhich("senderPromise", __S.getUint16(0, this), 2, this);
714
+ return __S.getUint32(4, this);
715
+ }
716
+ isSenderPromise(): boolean { return __S.getUint16(0, this) === 2; }
717
+ setSenderPromise(value: number): void {
718
+ __S.setUint16(0, 2, this);
719
+ __S.setUint32(4, value, this);
720
+ }
721
+ getReceiverHosted(): number {
722
+ __S.testWhich("receiverHosted", __S.getUint16(0, this), 3, this);
723
+ return __S.getUint32(4, this);
724
+ }
725
+ isReceiverHosted(): boolean { return __S.getUint16(0, this) === 3; }
726
+ setReceiverHosted(value: number): void {
727
+ __S.setUint16(0, 3, this);
728
+ __S.setUint32(4, value, this);
729
+ }
730
+ adoptReceiverAnswer(value: capnp.Orphan<PromisedAnswer>): void {
731
+ __S.setUint16(0, 4, this);
732
+ __S.adopt(value, __S.getPointer(0, this));
733
+ }
734
+ disownReceiverAnswer(): capnp.Orphan<PromisedAnswer> { return __S.disown(this.getReceiverAnswer()); }
735
+ getReceiverAnswer(): PromisedAnswer {
736
+ __S.testWhich("receiverAnswer", __S.getUint16(0, this), 4, this);
737
+ return __S.getStruct(0, PromisedAnswer, this);
738
+ }
739
+ hasReceiverAnswer(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
740
+ initReceiverAnswer(): PromisedAnswer {
741
+ __S.setUint16(0, 4, this);
742
+ return __S.initStructAt(0, PromisedAnswer, this);
743
+ }
744
+ isReceiverAnswer(): boolean { return __S.getUint16(0, this) === 4; }
745
+ setReceiverAnswer(value: PromisedAnswer): void {
746
+ __S.setUint16(0, 4, this);
747
+ __S.copyFrom(value, __S.getPointer(0, this));
748
+ }
749
+ adoptThirdPartyHosted(value: capnp.Orphan<ThirdPartyCapDescriptor>): void {
750
+ __S.setUint16(0, 5, this);
751
+ __S.adopt(value, __S.getPointer(0, this));
752
+ }
753
+ disownThirdPartyHosted(): capnp.Orphan<ThirdPartyCapDescriptor> { return __S.disown(this.getThirdPartyHosted()); }
754
+ getThirdPartyHosted(): ThirdPartyCapDescriptor {
755
+ __S.testWhich("thirdPartyHosted", __S.getUint16(0, this), 5, this);
756
+ return __S.getStruct(0, ThirdPartyCapDescriptor, this);
757
+ }
758
+ hasThirdPartyHosted(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
759
+ initThirdPartyHosted(): ThirdPartyCapDescriptor {
760
+ __S.setUint16(0, 5, this);
761
+ return __S.initStructAt(0, ThirdPartyCapDescriptor, this);
762
+ }
763
+ isThirdPartyHosted(): boolean { return __S.getUint16(0, this) === 5; }
764
+ setThirdPartyHosted(value: ThirdPartyCapDescriptor): void {
765
+ __S.setUint16(0, 5, this);
766
+ __S.copyFrom(value, __S.getPointer(0, this));
767
+ }
768
+ toString(): string { return "CapDescriptor_" + super.toString(); }
769
+ which(): CapDescriptor_Which { return __S.getUint16(0, this); }
770
+ }
771
+ export enum PromisedAnswer_Op_Which {
772
+ NOOP = 0,
773
+ GET_POINTER_FIELD = 1
774
+ }
775
+ export class PromisedAnswer_Op extends __S {
776
+ static readonly NOOP = PromisedAnswer_Op_Which.NOOP;
777
+ static readonly GET_POINTER_FIELD = PromisedAnswer_Op_Which.GET_POINTER_FIELD;
778
+ static readonly _capnp = { displayName: "Op", id: "f316944415569081", size: new __O(8, 0) };
779
+ isNoop(): boolean { return __S.getUint16(0, this) === 0; }
780
+ setNoop(): void { __S.setUint16(0, 0, this); }
781
+ getGetPointerField(): number {
782
+ __S.testWhich("getPointerField", __S.getUint16(0, this), 1, this);
783
+ return __S.getUint16(2, this);
784
+ }
785
+ isGetPointerField(): boolean { return __S.getUint16(0, this) === 1; }
786
+ setGetPointerField(value: number): void {
787
+ __S.setUint16(0, 1, this);
788
+ __S.setUint16(2, value, this);
789
+ }
790
+ toString(): string { return "PromisedAnswer_Op_" + super.toString(); }
791
+ which(): PromisedAnswer_Op_Which { return __S.getUint16(0, this); }
792
+ }
793
+ export class PromisedAnswer extends __S {
794
+ static readonly Op = PromisedAnswer_Op;
795
+ static readonly _capnp = { displayName: "PromisedAnswer", id: "d800b1d6cd6f1ca0", size: new __O(8, 1) };
796
+ static _Transform: capnp.ListCtor<PromisedAnswer_Op>;
797
+ getQuestionId(): number { return __S.getUint32(0, this); }
798
+ setQuestionId(value: number): void { __S.setUint32(0, value, this); }
799
+ adoptTransform(value: capnp.Orphan<capnp.List<PromisedAnswer_Op>>): void { __S.adopt(value, __S.getPointer(0, this)); }
800
+ disownTransform(): capnp.Orphan<capnp.List<PromisedAnswer_Op>> { return __S.disown(this.getTransform()); }
801
+ getTransform(): capnp.List<PromisedAnswer_Op> { return __S.getList(0, PromisedAnswer._Transform, this); }
802
+ hasTransform(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
803
+ initTransform(length: number): capnp.List<PromisedAnswer_Op> { return __S.initList(0, PromisedAnswer._Transform, length, this); }
804
+ setTransform(value: capnp.List<PromisedAnswer_Op>): void { __S.copyFrom(value, __S.getPointer(0, this)); }
805
+ toString(): string { return "PromisedAnswer_" + super.toString(); }
806
+ }
807
+ export class ThirdPartyCapDescriptor extends __S {
808
+ static readonly _capnp = { displayName: "ThirdPartyCapDescriptor", id: "d37007fde1f0027d", size: new __O(8, 1) };
809
+ adoptId(value: capnp.Orphan<capnp.Pointer>): void { __S.adopt(value, __S.getPointer(0, this)); }
810
+ disownId(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getId()); }
811
+ getId(): capnp.Pointer { return __S.getPointer(0, this); }
812
+ hasId(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
813
+ setId(value: capnp.Pointer): void { __S.copyFrom(value, __S.getPointer(0, this)); }
814
+ getVineId(): number { return __S.getUint32(0, this); }
815
+ setVineId(value: number): void { __S.setUint32(0, value, this); }
816
+ toString(): string { return "ThirdPartyCapDescriptor_" + super.toString(); }
817
+ }
818
+ export enum Exception_Type {
819
+ FAILED,
820
+ OVERLOADED,
821
+ DISCONNECTED,
822
+ UNIMPLEMENTED
823
+ }
824
+ export class Exception extends __S {
825
+ static readonly Type = Exception_Type;
826
+ static readonly _capnp = { displayName: "Exception", id: "d625b7063acf691a", size: new __O(8, 1) };
827
+ getReason(): string { return __S.getText(0, this); }
828
+ setReason(value: string): void { __S.setText(0, value, this); }
829
+ getType(): Exception_Type { return __S.getUint16(4, this); }
830
+ setType(value: Exception_Type): void { __S.setUint16(4, value, this); }
831
+ getObsoleteIsCallersFault(): boolean { return __S.getBit(0, this); }
832
+ setObsoleteIsCallersFault(value: boolean): void { __S.setBit(0, value, this); }
833
+ getObsoleteDurability(): number { return __S.getUint16(2, this); }
834
+ setObsoleteDurability(value: number): void { __S.setUint16(2, value, this); }
835
+ toString(): string { return "Exception_" + super.toString(); }
836
+ }
837
+ Payload._CapTable = capnp.CompositeList(CapDescriptor);
838
+ PromisedAnswer._Transform = capnp.CompositeList(PromisedAnswer_Op);
workers1/auto3d/node_modules/capnp-ts/src/std/schema.capnp.d.ts ADDED
@@ -0,0 +1,929 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
3
+ * compiled output.
4
+ */
5
+ import * as capnp from "../index";
6
+ import { Struct as __S } from "../index";
7
+ export declare const _capnpFileId = "a93fc509624c72d9";
8
+ export declare class Node_Parameter extends __S {
9
+ static readonly _capnp: {
10
+ displayName: string;
11
+ id: string;
12
+ size: capnp.ObjectSize;
13
+ };
14
+ getName(): string;
15
+ setName(value: string): void;
16
+ toString(): string;
17
+ }
18
+ export declare class Node_NestedNode extends __S {
19
+ static readonly _capnp: {
20
+ displayName: string;
21
+ id: string;
22
+ size: capnp.ObjectSize;
23
+ };
24
+ getName(): string;
25
+ setName(value: string): void;
26
+ getId(): capnp.Uint64;
27
+ setId(value: capnp.Uint64): void;
28
+ toString(): string;
29
+ }
30
+ export declare class Node_Struct extends __S {
31
+ static readonly _capnp: {
32
+ displayName: string;
33
+ id: string;
34
+ size: capnp.ObjectSize;
35
+ };
36
+ static _Fields: capnp.ListCtor<Field>;
37
+ getDataWordCount(): number;
38
+ setDataWordCount(value: number): void;
39
+ getPointerCount(): number;
40
+ setPointerCount(value: number): void;
41
+ getPreferredListEncoding(): ElementSize;
42
+ setPreferredListEncoding(value: ElementSize): void;
43
+ getIsGroup(): boolean;
44
+ setIsGroup(value: boolean): void;
45
+ getDiscriminantCount(): number;
46
+ setDiscriminantCount(value: number): void;
47
+ getDiscriminantOffset(): number;
48
+ setDiscriminantOffset(value: number): void;
49
+ adoptFields(value: capnp.Orphan<capnp.List<Field>>): void;
50
+ disownFields(): capnp.Orphan<capnp.List<Field>>;
51
+ getFields(): capnp.List<Field>;
52
+ hasFields(): boolean;
53
+ initFields(length: number): capnp.List<Field>;
54
+ setFields(value: capnp.List<Field>): void;
55
+ toString(): string;
56
+ }
57
+ export declare class Node_Enum extends __S {
58
+ static readonly _capnp: {
59
+ displayName: string;
60
+ id: string;
61
+ size: capnp.ObjectSize;
62
+ };
63
+ static _Enumerants: capnp.ListCtor<Enumerant>;
64
+ adoptEnumerants(value: capnp.Orphan<capnp.List<Enumerant>>): void;
65
+ disownEnumerants(): capnp.Orphan<capnp.List<Enumerant>>;
66
+ getEnumerants(): capnp.List<Enumerant>;
67
+ hasEnumerants(): boolean;
68
+ initEnumerants(length: number): capnp.List<Enumerant>;
69
+ setEnumerants(value: capnp.List<Enumerant>): void;
70
+ toString(): string;
71
+ }
72
+ export declare class Node_Interface extends __S {
73
+ static readonly _capnp: {
74
+ displayName: string;
75
+ id: string;
76
+ size: capnp.ObjectSize;
77
+ };
78
+ static _Methods: capnp.ListCtor<Method>;
79
+ static _Superclasses: capnp.ListCtor<Superclass>;
80
+ adoptMethods(value: capnp.Orphan<capnp.List<Method>>): void;
81
+ disownMethods(): capnp.Orphan<capnp.List<Method>>;
82
+ getMethods(): capnp.List<Method>;
83
+ hasMethods(): boolean;
84
+ initMethods(length: number): capnp.List<Method>;
85
+ setMethods(value: capnp.List<Method>): void;
86
+ adoptSuperclasses(value: capnp.Orphan<capnp.List<Superclass>>): void;
87
+ disownSuperclasses(): capnp.Orphan<capnp.List<Superclass>>;
88
+ getSuperclasses(): capnp.List<Superclass>;
89
+ hasSuperclasses(): boolean;
90
+ initSuperclasses(length: number): capnp.List<Superclass>;
91
+ setSuperclasses(value: capnp.List<Superclass>): void;
92
+ toString(): string;
93
+ }
94
+ export declare class Node_Const extends __S {
95
+ static readonly _capnp: {
96
+ displayName: string;
97
+ id: string;
98
+ size: capnp.ObjectSize;
99
+ };
100
+ adoptType(value: capnp.Orphan<Type>): void;
101
+ disownType(): capnp.Orphan<Type>;
102
+ getType(): Type;
103
+ hasType(): boolean;
104
+ initType(): Type;
105
+ setType(value: Type): void;
106
+ adoptValue(value: capnp.Orphan<Value>): void;
107
+ disownValue(): capnp.Orphan<Value>;
108
+ getValue(): Value;
109
+ hasValue(): boolean;
110
+ initValue(): Value;
111
+ setValue(value: Value): void;
112
+ toString(): string;
113
+ }
114
+ export declare class Node_Annotation extends __S {
115
+ static readonly _capnp: {
116
+ displayName: string;
117
+ id: string;
118
+ size: capnp.ObjectSize;
119
+ };
120
+ adoptType(value: capnp.Orphan<Type>): void;
121
+ disownType(): capnp.Orphan<Type>;
122
+ getType(): Type;
123
+ hasType(): boolean;
124
+ initType(): Type;
125
+ setType(value: Type): void;
126
+ getTargetsFile(): boolean;
127
+ setTargetsFile(value: boolean): void;
128
+ getTargetsConst(): boolean;
129
+ setTargetsConst(value: boolean): void;
130
+ getTargetsEnum(): boolean;
131
+ setTargetsEnum(value: boolean): void;
132
+ getTargetsEnumerant(): boolean;
133
+ setTargetsEnumerant(value: boolean): void;
134
+ getTargetsStruct(): boolean;
135
+ setTargetsStruct(value: boolean): void;
136
+ getTargetsField(): boolean;
137
+ setTargetsField(value: boolean): void;
138
+ getTargetsUnion(): boolean;
139
+ setTargetsUnion(value: boolean): void;
140
+ getTargetsGroup(): boolean;
141
+ setTargetsGroup(value: boolean): void;
142
+ getTargetsInterface(): boolean;
143
+ setTargetsInterface(value: boolean): void;
144
+ getTargetsMethod(): boolean;
145
+ setTargetsMethod(value: boolean): void;
146
+ getTargetsParam(): boolean;
147
+ setTargetsParam(value: boolean): void;
148
+ getTargetsAnnotation(): boolean;
149
+ setTargetsAnnotation(value: boolean): void;
150
+ toString(): string;
151
+ }
152
+ export declare enum Node_Which {
153
+ FILE = 0,
154
+ STRUCT = 1,
155
+ ENUM = 2,
156
+ INTERFACE = 3,
157
+ CONST = 4,
158
+ ANNOTATION = 5
159
+ }
160
+ export declare class Node extends __S {
161
+ static readonly FILE = Node_Which.FILE;
162
+ static readonly STRUCT = Node_Which.STRUCT;
163
+ static readonly ENUM = Node_Which.ENUM;
164
+ static readonly INTERFACE = Node_Which.INTERFACE;
165
+ static readonly CONST = Node_Which.CONST;
166
+ static readonly ANNOTATION = Node_Which.ANNOTATION;
167
+ static readonly Parameter: typeof Node_Parameter;
168
+ static readonly NestedNode: typeof Node_NestedNode;
169
+ static readonly _capnp: {
170
+ displayName: string;
171
+ id: string;
172
+ size: capnp.ObjectSize;
173
+ };
174
+ static _Parameters: capnp.ListCtor<Node_Parameter>;
175
+ static _NestedNodes: capnp.ListCtor<Node_NestedNode>;
176
+ static _Annotations: capnp.ListCtor<Annotation>;
177
+ getId(): capnp.Uint64;
178
+ setId(value: capnp.Uint64): void;
179
+ getDisplayName(): string;
180
+ setDisplayName(value: string): void;
181
+ getDisplayNamePrefixLength(): number;
182
+ setDisplayNamePrefixLength(value: number): void;
183
+ getScopeId(): capnp.Uint64;
184
+ setScopeId(value: capnp.Uint64): void;
185
+ adoptParameters(value: capnp.Orphan<capnp.List<Node_Parameter>>): void;
186
+ disownParameters(): capnp.Orphan<capnp.List<Node_Parameter>>;
187
+ getParameters(): capnp.List<Node_Parameter>;
188
+ hasParameters(): boolean;
189
+ initParameters(length: number): capnp.List<Node_Parameter>;
190
+ setParameters(value: capnp.List<Node_Parameter>): void;
191
+ getIsGeneric(): boolean;
192
+ setIsGeneric(value: boolean): void;
193
+ adoptNestedNodes(value: capnp.Orphan<capnp.List<Node_NestedNode>>): void;
194
+ disownNestedNodes(): capnp.Orphan<capnp.List<Node_NestedNode>>;
195
+ getNestedNodes(): capnp.List<Node_NestedNode>;
196
+ hasNestedNodes(): boolean;
197
+ initNestedNodes(length: number): capnp.List<Node_NestedNode>;
198
+ setNestedNodes(value: capnp.List<Node_NestedNode>): void;
199
+ adoptAnnotations(value: capnp.Orphan<capnp.List<Annotation>>): void;
200
+ disownAnnotations(): capnp.Orphan<capnp.List<Annotation>>;
201
+ getAnnotations(): capnp.List<Annotation>;
202
+ hasAnnotations(): boolean;
203
+ initAnnotations(length: number): capnp.List<Annotation>;
204
+ setAnnotations(value: capnp.List<Annotation>): void;
205
+ isFile(): boolean;
206
+ setFile(): void;
207
+ getStruct(): Node_Struct;
208
+ initStruct(): Node_Struct;
209
+ isStruct(): boolean;
210
+ setStruct(): void;
211
+ getEnum(): Node_Enum;
212
+ initEnum(): Node_Enum;
213
+ isEnum(): boolean;
214
+ setEnum(): void;
215
+ getInterface(): Node_Interface;
216
+ initInterface(): Node_Interface;
217
+ isInterface(): boolean;
218
+ setInterface(): void;
219
+ getConst(): Node_Const;
220
+ initConst(): Node_Const;
221
+ isConst(): boolean;
222
+ setConst(): void;
223
+ getAnnotation(): Node_Annotation;
224
+ initAnnotation(): Node_Annotation;
225
+ isAnnotation(): boolean;
226
+ setAnnotation(): void;
227
+ toString(): string;
228
+ which(): Node_Which;
229
+ }
230
+ export declare class Field_Slot extends __S {
231
+ static readonly _capnp: {
232
+ displayName: string;
233
+ id: string;
234
+ size: capnp.ObjectSize;
235
+ };
236
+ getOffset(): number;
237
+ setOffset(value: number): void;
238
+ adoptType(value: capnp.Orphan<Type>): void;
239
+ disownType(): capnp.Orphan<Type>;
240
+ getType(): Type;
241
+ hasType(): boolean;
242
+ initType(): Type;
243
+ setType(value: Type): void;
244
+ adoptDefaultValue(value: capnp.Orphan<Value>): void;
245
+ disownDefaultValue(): capnp.Orphan<Value>;
246
+ getDefaultValue(): Value;
247
+ hasDefaultValue(): boolean;
248
+ initDefaultValue(): Value;
249
+ setDefaultValue(value: Value): void;
250
+ getHadExplicitDefault(): boolean;
251
+ setHadExplicitDefault(value: boolean): void;
252
+ toString(): string;
253
+ }
254
+ export declare class Field_Group extends __S {
255
+ static readonly _capnp: {
256
+ displayName: string;
257
+ id: string;
258
+ size: capnp.ObjectSize;
259
+ };
260
+ getTypeId(): capnp.Uint64;
261
+ setTypeId(value: capnp.Uint64): void;
262
+ toString(): string;
263
+ }
264
+ export declare enum Field_Ordinal_Which {
265
+ IMPLICIT = 0,
266
+ EXPLICIT = 1
267
+ }
268
+ export declare class Field_Ordinal extends __S {
269
+ static readonly IMPLICIT = Field_Ordinal_Which.IMPLICIT;
270
+ static readonly EXPLICIT = Field_Ordinal_Which.EXPLICIT;
271
+ static readonly _capnp: {
272
+ displayName: string;
273
+ id: string;
274
+ size: capnp.ObjectSize;
275
+ };
276
+ isImplicit(): boolean;
277
+ setImplicit(): void;
278
+ getExplicit(): number;
279
+ isExplicit(): boolean;
280
+ setExplicit(value: number): void;
281
+ toString(): string;
282
+ which(): Field_Ordinal_Which;
283
+ }
284
+ export declare enum Field_Which {
285
+ SLOT = 0,
286
+ GROUP = 1
287
+ }
288
+ export declare class Field extends __S {
289
+ static readonly NO_DISCRIMINANT = 65535;
290
+ static readonly SLOT = Field_Which.SLOT;
291
+ static readonly GROUP = Field_Which.GROUP;
292
+ static readonly _capnp: {
293
+ displayName: string;
294
+ id: string;
295
+ size: capnp.ObjectSize;
296
+ defaultDiscriminantValue: DataView;
297
+ };
298
+ static _Annotations: capnp.ListCtor<Annotation>;
299
+ getName(): string;
300
+ setName(value: string): void;
301
+ getCodeOrder(): number;
302
+ setCodeOrder(value: number): void;
303
+ adoptAnnotations(value: capnp.Orphan<capnp.List<Annotation>>): void;
304
+ disownAnnotations(): capnp.Orphan<capnp.List<Annotation>>;
305
+ getAnnotations(): capnp.List<Annotation>;
306
+ hasAnnotations(): boolean;
307
+ initAnnotations(length: number): capnp.List<Annotation>;
308
+ setAnnotations(value: capnp.List<Annotation>): void;
309
+ getDiscriminantValue(): number;
310
+ setDiscriminantValue(value: number): void;
311
+ getSlot(): Field_Slot;
312
+ initSlot(): Field_Slot;
313
+ isSlot(): boolean;
314
+ setSlot(): void;
315
+ getGroup(): Field_Group;
316
+ initGroup(): Field_Group;
317
+ isGroup(): boolean;
318
+ setGroup(): void;
319
+ getOrdinal(): Field_Ordinal;
320
+ initOrdinal(): Field_Ordinal;
321
+ toString(): string;
322
+ which(): Field_Which;
323
+ }
324
+ export declare class Enumerant extends __S {
325
+ static readonly _capnp: {
326
+ displayName: string;
327
+ id: string;
328
+ size: capnp.ObjectSize;
329
+ };
330
+ static _Annotations: capnp.ListCtor<Annotation>;
331
+ getName(): string;
332
+ setName(value: string): void;
333
+ getCodeOrder(): number;
334
+ setCodeOrder(value: number): void;
335
+ adoptAnnotations(value: capnp.Orphan<capnp.List<Annotation>>): void;
336
+ disownAnnotations(): capnp.Orphan<capnp.List<Annotation>>;
337
+ getAnnotations(): capnp.List<Annotation>;
338
+ hasAnnotations(): boolean;
339
+ initAnnotations(length: number): capnp.List<Annotation>;
340
+ setAnnotations(value: capnp.List<Annotation>): void;
341
+ toString(): string;
342
+ }
343
+ export declare class Superclass extends __S {
344
+ static readonly _capnp: {
345
+ displayName: string;
346
+ id: string;
347
+ size: capnp.ObjectSize;
348
+ };
349
+ getId(): capnp.Uint64;
350
+ setId(value: capnp.Uint64): void;
351
+ adoptBrand(value: capnp.Orphan<Brand>): void;
352
+ disownBrand(): capnp.Orphan<Brand>;
353
+ getBrand(): Brand;
354
+ hasBrand(): boolean;
355
+ initBrand(): Brand;
356
+ setBrand(value: Brand): void;
357
+ toString(): string;
358
+ }
359
+ export declare class Method extends __S {
360
+ static readonly _capnp: {
361
+ displayName: string;
362
+ id: string;
363
+ size: capnp.ObjectSize;
364
+ };
365
+ static _ImplicitParameters: capnp.ListCtor<Node_Parameter>;
366
+ static _Annotations: capnp.ListCtor<Annotation>;
367
+ getName(): string;
368
+ setName(value: string): void;
369
+ getCodeOrder(): number;
370
+ setCodeOrder(value: number): void;
371
+ adoptImplicitParameters(value: capnp.Orphan<capnp.List<Node_Parameter>>): void;
372
+ disownImplicitParameters(): capnp.Orphan<capnp.List<Node_Parameter>>;
373
+ getImplicitParameters(): capnp.List<Node_Parameter>;
374
+ hasImplicitParameters(): boolean;
375
+ initImplicitParameters(length: number): capnp.List<Node_Parameter>;
376
+ setImplicitParameters(value: capnp.List<Node_Parameter>): void;
377
+ getParamStructType(): capnp.Uint64;
378
+ setParamStructType(value: capnp.Uint64): void;
379
+ adoptParamBrand(value: capnp.Orphan<Brand>): void;
380
+ disownParamBrand(): capnp.Orphan<Brand>;
381
+ getParamBrand(): Brand;
382
+ hasParamBrand(): boolean;
383
+ initParamBrand(): Brand;
384
+ setParamBrand(value: Brand): void;
385
+ getResultStructType(): capnp.Uint64;
386
+ setResultStructType(value: capnp.Uint64): void;
387
+ adoptResultBrand(value: capnp.Orphan<Brand>): void;
388
+ disownResultBrand(): capnp.Orphan<Brand>;
389
+ getResultBrand(): Brand;
390
+ hasResultBrand(): boolean;
391
+ initResultBrand(): Brand;
392
+ setResultBrand(value: Brand): void;
393
+ adoptAnnotations(value: capnp.Orphan<capnp.List<Annotation>>): void;
394
+ disownAnnotations(): capnp.Orphan<capnp.List<Annotation>>;
395
+ getAnnotations(): capnp.List<Annotation>;
396
+ hasAnnotations(): boolean;
397
+ initAnnotations(length: number): capnp.List<Annotation>;
398
+ setAnnotations(value: capnp.List<Annotation>): void;
399
+ toString(): string;
400
+ }
401
+ export declare class Type_List extends __S {
402
+ static readonly _capnp: {
403
+ displayName: string;
404
+ id: string;
405
+ size: capnp.ObjectSize;
406
+ };
407
+ adoptElementType(value: capnp.Orphan<Type>): void;
408
+ disownElementType(): capnp.Orphan<Type>;
409
+ getElementType(): Type;
410
+ hasElementType(): boolean;
411
+ initElementType(): Type;
412
+ setElementType(value: Type): void;
413
+ toString(): string;
414
+ }
415
+ export declare class Type_Enum extends __S {
416
+ static readonly _capnp: {
417
+ displayName: string;
418
+ id: string;
419
+ size: capnp.ObjectSize;
420
+ };
421
+ getTypeId(): capnp.Uint64;
422
+ setTypeId(value: capnp.Uint64): void;
423
+ adoptBrand(value: capnp.Orphan<Brand>): void;
424
+ disownBrand(): capnp.Orphan<Brand>;
425
+ getBrand(): Brand;
426
+ hasBrand(): boolean;
427
+ initBrand(): Brand;
428
+ setBrand(value: Brand): void;
429
+ toString(): string;
430
+ }
431
+ export declare class Type_Struct extends __S {
432
+ static readonly _capnp: {
433
+ displayName: string;
434
+ id: string;
435
+ size: capnp.ObjectSize;
436
+ };
437
+ getTypeId(): capnp.Uint64;
438
+ setTypeId(value: capnp.Uint64): void;
439
+ adoptBrand(value: capnp.Orphan<Brand>): void;
440
+ disownBrand(): capnp.Orphan<Brand>;
441
+ getBrand(): Brand;
442
+ hasBrand(): boolean;
443
+ initBrand(): Brand;
444
+ setBrand(value: Brand): void;
445
+ toString(): string;
446
+ }
447
+ export declare class Type_Interface extends __S {
448
+ static readonly _capnp: {
449
+ displayName: string;
450
+ id: string;
451
+ size: capnp.ObjectSize;
452
+ };
453
+ getTypeId(): capnp.Uint64;
454
+ setTypeId(value: capnp.Uint64): void;
455
+ adoptBrand(value: capnp.Orphan<Brand>): void;
456
+ disownBrand(): capnp.Orphan<Brand>;
457
+ getBrand(): Brand;
458
+ hasBrand(): boolean;
459
+ initBrand(): Brand;
460
+ setBrand(value: Brand): void;
461
+ toString(): string;
462
+ }
463
+ export declare enum Type_AnyPointer_Unconstrained_Which {
464
+ ANY_KIND = 0,
465
+ STRUCT = 1,
466
+ LIST = 2,
467
+ CAPABILITY = 3
468
+ }
469
+ export declare class Type_AnyPointer_Unconstrained extends __S {
470
+ static readonly ANY_KIND = Type_AnyPointer_Unconstrained_Which.ANY_KIND;
471
+ static readonly STRUCT = Type_AnyPointer_Unconstrained_Which.STRUCT;
472
+ static readonly LIST = Type_AnyPointer_Unconstrained_Which.LIST;
473
+ static readonly CAPABILITY = Type_AnyPointer_Unconstrained_Which.CAPABILITY;
474
+ static readonly _capnp: {
475
+ displayName: string;
476
+ id: string;
477
+ size: capnp.ObjectSize;
478
+ };
479
+ isAnyKind(): boolean;
480
+ setAnyKind(): void;
481
+ isStruct(): boolean;
482
+ setStruct(): void;
483
+ isList(): boolean;
484
+ setList(): void;
485
+ isCapability(): boolean;
486
+ setCapability(): void;
487
+ toString(): string;
488
+ which(): Type_AnyPointer_Unconstrained_Which;
489
+ }
490
+ export declare class Type_AnyPointer_Parameter extends __S {
491
+ static readonly _capnp: {
492
+ displayName: string;
493
+ id: string;
494
+ size: capnp.ObjectSize;
495
+ };
496
+ getScopeId(): capnp.Uint64;
497
+ setScopeId(value: capnp.Uint64): void;
498
+ getParameterIndex(): number;
499
+ setParameterIndex(value: number): void;
500
+ toString(): string;
501
+ }
502
+ export declare class Type_AnyPointer_ImplicitMethodParameter extends __S {
503
+ static readonly _capnp: {
504
+ displayName: string;
505
+ id: string;
506
+ size: capnp.ObjectSize;
507
+ };
508
+ getParameterIndex(): number;
509
+ setParameterIndex(value: number): void;
510
+ toString(): string;
511
+ }
512
+ export declare enum Type_AnyPointer_Which {
513
+ UNCONSTRAINED = 0,
514
+ PARAMETER = 1,
515
+ IMPLICIT_METHOD_PARAMETER = 2
516
+ }
517
+ export declare class Type_AnyPointer extends __S {
518
+ static readonly UNCONSTRAINED = Type_AnyPointer_Which.UNCONSTRAINED;
519
+ static readonly PARAMETER = Type_AnyPointer_Which.PARAMETER;
520
+ static readonly IMPLICIT_METHOD_PARAMETER = Type_AnyPointer_Which.IMPLICIT_METHOD_PARAMETER;
521
+ static readonly _capnp: {
522
+ displayName: string;
523
+ id: string;
524
+ size: capnp.ObjectSize;
525
+ };
526
+ getUnconstrained(): Type_AnyPointer_Unconstrained;
527
+ initUnconstrained(): Type_AnyPointer_Unconstrained;
528
+ isUnconstrained(): boolean;
529
+ setUnconstrained(): void;
530
+ getParameter(): Type_AnyPointer_Parameter;
531
+ initParameter(): Type_AnyPointer_Parameter;
532
+ isParameter(): boolean;
533
+ setParameter(): void;
534
+ getImplicitMethodParameter(): Type_AnyPointer_ImplicitMethodParameter;
535
+ initImplicitMethodParameter(): Type_AnyPointer_ImplicitMethodParameter;
536
+ isImplicitMethodParameter(): boolean;
537
+ setImplicitMethodParameter(): void;
538
+ toString(): string;
539
+ which(): Type_AnyPointer_Which;
540
+ }
541
+ export declare enum Type_Which {
542
+ VOID = 0,
543
+ BOOL = 1,
544
+ INT8 = 2,
545
+ INT16 = 3,
546
+ INT32 = 4,
547
+ INT64 = 5,
548
+ UINT8 = 6,
549
+ UINT16 = 7,
550
+ UINT32 = 8,
551
+ UINT64 = 9,
552
+ FLOAT32 = 10,
553
+ FLOAT64 = 11,
554
+ TEXT = 12,
555
+ DATA = 13,
556
+ LIST = 14,
557
+ ENUM = 15,
558
+ STRUCT = 16,
559
+ INTERFACE = 17,
560
+ ANY_POINTER = 18
561
+ }
562
+ export declare class Type extends __S {
563
+ static readonly VOID = Type_Which.VOID;
564
+ static readonly BOOL = Type_Which.BOOL;
565
+ static readonly INT8 = Type_Which.INT8;
566
+ static readonly INT16 = Type_Which.INT16;
567
+ static readonly INT32 = Type_Which.INT32;
568
+ static readonly INT64 = Type_Which.INT64;
569
+ static readonly UINT8 = Type_Which.UINT8;
570
+ static readonly UINT16 = Type_Which.UINT16;
571
+ static readonly UINT32 = Type_Which.UINT32;
572
+ static readonly UINT64 = Type_Which.UINT64;
573
+ static readonly FLOAT32 = Type_Which.FLOAT32;
574
+ static readonly FLOAT64 = Type_Which.FLOAT64;
575
+ static readonly TEXT = Type_Which.TEXT;
576
+ static readonly DATA = Type_Which.DATA;
577
+ static readonly LIST = Type_Which.LIST;
578
+ static readonly ENUM = Type_Which.ENUM;
579
+ static readonly STRUCT = Type_Which.STRUCT;
580
+ static readonly INTERFACE = Type_Which.INTERFACE;
581
+ static readonly ANY_POINTER = Type_Which.ANY_POINTER;
582
+ static readonly _capnp: {
583
+ displayName: string;
584
+ id: string;
585
+ size: capnp.ObjectSize;
586
+ };
587
+ isVoid(): boolean;
588
+ setVoid(): void;
589
+ isBool(): boolean;
590
+ setBool(): void;
591
+ isInt8(): boolean;
592
+ setInt8(): void;
593
+ isInt16(): boolean;
594
+ setInt16(): void;
595
+ isInt32(): boolean;
596
+ setInt32(): void;
597
+ isInt64(): boolean;
598
+ setInt64(): void;
599
+ isUint8(): boolean;
600
+ setUint8(): void;
601
+ isUint16(): boolean;
602
+ setUint16(): void;
603
+ isUint32(): boolean;
604
+ setUint32(): void;
605
+ isUint64(): boolean;
606
+ setUint64(): void;
607
+ isFloat32(): boolean;
608
+ setFloat32(): void;
609
+ isFloat64(): boolean;
610
+ setFloat64(): void;
611
+ isText(): boolean;
612
+ setText(): void;
613
+ isData(): boolean;
614
+ setData(): void;
615
+ getList(): Type_List;
616
+ initList(): Type_List;
617
+ isList(): boolean;
618
+ setList(): void;
619
+ getEnum(): Type_Enum;
620
+ initEnum(): Type_Enum;
621
+ isEnum(): boolean;
622
+ setEnum(): void;
623
+ getStruct(): Type_Struct;
624
+ initStruct(): Type_Struct;
625
+ isStruct(): boolean;
626
+ setStruct(): void;
627
+ getInterface(): Type_Interface;
628
+ initInterface(): Type_Interface;
629
+ isInterface(): boolean;
630
+ setInterface(): void;
631
+ getAnyPointer(): Type_AnyPointer;
632
+ initAnyPointer(): Type_AnyPointer;
633
+ isAnyPointer(): boolean;
634
+ setAnyPointer(): void;
635
+ toString(): string;
636
+ which(): Type_Which;
637
+ }
638
+ export declare enum Brand_Scope_Which {
639
+ BIND = 0,
640
+ INHERIT = 1
641
+ }
642
+ export declare class Brand_Scope extends __S {
643
+ static readonly BIND = Brand_Scope_Which.BIND;
644
+ static readonly INHERIT = Brand_Scope_Which.INHERIT;
645
+ static readonly _capnp: {
646
+ displayName: string;
647
+ id: string;
648
+ size: capnp.ObjectSize;
649
+ };
650
+ static _Bind: capnp.ListCtor<Brand_Binding>;
651
+ getScopeId(): capnp.Uint64;
652
+ setScopeId(value: capnp.Uint64): void;
653
+ adoptBind(value: capnp.Orphan<capnp.List<Brand_Binding>>): void;
654
+ disownBind(): capnp.Orphan<capnp.List<Brand_Binding>>;
655
+ getBind(): capnp.List<Brand_Binding>;
656
+ hasBind(): boolean;
657
+ initBind(length: number): capnp.List<Brand_Binding>;
658
+ isBind(): boolean;
659
+ setBind(value: capnp.List<Brand_Binding>): void;
660
+ isInherit(): boolean;
661
+ setInherit(): void;
662
+ toString(): string;
663
+ which(): Brand_Scope_Which;
664
+ }
665
+ export declare enum Brand_Binding_Which {
666
+ UNBOUND = 0,
667
+ TYPE = 1
668
+ }
669
+ export declare class Brand_Binding extends __S {
670
+ static readonly UNBOUND = Brand_Binding_Which.UNBOUND;
671
+ static readonly TYPE = Brand_Binding_Which.TYPE;
672
+ static readonly _capnp: {
673
+ displayName: string;
674
+ id: string;
675
+ size: capnp.ObjectSize;
676
+ };
677
+ isUnbound(): boolean;
678
+ setUnbound(): void;
679
+ adoptType(value: capnp.Orphan<Type>): void;
680
+ disownType(): capnp.Orphan<Type>;
681
+ getType(): Type;
682
+ hasType(): boolean;
683
+ initType(): Type;
684
+ isType(): boolean;
685
+ setType(value: Type): void;
686
+ toString(): string;
687
+ which(): Brand_Binding_Which;
688
+ }
689
+ export declare class Brand extends __S {
690
+ static readonly Scope: typeof Brand_Scope;
691
+ static readonly Binding: typeof Brand_Binding;
692
+ static readonly _capnp: {
693
+ displayName: string;
694
+ id: string;
695
+ size: capnp.ObjectSize;
696
+ };
697
+ static _Scopes: capnp.ListCtor<Brand_Scope>;
698
+ adoptScopes(value: capnp.Orphan<capnp.List<Brand_Scope>>): void;
699
+ disownScopes(): capnp.Orphan<capnp.List<Brand_Scope>>;
700
+ getScopes(): capnp.List<Brand_Scope>;
701
+ hasScopes(): boolean;
702
+ initScopes(length: number): capnp.List<Brand_Scope>;
703
+ setScopes(value: capnp.List<Brand_Scope>): void;
704
+ toString(): string;
705
+ }
706
+ export declare enum Value_Which {
707
+ VOID = 0,
708
+ BOOL = 1,
709
+ INT8 = 2,
710
+ INT16 = 3,
711
+ INT32 = 4,
712
+ INT64 = 5,
713
+ UINT8 = 6,
714
+ UINT16 = 7,
715
+ UINT32 = 8,
716
+ UINT64 = 9,
717
+ FLOAT32 = 10,
718
+ FLOAT64 = 11,
719
+ TEXT = 12,
720
+ DATA = 13,
721
+ LIST = 14,
722
+ ENUM = 15,
723
+ STRUCT = 16,
724
+ INTERFACE = 17,
725
+ ANY_POINTER = 18
726
+ }
727
+ export declare class Value extends __S {
728
+ static readonly VOID = Value_Which.VOID;
729
+ static readonly BOOL = Value_Which.BOOL;
730
+ static readonly INT8 = Value_Which.INT8;
731
+ static readonly INT16 = Value_Which.INT16;
732
+ static readonly INT32 = Value_Which.INT32;
733
+ static readonly INT64 = Value_Which.INT64;
734
+ static readonly UINT8 = Value_Which.UINT8;
735
+ static readonly UINT16 = Value_Which.UINT16;
736
+ static readonly UINT32 = Value_Which.UINT32;
737
+ static readonly UINT64 = Value_Which.UINT64;
738
+ static readonly FLOAT32 = Value_Which.FLOAT32;
739
+ static readonly FLOAT64 = Value_Which.FLOAT64;
740
+ static readonly TEXT = Value_Which.TEXT;
741
+ static readonly DATA = Value_Which.DATA;
742
+ static readonly LIST = Value_Which.LIST;
743
+ static readonly ENUM = Value_Which.ENUM;
744
+ static readonly STRUCT = Value_Which.STRUCT;
745
+ static readonly INTERFACE = Value_Which.INTERFACE;
746
+ static readonly ANY_POINTER = Value_Which.ANY_POINTER;
747
+ static readonly _capnp: {
748
+ displayName: string;
749
+ id: string;
750
+ size: capnp.ObjectSize;
751
+ };
752
+ isVoid(): boolean;
753
+ setVoid(): void;
754
+ getBool(): boolean;
755
+ isBool(): boolean;
756
+ setBool(value: boolean): void;
757
+ getInt8(): number;
758
+ isInt8(): boolean;
759
+ setInt8(value: number): void;
760
+ getInt16(): number;
761
+ isInt16(): boolean;
762
+ setInt16(value: number): void;
763
+ getInt32(): number;
764
+ isInt32(): boolean;
765
+ setInt32(value: number): void;
766
+ getInt64(): capnp.Int64;
767
+ isInt64(): boolean;
768
+ setInt64(value: capnp.Int64): void;
769
+ getUint8(): number;
770
+ isUint8(): boolean;
771
+ setUint8(value: number): void;
772
+ getUint16(): number;
773
+ isUint16(): boolean;
774
+ setUint16(value: number): void;
775
+ getUint32(): number;
776
+ isUint32(): boolean;
777
+ setUint32(value: number): void;
778
+ getUint64(): capnp.Uint64;
779
+ isUint64(): boolean;
780
+ setUint64(value: capnp.Uint64): void;
781
+ getFloat32(): number;
782
+ isFloat32(): boolean;
783
+ setFloat32(value: number): void;
784
+ getFloat64(): number;
785
+ isFloat64(): boolean;
786
+ setFloat64(value: number): void;
787
+ getText(): string;
788
+ isText(): boolean;
789
+ setText(value: string): void;
790
+ adoptData(value: capnp.Orphan<capnp.Data>): void;
791
+ disownData(): capnp.Orphan<capnp.Data>;
792
+ getData(): capnp.Data;
793
+ hasData(): boolean;
794
+ initData(length: number): capnp.Data;
795
+ isData(): boolean;
796
+ setData(value: capnp.Data): void;
797
+ adoptList(value: capnp.Orphan<capnp.Pointer>): void;
798
+ disownList(): capnp.Orphan<capnp.Pointer>;
799
+ getList(): capnp.Pointer;
800
+ hasList(): boolean;
801
+ isList(): boolean;
802
+ setList(value: capnp.Pointer): void;
803
+ getEnum(): number;
804
+ isEnum(): boolean;
805
+ setEnum(value: number): void;
806
+ adoptStruct(value: capnp.Orphan<capnp.Pointer>): void;
807
+ disownStruct(): capnp.Orphan<capnp.Pointer>;
808
+ getStruct(): capnp.Pointer;
809
+ hasStruct(): boolean;
810
+ isStruct(): boolean;
811
+ setStruct(value: capnp.Pointer): void;
812
+ isInterface(): boolean;
813
+ setInterface(): void;
814
+ adoptAnyPointer(value: capnp.Orphan<capnp.Pointer>): void;
815
+ disownAnyPointer(): capnp.Orphan<capnp.Pointer>;
816
+ getAnyPointer(): capnp.Pointer;
817
+ hasAnyPointer(): boolean;
818
+ isAnyPointer(): boolean;
819
+ setAnyPointer(value: capnp.Pointer): void;
820
+ toString(): string;
821
+ which(): Value_Which;
822
+ }
823
+ export declare class Annotation extends __S {
824
+ static readonly _capnp: {
825
+ displayName: string;
826
+ id: string;
827
+ size: capnp.ObjectSize;
828
+ };
829
+ getId(): capnp.Uint64;
830
+ setId(value: capnp.Uint64): void;
831
+ adoptBrand(value: capnp.Orphan<Brand>): void;
832
+ disownBrand(): capnp.Orphan<Brand>;
833
+ getBrand(): Brand;
834
+ hasBrand(): boolean;
835
+ initBrand(): Brand;
836
+ setBrand(value: Brand): void;
837
+ adoptValue(value: capnp.Orphan<Value>): void;
838
+ disownValue(): capnp.Orphan<Value>;
839
+ getValue(): Value;
840
+ hasValue(): boolean;
841
+ initValue(): Value;
842
+ setValue(value: Value): void;
843
+ toString(): string;
844
+ }
845
+ export declare enum ElementSize {
846
+ EMPTY = 0,
847
+ BIT = 1,
848
+ BYTE = 2,
849
+ TWO_BYTES = 3,
850
+ FOUR_BYTES = 4,
851
+ EIGHT_BYTES = 5,
852
+ POINTER = 6,
853
+ INLINE_COMPOSITE = 7
854
+ }
855
+ export declare class CapnpVersion extends __S {
856
+ static readonly _capnp: {
857
+ displayName: string;
858
+ id: string;
859
+ size: capnp.ObjectSize;
860
+ };
861
+ getMajor(): number;
862
+ setMajor(value: number): void;
863
+ getMinor(): number;
864
+ setMinor(value: number): void;
865
+ getMicro(): number;
866
+ setMicro(value: number): void;
867
+ toString(): string;
868
+ }
869
+ export declare class CodeGeneratorRequest_RequestedFile_Import extends __S {
870
+ static readonly _capnp: {
871
+ displayName: string;
872
+ id: string;
873
+ size: capnp.ObjectSize;
874
+ };
875
+ getId(): capnp.Uint64;
876
+ setId(value: capnp.Uint64): void;
877
+ getName(): string;
878
+ setName(value: string): void;
879
+ toString(): string;
880
+ }
881
+ export declare class CodeGeneratorRequest_RequestedFile extends __S {
882
+ static readonly Import: typeof CodeGeneratorRequest_RequestedFile_Import;
883
+ static readonly _capnp: {
884
+ displayName: string;
885
+ id: string;
886
+ size: capnp.ObjectSize;
887
+ };
888
+ static _Imports: capnp.ListCtor<CodeGeneratorRequest_RequestedFile_Import>;
889
+ getId(): capnp.Uint64;
890
+ setId(value: capnp.Uint64): void;
891
+ getFilename(): string;
892
+ setFilename(value: string): void;
893
+ adoptImports(value: capnp.Orphan<capnp.List<CodeGeneratorRequest_RequestedFile_Import>>): void;
894
+ disownImports(): capnp.Orphan<capnp.List<CodeGeneratorRequest_RequestedFile_Import>>;
895
+ getImports(): capnp.List<CodeGeneratorRequest_RequestedFile_Import>;
896
+ hasImports(): boolean;
897
+ initImports(length: number): capnp.List<CodeGeneratorRequest_RequestedFile_Import>;
898
+ setImports(value: capnp.List<CodeGeneratorRequest_RequestedFile_Import>): void;
899
+ toString(): string;
900
+ }
901
+ export declare class CodeGeneratorRequest extends __S {
902
+ static readonly RequestedFile: typeof CodeGeneratorRequest_RequestedFile;
903
+ static readonly _capnp: {
904
+ displayName: string;
905
+ id: string;
906
+ size: capnp.ObjectSize;
907
+ };
908
+ static _Nodes: capnp.ListCtor<Node>;
909
+ static _RequestedFiles: capnp.ListCtor<CodeGeneratorRequest_RequestedFile>;
910
+ adoptCapnpVersion(value: capnp.Orphan<CapnpVersion>): void;
911
+ disownCapnpVersion(): capnp.Orphan<CapnpVersion>;
912
+ getCapnpVersion(): CapnpVersion;
913
+ hasCapnpVersion(): boolean;
914
+ initCapnpVersion(): CapnpVersion;
915
+ setCapnpVersion(value: CapnpVersion): void;
916
+ adoptNodes(value: capnp.Orphan<capnp.List<Node>>): void;
917
+ disownNodes(): capnp.Orphan<capnp.List<Node>>;
918
+ getNodes(): capnp.List<Node>;
919
+ hasNodes(): boolean;
920
+ initNodes(length: number): capnp.List<Node>;
921
+ setNodes(value: capnp.List<Node>): void;
922
+ adoptRequestedFiles(value: capnp.Orphan<capnp.List<CodeGeneratorRequest_RequestedFile>>): void;
923
+ disownRequestedFiles(): capnp.Orphan<capnp.List<CodeGeneratorRequest_RequestedFile>>;
924
+ getRequestedFiles(): capnp.List<CodeGeneratorRequest_RequestedFile>;
925
+ hasRequestedFiles(): boolean;
926
+ initRequestedFiles(length: number): capnp.List<CodeGeneratorRequest_RequestedFile>;
927
+ setRequestedFiles(value: capnp.List<CodeGeneratorRequest_RequestedFile>): void;
928
+ toString(): string;
929
+ }
workers1/auto3d/node_modules/capnp-ts/src/std/schema.capnp.js ADDED
@@ -0,0 +1,1081 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ /**
3
+ * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
4
+ * compiled output.
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.CodeGeneratorRequest = exports.CodeGeneratorRequest_RequestedFile = exports.CodeGeneratorRequest_RequestedFile_Import = exports.CapnpVersion = exports.ElementSize = exports.Annotation = exports.Value = exports.Value_Which = exports.Brand = exports.Brand_Binding = exports.Brand_Binding_Which = exports.Brand_Scope = exports.Brand_Scope_Which = exports.Type = exports.Type_Which = exports.Type_AnyPointer = exports.Type_AnyPointer_Which = exports.Type_AnyPointer_ImplicitMethodParameter = exports.Type_AnyPointer_Parameter = exports.Type_AnyPointer_Unconstrained = exports.Type_AnyPointer_Unconstrained_Which = exports.Type_Interface = exports.Type_Struct = exports.Type_Enum = exports.Type_List = exports.Method = exports.Superclass = exports.Enumerant = exports.Field = exports.Field_Which = exports.Field_Ordinal = exports.Field_Ordinal_Which = exports.Field_Group = exports.Field_Slot = exports.Node = exports.Node_Which = exports.Node_Annotation = exports.Node_Const = exports.Node_Interface = exports.Node_Enum = exports.Node_Struct = exports.Node_NestedNode = exports.Node_Parameter = exports._capnpFileId = void 0;
8
+ const tslib_1 = require("tslib");
9
+ const capnp = tslib_1.__importStar(require("../index"));
10
+ const index_1 = require("../index");
11
+ exports._capnpFileId = "a93fc509624c72d9";
12
+ class Node_Parameter extends index_1.Struct {
13
+ getName() { return index_1.Struct.getText(0, this); }
14
+ setName(value) { index_1.Struct.setText(0, value, this); }
15
+ toString() { return "Node_Parameter_" + super.toString(); }
16
+ }
17
+ exports.Node_Parameter = Node_Parameter;
18
+ Node_Parameter._capnp = { displayName: "Parameter", id: "b9521bccf10fa3b1", size: new index_1.ObjectSize(0, 1) };
19
+ class Node_NestedNode extends index_1.Struct {
20
+ getName() { return index_1.Struct.getText(0, this); }
21
+ setName(value) { index_1.Struct.setText(0, value, this); }
22
+ getId() { return index_1.Struct.getUint64(0, this); }
23
+ setId(value) { index_1.Struct.setUint64(0, value, this); }
24
+ toString() { return "Node_NestedNode_" + super.toString(); }
25
+ }
26
+ exports.Node_NestedNode = Node_NestedNode;
27
+ Node_NestedNode._capnp = { displayName: "NestedNode", id: "debf55bbfa0fc242", size: new index_1.ObjectSize(8, 1) };
28
+ class Node_Struct extends index_1.Struct {
29
+ getDataWordCount() { return index_1.Struct.getUint16(14, this); }
30
+ setDataWordCount(value) { index_1.Struct.setUint16(14, value, this); }
31
+ getPointerCount() { return index_1.Struct.getUint16(24, this); }
32
+ setPointerCount(value) { index_1.Struct.setUint16(24, value, this); }
33
+ getPreferredListEncoding() { return index_1.Struct.getUint16(26, this); }
34
+ setPreferredListEncoding(value) { index_1.Struct.setUint16(26, value, this); }
35
+ getIsGroup() { return index_1.Struct.getBit(224, this); }
36
+ setIsGroup(value) { index_1.Struct.setBit(224, value, this); }
37
+ getDiscriminantCount() { return index_1.Struct.getUint16(30, this); }
38
+ setDiscriminantCount(value) { index_1.Struct.setUint16(30, value, this); }
39
+ getDiscriminantOffset() { return index_1.Struct.getUint32(32, this); }
40
+ setDiscriminantOffset(value) { index_1.Struct.setUint32(32, value, this); }
41
+ adoptFields(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(3, this)); }
42
+ disownFields() { return index_1.Struct.disown(this.getFields()); }
43
+ getFields() { return index_1.Struct.getList(3, Node_Struct._Fields, this); }
44
+ hasFields() { return !index_1.Struct.isNull(index_1.Struct.getPointer(3, this)); }
45
+ initFields(length) { return index_1.Struct.initList(3, Node_Struct._Fields, length, this); }
46
+ setFields(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(3, this)); }
47
+ toString() { return "Node_Struct_" + super.toString(); }
48
+ }
49
+ exports.Node_Struct = Node_Struct;
50
+ Node_Struct._capnp = { displayName: "struct", id: "9ea0b19b37fb4435", size: new index_1.ObjectSize(40, 6) };
51
+ class Node_Enum extends index_1.Struct {
52
+ adoptEnumerants(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(3, this)); }
53
+ disownEnumerants() { return index_1.Struct.disown(this.getEnumerants()); }
54
+ getEnumerants() { return index_1.Struct.getList(3, Node_Enum._Enumerants, this); }
55
+ hasEnumerants() { return !index_1.Struct.isNull(index_1.Struct.getPointer(3, this)); }
56
+ initEnumerants(length) { return index_1.Struct.initList(3, Node_Enum._Enumerants, length, this); }
57
+ setEnumerants(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(3, this)); }
58
+ toString() { return "Node_Enum_" + super.toString(); }
59
+ }
60
+ exports.Node_Enum = Node_Enum;
61
+ Node_Enum._capnp = { displayName: "enum", id: "b54ab3364333f598", size: new index_1.ObjectSize(40, 6) };
62
+ class Node_Interface extends index_1.Struct {
63
+ adoptMethods(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(3, this)); }
64
+ disownMethods() { return index_1.Struct.disown(this.getMethods()); }
65
+ getMethods() { return index_1.Struct.getList(3, Node_Interface._Methods, this); }
66
+ hasMethods() { return !index_1.Struct.isNull(index_1.Struct.getPointer(3, this)); }
67
+ initMethods(length) { return index_1.Struct.initList(3, Node_Interface._Methods, length, this); }
68
+ setMethods(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(3, this)); }
69
+ adoptSuperclasses(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(4, this)); }
70
+ disownSuperclasses() { return index_1.Struct.disown(this.getSuperclasses()); }
71
+ getSuperclasses() { return index_1.Struct.getList(4, Node_Interface._Superclasses, this); }
72
+ hasSuperclasses() { return !index_1.Struct.isNull(index_1.Struct.getPointer(4, this)); }
73
+ initSuperclasses(length) { return index_1.Struct.initList(4, Node_Interface._Superclasses, length, this); }
74
+ setSuperclasses(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(4, this)); }
75
+ toString() { return "Node_Interface_" + super.toString(); }
76
+ }
77
+ exports.Node_Interface = Node_Interface;
78
+ Node_Interface._capnp = { displayName: "interface", id: "e82753cff0c2218f", size: new index_1.ObjectSize(40, 6) };
79
+ class Node_Const extends index_1.Struct {
80
+ adoptType(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(3, this)); }
81
+ disownType() { return index_1.Struct.disown(this.getType()); }
82
+ getType() { return index_1.Struct.getStruct(3, Type, this); }
83
+ hasType() { return !index_1.Struct.isNull(index_1.Struct.getPointer(3, this)); }
84
+ initType() { return index_1.Struct.initStructAt(3, Type, this); }
85
+ setType(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(3, this)); }
86
+ adoptValue(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(4, this)); }
87
+ disownValue() { return index_1.Struct.disown(this.getValue()); }
88
+ getValue() { return index_1.Struct.getStruct(4, Value, this); }
89
+ hasValue() { return !index_1.Struct.isNull(index_1.Struct.getPointer(4, this)); }
90
+ initValue() { return index_1.Struct.initStructAt(4, Value, this); }
91
+ setValue(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(4, this)); }
92
+ toString() { return "Node_Const_" + super.toString(); }
93
+ }
94
+ exports.Node_Const = Node_Const;
95
+ Node_Const._capnp = { displayName: "const", id: "b18aa5ac7a0d9420", size: new index_1.ObjectSize(40, 6) };
96
+ class Node_Annotation extends index_1.Struct {
97
+ adoptType(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(3, this)); }
98
+ disownType() { return index_1.Struct.disown(this.getType()); }
99
+ getType() { return index_1.Struct.getStruct(3, Type, this); }
100
+ hasType() { return !index_1.Struct.isNull(index_1.Struct.getPointer(3, this)); }
101
+ initType() { return index_1.Struct.initStructAt(3, Type, this); }
102
+ setType(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(3, this)); }
103
+ getTargetsFile() { return index_1.Struct.getBit(112, this); }
104
+ setTargetsFile(value) { index_1.Struct.setBit(112, value, this); }
105
+ getTargetsConst() { return index_1.Struct.getBit(113, this); }
106
+ setTargetsConst(value) { index_1.Struct.setBit(113, value, this); }
107
+ getTargetsEnum() { return index_1.Struct.getBit(114, this); }
108
+ setTargetsEnum(value) { index_1.Struct.setBit(114, value, this); }
109
+ getTargetsEnumerant() { return index_1.Struct.getBit(115, this); }
110
+ setTargetsEnumerant(value) { index_1.Struct.setBit(115, value, this); }
111
+ getTargetsStruct() { return index_1.Struct.getBit(116, this); }
112
+ setTargetsStruct(value) { index_1.Struct.setBit(116, value, this); }
113
+ getTargetsField() { return index_1.Struct.getBit(117, this); }
114
+ setTargetsField(value) { index_1.Struct.setBit(117, value, this); }
115
+ getTargetsUnion() { return index_1.Struct.getBit(118, this); }
116
+ setTargetsUnion(value) { index_1.Struct.setBit(118, value, this); }
117
+ getTargetsGroup() { return index_1.Struct.getBit(119, this); }
118
+ setTargetsGroup(value) { index_1.Struct.setBit(119, value, this); }
119
+ getTargetsInterface() { return index_1.Struct.getBit(120, this); }
120
+ setTargetsInterface(value) { index_1.Struct.setBit(120, value, this); }
121
+ getTargetsMethod() { return index_1.Struct.getBit(121, this); }
122
+ setTargetsMethod(value) { index_1.Struct.setBit(121, value, this); }
123
+ getTargetsParam() { return index_1.Struct.getBit(122, this); }
124
+ setTargetsParam(value) { index_1.Struct.setBit(122, value, this); }
125
+ getTargetsAnnotation() { return index_1.Struct.getBit(123, this); }
126
+ setTargetsAnnotation(value) { index_1.Struct.setBit(123, value, this); }
127
+ toString() { return "Node_Annotation_" + super.toString(); }
128
+ }
129
+ exports.Node_Annotation = Node_Annotation;
130
+ Node_Annotation._capnp = { displayName: "annotation", id: "ec1619d4400a0290", size: new index_1.ObjectSize(40, 6) };
131
+ var Node_Which;
132
+ (function (Node_Which) {
133
+ Node_Which[Node_Which["FILE"] = 0] = "FILE";
134
+ Node_Which[Node_Which["STRUCT"] = 1] = "STRUCT";
135
+ Node_Which[Node_Which["ENUM"] = 2] = "ENUM";
136
+ Node_Which[Node_Which["INTERFACE"] = 3] = "INTERFACE";
137
+ Node_Which[Node_Which["CONST"] = 4] = "CONST";
138
+ Node_Which[Node_Which["ANNOTATION"] = 5] = "ANNOTATION";
139
+ })(Node_Which = exports.Node_Which || (exports.Node_Which = {}));
140
+ class Node extends index_1.Struct {
141
+ getId() { return index_1.Struct.getUint64(0, this); }
142
+ setId(value) { index_1.Struct.setUint64(0, value, this); }
143
+ getDisplayName() { return index_1.Struct.getText(0, this); }
144
+ setDisplayName(value) { index_1.Struct.setText(0, value, this); }
145
+ getDisplayNamePrefixLength() { return index_1.Struct.getUint32(8, this); }
146
+ setDisplayNamePrefixLength(value) { index_1.Struct.setUint32(8, value, this); }
147
+ getScopeId() { return index_1.Struct.getUint64(16, this); }
148
+ setScopeId(value) { index_1.Struct.setUint64(16, value, this); }
149
+ adoptParameters(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(5, this)); }
150
+ disownParameters() { return index_1.Struct.disown(this.getParameters()); }
151
+ getParameters() { return index_1.Struct.getList(5, Node._Parameters, this); }
152
+ hasParameters() { return !index_1.Struct.isNull(index_1.Struct.getPointer(5, this)); }
153
+ initParameters(length) { return index_1.Struct.initList(5, Node._Parameters, length, this); }
154
+ setParameters(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(5, this)); }
155
+ getIsGeneric() { return index_1.Struct.getBit(288, this); }
156
+ setIsGeneric(value) { index_1.Struct.setBit(288, value, this); }
157
+ adoptNestedNodes(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(1, this)); }
158
+ disownNestedNodes() { return index_1.Struct.disown(this.getNestedNodes()); }
159
+ getNestedNodes() { return index_1.Struct.getList(1, Node._NestedNodes, this); }
160
+ hasNestedNodes() { return !index_1.Struct.isNull(index_1.Struct.getPointer(1, this)); }
161
+ initNestedNodes(length) { return index_1.Struct.initList(1, Node._NestedNodes, length, this); }
162
+ setNestedNodes(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(1, this)); }
163
+ adoptAnnotations(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(2, this)); }
164
+ disownAnnotations() { return index_1.Struct.disown(this.getAnnotations()); }
165
+ getAnnotations() { return index_1.Struct.getList(2, Node._Annotations, this); }
166
+ hasAnnotations() { return !index_1.Struct.isNull(index_1.Struct.getPointer(2, this)); }
167
+ initAnnotations(length) { return index_1.Struct.initList(2, Node._Annotations, length, this); }
168
+ setAnnotations(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(2, this)); }
169
+ isFile() { return index_1.Struct.getUint16(12, this) === 0; }
170
+ setFile() { index_1.Struct.setUint16(12, 0, this); }
171
+ getStruct() {
172
+ index_1.Struct.testWhich("struct", index_1.Struct.getUint16(12, this), 1, this);
173
+ return index_1.Struct.getAs(Node_Struct, this);
174
+ }
175
+ initStruct() {
176
+ index_1.Struct.setUint16(12, 1, this);
177
+ return index_1.Struct.getAs(Node_Struct, this);
178
+ }
179
+ isStruct() { return index_1.Struct.getUint16(12, this) === 1; }
180
+ setStruct() { index_1.Struct.setUint16(12, 1, this); }
181
+ getEnum() {
182
+ index_1.Struct.testWhich("enum", index_1.Struct.getUint16(12, this), 2, this);
183
+ return index_1.Struct.getAs(Node_Enum, this);
184
+ }
185
+ initEnum() {
186
+ index_1.Struct.setUint16(12, 2, this);
187
+ return index_1.Struct.getAs(Node_Enum, this);
188
+ }
189
+ isEnum() { return index_1.Struct.getUint16(12, this) === 2; }
190
+ setEnum() { index_1.Struct.setUint16(12, 2, this); }
191
+ getInterface() {
192
+ index_1.Struct.testWhich("interface", index_1.Struct.getUint16(12, this), 3, this);
193
+ return index_1.Struct.getAs(Node_Interface, this);
194
+ }
195
+ initInterface() {
196
+ index_1.Struct.setUint16(12, 3, this);
197
+ return index_1.Struct.getAs(Node_Interface, this);
198
+ }
199
+ isInterface() { return index_1.Struct.getUint16(12, this) === 3; }
200
+ setInterface() { index_1.Struct.setUint16(12, 3, this); }
201
+ getConst() {
202
+ index_1.Struct.testWhich("const", index_1.Struct.getUint16(12, this), 4, this);
203
+ return index_1.Struct.getAs(Node_Const, this);
204
+ }
205
+ initConst() {
206
+ index_1.Struct.setUint16(12, 4, this);
207
+ return index_1.Struct.getAs(Node_Const, this);
208
+ }
209
+ isConst() { return index_1.Struct.getUint16(12, this) === 4; }
210
+ setConst() { index_1.Struct.setUint16(12, 4, this); }
211
+ getAnnotation() {
212
+ index_1.Struct.testWhich("annotation", index_1.Struct.getUint16(12, this), 5, this);
213
+ return index_1.Struct.getAs(Node_Annotation, this);
214
+ }
215
+ initAnnotation() {
216
+ index_1.Struct.setUint16(12, 5, this);
217
+ return index_1.Struct.getAs(Node_Annotation, this);
218
+ }
219
+ isAnnotation() { return index_1.Struct.getUint16(12, this) === 5; }
220
+ setAnnotation() { index_1.Struct.setUint16(12, 5, this); }
221
+ toString() { return "Node_" + super.toString(); }
222
+ which() { return index_1.Struct.getUint16(12, this); }
223
+ }
224
+ exports.Node = Node;
225
+ Node.FILE = Node_Which.FILE;
226
+ Node.STRUCT = Node_Which.STRUCT;
227
+ Node.ENUM = Node_Which.ENUM;
228
+ Node.INTERFACE = Node_Which.INTERFACE;
229
+ Node.CONST = Node_Which.CONST;
230
+ Node.ANNOTATION = Node_Which.ANNOTATION;
231
+ Node.Parameter = Node_Parameter;
232
+ Node.NestedNode = Node_NestedNode;
233
+ Node._capnp = { displayName: "Node", id: "e682ab4cf923a417", size: new index_1.ObjectSize(40, 6) };
234
+ class Field_Slot extends index_1.Struct {
235
+ getOffset() { return index_1.Struct.getUint32(4, this); }
236
+ setOffset(value) { index_1.Struct.setUint32(4, value, this); }
237
+ adoptType(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(2, this)); }
238
+ disownType() { return index_1.Struct.disown(this.getType()); }
239
+ getType() { return index_1.Struct.getStruct(2, Type, this); }
240
+ hasType() { return !index_1.Struct.isNull(index_1.Struct.getPointer(2, this)); }
241
+ initType() { return index_1.Struct.initStructAt(2, Type, this); }
242
+ setType(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(2, this)); }
243
+ adoptDefaultValue(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(3, this)); }
244
+ disownDefaultValue() { return index_1.Struct.disown(this.getDefaultValue()); }
245
+ getDefaultValue() { return index_1.Struct.getStruct(3, Value, this); }
246
+ hasDefaultValue() { return !index_1.Struct.isNull(index_1.Struct.getPointer(3, this)); }
247
+ initDefaultValue() { return index_1.Struct.initStructAt(3, Value, this); }
248
+ setDefaultValue(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(3, this)); }
249
+ getHadExplicitDefault() { return index_1.Struct.getBit(128, this); }
250
+ setHadExplicitDefault(value) { index_1.Struct.setBit(128, value, this); }
251
+ toString() { return "Field_Slot_" + super.toString(); }
252
+ }
253
+ exports.Field_Slot = Field_Slot;
254
+ Field_Slot._capnp = { displayName: "slot", id: "c42305476bb4746f", size: new index_1.ObjectSize(24, 4) };
255
+ class Field_Group extends index_1.Struct {
256
+ getTypeId() { return index_1.Struct.getUint64(16, this); }
257
+ setTypeId(value) { index_1.Struct.setUint64(16, value, this); }
258
+ toString() { return "Field_Group_" + super.toString(); }
259
+ }
260
+ exports.Field_Group = Field_Group;
261
+ Field_Group._capnp = { displayName: "group", id: "cafccddb68db1d11", size: new index_1.ObjectSize(24, 4) };
262
+ var Field_Ordinal_Which;
263
+ (function (Field_Ordinal_Which) {
264
+ Field_Ordinal_Which[Field_Ordinal_Which["IMPLICIT"] = 0] = "IMPLICIT";
265
+ Field_Ordinal_Which[Field_Ordinal_Which["EXPLICIT"] = 1] = "EXPLICIT";
266
+ })(Field_Ordinal_Which = exports.Field_Ordinal_Which || (exports.Field_Ordinal_Which = {}));
267
+ class Field_Ordinal extends index_1.Struct {
268
+ isImplicit() { return index_1.Struct.getUint16(10, this) === 0; }
269
+ setImplicit() { index_1.Struct.setUint16(10, 0, this); }
270
+ getExplicit() {
271
+ index_1.Struct.testWhich("explicit", index_1.Struct.getUint16(10, this), 1, this);
272
+ return index_1.Struct.getUint16(12, this);
273
+ }
274
+ isExplicit() { return index_1.Struct.getUint16(10, this) === 1; }
275
+ setExplicit(value) {
276
+ index_1.Struct.setUint16(10, 1, this);
277
+ index_1.Struct.setUint16(12, value, this);
278
+ }
279
+ toString() { return "Field_Ordinal_" + super.toString(); }
280
+ which() { return index_1.Struct.getUint16(10, this); }
281
+ }
282
+ exports.Field_Ordinal = Field_Ordinal;
283
+ Field_Ordinal.IMPLICIT = Field_Ordinal_Which.IMPLICIT;
284
+ Field_Ordinal.EXPLICIT = Field_Ordinal_Which.EXPLICIT;
285
+ Field_Ordinal._capnp = { displayName: "ordinal", id: "bb90d5c287870be6", size: new index_1.ObjectSize(24, 4) };
286
+ var Field_Which;
287
+ (function (Field_Which) {
288
+ Field_Which[Field_Which["SLOT"] = 0] = "SLOT";
289
+ Field_Which[Field_Which["GROUP"] = 1] = "GROUP";
290
+ })(Field_Which = exports.Field_Which || (exports.Field_Which = {}));
291
+ class Field extends index_1.Struct {
292
+ getName() { return index_1.Struct.getText(0, this); }
293
+ setName(value) { index_1.Struct.setText(0, value, this); }
294
+ getCodeOrder() { return index_1.Struct.getUint16(0, this); }
295
+ setCodeOrder(value) { index_1.Struct.setUint16(0, value, this); }
296
+ adoptAnnotations(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(1, this)); }
297
+ disownAnnotations() { return index_1.Struct.disown(this.getAnnotations()); }
298
+ getAnnotations() { return index_1.Struct.getList(1, Field._Annotations, this); }
299
+ hasAnnotations() { return !index_1.Struct.isNull(index_1.Struct.getPointer(1, this)); }
300
+ initAnnotations(length) { return index_1.Struct.initList(1, Field._Annotations, length, this); }
301
+ setAnnotations(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(1, this)); }
302
+ getDiscriminantValue() { return index_1.Struct.getUint16(2, this, Field._capnp.defaultDiscriminantValue); }
303
+ setDiscriminantValue(value) { index_1.Struct.setUint16(2, value, this); }
304
+ getSlot() {
305
+ index_1.Struct.testWhich("slot", index_1.Struct.getUint16(8, this), 0, this);
306
+ return index_1.Struct.getAs(Field_Slot, this);
307
+ }
308
+ initSlot() {
309
+ index_1.Struct.setUint16(8, 0, this);
310
+ return index_1.Struct.getAs(Field_Slot, this);
311
+ }
312
+ isSlot() { return index_1.Struct.getUint16(8, this) === 0; }
313
+ setSlot() { index_1.Struct.setUint16(8, 0, this); }
314
+ getGroup() {
315
+ index_1.Struct.testWhich("group", index_1.Struct.getUint16(8, this), 1, this);
316
+ return index_1.Struct.getAs(Field_Group, this);
317
+ }
318
+ initGroup() {
319
+ index_1.Struct.setUint16(8, 1, this);
320
+ return index_1.Struct.getAs(Field_Group, this);
321
+ }
322
+ isGroup() { return index_1.Struct.getUint16(8, this) === 1; }
323
+ setGroup() { index_1.Struct.setUint16(8, 1, this); }
324
+ getOrdinal() { return index_1.Struct.getAs(Field_Ordinal, this); }
325
+ initOrdinal() { return index_1.Struct.getAs(Field_Ordinal, this); }
326
+ toString() { return "Field_" + super.toString(); }
327
+ which() { return index_1.Struct.getUint16(8, this); }
328
+ }
329
+ exports.Field = Field;
330
+ Field.NO_DISCRIMINANT = 65535;
331
+ Field.SLOT = Field_Which.SLOT;
332
+ Field.GROUP = Field_Which.GROUP;
333
+ Field._capnp = { displayName: "Field", id: "9aad50a41f4af45f", size: new index_1.ObjectSize(24, 4), defaultDiscriminantValue: capnp.getUint16Mask(65535) };
334
+ class Enumerant extends index_1.Struct {
335
+ getName() { return index_1.Struct.getText(0, this); }
336
+ setName(value) { index_1.Struct.setText(0, value, this); }
337
+ getCodeOrder() { return index_1.Struct.getUint16(0, this); }
338
+ setCodeOrder(value) { index_1.Struct.setUint16(0, value, this); }
339
+ adoptAnnotations(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(1, this)); }
340
+ disownAnnotations() { return index_1.Struct.disown(this.getAnnotations()); }
341
+ getAnnotations() { return index_1.Struct.getList(1, Enumerant._Annotations, this); }
342
+ hasAnnotations() { return !index_1.Struct.isNull(index_1.Struct.getPointer(1, this)); }
343
+ initAnnotations(length) { return index_1.Struct.initList(1, Enumerant._Annotations, length, this); }
344
+ setAnnotations(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(1, this)); }
345
+ toString() { return "Enumerant_" + super.toString(); }
346
+ }
347
+ exports.Enumerant = Enumerant;
348
+ Enumerant._capnp = { displayName: "Enumerant", id: "978a7cebdc549a4d", size: new index_1.ObjectSize(8, 2) };
349
+ class Superclass extends index_1.Struct {
350
+ getId() { return index_1.Struct.getUint64(0, this); }
351
+ setId(value) { index_1.Struct.setUint64(0, value, this); }
352
+ adoptBrand(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
353
+ disownBrand() { return index_1.Struct.disown(this.getBrand()); }
354
+ getBrand() { return index_1.Struct.getStruct(0, Brand, this); }
355
+ hasBrand() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
356
+ initBrand() { return index_1.Struct.initStructAt(0, Brand, this); }
357
+ setBrand(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
358
+ toString() { return "Superclass_" + super.toString(); }
359
+ }
360
+ exports.Superclass = Superclass;
361
+ Superclass._capnp = { displayName: "Superclass", id: "a9962a9ed0a4d7f8", size: new index_1.ObjectSize(8, 1) };
362
+ class Method extends index_1.Struct {
363
+ getName() { return index_1.Struct.getText(0, this); }
364
+ setName(value) { index_1.Struct.setText(0, value, this); }
365
+ getCodeOrder() { return index_1.Struct.getUint16(0, this); }
366
+ setCodeOrder(value) { index_1.Struct.setUint16(0, value, this); }
367
+ adoptImplicitParameters(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(4, this)); }
368
+ disownImplicitParameters() { return index_1.Struct.disown(this.getImplicitParameters()); }
369
+ getImplicitParameters() { return index_1.Struct.getList(4, Method._ImplicitParameters, this); }
370
+ hasImplicitParameters() { return !index_1.Struct.isNull(index_1.Struct.getPointer(4, this)); }
371
+ initImplicitParameters(length) { return index_1.Struct.initList(4, Method._ImplicitParameters, length, this); }
372
+ setImplicitParameters(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(4, this)); }
373
+ getParamStructType() { return index_1.Struct.getUint64(8, this); }
374
+ setParamStructType(value) { index_1.Struct.setUint64(8, value, this); }
375
+ adoptParamBrand(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(2, this)); }
376
+ disownParamBrand() { return index_1.Struct.disown(this.getParamBrand()); }
377
+ getParamBrand() { return index_1.Struct.getStruct(2, Brand, this); }
378
+ hasParamBrand() { return !index_1.Struct.isNull(index_1.Struct.getPointer(2, this)); }
379
+ initParamBrand() { return index_1.Struct.initStructAt(2, Brand, this); }
380
+ setParamBrand(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(2, this)); }
381
+ getResultStructType() { return index_1.Struct.getUint64(16, this); }
382
+ setResultStructType(value) { index_1.Struct.setUint64(16, value, this); }
383
+ adoptResultBrand(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(3, this)); }
384
+ disownResultBrand() { return index_1.Struct.disown(this.getResultBrand()); }
385
+ getResultBrand() { return index_1.Struct.getStruct(3, Brand, this); }
386
+ hasResultBrand() { return !index_1.Struct.isNull(index_1.Struct.getPointer(3, this)); }
387
+ initResultBrand() { return index_1.Struct.initStructAt(3, Brand, this); }
388
+ setResultBrand(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(3, this)); }
389
+ adoptAnnotations(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(1, this)); }
390
+ disownAnnotations() { return index_1.Struct.disown(this.getAnnotations()); }
391
+ getAnnotations() { return index_1.Struct.getList(1, Method._Annotations, this); }
392
+ hasAnnotations() { return !index_1.Struct.isNull(index_1.Struct.getPointer(1, this)); }
393
+ initAnnotations(length) { return index_1.Struct.initList(1, Method._Annotations, length, this); }
394
+ setAnnotations(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(1, this)); }
395
+ toString() { return "Method_" + super.toString(); }
396
+ }
397
+ exports.Method = Method;
398
+ Method._capnp = { displayName: "Method", id: "9500cce23b334d80", size: new index_1.ObjectSize(24, 5) };
399
+ class Type_List extends index_1.Struct {
400
+ adoptElementType(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
401
+ disownElementType() { return index_1.Struct.disown(this.getElementType()); }
402
+ getElementType() { return index_1.Struct.getStruct(0, Type, this); }
403
+ hasElementType() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
404
+ initElementType() { return index_1.Struct.initStructAt(0, Type, this); }
405
+ setElementType(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
406
+ toString() { return "Type_List_" + super.toString(); }
407
+ }
408
+ exports.Type_List = Type_List;
409
+ Type_List._capnp = { displayName: "list", id: "87e739250a60ea97", size: new index_1.ObjectSize(24, 1) };
410
+ class Type_Enum extends index_1.Struct {
411
+ getTypeId() { return index_1.Struct.getUint64(8, this); }
412
+ setTypeId(value) { index_1.Struct.setUint64(8, value, this); }
413
+ adoptBrand(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
414
+ disownBrand() { return index_1.Struct.disown(this.getBrand()); }
415
+ getBrand() { return index_1.Struct.getStruct(0, Brand, this); }
416
+ hasBrand() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
417
+ initBrand() { return index_1.Struct.initStructAt(0, Brand, this); }
418
+ setBrand(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
419
+ toString() { return "Type_Enum_" + super.toString(); }
420
+ }
421
+ exports.Type_Enum = Type_Enum;
422
+ Type_Enum._capnp = { displayName: "enum", id: "9e0e78711a7f87a9", size: new index_1.ObjectSize(24, 1) };
423
+ class Type_Struct extends index_1.Struct {
424
+ getTypeId() { return index_1.Struct.getUint64(8, this); }
425
+ setTypeId(value) { index_1.Struct.setUint64(8, value, this); }
426
+ adoptBrand(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
427
+ disownBrand() { return index_1.Struct.disown(this.getBrand()); }
428
+ getBrand() { return index_1.Struct.getStruct(0, Brand, this); }
429
+ hasBrand() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
430
+ initBrand() { return index_1.Struct.initStructAt(0, Brand, this); }
431
+ setBrand(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
432
+ toString() { return "Type_Struct_" + super.toString(); }
433
+ }
434
+ exports.Type_Struct = Type_Struct;
435
+ Type_Struct._capnp = { displayName: "struct", id: "ac3a6f60ef4cc6d3", size: new index_1.ObjectSize(24, 1) };
436
+ class Type_Interface extends index_1.Struct {
437
+ getTypeId() { return index_1.Struct.getUint64(8, this); }
438
+ setTypeId(value) { index_1.Struct.setUint64(8, value, this); }
439
+ adoptBrand(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
440
+ disownBrand() { return index_1.Struct.disown(this.getBrand()); }
441
+ getBrand() { return index_1.Struct.getStruct(0, Brand, this); }
442
+ hasBrand() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
443
+ initBrand() { return index_1.Struct.initStructAt(0, Brand, this); }
444
+ setBrand(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
445
+ toString() { return "Type_Interface_" + super.toString(); }
446
+ }
447
+ exports.Type_Interface = Type_Interface;
448
+ Type_Interface._capnp = { displayName: "interface", id: "ed8bca69f7fb0cbf", size: new index_1.ObjectSize(24, 1) };
449
+ var Type_AnyPointer_Unconstrained_Which;
450
+ (function (Type_AnyPointer_Unconstrained_Which) {
451
+ Type_AnyPointer_Unconstrained_Which[Type_AnyPointer_Unconstrained_Which["ANY_KIND"] = 0] = "ANY_KIND";
452
+ Type_AnyPointer_Unconstrained_Which[Type_AnyPointer_Unconstrained_Which["STRUCT"] = 1] = "STRUCT";
453
+ Type_AnyPointer_Unconstrained_Which[Type_AnyPointer_Unconstrained_Which["LIST"] = 2] = "LIST";
454
+ Type_AnyPointer_Unconstrained_Which[Type_AnyPointer_Unconstrained_Which["CAPABILITY"] = 3] = "CAPABILITY";
455
+ })(Type_AnyPointer_Unconstrained_Which = exports.Type_AnyPointer_Unconstrained_Which || (exports.Type_AnyPointer_Unconstrained_Which = {}));
456
+ class Type_AnyPointer_Unconstrained extends index_1.Struct {
457
+ isAnyKind() { return index_1.Struct.getUint16(10, this) === 0; }
458
+ setAnyKind() { index_1.Struct.setUint16(10, 0, this); }
459
+ isStruct() { return index_1.Struct.getUint16(10, this) === 1; }
460
+ setStruct() { index_1.Struct.setUint16(10, 1, this); }
461
+ isList() { return index_1.Struct.getUint16(10, this) === 2; }
462
+ setList() { index_1.Struct.setUint16(10, 2, this); }
463
+ isCapability() { return index_1.Struct.getUint16(10, this) === 3; }
464
+ setCapability() { index_1.Struct.setUint16(10, 3, this); }
465
+ toString() { return "Type_AnyPointer_Unconstrained_" + super.toString(); }
466
+ which() { return index_1.Struct.getUint16(10, this); }
467
+ }
468
+ exports.Type_AnyPointer_Unconstrained = Type_AnyPointer_Unconstrained;
469
+ Type_AnyPointer_Unconstrained.ANY_KIND = Type_AnyPointer_Unconstrained_Which.ANY_KIND;
470
+ Type_AnyPointer_Unconstrained.STRUCT = Type_AnyPointer_Unconstrained_Which.STRUCT;
471
+ Type_AnyPointer_Unconstrained.LIST = Type_AnyPointer_Unconstrained_Which.LIST;
472
+ Type_AnyPointer_Unconstrained.CAPABILITY = Type_AnyPointer_Unconstrained_Which.CAPABILITY;
473
+ Type_AnyPointer_Unconstrained._capnp = { displayName: "unconstrained", id: "8e3b5f79fe593656", size: new index_1.ObjectSize(24, 1) };
474
+ class Type_AnyPointer_Parameter extends index_1.Struct {
475
+ getScopeId() { return index_1.Struct.getUint64(16, this); }
476
+ setScopeId(value) { index_1.Struct.setUint64(16, value, this); }
477
+ getParameterIndex() { return index_1.Struct.getUint16(10, this); }
478
+ setParameterIndex(value) { index_1.Struct.setUint16(10, value, this); }
479
+ toString() { return "Type_AnyPointer_Parameter_" + super.toString(); }
480
+ }
481
+ exports.Type_AnyPointer_Parameter = Type_AnyPointer_Parameter;
482
+ Type_AnyPointer_Parameter._capnp = { displayName: "parameter", id: "9dd1f724f4614a85", size: new index_1.ObjectSize(24, 1) };
483
+ class Type_AnyPointer_ImplicitMethodParameter extends index_1.Struct {
484
+ getParameterIndex() { return index_1.Struct.getUint16(10, this); }
485
+ setParameterIndex(value) { index_1.Struct.setUint16(10, value, this); }
486
+ toString() { return "Type_AnyPointer_ImplicitMethodParameter_" + super.toString(); }
487
+ }
488
+ exports.Type_AnyPointer_ImplicitMethodParameter = Type_AnyPointer_ImplicitMethodParameter;
489
+ Type_AnyPointer_ImplicitMethodParameter._capnp = { displayName: "implicitMethodParameter", id: "baefc9120c56e274", size: new index_1.ObjectSize(24, 1) };
490
+ var Type_AnyPointer_Which;
491
+ (function (Type_AnyPointer_Which) {
492
+ Type_AnyPointer_Which[Type_AnyPointer_Which["UNCONSTRAINED"] = 0] = "UNCONSTRAINED";
493
+ Type_AnyPointer_Which[Type_AnyPointer_Which["PARAMETER"] = 1] = "PARAMETER";
494
+ Type_AnyPointer_Which[Type_AnyPointer_Which["IMPLICIT_METHOD_PARAMETER"] = 2] = "IMPLICIT_METHOD_PARAMETER";
495
+ })(Type_AnyPointer_Which = exports.Type_AnyPointer_Which || (exports.Type_AnyPointer_Which = {}));
496
+ class Type_AnyPointer extends index_1.Struct {
497
+ getUnconstrained() {
498
+ index_1.Struct.testWhich("unconstrained", index_1.Struct.getUint16(8, this), 0, this);
499
+ return index_1.Struct.getAs(Type_AnyPointer_Unconstrained, this);
500
+ }
501
+ initUnconstrained() {
502
+ index_1.Struct.setUint16(8, 0, this);
503
+ return index_1.Struct.getAs(Type_AnyPointer_Unconstrained, this);
504
+ }
505
+ isUnconstrained() { return index_1.Struct.getUint16(8, this) === 0; }
506
+ setUnconstrained() { index_1.Struct.setUint16(8, 0, this); }
507
+ getParameter() {
508
+ index_1.Struct.testWhich("parameter", index_1.Struct.getUint16(8, this), 1, this);
509
+ return index_1.Struct.getAs(Type_AnyPointer_Parameter, this);
510
+ }
511
+ initParameter() {
512
+ index_1.Struct.setUint16(8, 1, this);
513
+ return index_1.Struct.getAs(Type_AnyPointer_Parameter, this);
514
+ }
515
+ isParameter() { return index_1.Struct.getUint16(8, this) === 1; }
516
+ setParameter() { index_1.Struct.setUint16(8, 1, this); }
517
+ getImplicitMethodParameter() {
518
+ index_1.Struct.testWhich("implicitMethodParameter", index_1.Struct.getUint16(8, this), 2, this);
519
+ return index_1.Struct.getAs(Type_AnyPointer_ImplicitMethodParameter, this);
520
+ }
521
+ initImplicitMethodParameter() {
522
+ index_1.Struct.setUint16(8, 2, this);
523
+ return index_1.Struct.getAs(Type_AnyPointer_ImplicitMethodParameter, this);
524
+ }
525
+ isImplicitMethodParameter() { return index_1.Struct.getUint16(8, this) === 2; }
526
+ setImplicitMethodParameter() { index_1.Struct.setUint16(8, 2, this); }
527
+ toString() { return "Type_AnyPointer_" + super.toString(); }
528
+ which() { return index_1.Struct.getUint16(8, this); }
529
+ }
530
+ exports.Type_AnyPointer = Type_AnyPointer;
531
+ Type_AnyPointer.UNCONSTRAINED = Type_AnyPointer_Which.UNCONSTRAINED;
532
+ Type_AnyPointer.PARAMETER = Type_AnyPointer_Which.PARAMETER;
533
+ Type_AnyPointer.IMPLICIT_METHOD_PARAMETER = Type_AnyPointer_Which.IMPLICIT_METHOD_PARAMETER;
534
+ Type_AnyPointer._capnp = { displayName: "anyPointer", id: "c2573fe8a23e49f1", size: new index_1.ObjectSize(24, 1) };
535
+ var Type_Which;
536
+ (function (Type_Which) {
537
+ Type_Which[Type_Which["VOID"] = 0] = "VOID";
538
+ Type_Which[Type_Which["BOOL"] = 1] = "BOOL";
539
+ Type_Which[Type_Which["INT8"] = 2] = "INT8";
540
+ Type_Which[Type_Which["INT16"] = 3] = "INT16";
541
+ Type_Which[Type_Which["INT32"] = 4] = "INT32";
542
+ Type_Which[Type_Which["INT64"] = 5] = "INT64";
543
+ Type_Which[Type_Which["UINT8"] = 6] = "UINT8";
544
+ Type_Which[Type_Which["UINT16"] = 7] = "UINT16";
545
+ Type_Which[Type_Which["UINT32"] = 8] = "UINT32";
546
+ Type_Which[Type_Which["UINT64"] = 9] = "UINT64";
547
+ Type_Which[Type_Which["FLOAT32"] = 10] = "FLOAT32";
548
+ Type_Which[Type_Which["FLOAT64"] = 11] = "FLOAT64";
549
+ Type_Which[Type_Which["TEXT"] = 12] = "TEXT";
550
+ Type_Which[Type_Which["DATA"] = 13] = "DATA";
551
+ Type_Which[Type_Which["LIST"] = 14] = "LIST";
552
+ Type_Which[Type_Which["ENUM"] = 15] = "ENUM";
553
+ Type_Which[Type_Which["STRUCT"] = 16] = "STRUCT";
554
+ Type_Which[Type_Which["INTERFACE"] = 17] = "INTERFACE";
555
+ Type_Which[Type_Which["ANY_POINTER"] = 18] = "ANY_POINTER";
556
+ })(Type_Which = exports.Type_Which || (exports.Type_Which = {}));
557
+ class Type extends index_1.Struct {
558
+ isVoid() { return index_1.Struct.getUint16(0, this) === 0; }
559
+ setVoid() { index_1.Struct.setUint16(0, 0, this); }
560
+ isBool() { return index_1.Struct.getUint16(0, this) === 1; }
561
+ setBool() { index_1.Struct.setUint16(0, 1, this); }
562
+ isInt8() { return index_1.Struct.getUint16(0, this) === 2; }
563
+ setInt8() { index_1.Struct.setUint16(0, 2, this); }
564
+ isInt16() { return index_1.Struct.getUint16(0, this) === 3; }
565
+ setInt16() { index_1.Struct.setUint16(0, 3, this); }
566
+ isInt32() { return index_1.Struct.getUint16(0, this) === 4; }
567
+ setInt32() { index_1.Struct.setUint16(0, 4, this); }
568
+ isInt64() { return index_1.Struct.getUint16(0, this) === 5; }
569
+ setInt64() { index_1.Struct.setUint16(0, 5, this); }
570
+ isUint8() { return index_1.Struct.getUint16(0, this) === 6; }
571
+ setUint8() { index_1.Struct.setUint16(0, 6, this); }
572
+ isUint16() { return index_1.Struct.getUint16(0, this) === 7; }
573
+ setUint16() { index_1.Struct.setUint16(0, 7, this); }
574
+ isUint32() { return index_1.Struct.getUint16(0, this) === 8; }
575
+ setUint32() { index_1.Struct.setUint16(0, 8, this); }
576
+ isUint64() { return index_1.Struct.getUint16(0, this) === 9; }
577
+ setUint64() { index_1.Struct.setUint16(0, 9, this); }
578
+ isFloat32() { return index_1.Struct.getUint16(0, this) === 10; }
579
+ setFloat32() { index_1.Struct.setUint16(0, 10, this); }
580
+ isFloat64() { return index_1.Struct.getUint16(0, this) === 11; }
581
+ setFloat64() { index_1.Struct.setUint16(0, 11, this); }
582
+ isText() { return index_1.Struct.getUint16(0, this) === 12; }
583
+ setText() { index_1.Struct.setUint16(0, 12, this); }
584
+ isData() { return index_1.Struct.getUint16(0, this) === 13; }
585
+ setData() { index_1.Struct.setUint16(0, 13, this); }
586
+ getList() {
587
+ index_1.Struct.testWhich("list", index_1.Struct.getUint16(0, this), 14, this);
588
+ return index_1.Struct.getAs(Type_List, this);
589
+ }
590
+ initList() {
591
+ index_1.Struct.setUint16(0, 14, this);
592
+ return index_1.Struct.getAs(Type_List, this);
593
+ }
594
+ isList() { return index_1.Struct.getUint16(0, this) === 14; }
595
+ setList() { index_1.Struct.setUint16(0, 14, this); }
596
+ getEnum() {
597
+ index_1.Struct.testWhich("enum", index_1.Struct.getUint16(0, this), 15, this);
598
+ return index_1.Struct.getAs(Type_Enum, this);
599
+ }
600
+ initEnum() {
601
+ index_1.Struct.setUint16(0, 15, this);
602
+ return index_1.Struct.getAs(Type_Enum, this);
603
+ }
604
+ isEnum() { return index_1.Struct.getUint16(0, this) === 15; }
605
+ setEnum() { index_1.Struct.setUint16(0, 15, this); }
606
+ getStruct() {
607
+ index_1.Struct.testWhich("struct", index_1.Struct.getUint16(0, this), 16, this);
608
+ return index_1.Struct.getAs(Type_Struct, this);
609
+ }
610
+ initStruct() {
611
+ index_1.Struct.setUint16(0, 16, this);
612
+ return index_1.Struct.getAs(Type_Struct, this);
613
+ }
614
+ isStruct() { return index_1.Struct.getUint16(0, this) === 16; }
615
+ setStruct() { index_1.Struct.setUint16(0, 16, this); }
616
+ getInterface() {
617
+ index_1.Struct.testWhich("interface", index_1.Struct.getUint16(0, this), 17, this);
618
+ return index_1.Struct.getAs(Type_Interface, this);
619
+ }
620
+ initInterface() {
621
+ index_1.Struct.setUint16(0, 17, this);
622
+ return index_1.Struct.getAs(Type_Interface, this);
623
+ }
624
+ isInterface() { return index_1.Struct.getUint16(0, this) === 17; }
625
+ setInterface() { index_1.Struct.setUint16(0, 17, this); }
626
+ getAnyPointer() {
627
+ index_1.Struct.testWhich("anyPointer", index_1.Struct.getUint16(0, this), 18, this);
628
+ return index_1.Struct.getAs(Type_AnyPointer, this);
629
+ }
630
+ initAnyPointer() {
631
+ index_1.Struct.setUint16(0, 18, this);
632
+ return index_1.Struct.getAs(Type_AnyPointer, this);
633
+ }
634
+ isAnyPointer() { return index_1.Struct.getUint16(0, this) === 18; }
635
+ setAnyPointer() { index_1.Struct.setUint16(0, 18, this); }
636
+ toString() { return "Type_" + super.toString(); }
637
+ which() { return index_1.Struct.getUint16(0, this); }
638
+ }
639
+ exports.Type = Type;
640
+ Type.VOID = Type_Which.VOID;
641
+ Type.BOOL = Type_Which.BOOL;
642
+ Type.INT8 = Type_Which.INT8;
643
+ Type.INT16 = Type_Which.INT16;
644
+ Type.INT32 = Type_Which.INT32;
645
+ Type.INT64 = Type_Which.INT64;
646
+ Type.UINT8 = Type_Which.UINT8;
647
+ Type.UINT16 = Type_Which.UINT16;
648
+ Type.UINT32 = Type_Which.UINT32;
649
+ Type.UINT64 = Type_Which.UINT64;
650
+ Type.FLOAT32 = Type_Which.FLOAT32;
651
+ Type.FLOAT64 = Type_Which.FLOAT64;
652
+ Type.TEXT = Type_Which.TEXT;
653
+ Type.DATA = Type_Which.DATA;
654
+ Type.LIST = Type_Which.LIST;
655
+ Type.ENUM = Type_Which.ENUM;
656
+ Type.STRUCT = Type_Which.STRUCT;
657
+ Type.INTERFACE = Type_Which.INTERFACE;
658
+ Type.ANY_POINTER = Type_Which.ANY_POINTER;
659
+ Type._capnp = { displayName: "Type", id: "d07378ede1f9cc60", size: new index_1.ObjectSize(24, 1) };
660
+ var Brand_Scope_Which;
661
+ (function (Brand_Scope_Which) {
662
+ Brand_Scope_Which[Brand_Scope_Which["BIND"] = 0] = "BIND";
663
+ Brand_Scope_Which[Brand_Scope_Which["INHERIT"] = 1] = "INHERIT";
664
+ })(Brand_Scope_Which = exports.Brand_Scope_Which || (exports.Brand_Scope_Which = {}));
665
+ class Brand_Scope extends index_1.Struct {
666
+ getScopeId() { return index_1.Struct.getUint64(0, this); }
667
+ setScopeId(value) { index_1.Struct.setUint64(0, value, this); }
668
+ adoptBind(value) {
669
+ index_1.Struct.setUint16(8, 0, this);
670
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
671
+ }
672
+ disownBind() { return index_1.Struct.disown(this.getBind()); }
673
+ getBind() {
674
+ index_1.Struct.testWhich("bind", index_1.Struct.getUint16(8, this), 0, this);
675
+ return index_1.Struct.getList(0, Brand_Scope._Bind, this);
676
+ }
677
+ hasBind() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
678
+ initBind(length) {
679
+ index_1.Struct.setUint16(8, 0, this);
680
+ return index_1.Struct.initList(0, Brand_Scope._Bind, length, this);
681
+ }
682
+ isBind() { return index_1.Struct.getUint16(8, this) === 0; }
683
+ setBind(value) {
684
+ index_1.Struct.setUint16(8, 0, this);
685
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
686
+ }
687
+ isInherit() { return index_1.Struct.getUint16(8, this) === 1; }
688
+ setInherit() { index_1.Struct.setUint16(8, 1, this); }
689
+ toString() { return "Brand_Scope_" + super.toString(); }
690
+ which() { return index_1.Struct.getUint16(8, this); }
691
+ }
692
+ exports.Brand_Scope = Brand_Scope;
693
+ Brand_Scope.BIND = Brand_Scope_Which.BIND;
694
+ Brand_Scope.INHERIT = Brand_Scope_Which.INHERIT;
695
+ Brand_Scope._capnp = { displayName: "Scope", id: "abd73485a9636bc9", size: new index_1.ObjectSize(16, 1) };
696
+ var Brand_Binding_Which;
697
+ (function (Brand_Binding_Which) {
698
+ Brand_Binding_Which[Brand_Binding_Which["UNBOUND"] = 0] = "UNBOUND";
699
+ Brand_Binding_Which[Brand_Binding_Which["TYPE"] = 1] = "TYPE";
700
+ })(Brand_Binding_Which = exports.Brand_Binding_Which || (exports.Brand_Binding_Which = {}));
701
+ class Brand_Binding extends index_1.Struct {
702
+ isUnbound() { return index_1.Struct.getUint16(0, this) === 0; }
703
+ setUnbound() { index_1.Struct.setUint16(0, 0, this); }
704
+ adoptType(value) {
705
+ index_1.Struct.setUint16(0, 1, this);
706
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
707
+ }
708
+ disownType() { return index_1.Struct.disown(this.getType()); }
709
+ getType() {
710
+ index_1.Struct.testWhich("type", index_1.Struct.getUint16(0, this), 1, this);
711
+ return index_1.Struct.getStruct(0, Type, this);
712
+ }
713
+ hasType() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
714
+ initType() {
715
+ index_1.Struct.setUint16(0, 1, this);
716
+ return index_1.Struct.initStructAt(0, Type, this);
717
+ }
718
+ isType() { return index_1.Struct.getUint16(0, this) === 1; }
719
+ setType(value) {
720
+ index_1.Struct.setUint16(0, 1, this);
721
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
722
+ }
723
+ toString() { return "Brand_Binding_" + super.toString(); }
724
+ which() { return index_1.Struct.getUint16(0, this); }
725
+ }
726
+ exports.Brand_Binding = Brand_Binding;
727
+ Brand_Binding.UNBOUND = Brand_Binding_Which.UNBOUND;
728
+ Brand_Binding.TYPE = Brand_Binding_Which.TYPE;
729
+ Brand_Binding._capnp = { displayName: "Binding", id: "c863cd16969ee7fc", size: new index_1.ObjectSize(8, 1) };
730
+ class Brand extends index_1.Struct {
731
+ adoptScopes(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
732
+ disownScopes() { return index_1.Struct.disown(this.getScopes()); }
733
+ getScopes() { return index_1.Struct.getList(0, Brand._Scopes, this); }
734
+ hasScopes() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
735
+ initScopes(length) { return index_1.Struct.initList(0, Brand._Scopes, length, this); }
736
+ setScopes(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
737
+ toString() { return "Brand_" + super.toString(); }
738
+ }
739
+ exports.Brand = Brand;
740
+ Brand.Scope = Brand_Scope;
741
+ Brand.Binding = Brand_Binding;
742
+ Brand._capnp = { displayName: "Brand", id: "903455f06065422b", size: new index_1.ObjectSize(0, 1) };
743
+ var Value_Which;
744
+ (function (Value_Which) {
745
+ Value_Which[Value_Which["VOID"] = 0] = "VOID";
746
+ Value_Which[Value_Which["BOOL"] = 1] = "BOOL";
747
+ Value_Which[Value_Which["INT8"] = 2] = "INT8";
748
+ Value_Which[Value_Which["INT16"] = 3] = "INT16";
749
+ Value_Which[Value_Which["INT32"] = 4] = "INT32";
750
+ Value_Which[Value_Which["INT64"] = 5] = "INT64";
751
+ Value_Which[Value_Which["UINT8"] = 6] = "UINT8";
752
+ Value_Which[Value_Which["UINT16"] = 7] = "UINT16";
753
+ Value_Which[Value_Which["UINT32"] = 8] = "UINT32";
754
+ Value_Which[Value_Which["UINT64"] = 9] = "UINT64";
755
+ Value_Which[Value_Which["FLOAT32"] = 10] = "FLOAT32";
756
+ Value_Which[Value_Which["FLOAT64"] = 11] = "FLOAT64";
757
+ Value_Which[Value_Which["TEXT"] = 12] = "TEXT";
758
+ Value_Which[Value_Which["DATA"] = 13] = "DATA";
759
+ Value_Which[Value_Which["LIST"] = 14] = "LIST";
760
+ Value_Which[Value_Which["ENUM"] = 15] = "ENUM";
761
+ Value_Which[Value_Which["STRUCT"] = 16] = "STRUCT";
762
+ Value_Which[Value_Which["INTERFACE"] = 17] = "INTERFACE";
763
+ Value_Which[Value_Which["ANY_POINTER"] = 18] = "ANY_POINTER";
764
+ })(Value_Which = exports.Value_Which || (exports.Value_Which = {}));
765
+ class Value extends index_1.Struct {
766
+ isVoid() { return index_1.Struct.getUint16(0, this) === 0; }
767
+ setVoid() { index_1.Struct.setUint16(0, 0, this); }
768
+ getBool() {
769
+ index_1.Struct.testWhich("bool", index_1.Struct.getUint16(0, this), 1, this);
770
+ return index_1.Struct.getBit(16, this);
771
+ }
772
+ isBool() { return index_1.Struct.getUint16(0, this) === 1; }
773
+ setBool(value) {
774
+ index_1.Struct.setUint16(0, 1, this);
775
+ index_1.Struct.setBit(16, value, this);
776
+ }
777
+ getInt8() {
778
+ index_1.Struct.testWhich("int8", index_1.Struct.getUint16(0, this), 2, this);
779
+ return index_1.Struct.getInt8(2, this);
780
+ }
781
+ isInt8() { return index_1.Struct.getUint16(0, this) === 2; }
782
+ setInt8(value) {
783
+ index_1.Struct.setUint16(0, 2, this);
784
+ index_1.Struct.setInt8(2, value, this);
785
+ }
786
+ getInt16() {
787
+ index_1.Struct.testWhich("int16", index_1.Struct.getUint16(0, this), 3, this);
788
+ return index_1.Struct.getInt16(2, this);
789
+ }
790
+ isInt16() { return index_1.Struct.getUint16(0, this) === 3; }
791
+ setInt16(value) {
792
+ index_1.Struct.setUint16(0, 3, this);
793
+ index_1.Struct.setInt16(2, value, this);
794
+ }
795
+ getInt32() {
796
+ index_1.Struct.testWhich("int32", index_1.Struct.getUint16(0, this), 4, this);
797
+ return index_1.Struct.getInt32(4, this);
798
+ }
799
+ isInt32() { return index_1.Struct.getUint16(0, this) === 4; }
800
+ setInt32(value) {
801
+ index_1.Struct.setUint16(0, 4, this);
802
+ index_1.Struct.setInt32(4, value, this);
803
+ }
804
+ getInt64() {
805
+ index_1.Struct.testWhich("int64", index_1.Struct.getUint16(0, this), 5, this);
806
+ return index_1.Struct.getInt64(8, this);
807
+ }
808
+ isInt64() { return index_1.Struct.getUint16(0, this) === 5; }
809
+ setInt64(value) {
810
+ index_1.Struct.setUint16(0, 5, this);
811
+ index_1.Struct.setInt64(8, value, this);
812
+ }
813
+ getUint8() {
814
+ index_1.Struct.testWhich("uint8", index_1.Struct.getUint16(0, this), 6, this);
815
+ return index_1.Struct.getUint8(2, this);
816
+ }
817
+ isUint8() { return index_1.Struct.getUint16(0, this) === 6; }
818
+ setUint8(value) {
819
+ index_1.Struct.setUint16(0, 6, this);
820
+ index_1.Struct.setUint8(2, value, this);
821
+ }
822
+ getUint16() {
823
+ index_1.Struct.testWhich("uint16", index_1.Struct.getUint16(0, this), 7, this);
824
+ return index_1.Struct.getUint16(2, this);
825
+ }
826
+ isUint16() { return index_1.Struct.getUint16(0, this) === 7; }
827
+ setUint16(value) {
828
+ index_1.Struct.setUint16(0, 7, this);
829
+ index_1.Struct.setUint16(2, value, this);
830
+ }
831
+ getUint32() {
832
+ index_1.Struct.testWhich("uint32", index_1.Struct.getUint16(0, this), 8, this);
833
+ return index_1.Struct.getUint32(4, this);
834
+ }
835
+ isUint32() { return index_1.Struct.getUint16(0, this) === 8; }
836
+ setUint32(value) {
837
+ index_1.Struct.setUint16(0, 8, this);
838
+ index_1.Struct.setUint32(4, value, this);
839
+ }
840
+ getUint64() {
841
+ index_1.Struct.testWhich("uint64", index_1.Struct.getUint16(0, this), 9, this);
842
+ return index_1.Struct.getUint64(8, this);
843
+ }
844
+ isUint64() { return index_1.Struct.getUint16(0, this) === 9; }
845
+ setUint64(value) {
846
+ index_1.Struct.setUint16(0, 9, this);
847
+ index_1.Struct.setUint64(8, value, this);
848
+ }
849
+ getFloat32() {
850
+ index_1.Struct.testWhich("float32", index_1.Struct.getUint16(0, this), 10, this);
851
+ return index_1.Struct.getFloat32(4, this);
852
+ }
853
+ isFloat32() { return index_1.Struct.getUint16(0, this) === 10; }
854
+ setFloat32(value) {
855
+ index_1.Struct.setUint16(0, 10, this);
856
+ index_1.Struct.setFloat32(4, value, this);
857
+ }
858
+ getFloat64() {
859
+ index_1.Struct.testWhich("float64", index_1.Struct.getUint16(0, this), 11, this);
860
+ return index_1.Struct.getFloat64(8, this);
861
+ }
862
+ isFloat64() { return index_1.Struct.getUint16(0, this) === 11; }
863
+ setFloat64(value) {
864
+ index_1.Struct.setUint16(0, 11, this);
865
+ index_1.Struct.setFloat64(8, value, this);
866
+ }
867
+ getText() {
868
+ index_1.Struct.testWhich("text", index_1.Struct.getUint16(0, this), 12, this);
869
+ return index_1.Struct.getText(0, this);
870
+ }
871
+ isText() { return index_1.Struct.getUint16(0, this) === 12; }
872
+ setText(value) {
873
+ index_1.Struct.setUint16(0, 12, this);
874
+ index_1.Struct.setText(0, value, this);
875
+ }
876
+ adoptData(value) {
877
+ index_1.Struct.setUint16(0, 13, this);
878
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
879
+ }
880
+ disownData() { return index_1.Struct.disown(this.getData()); }
881
+ getData() {
882
+ index_1.Struct.testWhich("data", index_1.Struct.getUint16(0, this), 13, this);
883
+ return index_1.Struct.getData(0, this);
884
+ }
885
+ hasData() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
886
+ initData(length) {
887
+ index_1.Struct.setUint16(0, 13, this);
888
+ return index_1.Struct.initData(0, length, this);
889
+ }
890
+ isData() { return index_1.Struct.getUint16(0, this) === 13; }
891
+ setData(value) {
892
+ index_1.Struct.setUint16(0, 13, this);
893
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
894
+ }
895
+ adoptList(value) {
896
+ index_1.Struct.setUint16(0, 14, this);
897
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
898
+ }
899
+ disownList() { return index_1.Struct.disown(this.getList()); }
900
+ getList() {
901
+ index_1.Struct.testWhich("list", index_1.Struct.getUint16(0, this), 14, this);
902
+ return index_1.Struct.getPointer(0, this);
903
+ }
904
+ hasList() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
905
+ isList() { return index_1.Struct.getUint16(0, this) === 14; }
906
+ setList(value) {
907
+ index_1.Struct.setUint16(0, 14, this);
908
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
909
+ }
910
+ getEnum() {
911
+ index_1.Struct.testWhich("enum", index_1.Struct.getUint16(0, this), 15, this);
912
+ return index_1.Struct.getUint16(2, this);
913
+ }
914
+ isEnum() { return index_1.Struct.getUint16(0, this) === 15; }
915
+ setEnum(value) {
916
+ index_1.Struct.setUint16(0, 15, this);
917
+ index_1.Struct.setUint16(2, value, this);
918
+ }
919
+ adoptStruct(value) {
920
+ index_1.Struct.setUint16(0, 16, this);
921
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
922
+ }
923
+ disownStruct() { return index_1.Struct.disown(this.getStruct()); }
924
+ getStruct() {
925
+ index_1.Struct.testWhich("struct", index_1.Struct.getUint16(0, this), 16, this);
926
+ return index_1.Struct.getPointer(0, this);
927
+ }
928
+ hasStruct() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
929
+ isStruct() { return index_1.Struct.getUint16(0, this) === 16; }
930
+ setStruct(value) {
931
+ index_1.Struct.setUint16(0, 16, this);
932
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
933
+ }
934
+ isInterface() { return index_1.Struct.getUint16(0, this) === 17; }
935
+ setInterface() { index_1.Struct.setUint16(0, 17, this); }
936
+ adoptAnyPointer(value) {
937
+ index_1.Struct.setUint16(0, 18, this);
938
+ index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this));
939
+ }
940
+ disownAnyPointer() { return index_1.Struct.disown(this.getAnyPointer()); }
941
+ getAnyPointer() {
942
+ index_1.Struct.testWhich("anyPointer", index_1.Struct.getUint16(0, this), 18, this);
943
+ return index_1.Struct.getPointer(0, this);
944
+ }
945
+ hasAnyPointer() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
946
+ isAnyPointer() { return index_1.Struct.getUint16(0, this) === 18; }
947
+ setAnyPointer(value) {
948
+ index_1.Struct.setUint16(0, 18, this);
949
+ index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this));
950
+ }
951
+ toString() { return "Value_" + super.toString(); }
952
+ which() { return index_1.Struct.getUint16(0, this); }
953
+ }
954
+ exports.Value = Value;
955
+ Value.VOID = Value_Which.VOID;
956
+ Value.BOOL = Value_Which.BOOL;
957
+ Value.INT8 = Value_Which.INT8;
958
+ Value.INT16 = Value_Which.INT16;
959
+ Value.INT32 = Value_Which.INT32;
960
+ Value.INT64 = Value_Which.INT64;
961
+ Value.UINT8 = Value_Which.UINT8;
962
+ Value.UINT16 = Value_Which.UINT16;
963
+ Value.UINT32 = Value_Which.UINT32;
964
+ Value.UINT64 = Value_Which.UINT64;
965
+ Value.FLOAT32 = Value_Which.FLOAT32;
966
+ Value.FLOAT64 = Value_Which.FLOAT64;
967
+ Value.TEXT = Value_Which.TEXT;
968
+ Value.DATA = Value_Which.DATA;
969
+ Value.LIST = Value_Which.LIST;
970
+ Value.ENUM = Value_Which.ENUM;
971
+ Value.STRUCT = Value_Which.STRUCT;
972
+ Value.INTERFACE = Value_Which.INTERFACE;
973
+ Value.ANY_POINTER = Value_Which.ANY_POINTER;
974
+ Value._capnp = { displayName: "Value", id: "ce23dcd2d7b00c9b", size: new index_1.ObjectSize(16, 1) };
975
+ class Annotation extends index_1.Struct {
976
+ getId() { return index_1.Struct.getUint64(0, this); }
977
+ setId(value) { index_1.Struct.setUint64(0, value, this); }
978
+ adoptBrand(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(1, this)); }
979
+ disownBrand() { return index_1.Struct.disown(this.getBrand()); }
980
+ getBrand() { return index_1.Struct.getStruct(1, Brand, this); }
981
+ hasBrand() { return !index_1.Struct.isNull(index_1.Struct.getPointer(1, this)); }
982
+ initBrand() { return index_1.Struct.initStructAt(1, Brand, this); }
983
+ setBrand(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(1, this)); }
984
+ adoptValue(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
985
+ disownValue() { return index_1.Struct.disown(this.getValue()); }
986
+ getValue() { return index_1.Struct.getStruct(0, Value, this); }
987
+ hasValue() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
988
+ initValue() { return index_1.Struct.initStructAt(0, Value, this); }
989
+ setValue(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
990
+ toString() { return "Annotation_" + super.toString(); }
991
+ }
992
+ exports.Annotation = Annotation;
993
+ Annotation._capnp = { displayName: "Annotation", id: "f1c8950dab257542", size: new index_1.ObjectSize(8, 2) };
994
+ var ElementSize;
995
+ (function (ElementSize) {
996
+ ElementSize[ElementSize["EMPTY"] = 0] = "EMPTY";
997
+ ElementSize[ElementSize["BIT"] = 1] = "BIT";
998
+ ElementSize[ElementSize["BYTE"] = 2] = "BYTE";
999
+ ElementSize[ElementSize["TWO_BYTES"] = 3] = "TWO_BYTES";
1000
+ ElementSize[ElementSize["FOUR_BYTES"] = 4] = "FOUR_BYTES";
1001
+ ElementSize[ElementSize["EIGHT_BYTES"] = 5] = "EIGHT_BYTES";
1002
+ ElementSize[ElementSize["POINTER"] = 6] = "POINTER";
1003
+ ElementSize[ElementSize["INLINE_COMPOSITE"] = 7] = "INLINE_COMPOSITE";
1004
+ })(ElementSize = exports.ElementSize || (exports.ElementSize = {}));
1005
+ class CapnpVersion extends index_1.Struct {
1006
+ getMajor() { return index_1.Struct.getUint16(0, this); }
1007
+ setMajor(value) { index_1.Struct.setUint16(0, value, this); }
1008
+ getMinor() { return index_1.Struct.getUint8(2, this); }
1009
+ setMinor(value) { index_1.Struct.setUint8(2, value, this); }
1010
+ getMicro() { return index_1.Struct.getUint8(3, this); }
1011
+ setMicro(value) { index_1.Struct.setUint8(3, value, this); }
1012
+ toString() { return "CapnpVersion_" + super.toString(); }
1013
+ }
1014
+ exports.CapnpVersion = CapnpVersion;
1015
+ CapnpVersion._capnp = { displayName: "CapnpVersion", id: "d85d305b7d839963", size: new index_1.ObjectSize(8, 0) };
1016
+ class CodeGeneratorRequest_RequestedFile_Import extends index_1.Struct {
1017
+ getId() { return index_1.Struct.getUint64(0, this); }
1018
+ setId(value) { index_1.Struct.setUint64(0, value, this); }
1019
+ getName() { return index_1.Struct.getText(0, this); }
1020
+ setName(value) { index_1.Struct.setText(0, value, this); }
1021
+ toString() { return "CodeGeneratorRequest_RequestedFile_Import_" + super.toString(); }
1022
+ }
1023
+ exports.CodeGeneratorRequest_RequestedFile_Import = CodeGeneratorRequest_RequestedFile_Import;
1024
+ CodeGeneratorRequest_RequestedFile_Import._capnp = { displayName: "Import", id: "ae504193122357e5", size: new index_1.ObjectSize(8, 1) };
1025
+ class CodeGeneratorRequest_RequestedFile extends index_1.Struct {
1026
+ getId() { return index_1.Struct.getUint64(0, this); }
1027
+ setId(value) { index_1.Struct.setUint64(0, value, this); }
1028
+ getFilename() { return index_1.Struct.getText(0, this); }
1029
+ setFilename(value) { index_1.Struct.setText(0, value, this); }
1030
+ adoptImports(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(1, this)); }
1031
+ disownImports() { return index_1.Struct.disown(this.getImports()); }
1032
+ getImports() { return index_1.Struct.getList(1, CodeGeneratorRequest_RequestedFile._Imports, this); }
1033
+ hasImports() { return !index_1.Struct.isNull(index_1.Struct.getPointer(1, this)); }
1034
+ initImports(length) { return index_1.Struct.initList(1, CodeGeneratorRequest_RequestedFile._Imports, length, this); }
1035
+ setImports(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(1, this)); }
1036
+ toString() { return "CodeGeneratorRequest_RequestedFile_" + super.toString(); }
1037
+ }
1038
+ exports.CodeGeneratorRequest_RequestedFile = CodeGeneratorRequest_RequestedFile;
1039
+ CodeGeneratorRequest_RequestedFile.Import = CodeGeneratorRequest_RequestedFile_Import;
1040
+ CodeGeneratorRequest_RequestedFile._capnp = { displayName: "RequestedFile", id: "cfea0eb02e810062", size: new index_1.ObjectSize(8, 2) };
1041
+ class CodeGeneratorRequest extends index_1.Struct {
1042
+ adoptCapnpVersion(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(2, this)); }
1043
+ disownCapnpVersion() { return index_1.Struct.disown(this.getCapnpVersion()); }
1044
+ getCapnpVersion() { return index_1.Struct.getStruct(2, CapnpVersion, this); }
1045
+ hasCapnpVersion() { return !index_1.Struct.isNull(index_1.Struct.getPointer(2, this)); }
1046
+ initCapnpVersion() { return index_1.Struct.initStructAt(2, CapnpVersion, this); }
1047
+ setCapnpVersion(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(2, this)); }
1048
+ adoptNodes(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(0, this)); }
1049
+ disownNodes() { return index_1.Struct.disown(this.getNodes()); }
1050
+ getNodes() { return index_1.Struct.getList(0, CodeGeneratorRequest._Nodes, this); }
1051
+ hasNodes() { return !index_1.Struct.isNull(index_1.Struct.getPointer(0, this)); }
1052
+ initNodes(length) { return index_1.Struct.initList(0, CodeGeneratorRequest._Nodes, length, this); }
1053
+ setNodes(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(0, this)); }
1054
+ adoptRequestedFiles(value) { index_1.Struct.adopt(value, index_1.Struct.getPointer(1, this)); }
1055
+ disownRequestedFiles() { return index_1.Struct.disown(this.getRequestedFiles()); }
1056
+ getRequestedFiles() { return index_1.Struct.getList(1, CodeGeneratorRequest._RequestedFiles, this); }
1057
+ hasRequestedFiles() { return !index_1.Struct.isNull(index_1.Struct.getPointer(1, this)); }
1058
+ initRequestedFiles(length) { return index_1.Struct.initList(1, CodeGeneratorRequest._RequestedFiles, length, this); }
1059
+ setRequestedFiles(value) { index_1.Struct.copyFrom(value, index_1.Struct.getPointer(1, this)); }
1060
+ toString() { return "CodeGeneratorRequest_" + super.toString(); }
1061
+ }
1062
+ exports.CodeGeneratorRequest = CodeGeneratorRequest;
1063
+ CodeGeneratorRequest.RequestedFile = CodeGeneratorRequest_RequestedFile;
1064
+ CodeGeneratorRequest._capnp = { displayName: "CodeGeneratorRequest", id: "bfc546f6210ad7ce", size: new index_1.ObjectSize(0, 3) };
1065
+ Node_Struct._Fields = capnp.CompositeList(Field);
1066
+ Node_Enum._Enumerants = capnp.CompositeList(Enumerant);
1067
+ Node_Interface._Methods = capnp.CompositeList(Method);
1068
+ Node_Interface._Superclasses = capnp.CompositeList(Superclass);
1069
+ Node._Parameters = capnp.CompositeList(Node_Parameter);
1070
+ Node._NestedNodes = capnp.CompositeList(Node_NestedNode);
1071
+ Node._Annotations = capnp.CompositeList(Annotation);
1072
+ Field._Annotations = capnp.CompositeList(Annotation);
1073
+ Enumerant._Annotations = capnp.CompositeList(Annotation);
1074
+ Method._ImplicitParameters = capnp.CompositeList(Node_Parameter);
1075
+ Method._Annotations = capnp.CompositeList(Annotation);
1076
+ Brand_Scope._Bind = capnp.CompositeList(Brand_Binding);
1077
+ Brand._Scopes = capnp.CompositeList(Brand_Scope);
1078
+ CodeGeneratorRequest_RequestedFile._Imports = capnp.CompositeList(CodeGeneratorRequest_RequestedFile_Import);
1079
+ CodeGeneratorRequest._Nodes = capnp.CompositeList(Node);
1080
+ CodeGeneratorRequest._RequestedFiles = capnp.CompositeList(CodeGeneratorRequest_RequestedFile);
1081
+ //# sourceMappingURL=schema.capnp.js.map
workers1/auto3d/node_modules/capnp-ts/src/std/schema.capnp.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"schema.capnp.js","sourceRoot":"","sources":["schema.capnp.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;AAEH,wDAAkC;AAClC,oCAA4D;AAC/C,QAAA,YAAY,GAAG,kBAAkB,CAAC;AAC/C,MAAa,cAAe,SAAQ,cAAG;IAEnC,OAAO,KAAa,OAAO,cAAG,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAClD,OAAO,CAAC,KAAa,IAAU,cAAG,CAAC,OAAO,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAC7D,QAAQ,KAAa,OAAO,iBAAiB,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;;AAJvE,wCAKC;AAJmB,qBAAM,GAAG,EAAE,WAAW,EAAE,WAAW,EAAE,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE,IAAI,kBAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;AAKvG,MAAa,eAAgB,SAAQ,cAAG;IAEpC,OAAO,KAAa,O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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
3
+ * compiled output.
4
+ */
5
+
6
+ import * as capnp from "../index";
7
+ import { ObjectSize as __O, Struct as __S } from "../index";
8
+ export const _capnpFileId = "a93fc509624c72d9";
9
+ export class Node_Parameter extends __S {
10
+ static readonly _capnp = { displayName: "Parameter", id: "b9521bccf10fa3b1", size: new __O(0, 1) };
11
+ getName(): string { return __S.getText(0, this); }
12
+ setName(value: string): void { __S.setText(0, value, this); }
13
+ toString(): string { return "Node_Parameter_" + super.toString(); }
14
+ }
15
+ export class Node_NestedNode extends __S {
16
+ static readonly _capnp = { displayName: "NestedNode", id: "debf55bbfa0fc242", size: new __O(8, 1) };
17
+ getName(): string { return __S.getText(0, this); }
18
+ setName(value: string): void { __S.setText(0, value, this); }
19
+ getId(): capnp.Uint64 { return __S.getUint64(0, this); }
20
+ setId(value: capnp.Uint64): void { __S.setUint64(0, value, this); }
21
+ toString(): string { return "Node_NestedNode_" + super.toString(); }
22
+ }
23
+ export class Node_Struct extends __S {
24
+ static readonly _capnp = { displayName: "struct", id: "9ea0b19b37fb4435", size: new __O(40, 6) };
25
+ static _Fields: capnp.ListCtor<Field>;
26
+ getDataWordCount(): number { return __S.getUint16(14, this); }
27
+ setDataWordCount(value: number): void { __S.setUint16(14, value, this); }
28
+ getPointerCount(): number { return __S.getUint16(24, this); }
29
+ setPointerCount(value: number): void { __S.setUint16(24, value, this); }
30
+ getPreferredListEncoding(): ElementSize { return __S.getUint16(26, this); }
31
+ setPreferredListEncoding(value: ElementSize): void { __S.setUint16(26, value, this); }
32
+ getIsGroup(): boolean { return __S.getBit(224, this); }
33
+ setIsGroup(value: boolean): void { __S.setBit(224, value, this); }
34
+ getDiscriminantCount(): number { return __S.getUint16(30, this); }
35
+ setDiscriminantCount(value: number): void { __S.setUint16(30, value, this); }
36
+ getDiscriminantOffset(): number { return __S.getUint32(32, this); }
37
+ setDiscriminantOffset(value: number): void { __S.setUint32(32, value, this); }
38
+ adoptFields(value: capnp.Orphan<capnp.List<Field>>): void { __S.adopt(value, __S.getPointer(3, this)); }
39
+ disownFields(): capnp.Orphan<capnp.List<Field>> { return __S.disown(this.getFields()); }
40
+ getFields(): capnp.List<Field> { return __S.getList(3, Node_Struct._Fields, this); }
41
+ hasFields(): boolean { return !__S.isNull(__S.getPointer(3, this)); }
42
+ initFields(length: number): capnp.List<Field> { return __S.initList(3, Node_Struct._Fields, length, this); }
43
+ setFields(value: capnp.List<Field>): void { __S.copyFrom(value, __S.getPointer(3, this)); }
44
+ toString(): string { return "Node_Struct_" + super.toString(); }
45
+ }
46
+ export class Node_Enum extends __S {
47
+ static readonly _capnp = { displayName: "enum", id: "b54ab3364333f598", size: new __O(40, 6) };
48
+ static _Enumerants: capnp.ListCtor<Enumerant>;
49
+ adoptEnumerants(value: capnp.Orphan<capnp.List<Enumerant>>): void { __S.adopt(value, __S.getPointer(3, this)); }
50
+ disownEnumerants(): capnp.Orphan<capnp.List<Enumerant>> { return __S.disown(this.getEnumerants()); }
51
+ getEnumerants(): capnp.List<Enumerant> { return __S.getList(3, Node_Enum._Enumerants, this); }
52
+ hasEnumerants(): boolean { return !__S.isNull(__S.getPointer(3, this)); }
53
+ initEnumerants(length: number): capnp.List<Enumerant> { return __S.initList(3, Node_Enum._Enumerants, length, this); }
54
+ setEnumerants(value: capnp.List<Enumerant>): void { __S.copyFrom(value, __S.getPointer(3, this)); }
55
+ toString(): string { return "Node_Enum_" + super.toString(); }
56
+ }
57
+ export class Node_Interface extends __S {
58
+ static readonly _capnp = { displayName: "interface", id: "e82753cff0c2218f", size: new __O(40, 6) };
59
+ static _Methods: capnp.ListCtor<Method>;
60
+ static _Superclasses: capnp.ListCtor<Superclass>;
61
+ adoptMethods(value: capnp.Orphan<capnp.List<Method>>): void { __S.adopt(value, __S.getPointer(3, this)); }
62
+ disownMethods(): capnp.Orphan<capnp.List<Method>> { return __S.disown(this.getMethods()); }
63
+ getMethods(): capnp.List<Method> { return __S.getList(3, Node_Interface._Methods, this); }
64
+ hasMethods(): boolean { return !__S.isNull(__S.getPointer(3, this)); }
65
+ initMethods(length: number): capnp.List<Method> { return __S.initList(3, Node_Interface._Methods, length, this); }
66
+ setMethods(value: capnp.List<Method>): void { __S.copyFrom(value, __S.getPointer(3, this)); }
67
+ adoptSuperclasses(value: capnp.Orphan<capnp.List<Superclass>>): void { __S.adopt(value, __S.getPointer(4, this)); }
68
+ disownSuperclasses(): capnp.Orphan<capnp.List<Superclass>> { return __S.disown(this.getSuperclasses()); }
69
+ getSuperclasses(): capnp.List<Superclass> { return __S.getList(4, Node_Interface._Superclasses, this); }
70
+ hasSuperclasses(): boolean { return !__S.isNull(__S.getPointer(4, this)); }
71
+ initSuperclasses(length: number): capnp.List<Superclass> { return __S.initList(4, Node_Interface._Superclasses, length, this); }
72
+ setSuperclasses(value: capnp.List<Superclass>): void { __S.copyFrom(value, __S.getPointer(4, this)); }
73
+ toString(): string { return "Node_Interface_" + super.toString(); }
74
+ }
75
+ export class Node_Const extends __S {
76
+ static readonly _capnp = { displayName: "const", id: "b18aa5ac7a0d9420", size: new __O(40, 6) };
77
+ adoptType(value: capnp.Orphan<Type>): void { __S.adopt(value, __S.getPointer(3, this)); }
78
+ disownType(): capnp.Orphan<Type> { return __S.disown(this.getType()); }
79
+ getType(): Type { return __S.getStruct(3, Type, this); }
80
+ hasType(): boolean { return !__S.isNull(__S.getPointer(3, this)); }
81
+ initType(): Type { return __S.initStructAt(3, Type, this); }
82
+ setType(value: Type): void { __S.copyFrom(value, __S.getPointer(3, this)); }
83
+ adoptValue(value: capnp.Orphan<Value>): void { __S.adopt(value, __S.getPointer(4, this)); }
84
+ disownValue(): capnp.Orphan<Value> { return __S.disown(this.getValue()); }
85
+ getValue(): Value { return __S.getStruct(4, Value, this); }
86
+ hasValue(): boolean { return !__S.isNull(__S.getPointer(4, this)); }
87
+ initValue(): Value { return __S.initStructAt(4, Value, this); }
88
+ setValue(value: Value): void { __S.copyFrom(value, __S.getPointer(4, this)); }
89
+ toString(): string { return "Node_Const_" + super.toString(); }
90
+ }
91
+ export class Node_Annotation extends __S {
92
+ static readonly _capnp = { displayName: "annotation", id: "ec1619d4400a0290", size: new __O(40, 6) };
93
+ adoptType(value: capnp.Orphan<Type>): void { __S.adopt(value, __S.getPointer(3, this)); }
94
+ disownType(): capnp.Orphan<Type> { return __S.disown(this.getType()); }
95
+ getType(): Type { return __S.getStruct(3, Type, this); }
96
+ hasType(): boolean { return !__S.isNull(__S.getPointer(3, this)); }
97
+ initType(): Type { return __S.initStructAt(3, Type, this); }
98
+ setType(value: Type): void { __S.copyFrom(value, __S.getPointer(3, this)); }
99
+ getTargetsFile(): boolean { return __S.getBit(112, this); }
100
+ setTargetsFile(value: boolean): void { __S.setBit(112, value, this); }
101
+ getTargetsConst(): boolean { return __S.getBit(113, this); }
102
+ setTargetsConst(value: boolean): void { __S.setBit(113, value, this); }
103
+ getTargetsEnum(): boolean { return __S.getBit(114, this); }
104
+ setTargetsEnum(value: boolean): void { __S.setBit(114, value, this); }
105
+ getTargetsEnumerant(): boolean { return __S.getBit(115, this); }
106
+ setTargetsEnumerant(value: boolean): void { __S.setBit(115, value, this); }
107
+ getTargetsStruct(): boolean { return __S.getBit(116, this); }
108
+ setTargetsStruct(value: boolean): void { __S.setBit(116, value, this); }
109
+ getTargetsField(): boolean { return __S.getBit(117, this); }
110
+ setTargetsField(value: boolean): void { __S.setBit(117, value, this); }
111
+ getTargetsUnion(): boolean { return __S.getBit(118, this); }
112
+ setTargetsUnion(value: boolean): void { __S.setBit(118, value, this); }
113
+ getTargetsGroup(): boolean { return __S.getBit(119, this); }
114
+ setTargetsGroup(value: boolean): void { __S.setBit(119, value, this); }
115
+ getTargetsInterface(): boolean { return __S.getBit(120, this); }
116
+ setTargetsInterface(value: boolean): void { __S.setBit(120, value, this); }
117
+ getTargetsMethod(): boolean { return __S.getBit(121, this); }
118
+ setTargetsMethod(value: boolean): void { __S.setBit(121, value, this); }
119
+ getTargetsParam(): boolean { return __S.getBit(122, this); }
120
+ setTargetsParam(value: boolean): void { __S.setBit(122, value, this); }
121
+ getTargetsAnnotation(): boolean { return __S.getBit(123, this); }
122
+ setTargetsAnnotation(value: boolean): void { __S.setBit(123, value, this); }
123
+ toString(): string { return "Node_Annotation_" + super.toString(); }
124
+ }
125
+ export enum Node_Which {
126
+ FILE = 0,
127
+ STRUCT = 1,
128
+ ENUM = 2,
129
+ INTERFACE = 3,
130
+ CONST = 4,
131
+ ANNOTATION = 5
132
+ }
133
+ export class Node extends __S {
134
+ static readonly FILE = Node_Which.FILE;
135
+ static readonly STRUCT = Node_Which.STRUCT;
136
+ static readonly ENUM = Node_Which.ENUM;
137
+ static readonly INTERFACE = Node_Which.INTERFACE;
138
+ static readonly CONST = Node_Which.CONST;
139
+ static readonly ANNOTATION = Node_Which.ANNOTATION;
140
+ static readonly Parameter = Node_Parameter;
141
+ static readonly NestedNode = Node_NestedNode;
142
+ static readonly _capnp = { displayName: "Node", id: "e682ab4cf923a417", size: new __O(40, 6) };
143
+ static _Parameters: capnp.ListCtor<Node_Parameter>;
144
+ static _NestedNodes: capnp.ListCtor<Node_NestedNode>;
145
+ static _Annotations: capnp.ListCtor<Annotation>;
146
+ getId(): capnp.Uint64 { return __S.getUint64(0, this); }
147
+ setId(value: capnp.Uint64): void { __S.setUint64(0, value, this); }
148
+ getDisplayName(): string { return __S.getText(0, this); }
149
+ setDisplayName(value: string): void { __S.setText(0, value, this); }
150
+ getDisplayNamePrefixLength(): number { return __S.getUint32(8, this); }
151
+ setDisplayNamePrefixLength(value: number): void { __S.setUint32(8, value, this); }
152
+ getScopeId(): capnp.Uint64 { return __S.getUint64(16, this); }
153
+ setScopeId(value: capnp.Uint64): void { __S.setUint64(16, value, this); }
154
+ adoptParameters(value: capnp.Orphan<capnp.List<Node_Parameter>>): void { __S.adopt(value, __S.getPointer(5, this)); }
155
+ disownParameters(): capnp.Orphan<capnp.List<Node_Parameter>> { return __S.disown(this.getParameters()); }
156
+ getParameters(): capnp.List<Node_Parameter> { return __S.getList(5, Node._Parameters, this); }
157
+ hasParameters(): boolean { return !__S.isNull(__S.getPointer(5, this)); }
158
+ initParameters(length: number): capnp.List<Node_Parameter> { return __S.initList(5, Node._Parameters, length, this); }
159
+ setParameters(value: capnp.List<Node_Parameter>): void { __S.copyFrom(value, __S.getPointer(5, this)); }
160
+ getIsGeneric(): boolean { return __S.getBit(288, this); }
161
+ setIsGeneric(value: boolean): void { __S.setBit(288, value, this); }
162
+ adoptNestedNodes(value: capnp.Orphan<capnp.List<Node_NestedNode>>): void { __S.adopt(value, __S.getPointer(1, this)); }
163
+ disownNestedNodes(): capnp.Orphan<capnp.List<Node_NestedNode>> { return __S.disown(this.getNestedNodes()); }
164
+ getNestedNodes(): capnp.List<Node_NestedNode> { return __S.getList(1, Node._NestedNodes, this); }
165
+ hasNestedNodes(): boolean { return !__S.isNull(__S.getPointer(1, this)); }
166
+ initNestedNodes(length: number): capnp.List<Node_NestedNode> { return __S.initList(1, Node._NestedNodes, length, this); }
167
+ setNestedNodes(value: capnp.List<Node_NestedNode>): void { __S.copyFrom(value, __S.getPointer(1, this)); }
168
+ adoptAnnotations(value: capnp.Orphan<capnp.List<Annotation>>): void { __S.adopt(value, __S.getPointer(2, this)); }
169
+ disownAnnotations(): capnp.Orphan<capnp.List<Annotation>> { return __S.disown(this.getAnnotations()); }
170
+ getAnnotations(): capnp.List<Annotation> { return __S.getList(2, Node._Annotations, this); }
171
+ hasAnnotations(): boolean { return !__S.isNull(__S.getPointer(2, this)); }
172
+ initAnnotations(length: number): capnp.List<Annotation> { return __S.initList(2, Node._Annotations, length, this); }
173
+ setAnnotations(value: capnp.List<Annotation>): void { __S.copyFrom(value, __S.getPointer(2, this)); }
174
+ isFile(): boolean { return __S.getUint16(12, this) === 0; }
175
+ setFile(): void { __S.setUint16(12, 0, this); }
176
+ getStruct(): Node_Struct {
177
+ __S.testWhich("struct", __S.getUint16(12, this), 1, this);
178
+ return __S.getAs(Node_Struct, this);
179
+ }
180
+ initStruct(): Node_Struct {
181
+ __S.setUint16(12, 1, this);
182
+ return __S.getAs(Node_Struct, this);
183
+ }
184
+ isStruct(): boolean { return __S.getUint16(12, this) === 1; }
185
+ setStruct(): void { __S.setUint16(12, 1, this); }
186
+ getEnum(): Node_Enum {
187
+ __S.testWhich("enum", __S.getUint16(12, this), 2, this);
188
+ return __S.getAs(Node_Enum, this);
189
+ }
190
+ initEnum(): Node_Enum {
191
+ __S.setUint16(12, 2, this);
192
+ return __S.getAs(Node_Enum, this);
193
+ }
194
+ isEnum(): boolean { return __S.getUint16(12, this) === 2; }
195
+ setEnum(): void { __S.setUint16(12, 2, this); }
196
+ getInterface(): Node_Interface {
197
+ __S.testWhich("interface", __S.getUint16(12, this), 3, this);
198
+ return __S.getAs(Node_Interface, this);
199
+ }
200
+ initInterface(): Node_Interface {
201
+ __S.setUint16(12, 3, this);
202
+ return __S.getAs(Node_Interface, this);
203
+ }
204
+ isInterface(): boolean { return __S.getUint16(12, this) === 3; }
205
+ setInterface(): void { __S.setUint16(12, 3, this); }
206
+ getConst(): Node_Const {
207
+ __S.testWhich("const", __S.getUint16(12, this), 4, this);
208
+ return __S.getAs(Node_Const, this);
209
+ }
210
+ initConst(): Node_Const {
211
+ __S.setUint16(12, 4, this);
212
+ return __S.getAs(Node_Const, this);
213
+ }
214
+ isConst(): boolean { return __S.getUint16(12, this) === 4; }
215
+ setConst(): void { __S.setUint16(12, 4, this); }
216
+ getAnnotation(): Node_Annotation {
217
+ __S.testWhich("annotation", __S.getUint16(12, this), 5, this);
218
+ return __S.getAs(Node_Annotation, this);
219
+ }
220
+ initAnnotation(): Node_Annotation {
221
+ __S.setUint16(12, 5, this);
222
+ return __S.getAs(Node_Annotation, this);
223
+ }
224
+ isAnnotation(): boolean { return __S.getUint16(12, this) === 5; }
225
+ setAnnotation(): void { __S.setUint16(12, 5, this); }
226
+ toString(): string { return "Node_" + super.toString(); }
227
+ which(): Node_Which { return __S.getUint16(12, this); }
228
+ }
229
+ export class Field_Slot extends __S {
230
+ static readonly _capnp = { displayName: "slot", id: "c42305476bb4746f", size: new __O(24, 4) };
231
+ getOffset(): number { return __S.getUint32(4, this); }
232
+ setOffset(value: number): void { __S.setUint32(4, value, this); }
233
+ adoptType(value: capnp.Orphan<Type>): void { __S.adopt(value, __S.getPointer(2, this)); }
234
+ disownType(): capnp.Orphan<Type> { return __S.disown(this.getType()); }
235
+ getType(): Type { return __S.getStruct(2, Type, this); }
236
+ hasType(): boolean { return !__S.isNull(__S.getPointer(2, this)); }
237
+ initType(): Type { return __S.initStructAt(2, Type, this); }
238
+ setType(value: Type): void { __S.copyFrom(value, __S.getPointer(2, this)); }
239
+ adoptDefaultValue(value: capnp.Orphan<Value>): void { __S.adopt(value, __S.getPointer(3, this)); }
240
+ disownDefaultValue(): capnp.Orphan<Value> { return __S.disown(this.getDefaultValue()); }
241
+ getDefaultValue(): Value { return __S.getStruct(3, Value, this); }
242
+ hasDefaultValue(): boolean { return !__S.isNull(__S.getPointer(3, this)); }
243
+ initDefaultValue(): Value { return __S.initStructAt(3, Value, this); }
244
+ setDefaultValue(value: Value): void { __S.copyFrom(value, __S.getPointer(3, this)); }
245
+ getHadExplicitDefault(): boolean { return __S.getBit(128, this); }
246
+ setHadExplicitDefault(value: boolean): void { __S.setBit(128, value, this); }
247
+ toString(): string { return "Field_Slot_" + super.toString(); }
248
+ }
249
+ export class Field_Group extends __S {
250
+ static readonly _capnp = { displayName: "group", id: "cafccddb68db1d11", size: new __O(24, 4) };
251
+ getTypeId(): capnp.Uint64 { return __S.getUint64(16, this); }
252
+ setTypeId(value: capnp.Uint64): void { __S.setUint64(16, value, this); }
253
+ toString(): string { return "Field_Group_" + super.toString(); }
254
+ }
255
+ export enum Field_Ordinal_Which {
256
+ IMPLICIT = 0,
257
+ EXPLICIT = 1
258
+ }
259
+ export class Field_Ordinal extends __S {
260
+ static readonly IMPLICIT = Field_Ordinal_Which.IMPLICIT;
261
+ static readonly EXPLICIT = Field_Ordinal_Which.EXPLICIT;
262
+ static readonly _capnp = { displayName: "ordinal", id: "bb90d5c287870be6", size: new __O(24, 4) };
263
+ isImplicit(): boolean { return __S.getUint16(10, this) === 0; }
264
+ setImplicit(): void { __S.setUint16(10, 0, this); }
265
+ getExplicit(): number {
266
+ __S.testWhich("explicit", __S.getUint16(10, this), 1, this);
267
+ return __S.getUint16(12, this);
268
+ }
269
+ isExplicit(): boolean { return __S.getUint16(10, this) === 1; }
270
+ setExplicit(value: number): void {
271
+ __S.setUint16(10, 1, this);
272
+ __S.setUint16(12, value, this);
273
+ }
274
+ toString(): string { return "Field_Ordinal_" + super.toString(); }
275
+ which(): Field_Ordinal_Which { return __S.getUint16(10, this); }
276
+ }
277
+ export enum Field_Which {
278
+ SLOT = 0,
279
+ GROUP = 1
280
+ }
281
+ export class Field extends __S {
282
+ static readonly NO_DISCRIMINANT = 65535;
283
+ static readonly SLOT = Field_Which.SLOT;
284
+ static readonly GROUP = Field_Which.GROUP;
285
+ static readonly _capnp = { displayName: "Field", id: "9aad50a41f4af45f", size: new __O(24, 4), defaultDiscriminantValue: capnp.getUint16Mask(65535) };
286
+ static _Annotations: capnp.ListCtor<Annotation>;
287
+ getName(): string { return __S.getText(0, this); }
288
+ setName(value: string): void { __S.setText(0, value, this); }
289
+ getCodeOrder(): number { return __S.getUint16(0, this); }
290
+ setCodeOrder(value: number): void { __S.setUint16(0, value, this); }
291
+ adoptAnnotations(value: capnp.Orphan<capnp.List<Annotation>>): void { __S.adopt(value, __S.getPointer(1, this)); }
292
+ disownAnnotations(): capnp.Orphan<capnp.List<Annotation>> { return __S.disown(this.getAnnotations()); }
293
+ getAnnotations(): capnp.List<Annotation> { return __S.getList(1, Field._Annotations, this); }
294
+ hasAnnotations(): boolean { return !__S.isNull(__S.getPointer(1, this)); }
295
+ initAnnotations(length: number): capnp.List<Annotation> { return __S.initList(1, Field._Annotations, length, this); }
296
+ setAnnotations(value: capnp.List<Annotation>): void { __S.copyFrom(value, __S.getPointer(1, this)); }
297
+ getDiscriminantValue(): number { return __S.getUint16(2, this, Field._capnp.defaultDiscriminantValue); }
298
+ setDiscriminantValue(value: number): void { __S.setUint16(2, value, this); }
299
+ getSlot(): Field_Slot {
300
+ __S.testWhich("slot", __S.getUint16(8, this), 0, this);
301
+ return __S.getAs(Field_Slot, this);
302
+ }
303
+ initSlot(): Field_Slot {
304
+ __S.setUint16(8, 0, this);
305
+ return __S.getAs(Field_Slot, this);
306
+ }
307
+ isSlot(): boolean { return __S.getUint16(8, this) === 0; }
308
+ setSlot(): void { __S.setUint16(8, 0, this); }
309
+ getGroup(): Field_Group {
310
+ __S.testWhich("group", __S.getUint16(8, this), 1, this);
311
+ return __S.getAs(Field_Group, this);
312
+ }
313
+ initGroup(): Field_Group {
314
+ __S.setUint16(8, 1, this);
315
+ return __S.getAs(Field_Group, this);
316
+ }
317
+ isGroup(): boolean { return __S.getUint16(8, this) === 1; }
318
+ setGroup(): void { __S.setUint16(8, 1, this); }
319
+ getOrdinal(): Field_Ordinal { return __S.getAs(Field_Ordinal, this); }
320
+ initOrdinal(): Field_Ordinal { return __S.getAs(Field_Ordinal, this); }
321
+ toString(): string { return "Field_" + super.toString(); }
322
+ which(): Field_Which { return __S.getUint16(8, this); }
323
+ }
324
+ export class Enumerant extends __S {
325
+ static readonly _capnp = { displayName: "Enumerant", id: "978a7cebdc549a4d", size: new __O(8, 2) };
326
+ static _Annotations: capnp.ListCtor<Annotation>;
327
+ getName(): string { return __S.getText(0, this); }
328
+ setName(value: string): void { __S.setText(0, value, this); }
329
+ getCodeOrder(): number { return __S.getUint16(0, this); }
330
+ setCodeOrder(value: number): void { __S.setUint16(0, value, this); }
331
+ adoptAnnotations(value: capnp.Orphan<capnp.List<Annotation>>): void { __S.adopt(value, __S.getPointer(1, this)); }
332
+ disownAnnotations(): capnp.Orphan<capnp.List<Annotation>> { return __S.disown(this.getAnnotations()); }
333
+ getAnnotations(): capnp.List<Annotation> { return __S.getList(1, Enumerant._Annotations, this); }
334
+ hasAnnotations(): boolean { return !__S.isNull(__S.getPointer(1, this)); }
335
+ initAnnotations(length: number): capnp.List<Annotation> { return __S.initList(1, Enumerant._Annotations, length, this); }
336
+ setAnnotations(value: capnp.List<Annotation>): void { __S.copyFrom(value, __S.getPointer(1, this)); }
337
+ toString(): string { return "Enumerant_" + super.toString(); }
338
+ }
339
+ export class Superclass extends __S {
340
+ static readonly _capnp = { displayName: "Superclass", id: "a9962a9ed0a4d7f8", size: new __O(8, 1) };
341
+ getId(): capnp.Uint64 { return __S.getUint64(0, this); }
342
+ setId(value: capnp.Uint64): void { __S.setUint64(0, value, this); }
343
+ adoptBrand(value: capnp.Orphan<Brand>): void { __S.adopt(value, __S.getPointer(0, this)); }
344
+ disownBrand(): capnp.Orphan<Brand> { return __S.disown(this.getBrand()); }
345
+ getBrand(): Brand { return __S.getStruct(0, Brand, this); }
346
+ hasBrand(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
347
+ initBrand(): Brand { return __S.initStructAt(0, Brand, this); }
348
+ setBrand(value: Brand): void { __S.copyFrom(value, __S.getPointer(0, this)); }
349
+ toString(): string { return "Superclass_" + super.toString(); }
350
+ }
351
+ export class Method extends __S {
352
+ static readonly _capnp = { displayName: "Method", id: "9500cce23b334d80", size: new __O(24, 5) };
353
+ static _ImplicitParameters: capnp.ListCtor<Node_Parameter>;
354
+ static _Annotations: capnp.ListCtor<Annotation>;
355
+ getName(): string { return __S.getText(0, this); }
356
+ setName(value: string): void { __S.setText(0, value, this); }
357
+ getCodeOrder(): number { return __S.getUint16(0, this); }
358
+ setCodeOrder(value: number): void { __S.setUint16(0, value, this); }
359
+ adoptImplicitParameters(value: capnp.Orphan<capnp.List<Node_Parameter>>): void { __S.adopt(value, __S.getPointer(4, this)); }
360
+ disownImplicitParameters(): capnp.Orphan<capnp.List<Node_Parameter>> { return __S.disown(this.getImplicitParameters()); }
361
+ getImplicitParameters(): capnp.List<Node_Parameter> { return __S.getList(4, Method._ImplicitParameters, this); }
362
+ hasImplicitParameters(): boolean { return !__S.isNull(__S.getPointer(4, this)); }
363
+ initImplicitParameters(length: number): capnp.List<Node_Parameter> { return __S.initList(4, Method._ImplicitParameters, length, this); }
364
+ setImplicitParameters(value: capnp.List<Node_Parameter>): void { __S.copyFrom(value, __S.getPointer(4, this)); }
365
+ getParamStructType(): capnp.Uint64 { return __S.getUint64(8, this); }
366
+ setParamStructType(value: capnp.Uint64): void { __S.setUint64(8, value, this); }
367
+ adoptParamBrand(value: capnp.Orphan<Brand>): void { __S.adopt(value, __S.getPointer(2, this)); }
368
+ disownParamBrand(): capnp.Orphan<Brand> { return __S.disown(this.getParamBrand()); }
369
+ getParamBrand(): Brand { return __S.getStruct(2, Brand, this); }
370
+ hasParamBrand(): boolean { return !__S.isNull(__S.getPointer(2, this)); }
371
+ initParamBrand(): Brand { return __S.initStructAt(2, Brand, this); }
372
+ setParamBrand(value: Brand): void { __S.copyFrom(value, __S.getPointer(2, this)); }
373
+ getResultStructType(): capnp.Uint64 { return __S.getUint64(16, this); }
374
+ setResultStructType(value: capnp.Uint64): void { __S.setUint64(16, value, this); }
375
+ adoptResultBrand(value: capnp.Orphan<Brand>): void { __S.adopt(value, __S.getPointer(3, this)); }
376
+ disownResultBrand(): capnp.Orphan<Brand> { return __S.disown(this.getResultBrand()); }
377
+ getResultBrand(): Brand { return __S.getStruct(3, Brand, this); }
378
+ hasResultBrand(): boolean { return !__S.isNull(__S.getPointer(3, this)); }
379
+ initResultBrand(): Brand { return __S.initStructAt(3, Brand, this); }
380
+ setResultBrand(value: Brand): void { __S.copyFrom(value, __S.getPointer(3, this)); }
381
+ adoptAnnotations(value: capnp.Orphan<capnp.List<Annotation>>): void { __S.adopt(value, __S.getPointer(1, this)); }
382
+ disownAnnotations(): capnp.Orphan<capnp.List<Annotation>> { return __S.disown(this.getAnnotations()); }
383
+ getAnnotations(): capnp.List<Annotation> { return __S.getList(1, Method._Annotations, this); }
384
+ hasAnnotations(): boolean { return !__S.isNull(__S.getPointer(1, this)); }
385
+ initAnnotations(length: number): capnp.List<Annotation> { return __S.initList(1, Method._Annotations, length, this); }
386
+ setAnnotations(value: capnp.List<Annotation>): void { __S.copyFrom(value, __S.getPointer(1, this)); }
387
+ toString(): string { return "Method_" + super.toString(); }
388
+ }
389
+ export class Type_List extends __S {
390
+ static readonly _capnp = { displayName: "list", id: "87e739250a60ea97", size: new __O(24, 1) };
391
+ adoptElementType(value: capnp.Orphan<Type>): void { __S.adopt(value, __S.getPointer(0, this)); }
392
+ disownElementType(): capnp.Orphan<Type> { return __S.disown(this.getElementType()); }
393
+ getElementType(): Type { return __S.getStruct(0, Type, this); }
394
+ hasElementType(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
395
+ initElementType(): Type { return __S.initStructAt(0, Type, this); }
396
+ setElementType(value: Type): void { __S.copyFrom(value, __S.getPointer(0, this)); }
397
+ toString(): string { return "Type_List_" + super.toString(); }
398
+ }
399
+ export class Type_Enum extends __S {
400
+ static readonly _capnp = { displayName: "enum", id: "9e0e78711a7f87a9", size: new __O(24, 1) };
401
+ getTypeId(): capnp.Uint64 { return __S.getUint64(8, this); }
402
+ setTypeId(value: capnp.Uint64): void { __S.setUint64(8, value, this); }
403
+ adoptBrand(value: capnp.Orphan<Brand>): void { __S.adopt(value, __S.getPointer(0, this)); }
404
+ disownBrand(): capnp.Orphan<Brand> { return __S.disown(this.getBrand()); }
405
+ getBrand(): Brand { return __S.getStruct(0, Brand, this); }
406
+ hasBrand(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
407
+ initBrand(): Brand { return __S.initStructAt(0, Brand, this); }
408
+ setBrand(value: Brand): void { __S.copyFrom(value, __S.getPointer(0, this)); }
409
+ toString(): string { return "Type_Enum_" + super.toString(); }
410
+ }
411
+ export class Type_Struct extends __S {
412
+ static readonly _capnp = { displayName: "struct", id: "ac3a6f60ef4cc6d3", size: new __O(24, 1) };
413
+ getTypeId(): capnp.Uint64 { return __S.getUint64(8, this); }
414
+ setTypeId(value: capnp.Uint64): void { __S.setUint64(8, value, this); }
415
+ adoptBrand(value: capnp.Orphan<Brand>): void { __S.adopt(value, __S.getPointer(0, this)); }
416
+ disownBrand(): capnp.Orphan<Brand> { return __S.disown(this.getBrand()); }
417
+ getBrand(): Brand { return __S.getStruct(0, Brand, this); }
418
+ hasBrand(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
419
+ initBrand(): Brand { return __S.initStructAt(0, Brand, this); }
420
+ setBrand(value: Brand): void { __S.copyFrom(value, __S.getPointer(0, this)); }
421
+ toString(): string { return "Type_Struct_" + super.toString(); }
422
+ }
423
+ export class Type_Interface extends __S {
424
+ static readonly _capnp = { displayName: "interface", id: "ed8bca69f7fb0cbf", size: new __O(24, 1) };
425
+ getTypeId(): capnp.Uint64 { return __S.getUint64(8, this); }
426
+ setTypeId(value: capnp.Uint64): void { __S.setUint64(8, value, this); }
427
+ adoptBrand(value: capnp.Orphan<Brand>): void { __S.adopt(value, __S.getPointer(0, this)); }
428
+ disownBrand(): capnp.Orphan<Brand> { return __S.disown(this.getBrand()); }
429
+ getBrand(): Brand { return __S.getStruct(0, Brand, this); }
430
+ hasBrand(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
431
+ initBrand(): Brand { return __S.initStructAt(0, Brand, this); }
432
+ setBrand(value: Brand): void { __S.copyFrom(value, __S.getPointer(0, this)); }
433
+ toString(): string { return "Type_Interface_" + super.toString(); }
434
+ }
435
+ export enum Type_AnyPointer_Unconstrained_Which {
436
+ ANY_KIND = 0,
437
+ STRUCT = 1,
438
+ LIST = 2,
439
+ CAPABILITY = 3
440
+ }
441
+ export class Type_AnyPointer_Unconstrained extends __S {
442
+ static readonly ANY_KIND = Type_AnyPointer_Unconstrained_Which.ANY_KIND;
443
+ static readonly STRUCT = Type_AnyPointer_Unconstrained_Which.STRUCT;
444
+ static readonly LIST = Type_AnyPointer_Unconstrained_Which.LIST;
445
+ static readonly CAPABILITY = Type_AnyPointer_Unconstrained_Which.CAPABILITY;
446
+ static readonly _capnp = { displayName: "unconstrained", id: "8e3b5f79fe593656", size: new __O(24, 1) };
447
+ isAnyKind(): boolean { return __S.getUint16(10, this) === 0; }
448
+ setAnyKind(): void { __S.setUint16(10, 0, this); }
449
+ isStruct(): boolean { return __S.getUint16(10, this) === 1; }
450
+ setStruct(): void { __S.setUint16(10, 1, this); }
451
+ isList(): boolean { return __S.getUint16(10, this) === 2; }
452
+ setList(): void { __S.setUint16(10, 2, this); }
453
+ isCapability(): boolean { return __S.getUint16(10, this) === 3; }
454
+ setCapability(): void { __S.setUint16(10, 3, this); }
455
+ toString(): string { return "Type_AnyPointer_Unconstrained_" + super.toString(); }
456
+ which(): Type_AnyPointer_Unconstrained_Which { return __S.getUint16(10, this); }
457
+ }
458
+ export class Type_AnyPointer_Parameter extends __S {
459
+ static readonly _capnp = { displayName: "parameter", id: "9dd1f724f4614a85", size: new __O(24, 1) };
460
+ getScopeId(): capnp.Uint64 { return __S.getUint64(16, this); }
461
+ setScopeId(value: capnp.Uint64): void { __S.setUint64(16, value, this); }
462
+ getParameterIndex(): number { return __S.getUint16(10, this); }
463
+ setParameterIndex(value: number): void { __S.setUint16(10, value, this); }
464
+ toString(): string { return "Type_AnyPointer_Parameter_" + super.toString(); }
465
+ }
466
+ export class Type_AnyPointer_ImplicitMethodParameter extends __S {
467
+ static readonly _capnp = { displayName: "implicitMethodParameter", id: "baefc9120c56e274", size: new __O(24, 1) };
468
+ getParameterIndex(): number { return __S.getUint16(10, this); }
469
+ setParameterIndex(value: number): void { __S.setUint16(10, value, this); }
470
+ toString(): string { return "Type_AnyPointer_ImplicitMethodParameter_" + super.toString(); }
471
+ }
472
+ export enum Type_AnyPointer_Which {
473
+ UNCONSTRAINED = 0,
474
+ PARAMETER = 1,
475
+ IMPLICIT_METHOD_PARAMETER = 2
476
+ }
477
+ export class Type_AnyPointer extends __S {
478
+ static readonly UNCONSTRAINED = Type_AnyPointer_Which.UNCONSTRAINED;
479
+ static readonly PARAMETER = Type_AnyPointer_Which.PARAMETER;
480
+ static readonly IMPLICIT_METHOD_PARAMETER = Type_AnyPointer_Which.IMPLICIT_METHOD_PARAMETER;
481
+ static readonly _capnp = { displayName: "anyPointer", id: "c2573fe8a23e49f1", size: new __O(24, 1) };
482
+ getUnconstrained(): Type_AnyPointer_Unconstrained {
483
+ __S.testWhich("unconstrained", __S.getUint16(8, this), 0, this);
484
+ return __S.getAs(Type_AnyPointer_Unconstrained, this);
485
+ }
486
+ initUnconstrained(): Type_AnyPointer_Unconstrained {
487
+ __S.setUint16(8, 0, this);
488
+ return __S.getAs(Type_AnyPointer_Unconstrained, this);
489
+ }
490
+ isUnconstrained(): boolean { return __S.getUint16(8, this) === 0; }
491
+ setUnconstrained(): void { __S.setUint16(8, 0, this); }
492
+ getParameter(): Type_AnyPointer_Parameter {
493
+ __S.testWhich("parameter", __S.getUint16(8, this), 1, this);
494
+ return __S.getAs(Type_AnyPointer_Parameter, this);
495
+ }
496
+ initParameter(): Type_AnyPointer_Parameter {
497
+ __S.setUint16(8, 1, this);
498
+ return __S.getAs(Type_AnyPointer_Parameter, this);
499
+ }
500
+ isParameter(): boolean { return __S.getUint16(8, this) === 1; }
501
+ setParameter(): void { __S.setUint16(8, 1, this); }
502
+ getImplicitMethodParameter(): Type_AnyPointer_ImplicitMethodParameter {
503
+ __S.testWhich("implicitMethodParameter", __S.getUint16(8, this), 2, this);
504
+ return __S.getAs(Type_AnyPointer_ImplicitMethodParameter, this);
505
+ }
506
+ initImplicitMethodParameter(): Type_AnyPointer_ImplicitMethodParameter {
507
+ __S.setUint16(8, 2, this);
508
+ return __S.getAs(Type_AnyPointer_ImplicitMethodParameter, this);
509
+ }
510
+ isImplicitMethodParameter(): boolean { return __S.getUint16(8, this) === 2; }
511
+ setImplicitMethodParameter(): void { __S.setUint16(8, 2, this); }
512
+ toString(): string { return "Type_AnyPointer_" + super.toString(); }
513
+ which(): Type_AnyPointer_Which { return __S.getUint16(8, this); }
514
+ }
515
+ export enum Type_Which {
516
+ VOID = 0,
517
+ BOOL = 1,
518
+ INT8 = 2,
519
+ INT16 = 3,
520
+ INT32 = 4,
521
+ INT64 = 5,
522
+ UINT8 = 6,
523
+ UINT16 = 7,
524
+ UINT32 = 8,
525
+ UINT64 = 9,
526
+ FLOAT32 = 10,
527
+ FLOAT64 = 11,
528
+ TEXT = 12,
529
+ DATA = 13,
530
+ LIST = 14,
531
+ ENUM = 15,
532
+ STRUCT = 16,
533
+ INTERFACE = 17,
534
+ ANY_POINTER = 18
535
+ }
536
+ export class Type extends __S {
537
+ static readonly VOID = Type_Which.VOID;
538
+ static readonly BOOL = Type_Which.BOOL;
539
+ static readonly INT8 = Type_Which.INT8;
540
+ static readonly INT16 = Type_Which.INT16;
541
+ static readonly INT32 = Type_Which.INT32;
542
+ static readonly INT64 = Type_Which.INT64;
543
+ static readonly UINT8 = Type_Which.UINT8;
544
+ static readonly UINT16 = Type_Which.UINT16;
545
+ static readonly UINT32 = Type_Which.UINT32;
546
+ static readonly UINT64 = Type_Which.UINT64;
547
+ static readonly FLOAT32 = Type_Which.FLOAT32;
548
+ static readonly FLOAT64 = Type_Which.FLOAT64;
549
+ static readonly TEXT = Type_Which.TEXT;
550
+ static readonly DATA = Type_Which.DATA;
551
+ static readonly LIST = Type_Which.LIST;
552
+ static readonly ENUM = Type_Which.ENUM;
553
+ static readonly STRUCT = Type_Which.STRUCT;
554
+ static readonly INTERFACE = Type_Which.INTERFACE;
555
+ static readonly ANY_POINTER = Type_Which.ANY_POINTER;
556
+ static readonly _capnp = { displayName: "Type", id: "d07378ede1f9cc60", size: new __O(24, 1) };
557
+ isVoid(): boolean { return __S.getUint16(0, this) === 0; }
558
+ setVoid(): void { __S.setUint16(0, 0, this); }
559
+ isBool(): boolean { return __S.getUint16(0, this) === 1; }
560
+ setBool(): void { __S.setUint16(0, 1, this); }
561
+ isInt8(): boolean { return __S.getUint16(0, this) === 2; }
562
+ setInt8(): void { __S.setUint16(0, 2, this); }
563
+ isInt16(): boolean { return __S.getUint16(0, this) === 3; }
564
+ setInt16(): void { __S.setUint16(0, 3, this); }
565
+ isInt32(): boolean { return __S.getUint16(0, this) === 4; }
566
+ setInt32(): void { __S.setUint16(0, 4, this); }
567
+ isInt64(): boolean { return __S.getUint16(0, this) === 5; }
568
+ setInt64(): void { __S.setUint16(0, 5, this); }
569
+ isUint8(): boolean { return __S.getUint16(0, this) === 6; }
570
+ setUint8(): void { __S.setUint16(0, 6, this); }
571
+ isUint16(): boolean { return __S.getUint16(0, this) === 7; }
572
+ setUint16(): void { __S.setUint16(0, 7, this); }
573
+ isUint32(): boolean { return __S.getUint16(0, this) === 8; }
574
+ setUint32(): void { __S.setUint16(0, 8, this); }
575
+ isUint64(): boolean { return __S.getUint16(0, this) === 9; }
576
+ setUint64(): void { __S.setUint16(0, 9, this); }
577
+ isFloat32(): boolean { return __S.getUint16(0, this) === 10; }
578
+ setFloat32(): void { __S.setUint16(0, 10, this); }
579
+ isFloat64(): boolean { return __S.getUint16(0, this) === 11; }
580
+ setFloat64(): void { __S.setUint16(0, 11, this); }
581
+ isText(): boolean { return __S.getUint16(0, this) === 12; }
582
+ setText(): void { __S.setUint16(0, 12, this); }
583
+ isData(): boolean { return __S.getUint16(0, this) === 13; }
584
+ setData(): void { __S.setUint16(0, 13, this); }
585
+ getList(): Type_List {
586
+ __S.testWhich("list", __S.getUint16(0, this), 14, this);
587
+ return __S.getAs(Type_List, this);
588
+ }
589
+ initList(): Type_List {
590
+ __S.setUint16(0, 14, this);
591
+ return __S.getAs(Type_List, this);
592
+ }
593
+ isList(): boolean { return __S.getUint16(0, this) === 14; }
594
+ setList(): void { __S.setUint16(0, 14, this); }
595
+ getEnum(): Type_Enum {
596
+ __S.testWhich("enum", __S.getUint16(0, this), 15, this);
597
+ return __S.getAs(Type_Enum, this);
598
+ }
599
+ initEnum(): Type_Enum {
600
+ __S.setUint16(0, 15, this);
601
+ return __S.getAs(Type_Enum, this);
602
+ }
603
+ isEnum(): boolean { return __S.getUint16(0, this) === 15; }
604
+ setEnum(): void { __S.setUint16(0, 15, this); }
605
+ getStruct(): Type_Struct {
606
+ __S.testWhich("struct", __S.getUint16(0, this), 16, this);
607
+ return __S.getAs(Type_Struct, this);
608
+ }
609
+ initStruct(): Type_Struct {
610
+ __S.setUint16(0, 16, this);
611
+ return __S.getAs(Type_Struct, this);
612
+ }
613
+ isStruct(): boolean { return __S.getUint16(0, this) === 16; }
614
+ setStruct(): void { __S.setUint16(0, 16, this); }
615
+ getInterface(): Type_Interface {
616
+ __S.testWhich("interface", __S.getUint16(0, this), 17, this);
617
+ return __S.getAs(Type_Interface, this);
618
+ }
619
+ initInterface(): Type_Interface {
620
+ __S.setUint16(0, 17, this);
621
+ return __S.getAs(Type_Interface, this);
622
+ }
623
+ isInterface(): boolean { return __S.getUint16(0, this) === 17; }
624
+ setInterface(): void { __S.setUint16(0, 17, this); }
625
+ getAnyPointer(): Type_AnyPointer {
626
+ __S.testWhich("anyPointer", __S.getUint16(0, this), 18, this);
627
+ return __S.getAs(Type_AnyPointer, this);
628
+ }
629
+ initAnyPointer(): Type_AnyPointer {
630
+ __S.setUint16(0, 18, this);
631
+ return __S.getAs(Type_AnyPointer, this);
632
+ }
633
+ isAnyPointer(): boolean { return __S.getUint16(0, this) === 18; }
634
+ setAnyPointer(): void { __S.setUint16(0, 18, this); }
635
+ toString(): string { return "Type_" + super.toString(); }
636
+ which(): Type_Which { return __S.getUint16(0, this); }
637
+ }
638
+ export enum Brand_Scope_Which {
639
+ BIND = 0,
640
+ INHERIT = 1
641
+ }
642
+ export class Brand_Scope extends __S {
643
+ static readonly BIND = Brand_Scope_Which.BIND;
644
+ static readonly INHERIT = Brand_Scope_Which.INHERIT;
645
+ static readonly _capnp = { displayName: "Scope", id: "abd73485a9636bc9", size: new __O(16, 1) };
646
+ static _Bind: capnp.ListCtor<Brand_Binding>;
647
+ getScopeId(): capnp.Uint64 { return __S.getUint64(0, this); }
648
+ setScopeId(value: capnp.Uint64): void { __S.setUint64(0, value, this); }
649
+ adoptBind(value: capnp.Orphan<capnp.List<Brand_Binding>>): void {
650
+ __S.setUint16(8, 0, this);
651
+ __S.adopt(value, __S.getPointer(0, this));
652
+ }
653
+ disownBind(): capnp.Orphan<capnp.List<Brand_Binding>> { return __S.disown(this.getBind()); }
654
+ getBind(): capnp.List<Brand_Binding> {
655
+ __S.testWhich("bind", __S.getUint16(8, this), 0, this);
656
+ return __S.getList(0, Brand_Scope._Bind, this);
657
+ }
658
+ hasBind(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
659
+ initBind(length: number): capnp.List<Brand_Binding> {
660
+ __S.setUint16(8, 0, this);
661
+ return __S.initList(0, Brand_Scope._Bind, length, this);
662
+ }
663
+ isBind(): boolean { return __S.getUint16(8, this) === 0; }
664
+ setBind(value: capnp.List<Brand_Binding>): void {
665
+ __S.setUint16(8, 0, this);
666
+ __S.copyFrom(value, __S.getPointer(0, this));
667
+ }
668
+ isInherit(): boolean { return __S.getUint16(8, this) === 1; }
669
+ setInherit(): void { __S.setUint16(8, 1, this); }
670
+ toString(): string { return "Brand_Scope_" + super.toString(); }
671
+ which(): Brand_Scope_Which { return __S.getUint16(8, this); }
672
+ }
673
+ export enum Brand_Binding_Which {
674
+ UNBOUND = 0,
675
+ TYPE = 1
676
+ }
677
+ export class Brand_Binding extends __S {
678
+ static readonly UNBOUND = Brand_Binding_Which.UNBOUND;
679
+ static readonly TYPE = Brand_Binding_Which.TYPE;
680
+ static readonly _capnp = { displayName: "Binding", id: "c863cd16969ee7fc", size: new __O(8, 1) };
681
+ isUnbound(): boolean { return __S.getUint16(0, this) === 0; }
682
+ setUnbound(): void { __S.setUint16(0, 0, this); }
683
+ adoptType(value: capnp.Orphan<Type>): void {
684
+ __S.setUint16(0, 1, this);
685
+ __S.adopt(value, __S.getPointer(0, this));
686
+ }
687
+ disownType(): capnp.Orphan<Type> { return __S.disown(this.getType()); }
688
+ getType(): Type {
689
+ __S.testWhich("type", __S.getUint16(0, this), 1, this);
690
+ return __S.getStruct(0, Type, this);
691
+ }
692
+ hasType(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
693
+ initType(): Type {
694
+ __S.setUint16(0, 1, this);
695
+ return __S.initStructAt(0, Type, this);
696
+ }
697
+ isType(): boolean { return __S.getUint16(0, this) === 1; }
698
+ setType(value: Type): void {
699
+ __S.setUint16(0, 1, this);
700
+ __S.copyFrom(value, __S.getPointer(0, this));
701
+ }
702
+ toString(): string { return "Brand_Binding_" + super.toString(); }
703
+ which(): Brand_Binding_Which { return __S.getUint16(0, this); }
704
+ }
705
+ export class Brand extends __S {
706
+ static readonly Scope = Brand_Scope;
707
+ static readonly Binding = Brand_Binding;
708
+ static readonly _capnp = { displayName: "Brand", id: "903455f06065422b", size: new __O(0, 1) };
709
+ static _Scopes: capnp.ListCtor<Brand_Scope>;
710
+ adoptScopes(value: capnp.Orphan<capnp.List<Brand_Scope>>): void { __S.adopt(value, __S.getPointer(0, this)); }
711
+ disownScopes(): capnp.Orphan<capnp.List<Brand_Scope>> { return __S.disown(this.getScopes()); }
712
+ getScopes(): capnp.List<Brand_Scope> { return __S.getList(0, Brand._Scopes, this); }
713
+ hasScopes(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
714
+ initScopes(length: number): capnp.List<Brand_Scope> { return __S.initList(0, Brand._Scopes, length, this); }
715
+ setScopes(value: capnp.List<Brand_Scope>): void { __S.copyFrom(value, __S.getPointer(0, this)); }
716
+ toString(): string { return "Brand_" + super.toString(); }
717
+ }
718
+ export enum Value_Which {
719
+ VOID = 0,
720
+ BOOL = 1,
721
+ INT8 = 2,
722
+ INT16 = 3,
723
+ INT32 = 4,
724
+ INT64 = 5,
725
+ UINT8 = 6,
726
+ UINT16 = 7,
727
+ UINT32 = 8,
728
+ UINT64 = 9,
729
+ FLOAT32 = 10,
730
+ FLOAT64 = 11,
731
+ TEXT = 12,
732
+ DATA = 13,
733
+ LIST = 14,
734
+ ENUM = 15,
735
+ STRUCT = 16,
736
+ INTERFACE = 17,
737
+ ANY_POINTER = 18
738
+ }
739
+ export class Value extends __S {
740
+ static readonly VOID = Value_Which.VOID;
741
+ static readonly BOOL = Value_Which.BOOL;
742
+ static readonly INT8 = Value_Which.INT8;
743
+ static readonly INT16 = Value_Which.INT16;
744
+ static readonly INT32 = Value_Which.INT32;
745
+ static readonly INT64 = Value_Which.INT64;
746
+ static readonly UINT8 = Value_Which.UINT8;
747
+ static readonly UINT16 = Value_Which.UINT16;
748
+ static readonly UINT32 = Value_Which.UINT32;
749
+ static readonly UINT64 = Value_Which.UINT64;
750
+ static readonly FLOAT32 = Value_Which.FLOAT32;
751
+ static readonly FLOAT64 = Value_Which.FLOAT64;
752
+ static readonly TEXT = Value_Which.TEXT;
753
+ static readonly DATA = Value_Which.DATA;
754
+ static readonly LIST = Value_Which.LIST;
755
+ static readonly ENUM = Value_Which.ENUM;
756
+ static readonly STRUCT = Value_Which.STRUCT;
757
+ static readonly INTERFACE = Value_Which.INTERFACE;
758
+ static readonly ANY_POINTER = Value_Which.ANY_POINTER;
759
+ static readonly _capnp = { displayName: "Value", id: "ce23dcd2d7b00c9b", size: new __O(16, 1) };
760
+ isVoid(): boolean { return __S.getUint16(0, this) === 0; }
761
+ setVoid(): void { __S.setUint16(0, 0, this); }
762
+ getBool(): boolean {
763
+ __S.testWhich("bool", __S.getUint16(0, this), 1, this);
764
+ return __S.getBit(16, this);
765
+ }
766
+ isBool(): boolean { return __S.getUint16(0, this) === 1; }
767
+ setBool(value: boolean): void {
768
+ __S.setUint16(0, 1, this);
769
+ __S.setBit(16, value, this);
770
+ }
771
+ getInt8(): number {
772
+ __S.testWhich("int8", __S.getUint16(0, this), 2, this);
773
+ return __S.getInt8(2, this);
774
+ }
775
+ isInt8(): boolean { return __S.getUint16(0, this) === 2; }
776
+ setInt8(value: number): void {
777
+ __S.setUint16(0, 2, this);
778
+ __S.setInt8(2, value, this);
779
+ }
780
+ getInt16(): number {
781
+ __S.testWhich("int16", __S.getUint16(0, this), 3, this);
782
+ return __S.getInt16(2, this);
783
+ }
784
+ isInt16(): boolean { return __S.getUint16(0, this) === 3; }
785
+ setInt16(value: number): void {
786
+ __S.setUint16(0, 3, this);
787
+ __S.setInt16(2, value, this);
788
+ }
789
+ getInt32(): number {
790
+ __S.testWhich("int32", __S.getUint16(0, this), 4, this);
791
+ return __S.getInt32(4, this);
792
+ }
793
+ isInt32(): boolean { return __S.getUint16(0, this) === 4; }
794
+ setInt32(value: number): void {
795
+ __S.setUint16(0, 4, this);
796
+ __S.setInt32(4, value, this);
797
+ }
798
+ getInt64(): capnp.Int64 {
799
+ __S.testWhich("int64", __S.getUint16(0, this), 5, this);
800
+ return __S.getInt64(8, this);
801
+ }
802
+ isInt64(): boolean { return __S.getUint16(0, this) === 5; }
803
+ setInt64(value: capnp.Int64): void {
804
+ __S.setUint16(0, 5, this);
805
+ __S.setInt64(8, value, this);
806
+ }
807
+ getUint8(): number {
808
+ __S.testWhich("uint8", __S.getUint16(0, this), 6, this);
809
+ return __S.getUint8(2, this);
810
+ }
811
+ isUint8(): boolean { return __S.getUint16(0, this) === 6; }
812
+ setUint8(value: number): void {
813
+ __S.setUint16(0, 6, this);
814
+ __S.setUint8(2, value, this);
815
+ }
816
+ getUint16(): number {
817
+ __S.testWhich("uint16", __S.getUint16(0, this), 7, this);
818
+ return __S.getUint16(2, this);
819
+ }
820
+ isUint16(): boolean { return __S.getUint16(0, this) === 7; }
821
+ setUint16(value: number): void {
822
+ __S.setUint16(0, 7, this);
823
+ __S.setUint16(2, value, this);
824
+ }
825
+ getUint32(): number {
826
+ __S.testWhich("uint32", __S.getUint16(0, this), 8, this);
827
+ return __S.getUint32(4, this);
828
+ }
829
+ isUint32(): boolean { return __S.getUint16(0, this) === 8; }
830
+ setUint32(value: number): void {
831
+ __S.setUint16(0, 8, this);
832
+ __S.setUint32(4, value, this);
833
+ }
834
+ getUint64(): capnp.Uint64 {
835
+ __S.testWhich("uint64", __S.getUint16(0, this), 9, this);
836
+ return __S.getUint64(8, this);
837
+ }
838
+ isUint64(): boolean { return __S.getUint16(0, this) === 9; }
839
+ setUint64(value: capnp.Uint64): void {
840
+ __S.setUint16(0, 9, this);
841
+ __S.setUint64(8, value, this);
842
+ }
843
+ getFloat32(): number {
844
+ __S.testWhich("float32", __S.getUint16(0, this), 10, this);
845
+ return __S.getFloat32(4, this);
846
+ }
847
+ isFloat32(): boolean { return __S.getUint16(0, this) === 10; }
848
+ setFloat32(value: number): void {
849
+ __S.setUint16(0, 10, this);
850
+ __S.setFloat32(4, value, this);
851
+ }
852
+ getFloat64(): number {
853
+ __S.testWhich("float64", __S.getUint16(0, this), 11, this);
854
+ return __S.getFloat64(8, this);
855
+ }
856
+ isFloat64(): boolean { return __S.getUint16(0, this) === 11; }
857
+ setFloat64(value: number): void {
858
+ __S.setUint16(0, 11, this);
859
+ __S.setFloat64(8, value, this);
860
+ }
861
+ getText(): string {
862
+ __S.testWhich("text", __S.getUint16(0, this), 12, this);
863
+ return __S.getText(0, this);
864
+ }
865
+ isText(): boolean { return __S.getUint16(0, this) === 12; }
866
+ setText(value: string): void {
867
+ __S.setUint16(0, 12, this);
868
+ __S.setText(0, value, this);
869
+ }
870
+ adoptData(value: capnp.Orphan<capnp.Data>): void {
871
+ __S.setUint16(0, 13, this);
872
+ __S.adopt(value, __S.getPointer(0, this));
873
+ }
874
+ disownData(): capnp.Orphan<capnp.Data> { return __S.disown(this.getData()); }
875
+ getData(): capnp.Data {
876
+ __S.testWhich("data", __S.getUint16(0, this), 13, this);
877
+ return __S.getData(0, this);
878
+ }
879
+ hasData(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
880
+ initData(length: number): capnp.Data {
881
+ __S.setUint16(0, 13, this);
882
+ return __S.initData(0, length, this);
883
+ }
884
+ isData(): boolean { return __S.getUint16(0, this) === 13; }
885
+ setData(value: capnp.Data): void {
886
+ __S.setUint16(0, 13, this);
887
+ __S.copyFrom(value, __S.getPointer(0, this));
888
+ }
889
+ adoptList(value: capnp.Orphan<capnp.Pointer>): void {
890
+ __S.setUint16(0, 14, this);
891
+ __S.adopt(value, __S.getPointer(0, this));
892
+ }
893
+ disownList(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getList()); }
894
+ getList(): capnp.Pointer {
895
+ __S.testWhich("list", __S.getUint16(0, this), 14, this);
896
+ return __S.getPointer(0, this);
897
+ }
898
+ hasList(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
899
+ isList(): boolean { return __S.getUint16(0, this) === 14; }
900
+ setList(value: capnp.Pointer): void {
901
+ __S.setUint16(0, 14, this);
902
+ __S.copyFrom(value, __S.getPointer(0, this));
903
+ }
904
+ getEnum(): number {
905
+ __S.testWhich("enum", __S.getUint16(0, this), 15, this);
906
+ return __S.getUint16(2, this);
907
+ }
908
+ isEnum(): boolean { return __S.getUint16(0, this) === 15; }
909
+ setEnum(value: number): void {
910
+ __S.setUint16(0, 15, this);
911
+ __S.setUint16(2, value, this);
912
+ }
913
+ adoptStruct(value: capnp.Orphan<capnp.Pointer>): void {
914
+ __S.setUint16(0, 16, this);
915
+ __S.adopt(value, __S.getPointer(0, this));
916
+ }
917
+ disownStruct(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getStruct()); }
918
+ getStruct(): capnp.Pointer {
919
+ __S.testWhich("struct", __S.getUint16(0, this), 16, this);
920
+ return __S.getPointer(0, this);
921
+ }
922
+ hasStruct(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
923
+ isStruct(): boolean { return __S.getUint16(0, this) === 16; }
924
+ setStruct(value: capnp.Pointer): void {
925
+ __S.setUint16(0, 16, this);
926
+ __S.copyFrom(value, __S.getPointer(0, this));
927
+ }
928
+ isInterface(): boolean { return __S.getUint16(0, this) === 17; }
929
+ setInterface(): void { __S.setUint16(0, 17, this); }
930
+ adoptAnyPointer(value: capnp.Orphan<capnp.Pointer>): void {
931
+ __S.setUint16(0, 18, this);
932
+ __S.adopt(value, __S.getPointer(0, this));
933
+ }
934
+ disownAnyPointer(): capnp.Orphan<capnp.Pointer> { return __S.disown(this.getAnyPointer()); }
935
+ getAnyPointer(): capnp.Pointer {
936
+ __S.testWhich("anyPointer", __S.getUint16(0, this), 18, this);
937
+ return __S.getPointer(0, this);
938
+ }
939
+ hasAnyPointer(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
940
+ isAnyPointer(): boolean { return __S.getUint16(0, this) === 18; }
941
+ setAnyPointer(value: capnp.Pointer): void {
942
+ __S.setUint16(0, 18, this);
943
+ __S.copyFrom(value, __S.getPointer(0, this));
944
+ }
945
+ toString(): string { return "Value_" + super.toString(); }
946
+ which(): Value_Which { return __S.getUint16(0, this); }
947
+ }
948
+ export class Annotation extends __S {
949
+ static readonly _capnp = { displayName: "Annotation", id: "f1c8950dab257542", size: new __O(8, 2) };
950
+ getId(): capnp.Uint64 { return __S.getUint64(0, this); }
951
+ setId(value: capnp.Uint64): void { __S.setUint64(0, value, this); }
952
+ adoptBrand(value: capnp.Orphan<Brand>): void { __S.adopt(value, __S.getPointer(1, this)); }
953
+ disownBrand(): capnp.Orphan<Brand> { return __S.disown(this.getBrand()); }
954
+ getBrand(): Brand { return __S.getStruct(1, Brand, this); }
955
+ hasBrand(): boolean { return !__S.isNull(__S.getPointer(1, this)); }
956
+ initBrand(): Brand { return __S.initStructAt(1, Brand, this); }
957
+ setBrand(value: Brand): void { __S.copyFrom(value, __S.getPointer(1, this)); }
958
+ adoptValue(value: capnp.Orphan<Value>): void { __S.adopt(value, __S.getPointer(0, this)); }
959
+ disownValue(): capnp.Orphan<Value> { return __S.disown(this.getValue()); }
960
+ getValue(): Value { return __S.getStruct(0, Value, this); }
961
+ hasValue(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
962
+ initValue(): Value { return __S.initStructAt(0, Value, this); }
963
+ setValue(value: Value): void { __S.copyFrom(value, __S.getPointer(0, this)); }
964
+ toString(): string { return "Annotation_" + super.toString(); }
965
+ }
966
+ export enum ElementSize {
967
+ EMPTY,
968
+ BIT,
969
+ BYTE,
970
+ TWO_BYTES,
971
+ FOUR_BYTES,
972
+ EIGHT_BYTES,
973
+ POINTER,
974
+ INLINE_COMPOSITE
975
+ }
976
+ export class CapnpVersion extends __S {
977
+ static readonly _capnp = { displayName: "CapnpVersion", id: "d85d305b7d839963", size: new __O(8, 0) };
978
+ getMajor(): number { return __S.getUint16(0, this); }
979
+ setMajor(value: number): void { __S.setUint16(0, value, this); }
980
+ getMinor(): number { return __S.getUint8(2, this); }
981
+ setMinor(value: number): void { __S.setUint8(2, value, this); }
982
+ getMicro(): number { return __S.getUint8(3, this); }
983
+ setMicro(value: number): void { __S.setUint8(3, value, this); }
984
+ toString(): string { return "CapnpVersion_" + super.toString(); }
985
+ }
986
+ export class CodeGeneratorRequest_RequestedFile_Import extends __S {
987
+ static readonly _capnp = { displayName: "Import", id: "ae504193122357e5", size: new __O(8, 1) };
988
+ getId(): capnp.Uint64 { return __S.getUint64(0, this); }
989
+ setId(value: capnp.Uint64): void { __S.setUint64(0, value, this); }
990
+ getName(): string { return __S.getText(0, this); }
991
+ setName(value: string): void { __S.setText(0, value, this); }
992
+ toString(): string { return "CodeGeneratorRequest_RequestedFile_Import_" + super.toString(); }
993
+ }
994
+ export class CodeGeneratorRequest_RequestedFile extends __S {
995
+ static readonly Import = CodeGeneratorRequest_RequestedFile_Import;
996
+ static readonly _capnp = { displayName: "RequestedFile", id: "cfea0eb02e810062", size: new __O(8, 2) };
997
+ static _Imports: capnp.ListCtor<CodeGeneratorRequest_RequestedFile_Import>;
998
+ getId(): capnp.Uint64 { return __S.getUint64(0, this); }
999
+ setId(value: capnp.Uint64): void { __S.setUint64(0, value, this); }
1000
+ getFilename(): string { return __S.getText(0, this); }
1001
+ setFilename(value: string): void { __S.setText(0, value, this); }
1002
+ adoptImports(value: capnp.Orphan<capnp.List<CodeGeneratorRequest_RequestedFile_Import>>): void { __S.adopt(value, __S.getPointer(1, this)); }
1003
+ disownImports(): capnp.Orphan<capnp.List<CodeGeneratorRequest_RequestedFile_Import>> { return __S.disown(this.getImports()); }
1004
+ getImports(): capnp.List<CodeGeneratorRequest_RequestedFile_Import> { return __S.getList(1, CodeGeneratorRequest_RequestedFile._Imports, this); }
1005
+ hasImports(): boolean { return !__S.isNull(__S.getPointer(1, this)); }
1006
+ initImports(length: number): capnp.List<CodeGeneratorRequest_RequestedFile_Import> { return __S.initList(1, CodeGeneratorRequest_RequestedFile._Imports, length, this); }
1007
+ setImports(value: capnp.List<CodeGeneratorRequest_RequestedFile_Import>): void { __S.copyFrom(value, __S.getPointer(1, this)); }
1008
+ toString(): string { return "CodeGeneratorRequest_RequestedFile_" + super.toString(); }
1009
+ }
1010
+ export class CodeGeneratorRequest extends __S {
1011
+ static readonly RequestedFile = CodeGeneratorRequest_RequestedFile;
1012
+ static readonly _capnp = { displayName: "CodeGeneratorRequest", id: "bfc546f6210ad7ce", size: new __O(0, 3) };
1013
+ static _Nodes: capnp.ListCtor<Node>;
1014
+ static _RequestedFiles: capnp.ListCtor<CodeGeneratorRequest_RequestedFile>;
1015
+ adoptCapnpVersion(value: capnp.Orphan<CapnpVersion>): void { __S.adopt(value, __S.getPointer(2, this)); }
1016
+ disownCapnpVersion(): capnp.Orphan<CapnpVersion> { return __S.disown(this.getCapnpVersion()); }
1017
+ getCapnpVersion(): CapnpVersion { return __S.getStruct(2, CapnpVersion, this); }
1018
+ hasCapnpVersion(): boolean { return !__S.isNull(__S.getPointer(2, this)); }
1019
+ initCapnpVersion(): CapnpVersion { return __S.initStructAt(2, CapnpVersion, this); }
1020
+ setCapnpVersion(value: CapnpVersion): void { __S.copyFrom(value, __S.getPointer(2, this)); }
1021
+ adoptNodes(value: capnp.Orphan<capnp.List<Node>>): void { __S.adopt(value, __S.getPointer(0, this)); }
1022
+ disownNodes(): capnp.Orphan<capnp.List<Node>> { return __S.disown(this.getNodes()); }
1023
+ getNodes(): capnp.List<Node> { return __S.getList(0, CodeGeneratorRequest._Nodes, this); }
1024
+ hasNodes(): boolean { return !__S.isNull(__S.getPointer(0, this)); }
1025
+ initNodes(length: number): capnp.List<Node> { return __S.initList(0, CodeGeneratorRequest._Nodes, length, this); }
1026
+ setNodes(value: capnp.List<Node>): void { __S.copyFrom(value, __S.getPointer(0, this)); }
1027
+ adoptRequestedFiles(value: capnp.Orphan<capnp.List<CodeGeneratorRequest_RequestedFile>>): void { __S.adopt(value, __S.getPointer(1, this)); }
1028
+ disownRequestedFiles(): capnp.Orphan<capnp.List<CodeGeneratorRequest_RequestedFile>> { return __S.disown(this.getRequestedFiles()); }
1029
+ getRequestedFiles(): capnp.List<CodeGeneratorRequest_RequestedFile> { return __S.getList(1, CodeGeneratorRequest._RequestedFiles, this); }
1030
+ hasRequestedFiles(): boolean { return !__S.isNull(__S.getPointer(1, this)); }
1031
+ initRequestedFiles(length: number): capnp.List<CodeGeneratorRequest_RequestedFile> { return __S.initList(1, CodeGeneratorRequest._RequestedFiles, length, this); }
1032
+ setRequestedFiles(value: capnp.List<CodeGeneratorRequest_RequestedFile>): void { __S.copyFrom(value, __S.getPointer(1, this)); }
1033
+ toString(): string { return "CodeGeneratorRequest_" + super.toString(); }
1034
+ }
1035
+ Node_Struct._Fields = capnp.CompositeList(Field);
1036
+ Node_Enum._Enumerants = capnp.CompositeList(Enumerant);
1037
+ Node_Interface._Methods = capnp.CompositeList(Method);
1038
+ Node_Interface._Superclasses = capnp.CompositeList(Superclass);
1039
+ Node._Parameters = capnp.CompositeList(Node_Parameter);
1040
+ Node._NestedNodes = capnp.CompositeList(Node_NestedNode);
1041
+ Node._Annotations = capnp.CompositeList(Annotation);
1042
+ Field._Annotations = capnp.CompositeList(Annotation);
1043
+ Enumerant._Annotations = capnp.CompositeList(Annotation);
1044
+ Method._ImplicitParameters = capnp.CompositeList(Node_Parameter);
1045
+ Method._Annotations = capnp.CompositeList(Annotation);
1046
+ Brand_Scope._Bind = capnp.CompositeList(Brand_Binding);
1047
+ Brand._Scopes = capnp.CompositeList(Brand_Scope);
1048
+ CodeGeneratorRequest_RequestedFile._Imports = capnp.CompositeList(CodeGeneratorRequest_RequestedFile_Import);
1049
+ CodeGeneratorRequest._Nodes = capnp.CompositeList(Node);
1050
+ CodeGeneratorRequest._RequestedFiles = capnp.CompositeList(CodeGeneratorRequest_RequestedFile);
workers1/auto3d/node_modules/capnp-ts/src/std/ts.capnp.d.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ /**
2
+ * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
3
+ * compiled output.
4
+ */
5
+ export declare const _capnpFileId = "e37ded525a68a7c9";
workers1/auto3d/node_modules/capnp-ts/src/std/ts.capnp.js ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ /**
3
+ * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
4
+ * compiled output.
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports._capnpFileId = void 0;
8
+ exports._capnpFileId = "e37ded525a68a7c9";
9
+ //# sourceMappingURL=ts.capnp.js.map
workers1/auto3d/node_modules/capnp-ts/src/std/ts.capnp.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"ts.capnp.js","sourceRoot":"","sources":["ts.capnp.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIU,QAAA,YAAY,GAAG,kBAAkB,CAAC"}
workers1/auto3d/node_modules/capnp-ts/src/std/ts.capnp.ts ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
3
+ * compiled output.
4
+ */
5
+
6
+ import * as capnp from "../index";
7
+ import { ObjectSize as __O, Struct as __S } from "../index";
8
+ export const _capnpFileId = "e37ded525a68a7c9";
workers1/auto3d/node_modules/capnp-ts/src/types/index.d.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ /**
2
+ * @author jdiaz5513
3
+ */
4
+ export { Int64 } from "./int64";
5
+ export { Uint64 } from "./uint64";
workers1/auto3d/node_modules/capnp-ts/src/types/index.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ /**
3
+ * @author jdiaz5513
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Uint64 = exports.Int64 = void 0;
7
+ var int64_1 = require("./int64");
8
+ Object.defineProperty(exports, "Int64", { enumerable: true, get: function () { return int64_1.Int64; } });
9
+ var uint64_1 = require("./uint64");
10
+ Object.defineProperty(exports, "Uint64", { enumerable: true, get: function () { return uint64_1.Uint64; } });
11
+ //# sourceMappingURL=index.js.map
workers1/auto3d/node_modules/capnp-ts/src/types/index.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,mCAAkC;AAAzB,gGAAA,MAAM,OAAA"}
workers1/auto3d/node_modules/capnp-ts/src/types/index.ts ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ /**
2
+ * @author jdiaz5513
3
+ */
4
+
5
+ export { Int64 } from "./int64";
6
+ export { Uint64 } from "./uint64";
workers1/auto3d/node_modules/capnp-ts/src/types/int64.d.ts ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @author jdiaz5513
3
+ */
4
+ import { Uint64 } from "./uint64";
5
+ /**
6
+ * Represents a signed 64-bit integer stored using a Uint8Array in little-endian format.
7
+ *
8
+ * You may convert this to a primitive number by calling `toNumber()` but be wary of precision loss!
9
+ *
10
+ * The value passed in as the source buffer is expected to be in little-endian format.
11
+ */
12
+ export declare class Int64 extends Uint64 {
13
+ static fromArrayBuffer(source: ArrayBuffer, offset?: number, noCopy?: boolean): Int64;
14
+ static fromDataView(source: DataView, offset?: number, noCopy?: boolean): Int64;
15
+ static fromNumber(source: number): Int64;
16
+ /**
17
+ * Parse a hexadecimal string in **big endian format** as an Int64 value.
18
+ *
19
+ * The value will be negative if the string is either preceded with a `-` sign, or already in the negative 2's
20
+ * complement form.
21
+ *
22
+ * @static
23
+ * @param {string} source The source string.
24
+ * @returns {Int64} The string parsed as a 64-bit signed integer.
25
+ */
26
+ static fromHexString(source: string): Int64;
27
+ static fromUint8Array(source: Uint8Array, offset?: number, noCopy?: boolean): Int64;
28
+ equals(other: Int64): boolean;
29
+ inspect(): string;
30
+ negate(): void;
31
+ setValue(loWord: number, hiWord?: number): void;
32
+ toHexString(): string;
33
+ /**
34
+ * Convert to a native javascript number.
35
+ *
36
+ * WARNING: do not expect this number to be accurate to integer precision for large (positive or negative) numbers!
37
+ *
38
+ * @param {boolean} allowImprecise If `true`, no check is performed to verify the returned value is accurate;
39
+ * otherwise out-of-range values are clamped to +/-Infinity.
40
+ * @returns {number} A numeric representation of this integer.
41
+ */
42
+ toNumber(allowImprecise?: boolean): number;
43
+ }
workers1/auto3d/node_modules/capnp-ts/src/types/int64.js ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ /**
3
+ * @author jdiaz5513
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Int64 = void 0;
7
+ const tslib_1 = require("tslib");
8
+ const debug_1 = tslib_1.__importDefault(require("debug"));
9
+ const constants_1 = require("../constants");
10
+ const util_1 = require("../util");
11
+ const uint64_1 = require("./uint64");
12
+ const trace = debug_1.default("capnp:int64");
13
+ trace("load");
14
+ /**
15
+ * Represents a signed 64-bit integer stored using a Uint8Array in little-endian format.
16
+ *
17
+ * You may convert this to a primitive number by calling `toNumber()` but be wary of precision loss!
18
+ *
19
+ * The value passed in as the source buffer is expected to be in little-endian format.
20
+ */
21
+ class Int64 extends uint64_1.Uint64 {
22
+ static fromArrayBuffer(source, offset = 0, noCopy = false) {
23
+ if (noCopy)
24
+ return new this(new Uint8Array(source, offset, 8));
25
+ return new this(new Uint8Array(source.slice(offset, offset + 8)));
26
+ }
27
+ static fromDataView(source, offset = 0, noCopy = false) {
28
+ if (noCopy) {
29
+ return new this(new Uint8Array(source.buffer, source.byteOffset + offset, 8));
30
+ }
31
+ return new this(new Uint8Array(source.buffer.slice(source.byteOffset + offset, source.byteLength + offset + 8)));
32
+ }
33
+ static fromNumber(source) {
34
+ const ret = new this(new Uint8Array(8));
35
+ ret.setValue(source);
36
+ return ret;
37
+ }
38
+ /**
39
+ * Parse a hexadecimal string in **big endian format** as an Int64 value.
40
+ *
41
+ * The value will be negative if the string is either preceded with a `-` sign, or already in the negative 2's
42
+ * complement form.
43
+ *
44
+ * @static
45
+ * @param {string} source The source string.
46
+ * @returns {Int64} The string parsed as a 64-bit signed integer.
47
+ */
48
+ static fromHexString(source) {
49
+ if (source.substr(0, 2) === "0x")
50
+ source = source.substr(2);
51
+ if (source.length < 1)
52
+ return Int64.fromNumber(0);
53
+ const neg = source[0] === "-";
54
+ if (neg)
55
+ source = source.substr(1);
56
+ source = util_1.pad(source, 16);
57
+ if (source.length !== 16) {
58
+ throw new RangeError("Source string must contain at most 16 hexadecimal digits.");
59
+ }
60
+ const bytes = source.toLowerCase().replace(/[^\da-f]/g, "");
61
+ const buf = new Uint8Array(new ArrayBuffer(8));
62
+ for (let i = 0; i < 8; i++) {
63
+ buf[7 - i] = parseInt(bytes.substr(i * 2, 2), 16);
64
+ }
65
+ const val = new Int64(buf);
66
+ if (neg)
67
+ val.negate();
68
+ return val;
69
+ }
70
+ static fromUint8Array(source, offset = 0, noCopy = false) {
71
+ if (noCopy)
72
+ return new this(source.subarray(offset, offset + 8));
73
+ return new this(new Uint8Array(source.buffer.slice(source.byteOffset + offset, source.byteOffset + offset + 8)));
74
+ }
75
+ equals(other) {
76
+ return super.equals(other);
77
+ }
78
+ inspect() {
79
+ return `[Int64 ${this.toString(10)} 0x${this.toHexString()}]`;
80
+ }
81
+ negate() {
82
+ for (let b = this.buffer, carry = 1, i = 0; i < 8; i++) {
83
+ const v = (b[i] ^ 0xff) + carry;
84
+ b[i] = v & 0xff;
85
+ carry = v >> 8;
86
+ }
87
+ }
88
+ setValue(loWord, hiWord) {
89
+ let negate = false;
90
+ let lo = loWord;
91
+ let hi = hiWord;
92
+ if (hi === undefined) {
93
+ hi = lo;
94
+ negate = hi < 0;
95
+ hi = Math.abs(hi);
96
+ lo = hi % constants_1.VAL32;
97
+ hi = hi / constants_1.VAL32;
98
+ if (hi > constants_1.VAL32)
99
+ throw new RangeError(`${loWord} is outside Int64 range`);
100
+ hi = hi >>> 0;
101
+ }
102
+ for (let i = 0; i < 8; i++) {
103
+ this.buffer[i] = lo & 0xff;
104
+ lo = i === 3 ? hi : lo >>> 8;
105
+ }
106
+ if (negate)
107
+ this.negate();
108
+ }
109
+ toHexString() {
110
+ const b = this.buffer;
111
+ const negate = b[7] & 0x80;
112
+ if (negate)
113
+ this.negate();
114
+ let hex = "";
115
+ for (let i = 7; i >= 0; i--) {
116
+ let v = b[i].toString(16);
117
+ if (v.length === 1)
118
+ v = "0" + v;
119
+ hex += v;
120
+ }
121
+ if (negate) {
122
+ this.negate();
123
+ hex = "-" + hex;
124
+ }
125
+ return hex;
126
+ }
127
+ /**
128
+ * Convert to a native javascript number.
129
+ *
130
+ * WARNING: do not expect this number to be accurate to integer precision for large (positive or negative) numbers!
131
+ *
132
+ * @param {boolean} allowImprecise If `true`, no check is performed to verify the returned value is accurate;
133
+ * otherwise out-of-range values are clamped to +/-Infinity.
134
+ * @returns {number} A numeric representation of this integer.
135
+ */
136
+ toNumber(allowImprecise) {
137
+ const b = this.buffer;
138
+ const negate = b[7] & 0x80;
139
+ let x = 0;
140
+ let carry = 1;
141
+ let i = 0;
142
+ let m = 1;
143
+ while (i < 8) {
144
+ let v = b[i];
145
+ if (negate) {
146
+ v = (v ^ 0xff) + carry;
147
+ carry = v >> 8;
148
+ v = v & 0xff;
149
+ }
150
+ x += v * m;
151
+ m *= 256;
152
+ i++;
153
+ }
154
+ if (!allowImprecise && x >= constants_1.MAX_SAFE_INTEGER) {
155
+ trace("Coercing out of range value %d to Infinity.", x);
156
+ return negate ? -Infinity : Infinity;
157
+ }
158
+ return negate ? -x : x;
159
+ }
160
+ }
161
+ exports.Int64 = Int64;
162
+ //# sourceMappingURL=int64.js.map
workers1/auto3d/node_modules/capnp-ts/src/types/int64.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"int64.js","sourceRoot":"","sources":["int64.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;AAEH,0DAA8B;AAE9B,4CAAuD;AACvD,kCAA8B;AAC9B,qCAAkC;AAElC,MAAM,KAAK,GAAG,eAAS,CAAC,aAAa,CAAC,CAAC;AACvC,KAAK,CAAC,MAAM,CAAC,CAAC;AAEd;;;;;;GAMG;AAEH,MAAa,KAAM,SAAQ,eAAM;IAC/B,MAAM,CAAC,eAAe,CAAC,MAAmB,EAAE,MAAM,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK;QACpE,IAAI,MAAM;YAAE,OAAO,IAAI,IAAI,CAAC,IAAI,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;QAE/D,OAAO,IAAI,IAAI,CAAC,IAAI,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IACpE,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,MAAgB,EAAE,MAAM,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK;QAC9D,IAAI,MAAM,EAAE;YACV,OAAO,IAAI,IAAI,CAAC,IAAI,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,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OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC;SACtC;QAED,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACzB,CAAC;CACF;AAlLD,sBAkLC"}
workers1/auto3d/node_modules/capnp-ts/src/types/int64.ts ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @author jdiaz5513
3
+ */
4
+
5
+ import initTrace from "debug";
6
+
7
+ import { MAX_SAFE_INTEGER, VAL32 } from "../constants";
8
+ import { pad } from "../util";
9
+ import { Uint64 } from "./uint64";
10
+
11
+ const trace = initTrace("capnp:int64");
12
+ trace("load");
13
+
14
+ /**
15
+ * Represents a signed 64-bit integer stored using a Uint8Array in little-endian format.
16
+ *
17
+ * You may convert this to a primitive number by calling `toNumber()` but be wary of precision loss!
18
+ *
19
+ * The value passed in as the source buffer is expected to be in little-endian format.
20
+ */
21
+
22
+ export class Int64 extends Uint64 {
23
+ static fromArrayBuffer(source: ArrayBuffer, offset = 0, noCopy = false): Int64 {
24
+ if (noCopy) return new this(new Uint8Array(source, offset, 8));
25
+
26
+ return new this(new Uint8Array(source.slice(offset, offset + 8)));
27
+ }
28
+
29
+ static fromDataView(source: DataView, offset = 0, noCopy = false): Int64 {
30
+ if (noCopy) {
31
+ return new this(new Uint8Array(source.buffer, source.byteOffset + offset, 8));
32
+ }
33
+
34
+ return new this(new Uint8Array(source.buffer.slice(source.byteOffset + offset, source.byteLength + offset + 8)));
35
+ }
36
+
37
+ static fromNumber(source: number): Int64 {
38
+ const ret = new this(new Uint8Array(8));
39
+
40
+ ret.setValue(source);
41
+
42
+ return ret;
43
+ }
44
+
45
+ /**
46
+ * Parse a hexadecimal string in **big endian format** as an Int64 value.
47
+ *
48
+ * The value will be negative if the string is either preceded with a `-` sign, or already in the negative 2's
49
+ * complement form.
50
+ *
51
+ * @static
52
+ * @param {string} source The source string.
53
+ * @returns {Int64} The string parsed as a 64-bit signed integer.
54
+ */
55
+
56
+ static fromHexString(source: string): Int64 {
57
+ if (source.substr(0, 2) === "0x") source = source.substr(2);
58
+
59
+ if (source.length < 1) return Int64.fromNumber(0);
60
+
61
+ const neg = source[0] === "-";
62
+
63
+ if (neg) source = source.substr(1);
64
+
65
+ source = pad(source, 16);
66
+
67
+ if (source.length !== 16) {
68
+ throw new RangeError("Source string must contain at most 16 hexadecimal digits.");
69
+ }
70
+
71
+ const bytes = source.toLowerCase().replace(/[^\da-f]/g, "");
72
+ const buf = new Uint8Array(new ArrayBuffer(8));
73
+
74
+ for (let i = 0; i < 8; i++) {
75
+ buf[7 - i] = parseInt(bytes.substr(i * 2, 2), 16);
76
+ }
77
+
78
+ const val = new Int64(buf);
79
+
80
+ if (neg) val.negate();
81
+
82
+ return val;
83
+ }
84
+
85
+ static fromUint8Array(source: Uint8Array, offset = 0, noCopy = false): Int64 {
86
+ if (noCopy) return new this(source.subarray(offset, offset + 8));
87
+
88
+ return new this(new Uint8Array(source.buffer.slice(source.byteOffset + offset, source.byteOffset + offset + 8)));
89
+ }
90
+
91
+ equals(other: Int64): boolean {
92
+ return super.equals(other);
93
+ }
94
+
95
+ inspect(): string {
96
+ return `[Int64 ${this.toString(10)} 0x${this.toHexString()}]`;
97
+ }
98
+
99
+ negate(): void {
100
+ for (let b = this.buffer, carry = 1, i = 0; i < 8; i++) {
101
+ const v = (b[i] ^ 0xff) + carry;
102
+
103
+ b[i] = v & 0xff;
104
+ carry = v >> 8;
105
+ }
106
+ }
107
+
108
+ setValue(loWord: number, hiWord?: number): void {
109
+ let negate = false;
110
+ let lo = loWord;
111
+ let hi = hiWord;
112
+
113
+ if (hi === undefined) {
114
+ hi = lo;
115
+ negate = hi < 0;
116
+ hi = Math.abs(hi);
117
+ lo = hi % VAL32;
118
+ hi = hi / VAL32;
119
+
120
+ if (hi > VAL32) throw new RangeError(`${loWord} is outside Int64 range`);
121
+
122
+ hi = hi >>> 0;
123
+ }
124
+
125
+ for (let i = 0; i < 8; i++) {
126
+ this.buffer[i] = lo & 0xff;
127
+
128
+ lo = i === 3 ? hi : lo >>> 8;
129
+ }
130
+
131
+ if (negate) this.negate();
132
+ }
133
+
134
+ toHexString(): string {
135
+ const b = this.buffer;
136
+ const negate = b[7] & 0x80;
137
+
138
+ if (negate) this.negate();
139
+
140
+ let hex = "";
141
+
142
+ for (let i = 7; i >= 0; i--) {
143
+ let v = b[i].toString(16);
144
+
145
+ if (v.length === 1) v = "0" + v;
146
+
147
+ hex += v;
148
+ }
149
+
150
+ if (negate) {
151
+ this.negate();
152
+
153
+ hex = "-" + hex;
154
+ }
155
+
156
+ return hex;
157
+ }
158
+
159
+ /**
160
+ * Convert to a native javascript number.
161
+ *
162
+ * WARNING: do not expect this number to be accurate to integer precision for large (positive or negative) numbers!
163
+ *
164
+ * @param {boolean} allowImprecise If `true`, no check is performed to verify the returned value is accurate;
165
+ * otherwise out-of-range values are clamped to +/-Infinity.
166
+ * @returns {number} A numeric representation of this integer.
167
+ */
168
+
169
+ toNumber(allowImprecise?: boolean): number {
170
+ const b = this.buffer;
171
+ const negate = b[7] & 0x80;
172
+
173
+ let x = 0;
174
+ let carry = 1;
175
+ let i = 0;
176
+ let m = 1;
177
+
178
+ while (i < 8) {
179
+ let v = b[i];
180
+
181
+ if (negate) {
182
+ v = (v ^ 0xff) + carry;
183
+ carry = v >> 8;
184
+ v = v & 0xff;
185
+ }
186
+
187
+ x += v * m;
188
+ m *= 256;
189
+ i++;
190
+ }
191
+
192
+ if (!allowImprecise && x >= MAX_SAFE_INTEGER) {
193
+ trace("Coercing out of range value %d to Infinity.", x);
194
+
195
+ return negate ? -Infinity : Infinity;
196
+ }
197
+
198
+ return negate ? -x : x;
199
+ }
200
+ }
workers1/auto3d/node_modules/capnp-ts/src/types/uint64.d.ts ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @author jdiaz5513
3
+ */
4
+ /**
5
+ * Represents an unsigned 64-bit integer stored using a Uint8Array in little-endian format. It's a little bit faster
6
+ * than int64 because we don't need to keep track of the sign bit or perform two's compliment operations on set.
7
+ *
8
+ * You may convert this to a primitive number by calling `toNumber()` but be wary of precision loss!
9
+ *
10
+ * Note that overflow is not implemented, so negative numbers passed into `setValue()` will be negated first.
11
+ *
12
+ * The value passed in as the source buffer is expected to be in little-endian format.
13
+ */
14
+ export declare class Uint64 {
15
+ readonly buffer: Uint8Array;
16
+ /**
17
+ * Creates a new instance; this is a no-frills constructor for speed. Use the factory methods if you need to convert
18
+ * from other types or use a different offset into the buffer.
19
+ *
20
+ * Will throw if the buffer is not at least 8 bytes long.
21
+ *
22
+ * @constructor
23
+ * @param {Uint8Array} buffer The buffer to use for this 64-bit word; the bytes must be in little-endian order.
24
+ */
25
+ constructor(buffer: Uint8Array);
26
+ static fromArrayBuffer(source: ArrayBuffer, offset?: number, noCopy?: boolean): Uint64;
27
+ static fromDataView(source: DataView, offset?: number, noCopy?: boolean): Uint64;
28
+ /**
29
+ * Parse a hexadecimal string in **big endian format** as a Uint64 value.
30
+ *
31
+ * @static
32
+ * @param {string} source The source string.
33
+ * @returns {Uint64} The string parsed as a 64-bit unsigned integer.
34
+ */
35
+ static fromHexString(source: string): Uint64;
36
+ static fromNumber(source: number): Uint64;
37
+ static fromUint8Array(source: Uint8Array, offset?: number, noCopy?: boolean): Uint64;
38
+ equals(other: Uint64): boolean;
39
+ inspect(): string;
40
+ /**
41
+ * Faster way to check for zero values without converting to a number first.
42
+ *
43
+ * @returns {boolean} `true` if the contained value is zero.
44
+ * @memberOf Uint64
45
+ */
46
+ isZero(): boolean;
47
+ setValue(loWord: number, hiWord?: number): void;
48
+ /**
49
+ * Convert to a native javascript number.
50
+ *
51
+ * WARNING: do not expect this number to be accurate to integer precision for large (positive or negative) numbers!
52
+ *
53
+ * @param {boolean} allowImprecise If `true`, no check is performed to verify the returned value is accurate;
54
+ * otherwise out-of-range values are clamped to +Infinity.
55
+ * @returns {number} A numeric representation of this integer.
56
+ */
57
+ toNumber(allowImprecise?: boolean): number;
58
+ valueOf(): number;
59
+ toArrayBuffer(): ArrayBuffer;
60
+ toDataView(): DataView;
61
+ toHexString(): string;
62
+ toString(radix?: number): string;
63
+ toUint8Array(): Uint8Array;
64
+ }
workers1/auto3d/node_modules/capnp-ts/src/types/uint64.js ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ /**
3
+ * @author jdiaz5513
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Uint64 = void 0;
7
+ const tslib_1 = require("tslib");
8
+ const debug_1 = tslib_1.__importDefault(require("debug"));
9
+ const constants_1 = require("../constants");
10
+ const errors_1 = require("../errors");
11
+ const util_1 = require("../util");
12
+ const trace = debug_1.default("capnp:uint64");
13
+ trace("load");
14
+ /**
15
+ * Represents an unsigned 64-bit integer stored using a Uint8Array in little-endian format. It's a little bit faster
16
+ * than int64 because we don't need to keep track of the sign bit or perform two's compliment operations on set.
17
+ *
18
+ * You may convert this to a primitive number by calling `toNumber()` but be wary of precision loss!
19
+ *
20
+ * Note that overflow is not implemented, so negative numbers passed into `setValue()` will be negated first.
21
+ *
22
+ * The value passed in as the source buffer is expected to be in little-endian format.
23
+ */
24
+ class Uint64 {
25
+ /**
26
+ * Creates a new instance; this is a no-frills constructor for speed. Use the factory methods if you need to convert
27
+ * from other types or use a different offset into the buffer.
28
+ *
29
+ * Will throw if the buffer is not at least 8 bytes long.
30
+ *
31
+ * @constructor
32
+ * @param {Uint8Array} buffer The buffer to use for this 64-bit word; the bytes must be in little-endian order.
33
+ */
34
+ constructor(buffer) {
35
+ if (buffer.byteLength < 8)
36
+ throw new RangeError(errors_1.RANGE_INT64_UNDERFLOW);
37
+ this.buffer = buffer;
38
+ }
39
+ static fromArrayBuffer(source, offset = 0, noCopy = false) {
40
+ if (noCopy)
41
+ return new this(new Uint8Array(source, offset, 8));
42
+ return new this(new Uint8Array(source.slice(offset, offset + 8)));
43
+ }
44
+ static fromDataView(source, offset = 0, noCopy = false) {
45
+ if (noCopy) {
46
+ return new this(new Uint8Array(source.buffer, source.byteOffset + offset, 8));
47
+ }
48
+ return new this(new Uint8Array(source.buffer.slice(source.byteOffset + offset, source.byteLength + offset + 8)));
49
+ }
50
+ /**
51
+ * Parse a hexadecimal string in **big endian format** as a Uint64 value.
52
+ *
53
+ * @static
54
+ * @param {string} source The source string.
55
+ * @returns {Uint64} The string parsed as a 64-bit unsigned integer.
56
+ */
57
+ static fromHexString(source) {
58
+ if (source.substr(0, 2) === "0x")
59
+ source = source.substr(2);
60
+ if (source.length < 1)
61
+ return Uint64.fromNumber(0);
62
+ if (source[0] === "-")
63
+ throw new RangeError("Source must not be negative.");
64
+ source = util_1.pad(source, 16);
65
+ if (source.length !== 16) {
66
+ throw new RangeError("Source string must contain at most 16 hexadecimal digits.");
67
+ }
68
+ const bytes = source.toLowerCase().replace(/[^\da-f]/g, "");
69
+ const buf = new Uint8Array(new ArrayBuffer(8));
70
+ for (let i = 0; i < 8; i++) {
71
+ buf[7 - i] = parseInt(bytes.substr(i * 2, 2), 16);
72
+ }
73
+ return new Uint64(buf);
74
+ }
75
+ static fromNumber(source) {
76
+ const ret = new this(new Uint8Array(8));
77
+ ret.setValue(source);
78
+ return ret;
79
+ }
80
+ static fromUint8Array(source, offset = 0, noCopy = false) {
81
+ if (noCopy)
82
+ return new this(source.subarray(offset, offset + 8));
83
+ return new this(new Uint8Array(source.buffer.slice(source.byteOffset + offset, source.byteOffset + offset + 8)));
84
+ }
85
+ equals(other) {
86
+ for (let i = 0; i < 8; i++) {
87
+ if (this.buffer[i] !== other.buffer[i])
88
+ return false;
89
+ }
90
+ return true;
91
+ }
92
+ inspect() {
93
+ return `[Uint64 ${this.toString(10)} 0x${this.toHexString()}]`;
94
+ }
95
+ /**
96
+ * Faster way to check for zero values without converting to a number first.
97
+ *
98
+ * @returns {boolean} `true` if the contained value is zero.
99
+ * @memberOf Uint64
100
+ */
101
+ isZero() {
102
+ for (let i = 0; i < 8; i++) {
103
+ if (this.buffer[i] !== 0)
104
+ return false;
105
+ }
106
+ return true;
107
+ }
108
+ setValue(loWord, hiWord) {
109
+ let lo = loWord;
110
+ let hi = hiWord;
111
+ if (hi === undefined) {
112
+ hi = lo;
113
+ hi = Math.abs(hi);
114
+ lo = hi % constants_1.VAL32;
115
+ hi = hi / constants_1.VAL32;
116
+ if (hi > constants_1.VAL32)
117
+ throw new RangeError(`${loWord} is outside Uint64 range`);
118
+ hi = hi >>> 0;
119
+ }
120
+ for (let i = 0; i < 8; i++) {
121
+ this.buffer[i] = lo & 0xff;
122
+ lo = i === 3 ? hi : lo >>> 8;
123
+ }
124
+ }
125
+ /**
126
+ * Convert to a native javascript number.
127
+ *
128
+ * WARNING: do not expect this number to be accurate to integer precision for large (positive or negative) numbers!
129
+ *
130
+ * @param {boolean} allowImprecise If `true`, no check is performed to verify the returned value is accurate;
131
+ * otherwise out-of-range values are clamped to +Infinity.
132
+ * @returns {number} A numeric representation of this integer.
133
+ */
134
+ toNumber(allowImprecise) {
135
+ const b = this.buffer;
136
+ let x = 0;
137
+ let i = 0;
138
+ let m = 1;
139
+ while (i < 8) {
140
+ const v = b[i];
141
+ x += v * m;
142
+ m *= 256;
143
+ i++;
144
+ }
145
+ if (!allowImprecise && x >= constants_1.MAX_SAFE_INTEGER) {
146
+ trace("Coercing out of range value %d to Infinity.", x);
147
+ return Infinity;
148
+ }
149
+ return x;
150
+ }
151
+ valueOf() {
152
+ return this.toNumber(false);
153
+ }
154
+ toArrayBuffer() {
155
+ return this.buffer.buffer;
156
+ }
157
+ toDataView() {
158
+ return new DataView(this.buffer.buffer);
159
+ }
160
+ toHexString() {
161
+ let hex = "";
162
+ for (let i = 7; i >= 0; i--) {
163
+ let v = this.buffer[i].toString(16);
164
+ if (v.length === 1)
165
+ v = "0" + v;
166
+ hex += v;
167
+ }
168
+ return hex;
169
+ }
170
+ toString(radix) {
171
+ return this.toNumber(true).toString(radix);
172
+ }
173
+ toUint8Array() {
174
+ return this.buffer;
175
+ }
176
+ }
177
+ exports.Uint64 = Uint64;
178
+ //# sourceMappingURL=uint64.js.map
workers1/auto3d/node_modules/capnp-ts/src/types/uint64.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"uint64.js","sourceRoot":"","sources":["uint64.ts"],"names":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 
 
 
 
 
 
1
+ /**
2
+ * @author jdiaz5513
3
+ */
4
+
5
+ import initTrace from "debug";
6
+
7
+ import { MAX_SAFE_INTEGER, VAL32 } from "../constants";
8
+ import { RANGE_INT64_UNDERFLOW } from "../errors";
9
+ import { pad } from "../util";
10
+
11
+ const trace = initTrace("capnp:uint64");
12
+ trace("load");
13
+
14
+ /**
15
+ * Represents an unsigned 64-bit integer stored using a Uint8Array in little-endian format. It's a little bit faster
16
+ * than int64 because we don't need to keep track of the sign bit or perform two's compliment operations on set.
17
+ *
18
+ * You may convert this to a primitive number by calling `toNumber()` but be wary of precision loss!
19
+ *
20
+ * Note that overflow is not implemented, so negative numbers passed into `setValue()` will be negated first.
21
+ *
22
+ * The value passed in as the source buffer is expected to be in little-endian format.
23
+ */
24
+
25
+ export class Uint64 {
26
+ readonly buffer: Uint8Array;
27
+
28
+ /**
29
+ * Creates a new instance; this is a no-frills constructor for speed. Use the factory methods if you need to convert
30
+ * from other types or use a different offset into the buffer.
31
+ *
32
+ * Will throw if the buffer is not at least 8 bytes long.
33
+ *
34
+ * @constructor
35
+ * @param {Uint8Array} buffer The buffer to use for this 64-bit word; the bytes must be in little-endian order.
36
+ */
37
+
38
+ constructor(buffer: Uint8Array) {
39
+ if (buffer.byteLength < 8) throw new RangeError(RANGE_INT64_UNDERFLOW);
40
+
41
+ this.buffer = buffer;
42
+ }
43
+
44
+ static fromArrayBuffer(source: ArrayBuffer, offset = 0, noCopy = false): Uint64 {
45
+ if (noCopy) return new this(new Uint8Array(source, offset, 8));
46
+
47
+ return new this(new Uint8Array(source.slice(offset, offset + 8)));
48
+ }
49
+
50
+ static fromDataView(source: DataView, offset = 0, noCopy = false): Uint64 {
51
+ if (noCopy) {
52
+ return new this(new Uint8Array(source.buffer, source.byteOffset + offset, 8));
53
+ }
54
+
55
+ return new this(new Uint8Array(source.buffer.slice(source.byteOffset + offset, source.byteLength + offset + 8)));
56
+ }
57
+
58
+ /**
59
+ * Parse a hexadecimal string in **big endian format** as a Uint64 value.
60
+ *
61
+ * @static
62
+ * @param {string} source The source string.
63
+ * @returns {Uint64} The string parsed as a 64-bit unsigned integer.
64
+ */
65
+
66
+ static fromHexString(source: string): Uint64 {
67
+ if (source.substr(0, 2) === "0x") source = source.substr(2);
68
+
69
+ if (source.length < 1) return Uint64.fromNumber(0);
70
+
71
+ if (source[0] === "-") throw new RangeError("Source must not be negative.");
72
+
73
+ source = pad(source, 16);
74
+
75
+ if (source.length !== 16) {
76
+ throw new RangeError("Source string must contain at most 16 hexadecimal digits.");
77
+ }
78
+
79
+ const bytes = source.toLowerCase().replace(/[^\da-f]/g, "");
80
+ const buf = new Uint8Array(new ArrayBuffer(8));
81
+
82
+ for (let i = 0; i < 8; i++) {
83
+ buf[7 - i] = parseInt(bytes.substr(i * 2, 2), 16);
84
+ }
85
+
86
+ return new Uint64(buf);
87
+ }
88
+
89
+ static fromNumber(source: number): Uint64 {
90
+ const ret = new this(new Uint8Array(8));
91
+
92
+ ret.setValue(source);
93
+
94
+ return ret;
95
+ }
96
+
97
+ static fromUint8Array(source: Uint8Array, offset = 0, noCopy = false): Uint64 {
98
+ if (noCopy) return new this(source.subarray(offset, offset + 8));
99
+
100
+ return new this(new Uint8Array(source.buffer.slice(source.byteOffset + offset, source.byteOffset + offset + 8)));
101
+ }
102
+
103
+ equals(other: Uint64): boolean {
104
+ for (let i = 0; i < 8; i++) {
105
+ if (this.buffer[i] !== other.buffer[i]) return false;
106
+ }
107
+
108
+ return true;
109
+ }
110
+
111
+ inspect(): string {
112
+ return `[Uint64 ${this.toString(10)} 0x${this.toHexString()}]`;
113
+ }
114
+
115
+ /**
116
+ * Faster way to check for zero values without converting to a number first.
117
+ *
118
+ * @returns {boolean} `true` if the contained value is zero.
119
+ * @memberOf Uint64
120
+ */
121
+
122
+ isZero(): boolean {
123
+ for (let i = 0; i < 8; i++) {
124
+ if (this.buffer[i] !== 0) return false;
125
+ }
126
+
127
+ return true;
128
+ }
129
+
130
+ setValue(loWord: number, hiWord?: number): void {
131
+ let lo = loWord;
132
+ let hi = hiWord;
133
+
134
+ if (hi === undefined) {
135
+ hi = lo;
136
+ hi = Math.abs(hi);
137
+ lo = hi % VAL32;
138
+ hi = hi / VAL32;
139
+
140
+ if (hi > VAL32) throw new RangeError(`${loWord} is outside Uint64 range`);
141
+
142
+ hi = hi >>> 0;
143
+ }
144
+
145
+ for (let i = 0; i < 8; i++) {
146
+ this.buffer[i] = lo & 0xff;
147
+ lo = i === 3 ? hi : lo >>> 8;
148
+ }
149
+ }
150
+
151
+ /**
152
+ * Convert to a native javascript number.
153
+ *
154
+ * WARNING: do not expect this number to be accurate to integer precision for large (positive or negative) numbers!
155
+ *
156
+ * @param {boolean} allowImprecise If `true`, no check is performed to verify the returned value is accurate;
157
+ * otherwise out-of-range values are clamped to +Infinity.
158
+ * @returns {number} A numeric representation of this integer.
159
+ */
160
+
161
+ toNumber(allowImprecise?: boolean): number {
162
+ const b = this.buffer;
163
+ let x = 0;
164
+ let i = 0;
165
+ let m = 1;
166
+
167
+ while (i < 8) {
168
+ const v = b[i];
169
+
170
+ x += v * m;
171
+ m *= 256;
172
+ i++;
173
+ }
174
+
175
+ if (!allowImprecise && x >= MAX_SAFE_INTEGER) {
176
+ trace("Coercing out of range value %d to Infinity.", x);
177
+
178
+ return Infinity;
179
+ }
180
+
181
+ return x;
182
+ }
183
+
184
+ valueOf(): number {
185
+ return this.toNumber(false);
186
+ }
187
+
188
+ toArrayBuffer(): ArrayBuffer {
189
+ return this.buffer.buffer;
190
+ }
191
+
192
+ toDataView(): DataView {
193
+ return new DataView(this.buffer.buffer);
194
+ }
195
+
196
+ toHexString(): string {
197
+ let hex = "";
198
+
199
+ for (let i = 7; i >= 0; i--) {
200
+ let v = this.buffer[i].toString(16);
201
+
202
+ if (v.length === 1) v = "0" + v;
203
+
204
+ hex += v;
205
+ }
206
+
207
+ return hex;
208
+ }
209
+
210
+ toString(radix?: number): string {
211
+ return this.toNumber(true).toString(radix);
212
+ }
213
+
214
+ toUint8Array(): Uint8Array {
215
+ return this.buffer;
216
+ }
217
+ }
workers1/auto3d/node_modules/capnp-ts/src/util.d.ts ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @author jdiaz5513
3
+ */
4
+ /**
5
+ * Dump a hex string from the given buffer.
6
+ *
7
+ * @export
8
+ * @param {ArrayBuffer} buffer The buffer to convert.
9
+ * @returns {string} A hexadecimal string representing the buffer.
10
+ */
11
+ export declare function bufferToHex(buffer: ArrayBuffer): string;
12
+ /**
13
+ * Throw an error if the provided value cannot be represented as a 32-bit integer.
14
+ *
15
+ * @export
16
+ * @param {number} value The number to check.
17
+ * @returns {number} The same number if it is valid.
18
+ */
19
+ export declare function checkInt32(value: number): number;
20
+ export declare function checkUint32(value: number): number;
21
+ /**
22
+ * Decode a UTF-8 encoded byte array into a JavaScript string (UCS-2).
23
+ *
24
+ * @export
25
+ * @param {Uint8Array} src A utf-8 encoded byte array.
26
+ * @returns {string} A string representation of the byte array.
27
+ */
28
+ export declare function decodeUtf8(src: Uint8Array): string;
29
+ export declare function dumpBuffer(buffer: ArrayBuffer | ArrayBufferView): string;
30
+ /**
31
+ * Encode a JavaScript string (UCS-2) to a UTF-8 encoded string inside a Uint8Array.
32
+ *
33
+ * Note that the underlying buffer for the array will likely be larger than the actual contents; ignore the extra bytes.
34
+ *
35
+ * @export
36
+ * @param {string} src The input string.
37
+ * @returns {Uint8Array} A UTF-8 encoded buffer with the string's contents.
38
+ */
39
+ export declare function encodeUtf8(src: string): Uint8Array;
40
+ /**
41
+ * Produce a `printf`-style string. Nice for providing arguments to `assert` without paying the cost for string
42
+ * concatenation up front. Precision is supported for floating point numbers.
43
+ *
44
+ * @param {string} s The format string. Supported format specifiers: b, c, d, f, j, o, s, x, and X.
45
+ * @param {...any} args Values to be formatted in the string. Arguments beyond what are consumed by the format string
46
+ * are ignored.
47
+ * @returns {string} The formatted string.
48
+ */
49
+ export declare function format(s: string, ...args: unknown[]): string;
50
+ /**
51
+ * Return the thing that was passed in. Yaaaaawn.
52
+ *
53
+ * @export
54
+ * @template T
55
+ * @param {T} x A thing.
56
+ * @returns {T} The same thing.
57
+ */
58
+ export declare function identity<T>(x: T): T;
59
+ export declare function pad(v: string, width: number, pad?: string): string;
60
+ /**
61
+ * Add padding to a number to make it divisible by 8. Typically used to pad byte sizes so they align to a word boundary.
62
+ *
63
+ * @export
64
+ * @param {number} size The number to pad.
65
+ * @returns {number} The padded number.
66
+ */
67
+ export declare function padToWord(size: number): number;
68
+ /**
69
+ * Repeat a string n times. Shamelessly copied from lodash.repeat.
70
+ *
71
+ * @param {number} times Number of times to repeat.
72
+ * @param {string} str The string to repeat.
73
+ * @returns {string} The repeated string.
74
+ */
75
+ export declare function repeat(times: number, str: string): string;
workers1/auto3d/node_modules/capnp-ts/src/util.js ADDED
@@ -0,0 +1,349 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ /**
3
+ * @author jdiaz5513
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.repeat = exports.padToWord = exports.pad = exports.identity = exports.format = exports.encodeUtf8 = exports.dumpBuffer = exports.decodeUtf8 = exports.checkUint32 = exports.checkInt32 = exports.bufferToHex = void 0;
7
+ const tslib_1 = require("tslib");
8
+ // LINT: a lot of the util functions need the any type.
9
+ /* tslint:disable:no-any no-unsafe-any */
10
+ const debug_1 = tslib_1.__importDefault(require("debug"));
11
+ const constants_1 = require("./constants");
12
+ const errors_1 = require("./errors");
13
+ const trace = debug_1.default("capnp:util");
14
+ trace("load");
15
+ /**
16
+ * Dump a hex string from the given buffer.
17
+ *
18
+ * @export
19
+ * @param {ArrayBuffer} buffer The buffer to convert.
20
+ * @returns {string} A hexadecimal string representing the buffer.
21
+ */
22
+ function bufferToHex(buffer) {
23
+ const a = new Uint8Array(buffer);
24
+ const h = [];
25
+ for (let i = 0; i < a.byteLength; i++)
26
+ h.push(pad(a[i].toString(16), 2));
27
+ return `[${h.join(" ")}]`;
28
+ }
29
+ exports.bufferToHex = bufferToHex;
30
+ /**
31
+ * Throw an error if the provided value cannot be represented as a 32-bit integer.
32
+ *
33
+ * @export
34
+ * @param {number} value The number to check.
35
+ * @returns {number} The same number if it is valid.
36
+ */
37
+ function checkInt32(value) {
38
+ if (value > constants_1.MAX_INT32 || value < -constants_1.MAX_INT32) {
39
+ throw new RangeError(errors_1.RANGE_INT32_OVERFLOW);
40
+ }
41
+ return value;
42
+ }
43
+ exports.checkInt32 = checkInt32;
44
+ function checkUint32(value) {
45
+ if (value < 0 || value > constants_1.MAX_UINT32) {
46
+ throw new RangeError(errors_1.RANGE_UINT32_OVERFLOW);
47
+ }
48
+ return value;
49
+ }
50
+ exports.checkUint32 = checkUint32;
51
+ /**
52
+ * Decode a UTF-8 encoded byte array into a JavaScript string (UCS-2).
53
+ *
54
+ * @export
55
+ * @param {Uint8Array} src A utf-8 encoded byte array.
56
+ * @returns {string} A string representation of the byte array.
57
+ */
58
+ function decodeUtf8(src) {
59
+ // This ain't for the faint of heart, kids. If you suffer from seizures, heart palpitations, or have had a history of
60
+ // stroke you may want to look away now.
61
+ const l = src.byteLength;
62
+ let dst = "";
63
+ let i = 0;
64
+ let cp = 0;
65
+ let a = 0;
66
+ let b = 0;
67
+ let c = 0;
68
+ let d = 0;
69
+ while (i < l) {
70
+ a = src[i++];
71
+ if ((a & 0b10000000) === 0) {
72
+ cp = a;
73
+ }
74
+ else if ((a & 0b11100000) === 0b11000000) {
75
+ if (i >= l)
76
+ throw new RangeError(errors_1.RANGE_INVALID_UTF8);
77
+ b = src[i++];
78
+ cp = ((a & 0b00011111) << 6) | (b & 0b00111111);
79
+ }
80
+ else if ((a & 0b11110000) === 0b11100000) {
81
+ if (i + 1 >= l)
82
+ throw new RangeError(errors_1.RANGE_INVALID_UTF8);
83
+ b = src[i++];
84
+ c = src[i++];
85
+ cp = ((a & 0b00001111) << 12) | ((b & 0b00111111) << 6) | (c & 0b00111111);
86
+ }
87
+ else if ((a & 0b11111000) === 0b11110000) {
88
+ if (i + 2 >= l)
89
+ throw new RangeError(errors_1.RANGE_INVALID_UTF8);
90
+ b = src[i++];
91
+ c = src[i++];
92
+ d = src[i++];
93
+ cp = ((a & 0b00000111) << 18) | ((b & 0b00111111) << 12) | ((c & 0b00111111) << 6) | (d & 0b00111111);
94
+ }
95
+ else {
96
+ throw new RangeError(errors_1.RANGE_INVALID_UTF8);
97
+ }
98
+ if (cp <= 0xd7ff || (cp >= 0xe000 && cp <= 0xffff)) {
99
+ dst += String.fromCharCode(cp);
100
+ }
101
+ else {
102
+ // We must reach into the astral plane and construct the surrogate pair!
103
+ cp -= 0x00010000;
104
+ const hi = (cp >>> 10) + 0xd800;
105
+ const lo = (cp & 0x03ff) + 0xdc00;
106
+ if (hi < 0xd800 || hi > 0xdbff)
107
+ throw new RangeError(errors_1.RANGE_INVALID_UTF8);
108
+ dst += String.fromCharCode(hi, lo);
109
+ }
110
+ }
111
+ return dst;
112
+ }
113
+ exports.decodeUtf8 = decodeUtf8;
114
+ function dumpBuffer(buffer) {
115
+ const b = buffer instanceof ArrayBuffer
116
+ ? new Uint8Array(buffer)
117
+ : new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
118
+ const byteLength = Math.min(b.byteLength, constants_1.MAX_BUFFER_DUMP_BYTES);
119
+ let r = format("\n=== buffer[%d] ===", byteLength);
120
+ for (let j = 0; j < byteLength; j += 16) {
121
+ r += `\n${pad(j.toString(16), 8)}: `;
122
+ let s = "";
123
+ let k;
124
+ for (k = 0; k < 16 && j + k < b.byteLength; k++) {
125
+ const v = b[j + k];
126
+ r += `${pad(v.toString(16), 2)} `;
127
+ // Printable ASCII range.
128
+ s += v > 31 && v < 255 ? String.fromCharCode(v) : "·";
129
+ if (k === 7)
130
+ r += " ";
131
+ }
132
+ r += `${repeat((17 - k) * 3, " ")}${s}`;
133
+ }
134
+ r += "\n";
135
+ if (byteLength !== b.byteLength) {
136
+ r += format("=== (truncated %d bytes) ===\n", b.byteLength - byteLength);
137
+ }
138
+ return r;
139
+ }
140
+ exports.dumpBuffer = dumpBuffer;
141
+ /**
142
+ * Encode a JavaScript string (UCS-2) to a UTF-8 encoded string inside a Uint8Array.
143
+ *
144
+ * Note that the underlying buffer for the array will likely be larger than the actual contents; ignore the extra bytes.
145
+ *
146
+ * @export
147
+ * @param {string} src The input string.
148
+ * @returns {Uint8Array} A UTF-8 encoded buffer with the string's contents.
149
+ */
150
+ function encodeUtf8(src) {
151
+ const l = src.length;
152
+ const dst = new Uint8Array(new ArrayBuffer(l * 4));
153
+ let j = 0;
154
+ for (let i = 0; i < l; i++) {
155
+ const c = src.charCodeAt(i);
156
+ if (c <= 0x7f) {
157
+ dst[j++] = c;
158
+ }
159
+ else if (c <= 0x07ff) {
160
+ dst[j++] = 0b11000000 | (c >>> 6);
161
+ dst[j++] = 0b10000000 | ((c >>> 0) & 0b00111111);
162
+ }
163
+ else if (c <= 0xd7ff || c >= 0xe000) {
164
+ dst[j++] = 0b11100000 | (c >>> 12);
165
+ dst[j++] = 0b10000000 | ((c >>> 6) & 0b00111111);
166
+ dst[j++] = 0b10000000 | ((c >>> 0) & 0b00111111);
167
+ }
168
+ else {
169
+ // Make sure the surrogate pair is complete.
170
+ /* istanbul ignore next */
171
+ if (i + 1 >= l)
172
+ throw new RangeError(errors_1.RANGE_INVALID_UTF8);
173
+ // I cast thee back into the astral plane.
174
+ const hi = c - 0xd800;
175
+ const lo = src.charCodeAt(++i) - 0xdc00;
176
+ const cp = ((hi << 10) | lo) + 0x00010000;
177
+ dst[j++] = 0b11110000 | (cp >>> 18);
178
+ dst[j++] = 0b10000000 | ((cp >>> 12) & 0b00111111);
179
+ dst[j++] = 0b10000000 | ((cp >>> 6) & 0b00111111);
180
+ dst[j++] = 0b10000000 | ((cp >>> 0) & 0b00111111);
181
+ }
182
+ }
183
+ return dst.subarray(0, j);
184
+ }
185
+ exports.encodeUtf8 = encodeUtf8;
186
+ /**
187
+ * Produce a `printf`-style string. Nice for providing arguments to `assert` without paying the cost for string
188
+ * concatenation up front. Precision is supported for floating point numbers.
189
+ *
190
+ * @param {string} s The format string. Supported format specifiers: b, c, d, f, j, o, s, x, and X.
191
+ * @param {...any} args Values to be formatted in the string. Arguments beyond what are consumed by the format string
192
+ * are ignored.
193
+ * @returns {string} The formatted string.
194
+ */
195
+ function format(s, ...args) {
196
+ const n = s.length;
197
+ let arg;
198
+ let argIndex = 0;
199
+ let c;
200
+ let escaped = false;
201
+ let i = 0;
202
+ let leadingZero = false;
203
+ let precision;
204
+ let result = "";
205
+ function nextArg() {
206
+ return args[argIndex++];
207
+ }
208
+ function slurpNumber() {
209
+ let digits = "";
210
+ while (/\d/.test(s[i])) {
211
+ digits += s[i++];
212
+ c = s[i];
213
+ }
214
+ return digits.length > 0 ? parseInt(digits, 10) : null;
215
+ }
216
+ for (; i < n; ++i) {
217
+ c = s[i];
218
+ if (escaped) {
219
+ escaped = false;
220
+ if (c === ".") {
221
+ leadingZero = false;
222
+ c = s[++i];
223
+ }
224
+ else if (c === "0" && s[i + 1] === ".") {
225
+ leadingZero = true;
226
+ i += 2;
227
+ c = s[i];
228
+ }
229
+ else {
230
+ leadingZero = true;
231
+ }
232
+ precision = slurpNumber();
233
+ switch (c) {
234
+ case "a": // number in hex with padding
235
+ result += "0x" + pad(parseInt(String(nextArg()), 10).toString(16), 8);
236
+ break;
237
+ case "b": // number in binary
238
+ result += parseInt(String(nextArg()), 10).toString(2);
239
+ break;
240
+ case "c": // character
241
+ arg = nextArg();
242
+ if (typeof arg === "string" || arg instanceof String) {
243
+ result += arg;
244
+ }
245
+ else {
246
+ result += String.fromCharCode(parseInt(String(arg), 10));
247
+ }
248
+ break;
249
+ case "d": // number in decimal
250
+ result += parseInt(String(nextArg()), 10);
251
+ break;
252
+ case "f": {
253
+ // floating point number
254
+ const tmp = parseFloat(String(nextArg())).toFixed(precision || 6);
255
+ result += leadingZero ? tmp : tmp.replace(/^0/, "");
256
+ break;
257
+ }
258
+ case "j": // JSON
259
+ result += JSON.stringify(nextArg());
260
+ break;
261
+ case "o": // number in octal
262
+ result += "0" + parseInt(String(nextArg()), 10).toString(8);
263
+ break;
264
+ case "s": // string
265
+ result += nextArg();
266
+ break;
267
+ case "x": // lowercase hexadecimal
268
+ result += "0x" + parseInt(String(nextArg()), 10).toString(16);
269
+ break;
270
+ case "X": // uppercase hexadecimal
271
+ result += "0x" + parseInt(String(nextArg()), 10).toString(16).toUpperCase();
272
+ break;
273
+ default:
274
+ result += c;
275
+ break;
276
+ }
277
+ }
278
+ else if (c === "%") {
279
+ escaped = true;
280
+ }
281
+ else {
282
+ result += c;
283
+ }
284
+ }
285
+ return result;
286
+ }
287
+ exports.format = format;
288
+ /**
289
+ * Return the thing that was passed in. Yaaaaawn.
290
+ *
291
+ * @export
292
+ * @template T
293
+ * @param {T} x A thing.
294
+ * @returns {T} The same thing.
295
+ */
296
+ function identity(x) {
297
+ return x;
298
+ }
299
+ exports.identity = identity;
300
+ function pad(v, width, pad = "0") {
301
+ return v.length >= width ? v : new Array(width - v.length + 1).join(pad) + v;
302
+ }
303
+ exports.pad = pad;
304
+ /**
305
+ * Add padding to a number to make it divisible by 8. Typically used to pad byte sizes so they align to a word boundary.
306
+ *
307
+ * @export
308
+ * @param {number} size The number to pad.
309
+ * @returns {number} The padded number.
310
+ */
311
+ function padToWord(size) {
312
+ return (size + 7) & ~7;
313
+ }
314
+ exports.padToWord = padToWord;
315
+ /**
316
+ * Repeat a string n times. Shamelessly copied from lodash.repeat.
317
+ *
318
+ * @param {number} times Number of times to repeat.
319
+ * @param {string} str The string to repeat.
320
+ * @returns {string} The repeated string.
321
+ */
322
+ function repeat(times, str) {
323
+ let out = "";
324
+ let n = times;
325
+ let s = str;
326
+ if (n < 1 || n > Number.MAX_VALUE)
327
+ return out;
328
+ // https://en.wikipedia.org/wiki/Exponentiation_by_squaring
329
+ do {
330
+ if (n % 2)
331
+ out += s;
332
+ n = Math.floor(n / 2);
333
+ if (n)
334
+ s += s;
335
+ } while (n);
336
+ return out;
337
+ }
338
+ exports.repeat = repeat;
339
+ const hex = (v) => parseInt(String(v)).toString(16);
340
+ // Set up custom debug formatters.
341
+ /* istanbul ignore next */
342
+ debug_1.default.formatters["h"] = hex;
343
+ /* istanbul ignore next */
344
+ debug_1.default.formatters["x"] = (v) => `0x${hex(v)}`;
345
+ /* istanbul ignore next */
346
+ debug_1.default.formatters["a"] = (v) => `0x${pad(hex(v), 8)}`;
347
+ /* istanbul ignore next */
348
+ debug_1.default.formatters["X"] = (v) => `0x${hex(v).toUpperCase()}`;
349
+ //# sourceMappingURL=util.js.map
workers1/auto3d/node_modules/capnp-ts/src/util.js.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"util.js","sourceRoot":"","sources":["util.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;AAEH,uDAAuD;AACvD,yCAAyC;AACzC,0DAA8B;AAE9B,2CAA2E;AAC3E,qCAA2F;AAE3F,MAAM,KAAK,GAAG,eAAS,CAAC,YAAY,CAAC,CAAC;AACtC,KAAK,CAAC,MAAM,CAAC,CAAC;AAEd;;;;;;GAMG;AAEH,SAAgB,WAAW,CAAC,MAAmB;IAC7C,MAAM,CAAC,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;IACjC,MAAM,CAAC,GAAG,EAAE,CAAC;IAEb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,CAAC,EAAE;QAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAEzE,OAAO,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;AAC5B,CAAC;AAPD,kCAOC;AAED;;;;;;GAMG;AAEH,SAAgB,UAAU,CAAC,KAAa;IACtC,IAAI,KAAK,GAAG,qBAAS,IAAI,KAAK,GAAG,CAAC,qBAAS,EAAE;QAC3C,MAAM,IAAI,UAAU,CAAC,6BAAoB,CAAC,CAAC;KAC5C;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAND,gCAMC;AAED,SAAgB,WAAW,CAAC,KAAa;IACvC,IAAI,KAAK,GAAG,CAAC,IAAI,KAAK,GAAG,sBAAU,EAAE;QACnC,MAAM,IAAI,UAAU,CAAC,8BAAqB,CAAC,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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @author jdiaz5513
3
+ */
4
+
5
+ // LINT: a lot of the util functions need the any type.
6
+ /* tslint:disable:no-any no-unsafe-any */
7
+ import initTrace from "debug";
8
+
9
+ import { MAX_BUFFER_DUMP_BYTES, MAX_INT32, MAX_UINT32 } from "./constants";
10
+ import { RANGE_INT32_OVERFLOW, RANGE_INVALID_UTF8, RANGE_UINT32_OVERFLOW } from "./errors";
11
+
12
+ const trace = initTrace("capnp:util");
13
+ trace("load");
14
+
15
+ /**
16
+ * Dump a hex string from the given buffer.
17
+ *
18
+ * @export
19
+ * @param {ArrayBuffer} buffer The buffer to convert.
20
+ * @returns {string} A hexadecimal string representing the buffer.
21
+ */
22
+
23
+ export function bufferToHex(buffer: ArrayBuffer): string {
24
+ const a = new Uint8Array(buffer);
25
+ const h = [];
26
+
27
+ for (let i = 0; i < a.byteLength; i++) h.push(pad(a[i].toString(16), 2));
28
+
29
+ return `[${h.join(" ")}]`;
30
+ }
31
+
32
+ /**
33
+ * Throw an error if the provided value cannot be represented as a 32-bit integer.
34
+ *
35
+ * @export
36
+ * @param {number} value The number to check.
37
+ * @returns {number} The same number if it is valid.
38
+ */
39
+
40
+ export function checkInt32(value: number): number {
41
+ if (value > MAX_INT32 || value < -MAX_INT32) {
42
+ throw new RangeError(RANGE_INT32_OVERFLOW);
43
+ }
44
+
45
+ return value;
46
+ }
47
+
48
+ export function checkUint32(value: number): number {
49
+ if (value < 0 || value > MAX_UINT32) {
50
+ throw new RangeError(RANGE_UINT32_OVERFLOW);
51
+ }
52
+
53
+ return value;
54
+ }
55
+
56
+ /**
57
+ * Decode a UTF-8 encoded byte array into a JavaScript string (UCS-2).
58
+ *
59
+ * @export
60
+ * @param {Uint8Array} src A utf-8 encoded byte array.
61
+ * @returns {string} A string representation of the byte array.
62
+ */
63
+
64
+ export function decodeUtf8(src: Uint8Array): string {
65
+ // This ain't for the faint of heart, kids. If you suffer from seizures, heart palpitations, or have had a history of
66
+ // stroke you may want to look away now.
67
+
68
+ const l = src.byteLength;
69
+ let dst = "";
70
+ let i = 0;
71
+ let cp = 0;
72
+ let a = 0;
73
+ let b = 0;
74
+ let c = 0;
75
+ let d = 0;
76
+
77
+ while (i < l) {
78
+ a = src[i++];
79
+
80
+ if ((a & 0b10000000) === 0) {
81
+ cp = a;
82
+ } else if ((a & 0b11100000) === 0b11000000) {
83
+ if (i >= l) throw new RangeError(RANGE_INVALID_UTF8);
84
+
85
+ b = src[i++];
86
+
87
+ cp = ((a & 0b00011111) << 6) | (b & 0b00111111);
88
+ } else if ((a & 0b11110000) === 0b11100000) {
89
+ if (i + 1 >= l) throw new RangeError(RANGE_INVALID_UTF8);
90
+
91
+ b = src[i++];
92
+ c = src[i++];
93
+
94
+ cp = ((a & 0b00001111) << 12) | ((b & 0b00111111) << 6) | (c & 0b00111111);
95
+ } else if ((a & 0b11111000) === 0b11110000) {
96
+ if (i + 2 >= l) throw new RangeError(RANGE_INVALID_UTF8);
97
+
98
+ b = src[i++];
99
+ c = src[i++];
100
+ d = src[i++];
101
+
102
+ cp = ((a & 0b00000111) << 18) | ((b & 0b00111111) << 12) | ((c & 0b00111111) << 6) | (d & 0b00111111);
103
+ } else {
104
+ throw new RangeError(RANGE_INVALID_UTF8);
105
+ }
106
+
107
+ if (cp <= 0xd7ff || (cp >= 0xe000 && cp <= 0xffff)) {
108
+ dst += String.fromCharCode(cp);
109
+ } else {
110
+ // We must reach into the astral plane and construct the surrogate pair!
111
+
112
+ cp -= 0x00010000;
113
+
114
+ const hi = (cp >>> 10) + 0xd800;
115
+ const lo = (cp & 0x03ff) + 0xdc00;
116
+
117
+ if (hi < 0xd800 || hi > 0xdbff) throw new RangeError(RANGE_INVALID_UTF8);
118
+
119
+ dst += String.fromCharCode(hi, lo);
120
+ }
121
+ }
122
+
123
+ return dst;
124
+ }
125
+
126
+ export function dumpBuffer(buffer: ArrayBuffer | ArrayBufferView): string {
127
+ const b =
128
+ buffer instanceof ArrayBuffer
129
+ ? new Uint8Array(buffer)
130
+ : new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
131
+
132
+ const byteLength = Math.min(b.byteLength, MAX_BUFFER_DUMP_BYTES);
133
+
134
+ let r = format("\n=== buffer[%d] ===", byteLength);
135
+
136
+ for (let j = 0; j < byteLength; j += 16) {
137
+ r += `\n${pad(j.toString(16), 8)}: `;
138
+ let s = "";
139
+ let k;
140
+
141
+ for (k = 0; k < 16 && j + k < b.byteLength; k++) {
142
+ const v = b[j + k];
143
+
144
+ r += `${pad(v.toString(16), 2)} `;
145
+
146
+ // Printable ASCII range.
147
+
148
+ s += v > 31 && v < 255 ? String.fromCharCode(v) : "·";
149
+
150
+ if (k === 7) r += " ";
151
+ }
152
+
153
+ r += `${repeat((17 - k) * 3, " ")}${s}`;
154
+ }
155
+
156
+ r += "\n";
157
+
158
+ if (byteLength !== b.byteLength) {
159
+ r += format("=== (truncated %d bytes) ===\n", b.byteLength - byteLength);
160
+ }
161
+
162
+ return r;
163
+ }
164
+
165
+ /**
166
+ * Encode a JavaScript string (UCS-2) to a UTF-8 encoded string inside a Uint8Array.
167
+ *
168
+ * Note that the underlying buffer for the array will likely be larger than the actual contents; ignore the extra bytes.
169
+ *
170
+ * @export
171
+ * @param {string} src The input string.
172
+ * @returns {Uint8Array} A UTF-8 encoded buffer with the string's contents.
173
+ */
174
+
175
+ export function encodeUtf8(src: string): Uint8Array {
176
+ const l = src.length;
177
+ const dst = new Uint8Array(new ArrayBuffer(l * 4));
178
+ let j = 0;
179
+
180
+ for (let i = 0; i < l; i++) {
181
+ const c = src.charCodeAt(i);
182
+
183
+ if (c <= 0x7f) {
184
+ dst[j++] = c;
185
+ } else if (c <= 0x07ff) {
186
+ dst[j++] = 0b11000000 | (c >>> 6);
187
+ dst[j++] = 0b10000000 | ((c >>> 0) & 0b00111111);
188
+ } else if (c <= 0xd7ff || c >= 0xe000) {
189
+ dst[j++] = 0b11100000 | (c >>> 12);
190
+ dst[j++] = 0b10000000 | ((c >>> 6) & 0b00111111);
191
+ dst[j++] = 0b10000000 | ((c >>> 0) & 0b00111111);
192
+ } else {
193
+ // Make sure the surrogate pair is complete.
194
+ /* istanbul ignore next */
195
+ if (i + 1 >= l) throw new RangeError(RANGE_INVALID_UTF8);
196
+
197
+ // I cast thee back into the astral plane.
198
+
199
+ const hi = c - 0xd800;
200
+ const lo = src.charCodeAt(++i) - 0xdc00;
201
+ const cp = ((hi << 10) | lo) + 0x00010000;
202
+
203
+ dst[j++] = 0b11110000 | (cp >>> 18);
204
+ dst[j++] = 0b10000000 | ((cp >>> 12) & 0b00111111);
205
+ dst[j++] = 0b10000000 | ((cp >>> 6) & 0b00111111);
206
+ dst[j++] = 0b10000000 | ((cp >>> 0) & 0b00111111);
207
+ }
208
+ }
209
+
210
+ return dst.subarray(0, j);
211
+ }
212
+
213
+ /**
214
+ * Produce a `printf`-style string. Nice for providing arguments to `assert` without paying the cost for string
215
+ * concatenation up front. Precision is supported for floating point numbers.
216
+ *
217
+ * @param {string} s The format string. Supported format specifiers: b, c, d, f, j, o, s, x, and X.
218
+ * @param {...any} args Values to be formatted in the string. Arguments beyond what are consumed by the format string
219
+ * are ignored.
220
+ * @returns {string} The formatted string.
221
+ */
222
+
223
+ export function format(s: string, ...args: unknown[]): string {
224
+ const n = s.length;
225
+ let arg: unknown;
226
+ let argIndex = 0;
227
+ let c: string;
228
+ let escaped = false;
229
+ let i = 0;
230
+ let leadingZero = false;
231
+ let precision: number | null;
232
+ let result = "";
233
+
234
+ function nextArg() {
235
+ return args[argIndex++];
236
+ }
237
+
238
+ function slurpNumber() {
239
+ let digits = "";
240
+
241
+ while (/\d/.test(s[i])) {
242
+ digits += s[i++];
243
+ c = s[i];
244
+ }
245
+
246
+ return digits.length > 0 ? parseInt(digits, 10) : null;
247
+ }
248
+
249
+ for (; i < n; ++i) {
250
+ c = s[i];
251
+
252
+ if (escaped) {
253
+ escaped = false;
254
+
255
+ if (c === ".") {
256
+ leadingZero = false;
257
+
258
+ c = s[++i];
259
+ } else if (c === "0" && s[i + 1] === ".") {
260
+ leadingZero = true;
261
+
262
+ i += 2;
263
+ c = s[i];
264
+ } else {
265
+ leadingZero = true;
266
+ }
267
+
268
+ precision = slurpNumber();
269
+
270
+ switch (c) {
271
+ case "a": // number in hex with padding
272
+ result += "0x" + pad(parseInt(String(nextArg()), 10).toString(16), 8);
273
+
274
+ break;
275
+
276
+ case "b": // number in binary
277
+ result += parseInt(String(nextArg()), 10).toString(2);
278
+
279
+ break;
280
+
281
+ case "c": // character
282
+ arg = nextArg();
283
+
284
+ if (typeof arg === "string" || arg instanceof String) {
285
+ result += arg;
286
+ } else {
287
+ result += String.fromCharCode(parseInt(String(arg), 10));
288
+ }
289
+
290
+ break;
291
+
292
+ case "d": // number in decimal
293
+ result += parseInt(String(nextArg()), 10);
294
+
295
+ break;
296
+
297
+ case "f": {
298
+ // floating point number
299
+ const tmp = parseFloat(String(nextArg())).toFixed(precision || 6);
300
+
301
+ result += leadingZero ? tmp : tmp.replace(/^0/, "");
302
+
303
+ break;
304
+ }
305
+ case "j": // JSON
306
+ result += JSON.stringify(nextArg());
307
+
308
+ break;
309
+
310
+ case "o": // number in octal
311
+ result += "0" + parseInt(String(nextArg()), 10).toString(8);
312
+
313
+ break;
314
+
315
+ case "s": // string
316
+ result += nextArg();
317
+
318
+ break;
319
+
320
+ case "x": // lowercase hexadecimal
321
+ result += "0x" + parseInt(String(nextArg()), 10).toString(16);
322
+
323
+ break;
324
+
325
+ case "X": // uppercase hexadecimal
326
+ result += "0x" + parseInt(String(nextArg()), 10).toString(16).toUpperCase();
327
+
328
+ break;
329
+
330
+ default:
331
+ result += c;
332
+
333
+ break;
334
+ }
335
+ } else if (c === "%") {
336
+ escaped = true;
337
+ } else {
338
+ result += c;
339
+ }
340
+ }
341
+
342
+ return result;
343
+ }
344
+
345
+ /**
346
+ * Return the thing that was passed in. Yaaaaawn.
347
+ *
348
+ * @export
349
+ * @template T
350
+ * @param {T} x A thing.
351
+ * @returns {T} The same thing.
352
+ */
353
+
354
+ export function identity<T>(x: T): T {
355
+ return x;
356
+ }
357
+
358
+ export function pad(v: string, width: number, pad = "0"): string {
359
+ return v.length >= width ? v : new Array(width - v.length + 1).join(pad) + v;
360
+ }
361
+
362
+ /**
363
+ * Add padding to a number to make it divisible by 8. Typically used to pad byte sizes so they align to a word boundary.
364
+ *
365
+ * @export
366
+ * @param {number} size The number to pad.
367
+ * @returns {number} The padded number.
368
+ */
369
+
370
+ export function padToWord(size: number): number {
371
+ return (size + 7) & ~7;
372
+ }
373
+
374
+ /**
375
+ * Repeat a string n times. Shamelessly copied from lodash.repeat.
376
+ *
377
+ * @param {number} times Number of times to repeat.
378
+ * @param {string} str The string to repeat.
379
+ * @returns {string} The repeated string.
380
+ */
381
+
382
+ export function repeat(times: number, str: string): string {
383
+ let out = "";
384
+ let n = times;
385
+ let s = str;
386
+
387
+ if (n < 1 || n > Number.MAX_VALUE) return out;
388
+
389
+ // https://en.wikipedia.org/wiki/Exponentiation_by_squaring
390
+
391
+ do {
392
+ if (n % 2) out += s;
393
+
394
+ n = Math.floor(n / 2);
395
+
396
+ if (n) s += s;
397
+ } while (n);
398
+
399
+ return out;
400
+ }
401
+
402
+ const hex = (v: unknown) => parseInt(String(v)).toString(16);
403
+
404
+ // Set up custom debug formatters.
405
+
406
+ /* istanbul ignore next */
407
+ initTrace.formatters["h"] = hex;
408
+ /* istanbul ignore next */
409
+ initTrace.formatters["x"] = (v: unknown) => `0x${hex(v)}`;
410
+ /* istanbul ignore next */
411
+ initTrace.formatters["a"] = (v: unknown) => `0x${pad(hex(v), 8)}`;
412
+ /* istanbul ignore next */
413
+ initTrace.formatters["X"] = (v: unknown) => `0x${hex(v).toUpperCase()}`;
workers1/auto3d/node_modules/capnp-ts/tsconfig.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "compilerOptions": {
3
+ "noEmit": false
4
+ },
5
+ "extends": "../../tsconfig.json",
6
+ "include": ["src/**/*", "test/**/*"]
7
+ }
workers1/auto3d/node_modules/chokidar/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2012-2019 Paul Miller (https://paulmillr.com), Elan Shanker
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the “Software”), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
workers1/auto3d/node_modules/chokidar/README.md ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Chokidar [![Weekly downloads](https://img.shields.io/npm/dw/chokidar.svg)](https://github.com/paulmillr/chokidar) [![Yearly downloads](https://img.shields.io/npm/dy/chokidar.svg)](https://github.com/paulmillr/chokidar)
2
+
3
+ > Minimal and efficient cross-platform file watching library
4
+
5
+ [![NPM](https://nodei.co/npm/chokidar.png)](https://www.npmjs.com/package/chokidar)
6
+
7
+ ## Why?
8
+
9
+ Node.js `fs.watch`:
10
+
11
+ * Doesn't report filenames on MacOS.
12
+ * Doesn't report events at all when using editors like Sublime on MacOS.
13
+ * Often reports events twice.
14
+ * Emits most changes as `rename`.
15
+ * Does not provide an easy way to recursively watch file trees.
16
+ * Does not support recursive watching on Linux.
17
+
18
+ Node.js `fs.watchFile`:
19
+
20
+ * Almost as bad at event handling.
21
+ * Also does not provide any recursive watching.
22
+ * Results in high CPU utilization.
23
+
24
+ Chokidar resolves these problems.
25
+
26
+ Initially made for **[Brunch](https://brunch.io/)** (an ultra-swift web app build tool), it is now used in
27
+ [Microsoft's Visual Studio Code](https://github.com/microsoft/vscode),
28
+ [gulp](https://github.com/gulpjs/gulp/),
29
+ [karma](https://karma-runner.github.io/),
30
+ [PM2](https://github.com/Unitech/PM2),
31
+ [browserify](http://browserify.org/),
32
+ [webpack](https://webpack.github.io/),
33
+ [BrowserSync](https://www.browsersync.io/),
34
+ and [many others](https://www.npmjs.com/browse/depended/chokidar).
35
+ It has proven itself in production environments.
36
+
37
+ Version 3 is out! Check out our blog post about it: [Chokidar 3: How to save 32TB of traffic every week](https://paulmillr.com/posts/chokidar-3-save-32tb-of-traffic/)
38
+
39
+ ## How?
40
+
41
+ Chokidar does still rely on the Node.js core `fs` module, but when using
42
+ `fs.watch` and `fs.watchFile` for watching, it normalizes the events it
43
+ receives, often checking for truth by getting file stats and/or dir contents.
44
+
45
+ On MacOS, chokidar by default uses a native extension exposing the Darwin
46
+ `FSEvents` API. This provides very efficient recursive watching compared with
47
+ implementations like `kqueue` available on most \*nix platforms. Chokidar still
48
+ does have to do some work to normalize the events received that way as well.
49
+
50
+ On most other platforms, the `fs.watch`-based implementation is the default, which
51
+ avoids polling and keeps CPU usage down. Be advised that chokidar will initiate
52
+ watchers recursively for everything within scope of the paths that have been
53
+ specified, so be judicious about not wasting system resources by watching much
54
+ more than needed.
55
+
56
+ ## Getting started
57
+
58
+ Install with npm:
59
+
60
+ ```sh
61
+ npm install chokidar
62
+ ```
63
+
64
+ Then `require` and use it in your code:
65
+
66
+ ```javascript
67
+ const chokidar = require('chokidar');
68
+
69
+ // One-liner for current directory
70
+ chokidar.watch('.').on('all', (event, path) => {
71
+ console.log(event, path);
72
+ });
73
+ ```
74
+
75
+ ## API
76
+
77
+ ```javascript
78
+ // Example of a more typical implementation structure
79
+
80
+ // Initialize watcher.
81
+ const watcher = chokidar.watch('file, dir, glob, or array', {
82
+ ignored: /(^|[\/\\])\../, // ignore dotfiles
83
+ persistent: true
84
+ });
85
+
86
+ // Something to use when events are received.
87
+ const log = console.log.bind(console);
88
+ // Add event listeners.
89
+ watcher
90
+ .on('add', path => log(`File ${path} has been added`))
91
+ .on('change', path => log(`File ${path} has been changed`))
92
+ .on('unlink', path => log(`File ${path} has been removed`));
93
+
94
+ // More possible events.
95
+ watcher
96
+ .on('addDir', path => log(`Directory ${path} has been added`))
97
+ .on('unlinkDir', path => log(`Directory ${path} has been removed`))
98
+ .on('error', error => log(`Watcher error: ${error}`))
99
+ .on('ready', () => log('Initial scan complete. Ready for changes'))
100
+ .on('raw', (event, path, details) => { // internal
101
+ log('Raw event info:', event, path, details);
102
+ });
103
+
104
+ // 'add', 'addDir' and 'change' events also receive stat() results as second
105
+ // argument when available: https://nodejs.org/api/fs.html#fs_class_fs_stats
106
+ watcher.on('change', (path, stats) => {
107
+ if (stats) console.log(`File ${path} changed size to ${stats.size}`);
108
+ });
109
+
110
+ // Watch new files.
111
+ watcher.add('new-file');
112
+ watcher.add(['new-file-2', 'new-file-3', '**/other-file*']);
113
+
114
+ // Get list of actual paths being watched on the filesystem
115
+ var watchedPaths = watcher.getWatched();
116
+
117
+ // Un-watch some files.
118
+ await watcher.unwatch('new-file*');
119
+
120
+ // Stop watching.
121
+ // The method is async!
122
+ watcher.close().then(() => console.log('closed'));
123
+
124
+ // Full list of options. See below for descriptions.
125
+ // Do not use this example!
126
+ chokidar.watch('file', {
127
+ persistent: true,
128
+
129
+ ignored: '*.txt',
130
+ ignoreInitial: false,
131
+ followSymlinks: true,
132
+ cwd: '.',
133
+ disableGlobbing: false,
134
+
135
+ usePolling: false,
136
+ interval: 100,
137
+ binaryInterval: 300,
138
+ alwaysStat: false,
139
+ depth: 99,
140
+ awaitWriteFinish: {
141
+ stabilityThreshold: 2000,
142
+ pollInterval: 100
143
+ },
144
+
145
+ ignorePermissionErrors: false,
146
+ atomic: true // or a custom 'atomicity delay', in milliseconds (default 100)
147
+ });
148
+
149
+ ```
150
+
151
+ `chokidar.watch(paths, [options])`
152
+
153
+ * `paths` (string or array of strings). Paths to files, dirs to be watched
154
+ recursively, or glob patterns.
155
+ - Note: globs must not contain windows separators (`\`),
156
+ because that's how they work by the standard —
157
+ you'll need to replace them with forward slashes (`/`).
158
+ - Note 2: for additional glob documentation, check out low-level
159
+ library: [picomatch](https://github.com/micromatch/picomatch).
160
+ * `options` (object) Options object as defined below:
161
+
162
+ #### Persistence
163
+
164
+ * `persistent` (default: `true`). Indicates whether the process
165
+ should continue to run as long as files are being watched. If set to
166
+ `false` when using `fsevents` to watch, no more events will be emitted
167
+ after `ready`, even if the process continues to run.
168
+
169
+ #### Path filtering
170
+
171
+ * `ignored` ([anymatch](https://github.com/es128/anymatch)-compatible definition)
172
+ Defines files/paths to be ignored. The whole relative or absolute path is
173
+ tested, not just filename. If a function with two arguments is provided, it
174
+ gets called twice per path - once with a single argument (the path), second
175
+ time with two arguments (the path and the
176
+ [`fs.Stats`](https://nodejs.org/api/fs.html#fs_class_fs_stats)
177
+ object of that path).
178
+ * `ignoreInitial` (default: `false`). If set to `false` then `add`/`addDir` events are also emitted for matching paths while
179
+ instantiating the watching as chokidar discovers these file paths (before the `ready` event).
180
+ * `followSymlinks` (default: `true`). When `false`, only the
181
+ symlinks themselves will be watched for changes instead of following
182
+ the link references and bubbling events through the link's path.
183
+ * `cwd` (no default). The base directory from which watch `paths` are to be
184
+ derived. Paths emitted with events will be relative to this.
185
+ * `disableGlobbing` (default: `false`). If set to `true` then the strings passed to `.watch()` and `.add()` are treated as
186
+ literal path names, even if they look like globs.
187
+
188
+ #### Performance
189
+
190
+ * `usePolling` (default: `false`).
191
+ Whether to use fs.watchFile (backed by polling), or fs.watch. If polling
192
+ leads to high CPU utilization, consider setting this to `false`. It is
193
+ typically necessary to **set this to `true` to successfully watch files over
194
+ a network**, and it may be necessary to successfully watch files in other
195
+ non-standard situations. Setting to `true` explicitly on MacOS overrides the
196
+ `useFsEvents` default. You may also set the CHOKIDAR_USEPOLLING env variable
197
+ to true (1) or false (0) in order to override this option.
198
+ * _Polling-specific settings_ (effective when `usePolling: true`)
199
+ * `interval` (default: `100`). Interval of file system polling, in milliseconds. You may also
200
+ set the CHOKIDAR_INTERVAL env variable to override this option.
201
+ * `binaryInterval` (default: `300`). Interval of file system
202
+ polling for binary files.
203
+ ([see list of binary extensions](https://github.com/sindresorhus/binary-extensions/blob/master/binary-extensions.json))
204
+ * `useFsEvents` (default: `true` on MacOS). Whether to use the
205
+ `fsevents` watching interface if available. When set to `true` explicitly
206
+ and `fsevents` is available this supercedes the `usePolling` setting. When
207
+ set to `false` on MacOS, `usePolling: true` becomes the default.
208
+ * `alwaysStat` (default: `false`). If relying upon the
209
+ [`fs.Stats`](https://nodejs.org/api/fs.html#fs_class_fs_stats)
210
+ object that may get passed with `add`, `addDir`, and `change` events, set
211
+ this to `true` to ensure it is provided even in cases where it wasn't
212
+ already available from the underlying watch events.
213
+ * `depth` (default: `undefined`). If set, limits how many levels of
214
+ subdirectories will be traversed.
215
+ * `awaitWriteFinish` (default: `false`).
216
+ By default, the `add` event will fire when a file first appears on disk, before
217
+ the entire file has been written. Furthermore, in some cases some `change`
218
+ events will be emitted while the file is being written. In some cases,
219
+ especially when watching for large files there will be a need to wait for the
220
+ write operation to finish before responding to a file creation or modification.
221
+ Setting `awaitWriteFinish` to `true` (or a truthy value) will poll file size,
222
+ holding its `add` and `change` events until the size does not change for a
223
+ configurable amount of time. The appropriate duration setting is heavily
224
+ dependent on the OS and hardware. For accurate detection this parameter should
225
+ be relatively high, making file watching much less responsive.
226
+ Use with caution.
227
+ * *`options.awaitWriteFinish` can be set to an object in order to adjust
228
+ timing params:*
229
+ * `awaitWriteFinish.stabilityThreshold` (default: 2000). Amount of time in
230
+ milliseconds for a file size to remain constant before emitting its event.
231
+ * `awaitWriteFinish.pollInterval` (default: 100). File size polling interval, in milliseconds.
232
+
233
+ #### Errors
234
+
235
+ * `ignorePermissionErrors` (default: `false`). Indicates whether to watch files
236
+ that don't have read permissions if possible. If watching fails due to `EPERM`
237
+ or `EACCES` with this set to `true`, the errors will be suppressed silently.
238
+ * `atomic` (default: `true` if `useFsEvents` and `usePolling` are `false`).
239
+ Automatically filters out artifacts that occur when using editors that use
240
+ "atomic writes" instead of writing directly to the source file. If a file is
241
+ re-added within 100 ms of being deleted, Chokidar emits a `change` event
242
+ rather than `unlink` then `add`. If the default of 100 ms does not work well
243
+ for you, you can override it by setting `atomic` to a custom value, in
244
+ milliseconds.
245
+
246
+ ### Methods & Events
247
+
248
+ `chokidar.watch()` produces an instance of `FSWatcher`. Methods of `FSWatcher`:
249
+
250
+ * `.add(path / paths)`: Add files, directories, or glob patterns for tracking.
251
+ Takes an array of strings or just one string.
252
+ * `.on(event, callback)`: Listen for an FS event.
253
+ Available events: `add`, `addDir`, `change`, `unlink`, `unlinkDir`, `ready`,
254
+ `raw`, `error`.
255
+ Additionally `all` is available which gets emitted with the underlying event
256
+ name and path for every event other than `ready`, `raw`, and `error`. `raw` is internal, use it carefully.
257
+ * `.unwatch(path / paths)`: Stop watching files, directories, or glob patterns.
258
+ Takes an array of strings or just one string.
259
+ * `.close()`: **async** Removes all listeners from watched files. Asynchronous, returns Promise. Use with `await` to ensure bugs don't happen.
260
+ * `.getWatched()`: Returns an object representing all the paths on the file
261
+ system being watched by this `FSWatcher` instance. The object's keys are all the
262
+ directories (using absolute paths unless the `cwd` option was used), and the
263
+ values are arrays of the names of the items contained in each directory.
264
+
265
+ ## CLI
266
+
267
+ If you need a CLI interface for your file watching, check out
268
+ [chokidar-cli](https://github.com/open-cli-tools/chokidar-cli), allowing you to
269
+ execute a command on each change, or get a stdio stream of change events.
270
+
271
+ ## Install Troubleshooting
272
+
273
+ * `npm WARN optional dep failed, continuing [email protected]`
274
+ * This message is normal part of how `npm` handles optional dependencies and is
275
+ not indicative of a problem. Even if accompanied by other related error messages,
276
+ Chokidar should function properly.
277
+
278
+ * `TypeError: fsevents is not a constructor`
279
+ * Update chokidar by doing `rm -rf node_modules package-lock.json yarn.lock && npm install`, or update your dependency that uses chokidar.
280
+
281
+ * Chokidar is producing `ENOSP` error on Linux, like this:
282
+ * `bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell`
283
+ `Error: watch /home/ ENOSPC`
284
+ * This means Chokidar ran out of file handles and you'll need to increase their count by executing the following command in Terminal:
285
+ `echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p`
286
+
287
+ ## Changelog
288
+
289
+ For more detailed changelog, see [`full_changelog.md`](.github/full_changelog.md).
290
+ - **v3.5 (Jan 6, 2021):** Support for ARM Macs with Apple Silicon. Fixes for deleted symlinks.
291
+ - **v3.4 (Apr 26, 2020):** Support for directory-based symlinks. Fixes for macos file replacement.
292
+ - **v3.3 (Nov 2, 2019):** `FSWatcher#close()` method became async. That fixes IO race conditions related to close method.
293
+ - **v3.2 (Oct 1, 2019):** Improve Linux RAM usage by 50%. Race condition fixes. Windows glob fixes. Improve stability by using tight range of dependency versions.
294
+ - **v3.1 (Sep 16, 2019):** dotfiles are no longer filtered out by default. Use `ignored` option if needed. Improve initial Linux scan time by 50%.
295
+ - **v3 (Apr 30, 2019):** massive CPU & RAM consumption improvements; reduces deps / package size by a factor of 17x and bumps Node.js requirement to v8.16 and higher.
296
+ - **v2 (Dec 29, 2017):** Globs are now posix-style-only; without windows support. Tons of bugfixes.
297
+ - **v1 (Apr 7, 2015):** Glob support, symlink support, tons of bugfixes. Node 0.8+ is supported
298
+ - **v0.1 (Apr 20, 2012):** Initial release, extracted from [Brunch](https://github.com/brunch/brunch/blob/9847a065aea300da99bd0753f90354cde9de1261/src/helpers.coffee#L66)
299
+
300
+ ## Also
301
+
302
+ Why was chokidar named this way? What's the meaning behind it?
303
+
304
+ >Chowkidar is a transliteration of a Hindi word meaning 'watchman, gatekeeper', चौकीदार. This ultimately comes from Sanskrit _ चतुष्क_ (crossway, quadrangle, consisting-of-four). This word is also used in other languages like Urdu as (چوکیدار) which is widely used in Pakistan and India.
305
+
306
+ ## License
307
+
308
+ MIT (c) Paul Miller (<https://paulmillr.com>), see [LICENSE](LICENSE) file.
workers1/auto3d/node_modules/chokidar/index.js ADDED
@@ -0,0 +1,973 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ const { EventEmitter } = require('events');
4
+ const fs = require('fs');
5
+ const sysPath = require('path');
6
+ const { promisify } = require('util');
7
+ const readdirp = require('readdirp');
8
+ const anymatch = require('anymatch').default;
9
+ const globParent = require('glob-parent');
10
+ const isGlob = require('is-glob');
11
+ const braces = require('braces');
12
+ const normalizePath = require('normalize-path');
13
+
14
+ const NodeFsHandler = require('./lib/nodefs-handler');
15
+ const FsEventsHandler = require('./lib/fsevents-handler');
16
+ const {
17
+ EV_ALL,
18
+ EV_READY,
19
+ EV_ADD,
20
+ EV_CHANGE,
21
+ EV_UNLINK,
22
+ EV_ADD_DIR,
23
+ EV_UNLINK_DIR,
24
+ EV_RAW,
25
+ EV_ERROR,
26
+
27
+ STR_CLOSE,
28
+ STR_END,
29
+
30
+ BACK_SLASH_RE,
31
+ DOUBLE_SLASH_RE,
32
+ SLASH_OR_BACK_SLASH_RE,
33
+ DOT_RE,
34
+ REPLACER_RE,
35
+
36
+ SLASH,
37
+ SLASH_SLASH,
38
+ BRACE_START,
39
+ BANG,
40
+ ONE_DOT,
41
+ TWO_DOTS,
42
+ GLOBSTAR,
43
+ SLASH_GLOBSTAR,
44
+ ANYMATCH_OPTS,
45
+ STRING_TYPE,
46
+ FUNCTION_TYPE,
47
+ EMPTY_STR,
48
+ EMPTY_FN,
49
+
50
+ isWindows,
51
+ isMacos,
52
+ isIBMi
53
+ } = require('./lib/constants');
54
+
55
+ const stat = promisify(fs.stat);
56
+ const readdir = promisify(fs.readdir);
57
+
58
+ /**
59
+ * @typedef {String} Path
60
+ * @typedef {'all'|'add'|'addDir'|'change'|'unlink'|'unlinkDir'|'raw'|'error'|'ready'} EventName
61
+ * @typedef {'readdir'|'watch'|'add'|'remove'|'change'} ThrottleType
62
+ */
63
+
64
+ /**
65
+ *
66
+ * @typedef {Object} WatchHelpers
67
+ * @property {Boolean} followSymlinks
68
+ * @property {'stat'|'lstat'} statMethod
69
+ * @property {Path} path
70
+ * @property {Path} watchPath
71
+ * @property {Function} entryPath
72
+ * @property {Boolean} hasGlob
73
+ * @property {Object} globFilter
74
+ * @property {Function} filterPath
75
+ * @property {Function} filterDir
76
+ */
77
+
78
+ const arrify = (value = []) => Array.isArray(value) ? value : [value];
79
+ const flatten = (list, result = []) => {
80
+ list.forEach(item => {
81
+ if (Array.isArray(item)) {
82
+ flatten(item, result);
83
+ } else {
84
+ result.push(item);
85
+ }
86
+ });
87
+ return result;
88
+ };
89
+
90
+ const unifyPaths = (paths_) => {
91
+ /**
92
+ * @type {Array<String>}
93
+ */
94
+ const paths = flatten(arrify(paths_));
95
+ if (!paths.every(p => typeof p === STRING_TYPE)) {
96
+ throw new TypeError(`Non-string provided as watch path: ${paths}`);
97
+ }
98
+ return paths.map(normalizePathToUnix);
99
+ };
100
+
101
+ // If SLASH_SLASH occurs at the beginning of path, it is not replaced
102
+ // because "//StoragePC/DrivePool/Movies" is a valid network path
103
+ const toUnix = (string) => {
104
+ let str = string.replace(BACK_SLASH_RE, SLASH);
105
+ let prepend = false;
106
+ if (str.startsWith(SLASH_SLASH)) {
107
+ prepend = true;
108
+ }
109
+ while (str.match(DOUBLE_SLASH_RE)) {
110
+ str = str.replace(DOUBLE_SLASH_RE, SLASH);
111
+ }
112
+ if (prepend) {
113
+ str = SLASH + str;
114
+ }
115
+ return str;
116
+ };
117
+
118
+ // Our version of upath.normalize
119
+ // TODO: this is not equal to path-normalize module - investigate why
120
+ const normalizePathToUnix = (path) => toUnix(sysPath.normalize(toUnix(path)));
121
+
122
+ const normalizeIgnored = (cwd = EMPTY_STR) => (path) => {
123
+ if (typeof path !== STRING_TYPE) return path;
124
+ return normalizePathToUnix(sysPath.isAbsolute(path) ? path : sysPath.join(cwd, path));
125
+ };
126
+
127
+ const getAbsolutePath = (path, cwd) => {
128
+ if (sysPath.isAbsolute(path)) {
129
+ return path;
130
+ }
131
+ if (path.startsWith(BANG)) {
132
+ return BANG + sysPath.join(cwd, path.slice(1));
133
+ }
134
+ return sysPath.join(cwd, path);
135
+ };
136
+
137
+ const undef = (opts, key) => opts[key] === undefined;
138
+
139
+ /**
140
+ * Directory entry.
141
+ * @property {Path} path
142
+ * @property {Set<Path>} items
143
+ */
144
+ class DirEntry {
145
+ /**
146
+ * @param {Path} dir
147
+ * @param {Function} removeWatcher
148
+ */
149
+ constructor(dir, removeWatcher) {
150
+ this.path = dir;
151
+ this._removeWatcher = removeWatcher;
152
+ /** @type {Set<Path>} */
153
+ this.items = new Set();
154
+ }
155
+
156
+ add(item) {
157
+ const {items} = this;
158
+ if (!items) return;
159
+ if (item !== ONE_DOT && item !== TWO_DOTS) items.add(item);
160
+ }
161
+
162
+ async remove(item) {
163
+ const {items} = this;
164
+ if (!items) return;
165
+ items.delete(item);
166
+ if (items.size > 0) return;
167
+
168
+ const dir = this.path;
169
+ try {
170
+ await readdir(dir);
171
+ } catch (err) {
172
+ if (this._removeWatcher) {
173
+ this._removeWatcher(sysPath.dirname(dir), sysPath.basename(dir));
174
+ }
175
+ }
176
+ }
177
+
178
+ has(item) {
179
+ const {items} = this;
180
+ if (!items) return;
181
+ return items.has(item);
182
+ }
183
+
184
+ /**
185
+ * @returns {Array<String>}
186
+ */
187
+ getChildren() {
188
+ const {items} = this;
189
+ if (!items) return;
190
+ return [...items.values()];
191
+ }
192
+
193
+ dispose() {
194
+ this.items.clear();
195
+ delete this.path;
196
+ delete this._removeWatcher;
197
+ delete this.items;
198
+ Object.freeze(this);
199
+ }
200
+ }
201
+
202
+ const STAT_METHOD_F = 'stat';
203
+ const STAT_METHOD_L = 'lstat';
204
+ class WatchHelper {
205
+ constructor(path, watchPath, follow, fsw) {
206
+ this.fsw = fsw;
207
+ this.path = path = path.replace(REPLACER_RE, EMPTY_STR);
208
+ this.watchPath = watchPath;
209
+ this.fullWatchPath = sysPath.resolve(watchPath);
210
+ this.hasGlob = watchPath !== path;
211
+ /** @type {object|boolean} */
212
+ if (path === EMPTY_STR) this.hasGlob = false;
213
+ this.globSymlink = this.hasGlob && follow ? undefined : false;
214
+ this.globFilter = this.hasGlob ? anymatch(path, undefined, ANYMATCH_OPTS) : false;
215
+ this.dirParts = this.getDirParts(path);
216
+ this.dirParts.forEach((parts) => {
217
+ if (parts.length > 1) parts.pop();
218
+ });
219
+ this.followSymlinks = follow;
220
+ this.statMethod = follow ? STAT_METHOD_F : STAT_METHOD_L;
221
+ }
222
+
223
+ checkGlobSymlink(entry) {
224
+ // only need to resolve once
225
+ // first entry should always have entry.parentDir === EMPTY_STR
226
+ if (this.globSymlink === undefined) {
227
+ this.globSymlink = entry.fullParentDir === this.fullWatchPath ?
228
+ false : {realPath: entry.fullParentDir, linkPath: this.fullWatchPath};
229
+ }
230
+
231
+ if (this.globSymlink) {
232
+ return entry.fullPath.replace(this.globSymlink.realPath, this.globSymlink.linkPath);
233
+ }
234
+
235
+ return entry.fullPath;
236
+ }
237
+
238
+ entryPath(entry) {
239
+ return sysPath.join(this.watchPath,
240
+ sysPath.relative(this.watchPath, this.checkGlobSymlink(entry))
241
+ );
242
+ }
243
+
244
+ filterPath(entry) {
245
+ const {stats} = entry;
246
+ if (stats && stats.isSymbolicLink()) return this.filterDir(entry);
247
+ const resolvedPath = this.entryPath(entry);
248
+ const matchesGlob = this.hasGlob && typeof this.globFilter === FUNCTION_TYPE ?
249
+ this.globFilter(resolvedPath) : true;
250
+ return matchesGlob &&
251
+ this.fsw._isntIgnored(resolvedPath, stats) &&
252
+ this.fsw._hasReadPermissions(stats);
253
+ }
254
+
255
+ getDirParts(path) {
256
+ if (!this.hasGlob) return [];
257
+ const parts = [];
258
+ const expandedPath = path.includes(BRACE_START) ? braces.expand(path) : [path];
259
+ expandedPath.forEach((path) => {
260
+ parts.push(sysPath.relative(this.watchPath, path).split(SLASH_OR_BACK_SLASH_RE));
261
+ });
262
+ return parts;
263
+ }
264
+
265
+ filterDir(entry) {
266
+ if (this.hasGlob) {
267
+ const entryParts = this.getDirParts(this.checkGlobSymlink(entry));
268
+ let globstar = false;
269
+ this.unmatchedGlob = !this.dirParts.some((parts) => {
270
+ return parts.every((part, i) => {
271
+ if (part === GLOBSTAR) globstar = true;
272
+ return globstar || !entryParts[0][i] || anymatch(part, entryParts[0][i], ANYMATCH_OPTS);
273
+ });
274
+ });
275
+ }
276
+ return !this.unmatchedGlob && this.fsw._isntIgnored(this.entryPath(entry), entry.stats);
277
+ }
278
+ }
279
+
280
+ /**
281
+ * Watches files & directories for changes. Emitted events:
282
+ * `add`, `addDir`, `change`, `unlink`, `unlinkDir`, `all`, `error`
283
+ *
284
+ * new FSWatcher()
285
+ * .add(directories)
286
+ * .on('add', path => log('File', path, 'was added'))
287
+ */
288
+ class FSWatcher extends EventEmitter {
289
+ // Not indenting methods for history sake; for now.
290
+ constructor(_opts) {
291
+ super();
292
+
293
+ const opts = {};
294
+ if (_opts) Object.assign(opts, _opts); // for frozen objects
295
+
296
+ /** @type {Map<String, DirEntry>} */
297
+ this._watched = new Map();
298
+ /** @type {Map<String, Array>} */
299
+ this._closers = new Map();
300
+ /** @type {Set<String>} */
301
+ this._ignoredPaths = new Set();
302
+
303
+ /** @type {Map<ThrottleType, Map>} */
304
+ this._throttled = new Map();
305
+
306
+ /** @type {Map<Path, String|Boolean>} */
307
+ this._symlinkPaths = new Map();
308
+
309
+ this._streams = new Set();
310
+ this.closed = false;
311
+
312
+ // Set up default options.
313
+ if (undef(opts, 'persistent')) opts.persistent = true;
314
+ if (undef(opts, 'ignoreInitial')) opts.ignoreInitial = false;
315
+ if (undef(opts, 'ignorePermissionErrors')) opts.ignorePermissionErrors = false;
316
+ if (undef(opts, 'interval')) opts.interval = 100;
317
+ if (undef(opts, 'binaryInterval')) opts.binaryInterval = 300;
318
+ if (undef(opts, 'disableGlobbing')) opts.disableGlobbing = false;
319
+ opts.enableBinaryInterval = opts.binaryInterval !== opts.interval;
320
+
321
+ // Enable fsevents on OS X when polling isn't explicitly enabled.
322
+ if (undef(opts, 'useFsEvents')) opts.useFsEvents = !opts.usePolling;
323
+
324
+ // If we can't use fsevents, ensure the options reflect it's disabled.
325
+ const canUseFsEvents = FsEventsHandler.canUse();
326
+ if (!canUseFsEvents) opts.useFsEvents = false;
327
+
328
+ // Use polling on Mac if not using fsevents.
329
+ // Other platforms use non-polling fs_watch.
330
+ if (undef(opts, 'usePolling') && !opts.useFsEvents) {
331
+ opts.usePolling = isMacos;
332
+ }
333
+
334
+ // Always default to polling on IBM i because fs.watch() is not available on IBM i.
335
+ if(isIBMi) {
336
+ opts.usePolling = true;
337
+ }
338
+
339
+ // Global override (useful for end-developers that need to force polling for all
340
+ // instances of chokidar, regardless of usage/dependency depth)
341
+ const envPoll = process.env.CHOKIDAR_USEPOLLING;
342
+ if (envPoll !== undefined) {
343
+ const envLower = envPoll.toLowerCase();
344
+
345
+ if (envLower === 'false' || envLower === '0') {
346
+ opts.usePolling = false;
347
+ } else if (envLower === 'true' || envLower === '1') {
348
+ opts.usePolling = true;
349
+ } else {
350
+ opts.usePolling = !!envLower;
351
+ }
352
+ }
353
+ const envInterval = process.env.CHOKIDAR_INTERVAL;
354
+ if (envInterval) {
355
+ opts.interval = Number.parseInt(envInterval, 10);
356
+ }
357
+
358
+ // Editor atomic write normalization enabled by default with fs.watch
359
+ if (undef(opts, 'atomic')) opts.atomic = !opts.usePolling && !opts.useFsEvents;
360
+ if (opts.atomic) this._pendingUnlinks = new Map();
361
+
362
+ if (undef(opts, 'followSymlinks')) opts.followSymlinks = true;
363
+
364
+ if (undef(opts, 'awaitWriteFinish')) opts.awaitWriteFinish = false;
365
+ if (opts.awaitWriteFinish === true) opts.awaitWriteFinish = {};
366
+ const awf = opts.awaitWriteFinish;
367
+ if (awf) {
368
+ if (!awf.stabilityThreshold) awf.stabilityThreshold = 2000;
369
+ if (!awf.pollInterval) awf.pollInterval = 100;
370
+ this._pendingWrites = new Map();
371
+ }
372
+ if (opts.ignored) opts.ignored = arrify(opts.ignored);
373
+
374
+ let readyCalls = 0;
375
+ this._emitReady = () => {
376
+ readyCalls++;
377
+ if (readyCalls >= this._readyCount) {
378
+ this._emitReady = EMPTY_FN;
379
+ this._readyEmitted = true;
380
+ // use process.nextTick to allow time for listener to be bound
381
+ process.nextTick(() => this.emit(EV_READY));
382
+ }
383
+ };
384
+ this._emitRaw = (...args) => this.emit(EV_RAW, ...args);
385
+ this._readyEmitted = false;
386
+ this.options = opts;
387
+
388
+ // Initialize with proper watcher.
389
+ if (opts.useFsEvents) {
390
+ this._fsEventsHandler = new FsEventsHandler(this);
391
+ } else {
392
+ this._nodeFsHandler = new NodeFsHandler(this);
393
+ }
394
+
395
+ // You’re frozen when your heart’s not open.
396
+ Object.freeze(opts);
397
+ }
398
+
399
+ // Public methods
400
+
401
+ /**
402
+ * Adds paths to be watched on an existing FSWatcher instance
403
+ * @param {Path|Array<Path>} paths_
404
+ * @param {String=} _origAdd private; for handling non-existent paths to be watched
405
+ * @param {Boolean=} _internal private; indicates a non-user add
406
+ * @returns {FSWatcher} for chaining
407
+ */
408
+ add(paths_, _origAdd, _internal) {
409
+ const {cwd, disableGlobbing} = this.options;
410
+ this.closed = false;
411
+ let paths = unifyPaths(paths_);
412
+ if (cwd) {
413
+ paths = paths.map((path) => {
414
+ const absPath = getAbsolutePath(path, cwd);
415
+
416
+ // Check `path` instead of `absPath` because the cwd portion can't be a glob
417
+ if (disableGlobbing || !isGlob(path)) {
418
+ return absPath;
419
+ }
420
+ return normalizePath(absPath);
421
+ });
422
+ }
423
+
424
+ // set aside negated glob strings
425
+ paths = paths.filter((path) => {
426
+ if (path.startsWith(BANG)) {
427
+ this._ignoredPaths.add(path.slice(1));
428
+ return false;
429
+ }
430
+
431
+ // if a path is being added that was previously ignored, stop ignoring it
432
+ this._ignoredPaths.delete(path);
433
+ this._ignoredPaths.delete(path + SLASH_GLOBSTAR);
434
+
435
+ // reset the cached userIgnored anymatch fn
436
+ // to make ignoredPaths changes effective
437
+ this._userIgnored = undefined;
438
+
439
+ return true;
440
+ });
441
+
442
+ if (this.options.useFsEvents && this._fsEventsHandler) {
443
+ if (!this._readyCount) this._readyCount = paths.length;
444
+ if (this.options.persistent) this._readyCount += paths.length;
445
+ paths.forEach((path) => this._fsEventsHandler._addToFsEvents(path));
446
+ } else {
447
+ if (!this._readyCount) this._readyCount = 0;
448
+ this._readyCount += paths.length;
449
+ Promise.all(
450
+ paths.map(async path => {
451
+ const res = await this._nodeFsHandler._addToNodeFs(path, !_internal, 0, 0, _origAdd);
452
+ if (res) this._emitReady();
453
+ return res;
454
+ })
455
+ ).then(results => {
456
+ if (this.closed) return;
457
+ results.filter(item => item).forEach(item => {
458
+ this.add(sysPath.dirname(item), sysPath.basename(_origAdd || item));
459
+ });
460
+ });
461
+ }
462
+
463
+ return this;
464
+ }
465
+
466
+ /**
467
+ * Close watchers or start ignoring events from specified paths.
468
+ * @param {Path|Array<Path>} paths_ - string or array of strings, file/directory paths and/or globs
469
+ * @returns {FSWatcher} for chaining
470
+ */
471
+ unwatch(paths_) {
472
+ if (this.closed) return this;
473
+ const paths = unifyPaths(paths_);
474
+ const {cwd} = this.options;
475
+
476
+ paths.forEach((path) => {
477
+ // convert to absolute path unless relative path already matches
478
+ if (!sysPath.isAbsolute(path) && !this._closers.has(path)) {
479
+ if (cwd) path = sysPath.join(cwd, path);
480
+ path = sysPath.resolve(path);
481
+ }
482
+
483
+ this._closePath(path);
484
+
485
+ this._ignoredPaths.add(path);
486
+ if (this._watched.has(path)) {
487
+ this._ignoredPaths.add(path + SLASH_GLOBSTAR);
488
+ }
489
+
490
+ // reset the cached userIgnored anymatch fn
491
+ // to make ignoredPaths changes effective
492
+ this._userIgnored = undefined;
493
+ });
494
+
495
+ return this;
496
+ }
497
+
498
+ /**
499
+ * Close watchers and remove all listeners from watched paths.
500
+ * @returns {Promise<void>}.
501
+ */
502
+ close() {
503
+ if (this.closed) return this._closePromise;
504
+ this.closed = true;
505
+
506
+ // Memory management.
507
+ this.removeAllListeners();
508
+ const closers = [];
509
+ this._closers.forEach(closerList => closerList.forEach(closer => {
510
+ const promise = closer();
511
+ if (promise instanceof Promise) closers.push(promise);
512
+ }));
513
+ this._streams.forEach(stream => stream.destroy());
514
+ this._userIgnored = undefined;
515
+ this._readyCount = 0;
516
+ this._readyEmitted = false;
517
+ this._watched.forEach(dirent => dirent.dispose());
518
+ ['closers', 'watched', 'streams', 'symlinkPaths', 'throttled'].forEach(key => {
519
+ this[`_${key}`].clear();
520
+ });
521
+
522
+ this._closePromise = closers.length ? Promise.all(closers).then(() => undefined) : Promise.resolve();
523
+ return this._closePromise;
524
+ }
525
+
526
+ /**
527
+ * Expose list of watched paths
528
+ * @returns {Object} for chaining
529
+ */
530
+ getWatched() {
531
+ const watchList = {};
532
+ this._watched.forEach((entry, dir) => {
533
+ const key = this.options.cwd ? sysPath.relative(this.options.cwd, dir) : dir;
534
+ watchList[key || ONE_DOT] = entry.getChildren().sort();
535
+ });
536
+ return watchList;
537
+ }
538
+
539
+ emitWithAll(event, args) {
540
+ this.emit(...args);
541
+ if (event !== EV_ERROR) this.emit(EV_ALL, ...args);
542
+ }
543
+
544
+ // Common helpers
545
+ // --------------
546
+
547
+ /**
548
+ * Normalize and emit events.
549
+ * Calling _emit DOES NOT MEAN emit() would be called!
550
+ * @param {EventName} event Type of event
551
+ * @param {Path} path File or directory path
552
+ * @param {*=} val1 arguments to be passed with event
553
+ * @param {*=} val2
554
+ * @param {*=} val3
555
+ * @returns the error if defined, otherwise the value of the FSWatcher instance's `closed` flag
556
+ */
557
+ async _emit(event, path, val1, val2, val3) {
558
+ if (this.closed) return;
559
+
560
+ const opts = this.options;
561
+ if (isWindows) path = sysPath.normalize(path);
562
+ if (opts.cwd) path = sysPath.relative(opts.cwd, path);
563
+ /** @type Array<any> */
564
+ const args = [event, path];
565
+ if (val3 !== undefined) args.push(val1, val2, val3);
566
+ else if (val2 !== undefined) args.push(val1, val2);
567
+ else if (val1 !== undefined) args.push(val1);
568
+
569
+ const awf = opts.awaitWriteFinish;
570
+ let pw;
571
+ if (awf && (pw = this._pendingWrites.get(path))) {
572
+ pw.lastChange = new Date();
573
+ return this;
574
+ }
575
+
576
+ if (opts.atomic) {
577
+ if (event === EV_UNLINK) {
578
+ this._pendingUnlinks.set(path, args);
579
+ setTimeout(() => {
580
+ this._pendingUnlinks.forEach((entry, path) => {
581
+ this.emit(...entry);
582
+ this.emit(EV_ALL, ...entry);
583
+ this._pendingUnlinks.delete(path);
584
+ });
585
+ }, typeof opts.atomic === 'number' ? opts.atomic : 100);
586
+ return this;
587
+ }
588
+ if (event === EV_ADD && this._pendingUnlinks.has(path)) {
589
+ event = args[0] = EV_CHANGE;
590
+ this._pendingUnlinks.delete(path);
591
+ }
592
+ }
593
+
594
+ if (awf && (event === EV_ADD || event === EV_CHANGE) && this._readyEmitted) {
595
+ const awfEmit = (err, stats) => {
596
+ if (err) {
597
+ event = args[0] = EV_ERROR;
598
+ args[1] = err;
599
+ this.emitWithAll(event, args);
600
+ } else if (stats) {
601
+ // if stats doesn't exist the file must have been deleted
602
+ if (args.length > 2) {
603
+ args[2] = stats;
604
+ } else {
605
+ args.push(stats);
606
+ }
607
+ this.emitWithAll(event, args);
608
+ }
609
+ };
610
+
611
+ this._awaitWriteFinish(path, awf.stabilityThreshold, event, awfEmit);
612
+ return this;
613
+ }
614
+
615
+ if (event === EV_CHANGE) {
616
+ const isThrottled = !this._throttle(EV_CHANGE, path, 50);
617
+ if (isThrottled) return this;
618
+ }
619
+
620
+ if (opts.alwaysStat && val1 === undefined &&
621
+ (event === EV_ADD || event === EV_ADD_DIR || event === EV_CHANGE)
622
+ ) {
623
+ const fullPath = opts.cwd ? sysPath.join(opts.cwd, path) : path;
624
+ let stats;
625
+ try {
626
+ stats = await stat(fullPath);
627
+ } catch (err) {}
628
+ // Suppress event when fs_stat fails, to avoid sending undefined 'stat'
629
+ if (!stats || this.closed) return;
630
+ args.push(stats);
631
+ }
632
+ this.emitWithAll(event, args);
633
+
634
+ return this;
635
+ }
636
+
637
+ /**
638
+ * Common handler for errors
639
+ * @param {Error} error
640
+ * @returns {Error|Boolean} The error if defined, otherwise the value of the FSWatcher instance's `closed` flag
641
+ */
642
+ _handleError(error) {
643
+ const code = error && error.code;
644
+ if (error && code !== 'ENOENT' && code !== 'ENOTDIR' &&
645
+ (!this.options.ignorePermissionErrors || (code !== 'EPERM' && code !== 'EACCES'))
646
+ ) {
647
+ this.emit(EV_ERROR, error);
648
+ }
649
+ return error || this.closed;
650
+ }
651
+
652
+ /**
653
+ * Helper utility for throttling
654
+ * @param {ThrottleType} actionType type being throttled
655
+ * @param {Path} path being acted upon
656
+ * @param {Number} timeout duration of time to suppress duplicate actions
657
+ * @returns {Object|false} tracking object or false if action should be suppressed
658
+ */
659
+ _throttle(actionType, path, timeout) {
660
+ if (!this._throttled.has(actionType)) {
661
+ this._throttled.set(actionType, new Map());
662
+ }
663
+
664
+ /** @type {Map<Path, Object>} */
665
+ const action = this._throttled.get(actionType);
666
+ /** @type {Object} */
667
+ const actionPath = action.get(path);
668
+
669
+ if (actionPath) {
670
+ actionPath.count++;
671
+ return false;
672
+ }
673
+
674
+ let timeoutObject;
675
+ const clear = () => {
676
+ const item = action.get(path);
677
+ const count = item ? item.count : 0;
678
+ action.delete(path);
679
+ clearTimeout(timeoutObject);
680
+ if (item) clearTimeout(item.timeoutObject);
681
+ return count;
682
+ };
683
+ timeoutObject = setTimeout(clear, timeout);
684
+ const thr = {timeoutObject, clear, count: 0};
685
+ action.set(path, thr);
686
+ return thr;
687
+ }
688
+
689
+ _incrReadyCount() {
690
+ return this._readyCount++;
691
+ }
692
+
693
+ /**
694
+ * Awaits write operation to finish.
695
+ * Polls a newly created file for size variations. When files size does not change for 'threshold' milliseconds calls callback.
696
+ * @param {Path} path being acted upon
697
+ * @param {Number} threshold Time in milliseconds a file size must be fixed before acknowledging write OP is finished
698
+ * @param {EventName} event
699
+ * @param {Function} awfEmit Callback to be called when ready for event to be emitted.
700
+ */
701
+ _awaitWriteFinish(path, threshold, event, awfEmit) {
702
+ let timeoutHandler;
703
+
704
+ let fullPath = path;
705
+ if (this.options.cwd && !sysPath.isAbsolute(path)) {
706
+ fullPath = sysPath.join(this.options.cwd, path);
707
+ }
708
+
709
+ const now = new Date();
710
+
711
+ const awaitWriteFinish = (prevStat) => {
712
+ fs.stat(fullPath, (err, curStat) => {
713
+ if (err || !this._pendingWrites.has(path)) {
714
+ if (err && err.code !== 'ENOENT') awfEmit(err);
715
+ return;
716
+ }
717
+
718
+ const now = Number(new Date());
719
+
720
+ if (prevStat && curStat.size !== prevStat.size) {
721
+ this._pendingWrites.get(path).lastChange = now;
722
+ }
723
+ const pw = this._pendingWrites.get(path);
724
+ const df = now - pw.lastChange;
725
+
726
+ if (df >= threshold) {
727
+ this._pendingWrites.delete(path);
728
+ awfEmit(undefined, curStat);
729
+ } else {
730
+ timeoutHandler = setTimeout(
731
+ awaitWriteFinish,
732
+ this.options.awaitWriteFinish.pollInterval,
733
+ curStat
734
+ );
735
+ }
736
+ });
737
+ };
738
+
739
+ if (!this._pendingWrites.has(path)) {
740
+ this._pendingWrites.set(path, {
741
+ lastChange: now,
742
+ cancelWait: () => {
743
+ this._pendingWrites.delete(path);
744
+ clearTimeout(timeoutHandler);
745
+ return event;
746
+ }
747
+ });
748
+ timeoutHandler = setTimeout(
749
+ awaitWriteFinish,
750
+ this.options.awaitWriteFinish.pollInterval
751
+ );
752
+ }
753
+ }
754
+
755
+ _getGlobIgnored() {
756
+ return [...this._ignoredPaths.values()];
757
+ }
758
+
759
+ /**
760
+ * Determines whether user has asked to ignore this path.
761
+ * @param {Path} path filepath or dir
762
+ * @param {fs.Stats=} stats result of fs.stat
763
+ * @returns {Boolean}
764
+ */
765
+ _isIgnored(path, stats) {
766
+ if (this.options.atomic && DOT_RE.test(path)) return true;
767
+ if (!this._userIgnored) {
768
+ const {cwd} = this.options;
769
+ const ign = this.options.ignored;
770
+
771
+ const ignored = ign && ign.map(normalizeIgnored(cwd));
772
+ const paths = arrify(ignored)
773
+ .filter((path) => typeof path === STRING_TYPE && !isGlob(path))
774
+ .map((path) => path + SLASH_GLOBSTAR);
775
+ const list = this._getGlobIgnored().map(normalizeIgnored(cwd)).concat(ignored, paths);
776
+ this._userIgnored = anymatch(list, undefined, ANYMATCH_OPTS);
777
+ }
778
+
779
+ return this._userIgnored([path, stats]);
780
+ }
781
+
782
+ _isntIgnored(path, stat) {
783
+ return !this._isIgnored(path, stat);
784
+ }
785
+
786
+ /**
787
+ * Provides a set of common helpers and properties relating to symlink and glob handling.
788
+ * @param {Path} path file, directory, or glob pattern being watched
789
+ * @param {Number=} depth at any depth > 0, this isn't a glob
790
+ * @returns {WatchHelper} object containing helpers for this path
791
+ */
792
+ _getWatchHelpers(path, depth) {
793
+ const watchPath = depth || this.options.disableGlobbing || !isGlob(path) ? path : globParent(path);
794
+ const follow = this.options.followSymlinks;
795
+
796
+ return new WatchHelper(path, watchPath, follow, this);
797
+ }
798
+
799
+ // Directory helpers
800
+ // -----------------
801
+
802
+ /**
803
+ * Provides directory tracking objects
804
+ * @param {String} directory path of the directory
805
+ * @returns {DirEntry} the directory's tracking object
806
+ */
807
+ _getWatchedDir(directory) {
808
+ if (!this._boundRemove) this._boundRemove = this._remove.bind(this);
809
+ const dir = sysPath.resolve(directory);
810
+ if (!this._watched.has(dir)) this._watched.set(dir, new DirEntry(dir, this._boundRemove));
811
+ return this._watched.get(dir);
812
+ }
813
+
814
+ // File helpers
815
+ // ------------
816
+
817
+ /**
818
+ * Check for read permissions.
819
+ * Based on this answer on SO: https://stackoverflow.com/a/11781404/1358405
820
+ * @param {fs.Stats} stats - object, result of fs_stat
821
+ * @returns {Boolean} indicates whether the file can be read
822
+ */
823
+ _hasReadPermissions(stats) {
824
+ if (this.options.ignorePermissionErrors) return true;
825
+
826
+ // stats.mode may be bigint
827
+ const md = stats && Number.parseInt(stats.mode, 10);
828
+ const st = md & 0o777;
829
+ const it = Number.parseInt(st.toString(8)[0], 10);
830
+ return Boolean(4 & it);
831
+ }
832
+
833
+ /**
834
+ * Handles emitting unlink events for
835
+ * files and directories, and via recursion, for
836
+ * files and directories within directories that are unlinked
837
+ * @param {String} directory within which the following item is located
838
+ * @param {String} item base path of item/directory
839
+ * @returns {void}
840
+ */
841
+ _remove(directory, item, isDirectory) {
842
+ // if what is being deleted is a directory, get that directory's paths
843
+ // for recursive deleting and cleaning of watched object
844
+ // if it is not a directory, nestedDirectoryChildren will be empty array
845
+ const path = sysPath.join(directory, item);
846
+ const fullPath = sysPath.resolve(path);
847
+ isDirectory = isDirectory != null
848
+ ? isDirectory
849
+ : this._watched.has(path) || this._watched.has(fullPath);
850
+
851
+ // prevent duplicate handling in case of arriving here nearly simultaneously
852
+ // via multiple paths (such as _handleFile and _handleDir)
853
+ if (!this._throttle('remove', path, 100)) return;
854
+
855
+ // if the only watched file is removed, watch for its return
856
+ if (!isDirectory && !this.options.useFsEvents && this._watched.size === 1) {
857
+ this.add(directory, item, true);
858
+ }
859
+
860
+ // This will create a new entry in the watched object in either case
861
+ // so we got to do the directory check beforehand
862
+ const wp = this._getWatchedDir(path);
863
+ const nestedDirectoryChildren = wp.getChildren();
864
+
865
+ // Recursively remove children directories / files.
866
+ nestedDirectoryChildren.forEach(nested => this._remove(path, nested));
867
+
868
+ // Check if item was on the watched list and remove it
869
+ const parent = this._getWatchedDir(directory);
870
+ const wasTracked = parent.has(item);
871
+ parent.remove(item);
872
+
873
+ // Fixes issue #1042 -> Relative paths were detected and added as symlinks
874
+ // (https://github.com/paulmillr/chokidar/blob/e1753ddbc9571bdc33b4a4af172d52cb6e611c10/lib/nodefs-handler.js#L612),
875
+ // but never removed from the map in case the path was deleted.
876
+ // This leads to an incorrect state if the path was recreated:
877
+ // https://github.com/paulmillr/chokidar/blob/e1753ddbc9571bdc33b4a4af172d52cb6e611c10/lib/nodefs-handler.js#L553
878
+ if (this._symlinkPaths.has(fullPath)) {
879
+ this._symlinkPaths.delete(fullPath);
880
+ }
881
+
882
+ // If we wait for this file to be fully written, cancel the wait.
883
+ let relPath = path;
884
+ if (this.options.cwd) relPath = sysPath.relative(this.options.cwd, path);
885
+ if (this.options.awaitWriteFinish && this._pendingWrites.has(relPath)) {
886
+ const event = this._pendingWrites.get(relPath).cancelWait();
887
+ if (event === EV_ADD) return;
888
+ }
889
+
890
+ // The Entry will either be a directory that just got removed
891
+ // or a bogus entry to a file, in either case we have to remove it
892
+ this._watched.delete(path);
893
+ this._watched.delete(fullPath);
894
+ const eventName = isDirectory ? EV_UNLINK_DIR : EV_UNLINK;
895
+ if (wasTracked && !this._isIgnored(path)) this._emit(eventName, path);
896
+
897
+ // Avoid conflicts if we later create another file with the same name
898
+ if (!this.options.useFsEvents) {
899
+ this._closePath(path);
900
+ }
901
+ }
902
+
903
+ /**
904
+ * Closes all watchers for a path
905
+ * @param {Path} path
906
+ */
907
+ _closePath(path) {
908
+ this._closeFile(path)
909
+ const dir = sysPath.dirname(path);
910
+ this._getWatchedDir(dir).remove(sysPath.basename(path));
911
+ }
912
+
913
+ /**
914
+ * Closes only file-specific watchers
915
+ * @param {Path} path
916
+ */
917
+ _closeFile(path) {
918
+ const closers = this._closers.get(path);
919
+ if (!closers) return;
920
+ closers.forEach(closer => closer());
921
+ this._closers.delete(path);
922
+ }
923
+
924
+ /**
925
+ *
926
+ * @param {Path} path
927
+ * @param {Function} closer
928
+ */
929
+ _addPathCloser(path, closer) {
930
+ if (!closer) return;
931
+ let list = this._closers.get(path);
932
+ if (!list) {
933
+ list = [];
934
+ this._closers.set(path, list);
935
+ }
936
+ list.push(closer);
937
+ }
938
+
939
+ _readdirp(root, opts) {
940
+ if (this.closed) return;
941
+ const options = {type: EV_ALL, alwaysStat: true, lstat: true, ...opts};
942
+ let stream = readdirp(root, options);
943
+ this._streams.add(stream);
944
+ stream.once(STR_CLOSE, () => {
945
+ stream = undefined;
946
+ });
947
+ stream.once(STR_END, () => {
948
+ if (stream) {
949
+ this._streams.delete(stream);
950
+ stream = undefined;
951
+ }
952
+ });
953
+ return stream;
954
+ }
955
+
956
+ }
957
+
958
+ // Export FSWatcher class
959
+ exports.FSWatcher = FSWatcher;
960
+
961
+ /**
962
+ * Instantiates watcher with paths to be tracked.
963
+ * @param {String|Array<String>} paths file/directory paths and/or globs
964
+ * @param {Object=} options chokidar opts
965
+ * @returns an instance of FSWatcher for chaining.
966
+ */
967
+ const watch = (paths, options) => {
968
+ const watcher = new FSWatcher(options);
969
+ watcher.add(paths);
970
+ return watcher;
971
+ };
972
+
973
+ exports.watch = watch;
workers1/auto3d/node_modules/chokidar/lib/constants.js ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ const {sep} = require('path');
4
+ const {platform} = process;
5
+ const os = require('os');
6
+
7
+ exports.EV_ALL = 'all';
8
+ exports.EV_READY = 'ready';
9
+ exports.EV_ADD = 'add';
10
+ exports.EV_CHANGE = 'change';
11
+ exports.EV_ADD_DIR = 'addDir';
12
+ exports.EV_UNLINK = 'unlink';
13
+ exports.EV_UNLINK_DIR = 'unlinkDir';
14
+ exports.EV_RAW = 'raw';
15
+ exports.EV_ERROR = 'error';
16
+
17
+ exports.STR_DATA = 'data';
18
+ exports.STR_END = 'end';
19
+ exports.STR_CLOSE = 'close';
20
+
21
+ exports.FSEVENT_CREATED = 'created';
22
+ exports.FSEVENT_MODIFIED = 'modified';
23
+ exports.FSEVENT_DELETED = 'deleted';
24
+ exports.FSEVENT_MOVED = 'moved';
25
+ exports.FSEVENT_CLONED = 'cloned';
26
+ exports.FSEVENT_UNKNOWN = 'unknown';
27
+ exports.FSEVENT_FLAG_MUST_SCAN_SUBDIRS = 1;
28
+ exports.FSEVENT_TYPE_FILE = 'file';
29
+ exports.FSEVENT_TYPE_DIRECTORY = 'directory';
30
+ exports.FSEVENT_TYPE_SYMLINK = 'symlink';
31
+
32
+ exports.KEY_LISTENERS = 'listeners';
33
+ exports.KEY_ERR = 'errHandlers';
34
+ exports.KEY_RAW = 'rawEmitters';
35
+ exports.HANDLER_KEYS = [exports.KEY_LISTENERS, exports.KEY_ERR, exports.KEY_RAW];
36
+
37
+ exports.DOT_SLASH = `.${sep}`;
38
+
39
+ exports.BACK_SLASH_RE = /\\/g;
40
+ exports.DOUBLE_SLASH_RE = /\/\//;
41
+ exports.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
42
+ exports.DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
43
+ exports.REPLACER_RE = /^\.[/\\]/;
44
+
45
+ exports.SLASH = '/';
46
+ exports.SLASH_SLASH = '//';
47
+ exports.BRACE_START = '{';
48
+ exports.BANG = '!';
49
+ exports.ONE_DOT = '.';
50
+ exports.TWO_DOTS = '..';
51
+ exports.STAR = '*';
52
+ exports.GLOBSTAR = '**';
53
+ exports.ROOT_GLOBSTAR = '/**/*';
54
+ exports.SLASH_GLOBSTAR = '/**';
55
+ exports.DIR_SUFFIX = 'Dir';
56
+ exports.ANYMATCH_OPTS = {dot: true};
57
+ exports.STRING_TYPE = 'string';
58
+ exports.FUNCTION_TYPE = 'function';
59
+ exports.EMPTY_STR = '';
60
+ exports.EMPTY_FN = () => {};
61
+ exports.IDENTITY_FN = val => val;
62
+
63
+ exports.isWindows = platform === 'win32';
64
+ exports.isMacos = platform === 'darwin';
65
+ exports.isLinux = platform === 'linux';
66
+ exports.isIBMi = os.type() === 'OS400';
workers1/auto3d/node_modules/chokidar/lib/fsevents-handler.js ADDED
@@ -0,0 +1,526 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ const fs = require('fs');
4
+ const sysPath = require('path');
5
+ const { promisify } = require('util');
6
+
7
+ let fsevents;
8
+ try {
9
+ fsevents = require('fsevents');
10
+ } catch (error) {
11
+ if (process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR) console.error(error);
12
+ }
13
+
14
+ if (fsevents) {
15
+ // TODO: real check
16
+ const mtch = process.version.match(/v(\d+)\.(\d+)/);
17
+ if (mtch && mtch[1] && mtch[2]) {
18
+ const maj = Number.parseInt(mtch[1], 10);
19
+ const min = Number.parseInt(mtch[2], 10);
20
+ if (maj === 8 && min < 16) {
21
+ fsevents = undefined;
22
+ }
23
+ }
24
+ }
25
+
26
+ const {
27
+ EV_ADD,
28
+ EV_CHANGE,
29
+ EV_ADD_DIR,
30
+ EV_UNLINK,
31
+ EV_ERROR,
32
+ STR_DATA,
33
+ STR_END,
34
+ FSEVENT_CREATED,
35
+ FSEVENT_MODIFIED,
36
+ FSEVENT_DELETED,
37
+ FSEVENT_MOVED,
38
+ // FSEVENT_CLONED,
39
+ FSEVENT_UNKNOWN,
40
+ FSEVENT_FLAG_MUST_SCAN_SUBDIRS,
41
+ FSEVENT_TYPE_FILE,
42
+ FSEVENT_TYPE_DIRECTORY,
43
+ FSEVENT_TYPE_SYMLINK,
44
+
45
+ ROOT_GLOBSTAR,
46
+ DIR_SUFFIX,
47
+ DOT_SLASH,
48
+ FUNCTION_TYPE,
49
+ EMPTY_FN,
50
+ IDENTITY_FN
51
+ } = require('./constants');
52
+
53
+ const Depth = (value) => isNaN(value) ? {} : {depth: value};
54
+
55
+ const stat = promisify(fs.stat);
56
+ const lstat = promisify(fs.lstat);
57
+ const realpath = promisify(fs.realpath);
58
+
59
+ const statMethods = { stat, lstat };
60
+
61
+ /**
62
+ * @typedef {String} Path
63
+ */
64
+
65
+ /**
66
+ * @typedef {Object} FsEventsWatchContainer
67
+ * @property {Set<Function>} listeners
68
+ * @property {Function} rawEmitter
69
+ * @property {{stop: Function}} watcher
70
+ */
71
+
72
+ // fsevents instance helper functions
73
+ /**
74
+ * Object to hold per-process fsevents instances (may be shared across chokidar FSWatcher instances)
75
+ * @type {Map<Path,FsEventsWatchContainer>}
76
+ */
77
+ const FSEventsWatchers = new Map();
78
+
79
+ // Threshold of duplicate path prefixes at which to start
80
+ // consolidating going forward
81
+ const consolidateThreshhold = 10;
82
+
83
+ const wrongEventFlags = new Set([
84
+ 69888, 70400, 71424, 72704, 73472, 131328, 131840, 262912
85
+ ]);
86
+
87
+ /**
88
+ * Instantiates the fsevents interface
89
+ * @param {Path} path path to be watched
90
+ * @param {Function} callback called when fsevents is bound and ready
91
+ * @returns {{stop: Function}} new fsevents instance
92
+ */
93
+ const createFSEventsInstance = (path, callback) => {
94
+ const stop = fsevents.watch(path, callback);
95
+ return {stop};
96
+ };
97
+
98
+ /**
99
+ * Instantiates the fsevents interface or binds listeners to an existing one covering
100
+ * the same file tree.
101
+ * @param {Path} path - to be watched
102
+ * @param {Path} realPath - real path for symlinks
103
+ * @param {Function} listener - called when fsevents emits events
104
+ * @param {Function} rawEmitter - passes data to listeners of the 'raw' event
105
+ * @returns {Function} closer
106
+ */
107
+ function setFSEventsListener(path, realPath, listener, rawEmitter) {
108
+ let watchPath = sysPath.extname(realPath) ? sysPath.dirname(realPath) : realPath;
109
+
110
+ const parentPath = sysPath.dirname(watchPath);
111
+ let cont = FSEventsWatchers.get(watchPath);
112
+
113
+ // If we've accumulated a substantial number of paths that
114
+ // could have been consolidated by watching one directory
115
+ // above the current one, create a watcher on the parent
116
+ // path instead, so that we do consolidate going forward.
117
+ if (couldConsolidate(parentPath)) {
118
+ watchPath = parentPath;
119
+ }
120
+
121
+ const resolvedPath = sysPath.resolve(path);
122
+ const hasSymlink = resolvedPath !== realPath;
123
+
124
+ const filteredListener = (fullPath, flags, info) => {
125
+ if (hasSymlink) fullPath = fullPath.replace(realPath, resolvedPath);
126
+ if (
127
+ fullPath === resolvedPath ||
128
+ !fullPath.indexOf(resolvedPath + sysPath.sep)
129
+ ) listener(fullPath, flags, info);
130
+ };
131
+
132
+ // check if there is already a watcher on a parent path
133
+ // modifies `watchPath` to the parent path when it finds a match
134
+ let watchedParent = false;
135
+ for (const watchedPath of FSEventsWatchers.keys()) {
136
+ if (realPath.indexOf(sysPath.resolve(watchedPath) + sysPath.sep) === 0) {
137
+ watchPath = watchedPath;
138
+ cont = FSEventsWatchers.get(watchPath);
139
+ watchedParent = true;
140
+ break;
141
+ }
142
+ }
143
+
144
+ if (cont || watchedParent) {
145
+ cont.listeners.add(filteredListener);
146
+ } else {
147
+ cont = {
148
+ listeners: new Set([filteredListener]),
149
+ rawEmitter,
150
+ watcher: createFSEventsInstance(watchPath, (fullPath, flags) => {
151
+ if (!cont.listeners.size) return;
152
+ if (flags & FSEVENT_FLAG_MUST_SCAN_SUBDIRS) return;
153
+ const info = fsevents.getInfo(fullPath, flags);
154
+ cont.listeners.forEach(list => {
155
+ list(fullPath, flags, info);
156
+ });
157
+
158
+ cont.rawEmitter(info.event, fullPath, info);
159
+ })
160
+ };
161
+ FSEventsWatchers.set(watchPath, cont);
162
+ }
163
+
164
+ // removes this instance's listeners and closes the underlying fsevents
165
+ // instance if there are no more listeners left
166
+ return () => {
167
+ const lst = cont.listeners;
168
+
169
+ lst.delete(filteredListener);
170
+ if (!lst.size) {
171
+ FSEventsWatchers.delete(watchPath);
172
+ if (cont.watcher) return cont.watcher.stop().then(() => {
173
+ cont.rawEmitter = cont.watcher = undefined;
174
+ Object.freeze(cont);
175
+ });
176
+ }
177
+ };
178
+ }
179
+
180
+ // Decide whether or not we should start a new higher-level
181
+ // parent watcher
182
+ const couldConsolidate = (path) => {
183
+ let count = 0;
184
+ for (const watchPath of FSEventsWatchers.keys()) {
185
+ if (watchPath.indexOf(path) === 0) {
186
+ count++;
187
+ if (count >= consolidateThreshhold) {
188
+ return true;
189
+ }
190
+ }
191
+ }
192
+
193
+ return false;
194
+ };
195
+
196
+ // returns boolean indicating whether fsevents can be used
197
+ const canUse = () => fsevents && FSEventsWatchers.size < 128;
198
+
199
+ // determines subdirectory traversal levels from root to path
200
+ const calcDepth = (path, root) => {
201
+ let i = 0;
202
+ while (!path.indexOf(root) && (path = sysPath.dirname(path)) !== root) i++;
203
+ return i;
204
+ };
205
+
206
+ // returns boolean indicating whether the fsevents' event info has the same type
207
+ // as the one returned by fs.stat
208
+ const sameTypes = (info, stats) => (
209
+ info.type === FSEVENT_TYPE_DIRECTORY && stats.isDirectory() ||
210
+ info.type === FSEVENT_TYPE_SYMLINK && stats.isSymbolicLink() ||
211
+ info.type === FSEVENT_TYPE_FILE && stats.isFile()
212
+ )
213
+
214
+ /**
215
+ * @mixin
216
+ */
217
+ class FsEventsHandler {
218
+
219
+ /**
220
+ * @param {import('../index').FSWatcher} fsw
221
+ */
222
+ constructor(fsw) {
223
+ this.fsw = fsw;
224
+ }
225
+ checkIgnored(path, stats) {
226
+ const ipaths = this.fsw._ignoredPaths;
227
+ if (this.fsw._isIgnored(path, stats)) {
228
+ ipaths.add(path);
229
+ if (stats && stats.isDirectory()) {
230
+ ipaths.add(path + ROOT_GLOBSTAR);
231
+ }
232
+ return true;
233
+ }
234
+
235
+ ipaths.delete(path);
236
+ ipaths.delete(path + ROOT_GLOBSTAR);
237
+ }
238
+
239
+ addOrChange(path, fullPath, realPath, parent, watchedDir, item, info, opts) {
240
+ const event = watchedDir.has(item) ? EV_CHANGE : EV_ADD;
241
+ this.handleEvent(event, path, fullPath, realPath, parent, watchedDir, item, info, opts);
242
+ }
243
+
244
+ async checkExists(path, fullPath, realPath, parent, watchedDir, item, info, opts) {
245
+ try {
246
+ const stats = await stat(path)
247
+ if (this.fsw.closed) return;
248
+ if (sameTypes(info, stats)) {
249
+ this.addOrChange(path, fullPath, realPath, parent, watchedDir, item, info, opts);
250
+ } else {
251
+ this.handleEvent(EV_UNLINK, path, fullPath, realPath, parent, watchedDir, item, info, opts);
252
+ }
253
+ } catch (error) {
254
+ if (error.code === 'EACCES') {
255
+ this.addOrChange(path, fullPath, realPath, parent, watchedDir, item, info, opts);
256
+ } else {
257
+ this.handleEvent(EV_UNLINK, path, fullPath, realPath, parent, watchedDir, item, info, opts);
258
+ }
259
+ }
260
+ }
261
+
262
+ handleEvent(event, path, fullPath, realPath, parent, watchedDir, item, info, opts) {
263
+ if (this.fsw.closed || this.checkIgnored(path)) return;
264
+
265
+ if (event === EV_UNLINK) {
266
+ const isDirectory = info.type === FSEVENT_TYPE_DIRECTORY
267
+ // suppress unlink events on never before seen files
268
+ if (isDirectory || watchedDir.has(item)) {
269
+ this.fsw._remove(parent, item, isDirectory);
270
+ }
271
+ } else {
272
+ if (event === EV_ADD) {
273
+ // track new directories
274
+ if (info.type === FSEVENT_TYPE_DIRECTORY) this.fsw._getWatchedDir(path);
275
+
276
+ if (info.type === FSEVENT_TYPE_SYMLINK && opts.followSymlinks) {
277
+ // push symlinks back to the top of the stack to get handled
278
+ const curDepth = opts.depth === undefined ?
279
+ undefined : calcDepth(fullPath, realPath) + 1;
280
+ return this._addToFsEvents(path, false, true, curDepth);
281
+ }
282
+
283
+ // track new paths
284
+ // (other than symlinks being followed, which will be tracked soon)
285
+ this.fsw._getWatchedDir(parent).add(item);
286
+ }
287
+ /**
288
+ * @type {'add'|'addDir'|'unlink'|'unlinkDir'}
289
+ */
290
+ const eventName = info.type === FSEVENT_TYPE_DIRECTORY ? event + DIR_SUFFIX : event;
291
+ this.fsw._emit(eventName, path);
292
+ if (eventName === EV_ADD_DIR) this._addToFsEvents(path, false, true);
293
+ }
294
+ }
295
+
296
+ /**
297
+ * Handle symlinks encountered during directory scan
298
+ * @param {String} watchPath - file/dir path to be watched with fsevents
299
+ * @param {String} realPath - real path (in case of symlinks)
300
+ * @param {Function} transform - path transformer
301
+ * @param {Function} globFilter - path filter in case a glob pattern was provided
302
+ * @returns {Function} closer for the watcher instance
303
+ */
304
+ _watchWithFsEvents(watchPath, realPath, transform, globFilter) {
305
+ if (this.fsw.closed || this.fsw._isIgnored(watchPath)) return;
306
+ const opts = this.fsw.options;
307
+ const watchCallback = async (fullPath, flags, info) => {
308
+ if (this.fsw.closed) return;
309
+ if (
310
+ opts.depth !== undefined &&
311
+ calcDepth(fullPath, realPath) > opts.depth
312
+ ) return;
313
+ const path = transform(sysPath.join(
314
+ watchPath, sysPath.relative(watchPath, fullPath)
315
+ ));
316
+ if (globFilter && !globFilter(path)) return;
317
+ // ensure directories are tracked
318
+ const parent = sysPath.dirname(path);
319
+ const item = sysPath.basename(path);
320
+ const watchedDir = this.fsw._getWatchedDir(
321
+ info.type === FSEVENT_TYPE_DIRECTORY ? path : parent
322
+ );
323
+
324
+ // correct for wrong events emitted
325
+ if (wrongEventFlags.has(flags) || info.event === FSEVENT_UNKNOWN) {
326
+ if (typeof opts.ignored === FUNCTION_TYPE) {
327
+ let stats;
328
+ try {
329
+ stats = await stat(path);
330
+ } catch (error) {}
331
+ if (this.fsw.closed) return;
332
+ if (this.checkIgnored(path, stats)) return;
333
+ if (sameTypes(info, stats)) {
334
+ this.addOrChange(path, fullPath, realPath, parent, watchedDir, item, info, opts);
335
+ } else {
336
+ this.handleEvent(EV_UNLINK, path, fullPath, realPath, parent, watchedDir, item, info, opts);
337
+ }
338
+ } else {
339
+ this.checkExists(path, fullPath, realPath, parent, watchedDir, item, info, opts);
340
+ }
341
+ } else {
342
+ switch (info.event) {
343
+ case FSEVENT_CREATED:
344
+ case FSEVENT_MODIFIED:
345
+ return this.addOrChange(path, fullPath, realPath, parent, watchedDir, item, info, opts);
346
+ case FSEVENT_DELETED:
347
+ case FSEVENT_MOVED:
348
+ return this.checkExists(path, fullPath, realPath, parent, watchedDir, item, info, opts);
349
+ }
350
+ }
351
+ };
352
+
353
+ const closer = setFSEventsListener(
354
+ watchPath,
355
+ realPath,
356
+ watchCallback,
357
+ this.fsw._emitRaw
358
+ );
359
+
360
+ this.fsw._emitReady();
361
+ return closer;
362
+ }
363
+
364
+ /**
365
+ * Handle symlinks encountered during directory scan
366
+ * @param {String} linkPath path to symlink
367
+ * @param {String} fullPath absolute path to the symlink
368
+ * @param {Function} transform pre-existing path transformer
369
+ * @param {Number} curDepth level of subdirectories traversed to where symlink is
370
+ * @returns {Promise<void>}
371
+ */
372
+ async _handleFsEventsSymlink(linkPath, fullPath, transform, curDepth) {
373
+ // don't follow the same symlink more than once
374
+ if (this.fsw.closed || this.fsw._symlinkPaths.has(fullPath)) return;
375
+
376
+ this.fsw._symlinkPaths.set(fullPath, true);
377
+ this.fsw._incrReadyCount();
378
+
379
+ try {
380
+ const linkTarget = await realpath(linkPath);
381
+ if (this.fsw.closed) return;
382
+ if (this.fsw._isIgnored(linkTarget)) {
383
+ return this.fsw._emitReady();
384
+ }
385
+
386
+ this.fsw._incrReadyCount();
387
+
388
+ // add the linkTarget for watching with a wrapper for transform
389
+ // that causes emitted paths to incorporate the link's path
390
+ this._addToFsEvents(linkTarget || linkPath, (path) => {
391
+ let aliasedPath = linkPath;
392
+ if (linkTarget && linkTarget !== DOT_SLASH) {
393
+ aliasedPath = path.replace(linkTarget, linkPath);
394
+ } else if (path !== DOT_SLASH) {
395
+ aliasedPath = sysPath.join(linkPath, path);
396
+ }
397
+ return transform(aliasedPath);
398
+ }, false, curDepth);
399
+ } catch(error) {
400
+ if (this.fsw._handleError(error)) {
401
+ return this.fsw._emitReady();
402
+ }
403
+ }
404
+ }
405
+
406
+ /**
407
+ *
408
+ * @param {Path} newPath
409
+ * @param {fs.Stats} stats
410
+ */
411
+ emitAdd(newPath, stats, processPath, opts, forceAdd) {
412
+ const pp = processPath(newPath);
413
+ const isDir = stats.isDirectory();
414
+ const dirObj = this.fsw._getWatchedDir(sysPath.dirname(pp));
415
+ const base = sysPath.basename(pp);
416
+
417
+ // ensure empty dirs get tracked
418
+ if (isDir) this.fsw._getWatchedDir(pp);
419
+ if (dirObj.has(base)) return;
420
+ dirObj.add(base);
421
+
422
+ if (!opts.ignoreInitial || forceAdd === true) {
423
+ this.fsw._emit(isDir ? EV_ADD_DIR : EV_ADD, pp, stats);
424
+ }
425
+ }
426
+
427
+ initWatch(realPath, path, wh, processPath) {
428
+ if (this.fsw.closed) return;
429
+ const closer = this._watchWithFsEvents(
430
+ wh.watchPath,
431
+ sysPath.resolve(realPath || wh.watchPath),
432
+ processPath,
433
+ wh.globFilter
434
+ );
435
+ this.fsw._addPathCloser(path, closer);
436
+ }
437
+
438
+ /**
439
+ * Handle added path with fsevents
440
+ * @param {String} path file/dir path or glob pattern
441
+ * @param {Function|Boolean=} transform converts working path to what the user expects
442
+ * @param {Boolean=} forceAdd ensure add is emitted
443
+ * @param {Number=} priorDepth Level of subdirectories already traversed.
444
+ * @returns {Promise<void>}
445
+ */
446
+ async _addToFsEvents(path, transform, forceAdd, priorDepth) {
447
+ if (this.fsw.closed) {
448
+ return;
449
+ }
450
+ const opts = this.fsw.options;
451
+ const processPath = typeof transform === FUNCTION_TYPE ? transform : IDENTITY_FN;
452
+
453
+ const wh = this.fsw._getWatchHelpers(path);
454
+
455
+ // evaluate what is at the path we're being asked to watch
456
+ try {
457
+ const stats = await statMethods[wh.statMethod](wh.watchPath);
458
+ if (this.fsw.closed) return;
459
+ if (this.fsw._isIgnored(wh.watchPath, stats)) {
460
+ throw null;
461
+ }
462
+ if (stats.isDirectory()) {
463
+ // emit addDir unless this is a glob parent
464
+ if (!wh.globFilter) this.emitAdd(processPath(path), stats, processPath, opts, forceAdd);
465
+
466
+ // don't recurse further if it would exceed depth setting
467
+ if (priorDepth && priorDepth > opts.depth) return;
468
+
469
+ // scan the contents of the dir
470
+ this.fsw._readdirp(wh.watchPath, {
471
+ fileFilter: entry => wh.filterPath(entry),
472
+ directoryFilter: entry => wh.filterDir(entry),
473
+ ...Depth(opts.depth - (priorDepth || 0))
474
+ }).on(STR_DATA, (entry) => {
475
+ // need to check filterPath on dirs b/c filterDir is less restrictive
476
+ if (this.fsw.closed) {
477
+ return;
478
+ }
479
+ if (entry.stats.isDirectory() && !wh.filterPath(entry)) return;
480
+
481
+ const joinedPath = sysPath.join(wh.watchPath, entry.path);
482
+ const {fullPath} = entry;
483
+
484
+ if (wh.followSymlinks && entry.stats.isSymbolicLink()) {
485
+ // preserve the current depth here since it can't be derived from
486
+ // real paths past the symlink
487
+ const curDepth = opts.depth === undefined ?
488
+ undefined : calcDepth(joinedPath, sysPath.resolve(wh.watchPath)) + 1;
489
+
490
+ this._handleFsEventsSymlink(joinedPath, fullPath, processPath, curDepth);
491
+ } else {
492
+ this.emitAdd(joinedPath, entry.stats, processPath, opts, forceAdd);
493
+ }
494
+ }).on(EV_ERROR, EMPTY_FN).on(STR_END, () => {
495
+ this.fsw._emitReady();
496
+ });
497
+ } else {
498
+ this.emitAdd(wh.watchPath, stats, processPath, opts, forceAdd);
499
+ this.fsw._emitReady();
500
+ }
501
+ } catch (error) {
502
+ if (!error || this.fsw._handleError(error)) {
503
+ // TODO: Strange thing: "should not choke on an ignored watch path" will be failed without 2 ready calls -__-
504
+ this.fsw._emitReady();
505
+ this.fsw._emitReady();
506
+ }
507
+ }
508
+
509
+ if (opts.persistent && forceAdd !== true) {
510
+ if (typeof transform === FUNCTION_TYPE) {
511
+ // realpath has already been resolved
512
+ this.initWatch(undefined, path, wh, processPath);
513
+ } else {
514
+ let realPath;
515
+ try {
516
+ realPath = await realpath(wh.watchPath);
517
+ } catch (e) {}
518
+ this.initWatch(realPath, path, wh, processPath);
519
+ }
520
+ }
521
+ }
522
+
523
+ }
524
+
525
+ module.exports = FsEventsHandler;
526
+ module.exports.canUse = canUse;
workers1/auto3d/node_modules/chokidar/lib/nodefs-handler.js ADDED
@@ -0,0 +1,654 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ const fs = require('fs');
4
+ const sysPath = require('path');
5
+ const { promisify } = require('util');
6
+ const isBinaryPath = require('is-binary-path');
7
+ const {
8
+ isWindows,
9
+ isLinux,
10
+ EMPTY_FN,
11
+ EMPTY_STR,
12
+ KEY_LISTENERS,
13
+ KEY_ERR,
14
+ KEY_RAW,
15
+ HANDLER_KEYS,
16
+ EV_CHANGE,
17
+ EV_ADD,
18
+ EV_ADD_DIR,
19
+ EV_ERROR,
20
+ STR_DATA,
21
+ STR_END,
22
+ BRACE_START,
23
+ STAR
24
+ } = require('./constants');
25
+
26
+ const THROTTLE_MODE_WATCH = 'watch';
27
+
28
+ const open = promisify(fs.open);
29
+ const stat = promisify(fs.stat);
30
+ const lstat = promisify(fs.lstat);
31
+ const close = promisify(fs.close);
32
+ const fsrealpath = promisify(fs.realpath);
33
+
34
+ const statMethods = { lstat, stat };
35
+
36
+ // TODO: emit errors properly. Example: EMFILE on Macos.
37
+ const foreach = (val, fn) => {
38
+ if (val instanceof Set) {
39
+ val.forEach(fn);
40
+ } else {
41
+ fn(val);
42
+ }
43
+ };
44
+
45
+ const addAndConvert = (main, prop, item) => {
46
+ let container = main[prop];
47
+ if (!(container instanceof Set)) {
48
+ main[prop] = container = new Set([container]);
49
+ }
50
+ container.add(item);
51
+ };
52
+
53
+ const clearItem = cont => key => {
54
+ const set = cont[key];
55
+ if (set instanceof Set) {
56
+ set.clear();
57
+ } else {
58
+ delete cont[key];
59
+ }
60
+ };
61
+
62
+ const delFromSet = (main, prop, item) => {
63
+ const container = main[prop];
64
+ if (container instanceof Set) {
65
+ container.delete(item);
66
+ } else if (container === item) {
67
+ delete main[prop];
68
+ }
69
+ };
70
+
71
+ const isEmptySet = (val) => val instanceof Set ? val.size === 0 : !val;
72
+
73
+ /**
74
+ * @typedef {String} Path
75
+ */
76
+
77
+ // fs_watch helpers
78
+
79
+ // object to hold per-process fs_watch instances
80
+ // (may be shared across chokidar FSWatcher instances)
81
+
82
+ /**
83
+ * @typedef {Object} FsWatchContainer
84
+ * @property {Set} listeners
85
+ * @property {Set} errHandlers
86
+ * @property {Set} rawEmitters
87
+ * @property {fs.FSWatcher=} watcher
88
+ * @property {Boolean=} watcherUnusable
89
+ */
90
+
91
+ /**
92
+ * @type {Map<String,FsWatchContainer>}
93
+ */
94
+ const FsWatchInstances = new Map();
95
+
96
+ /**
97
+ * Instantiates the fs_watch interface
98
+ * @param {String} path to be watched
99
+ * @param {Object} options to be passed to fs_watch
100
+ * @param {Function} listener main event handler
101
+ * @param {Function} errHandler emits info about errors
102
+ * @param {Function} emitRaw emits raw event data
103
+ * @returns {fs.FSWatcher} new fsevents instance
104
+ */
105
+ function createFsWatchInstance(path, options, listener, errHandler, emitRaw) {
106
+ const handleEvent = (rawEvent, evPath) => {
107
+ listener(path);
108
+ emitRaw(rawEvent, evPath, {watchedPath: path});
109
+
110
+ // emit based on events occurring for files from a directory's watcher in
111
+ // case the file's watcher misses it (and rely on throttling to de-dupe)
112
+ if (evPath && path !== evPath) {
113
+ fsWatchBroadcast(
114
+ sysPath.resolve(path, evPath), KEY_LISTENERS, sysPath.join(path, evPath)
115
+ );
116
+ }
117
+ };
118
+ try {
119
+ return fs.watch(path, options, handleEvent);
120
+ } catch (error) {
121
+ errHandler(error);
122
+ }
123
+ }
124
+
125
+ /**
126
+ * Helper for passing fs_watch event data to a collection of listeners
127
+ * @param {Path} fullPath absolute path bound to fs_watch instance
128
+ * @param {String} type listener type
129
+ * @param {*=} val1 arguments to be passed to listeners
130
+ * @param {*=} val2
131
+ * @param {*=} val3
132
+ */
133
+ const fsWatchBroadcast = (fullPath, type, val1, val2, val3) => {
134
+ const cont = FsWatchInstances.get(fullPath);
135
+ if (!cont) return;
136
+ foreach(cont[type], (listener) => {
137
+ listener(val1, val2, val3);
138
+ });
139
+ };
140
+
141
+ /**
142
+ * Instantiates the fs_watch interface or binds listeners
143
+ * to an existing one covering the same file system entry
144
+ * @param {String} path
145
+ * @param {String} fullPath absolute path
146
+ * @param {Object} options to be passed to fs_watch
147
+ * @param {Object} handlers container for event listener functions
148
+ */
149
+ const setFsWatchListener = (path, fullPath, options, handlers) => {
150
+ const {listener, errHandler, rawEmitter} = handlers;
151
+ let cont = FsWatchInstances.get(fullPath);
152
+
153
+ /** @type {fs.FSWatcher=} */
154
+ let watcher;
155
+ if (!options.persistent) {
156
+ watcher = createFsWatchInstance(
157
+ path, options, listener, errHandler, rawEmitter
158
+ );
159
+ return watcher.close.bind(watcher);
160
+ }
161
+ if (cont) {
162
+ addAndConvert(cont, KEY_LISTENERS, listener);
163
+ addAndConvert(cont, KEY_ERR, errHandler);
164
+ addAndConvert(cont, KEY_RAW, rawEmitter);
165
+ } else {
166
+ watcher = createFsWatchInstance(
167
+ path,
168
+ options,
169
+ fsWatchBroadcast.bind(null, fullPath, KEY_LISTENERS),
170
+ errHandler, // no need to use broadcast here
171
+ fsWatchBroadcast.bind(null, fullPath, KEY_RAW)
172
+ );
173
+ if (!watcher) return;
174
+ watcher.on(EV_ERROR, async (error) => {
175
+ const broadcastErr = fsWatchBroadcast.bind(null, fullPath, KEY_ERR);
176
+ cont.watcherUnusable = true; // documented since Node 10.4.1
177
+ // Workaround for https://github.com/joyent/node/issues/4337
178
+ if (isWindows && error.code === 'EPERM') {
179
+ try {
180
+ const fd = await open(path, 'r');
181
+ await close(fd);
182
+ broadcastErr(error);
183
+ } catch (err) {}
184
+ } else {
185
+ broadcastErr(error);
186
+ }
187
+ });
188
+ cont = {
189
+ listeners: listener,
190
+ errHandlers: errHandler,
191
+ rawEmitters: rawEmitter,
192
+ watcher
193
+ };
194
+ FsWatchInstances.set(fullPath, cont);
195
+ }
196
+ // const index = cont.listeners.indexOf(listener);
197
+
198
+ // removes this instance's listeners and closes the underlying fs_watch
199
+ // instance if there are no more listeners left
200
+ return () => {
201
+ delFromSet(cont, KEY_LISTENERS, listener);
202
+ delFromSet(cont, KEY_ERR, errHandler);
203
+ delFromSet(cont, KEY_RAW, rawEmitter);
204
+ if (isEmptySet(cont.listeners)) {
205
+ // Check to protect against issue gh-730.
206
+ // if (cont.watcherUnusable) {
207
+ cont.watcher.close();
208
+ // }
209
+ FsWatchInstances.delete(fullPath);
210
+ HANDLER_KEYS.forEach(clearItem(cont));
211
+ cont.watcher = undefined;
212
+ Object.freeze(cont);
213
+ }
214
+ };
215
+ };
216
+
217
+ // fs_watchFile helpers
218
+
219
+ // object to hold per-process fs_watchFile instances
220
+ // (may be shared across chokidar FSWatcher instances)
221
+ const FsWatchFileInstances = new Map();
222
+
223
+ /**
224
+ * Instantiates the fs_watchFile interface or binds listeners
225
+ * to an existing one covering the same file system entry
226
+ * @param {String} path to be watched
227
+ * @param {String} fullPath absolute path
228
+ * @param {Object} options options to be passed to fs_watchFile
229
+ * @param {Object} handlers container for event listener functions
230
+ * @returns {Function} closer
231
+ */
232
+ const setFsWatchFileListener = (path, fullPath, options, handlers) => {
233
+ const {listener, rawEmitter} = handlers;
234
+ let cont = FsWatchFileInstances.get(fullPath);
235
+
236
+ /* eslint-disable no-unused-vars, prefer-destructuring */
237
+ let listeners = new Set();
238
+ let rawEmitters = new Set();
239
+
240
+ const copts = cont && cont.options;
241
+ if (copts && (copts.persistent < options.persistent || copts.interval > options.interval)) {
242
+ // "Upgrade" the watcher to persistence or a quicker interval.
243
+ // This creates some unlikely edge case issues if the user mixes
244
+ // settings in a very weird way, but solving for those cases
245
+ // doesn't seem worthwhile for the added complexity.
246
+ listeners = cont.listeners;
247
+ rawEmitters = cont.rawEmitters;
248
+ fs.unwatchFile(fullPath);
249
+ cont = undefined;
250
+ }
251
+
252
+ /* eslint-enable no-unused-vars, prefer-destructuring */
253
+
254
+ if (cont) {
255
+ addAndConvert(cont, KEY_LISTENERS, listener);
256
+ addAndConvert(cont, KEY_RAW, rawEmitter);
257
+ } else {
258
+ // TODO
259
+ // listeners.add(listener);
260
+ // rawEmitters.add(rawEmitter);
261
+ cont = {
262
+ listeners: listener,
263
+ rawEmitters: rawEmitter,
264
+ options,
265
+ watcher: fs.watchFile(fullPath, options, (curr, prev) => {
266
+ foreach(cont.rawEmitters, (rawEmitter) => {
267
+ rawEmitter(EV_CHANGE, fullPath, {curr, prev});
268
+ });
269
+ const currmtime = curr.mtimeMs;
270
+ if (curr.size !== prev.size || currmtime > prev.mtimeMs || currmtime === 0) {
271
+ foreach(cont.listeners, (listener) => listener(path, curr));
272
+ }
273
+ })
274
+ };
275
+ FsWatchFileInstances.set(fullPath, cont);
276
+ }
277
+ // const index = cont.listeners.indexOf(listener);
278
+
279
+ // Removes this instance's listeners and closes the underlying fs_watchFile
280
+ // instance if there are no more listeners left.
281
+ return () => {
282
+ delFromSet(cont, KEY_LISTENERS, listener);
283
+ delFromSet(cont, KEY_RAW, rawEmitter);
284
+ if (isEmptySet(cont.listeners)) {
285
+ FsWatchFileInstances.delete(fullPath);
286
+ fs.unwatchFile(fullPath);
287
+ cont.options = cont.watcher = undefined;
288
+ Object.freeze(cont);
289
+ }
290
+ };
291
+ };
292
+
293
+ /**
294
+ * @mixin
295
+ */
296
+ class NodeFsHandler {
297
+
298
+ /**
299
+ * @param {import("../index").FSWatcher} fsW
300
+ */
301
+ constructor(fsW) {
302
+ this.fsw = fsW;
303
+ this._boundHandleError = (error) => fsW._handleError(error);
304
+ }
305
+
306
+ /**
307
+ * Watch file for changes with fs_watchFile or fs_watch.
308
+ * @param {String} path to file or dir
309
+ * @param {Function} listener on fs change
310
+ * @returns {Function} closer for the watcher instance
311
+ */
312
+ _watchWithNodeFs(path, listener) {
313
+ const opts = this.fsw.options;
314
+ const directory = sysPath.dirname(path);
315
+ const basename = sysPath.basename(path);
316
+ const parent = this.fsw._getWatchedDir(directory);
317
+ parent.add(basename);
318
+ const absolutePath = sysPath.resolve(path);
319
+ const options = {persistent: opts.persistent};
320
+ if (!listener) listener = EMPTY_FN;
321
+
322
+ let closer;
323
+ if (opts.usePolling) {
324
+ options.interval = opts.enableBinaryInterval && isBinaryPath(basename) ?
325
+ opts.binaryInterval : opts.interval;
326
+ closer = setFsWatchFileListener(path, absolutePath, options, {
327
+ listener,
328
+ rawEmitter: this.fsw._emitRaw
329
+ });
330
+ } else {
331
+ closer = setFsWatchListener(path, absolutePath, options, {
332
+ listener,
333
+ errHandler: this._boundHandleError,
334
+ rawEmitter: this.fsw._emitRaw
335
+ });
336
+ }
337
+ return closer;
338
+ }
339
+
340
+ /**
341
+ * Watch a file and emit add event if warranted.
342
+ * @param {Path} file Path
343
+ * @param {fs.Stats} stats result of fs_stat
344
+ * @param {Boolean} initialAdd was the file added at watch instantiation?
345
+ * @returns {Function} closer for the watcher instance
346
+ */
347
+ _handleFile(file, stats, initialAdd) {
348
+ if (this.fsw.closed) {
349
+ return;
350
+ }
351
+ const dirname = sysPath.dirname(file);
352
+ const basename = sysPath.basename(file);
353
+ const parent = this.fsw._getWatchedDir(dirname);
354
+ // stats is always present
355
+ let prevStats = stats;
356
+
357
+ // if the file is already being watched, do nothing
358
+ if (parent.has(basename)) return;
359
+
360
+ const listener = async (path, newStats) => {
361
+ if (!this.fsw._throttle(THROTTLE_MODE_WATCH, file, 5)) return;
362
+ if (!newStats || newStats.mtimeMs === 0) {
363
+ try {
364
+ const newStats = await stat(file);
365
+ if (this.fsw.closed) return;
366
+ // Check that change event was not fired because of changed only accessTime.
367
+ const at = newStats.atimeMs;
368
+ const mt = newStats.mtimeMs;
369
+ if (!at || at <= mt || mt !== prevStats.mtimeMs) {
370
+ this.fsw._emit(EV_CHANGE, file, newStats);
371
+ }
372
+ if (isLinux && prevStats.ino !== newStats.ino) {
373
+ this.fsw._closeFile(path)
374
+ prevStats = newStats;
375
+ this.fsw._addPathCloser(path, this._watchWithNodeFs(file, listener));
376
+ } else {
377
+ prevStats = newStats;
378
+ }
379
+ } catch (error) {
380
+ // Fix issues where mtime is null but file is still present
381
+ this.fsw._remove(dirname, basename);
382
+ }
383
+ // add is about to be emitted if file not already tracked in parent
384
+ } else if (parent.has(basename)) {
385
+ // Check that change event was not fired because of changed only accessTime.
386
+ const at = newStats.atimeMs;
387
+ const mt = newStats.mtimeMs;
388
+ if (!at || at <= mt || mt !== prevStats.mtimeMs) {
389
+ this.fsw._emit(EV_CHANGE, file, newStats);
390
+ }
391
+ prevStats = newStats;
392
+ }
393
+ }
394
+ // kick off the watcher
395
+ const closer = this._watchWithNodeFs(file, listener);
396
+
397
+ // emit an add event if we're supposed to
398
+ if (!(initialAdd && this.fsw.options.ignoreInitial) && this.fsw._isntIgnored(file)) {
399
+ if (!this.fsw._throttle(EV_ADD, file, 0)) return;
400
+ this.fsw._emit(EV_ADD, file, stats);
401
+ }
402
+
403
+ return closer;
404
+ }
405
+
406
+ /**
407
+ * Handle symlinks encountered while reading a dir.
408
+ * @param {Object} entry returned by readdirp
409
+ * @param {String} directory path of dir being read
410
+ * @param {String} path of this item
411
+ * @param {String} item basename of this item
412
+ * @returns {Promise<Boolean>} true if no more processing is needed for this entry.
413
+ */
414
+ async _handleSymlink(entry, directory, path, item) {
415
+ if (this.fsw.closed) {
416
+ return;
417
+ }
418
+ const full = entry.fullPath;
419
+ const dir = this.fsw._getWatchedDir(directory);
420
+
421
+ if (!this.fsw.options.followSymlinks) {
422
+ // watch symlink directly (don't follow) and detect changes
423
+ this.fsw._incrReadyCount();
424
+
425
+ let linkPath;
426
+ try {
427
+ linkPath = await fsrealpath(path);
428
+ } catch (e) {
429
+ this.fsw._emitReady();
430
+ return true;
431
+ }
432
+
433
+ if (this.fsw.closed) return;
434
+ if (dir.has(item)) {
435
+ if (this.fsw._symlinkPaths.get(full) !== linkPath) {
436
+ this.fsw._symlinkPaths.set(full, linkPath);
437
+ this.fsw._emit(EV_CHANGE, path, entry.stats);
438
+ }
439
+ } else {
440
+ dir.add(item);
441
+ this.fsw._symlinkPaths.set(full, linkPath);
442
+ this.fsw._emit(EV_ADD, path, entry.stats);
443
+ }
444
+ this.fsw._emitReady();
445
+ return true;
446
+ }
447
+
448
+ // don't follow the same symlink more than once
449
+ if (this.fsw._symlinkPaths.has(full)) {
450
+ return true;
451
+ }
452
+
453
+ this.fsw._symlinkPaths.set(full, true);
454
+ }
455
+
456
+ _handleRead(directory, initialAdd, wh, target, dir, depth, throttler) {
457
+ // Normalize the directory name on Windows
458
+ directory = sysPath.join(directory, EMPTY_STR);
459
+
460
+ if (!wh.hasGlob) {
461
+ throttler = this.fsw._throttle('readdir', directory, 1000);
462
+ if (!throttler) return;
463
+ }
464
+
465
+ const previous = this.fsw._getWatchedDir(wh.path);
466
+ const current = new Set();
467
+
468
+ let stream = this.fsw._readdirp(directory, {
469
+ fileFilter: entry => wh.filterPath(entry),
470
+ directoryFilter: entry => wh.filterDir(entry),
471
+ depth: 0
472
+ }).on(STR_DATA, async (entry) => {
473
+ if (this.fsw.closed) {
474
+ stream = undefined;
475
+ return;
476
+ }
477
+ const item = entry.path;
478
+ let path = sysPath.join(directory, item);
479
+ current.add(item);
480
+
481
+ if (entry.stats.isSymbolicLink() && await this._handleSymlink(entry, directory, path, item)) {
482
+ return;
483
+ }
484
+
485
+ if (this.fsw.closed) {
486
+ stream = undefined;
487
+ return;
488
+ }
489
+ // Files that present in current directory snapshot
490
+ // but absent in previous are added to watch list and
491
+ // emit `add` event.
492
+ if (item === target || !target && !previous.has(item)) {
493
+ this.fsw._incrReadyCount();
494
+
495
+ // ensure relativeness of path is preserved in case of watcher reuse
496
+ path = sysPath.join(dir, sysPath.relative(dir, path));
497
+
498
+ this._addToNodeFs(path, initialAdd, wh, depth + 1);
499
+ }
500
+ }).on(EV_ERROR, this._boundHandleError);
501
+
502
+ return new Promise(resolve =>
503
+ stream.once(STR_END, () => {
504
+ if (this.fsw.closed) {
505
+ stream = undefined;
506
+ return;
507
+ }
508
+ const wasThrottled = throttler ? throttler.clear() : false;
509
+
510
+ resolve();
511
+
512
+ // Files that absent in current directory snapshot
513
+ // but present in previous emit `remove` event
514
+ // and are removed from @watched[directory].
515
+ previous.getChildren().filter((item) => {
516
+ return item !== directory &&
517
+ !current.has(item) &&
518
+ // in case of intersecting globs;
519
+ // a path may have been filtered out of this readdir, but
520
+ // shouldn't be removed because it matches a different glob
521
+ (!wh.hasGlob || wh.filterPath({
522
+ fullPath: sysPath.resolve(directory, item)
523
+ }));
524
+ }).forEach((item) => {
525
+ this.fsw._remove(directory, item);
526
+ });
527
+
528
+ stream = undefined;
529
+
530
+ // one more time for any missed in case changes came in extremely quickly
531
+ if (wasThrottled) this._handleRead(directory, false, wh, target, dir, depth, throttler);
532
+ })
533
+ );
534
+ }
535
+
536
+ /**
537
+ * Read directory to add / remove files from `@watched` list and re-read it on change.
538
+ * @param {String} dir fs path
539
+ * @param {fs.Stats} stats
540
+ * @param {Boolean} initialAdd
541
+ * @param {Number} depth relative to user-supplied path
542
+ * @param {String} target child path targeted for watch
543
+ * @param {Object} wh Common watch helpers for this path
544
+ * @param {String} realpath
545
+ * @returns {Promise<Function>} closer for the watcher instance.
546
+ */
547
+ async _handleDir(dir, stats, initialAdd, depth, target, wh, realpath) {
548
+ const parentDir = this.fsw._getWatchedDir(sysPath.dirname(dir));
549
+ const tracked = parentDir.has(sysPath.basename(dir));
550
+ if (!(initialAdd && this.fsw.options.ignoreInitial) && !target && !tracked) {
551
+ if (!wh.hasGlob || wh.globFilter(dir)) this.fsw._emit(EV_ADD_DIR, dir, stats);
552
+ }
553
+
554
+ // ensure dir is tracked (harmless if redundant)
555
+ parentDir.add(sysPath.basename(dir));
556
+ this.fsw._getWatchedDir(dir);
557
+ let throttler;
558
+ let closer;
559
+
560
+ const oDepth = this.fsw.options.depth;
561
+ if ((oDepth == null || depth <= oDepth) && !this.fsw._symlinkPaths.has(realpath)) {
562
+ if (!target) {
563
+ await this._handleRead(dir, initialAdd, wh, target, dir, depth, throttler);
564
+ if (this.fsw.closed) return;
565
+ }
566
+
567
+ closer = this._watchWithNodeFs(dir, (dirPath, stats) => {
568
+ // if current directory is removed, do nothing
569
+ if (stats && stats.mtimeMs === 0) return;
570
+
571
+ this._handleRead(dirPath, false, wh, target, dir, depth, throttler);
572
+ });
573
+ }
574
+ return closer;
575
+ }
576
+
577
+ /**
578
+ * Handle added file, directory, or glob pattern.
579
+ * Delegates call to _handleFile / _handleDir after checks.
580
+ * @param {String} path to file or ir
581
+ * @param {Boolean} initialAdd was the file added at watch instantiation?
582
+ * @param {Object} priorWh depth relative to user-supplied path
583
+ * @param {Number} depth Child path actually targeted for watch
584
+ * @param {String=} target Child path actually targeted for watch
585
+ * @returns {Promise}
586
+ */
587
+ async _addToNodeFs(path, initialAdd, priorWh, depth, target) {
588
+ const ready = this.fsw._emitReady;
589
+ if (this.fsw._isIgnored(path) || this.fsw.closed) {
590
+ ready();
591
+ return false;
592
+ }
593
+
594
+ const wh = this.fsw._getWatchHelpers(path, depth);
595
+ if (!wh.hasGlob && priorWh) {
596
+ wh.hasGlob = priorWh.hasGlob;
597
+ wh.globFilter = priorWh.globFilter;
598
+ wh.filterPath = entry => priorWh.filterPath(entry);
599
+ wh.filterDir = entry => priorWh.filterDir(entry);
600
+ }
601
+
602
+ // evaluate what is at the path we're being asked to watch
603
+ try {
604
+ const stats = await statMethods[wh.statMethod](wh.watchPath);
605
+ if (this.fsw.closed) return;
606
+ if (this.fsw._isIgnored(wh.watchPath, stats)) {
607
+ ready();
608
+ return false;
609
+ }
610
+
611
+ const follow = this.fsw.options.followSymlinks && !path.includes(STAR) && !path.includes(BRACE_START);
612
+ let closer;
613
+ if (stats.isDirectory()) {
614
+ const absPath = sysPath.resolve(path);
615
+ const targetPath = follow ? await fsrealpath(path) : path;
616
+ if (this.fsw.closed) return;
617
+ closer = await this._handleDir(wh.watchPath, stats, initialAdd, depth, target, wh, targetPath);
618
+ if (this.fsw.closed) return;
619
+ // preserve this symlink's target path
620
+ if (absPath !== targetPath && targetPath !== undefined) {
621
+ this.fsw._symlinkPaths.set(absPath, targetPath);
622
+ }
623
+ } else if (stats.isSymbolicLink()) {
624
+ const targetPath = follow ? await fsrealpath(path) : path;
625
+ if (this.fsw.closed) return;
626
+ const parent = sysPath.dirname(wh.watchPath);
627
+ this.fsw._getWatchedDir(parent).add(wh.watchPath);
628
+ this.fsw._emit(EV_ADD, wh.watchPath, stats);
629
+ closer = await this._handleDir(parent, stats, initialAdd, depth, path, wh, targetPath);
630
+ if (this.fsw.closed) return;
631
+
632
+ // preserve this symlink's target path
633
+ if (targetPath !== undefined) {
634
+ this.fsw._symlinkPaths.set(sysPath.resolve(path), targetPath);
635
+ }
636
+ } else {
637
+ closer = this._handleFile(wh.watchPath, stats, initialAdd);
638
+ }
639
+ ready();
640
+
641
+ this.fsw._addPathCloser(path, closer);
642
+ return false;
643
+
644
+ } catch (error) {
645
+ if (this.fsw._handleError(error)) {
646
+ ready();
647
+ return path;
648
+ }
649
+ }
650
+ }
651
+
652
+ }
653
+
654
+ module.exports = NodeFsHandler;
workers1/auto3d/node_modules/chokidar/package.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "chokidar",
3
+ "description": "Minimal and efficient cross-platform file watching library",
4
+ "version": "3.6.0",
5
+ "homepage": "https://github.com/paulmillr/chokidar",
6
+ "author": "Paul Miller (https://paulmillr.com)",
7
+ "contributors": [
8
+ "Paul Miller (https://paulmillr.com)",
9
+ "Elan Shanker"
10
+ ],
11
+ "engines": {
12
+ "node": ">= 8.10.0"
13
+ },
14
+ "main": "index.js",
15
+ "types": "./types/index.d.ts",
16
+ "dependencies": {
17
+ "anymatch": "~3.1.2",
18
+ "braces": "~3.0.2",
19
+ "glob-parent": "~5.1.2",
20
+ "is-binary-path": "~2.1.0",
21
+ "is-glob": "~4.0.1",
22
+ "normalize-path": "~3.0.0",
23
+ "readdirp": "~3.6.0"
24
+ },
25
+ "optionalDependencies": {
26
+ "fsevents": "~2.3.2"
27
+ },
28
+ "devDependencies": {
29
+ "@types/node": "^14",
30
+ "chai": "^4.3",
31
+ "dtslint": "^3.3.0",
32
+ "eslint": "^7.0.0",
33
+ "mocha": "^7.0.0",
34
+ "rimraf": "^3.0.0",
35
+ "sinon": "^9.0.1",
36
+ "sinon-chai": "^3.3.0",
37
+ "typescript": "^4.4.3",
38
+ "upath": "^1.2.0"
39
+ },
40
+ "files": [
41
+ "index.js",
42
+ "lib/*.js",
43
+ "types/index.d.ts"
44
+ ],
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "git+https://github.com/paulmillr/chokidar.git"
48
+ },
49
+ "bugs": {
50
+ "url": "https://github.com/paulmillr/chokidar/issues"
51
+ },
52
+ "license": "MIT",
53
+ "scripts": {
54
+ "dtslint": "dtslint types",
55
+ "lint": "eslint --report-unused-disable-directives --ignore-path .gitignore .",
56
+ "build": "npm ls",
57
+ "mocha": "mocha --exit --timeout 90000",
58
+ "test": "npm run lint && npm run mocha"
59
+ },
60
+ "keywords": [
61
+ "fs",
62
+ "watch",
63
+ "watchFile",
64
+ "watcher",
65
+ "watching",
66
+ "file",
67
+ "fsevents"
68
+ ],
69
+ "funding": "https://paulmillr.com/funding/"
70
+ }
workers1/auto3d/node_modules/chokidar/types/index.d.ts ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // TypeScript Version: 3.0
2
+
3
+ /// <reference types="node" />
4
+
5
+ import * as fs from "fs";
6
+ import { EventEmitter } from "events";
7
+ import { Matcher } from 'anymatch';
8
+
9
+ export class FSWatcher extends EventEmitter implements fs.FSWatcher {
10
+ options: WatchOptions;
11
+
12
+ /**
13
+ * Constructs a new FSWatcher instance with optional WatchOptions parameter.
14
+ */
15
+ constructor(options?: WatchOptions);
16
+
17
+ /**
18
+ * Add files, directories, or glob patterns for tracking. Takes an array of strings or just one
19
+ * string.
20
+ */
21
+ add(paths: string | ReadonlyArray<string>): this;
22
+
23
+ /**
24
+ * Stop watching files, directories, or glob patterns. Takes an array of strings or just one
25
+ * string.
26
+ */
27
+ unwatch(paths: string | ReadonlyArray<string>): this;
28
+
29
+ /**
30
+ * Returns an object representing all the paths on the file system being watched by this
31
+ * `FSWatcher` instance. The object's keys are all the directories (using absolute paths unless
32
+ * the `cwd` option was used), and the values are arrays of the names of the items contained in
33
+ * each directory.
34
+ */
35
+ getWatched(): {
36
+ [directory: string]: string[];
37
+ };
38
+
39
+ /**
40
+ * Removes all listeners from watched files.
41
+ */
42
+ close(): Promise<void>;
43
+
44
+ on(event: 'add'|'addDir'|'change', listener: (path: string, stats?: fs.Stats) => void): this;
45
+
46
+ on(event: 'all', listener: (eventName: 'add'|'addDir'|'change'|'unlink'|'unlinkDir', path: string, stats?: fs.Stats) => void): this;
47
+
48
+ /**
49
+ * Error occurred
50
+ */
51
+ on(event: 'error', listener: (error: Error) => void): this;
52
+
53
+ /**
54
+ * Exposes the native Node `fs.FSWatcher events`
55
+ */
56
+ on(event: 'raw', listener: (eventName: string, path: string, details: any) => void): this;
57
+
58
+ /**
59
+ * Fires when the initial scan is complete
60
+ */
61
+ on(event: 'ready', listener: () => void): this;
62
+
63
+ on(event: 'unlink'|'unlinkDir', listener: (path: string) => void): this;
64
+
65
+ on(event: string, listener: (...args: any[]) => void): this;
66
+
67
+ ref(): this;
68
+
69
+ unref(): this;
70
+ }
71
+
72
+ export interface WatchOptions {
73
+ /**
74
+ * Indicates whether the process should continue to run as long as files are being watched. If
75
+ * set to `false` when using `fsevents` to watch, no more events will be emitted after `ready`,
76
+ * even if the process continues to run.
77
+ */
78
+ persistent?: boolean;
79
+
80
+ /**
81
+ * ([anymatch](https://github.com/micromatch/anymatch)-compatible definition) Defines files/paths to
82
+ * be ignored. The whole relative or absolute path is tested, not just filename. If a function
83
+ * with two arguments is provided, it gets called twice per path - once with a single argument
84
+ * (the path), second time with two arguments (the path and the
85
+ * [`fs.Stats`](https://nodejs.org/api/fs.html#fs_class_fs_stats) object of that path).
86
+ */
87
+ ignored?: Matcher;
88
+
89
+ /**
90
+ * If set to `false` then `add`/`addDir` events are also emitted for matching paths while
91
+ * instantiating the watching as chokidar discovers these file paths (before the `ready` event).
92
+ */
93
+ ignoreInitial?: boolean;
94
+
95
+ /**
96
+ * When `false`, only the symlinks themselves will be watched for changes instead of following
97
+ * the link references and bubbling events through the link's path.
98
+ */
99
+ followSymlinks?: boolean;
100
+
101
+ /**
102
+ * The base directory from which watch `paths` are to be derived. Paths emitted with events will
103
+ * be relative to this.
104
+ */
105
+ cwd?: string;
106
+
107
+ /**
108
+ * If set to true then the strings passed to .watch() and .add() are treated as literal path
109
+ * names, even if they look like globs. Default: false.
110
+ */
111
+ disableGlobbing?: boolean;
112
+
113
+ /**
114
+ * Whether to use fs.watchFile (backed by polling), or fs.watch. If polling leads to high CPU
115
+ * utilization, consider setting this to `false`. It is typically necessary to **set this to
116
+ * `true` to successfully watch files over a network**, and it may be necessary to successfully
117
+ * watch files in other non-standard situations. Setting to `true` explicitly on OS X overrides
118
+ * the `useFsEvents` default.
119
+ */
120
+ usePolling?: boolean;
121
+
122
+ /**
123
+ * Whether to use the `fsevents` watching interface if available. When set to `true` explicitly
124
+ * and `fsevents` is available this supercedes the `usePolling` setting. When set to `false` on
125
+ * OS X, `usePolling: true` becomes the default.
126
+ */
127
+ useFsEvents?: boolean;
128
+
129
+ /**
130
+ * If relying upon the [`fs.Stats`](https://nodejs.org/api/fs.html#fs_class_fs_stats) object that
131
+ * may get passed with `add`, `addDir`, and `change` events, set this to `true` to ensure it is
132
+ * provided even in cases where it wasn't already available from the underlying watch events.
133
+ */
134
+ alwaysStat?: boolean;
135
+
136
+ /**
137
+ * If set, limits how many levels of subdirectories will be traversed.
138
+ */
139
+ depth?: number;
140
+
141
+ /**
142
+ * Interval of file system polling.
143
+ */
144
+ interval?: number;
145
+
146
+ /**
147
+ * Interval of file system polling for binary files. ([see list of binary extensions](https://gi
148
+ * thub.com/sindresorhus/binary-extensions/blob/master/binary-extensions.json))
149
+ */
150
+ binaryInterval?: number;
151
+
152
+ /**
153
+ * Indicates whether to watch files that don't have read permissions if possible. If watching
154
+ * fails due to `EPERM` or `EACCES` with this set to `true`, the errors will be suppressed
155
+ * silently.
156
+ */
157
+ ignorePermissionErrors?: boolean;
158
+
159
+ /**
160
+ * `true` if `useFsEvents` and `usePolling` are `false`). Automatically filters out artifacts
161
+ * that occur when using editors that use "atomic writes" instead of writing directly to the
162
+ * source file. If a file is re-added within 100 ms of being deleted, Chokidar emits a `change`
163
+ * event rather than `unlink` then `add`. If the default of 100 ms does not work well for you,
164
+ * you can override it by setting `atomic` to a custom value, in milliseconds.
165
+ */
166
+ atomic?: boolean | number;
167
+
168
+ /**
169
+ * can be set to an object in order to adjust timing params:
170
+ */
171
+ awaitWriteFinish?: AwaitWriteFinishOptions | boolean;
172
+ }
173
+
174
+ export interface AwaitWriteFinishOptions {
175
+ /**
176
+ * Amount of time in milliseconds for a file size to remain constant before emitting its event.
177
+ */
178
+ stabilityThreshold?: number;
179
+
180
+ /**
181
+ * File size polling interval.
182
+ */
183
+ pollInterval?: number;
184
+ }
185
+
186
+ /**
187
+ * produces an instance of `FSWatcher`.
188
+ */
189
+ export function watch(
190
+ paths: string | ReadonlyArray<string>,
191
+ options?: WatchOptions
192
+ ): FSWatcher;
workers1/auto3d/node_modules/cookie/HISTORY.md ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 0.5.0 / 2022-04-11
2
+ ==================
3
+
4
+ * Add `priority` option
5
+ * Fix `expires` option to reject invalid dates
6
+ * pref: improve default decode speed
7
+ * pref: remove slow string split in parse
8
+
9
+ 0.4.2 / 2022-02-02
10
+ ==================
11
+
12
+ * pref: read value only when assigning in parse
13
+ * pref: remove unnecessary regexp in parse
14
+
15
+ 0.4.1 / 2020-04-21
16
+ ==================
17
+
18
+ * Fix `maxAge` option to reject invalid values
19
+
20
+ 0.4.0 / 2019-05-15
21
+ ==================
22
+
23
+ * Add `SameSite=None` support
24
+
25
+ 0.3.1 / 2016-05-26
26
+ ==================
27
+
28
+ * Fix `sameSite: true` to work with draft-7 clients
29
+ - `true` now sends `SameSite=Strict` instead of `SameSite`
30
+
31
+ 0.3.0 / 2016-05-26
32
+ ==================
33
+
34
+ * Add `sameSite` option
35
+ - Replaces `firstPartyOnly` option, never implemented by browsers
36
+ * Improve error message when `encode` is not a function
37
+ * Improve error message when `expires` is not a `Date`
38
+
39
+ 0.2.4 / 2016-05-20
40
+ ==================
41
+
42
+ * perf: enable strict mode
43
+ * perf: use for loop in parse
44
+ * perf: use string concatination for serialization
45
+
46
+ 0.2.3 / 2015-10-25
47
+ ==================
48
+
49
+ * Fix cookie `Max-Age` to never be a floating point number
50
+
51
+ 0.2.2 / 2015-09-17
52
+ ==================
53
+
54
+ * Fix regression when setting empty cookie value
55
+ - Ease the new restriction, which is just basic header-level validation
56
+ * Fix typo in invalid value errors
57
+
58
+ 0.2.1 / 2015-09-17
59
+ ==================
60
+
61
+ * Throw on invalid values provided to `serialize`
62
+ - Ensures the resulting string is a valid HTTP header value
63
+
64
+ 0.2.0 / 2015-08-13
65
+ ==================
66
+
67
+ * Add `firstPartyOnly` option
68
+ * Throw better error for invalid argument to parse
69
+ * perf: hoist regular expression
70
+
71
+ 0.1.5 / 2015-09-17
72
+ ==================
73
+
74
+ * Fix regression when setting empty cookie value
75
+ - Ease the new restriction, which is just basic header-level validation
76
+ * Fix typo in invalid value errors
77
+
78
+ 0.1.4 / 2015-09-17
79
+ ==================
80
+
81
+ * Throw better error for invalid argument to parse
82
+ * Throw on invalid values provided to `serialize`
83
+ - Ensures the resulting string is a valid HTTP header value
84
+
85
+ 0.1.3 / 2015-05-19
86
+ ==================
87
+
88
+ * Reduce the scope of try-catch deopt
89
+ * Remove argument reassignments
90
+
91
+ 0.1.2 / 2014-04-16
92
+ ==================
93
+
94
+ * Remove unnecessary files from npm package
95
+
96
+ 0.1.1 / 2014-02-23
97
+ ==================
98
+
99
+ * Fix bad parse when cookie value contained a comma
100
+ * Fix support for `maxAge` of `0`
101
+
102
+ 0.1.0 / 2013-05-01
103
+ ==================
104
+
105
+ * Add `decode` option
106
+ * Add `encode` option
107
+
108
+ 0.0.6 / 2013-04-08
109
+ ==================
110
+
111
+ * Ignore cookie parts missing `=`
112
+
113
+ 0.0.5 / 2012-10-29
114
+ ==================
115
+
116
+ * Return raw cookie value if value unescape errors
117
+
118
+ 0.0.4 / 2012-06-21
119
+ ==================
120
+
121
+ * Use encode/decodeURIComponent for cookie encoding/decoding
122
+ - Improve server/client interoperability
123
+
124
+ 0.0.3 / 2012-06-06
125
+ ==================
126
+
127
+ * Only escape special characters per the cookie RFC
128
+
129
+ 0.0.2 / 2012-06-01
130
+ ==================
131
+
132
+ * Fix `maxAge` option to not throw error
133
+
134
+ 0.0.1 / 2012-05-28
135
+ ==================
136
+
137
+ * Add more tests
138
+
139
+ 0.0.0 / 2012-05-28
140
+ ==================
141
+
142
+ * Initial release
workers1/auto3d/node_modules/cookie/LICENSE ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2012-2014 Roman Shtylman <[email protected]>
4
+ Copyright (c) 2015 Douglas Christopher Wilson <[email protected]>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ 'Software'), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
+
workers1/auto3d/node_modules/cookie/README.md ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # cookie
2
+
3
+ [![NPM Version][npm-version-image]][npm-url]
4
+ [![NPM Downloads][npm-downloads-image]][npm-url]
5
+ [![Node.js Version][node-version-image]][node-version-url]
6
+ [![Build Status][github-actions-ci-image]][github-actions-ci-url]
7
+ [![Test Coverage][coveralls-image]][coveralls-url]
8
+
9
+ Basic HTTP cookie parser and serializer for HTTP servers.
10
+
11
+ ## Installation
12
+
13
+ This is a [Node.js](https://nodejs.org/en/) module available through the
14
+ [npm registry](https://www.npmjs.com/). Installation is done using the
15
+ [`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
16
+
17
+ ```sh
18
+ $ npm install cookie
19
+ ```
20
+
21
+ ## API
22
+
23
+ ```js
24
+ var cookie = require('cookie');
25
+ ```
26
+
27
+ ### cookie.parse(str, options)
28
+
29
+ Parse an HTTP `Cookie` header string and returning an object of all cookie name-value pairs.
30
+ The `str` argument is the string representing a `Cookie` header value and `options` is an
31
+ optional object containing additional parsing options.
32
+
33
+ ```js
34
+ var cookies = cookie.parse('foo=bar; equation=E%3Dmc%5E2');
35
+ // { foo: 'bar', equation: 'E=mc^2' }
36
+ ```
37
+
38
+ #### Options
39
+
40
+ `cookie.parse` accepts these properties in the options object.
41
+
42
+ ##### decode
43
+
44
+ Specifies a function that will be used to decode a cookie's value. Since the value of a cookie
45
+ has a limited character set (and must be a simple string), this function can be used to decode
46
+ a previously-encoded cookie value into a JavaScript string or other object.
47
+
48
+ The default function is the global `decodeURIComponent`, which will decode any URL-encoded
49
+ sequences into their byte representations.
50
+
51
+ **note** if an error is thrown from this function, the original, non-decoded cookie value will
52
+ be returned as the cookie's value.
53
+
54
+ ### cookie.serialize(name, value, options)
55
+
56
+ Serialize a cookie name-value pair into a `Set-Cookie` header string. The `name` argument is the
57
+ name for the cookie, the `value` argument is the value to set the cookie to, and the `options`
58
+ argument is an optional object containing additional serialization options.
59
+
60
+ ```js
61
+ var setCookie = cookie.serialize('foo', 'bar');
62
+ // foo=bar
63
+ ```
64
+
65
+ #### Options
66
+
67
+ `cookie.serialize` accepts these properties in the options object.
68
+
69
+ ##### domain
70
+
71
+ Specifies the value for the [`Domain` `Set-Cookie` attribute][rfc-6265-5.2.3]. By default, no
72
+ domain is set, and most clients will consider the cookie to apply to only the current domain.
73
+
74
+ ##### encode
75
+
76
+ Specifies a function that will be used to encode a cookie's value. Since value of a cookie
77
+ has a limited character set (and must be a simple string), this function can be used to encode
78
+ a value into a string suited for a cookie's value.
79
+
80
+ The default function is the global `encodeURIComponent`, which will encode a JavaScript string
81
+ into UTF-8 byte sequences and then URL-encode any that fall outside of the cookie range.
82
+
83
+ ##### expires
84
+
85
+ Specifies the `Date` object to be the value for the [`Expires` `Set-Cookie` attribute][rfc-6265-5.2.1].
86
+ By default, no expiration is set, and most clients will consider this a "non-persistent cookie" and
87
+ will delete it on a condition like exiting a web browser application.
88
+
89
+ **note** the [cookie storage model specification][rfc-6265-5.3] states that if both `expires` and
90
+ `maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this,
91
+ so if both are set, they should point to the same date and time.
92
+
93
+ ##### httpOnly
94
+
95
+ Specifies the `boolean` value for the [`HttpOnly` `Set-Cookie` attribute][rfc-6265-5.2.6]. When truthy,
96
+ the `HttpOnly` attribute is set, otherwise it is not. By default, the `HttpOnly` attribute is not set.
97
+
98
+ **note** be careful when setting this to `true`, as compliant clients will not allow client-side
99
+ JavaScript to see the cookie in `document.cookie`.
100
+
101
+ ##### maxAge
102
+
103
+ Specifies the `number` (in seconds) to be the value for the [`Max-Age` `Set-Cookie` attribute][rfc-6265-5.2.2].
104
+ The given number will be converted to an integer by rounding down. By default, no maximum age is set.
105
+
106
+ **note** the [cookie storage model specification][rfc-6265-5.3] states that if both `expires` and
107
+ `maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this,
108
+ so if both are set, they should point to the same date and time.
109
+
110
+ ##### path
111
+
112
+ Specifies the value for the [`Path` `Set-Cookie` attribute][rfc-6265-5.2.4]. By default, the path
113
+ is considered the ["default path"][rfc-6265-5.1.4].
114
+
115
+ ##### priority
116
+
117
+ Specifies the `string` to be the value for the [`Priority` `Set-Cookie` attribute][rfc-west-cookie-priority-00-4.1].
118
+
119
+ - `'low'` will set the `Priority` attribute to `Low`.
120
+ - `'medium'` will set the `Priority` attribute to `Medium`, the default priority when not set.
121
+ - `'high'` will set the `Priority` attribute to `High`.
122
+
123
+ More information about the different priority levels can be found in
124
+ [the specification][rfc-west-cookie-priority-00-4.1].
125
+
126
+ **note** This is an attribute that has not yet been fully standardized, and may change in the future.
127
+ This also means many clients may ignore this attribute until they understand it.
128
+
129
+ ##### sameSite
130
+
131
+ Specifies the `boolean` or `string` to be the value for the [`SameSite` `Set-Cookie` attribute][rfc-6265bis-09-5.4.7].
132
+
133
+ - `true` will set the `SameSite` attribute to `Strict` for strict same site enforcement.
134
+ - `false` will not set the `SameSite` attribute.
135
+ - `'lax'` will set the `SameSite` attribute to `Lax` for lax same site enforcement.
136
+ - `'none'` will set the `SameSite` attribute to `None` for an explicit cross-site cookie.
137
+ - `'strict'` will set the `SameSite` attribute to `Strict` for strict same site enforcement.
138
+
139
+ More information about the different enforcement levels can be found in
140
+ [the specification][rfc-6265bis-09-5.4.7].
141
+
142
+ **note** This is an attribute that has not yet been fully standardized, and may change in the future.
143
+ This also means many clients may ignore this attribute until they understand it.
144
+
145
+ ##### secure
146
+
147
+ Specifies the `boolean` value for the [`Secure` `Set-Cookie` attribute][rfc-6265-5.2.5]. When truthy,
148
+ the `Secure` attribute is set, otherwise it is not. By default, the `Secure` attribute is not set.
149
+
150
+ **note** be careful when setting this to `true`, as compliant clients will not send the cookie back to
151
+ the server in the future if the browser does not have an HTTPS connection.
152
+
153
+ ## Example
154
+
155
+ The following example uses this module in conjunction with the Node.js core HTTP server
156
+ to prompt a user for their name and display it back on future visits.
157
+
158
+ ```js
159
+ var cookie = require('cookie');
160
+ var escapeHtml = require('escape-html');
161
+ var http = require('http');
162
+ var url = require('url');
163
+
164
+ function onRequest(req, res) {
165
+ // Parse the query string
166
+ var query = url.parse(req.url, true, true).query;
167
+
168
+ if (query && query.name) {
169
+ // Set a new cookie with the name
170
+ res.setHeader('Set-Cookie', cookie.serialize('name', String(query.name), {
171
+ httpOnly: true,
172
+ maxAge: 60 * 60 * 24 * 7 // 1 week
173
+ }));
174
+
175
+ // Redirect back after setting cookie
176
+ res.statusCode = 302;
177
+ res.setHeader('Location', req.headers.referer || '/');
178
+ res.end();
179
+ return;
180
+ }
181
+
182
+ // Parse the cookies on the request
183
+ var cookies = cookie.parse(req.headers.cookie || '');
184
+
185
+ // Get the visitor name set in the cookie
186
+ var name = cookies.name;
187
+
188
+ res.setHeader('Content-Type', 'text/html; charset=UTF-8');
189
+
190
+ if (name) {
191
+ res.write('<p>Welcome back, <b>' + escapeHtml(name) + '</b>!</p>');
192
+ } else {
193
+ res.write('<p>Hello, new visitor!</p>');
194
+ }
195
+
196
+ res.write('<form method="GET">');
197
+ res.write('<input placeholder="enter your name" name="name"> <input type="submit" value="Set Name">');
198
+ res.end('</form>');
199
+ }
200
+
201
+ http.createServer(onRequest).listen(3000);
202
+ ```
203
+
204
+ ## Testing
205
+
206
+ ```sh
207
+ $ npm test
208
+ ```
209
+
210
+ ## Benchmark
211
+
212
+ ```
213
+ $ npm run bench
214
+
215
+ > [email protected] bench
216
+ > node benchmark/index.js
217
+
218
219
220
221
222
223
224
+ modules@93
225
226
+ napi@8
227
228
229
230
231
+ tz@2021a3
232
233
234
235
+
236
+ > node benchmark/parse-top.js
237
+
238
+ cookie.parse - top sites
239
+
240
+ 15 tests completed.
241
+
242
+ parse accounts.google.com x 2,421,245 ops/sec ±0.80% (188 runs sampled)
243
+ parse apple.com x 2,684,710 ops/sec ±0.59% (189 runs sampled)
244
+ parse cloudflare.com x 2,231,418 ops/sec ±0.76% (186 runs sampled)
245
+ parse docs.google.com x 2,316,357 ops/sec ±1.28% (187 runs sampled)
246
+ parse drive.google.com x 2,363,543 ops/sec ±0.49% (189 runs sampled)
247
+ parse en.wikipedia.org x 839,414 ops/sec ±0.53% (189 runs sampled)
248
+ parse linkedin.com x 553,797 ops/sec ±0.63% (190 runs sampled)
249
+ parse maps.google.com x 1,314,779 ops/sec ±0.72% (189 runs sampled)
250
+ parse microsoft.com x 153,783 ops/sec ±0.53% (190 runs sampled)
251
+ parse play.google.com x 2,249,574 ops/sec ±0.59% (187 runs sampled)
252
+ parse plus.google.com x 2,258,682 ops/sec ±0.60% (188 runs sampled)
253
+ parse sites.google.com x 2,247,069 ops/sec ±0.68% (189 runs sampled)
254
+ parse support.google.com x 1,456,840 ops/sec ±0.70% (187 runs sampled)
255
+ parse www.google.com x 1,046,028 ops/sec ±0.58% (188 runs sampled)
256
+ parse youtu.be x 937,428 ops/sec ±1.47% (190 runs sampled)
257
+ parse youtube.com x 963,878 ops/sec ±0.59% (190 runs sampled)
258
+
259
+ > node benchmark/parse.js
260
+
261
+ cookie.parse - generic
262
+
263
+ 6 tests completed.
264
+
265
+ simple x 2,745,604 ops/sec ±0.77% (185 runs sampled)
266
+ decode x 557,287 ops/sec ±0.60% (188 runs sampled)
267
+ unquote x 2,498,475 ops/sec ±0.55% (189 runs sampled)
268
+ duplicates x 868,591 ops/sec ±0.89% (187 runs sampled)
269
+ 10 cookies x 306,745 ops/sec ±0.49% (190 runs sampled)
270
+ 100 cookies x 22,414 ops/sec ±2.38% (182 runs sampled)
271
+ ```
272
+
273
+ ## References
274
+
275
+ - [RFC 6265: HTTP State Management Mechanism][rfc-6265]
276
+ - [Same-site Cookies][rfc-6265bis-09-5.4.7]
277
+
278
+ [rfc-west-cookie-priority-00-4.1]: https://tools.ietf.org/html/draft-west-cookie-priority-00#section-4.1
279
+ [rfc-6265bis-09-5.4.7]: https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-09#section-5.4.7
280
+ [rfc-6265]: https://tools.ietf.org/html/rfc6265
281
+ [rfc-6265-5.1.4]: https://tools.ietf.org/html/rfc6265#section-5.1.4
282
+ [rfc-6265-5.2.1]: https://tools.ietf.org/html/rfc6265#section-5.2.1
283
+ [rfc-6265-5.2.2]: https://tools.ietf.org/html/rfc6265#section-5.2.2
284
+ [rfc-6265-5.2.3]: https://tools.ietf.org/html/rfc6265#section-5.2.3
285
+ [rfc-6265-5.2.4]: https://tools.ietf.org/html/rfc6265#section-5.2.4
286
+ [rfc-6265-5.2.5]: https://tools.ietf.org/html/rfc6265#section-5.2.5
287
+ [rfc-6265-5.2.6]: https://tools.ietf.org/html/rfc6265#section-5.2.6
288
+ [rfc-6265-5.3]: https://tools.ietf.org/html/rfc6265#section-5.3
289
+
290
+ ## License
291
+
292
+ [MIT](LICENSE)
293
+
294
+ [coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/cookie/master
295
+ [coveralls-url]: https://coveralls.io/r/jshttp/cookie?branch=master
296
+ [github-actions-ci-image]: https://img.shields.io/github/workflow/status/jshttp/cookie/ci/master?label=ci
297
+ [github-actions-ci-url]: https://github.com/jshttp/cookie/actions/workflows/ci.yml
298
+ [node-version-image]: https://badgen.net/npm/node/cookie
299
+ [node-version-url]: https://nodejs.org/en/download
300
+ [npm-downloads-image]: https://badgen.net/npm/dm/cookie
301
+ [npm-url]: https://npmjs.org/package/cookie
302
+ [npm-version-image]: https://badgen.net/npm/v/cookie
workers1/auto3d/node_modules/cookie/SECURITY.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Security Policies and Procedures
2
+
3
+ ## Reporting a Bug
4
+
5
+ The `cookie` team and community take all security bugs seriously. Thank
6
+ you for improving the security of the project. We appreciate your efforts and
7
+ responsible disclosure and will make every effort to acknowledge your
8
+ contributions.
9
+
10
+ Report security bugs by emailing the current owner(s) of `cookie`. This
11
+ information can be found in the npm registry using the command
12
+ `npm owner ls cookie`.
13
+ If unsure or unable to get the information from the above, open an issue
14
+ in the [project issue tracker](https://github.com/jshttp/cookie/issues)
15
+ asking for the current contact information.
16
+
17
+ To ensure the timely response to your report, please ensure that the entirety
18
+ of the report is contained within the email body and not solely behind a web
19
+ link or an attachment.
20
+
21
+ At least one owner will acknowledge your email within 48 hours, and will send a
22
+ more detailed response within 48 hours indicating the next steps in handling
23
+ your report. After the initial reply to your report, the owners will
24
+ endeavor to keep you informed of the progress towards a fix and full
25
+ announcement, and may ask for additional information or guidance.
workers1/auto3d/node_modules/cookie/index.js ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * cookie
3
+ * Copyright(c) 2012-2014 Roman Shtylman
4
+ * Copyright(c) 2015 Douglas Christopher Wilson
5
+ * MIT Licensed
6
+ */
7
+
8
+ 'use strict';
9
+
10
+ /**
11
+ * Module exports.
12
+ * @public
13
+ */
14
+
15
+ exports.parse = parse;
16
+ exports.serialize = serialize;
17
+
18
+ /**
19
+ * Module variables.
20
+ * @private
21
+ */
22
+
23
+ var __toString = Object.prototype.toString
24
+
25
+ /**
26
+ * RegExp to match field-content in RFC 7230 sec 3.2
27
+ *
28
+ * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
29
+ * field-vchar = VCHAR / obs-text
30
+ * obs-text = %x80-FF
31
+ */
32
+
33
+ var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
34
+
35
+ /**
36
+ * Parse a cookie header.
37
+ *
38
+ * Parse the given cookie header string into an object
39
+ * The object has the various cookies as keys(names) => values
40
+ *
41
+ * @param {string} str
42
+ * @param {object} [options]
43
+ * @return {object}
44
+ * @public
45
+ */
46
+
47
+ function parse(str, options) {
48
+ if (typeof str !== 'string') {
49
+ throw new TypeError('argument str must be a string');
50
+ }
51
+
52
+ var obj = {}
53
+ var opt = options || {};
54
+ var dec = opt.decode || decode;
55
+
56
+ var index = 0
57
+ while (index < str.length) {
58
+ var eqIdx = str.indexOf('=', index)
59
+
60
+ // no more cookie pairs
61
+ if (eqIdx === -1) {
62
+ break
63
+ }
64
+
65
+ var endIdx = str.indexOf(';', index)
66
+
67
+ if (endIdx === -1) {
68
+ endIdx = str.length
69
+ } else if (endIdx < eqIdx) {
70
+ // backtrack on prior semicolon
71
+ index = str.lastIndexOf(';', eqIdx - 1) + 1
72
+ continue
73
+ }
74
+
75
+ var key = str.slice(index, eqIdx).trim()
76
+
77
+ // only assign once
78
+ if (undefined === obj[key]) {
79
+ var val = str.slice(eqIdx + 1, endIdx).trim()
80
+
81
+ // quoted values
82
+ if (val.charCodeAt(0) === 0x22) {
83
+ val = val.slice(1, -1)
84
+ }
85
+
86
+ obj[key] = tryDecode(val, dec);
87
+ }
88
+
89
+ index = endIdx + 1
90
+ }
91
+
92
+ return obj;
93
+ }
94
+
95
+ /**
96
+ * Serialize data into a cookie header.
97
+ *
98
+ * Serialize the a name value pair into a cookie string suitable for
99
+ * http headers. An optional options object specified cookie parameters.
100
+ *
101
+ * serialize('foo', 'bar', { httpOnly: true })
102
+ * => "foo=bar; httpOnly"
103
+ *
104
+ * @param {string} name
105
+ * @param {string} val
106
+ * @param {object} [options]
107
+ * @return {string}
108
+ * @public
109
+ */
110
+
111
+ function serialize(name, val, options) {
112
+ var opt = options || {};
113
+ var enc = opt.encode || encode;
114
+
115
+ if (typeof enc !== 'function') {
116
+ throw new TypeError('option encode is invalid');
117
+ }
118
+
119
+ if (!fieldContentRegExp.test(name)) {
120
+ throw new TypeError('argument name is invalid');
121
+ }
122
+
123
+ var value = enc(val);
124
+
125
+ if (value && !fieldContentRegExp.test(value)) {
126
+ throw new TypeError('argument val is invalid');
127
+ }
128
+
129
+ var str = name + '=' + value;
130
+
131
+ if (null != opt.maxAge) {
132
+ var maxAge = opt.maxAge - 0;
133
+
134
+ if (isNaN(maxAge) || !isFinite(maxAge)) {
135
+ throw new TypeError('option maxAge is invalid')
136
+ }
137
+
138
+ str += '; Max-Age=' + Math.floor(maxAge);
139
+ }
140
+
141
+ if (opt.domain) {
142
+ if (!fieldContentRegExp.test(opt.domain)) {
143
+ throw new TypeError('option domain is invalid');
144
+ }
145
+
146
+ str += '; Domain=' + opt.domain;
147
+ }
148
+
149
+ if (opt.path) {
150
+ if (!fieldContentRegExp.test(opt.path)) {
151
+ throw new TypeError('option path is invalid');
152
+ }
153
+
154
+ str += '; Path=' + opt.path;
155
+ }
156
+
157
+ if (opt.expires) {
158
+ var expires = opt.expires
159
+
160
+ if (!isDate(expires) || isNaN(expires.valueOf())) {
161
+ throw new TypeError('option expires is invalid');
162
+ }
163
+
164
+ str += '; Expires=' + expires.toUTCString()
165
+ }
166
+
167
+ if (opt.httpOnly) {
168
+ str += '; HttpOnly';
169
+ }
170
+
171
+ if (opt.secure) {
172
+ str += '; Secure';
173
+ }
174
+
175
+ if (opt.priority) {
176
+ var priority = typeof opt.priority === 'string'
177
+ ? opt.priority.toLowerCase()
178
+ : opt.priority
179
+
180
+ switch (priority) {
181
+ case 'low':
182
+ str += '; Priority=Low'
183
+ break
184
+ case 'medium':
185
+ str += '; Priority=Medium'
186
+ break
187
+ case 'high':
188
+ str += '; Priority=High'
189
+ break
190
+ default:
191
+ throw new TypeError('option priority is invalid')
192
+ }
193
+ }
194
+
195
+ if (opt.sameSite) {
196
+ var sameSite = typeof opt.sameSite === 'string'
197
+ ? opt.sameSite.toLowerCase() : opt.sameSite;
198
+
199
+ switch (sameSite) {
200
+ case true:
201
+ str += '; SameSite=Strict';
202
+ break;
203
+ case 'lax':
204
+ str += '; SameSite=Lax';
205
+ break;
206
+ case 'strict':
207
+ str += '; SameSite=Strict';
208
+ break;
209
+ case 'none':
210
+ str += '; SameSite=None';
211
+ break;
212
+ default:
213
+ throw new TypeError('option sameSite is invalid');
214
+ }
215
+ }
216
+
217
+ return str;
218
+ }
219
+
220
+ /**
221
+ * URL-decode string value. Optimized to skip native call when no %.
222
+ *
223
+ * @param {string} str
224
+ * @returns {string}
225
+ */
226
+
227
+ function decode (str) {
228
+ return str.indexOf('%') !== -1
229
+ ? decodeURIComponent(str)
230
+ : str
231
+ }
232
+
233
+ /**
234
+ * URL-encode value.
235
+ *
236
+ * @param {string} str
237
+ * @returns {string}
238
+ */
239
+
240
+ function encode (val) {
241
+ return encodeURIComponent(val)
242
+ }
243
+
244
+ /**
245
+ * Determine if value is a Date.
246
+ *
247
+ * @param {*} val
248
+ * @private
249
+ */
250
+
251
+ function isDate (val) {
252
+ return __toString.call(val) === '[object Date]' ||
253
+ val instanceof Date
254
+ }
255
+
256
+ /**
257
+ * Try decoding a string using a decoding function.
258
+ *
259
+ * @param {string} str
260
+ * @param {function} decode
261
+ * @private
262
+ */
263
+
264
+ function tryDecode(str, decode) {
265
+ try {
266
+ return decode(str);
267
+ } catch (e) {
268
+ return str;
269
+ }
270
+ }
workers1/auto3d/node_modules/cookie/package.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "cookie",
3
+ "description": "HTTP server cookie parsing and serialization",
4
+ "version": "0.5.0",
5
+ "author": "Roman Shtylman <[email protected]>",
6
+ "contributors": [
7
+ "Douglas Christopher Wilson <[email protected]>"
8
+ ],
9
+ "license": "MIT",
10
+ "keywords": [
11
+ "cookie",
12
+ "cookies"
13
+ ],
14
+ "repository": "jshttp/cookie",
15
+ "devDependencies": {
16
+ "beautify-benchmark": "0.2.4",
17
+ "benchmark": "2.1.4",
18
+ "eslint": "7.32.0",
19
+ "eslint-plugin-markdown": "2.2.1",
20
+ "mocha": "9.2.2",
21
+ "nyc": "15.1.0",
22
+ "safe-buffer": "5.2.1",
23
+ "top-sites": "1.1.97"
24
+ },
25
+ "files": [
26
+ "HISTORY.md",
27
+ "LICENSE",
28
+ "README.md",
29
+ "SECURITY.md",
30
+ "index.js"
31
+ ],
32
+ "engines": {
33
+ "node": ">= 0.6"
34
+ },
35
+ "scripts": {
36
+ "bench": "node benchmark/index.js",
37
+ "lint": "eslint .",
38
+ "test": "mocha --reporter spec --bail --check-leaks test/",
39
+ "test-ci": "nyc --reporter=lcov --reporter=text npm test",
40
+ "test-cov": "nyc --reporter=html --reporter=text npm test",
41
+ "update-bench": "node scripts/update-benchmark.js",
42
+ "version": "node scripts/version-history.js && git add HISTORY.md"
43
+ }
44
+ }
workers1/auto3d/node_modules/data-uri-to-buffer/.travis.yml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sudo: false
2
+
3
+ language: node_js
4
+
5
+ node_js:
6
+ - "1"
7
+ - "2"
8
+ - "3"
9
+ - "4"
10
+ - "5"
11
+ - "6"
12
+ - "7"
13
+ - "8"
14
+
15
+ install:
16
+ - PATH="`npm bin`:`npm bin -g`:$PATH"
17
+ # Install dependencies and build
18
+ - npm install
19
+
20
+ script:
21
+ # Output useful info for debugging
22
+ - node --version
23
+ - npm --version
24
+ # Run tests
25
+ - npm test
workers1/auto3d/node_modules/data-uri-to-buffer/History.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ 2.0.0 / 2017-07-18
3
+ ==================
4
+
5
+ * More correct media type handling
6
+ * add typings for Typescript
7
+
8
+ 1.2.0 / 2017-07-18
9
+ ==================
10
+
11
+ * Essentially identical to v1.0.0. Reverting changes from v1.1.0 because they are breaking changes and should be part of a major version bump
12
+ * Revert "More correct media type handling"
13
+ * Revert "add typings for Typescript"
14
+
15
+ 1.1.0 / 2017-07-17
16
+ ==================
17
+
18
+ * More correct media type handling
19
+ * Add typings for Typescript
20
+
21
+ 1.0.0 / 2017-06-09
22
+ ==================
23
+
24
+ * Bumping to v1.0.0 for semver semantics
25
+ * random updates for newer Node.js versions
26
+ * travis: test more node versions and fix v0.8
27
+
28
+ 0.0.4 / 2015-06-29
29
+ ==================
30
+
31
+ * package: update "mocha" to v2
32
+ * package: add RFC to the "keywords" section
33
+ * travis: test node v0.8, v0.10, and v0.12
34
+ * README: use SVG for Travis-CI badge
35
+ * test: more tests
36
+
37
+ 0.0.3 / 2014-01-08
38
+ ==================
39
+
40
+ * index: fix a URI with a comma in the data portion
41
+
42
+ 0.0.2 / 2014-01-08
43
+ ==================
44
+
45
+ * index: use unescape() instead of decodeURIComponent()
46
+ * test: add more tests from Mozilla
47
+
48
+ 0.0.1 / 2014-01-02
49
+ ==================
50
+
51
+ * add `README.md`
52
+ * index: default the `charset` property to "US-ASCII"
53
+ * default encoding is "ascii"
54
+ * default `type` to "text/plain" when none is given
55
+ * initial commit
workers1/auto3d/node_modules/data-uri-to-buffer/README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ data-uri-to-buffer
2
+ ==================
3
+ ### Generate a Buffer instance from a [Data URI][rfc] string
4
+ [![Build Status](https://travis-ci.org/TooTallNate/node-data-uri-to-buffer.svg?branch=master)](https://travis-ci.org/TooTallNate/node-data-uri-to-buffer)
5
+
6
+ This module accepts a ["data" URI][rfc] String of data, and returns a
7
+ node.js `Buffer` instance with the decoded data.
8
+
9
+
10
+ Installation
11
+ ------------
12
+
13
+ Install with `npm`:
14
+
15
+ ``` bash
16
+ $ npm install data-uri-to-buffer
17
+ ```
18
+
19
+
20
+ Example
21
+ -------
22
+
23
+ ``` js
24
+ var dataUriToBuffer = require('data-uri-to-buffer');
25
+
26
+ // plain-text data is supported
27
+ var uri = 'data:,Hello%2C%20World!';
28
+ var decoded = dataUriToBuffer(uri);
29
+ console.log(decoded.toString());
30
+ // 'Hello, World!'
31
+
32
+ // base64-encoded data is supported
33
+ uri = 'data:text/plain;base64,SGVsbG8sIFdvcmxkIQ%3D%3D';
34
+ decoded = dataUriToBuffer(uri);
35
+ console.log(decoded.toString());
36
+ // 'Hello, World!'
37
+ ```
38
+
39
+
40
+ API
41
+ ---
42
+
43
+ ### dataUriToBuffer(String uri) → Buffer
44
+
45
+ The `type` property on the Buffer instance gets set to the main type portion of
46
+ the "mediatype" portion of the "data" URI, or defaults to `"text/plain"` if not
47
+ specified.
48
+
49
+ The `typeFull` property on the Buffer instance gets set to the entire
50
+ "mediatype" portion of the "data" URI (including all parameters), or defaults
51
+ to `"text/plain;charset=US-ASCII"` if not specified.
52
+
53
+ The `charset` property on the Buffer instance gets set to the Charset portion of
54
+ the "mediatype" portion of the "data" URI, or defaults to `"US-ASCII"` if the
55
+ entire type is not specified, or defaults to `""` otherwise.
56
+
57
+ *Note*: If the only the main type is specified but not the charset, e.g.
58
+ `"data:text/plain,abc"`, the charset is set to the empty string. The spec only
59
+ defaults to US-ASCII as charset if the entire type is not specified.
60
+
61
+
62
+ License
63
+ -------
64
+
65
+ (The MIT License)
66
+
67
+ Copyright (c) 2014 Nathan Rajlich &lt;[email protected]&gt;
68
+
69
+ Permission is hereby granted, free of charge, to any person obtaining
70
+ a copy of this software and associated documentation files (the
71
+ 'Software'), to deal in the Software without restriction, including
72
+ without limitation the rights to use, copy, modify, merge, publish,
73
+ distribute, sublicense, and/or sell copies of the Software, and to
74
+ permit persons to whom the Software is furnished to do so, subject to
75
+ the following conditions:
76
+
77
+ The above copyright notice and this permission notice shall be
78
+ included in all copies or substantial portions of the Software.
79
+
80
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
81
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
82
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
83
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
84
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
85
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
86
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
87
+
88
+ [rfc]: http://tools.ietf.org/html/rfc2397