@dxos/protobuf-compiler 2.33.9-dev.bba8fc00 → 2.33.9-dev.c5024091

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import protobufjs from 'protobufjs';
2
3
  import * as ts from 'typescript';
3
4
  import { ModuleSpecifier } from '../module-specifier';
@@ -1 +1 @@
1
- {"version":3,"file":"serializer-definition-generator.d.ts","sourceRoot":"","sources":["../../../src/generator/serializer-definition-generator.ts"],"names":[],"mappings":"AAIA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,EAAgB,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAKpE,eAAO,MAAM,0BAA0B,wBAAyB,eAAe,GAAG,SAAS,QAAQ,WAAW,IAAI,cAAc,MAAM,KAAG;IAAE,OAAO,EAAE,GAAG,SAAS,EAAE,CAAC;IAAC,SAAS,GAAG,SAAS,EAAE,CAAA;CAmD1L,CAAC"}
1
+ {"version":3,"file":"serializer-definition-generator.d.ts","sourceRoot":"","sources":["../../../src/generator/serializer-definition-generator.ts"],"names":[],"mappings":";AAIA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,EAAgB,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAKpE,eAAO,MAAM,0BAA0B,wBAAyB,eAAe,GAAG,SAAS,QAAQ,WAAW,IAAI,cAAc,MAAM,KAAG;IAAE,OAAO,EAAE,GAAG,SAAS,EAAE,CAAC;IAAC,SAAS,GAAG,SAAS,EAAE,CAAA;CAmD1L,CAAC"}
@@ -25,7 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
+ var __importDefault = (this && this.__importDefault) || function (mod) {
29
+ return (mod && mod.__esModule) ? mod : { "default": mod };
30
+ };
28
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
+ const expect_1 = __importDefault(require("expect"));
33
+ const mocha_1 = require("mocha");
29
34
  const path_1 = require("path");
30
35
  const pb = __importStar(require("protobufjs"));
31
36
  const configure_1 = require("./configure");
@@ -33,10 +38,10 @@ const namespaces_1 = require("./namespaces");
33
38
  const parser_1 = require("./parser");
34
39
  (0, parser_1.registerResolver)();
35
40
  (0, configure_1.preconfigureProtobufjs)();
36
- test('split namespaces', async () => {
41
+ (0, mocha_1.it)('split namespaces', async () => {
37
42
  const root = await pb.load((0, path_1.join)(__dirname, '../test/proto/schema.proto'));
38
43
  const namespaces = (0, namespaces_1.splitSchemaIntoNamespaces)(root);
39
- expect(Array.from(namespaces.keys()).sort()).toEqual([
44
+ (0, expect_1.default)(Array.from(namespaces.keys()).sort()).toEqual([
40
45
  'dxos.test',
41
46
  'dxos.test.any',
42
47
  'dxos.test.extensions',
@@ -1 +1 @@
1
- {"version":3,"file":"namespaces.test.js","sourceRoot":"","sources":["../../src/namespaces.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,+BAA4B;AAC5B,+CAAiC;AAEjC,2CAAqD;AACrD,6CAAyD;AACzD,qCAA4C;AAE5C,IAAA,yBAAgB,GAAE,CAAC;AACnB,IAAA,kCAAsB,GAAE,CAAC;AAEzB,IAAI,CAAC,kBAAkB,EAAE,KAAK,IAAI,EAAE;IAClC,MAAM,IAAI,GAAG,MAAM,EAAE,CAAC,IAAI,CAAC,IAAA,WAAI,EAAC,SAAS,EAAE,4BAA4B,CAAC,CAAC,CAAC;IAC1E,MAAM,UAAU,GAAG,IAAA,sCAAyB,EAAC,IAAI,CAAC,CAAC;IAEnD,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC;QACnD,WAAW;QACX,eAAe;QACf,sBAAsB;QACtB,mBAAmB;QACnB,iBAAiB;KAClB,CAAC,IAAI,EAAE,CAAC,CAAC;AACZ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"namespaces.test.js","sourceRoot":"","sources":["../../src/namespaces.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,oDAA4B;AAC5B,iCAAmC;AACnC,+BAA4B;AAC5B,+CAAiC;AAEjC,2CAAqD;AACrD,6CAAyD;AACzD,qCAA4C;AAE5C,IAAA,yBAAgB,GAAE,CAAC;AACnB,IAAA,kCAAsB,GAAE,CAAC;AAEzB,IAAA,UAAI,EAAC,kBAAkB,EAAE,KAAK,IAAI,EAAE;IAClC,MAAM,IAAI,GAAG,MAAM,EAAE,CAAC,IAAI,CAAC,IAAA,WAAI,EAAC,SAAS,EAAE,4BAA4B,CAAC,CAAC,CAAC;IAC1E,MAAM,UAAU,GAAG,IAAA,sCAAyB,EAAC,IAAI,CAAC,CAAC;IAEnD,IAAA,gBAAM,EAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC;QACnD,WAAW;QACX,eAAe;QACf,sBAAsB;QACtB,mBAAmB;QACnB,iBAAiB;KAClB,CAAC,IAAI,EAAE,CAAC,CAAC;AACZ,CAAC,CAAC,CAAC"}
@@ -37,6 +37,87 @@ export interface Scalars {
37
37
  stringField: string;
38
38
  bytesField: Uint8Array;
39
39
  }
40
+ /**
41
+ * Defined in:
42
+ * {@link file://./../../schema.proto}
43
+ */
44
+ export interface OptionalScalars {
45
+ /**
46
+ * Options:
47
+ * - proto3_optional = true
48
+ */
49
+ doubleField?: number;
50
+ /**
51
+ * Options:
52
+ * - proto3_optional = true
53
+ */
54
+ floatField?: number;
55
+ /**
56
+ * Options:
57
+ * - proto3_optional = true
58
+ */
59
+ int32Field?: number;
60
+ /**
61
+ * Options:
62
+ * - proto3_optional = true
63
+ */
64
+ int64Field?: string;
65
+ /**
66
+ * Options:
67
+ * - proto3_optional = true
68
+ */
69
+ uint32Field?: number;
70
+ /**
71
+ * Options:
72
+ * - proto3_optional = true
73
+ */
74
+ uint64Field?: string;
75
+ /**
76
+ * Options:
77
+ * - proto3_optional = true
78
+ */
79
+ sint32Field?: number;
80
+ /**
81
+ * Options:
82
+ * - proto3_optional = true
83
+ */
84
+ sint64Field?: string;
85
+ /**
86
+ * Options:
87
+ * - proto3_optional = true
88
+ */
89
+ fixed32Field?: number;
90
+ /**
91
+ * Options:
92
+ * - proto3_optional = true
93
+ */
94
+ fixed64Field?: string;
95
+ /**
96
+ * Options:
97
+ * - proto3_optional = true
98
+ */
99
+ sfixed32Field?: number;
100
+ /**
101
+ * Options:
102
+ * - proto3_optional = true
103
+ */
104
+ sfixed64Field?: string;
105
+ /**
106
+ * Options:
107
+ * - proto3_optional = true
108
+ */
109
+ boolField?: boolean;
110
+ /**
111
+ * Options:
112
+ * - proto3_optional = true
113
+ */
114
+ stringField?: string;
115
+ /**
116
+ * Options:
117
+ * - proto3_optional = true
118
+ */
119
+ bytesField?: Uint8Array;
120
+ }
40
121
  /**
41
122
  * Defined in:
42
123
  * {@link file://./../../schema.proto}
@@ -85,7 +166,7 @@ export interface WithTimestamp {
85
166
  * {@link file://./../../schema.proto}
86
167
  */
87
168
  export interface Outer {
88
- inner: ComplexFields.Inner;
169
+ inner: Outer.Inner;
89
170
  }
90
171
  export declare namespace Outer {
91
172
  /**
@@ -93,7 +174,7 @@ export declare namespace Outer {
93
174
  * {@link file://./../../schema.proto}
94
175
  */
95
176
  interface Inner {
96
- inner: ComplexFields.InnerEnum;
177
+ num: number;
97
178
  }
98
179
  }
99
180
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../../../../test/proto/gen/dxos/test.ts"],"names":[],"mappings":"AAAA,OAAO,KA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I,CAAC;CACpB;AACD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC7B,QAAQ,EAAE,CAAC,OAAO,EAAE,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,cAAc,EAAE,CAAC,OAAO,EAAE,IAAI,KAAK,MAAM,CAAC,IAAI,CAAC,CAAC;CACnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"test.js","sourceRoot":"","sources":["../../../../../test/proto/gen/dxos/test.ts"],"names":[],"mappings":";;;AA4DA,IAAiB,aAAa,CAiB7B;AAjBD,WAAiB,aAAa;IAS1B;;;OAGG;IACH,IAAY,SAGX;IAHD,WAAY,SAAS;QACjB,uCAAO,CAAA;QACP,uCAAO,CAAA;IACX,CAAC,EAHW,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAGpB;AACL,CAAC,EAjBgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAiB7B;AAwBD;;;GAGG;AACH,IAAY,QAGX;AAHD,WAAY,QAAQ;IAChB,qDAAe,CAAA;IACf,iDAAa,CAAA;AACjB,CAAC,EAHW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAGnB"}
1
+ {"version":3,"file":"test.js","sourceRoot":"","sources":["../../../../../test/proto/gen/dxos/test.ts"],"names":[],"mappings":";;;AA6IA,IAAiB,aAAa,CAiB7B;AAjBD,WAAiB,aAAa;IAS1B;;;OAGG;IACH,IAAY,SAGX;IAHD,WAAY,SAAS;QACjB,uCAAO,CAAA;QACP,uCAAO,CAAA;IACX,CAAC,EAHW,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAGpB;AACL,CAAC,EAjBgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAiB7B;AAwBD;;;GAGG;AACH,IAAY,QAGX;AAHD,WAAY,QAAQ;IAChB,qDAAe,CAAA;IACf,iDAAa,CAAA;AACjB,CAAC,EAHW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAGnB"}
@@ -16,6 +16,7 @@ export interface TYPES {
16
16
  "dxos.test.extensions.OptionsObject": dxos_test_extensions.OptionsObject;
17
17
  "dxos.test.extensions.WithDefaultField": dxos_test_extensions.WithDefaultField;
18
18
  "dxos.test.Key": dxos_test.Key;
19
+ "dxos.test.OptionalScalars": dxos_test.OptionalScalars;
19
20
  "dxos.test.Outer": dxos_test.Outer;
20
21
  "dxos.test.Outer.Inner": dxos_test.Outer.Inner;
21
22
  "dxos.test.Scalars": dxos_test.Scalars;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../test/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,oBAAoB,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AAErD,MAAM,WAAW,KAAK;IAClB,kCAAkC,EAAE,iBAAiB,CAAC,cAAc,CAAC;IACrE,eAAe,EAAE,SAAS,CAAC,GAAG,CAAC;IAC/B,mBAAmB,EAAE,aAAa,CAAC,GAAG,CAAC;IACvC,yBAAyB,EAAE,SAAS,CAAC,aAAa,CAAC;IACnD,+BAA+B,EAAE,SAAS,CAAC,aAAa,CAAC,KAAK,CAAC;IAC/D,mCAAmC,EAAE,SAAS,CAAC,aAAa,CAAC,SAAS,CAAC;IACvE,sDAAsD,EAAE,oBAAoB,CAAC,+BAA+B,CAAC;IAC7G,oCAAoC,EAAE,oBAAoB,CAAC,aAAa,CAAC;IACzE,uCAAuC,EAAE,oBAAoB,CAAC,gBAAgB,CAAC;IAC/E,eAAe,EAAE,SAAS,CAAC,GAAG,CAAC;IAC/B,iBAAiB,EAAE,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uCAAuC,EAAE,eAAe,CAAC,qBAAqB,CAAC;IAC/E,+BAA+B,EAAE,eAAe,CAAC,aAAa,CAAC;IAC/D,sCAAsC,EAAE,eAAe,CAAC,oBAAoB,CAAC;IAC7E,8BAA8B,EAAE,eAAe,CAAC,YAAY,CAAC;IAC7D,wCAAwC,EAAE,eAAe,CAAC,sBAAsB,CAAC;IACjF,gCAAgC,EAAE,eAAe,CAAC,cAAc,CAAC;IACjE,gCAAgC,EAAE,eAAe,CAAC,cAAc,CAAC;IACjE,yCAAyC,EAAE,eAAe,CAAC,cAAc,CAAC,QAAQ,CAAC;IACnF,2BAA2B,EAAE,eAAe,CAAC,SAAS,CAAC;IACvD,qCAAqC,EAAE,eAAe,CAAC,mBAAmB,CAAC;IAC3E,8CAA8C,EAAE,eAAe,CAAC,mBAAmB,CAAC,QAAQ,CAAC;CAChG;AACD,MAAM,WAAW,QAAQ;IACrB,4BAA4B,EAAE,SAAS,CAAC,gBAAgB,CAAC;IACzD,uBAAuB,EAAE,SAAS,CAAC,WAAW,CAAC;CAClD;AACD,eAAO,MAAM,UAAU,KAAu7hB,CAAC;AAC/8hB,eAAO,MAAM,MAAM,yBAA8D,CAAC"}
@@ -6,6 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.schema = exports.schemaJson = void 0;
7
7
  const codec_protobuf_1 = require("@dxos/codec-protobuf");
8
8
  const substitutions_1 = __importDefault(require("../substitutions"));
9
- exports.schemaJson = JSON.parse("{\"nested\":{\"dxos\":{\"nested\":{\"test\":{\"nested\":{\"another\":{\"nested\":{\"AnotherMessage\":{\"fields\":{},\"comment\":null}}},\"any\":{\"nested\":{\"Any\":{\"fields\":{\"bar\":{\"type\":\"int32\",\"id\":1,\"comment\":null}},\"comment\":null}}},\"Any\":{\"fields\":{\"foo\":{\"type\":\"string\",\"id\":1,\"comment\":null}},\"comment\":null},\"ComplexFields\":{\"oneofs\":{\"_fooTest\":{\"oneof\":[\"fooTest\"]}},\"fields\":{\"repeatedField\":{\"rule\":\"repeated\",\"type\":\"Key\",\"id\":16,\"comment\":null},\"requiredField\":{\"rule\":\"required\",\"type\":\"Key\",\"id\":17,\"comment\":null},\"mappedField\":{\"keyType\":\"string\",\"type\":\"Key\",\"id\":18,\"comment\":null},\"inner\":{\"type\":\"Inner\",\"id\":19,\"comment\":null},\"myAny\":{\"type\":\"Any\",\"id\":20,\"comment\":null},\"googleAny\":{\"type\":\"google.protobuf.Any\",\"id\":21,\"comment\":null},\"importedAny\":{\"type\":\"dxos.test.any.Any\",\"id\":22,\"comment\":null},\"fooTest\":{\"type\":\"TestFoo\",\"id\":23,\"options\":{\"proto3_optional\":true},\"comment\":null}},\"nested\":{\"Inner\":{\"fields\":{\"foo\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"bar\":{\"type\":\"InnerEnum\",\"id\":2,\"comment\":null}},\"comment\":null},\"InnerEnum\":{\"values\":{\"FOO\":1,\"BAR\":2},\"comment\":null,\"comments\":{\"FOO\":null,\"BAR\":null}}},\"comment\":null},\"extensions\":{\"nested\":{\"ContainingMessageWithExtensions\":{\"oneofs\":{\"kind\":{\"oneof\":[\"str\",\"msg\"],\"comment\":null}},\"fields\":{\"str\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"msg\":{\"type\":\"WithDefaultField\",\"id\":2,\"comment\":null}},\"comment\":null},\"defaultValue\":{\"type\":\"string\",\"id\":5001,\"extend\":\"google.protobuf.FieldOptions\",\"comment\":null},\"optionsObj\":{\"type\":\"OptionsObject\",\"id\":5002,\"extend\":\"google.protobuf.FieldOptions\",\"comment\":null},\"OptionsObject\":{\"fields\":{\"field\":{\"type\":\"int32\",\"id\":1,\"comment\":null}},\"comment\":null},\"WithDefaultField\":{\"fields\":{\"tag\":{\"type\":\"string\",\"id\":1,\"options\":{\"(defaultValue)\":\"latest\",\"(optionsObj).field\":3},\"comment\":\"Tag\"}},\"comment\":null}}},\"Key\":{\"fields\":{\"data\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":null},\"Outer\":{\"fields\":{\"inner\":{\"type\":\"ComplexFields.Inner\",\"id\":1,\"comment\":null}},\"nested\":{\"Inner\":{\"fields\":{\"inner\":{\"type\":\"ComplexFields.InnerEnum\",\"id\":1,\"comment\":null}},\"comment\":null}},\"comment\":null},\"Scalars\":{\"fields\":{\"doubleField\":{\"type\":\"double\",\"id\":1,\"comment\":null},\"floatField\":{\"type\":\"float\",\"id\":2,\"comment\":null},\"int32Field\":{\"type\":\"int32\",\"id\":3,\"comment\":null},\"int64Field\":{\"type\":\"int64\",\"id\":4,\"comment\":null},\"uint32Field\":{\"type\":\"uint32\",\"id\":5,\"comment\":null},\"uint64Field\":{\"type\":\"uint64\",\"id\":6,\"comment\":null},\"sint32Field\":{\"type\":\"sint32\",\"id\":7,\"comment\":null},\"sint64Field\":{\"type\":\"sint64\",\"id\":8,\"comment\":null},\"fixed32Field\":{\"type\":\"fixed32\",\"id\":9,\"comment\":null},\"fixed64Field\":{\"type\":\"fixed64\",\"id\":10,\"comment\":null},\"sfixed32Field\":{\"type\":\"sfixed32\",\"id\":11,\"comment\":null},\"sfixed64Field\":{\"type\":\"sfixed64\",\"id\":12,\"comment\":null},\"boolField\":{\"type\":\"bool\",\"id\":13,\"comment\":null},\"stringField\":{\"type\":\"string\",\"id\":14,\"comment\":null},\"bytesField\":{\"type\":\"bytes\",\"id\":15,\"comment\":null}},\"comment\":null},\"ServiceWithEmpty\":{\"methods\":{\"EmptyRpc\":{\"requestType\":\"google.protobuf.Empty\",\"responseType\":\"google.protobuf.Empty\",\"comment\":null},\"EmptyStreamRpc\":{\"requestType\":\"google.protobuf.Empty\",\"responseType\":\"google.protobuf.Empty\",\"responseStream\":true,\"comment\":null}},\"comment\":null},\"SubstitutedByInterface\":{\"fields\":{\"foo\":{\"type\":\"string\",\"id\":1,\"comment\":null}},\"comment\":null},\"Task\":{\"oneofs\":{\"_title\":{\"oneof\":[\"title\"]},\"_googleAny\":{\"oneof\":[\"googleAny\"]}},\"fields\":{\"id\":{\"type\":\"string\",\"id\":1,\"comment\":\"Task id\"},\"title\":{\"type\":\"string\",\"id\":2,\"options\":{\"proto3_optional\":true},\"comment\":\"Task title\"},\"key\":{\"rule\":\"required\",\"type\":\"Key\",\"id\":3,\"comment\":\"Task key.\\nMultiline field comment.\"},\"type\":{\"rule\":\"required\",\"type\":\"TaskType\",\"id\":4,\"comment\":null},\"googleAny\":{\"type\":\"google.protobuf.Any\",\"id\":5,\"options\":{\"proto3_optional\":true},\"comment\":null}},\"comment\":\"Task.\\nComments can be multiline.\"},\"TaskCount\":{\"fields\":{\"count\":{\"type\":\"int32\",\"id\":1,\"comment\":null}},\"comment\":null},\"TaskList\":{\"fields\":{\"tasks\":{\"rule\":\"repeated\",\"type\":\"Task\",\"id\":1,\"comment\":null}},\"comment\":null},\"TaskType\":{\"values\":{\"IN_PROGRESS\":1,\"COMPLETED\":2},\"comment\":null,\"comments\":{\"IN_PROGRESS\":null,\"COMPLETED\":null}},\"testfoo\":{\"nested\":{\"TestFoo\":{\"fields\":{\"fizz\":{\"type\":\"uint32\",\"id\":1,\"comment\":null},\"bazz\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null}}},\"TestService\":{\"methods\":{\"CountTasks\":{\"requestType\":\"TaskList\",\"responseType\":\"TaskCount\",\"comment\":\"Count the tasks in the task list.\"},\"SubscribeTasks\":{\"requestType\":\"Key\",\"responseType\":\"Task\",\"responseStream\":true,\"comment\":\"Subscribe to task list updates.\"}},\"comment\":\"Test service definition.\"},\"WithEmptyField\":{\"fields\":{\"emptyField\":{\"type\":\"google.protobuf.Empty\",\"id\":1,\"comment\":null}},\"comment\":null},\"WithTimestamp\":{\"fields\":{\"timestamp\":{\"type\":\"google.protobuf.Timestamp\",\"id\":1,\"comment\":null}},\"comment\":null}}}}},\"google\":{\"nested\":{\"protobuf\":{\"nested\":{\"Any\":{\"fields\":{\"type_url\":{\"type\":\"string\",\"id\":1},\"value\":{\"type\":\"bytes\",\"id\":2}},\"comment\":null},\"DescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"field\":{\"rule\":\"repeated\",\"type\":\"FieldDescriptorProto\",\"id\":2},\"extension\":{\"rule\":\"repeated\",\"type\":\"FieldDescriptorProto\",\"id\":6},\"nestedType\":{\"rule\":\"repeated\",\"type\":\"DescriptorProto\",\"id\":3},\"enumType\":{\"rule\":\"repeated\",\"type\":\"EnumDescriptorProto\",\"id\":4},\"extensionRange\":{\"rule\":\"repeated\",\"type\":\"ExtensionRange\",\"id\":5},\"oneofDecl\":{\"rule\":\"repeated\",\"type\":\"OneofDescriptorProto\",\"id\":8},\"options\":{\"type\":\"MessageOptions\",\"id\":7},\"reservedRange\":{\"rule\":\"repeated\",\"type\":\"ReservedRange\",\"id\":9},\"reservedName\":{\"rule\":\"repeated\",\"type\":\"string\",\"id\":10}},\"nested\":{\"ExtensionRange\":{\"fields\":{\"start\":{\"type\":\"int32\",\"id\":1},\"end\":{\"type\":\"int32\",\"id\":2}},\"comment\":null},\"ReservedRange\":{\"fields\":{\"start\":{\"type\":\"int32\",\"id\":1},\"end\":{\"type\":\"int32\",\"id\":2}},\"comment\":null}},\"comment\":null},\"Empty\":{\"fields\":{},\"comment\":null},\"EnumDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"value\":{\"rule\":\"repeated\",\"type\":\"EnumValueDescriptorProto\",\"id\":2},\"options\":{\"type\":\"EnumOptions\",\"id\":3}},\"comment\":null},\"EnumOptions\":{\"fields\":{\"allowAlias\":{\"type\":\"bool\",\"id\":2},\"deprecated\":{\"type\":\"bool\",\"id\":3},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"comment\":null},\"EnumValueDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"number\":{\"type\":\"int32\",\"id\":2},\"options\":{\"type\":\"EnumValueOptions\",\"id\":3}},\"comment\":null},\"EnumValueOptions\":{\"fields\":{\"deprecated\":{\"type\":\"bool\",\"id\":1},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"comment\":null},\"FieldDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"number\":{\"type\":\"int32\",\"id\":3},\"label\":{\"type\":\"Label\",\"id\":4},\"type\":{\"type\":\"Type\",\"id\":5},\"typeName\":{\"type\":\"string\",\"id\":6},\"extendee\":{\"type\":\"string\",\"id\":2},\"defaultValue\":{\"type\":\"string\",\"id\":7},\"oneofIndex\":{\"type\":\"int32\",\"id\":9},\"jsonName\":{\"type\":\"string\",\"id\":10},\"options\":{\"type\":\"FieldOptions\",\"id\":8}},\"nested\":{\"Label\":{\"values\":{\"LABEL_OPTIONAL\":1,\"LABEL_REQUIRED\":2,\"LABEL_REPEATED\":3},\"comments\":{}},\"Type\":{\"values\":{\"TYPE_DOUBLE\":1,\"TYPE_FLOAT\":2,\"TYPE_INT64\":3,\"TYPE_UINT64\":4,\"TYPE_INT32\":5,\"TYPE_FIXED64\":6,\"TYPE_FIXED32\":7,\"TYPE_BOOL\":8,\"TYPE_STRING\":9,\"TYPE_GROUP\":10,\"TYPE_MESSAGE\":11,\"TYPE_BYTES\":12,\"TYPE_UINT32\":13,\"TYPE_ENUM\":14,\"TYPE_SFIXED32\":15,\"TYPE_SFIXED64\":16,\"TYPE_SINT32\":17,\"TYPE_SINT64\":18},\"comments\":{}}},\"comment\":null},\"FieldOptions\":{\"fields\":{\"ctype\":{\"type\":\"CType\",\"id\":1,\"options\":{\"default\":\"STRING\"}},\"packed\":{\"type\":\"bool\",\"id\":2},\"jstype\":{\"type\":\"JSType\",\"id\":6,\"options\":{\"default\":\"JS_NORMAL\"}},\"lazy\":{\"type\":\"bool\",\"id\":5},\"deprecated\":{\"type\":\"bool\",\"id\":3},\"weak\":{\"type\":\"bool\",\"id\":10},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"reserved\":[[4,4]],\"nested\":{\"CType\":{\"values\":{\"STRING\":0,\"CORD\":1,\"STRING_PIECE\":2},\"comments\":{}},\"JSType\":{\"values\":{\"JS_NORMAL\":0,\"JS_STRING\":1,\"JS_NUMBER\":2},\"comments\":{}}},\"comment\":null},\"FileDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"package\":{\"type\":\"string\",\"id\":2},\"dependency\":{\"rule\":\"repeated\",\"type\":\"string\",\"id\":3},\"publicDependency\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":10,\"options\":{\"packed\":false}},\"weakDependency\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":11,\"options\":{\"packed\":false}},\"messageType\":{\"rule\":\"repeated\",\"type\":\"DescriptorProto\",\"id\":4},\"enumType\":{\"rule\":\"repeated\",\"type\":\"EnumDescriptorProto\",\"id\":5},\"service\":{\"rule\":\"repeated\",\"type\":\"ServiceDescriptorProto\",\"id\":6},\"extension\":{\"rule\":\"repeated\",\"type\":\"FieldDescriptorProto\",\"id\":7},\"options\":{\"type\":\"FileOptions\",\"id\":8},\"sourceCodeInfo\":{\"type\":\"SourceCodeInfo\",\"id\":9},\"syntax\":{\"type\":\"string\",\"id\":12}},\"comment\":null},\"FileDescriptorSet\":{\"fields\":{\"file\":{\"rule\":\"repeated\",\"type\":\"FileDescriptorProto\",\"id\":1}},\"comment\":null},\"FileOptions\":{\"fields\":{\"javaPackage\":{\"type\":\"string\",\"id\":1},\"javaOuterClassname\":{\"type\":\"string\",\"id\":8},\"javaMultipleFiles\":{\"type\":\"bool\",\"id\":10},\"javaGenerateEqualsAndHash\":{\"type\":\"bool\",\"id\":20,\"options\":{\"deprecated\":true}},\"javaStringCheckUtf8\":{\"type\":\"bool\",\"id\":27},\"optimizeFor\":{\"type\":\"OptimizeMode\",\"id\":9,\"options\":{\"default\":\"SPEED\"}},\"goPackage\":{\"type\":\"string\",\"id\":11},\"ccGenericServices\":{\"type\":\"bool\",\"id\":16},\"javaGenericServices\":{\"type\":\"bool\",\"id\":17},\"pyGenericServices\":{\"type\":\"bool\",\"id\":18},\"deprecated\":{\"type\":\"bool\",\"id\":23},\"ccEnableArenas\":{\"type\":\"bool\",\"id\":31},\"objcClassPrefix\":{\"type\":\"string\",\"id\":36},\"csharpNamespace\":{\"type\":\"string\",\"id\":37},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"reserved\":[[38,38]],\"nested\":{\"OptimizeMode\":{\"values\":{\"SPEED\":1,\"CODE_SIZE\":2,\"LITE_RUNTIME\":3},\"comments\":{}}},\"comment\":null},\"GeneratedCodeInfo\":{\"fields\":{\"annotation\":{\"rule\":\"repeated\",\"type\":\"Annotation\",\"id\":1}},\"nested\":{\"Annotation\":{\"fields\":{\"path\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":1},\"sourceFile\":{\"type\":\"string\",\"id\":2},\"begin\":{\"type\":\"int32\",\"id\":3},\"end\":{\"type\":\"int32\",\"id\":4}},\"comment\":null}},\"comment\":null},\"MessageOptions\":{\"fields\":{\"messageSetWireFormat\":{\"type\":\"bool\",\"id\":1},\"noStandardDescriptorAccessor\":{\"type\":\"bool\",\"id\":2},\"deprecated\":{\"type\":\"bool\",\"id\":3},\"mapEntry\":{\"type\":\"bool\",\"id\":7},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"reserved\":[[8,8]],\"comment\":null},\"MethodDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"inputType\":{\"type\":\"string\",\"id\":2},\"outputType\":{\"type\":\"string\",\"id\":3},\"options\":{\"type\":\"MethodOptions\",\"id\":4},\"clientStreaming\":{\"type\":\"bool\",\"id\":5},\"serverStreaming\":{\"type\":\"bool\",\"id\":6}},\"comment\":null},\"MethodOptions\":{\"fields\":{\"deprecated\":{\"type\":\"bool\",\"id\":33},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"comment\":null},\"OneofDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"options\":{\"type\":\"OneofOptions\",\"id\":2}},\"comment\":null},\"OneofOptions\":{\"fields\":{\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"comment\":null},\"ServiceDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"method\":{\"rule\":\"repeated\",\"type\":\"MethodDescriptorProto\",\"id\":2},\"options\":{\"type\":\"ServiceOptions\",\"id\":3}},\"comment\":null},\"ServiceOptions\":{\"fields\":{\"deprecated\":{\"type\":\"bool\",\"id\":33},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"comment\":null},\"SourceCodeInfo\":{\"fields\":{\"location\":{\"rule\":\"repeated\",\"type\":\"Location\",\"id\":1}},\"nested\":{\"Location\":{\"fields\":{\"path\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":1},\"span\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":2},\"leadingComments\":{\"type\":\"string\",\"id\":3},\"trailingComments\":{\"type\":\"string\",\"id\":4},\"leadingDetachedComments\":{\"rule\":\"repeated\",\"type\":\"string\",\"id\":6}},\"comment\":null}},\"comment\":null},\"Timestamp\":{\"fields\":{\"seconds\":{\"type\":\"int64\",\"id\":1},\"nanos\":{\"type\":\"int32\",\"id\":2}},\"comment\":null},\"UninterpretedOption\":{\"fields\":{\"name\":{\"rule\":\"repeated\",\"type\":\"NamePart\",\"id\":2},\"identifierValue\":{\"type\":\"string\",\"id\":3},\"positiveIntValue\":{\"type\":\"uint64\",\"id\":4},\"negativeIntValue\":{\"type\":\"int64\",\"id\":5},\"doubleValue\":{\"type\":\"double\",\"id\":6},\"stringValue\":{\"type\":\"bytes\",\"id\":7},\"aggregateValue\":{\"type\":\"string\",\"id\":8}},\"nested\":{\"NamePart\":{\"fields\":{\"namePart\":{\"rule\":\"required\",\"type\":\"string\",\"id\":1},\"isExtension\":{\"rule\":\"required\",\"type\":\"bool\",\"id\":2}},\"comment\":null}},\"comment\":null}}}}}}}");
9
+ exports.schemaJson = JSON.parse("{\"nested\":{\"dxos\":{\"nested\":{\"test\":{\"nested\":{\"another\":{\"nested\":{\"AnotherMessage\":{\"fields\":{},\"comment\":null}}},\"any\":{\"nested\":{\"Any\":{\"fields\":{\"bar\":{\"type\":\"int32\",\"id\":1,\"comment\":null}},\"comment\":null}}},\"Any\":{\"fields\":{\"foo\":{\"type\":\"string\",\"id\":1,\"comment\":null}},\"comment\":null},\"ComplexFields\":{\"oneofs\":{\"_fooTest\":{\"oneof\":[\"fooTest\"]}},\"fields\":{\"repeatedField\":{\"rule\":\"repeated\",\"type\":\"Key\",\"id\":16,\"comment\":null},\"requiredField\":{\"rule\":\"required\",\"type\":\"Key\",\"id\":17,\"comment\":null},\"mappedField\":{\"keyType\":\"string\",\"type\":\"Key\",\"id\":18,\"comment\":null},\"inner\":{\"type\":\"Inner\",\"id\":19,\"comment\":null},\"myAny\":{\"type\":\"Any\",\"id\":20,\"comment\":null},\"googleAny\":{\"type\":\"google.protobuf.Any\",\"id\":21,\"comment\":null},\"importedAny\":{\"type\":\"dxos.test.any.Any\",\"id\":22,\"comment\":null},\"fooTest\":{\"type\":\"TestFoo\",\"id\":23,\"options\":{\"proto3_optional\":true},\"comment\":null}},\"nested\":{\"Inner\":{\"fields\":{\"foo\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"bar\":{\"type\":\"InnerEnum\",\"id\":2,\"comment\":null}},\"comment\":null},\"InnerEnum\":{\"values\":{\"FOO\":1,\"BAR\":2},\"comment\":null,\"comments\":{\"FOO\":null,\"BAR\":null}}},\"comment\":null},\"extensions\":{\"nested\":{\"ContainingMessageWithExtensions\":{\"oneofs\":{\"kind\":{\"oneof\":[\"str\",\"msg\"],\"comment\":null}},\"fields\":{\"str\":{\"type\":\"string\",\"id\":1,\"comment\":null},\"msg\":{\"type\":\"WithDefaultField\",\"id\":2,\"comment\":null}},\"comment\":null},\"defaultValue\":{\"type\":\"string\",\"id\":5001,\"extend\":\"google.protobuf.FieldOptions\",\"comment\":null},\"optionsObj\":{\"type\":\"OptionsObject\",\"id\":5002,\"extend\":\"google.protobuf.FieldOptions\",\"comment\":null},\"OptionsObject\":{\"fields\":{\"field\":{\"type\":\"int32\",\"id\":1,\"comment\":null}},\"comment\":null},\"WithDefaultField\":{\"fields\":{\"tag\":{\"type\":\"string\",\"id\":1,\"options\":{\"(defaultValue)\":\"latest\",\"(optionsObj).field\":3},\"comment\":\"Tag\"}},\"comment\":null}}},\"Key\":{\"fields\":{\"data\":{\"rule\":\"required\",\"type\":\"bytes\",\"id\":1,\"comment\":null}},\"comment\":null},\"OptionalScalars\":{\"oneofs\":{\"_doubleField\":{\"oneof\":[\"doubleField\"]},\"_floatField\":{\"oneof\":[\"floatField\"]},\"_int32Field\":{\"oneof\":[\"int32Field\"]},\"_int64Field\":{\"oneof\":[\"int64Field\"]},\"_uint32Field\":{\"oneof\":[\"uint32Field\"]},\"_uint64Field\":{\"oneof\":[\"uint64Field\"]},\"_sint32Field\":{\"oneof\":[\"sint32Field\"]},\"_sint64Field\":{\"oneof\":[\"sint64Field\"]},\"_fixed32Field\":{\"oneof\":[\"fixed32Field\"]},\"_fixed64Field\":{\"oneof\":[\"fixed64Field\"]},\"_sfixed32Field\":{\"oneof\":[\"sfixed32Field\"]},\"_sfixed64Field\":{\"oneof\":[\"sfixed64Field\"]},\"_boolField\":{\"oneof\":[\"boolField\"]},\"_stringField\":{\"oneof\":[\"stringField\"]},\"_bytesField\":{\"oneof\":[\"bytesField\"]}},\"fields\":{\"doubleField\":{\"type\":\"double\",\"id\":1,\"options\":{\"proto3_optional\":true},\"comment\":null},\"floatField\":{\"type\":\"float\",\"id\":2,\"options\":{\"proto3_optional\":true},\"comment\":null},\"int32Field\":{\"type\":\"int32\",\"id\":3,\"options\":{\"proto3_optional\":true},\"comment\":null},\"int64Field\":{\"type\":\"int64\",\"id\":4,\"options\":{\"proto3_optional\":true},\"comment\":null},\"uint32Field\":{\"type\":\"uint32\",\"id\":5,\"options\":{\"proto3_optional\":true},\"comment\":null},\"uint64Field\":{\"type\":\"uint64\",\"id\":6,\"options\":{\"proto3_optional\":true},\"comment\":null},\"sint32Field\":{\"type\":\"sint32\",\"id\":7,\"options\":{\"proto3_optional\":true},\"comment\":null},\"sint64Field\":{\"type\":\"sint64\",\"id\":8,\"options\":{\"proto3_optional\":true},\"comment\":null},\"fixed32Field\":{\"type\":\"fixed32\",\"id\":9,\"options\":{\"proto3_optional\":true},\"comment\":null},\"fixed64Field\":{\"type\":\"fixed64\",\"id\":10,\"options\":{\"proto3_optional\":true},\"comment\":null},\"sfixed32Field\":{\"type\":\"sfixed32\",\"id\":11,\"options\":{\"proto3_optional\":true},\"comment\":null},\"sfixed64Field\":{\"type\":\"sfixed64\",\"id\":12,\"options\":{\"proto3_optional\":true},\"comment\":null},\"boolField\":{\"type\":\"bool\",\"id\":13,\"options\":{\"proto3_optional\":true},\"comment\":null},\"stringField\":{\"type\":\"string\",\"id\":14,\"options\":{\"proto3_optional\":true},\"comment\":null},\"bytesField\":{\"type\":\"bytes\",\"id\":15,\"options\":{\"proto3_optional\":true},\"comment\":null}},\"comment\":null},\"Outer\":{\"fields\":{\"inner\":{\"type\":\"Inner\",\"id\":1,\"comment\":null}},\"nested\":{\"Inner\":{\"fields\":{\"num\":{\"type\":\"int32\",\"id\":1,\"comment\":null}},\"comment\":null}},\"comment\":null},\"Scalars\":{\"fields\":{\"doubleField\":{\"type\":\"double\",\"id\":1,\"comment\":null},\"floatField\":{\"type\":\"float\",\"id\":2,\"comment\":null},\"int32Field\":{\"type\":\"int32\",\"id\":3,\"comment\":null},\"int64Field\":{\"type\":\"int64\",\"id\":4,\"comment\":null},\"uint32Field\":{\"type\":\"uint32\",\"id\":5,\"comment\":null},\"uint64Field\":{\"type\":\"uint64\",\"id\":6,\"comment\":null},\"sint32Field\":{\"type\":\"sint32\",\"id\":7,\"comment\":null},\"sint64Field\":{\"type\":\"sint64\",\"id\":8,\"comment\":null},\"fixed32Field\":{\"type\":\"fixed32\",\"id\":9,\"comment\":null},\"fixed64Field\":{\"type\":\"fixed64\",\"id\":10,\"comment\":null},\"sfixed32Field\":{\"type\":\"sfixed32\",\"id\":11,\"comment\":null},\"sfixed64Field\":{\"type\":\"sfixed64\",\"id\":12,\"comment\":null},\"boolField\":{\"type\":\"bool\",\"id\":13,\"comment\":null},\"stringField\":{\"type\":\"string\",\"id\":14,\"comment\":null},\"bytesField\":{\"type\":\"bytes\",\"id\":15,\"comment\":null}},\"comment\":null},\"ServiceWithEmpty\":{\"methods\":{\"EmptyRpc\":{\"requestType\":\"google.protobuf.Empty\",\"responseType\":\"google.protobuf.Empty\",\"comment\":null},\"EmptyStreamRpc\":{\"requestType\":\"google.protobuf.Empty\",\"responseType\":\"google.protobuf.Empty\",\"responseStream\":true,\"comment\":null}},\"comment\":null},\"SubstitutedByInterface\":{\"fields\":{\"foo\":{\"type\":\"string\",\"id\":1,\"comment\":null}},\"comment\":null},\"Task\":{\"oneofs\":{\"_title\":{\"oneof\":[\"title\"]},\"_googleAny\":{\"oneof\":[\"googleAny\"]}},\"fields\":{\"id\":{\"type\":\"string\",\"id\":1,\"comment\":\"Task id\"},\"title\":{\"type\":\"string\",\"id\":2,\"options\":{\"proto3_optional\":true},\"comment\":\"Task title\"},\"key\":{\"rule\":\"required\",\"type\":\"Key\",\"id\":3,\"comment\":\"Task key.\\nMultiline field comment.\"},\"type\":{\"rule\":\"required\",\"type\":\"TaskType\",\"id\":4,\"comment\":null},\"googleAny\":{\"type\":\"google.protobuf.Any\",\"id\":5,\"options\":{\"proto3_optional\":true},\"comment\":null}},\"comment\":\"Task.\\nComments can be multiline.\"},\"TaskCount\":{\"fields\":{\"count\":{\"type\":\"int32\",\"id\":1,\"comment\":null}},\"comment\":null},\"TaskList\":{\"fields\":{\"tasks\":{\"rule\":\"repeated\",\"type\":\"Task\",\"id\":1,\"comment\":null}},\"comment\":null},\"TaskType\":{\"values\":{\"IN_PROGRESS\":1,\"COMPLETED\":2},\"comment\":null,\"comments\":{\"IN_PROGRESS\":null,\"COMPLETED\":null}},\"testfoo\":{\"nested\":{\"TestFoo\":{\"fields\":{\"fizz\":{\"type\":\"uint32\",\"id\":1,\"comment\":null},\"bazz\":{\"type\":\"string\",\"id\":2,\"comment\":null}},\"comment\":null}}},\"TestService\":{\"methods\":{\"CountTasks\":{\"requestType\":\"TaskList\",\"responseType\":\"TaskCount\",\"comment\":\"Count the tasks in the task list.\"},\"SubscribeTasks\":{\"requestType\":\"Key\",\"responseType\":\"Task\",\"responseStream\":true,\"comment\":\"Subscribe to task list updates.\"}},\"comment\":\"Test service definition.\"},\"WithEmptyField\":{\"fields\":{\"emptyField\":{\"type\":\"google.protobuf.Empty\",\"id\":1,\"comment\":null}},\"comment\":null},\"WithTimestamp\":{\"fields\":{\"timestamp\":{\"type\":\"google.protobuf.Timestamp\",\"id\":1,\"comment\":null}},\"comment\":null}}}}},\"google\":{\"nested\":{\"protobuf\":{\"nested\":{\"Any\":{\"fields\":{\"type_url\":{\"type\":\"string\",\"id\":1},\"value\":{\"type\":\"bytes\",\"id\":2}},\"comment\":null},\"DescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"field\":{\"rule\":\"repeated\",\"type\":\"FieldDescriptorProto\",\"id\":2},\"extension\":{\"rule\":\"repeated\",\"type\":\"FieldDescriptorProto\",\"id\":6},\"nestedType\":{\"rule\":\"repeated\",\"type\":\"DescriptorProto\",\"id\":3},\"enumType\":{\"rule\":\"repeated\",\"type\":\"EnumDescriptorProto\",\"id\":4},\"extensionRange\":{\"rule\":\"repeated\",\"type\":\"ExtensionRange\",\"id\":5},\"oneofDecl\":{\"rule\":\"repeated\",\"type\":\"OneofDescriptorProto\",\"id\":8},\"options\":{\"type\":\"MessageOptions\",\"id\":7},\"reservedRange\":{\"rule\":\"repeated\",\"type\":\"ReservedRange\",\"id\":9},\"reservedName\":{\"rule\":\"repeated\",\"type\":\"string\",\"id\":10}},\"nested\":{\"ExtensionRange\":{\"fields\":{\"start\":{\"type\":\"int32\",\"id\":1},\"end\":{\"type\":\"int32\",\"id\":2}},\"comment\":null},\"ReservedRange\":{\"fields\":{\"start\":{\"type\":\"int32\",\"id\":1},\"end\":{\"type\":\"int32\",\"id\":2}},\"comment\":null}},\"comment\":null},\"Empty\":{\"fields\":{},\"comment\":null},\"EnumDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"value\":{\"rule\":\"repeated\",\"type\":\"EnumValueDescriptorProto\",\"id\":2},\"options\":{\"type\":\"EnumOptions\",\"id\":3}},\"comment\":null},\"EnumOptions\":{\"fields\":{\"allowAlias\":{\"type\":\"bool\",\"id\":2},\"deprecated\":{\"type\":\"bool\",\"id\":3},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"comment\":null},\"EnumValueDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"number\":{\"type\":\"int32\",\"id\":2},\"options\":{\"type\":\"EnumValueOptions\",\"id\":3}},\"comment\":null},\"EnumValueOptions\":{\"fields\":{\"deprecated\":{\"type\":\"bool\",\"id\":1},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"comment\":null},\"FieldDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"number\":{\"type\":\"int32\",\"id\":3},\"label\":{\"type\":\"Label\",\"id\":4},\"type\":{\"type\":\"Type\",\"id\":5},\"typeName\":{\"type\":\"string\",\"id\":6},\"extendee\":{\"type\":\"string\",\"id\":2},\"defaultValue\":{\"type\":\"string\",\"id\":7},\"oneofIndex\":{\"type\":\"int32\",\"id\":9},\"jsonName\":{\"type\":\"string\",\"id\":10},\"options\":{\"type\":\"FieldOptions\",\"id\":8}},\"nested\":{\"Label\":{\"values\":{\"LABEL_OPTIONAL\":1,\"LABEL_REQUIRED\":2,\"LABEL_REPEATED\":3},\"comments\":{}},\"Type\":{\"values\":{\"TYPE_DOUBLE\":1,\"TYPE_FLOAT\":2,\"TYPE_INT64\":3,\"TYPE_UINT64\":4,\"TYPE_INT32\":5,\"TYPE_FIXED64\":6,\"TYPE_FIXED32\":7,\"TYPE_BOOL\":8,\"TYPE_STRING\":9,\"TYPE_GROUP\":10,\"TYPE_MESSAGE\":11,\"TYPE_BYTES\":12,\"TYPE_UINT32\":13,\"TYPE_ENUM\":14,\"TYPE_SFIXED32\":15,\"TYPE_SFIXED64\":16,\"TYPE_SINT32\":17,\"TYPE_SINT64\":18},\"comments\":{}}},\"comment\":null},\"FieldOptions\":{\"fields\":{\"ctype\":{\"type\":\"CType\",\"id\":1,\"options\":{\"default\":\"STRING\"}},\"packed\":{\"type\":\"bool\",\"id\":2},\"jstype\":{\"type\":\"JSType\",\"id\":6,\"options\":{\"default\":\"JS_NORMAL\"}},\"lazy\":{\"type\":\"bool\",\"id\":5},\"deprecated\":{\"type\":\"bool\",\"id\":3},\"weak\":{\"type\":\"bool\",\"id\":10},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"reserved\":[[4,4]],\"nested\":{\"CType\":{\"values\":{\"STRING\":0,\"CORD\":1,\"STRING_PIECE\":2},\"comments\":{}},\"JSType\":{\"values\":{\"JS_NORMAL\":0,\"JS_STRING\":1,\"JS_NUMBER\":2},\"comments\":{}}},\"comment\":null},\"FileDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"package\":{\"type\":\"string\",\"id\":2},\"dependency\":{\"rule\":\"repeated\",\"type\":\"string\",\"id\":3},\"publicDependency\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":10,\"options\":{\"packed\":false}},\"weakDependency\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":11,\"options\":{\"packed\":false}},\"messageType\":{\"rule\":\"repeated\",\"type\":\"DescriptorProto\",\"id\":4},\"enumType\":{\"rule\":\"repeated\",\"type\":\"EnumDescriptorProto\",\"id\":5},\"service\":{\"rule\":\"repeated\",\"type\":\"ServiceDescriptorProto\",\"id\":6},\"extension\":{\"rule\":\"repeated\",\"type\":\"FieldDescriptorProto\",\"id\":7},\"options\":{\"type\":\"FileOptions\",\"id\":8},\"sourceCodeInfo\":{\"type\":\"SourceCodeInfo\",\"id\":9},\"syntax\":{\"type\":\"string\",\"id\":12}},\"comment\":null},\"FileDescriptorSet\":{\"fields\":{\"file\":{\"rule\":\"repeated\",\"type\":\"FileDescriptorProto\",\"id\":1}},\"comment\":null},\"FileOptions\":{\"fields\":{\"javaPackage\":{\"type\":\"string\",\"id\":1},\"javaOuterClassname\":{\"type\":\"string\",\"id\":8},\"javaMultipleFiles\":{\"type\":\"bool\",\"id\":10},\"javaGenerateEqualsAndHash\":{\"type\":\"bool\",\"id\":20,\"options\":{\"deprecated\":true}},\"javaStringCheckUtf8\":{\"type\":\"bool\",\"id\":27},\"optimizeFor\":{\"type\":\"OptimizeMode\",\"id\":9,\"options\":{\"default\":\"SPEED\"}},\"goPackage\":{\"type\":\"string\",\"id\":11},\"ccGenericServices\":{\"type\":\"bool\",\"id\":16},\"javaGenericServices\":{\"type\":\"bool\",\"id\":17},\"pyGenericServices\":{\"type\":\"bool\",\"id\":18},\"deprecated\":{\"type\":\"bool\",\"id\":23},\"ccEnableArenas\":{\"type\":\"bool\",\"id\":31},\"objcClassPrefix\":{\"type\":\"string\",\"id\":36},\"csharpNamespace\":{\"type\":\"string\",\"id\":37},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"reserved\":[[38,38]],\"nested\":{\"OptimizeMode\":{\"values\":{\"SPEED\":1,\"CODE_SIZE\":2,\"LITE_RUNTIME\":3},\"comments\":{}}},\"comment\":null},\"GeneratedCodeInfo\":{\"fields\":{\"annotation\":{\"rule\":\"repeated\",\"type\":\"Annotation\",\"id\":1}},\"nested\":{\"Annotation\":{\"fields\":{\"path\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":1},\"sourceFile\":{\"type\":\"string\",\"id\":2},\"begin\":{\"type\":\"int32\",\"id\":3},\"end\":{\"type\":\"int32\",\"id\":4}},\"comment\":null}},\"comment\":null},\"MessageOptions\":{\"fields\":{\"messageSetWireFormat\":{\"type\":\"bool\",\"id\":1},\"noStandardDescriptorAccessor\":{\"type\":\"bool\",\"id\":2},\"deprecated\":{\"type\":\"bool\",\"id\":3},\"mapEntry\":{\"type\":\"bool\",\"id\":7},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"reserved\":[[8,8]],\"comment\":null},\"MethodDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"inputType\":{\"type\":\"string\",\"id\":2},\"outputType\":{\"type\":\"string\",\"id\":3},\"options\":{\"type\":\"MethodOptions\",\"id\":4},\"clientStreaming\":{\"type\":\"bool\",\"id\":5},\"serverStreaming\":{\"type\":\"bool\",\"id\":6}},\"comment\":null},\"MethodOptions\":{\"fields\":{\"deprecated\":{\"type\":\"bool\",\"id\":33},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"comment\":null},\"OneofDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"options\":{\"type\":\"OneofOptions\",\"id\":2}},\"comment\":null},\"OneofOptions\":{\"fields\":{\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"comment\":null},\"ServiceDescriptorProto\":{\"fields\":{\"name\":{\"type\":\"string\",\"id\":1},\"method\":{\"rule\":\"repeated\",\"type\":\"MethodDescriptorProto\",\"id\":2},\"options\":{\"type\":\"ServiceOptions\",\"id\":3}},\"comment\":null},\"ServiceOptions\":{\"fields\":{\"deprecated\":{\"type\":\"bool\",\"id\":33},\"uninterpretedOption\":{\"rule\":\"repeated\",\"type\":\"UninterpretedOption\",\"id\":999}},\"extensions\":[[1000,536870911]],\"comment\":null},\"SourceCodeInfo\":{\"fields\":{\"location\":{\"rule\":\"repeated\",\"type\":\"Location\",\"id\":1}},\"nested\":{\"Location\":{\"fields\":{\"path\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":1},\"span\":{\"rule\":\"repeated\",\"type\":\"int32\",\"id\":2},\"leadingComments\":{\"type\":\"string\",\"id\":3},\"trailingComments\":{\"type\":\"string\",\"id\":4},\"leadingDetachedComments\":{\"rule\":\"repeated\",\"type\":\"string\",\"id\":6}},\"comment\":null}},\"comment\":null},\"Timestamp\":{\"fields\":{\"seconds\":{\"type\":\"int64\",\"id\":1},\"nanos\":{\"type\":\"int32\",\"id\":2}},\"comment\":null},\"UninterpretedOption\":{\"fields\":{\"name\":{\"rule\":\"repeated\",\"type\":\"NamePart\",\"id\":2},\"identifierValue\":{\"type\":\"string\",\"id\":3},\"positiveIntValue\":{\"type\":\"uint64\",\"id\":4},\"negativeIntValue\":{\"type\":\"int64\",\"id\":5},\"doubleValue\":{\"type\":\"double\",\"id\":6},\"stringValue\":{\"type\":\"bytes\",\"id\":7},\"aggregateValue\":{\"type\":\"string\",\"id\":8}},\"nested\":{\"NamePart\":{\"fields\":{\"namePart\":{\"rule\":\"required\",\"type\":\"string\",\"id\":1},\"isExtension\":{\"rule\":\"required\",\"type\":\"bool\",\"id\":2}},\"comment\":null}},\"comment\":null}}}}}}}");
10
10
  exports.schema = codec_protobuf_1.Schema.fromJson(exports.schemaJson, substitutions_1.default);
11
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../test/proto/gen/index.ts"],"names":[],"mappings":";;;;;;AAAA,yDAA8C;AAO9C,qEAA6C;AA6DhC,QAAA,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,yrdAAyrd,CAAC,CAAC;AACntd,QAAA,MAAM,GAAG,uBAAM,CAAC,QAAQ,CAAkB,kBAAU,EAAE,uBAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../test/proto/gen/index.ts"],"names":[],"mappings":";;;;;;AAAA,yDAA8C;AAO9C,qEAA6C;AA8DhC,QAAA,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,w6hBAAw6hB,CAAC,CAAC;AACl8hB,QAAA,MAAM,GAAG,uBAAM,CAAC,QAAQ,CAAkB,kBAAU,EAAE,uBAAa,CAAC,CAAC"}
@@ -2,169 +2,246 @@
2
2
  //
3
3
  // Copyright 2022 DXOS.org
4
4
  //
5
+ var __importDefault = (this && this.__importDefault) || function (mod) {
6
+ return (mod && mod.__esModule) ? mod : { "default": mod };
7
+ };
5
8
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const fs_1 = require("fs");
7
- const path_1 = require("path");
9
+ const mocha_1 = require("mocha");
10
+ const expect_1 = __importDefault(require("expect"));
8
11
  const my_key_1 = require("./my-key");
9
12
  const gen_1 = require("./proto/gen");
10
13
  const test_1 = require("./proto/gen/dxos/test");
11
- test('encode and decode', async () => {
12
- const codec = gen_1.schema.getCodecForType('dxos.test.TaskList');
13
- const initial = {
14
- tasks: [
15
- {
16
- id: 'foo',
17
- title: 'Bar',
18
- key: new my_key_1.MyKey(Buffer.from('foo')),
19
- type: test_1.TaskType.COMPLETED,
20
- googleAny: {
21
- '@type': 'dxos.test.SubstitutedByInterface',
22
- foo: 'foo'
14
+ describe('Schema', () => {
15
+ (0, mocha_1.it)('encode and decode', async () => {
16
+ const codec = gen_1.schema.getCodecForType('dxos.test.TaskList');
17
+ const initial = {
18
+ tasks: [
19
+ {
20
+ id: 'foo',
21
+ title: 'Bar',
22
+ key: new my_key_1.MyKey(Buffer.from('foo')),
23
+ type: test_1.TaskType.COMPLETED,
24
+ googleAny: {
25
+ '@type': 'dxos.test.SubstitutedByInterface',
26
+ foo: 'foo'
27
+ }
28
+ },
29
+ {
30
+ id: 'baz',
31
+ title: 'Baz',
32
+ key: new my_key_1.MyKey(Buffer.from('foo')),
33
+ type: test_1.TaskType.IN_PROGRESS
23
34
  }
35
+ ]
36
+ };
37
+ const encoded = codec.encode(initial);
38
+ (0, expect_1.default)(encoded).toBeInstanceOf(Uint8Array);
39
+ const decoded = codec.decode(encoded);
40
+ (0, expect_1.default)(decoded).toEqual(initial);
41
+ });
42
+ (0, mocha_1.it)('encode and decode external package message', async () => {
43
+ const codec = gen_1.schema.getCodecForType('dxos.test.testfoo.TestFoo');
44
+ const initial = { fizz: 3, bazz: '5' };
45
+ const encoded = codec.encode(initial);
46
+ (0, expect_1.default)(encoded).toBeInstanceOf(Uint8Array);
47
+ const decoded = codec.decode(encoded);
48
+ (0, expect_1.default)(decoded).toEqual(initial);
49
+ (0, expect_1.default)(() => {
50
+ const encoded = codec.encode({ badname: 'badvalue' });
51
+ (0, expect_1.default)(encoded).toBeInstanceOf(Uint8Array);
52
+ const decoded = codec.decode(encoded);
53
+ (0, expect_1.default)(decoded).toEqual(initial);
54
+ }).toThrow();
55
+ });
56
+ (0, mocha_1.it)('complex fields round trip', () => {
57
+ const codec = gen_1.schema.getCodecForType('dxos.test.ComplexFields');
58
+ const initial = {
59
+ repeatedField: [new my_key_1.MyKey(Buffer.from('foo')), new my_key_1.MyKey(Buffer.from('bar'))],
60
+ requiredField: new my_key_1.MyKey(Buffer.from('foo')),
61
+ mappedField: {
62
+ foo: new my_key_1.MyKey(Buffer.from('foo')),
63
+ bar: new my_key_1.MyKey(Buffer.from('foo'))
24
64
  },
25
- {
65
+ inner: {
66
+ bar: test_1.ComplexFields.InnerEnum.BAR,
67
+ foo: 'foo'
68
+ },
69
+ myAny: {
70
+ foo: 'foo'
71
+ },
72
+ googleAny: {
73
+ '@type': 'dxos.test.Task',
26
74
  id: 'baz',
27
75
  title: 'Baz',
28
76
  key: new my_key_1.MyKey(Buffer.from('foo')),
29
77
  type: test_1.TaskType.IN_PROGRESS
78
+ },
79
+ importedAny: {
80
+ bar: 123
30
81
  }
31
- ]
32
- };
33
- const encoded = codec.encode(initial);
34
- expect(encoded).toBeInstanceOf(Uint8Array);
35
- const decoded = codec.decode(encoded);
36
- expect(decoded).toEqual(initial);
37
- });
38
- test('encode and decode external package message', async () => {
39
- const codec = gen_1.schema.getCodecForType('dxos.test.testfoo.TestFoo');
40
- const initial = { fizz: 3, bazz: '5' };
41
- const encoded = codec.encode(initial);
42
- expect(encoded).toBeInstanceOf(Uint8Array);
43
- const decoded = codec.decode(encoded);
44
- expect(decoded).toEqual(initial);
45
- expect(() => {
46
- const encoded = codec.encode({ badname: 'badvalue' });
47
- expect(encoded).toBeInstanceOf(Uint8Array);
82
+ };
83
+ const encoded = codec.encode(initial);
84
+ (0, expect_1.default)(encoded).toBeInstanceOf(Uint8Array);
48
85
  const decoded = codec.decode(encoded);
49
- expect(decoded).toEqual(initial);
50
- }).toThrow();
51
- });
52
- test('complex fields round trip', () => {
53
- const codec = gen_1.schema.getCodecForType('dxos.test.ComplexFields');
54
- const initial = {
55
- repeatedField: [new my_key_1.MyKey(Buffer.from('foo')), new my_key_1.MyKey(Buffer.from('bar'))],
56
- requiredField: new my_key_1.MyKey(Buffer.from('foo')),
57
- mappedField: {
58
- foo: new my_key_1.MyKey(Buffer.from('foo')),
59
- bar: new my_key_1.MyKey(Buffer.from('foo'))
60
- },
61
- inner: {
62
- bar: test_1.ComplexFields.InnerEnum.BAR,
63
- foo: 'foo'
64
- },
65
- myAny: {
66
- foo: 'foo'
67
- },
68
- googleAny: {
69
- '@type': 'dxos.test.Task',
70
- id: 'baz',
71
- title: 'Baz',
72
- key: new my_key_1.MyKey(Buffer.from('foo')),
73
- type: test_1.TaskType.IN_PROGRESS
74
- },
75
- importedAny: {
76
- bar: 123
77
- }
78
- };
79
- const encoded = codec.encode(initial);
80
- expect(encoded).toBeInstanceOf(Uint8Array);
81
- const decoded = codec.decode(encoded);
82
- expect(decoded).toEqual(initial);
83
- });
84
- test('encodes empty repeated fields as empty arrays', () => {
85
- const codec = gen_1.schema.getCodecForType('dxos.test.ComplexFields');
86
- const initial = {
87
- repeatedField: [],
88
- requiredField: new my_key_1.MyKey(Buffer.from('foo')),
89
- inner: {
90
- bar: test_1.ComplexFields.InnerEnum.BAR,
91
- foo: 'foo'
92
- },
93
- myAny: {
94
- foo: 'foo'
95
- },
96
- googleAny: {
97
- '@type': 'dxos.test.Task',
98
- id: 'baz',
99
- title: 'Baz',
100
- key: new my_key_1.MyKey(Buffer.from('foo')),
101
- type: test_1.TaskType.IN_PROGRESS
102
- },
103
- importedAny: {
104
- bar: 123
105
- }
106
- };
107
- const encoded = codec.encode(initial);
108
- expect(encoded).toBeInstanceOf(Uint8Array);
109
- const decoded = codec.decode(encoded);
110
- expect(decoded).toEqual(initial);
111
- });
112
- test('scalars', () => {
113
- const codec = gen_1.schema.getCodecForType('dxos.test.Scalars');
114
- const initial = {
115
- doubleField: 0.52,
116
- floatField: 1.5,
117
- int32Field: -54,
118
- int64Field: '-55',
119
- uint32Field: 314,
120
- uint64Field: '34',
121
- sint32Field: 3123,
122
- sint64Field: '3123',
123
- fixed32Field: 22,
124
- fixed64Field: '312312312',
125
- sfixed32Field: 45,
126
- sfixed64Field: '312313123',
127
- boolField: true,
128
- stringField: 'hello',
129
- bytesField: Buffer.from('world')
130
- };
131
- const encoded = codec.encode(initial);
132
- expect(encoded).toBeInstanceOf(Uint8Array);
133
- const decoded = codec.decode(encoded);
134
- expect(decoded).toEqual(initial);
135
- });
136
- test('timestamp', () => {
137
- const codec = gen_1.schema.getCodecForType('dxos.test.WithTimestamp');
138
- const initial = {
139
- timestamp: new Date('2021-09-17T09:46:04Z')
140
- };
141
- const encoded = codec.encode(initial);
142
- expect(encoded).toBeInstanceOf(Uint8Array);
143
- const decoded = codec.decode(encoded);
144
- expect(decoded).toEqual(initial);
145
- });
146
- test('definitions', () => {
147
- expect(readDirectoryFiles((0, path_1.join)(__dirname, 'proto/gen'))).toMatchSnapshot();
148
- });
149
- function readDirectoryFiles(dir) {
150
- let res = '';
151
- for (const file of listFilesRecursive(dir)) {
152
- res += `${file}:\n`;
153
- res += (0, fs_1.readFileSync)((0, path_1.join)(dir, file), { encoding: 'utf-8' });
154
- res += '\n';
155
- }
156
- return res;
157
- }
158
- function* listFilesRecursive(dir) {
159
- for (const file of (0, fs_1.readdirSync)(dir)) {
160
- if ((0, fs_1.lstatSync)((0, path_1.join)(dir, file)).isDirectory()) {
161
- for (const sub of listFilesRecursive((0, path_1.join)(dir, file))) {
162
- yield (0, path_1.join)(file, sub);
86
+ (0, expect_1.default)(decoded).toEqual(initial);
87
+ });
88
+ (0, mocha_1.it)('encodes empty repeated fields as empty arrays', () => {
89
+ const codec = gen_1.schema.getCodecForType('dxos.test.ComplexFields');
90
+ const initial = {
91
+ repeatedField: [],
92
+ requiredField: new my_key_1.MyKey(Buffer.from('foo')),
93
+ inner: {
94
+ bar: test_1.ComplexFields.InnerEnum.BAR,
95
+ foo: 'foo'
96
+ },
97
+ myAny: {
98
+ foo: 'foo'
99
+ },
100
+ googleAny: {
101
+ '@type': 'dxos.test.Task',
102
+ id: 'baz',
103
+ title: 'Baz',
104
+ key: new my_key_1.MyKey(Buffer.from('foo')),
105
+ type: test_1.TaskType.IN_PROGRESS
106
+ },
107
+ importedAny: {
108
+ bar: 123
109
+ }
110
+ };
111
+ const encoded = codec.encode(initial);
112
+ (0, expect_1.default)(encoded).toBeInstanceOf(Uint8Array);
113
+ const decoded = codec.decode(encoded);
114
+ (0, expect_1.default)(decoded).toEqual(initial);
115
+ });
116
+ describe('Scalars', () => {
117
+ (0, mocha_1.it)('required', () => {
118
+ const codec = gen_1.schema.getCodecForType('dxos.test.Scalars');
119
+ const initial = {
120
+ doubleField: 0.52,
121
+ floatField: 1.5,
122
+ int32Field: -54,
123
+ int64Field: '-55',
124
+ uint32Field: 314,
125
+ uint64Field: '34',
126
+ sint32Field: 3123,
127
+ sint64Field: '3123',
128
+ fixed32Field: 22,
129
+ fixed64Field: '312312312',
130
+ sfixed32Field: 45,
131
+ sfixed64Field: '312313123',
132
+ boolField: true,
133
+ stringField: 'hello',
134
+ bytesField: Buffer.from('world')
135
+ };
136
+ const encoded = codec.encode(initial);
137
+ (0, expect_1.default)(encoded).toBeInstanceOf(Uint8Array);
138
+ const decoded = codec.decode(encoded);
139
+ (0, expect_1.default)(decoded).toEqual(initial);
140
+ });
141
+ (0, mocha_1.it)('default values on required', () => {
142
+ const codec = gen_1.schema.getCodecForType('dxos.test.Scalars');
143
+ const initial = {
144
+ doubleField: 0.0,
145
+ floatField: 0.0,
146
+ int32Field: 0,
147
+ int64Field: '0',
148
+ uint32Field: 0,
149
+ uint64Field: '0',
150
+ sint32Field: 0,
151
+ sint64Field: '0',
152
+ fixed32Field: 0,
153
+ fixed64Field: '0',
154
+ sfixed32Field: 0,
155
+ sfixed64Field: '0',
156
+ boolField: false,
157
+ stringField: '',
158
+ bytesField: Buffer.from('')
159
+ };
160
+ const encoded = codec.encode(initial);
161
+ (0, expect_1.default)(encoded).toBeInstanceOf(Uint8Array);
162
+ const decoded = codec.decode(encoded);
163
+ (0, expect_1.default)(decoded).toEqual(initial);
164
+ });
165
+ (0, mocha_1.it)('required fields are assigned their default values when missing on the wire', () => {
166
+ const codec = gen_1.schema.getCodecForType('dxos.test.Scalars');
167
+ const expected = {
168
+ doubleField: 0.0,
169
+ floatField: 0.0,
170
+ int32Field: 0,
171
+ int64Field: '0',
172
+ uint32Field: 0,
173
+ uint64Field: '0',
174
+ sint32Field: 0,
175
+ sint64Field: '0',
176
+ fixed32Field: 0,
177
+ fixed64Field: '0',
178
+ sfixed32Field: 0,
179
+ sfixed64Field: '0',
180
+ boolField: false,
181
+ stringField: '',
182
+ bytesField: new Uint8Array()
183
+ };
184
+ const decoded = codec.decode(Buffer.from(''));
185
+ (0, expect_1.default)(decoded).toEqual(expected);
186
+ });
187
+ (0, mocha_1.it)('optional', () => {
188
+ const codec = gen_1.schema.getCodecForType('dxos.test.OptionalScalars');
189
+ const initial = {
190
+ doubleField: 0.52,
191
+ floatField: 1.5,
192
+ int32Field: -54,
193
+ int64Field: '-55',
194
+ uint32Field: 314,
195
+ uint64Field: '34',
196
+ sint32Field: 3123,
197
+ sint64Field: '3123',
198
+ fixed32Field: 22,
199
+ fixed64Field: '312312312',
200
+ sfixed32Field: 45,
201
+ sfixed64Field: '312313123',
202
+ boolField: true,
203
+ stringField: 'hello',
204
+ bytesField: Buffer.from('world')
205
+ };
206
+ const encoded = codec.encode(initial);
207
+ (0, expect_1.default)(encoded).toBeInstanceOf(Uint8Array);
208
+ const decoded = codec.decode(encoded);
209
+ (0, expect_1.default)(decoded).toEqual(initial);
210
+ });
211
+ (0, mocha_1.it)('empty optional', () => {
212
+ const codec = gen_1.schema.getCodecForType('dxos.test.OptionalScalars');
213
+ const initial = {};
214
+ const encoded = codec.encode(initial);
215
+ (0, expect_1.default)(encoded).toBeInstanceOf(Uint8Array);
216
+ const decoded = codec.decode(encoded);
217
+ (0, expect_1.default)(decoded).toEqual(initial);
218
+ });
219
+ describe('optional fields are assigned undefined when missing on the wire', () => {
220
+ const codec = gen_1.schema.getCodecForType('dxos.test.OptionalScalars');
221
+ const expected = {};
222
+ const decoded = codec.decode(Buffer.from(''));
223
+ (0, expect_1.default)(decoded).toEqual(expected);
224
+ });
225
+ });
226
+ (0, mocha_1.it)('default values for missing message-typed fields', () => {
227
+ const codec = gen_1.schema.getCodecForType('dxos.test.Outer');
228
+ const expected = {
229
+ inner: {
230
+ num: 0,
163
231
  }
164
- }
165
- else {
166
- yield file;
167
- }
168
- }
169
- }
232
+ };
233
+ const decoded = codec.decode(Buffer.from(''));
234
+ (0, expect_1.default)(decoded).toEqual(expected);
235
+ });
236
+ (0, mocha_1.it)('timestamp', () => {
237
+ const codec = gen_1.schema.getCodecForType('dxos.test.WithTimestamp');
238
+ const initial = {
239
+ timestamp: new Date('2021-09-17T09:46:04Z')
240
+ };
241
+ const encoded = codec.encode(initial);
242
+ (0, expect_1.default)(encoded).toBeInstanceOf(Uint8Array);
243
+ const decoded = codec.decode(encoded);
244
+ (0, expect_1.default)(decoded).toEqual(initial);
245
+ });
246
+ });
170
247
  //# sourceMappingURL=schema.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.test.js","sourceRoot":"","sources":["../../test/schema.test.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,2BAA0D;AAC1D,+BAA4B;AAE5B,qCAAiC;AACjC,qCAAqC;AACrC,gDAAkG;AAGlG,IAAI,CAAC,mBAAmB,EAAE,KAAK,IAAI,EAAE;IACnC,MAAM,KAAK,GAAG,YAAM,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAE3D,MAAM,OAAO,GAAa;QACxB,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,KAAK;gBACT,KAAK,EAAE,KAAK;gBACZ,GAAG,EAAE,IAAI,cAAK,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAClC,IAAI,EAAE,eAAQ,CAAC,SAAS;gBACxB,SAAS,EAAE;oBACT,OAAO,EAAE,kCAAkC;oBAC3C,GAAG,EAAE,KAAK;iBACX;aACF;YACD;gBACE,EAAE,EAAE,KAAK;gBACT,KAAK,EAAE,KAAK;gBACZ,GAAG,EAAE,IAAI,cAAK,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAClC,IAAI,EAAE,eAAQ,CAAC,WAAW;aAC3B;SACF;KACF,CAAC;IAEF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AAsB,CAAC;SAC5C,CAAC;QAEF,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAEtC,IAAA,gBAAM,EAAC,OAAO,CAAC,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;QAE3C,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAEtC,IAAA,gBAAM,EAAC,OAAO,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;AAEL,CAAC,CAAC,CAAC"}
@@ -1,10 +1,15 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  const codec_protobuf_1 = require("@dxos/codec-protobuf");
4
7
  const gen_1 = require("./proto/gen");
5
8
  const test_1 = require("./proto/gen/dxos/test");
6
9
  const my_key_1 = require("./my-key");
7
- test('services', async () => {
10
+ const mocha_1 = require("mocha");
11
+ const expect_1 = __importDefault(require("expect"));
12
+ (0, mocha_1.it)('services', async () => {
8
13
  const service = gen_1.schema.getService('dxos.test.TestService');
9
14
  const server = service.createServer({
10
15
  async countTasks(tasks) {
@@ -25,6 +30,6 @@ test('services', async () => {
25
30
  type: test_1.TaskType.COMPLETED
26
31
  }]
27
32
  });
28
- expect(response.count).toEqual(1);
33
+ (0, expect_1.default)(response.count).toEqual(1);
29
34
  });
30
35
  //# sourceMappingURL=service.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.test.js","sourceRoot":"","sources":["../../test/service.test.ts"],"names":[],"mappings":";;AAAA,yDAA8C;AAC9C,qCAAoC;AACpC,gDAAiD;AACjD,qCAAiC;AAEjC,IAAI,CAAC,UAAU,EAAE,KAAK,IAAI,EAAE;IAC1B,MAAM,OAAO,GAAG,YAAM,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC;IAE3D,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ACD,cAAc;YACZ,OAAO,IAAI,uBAAM,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAA;QAC7B,CAAC;KACF,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,CAAA;IAE3C,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC;QACvC,KAAK,EAAE,CAAC;gBACN,EAAE,EAAE,KAAK;gBACT,GAAG,EAAE,IAAI,cAAK,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;gBACzC,IAAI,EAAE,eAAQ,CAAC,SAAS;aACzB,CAAC;KACH,CAAC,CAAA;IAEF,IAAA,gBAAM,EAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;AACnC,CAAC,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es5.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2016.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.esnext.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../common/temp/node_modules/.pnpm/protobufjs@6.11.2/node_modules/protobufjs/index.d.ts","../src/configure.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/typescript.d.ts","../src/module-specifier.ts","../src/namespaces.ts","../src/parser/resolver.ts","../../../../common/temp/node_modules/.pnpm/@ts-morph+common@0.9.2/node_modules/@ts-morph/common/lib/typescript.d.ts","../../../../common/temp/node_modules/.pnpm/@ts-morph+common@0.9.2/node_modules/@ts-morph/common/lib/ts-morph-common.d.ts","../../../../common/temp/node_modules/.pnpm/ts-morph@10.0.2/node_modules/ts-morph/lib/ts-morph.d.ts","../src/parser/substitutions-parser.ts","../src/parser/index.ts","../src/generator/context.ts","../src/generator/doc-comment.ts","../src/generator/enum.ts","../src/generator/types.ts","../src/generator/field.ts","../src/generator/message.ts","../src/generator/service.ts","../src/generator/declaration-generator.ts","../src/protobuf-json.ts","../src/generator/serializer-definition-generator.ts","../src/generator/file-generator.ts","../../../../common/temp/node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../src/logger.ts","../src/type-generator.ts","../src/index.ts","../../../../common/temp/node_modules/.pnpm/@types+argparse@2.0.10/node_modules/@types/argparse/index.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/basic.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/except.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/mutable.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/merge.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/merge-exclusive.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/require-at-least-one.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/readonly-deep.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/literal-union.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/promisable.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/package-json.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+normalize-package-data@2.4.1/node_modules/@types/normalize-package-data/index.d.ts","../../../../common/temp/node_modules/.pnpm/read-pkg@5.2.0/node_modules/read-pkg/index.d.ts","../src/main.ts","../src/namespaces.test.ts","../src/util.ts","../src/generator/index.ts","../test/any.ts","../test/my-interface.ts","../test/my-key.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/assert.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/assert/strict.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/globals.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/async_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/buffer.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/child_process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/cluster.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/console.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/constants.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/crypto.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/dgram.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/diagnostics_channel.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/dns.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/dns/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/domain.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/fs.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/fs/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/http.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/http2.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/https.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/inspector.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/module.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/net.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/os.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/path.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/perf_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/punycode.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/querystring.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/readline.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/repl.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream/consumers.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream/web.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/string_decoder.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/timers.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/timers/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/tls.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/trace_events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/tty.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/url.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/util.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/v8.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/vm.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/wasi.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/worker_threads.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/zlib.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/globals.global.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/index.d.ts","../../codec-protobuf/dist/src/interface.d.ts","../../codec-protobuf/dist/src/buffer-patch.d.ts","../../codec-protobuf/dist/src/stream.d.ts","../../codec-protobuf/dist/src/service.d.ts","../../codec-protobuf/dist/src/schema.d.ts","../../codec-protobuf/dist/src/common.d.ts","../../codec-protobuf/dist/src/mapping.d.ts","../../codec-protobuf/dist/src/codec.d.ts","../../codec-protobuf/dist/src/encoding.d.ts","../../codec-protobuf/dist/src/sanitizer.d.ts","../../codec-protobuf/dist/src/substitutions/any.d.ts","../../codec-protobuf/dist/src/substitutions/timestamp.d.ts","../../codec-protobuf/dist/src/substitutions/index.d.ts","../../codec-protobuf/dist/src/index.d.ts","../test/proto/gen/dxos/test/testfoo.ts","../test/proto/gen/dxos/test/extensions.ts","../test/proto/gen/dxos/test/any.ts","../test/proto/gen/dxos/test/another.ts","../test/proto/gen/google/protobuf.ts","../test/proto/substitutions.ts","../test/proto/gen/dxos/test.ts","../test/proto/gen/index.ts","../test/schema.test.ts","../test/service.test.ts","../../../../common/temp/node_modules/.pnpm/@sinclair+typebox@0.24.20/node_modules/@sinclair/typebox/typebox.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+schemas@28.1.3/node_modules/@jest/schemas/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@28.1.3/node_modules/pretty-format/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@28.1.3/node_modules/jest-diff/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-matcher-utils@28.1.3/node_modules/jest-matcher-utils/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+jest@28.1.6/node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","3eb679a56cab01203a1ba7edeade937f6a2a4c718513b2cd930b579807fa9359","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"ff667ee99e5a28c3dc5063a3cfd4d3436699e3fb035d4451037da7f567da542a","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"1558c642e03689d42843e7b047b9c20e77ee09ab388ff854484db5dcfbed11da",{"version":"f5582330c9f9700bdc723aad90dcbef92f9603e755b289a851c5408548797856","signature":"0c8fbfa70df3f104b3c28a42d0e5f6191b8da0915922889015b9bf52e4fbe6b6"},"3fa86a2c33804b6a4221dda3714a6a2f8a2f26983ea6c63d2bf6f2839fbb778a",{"version":"48e5221153070d6b84fce62688237e96382e0a45ec64fd51268a3bda352f9abe","signature":"510a5e0d793321c0a04303aead55421886842705440ee9a3e1862fad8fdaddb5"},{"version":"f0e81d9735b703a623c01d9818a059dc7220eaf69d6dc2ae9dde32ca5c1b5426","signature":"7beb6b1c244c8e0560e0f45e7e64be272edde59de71cb83fbd754cc5603ebdbd"},{"version":"55060fe31b737617c4ed617bb0a5e056608661919906e3c133a95127e2d399fe","signature":"974132fe4e282e1f9492f733c5e510e903217fbd9d265140e50fad22ef106229"},"b4e3edb529b83431180aba7ea2d39302afe8919962344db98d71fe0253951b62","f5f8c50d63b33b1a26c764a2397677e126bba8c94b5f24b00ae1c57723f1637f","0bcbe29a04fec377287942cc6d4ee585f24b33220ea5240945920c0834499914",{"version":"ada66deb83d60af8e287f67cb13d00c86239245f2f469e78bc078c82b59aacf6","signature":"c844b1745873f6d3bda71ffbc94391717b83eb5e3c5266d7c75b851bcb4caabf"},{"version":"984fba576baa8c1bb4eaa2183b9f193640a86b5f7103982b4e4b2905fd91800e","signature":"484f76aa7b4ac326e4f09b1c435d22ddf76bb73ec6de824f420d44d9ce586f68"},{"version":"362ccdb4475e2998fef7a1ad0e0b4da0df3d64b62dc0c9b6b6575636ebf5ffac","signature":"05d9b8a0611d543cefd435fd22179c3f9f0378c39d86fda92bbd63ab42dc31ca"},{"version":"b87f43181f7bf3931666af91ffb0b10599d494cebf0d8b04de0e9b9b6a2ce4a5","signature":"362074c0cdb4869462e526c69b70eb6aca8713b50d40d21bbcd8041034011707"},{"version":"0d628f451f2c9f73ef3d0bc615727826a0ba01fea13ce58ad1892847202c00b9","signature":"497cd6243bd3326d744d914b1121109dea28b134df7570fa09e82df4db880829"},{"version":"700681e7059b91bcbfdc094cafdb49b249b07341e6c92b2d7c028f02dc7c350d","signature":"88f14d4b3f812ad3a4ce6ea1e43521f6977d2a625b47454f273cb6e4a75051a2"},{"version":"416e2fdb83065dac1f92380a0a11a4ce019c34fdebdc12e05840bc55c3fe98fb","signature":"d4b5b1106a00e91fd399dd48be3c7558015e976f3c7a16f91821a8601636d533"},{"version":"b4b358567bd5881edebb8ac72d265d7d2b615256c04646ccd7b9cc2be7fdc1c4","signature":"771f9f07ec56065a15bd31e8e63162183fbacf7946e398b716ca1ee9d0913b4c"},{"version":"be481ad0d1c33ca46cd9a7d868b763e5f555579c499a8719ce016ecf9d4ee50e","signature":"ff70c50c32d07be78ea28274ab546fd992bc1d4316eb44ccb096a8d3bb8f2f33"},{"version":"0ba7e2a67010415c0ee24d91860ec99a9306b8526c0fb16de26a5a67fc0ed1b9","signature":"9eeace296505e9006f4b8db94919321c2c647a99c82c827e610517428d78effa"},{"version":"5610aae3d026abe4b45e770d759fce2ba84d8787180fc00eb497dc0ecc92139b","signature":"786170021066cddbc7b31e9529f785c0d579f2123d2dc2adc3fa72f95e4e85a3"},{"version":"79a04e9a6b60a12e47eb4300440430f92122f117f2e48b97a7922a383f2c2f1c","signature":"9d07bd72a00f9f384099f88606ea4c90e70f8da5ccb2cce347c4c2e19ed2bccf"},{"version":"109420e6f2a2062fb78d039b3457270ae67b1ce64e2f037a9dfa79f785d719a5","signature":"ac9fdb3b106f02fa4f478af94bd689c55693f30804cc82b8a0d05f5d9be2d870"},"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2",{"version":"8f915b121c456688a7c6c5923e1db2a1fb6547469f1aac98e229a31cdf28662d","signature":"01c39229a9d4f75605b945f78c82b659ce3e06021a971b522f1de87f36b24bd9"},{"version":"48717a0eb69d4792b19e3881d091f05729c9e8c8baa08a24301af9296266c93f","signature":"cd1ec3badbbc306cb775ee32356197e2e279318c066d9eb050656f527301f111"},{"version":"98dfaad359fde7189c7cc6f19dee81eac83bbec9714935a5a9e8b4307f21eb78","signature":"d43b02d9732d2db3d837a43d81da89c107041a4b36b7606deaaa04520460a95b"},"dac69319e7c96790211dd55fbb25831b7bf6e63f7645297a2c8f46247d44d889",{"version":"99113e4c4599427330953ea8c0090f7b540d761cb9f162d39d65a130458feef4","affectsGlobalScope":true},"c58be3e560989a877531d3ff7c9e5db41c5dd9282480ccf197abfcc708a95b8d","4d1462b70f05fd1b16d7d4f78ac195824560a1dd96407de0a1fe964f3ec0e9d4","50d22844db90a0dcd359afeb59dd1e9a384d977b4b363c880b4e65047237a29e","b065ba1b9a52bc541a638fa4b11115644001bcf82a0a0b984b7c1834451bd2b5","cb328633afdbf2115fc1b44d5cf95558ca2bf84a4b36f6ce82a998e198c47bf6","d8b4c196cedbfbdd557ab5d5c609c32d8a77a86ac1a5e7406a06413ab56a1d67","091af8276fbc70609a00e296840bd284a2fe29df282f0e8dae2de9f0a706685f","537aff717746703d2157ec563b5de4f6393ce9f69a84ae62b49e9b6c80b6e587","8b108d831999b4c6b1df9c39cdcc57c059ef19219c441e5b61bca20aabb9f411","8714e4fab09146efd7db2d969cbeb50559225f09f40a2171d7ac122572d0d269","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","720f5916937961481bce84e956040e9d6375d43870762cf47e25fc227f3eee24",{"version":"0627928342f64be2b096951a1900352d117bcf9cbc61ac2985e561d0c0afb341","signature":"43e818adf60173644896298637f47b01d5819b17eda46eaa32d0c7d64724d012"},{"version":"b02f356a62dd75ff97f0cf16744c7cb555912edb8a513bfe2665958966183425","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"6fae436da494e229f31b3841b65ef89a3add22599f7329b3424abb23a831fd52","signature":"6712e5ba0d950b8cffc0db4655304037a8387f640bc12c0d339c29d2502e779e"},{"version":"0d52f5dbec52a98ac5ea7c4e4b63087fdf152e124f9537f2d5373c92c18847fb","signature":"96e4522e4e953524915c251adfa650801f98b24df39bd1349c7b67a31b266727"},{"version":"502e57f8e825cfcde39abd9814801a87a5d21a091f2538c755bc2cd5468af0a9","signature":"ce0bb9f2bb2a5e04d680c04bb62151aa1e3905f0ea207b2cdd405101f559acf3"},{"version":"f285887fa61a0d60fa6000bd951cea6b6c79b14449b51471947bf87d907bcf77","signature":"56d9053830806cb1ce34f6547c01d89068218ea0516c62dec54a2add1e26252c"},{"version":"adbec5ccdcac61a84cad9f606eb52f83656de371b762370beebe8035bea65f9a","signature":"0ceb440159ef1769f625c66a43857b3a65c4e2fddefb566343499355e2ec6082"},"0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","c665d5c50c2573aefd98f0ffb12c5583e333ed94294ce6f144a4163a8c84f09b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"8a215750db3e2073511e07c9e293c8c40d6109e5c7368845e060bcc12adbae6f","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","3fa48484c65913004d5abb5c0f917b61ea4684f32d05bb28c1ecfa5f05a9ed12","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","0b181bbecdeb6becd582512ef095df3010f35da151c6f9b1f4672f37a564138f","a83c633597b14a433d9e3de3fc5cefe94d15120bda99527f02a9ce032a585e98","2f9c5296a20d97caa55616024cecd97676b364c389a11438a80589e2398dc99b","125e4c84f7eaee8be324132f27953887d7be1a94440b0d87390b93fc8b65cdd8","1cff09c6ff590bb65bd5566f6d7cc2e9fec5ff68eec0f3aef8c69867cd220809","0724b631bcad7be2efbbfee090de5ac9fb49a5180f8c3c106b5ad277764b700b","610195b05aab126cca2719f4f9aee119e74b841c37d025a094bf9e002464fc17","6ad76201753175dae31aff88fa6f51482b595cc1b44cb223f83fcc94d2bb028d","00a071cc9e1949820991fb4ee64cc5b357355d6a40a28132deb4643b94b0f93f","2da7f849cc9a920aeb4b3e2cdd6304204688b3627c8f4fb91e8cbb5fd9a10067","4436545a1c5b2fc79659d71811b4d871a3e5533af64e37433730474ff4a63d20","773d53f5104b0adebf2b02cd35f567e74d148f003cc5de1b9f9dd58e4247336f","24c477490b4bde0038a611748d56d3c20cecd2ee4f35b8f03e43a98e37e0a668","aca278e38f709c50cff900effb41ee3b2e6709f6b1d608becfc8a48b6c71392a",{"version":"4568c0a1a5ba47473a16f0874dc3cd693dd5d1d19214cb035e4d5d63dc1b59a8","signature":"73c10018a84406dafc769b9c06030160386bd925066bdae467575159dc14eae1"},{"version":"22bc9b4b3b923faf9def64f7528b71e60ff171b71373382532e6e1ee9b9ed58f","signature":"52312426ab8255a4fdb1e8c56220410e1b92233bd8807c46c27d6a47984dd4cc"},{"version":"f831cfb781df89662a6c084dc338f10dc0f3ec389f57de8d5dd6f6f076f0411c","signature":"2784797074096570b4e0070177d2db9b3f9e32f68b6904c64dd8d05d5c878aac"},{"version":"7d4b7b07bb6390c985c051fb8ef32b4c7474739b2efd96fc07701dc131864314","signature":"35638602960c92f83f1bd66aa4844c48c7791c4e37df5346585e9a5b35563dac"},{"version":"65b955eb59a3b8359ebd6514cd87c640815b3751e00f71a481d8ceddc1315a60","signature":"d260c65c1e18d0d327eefc07209ece4791d6c047924aaa18177b774310d5cfb1"},{"version":"1469c4167b000fde30ff0f81e619fbf633e9521146cc4e4a9d628c1ee82a425e","signature":"d6d178e28bff7ed5112a3d17169e26a857b042d222e8909795aa82ea904005c6"},{"version":"2bdae7cd67e4de1dfd5472be6af9c7c9030a4d2310e29827c89ffa7aff2beb1e","signature":"18431edc968168ba28d3eed337e9aa5de133ef352a0ca7faca6a96fdf937ebca"},{"version":"db17bc0c542b64da75c0b049102a4da7e31d2c6ea4941198bf8ff2ef5d57b4b9","signature":"3ffa07d78af4d570864249cb9d61a3ad3aff3e51439b615115005c1c09857f84"},{"version":"09d39bac579c3a89458800d9ac9adf6af4a69e219798ea9203f3a0e2233c184c","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"5a16a8f0d365fced48652f4e9a0608d605df8ecb35bc366ded32804b2fee8bdf","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},"d982cdd2610155b3cbcbfa62ccabcf2d2b739f821518ef113348d160ef0010d9","ffcc5500e77223169833fc6eb59b3a507944a1f89574e0a1276b0ea7fc22c4a4","22f13de9e2fe5f0f4724797abd3d34a1cdd6e47ef81fc4933fea3b8bf4ad524b","e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","cda0cb09b995489b7f4c57f168cd31b83dcbaa7aad49612734fb3c9c73f6e4f2",{"version":"1de1ad6a1929317171d8cfcd55bb2732257680c1bf89bcd53e1d46a4d8dbda22","affectsGlobalScope":true}],"options":{"composite":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":2,"module":1,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":5},"fileIdsList":[[143,175],[143],[59,143],[143,177,179],[100,143],[103,143],[104,109,143],[105,115,116,123,132,142,143],[105,106,115,123,143],[107,143],[108,109,116,124,143],[109,132,139,143],[110,112,115,123,143],[111,143],[112,113,143],[114,115,143],[115,143],[115,116,117,132,142,143],[115,116,117,132,143],[118,123,132,142,143],[115,116,118,119,123,132,139,142,143],[118,120,132,139,142,143],[100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149],[115,121,143],[122,142,143],[112,115,123,132,143],[124,143],[125,143],[103,126,143],[127,141,143,147],[128,143],[129,143],[115,130,143],[130,131,143,145],[115,132,133,134,143],[132,134,143],[132,133,143],[135,143],[136,143],[115,137,138,143],[137,138,143],[109,123,139,143],[140,143],[123,141,143],[104,118,129,142,143],[109,143],[132,143,144],[143,145],[143,146],[104,109,115,117,126,132,142,143,145,147],[132,143,148],[143,177],[75,143,178],[143,176],[90,91,143],[60,143],[80,81,82,83,84,85,86,87,88,89,143],[80,143],[81,143],[90,143],[143,150,151],[53,143,151,155,157],[143,155],[53,143],[143,151,152,153,154,155,156,157,158,159,160,163],[53,143,156],[53,143,154,156,158],[53,143,153,155],[143,161,162],[63,143],[53,55,57,64,66,67,69,70,143],[55,143],[53,55,64,65,125,143],[53,55,63,67,100,143],[53,55,56,57,63,64,70,71,73,125,143],[67,71,73,143],[53,55,64,65,68,125,143],[53,55,56,72,143],[53,55,57,63,64,65,67,100,125,143],[53,55,57,63,143],[77,143],[56,63,75,143],[56,76,77,79,92,125,143],[100,125,143],[53,54,57,63,125,143],[53,55,100,143],[58,62,143],[53,116,125,143],[55,56,61,143],[53,54,55,56,57,63,74,76,116,125,143],[143,164,165,166,167,168,169,170],[143,164,165,166,167,169,170,171],[143,164,165,166,168,169,170,171],[143,164,165,167,168,169,170,171],[143,164,166,167,168,169,170,171],[143,164,165,166,167,168,170,171],[143,164,165,166,167,168,169,170,171],[98,99,143,164,169],[99,116,125,143,165,171,172],[99,143,164,171,172],[63],[53,55,64],[55],[53,55,63],[53,55,56,63],[67,71,73],[53,55,56],[77],[56,63],[53,55],[58,62],[55,56],[53],[53,56,63],[164,165,167,170],[166],[164,165,166,167,168,169,171],[98,99,164]],"referencedMap":[[176,1],[175,2],[60,3],[59,2],[79,2],[180,4],[100,5],[101,5],[103,6],[104,7],[105,8],[106,9],[107,10],[108,11],[109,12],[110,13],[111,14],[112,15],[113,15],[114,16],[115,17],[116,18],[117,19],[102,2],[149,2],[118,20],[119,21],[120,22],[150,23],[121,24],[122,25],[123,26],[124,27],[125,28],[126,29],[127,30],[128,31],[129,32],[130,33],[131,34],[132,35],[134,36],[133,37],[135,38],[136,39],[137,40],[138,41],[139,42],[140,43],[141,44],[142,45],[143,46],[144,47],[145,48],[146,49],[147,50],[148,51],[91,2],[75,2],[178,52],[179,53],[177,54],[53,2],[92,55],[61,56],[90,57],[80,2],[81,2],[87,58],[84,2],[83,59],[82,2],[89,60],[88,2],[86,58],[85,59],[12,2],[11,2],[2,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[3,2],[4,2],[24,2],[21,2],[22,2],[23,2],[25,2],[26,2],[27,2],[5,2],[28,2],[29,2],[30,2],[31,2],[6,2],[32,2],[33,2],[34,2],[35,2],[7,2],[36,2],[41,2],[42,2],[37,2],[38,2],[39,2],[40,2],[8,2],[46,2],[43,2],[44,2],[45,2],[47,2],[9,2],[48,2],[49,2],[50,2],[51,2],[1,2],[10,2],[52,2],[55,2],[152,61],[158,62],[156,63],[159,64],[164,65],[151,2],[157,66],[160,64],[155,67],[154,68],[153,2],[161,63],[163,69],[162,2],[54,64],[64,70],[71,71],[65,72],[66,73],[68,74],[74,75],[96,76],[69,77],[73,78],[70,79],[67,80],[78,81],[76,82],[93,83],[56,84],[94,85],[57,86],[63,87],[58,88],[62,89],[72,64],[77,90],[95,2],[97,2],[98,2],[99,2],[171,91],[168,92],[167,93],[166,94],[165,95],[169,96],[172,97],[170,98],[173,99],[174,100]],"exportedModulesMap":[[176,1],[175,2],[60,3],[59,2],[79,2],[180,4],[100,5],[101,5],[103,6],[104,7],[105,8],[106,9],[107,10],[108,11],[109,12],[110,13],[111,14],[112,15],[113,15],[114,16],[115,17],[116,18],[117,19],[102,2],[149,2],[118,20],[119,21],[120,22],[150,23],[121,24],[122,25],[123,26],[124,27],[125,28],[126,29],[127,30],[128,31],[129,32],[130,33],[131,34],[132,35],[134,36],[133,37],[135,38],[136,39],[137,40],[138,41],[139,42],[140,43],[141,44],[142,45],[143,46],[144,47],[145,48],[146,49],[147,50],[148,51],[91,2],[75,2],[178,52],[179,53],[177,54],[53,2],[92,55],[61,56],[90,57],[80,2],[81,2],[87,58],[84,2],[83,59],[82,2],[89,60],[88,2],[86,58],[85,59],[12,2],[11,2],[2,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[3,2],[4,2],[24,2],[21,2],[22,2],[23,2],[25,2],[26,2],[27,2],[5,2],[28,2],[29,2],[30,2],[31,2],[6,2],[32,2],[33,2],[34,2],[35,2],[7,2],[36,2],[41,2],[42,2],[37,2],[38,2],[39,2],[40,2],[8,2],[46,2],[43,2],[44,2],[45,2],[47,2],[9,2],[48,2],[49,2],[50,2],[51,2],[1,2],[10,2],[52,2],[55,2],[152,61],[158,62],[156,63],[159,64],[164,65],[151,2],[157,66],[160,64],[155,67],[154,68],[153,2],[161,63],[163,69],[162,2],[64,101],[71,102],[65,103],[66,102],[68,104],[74,105],[96,106],[69,102],[73,107],[70,102],[67,104],[78,108],[76,109],[57,110],[63,111],[62,112],[72,113],[77,114],[171,115],[169,116],[172,117],[170,118]],"semanticDiagnosticsPerFile":[176,175,60,59,79,180,100,101,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,102,149,118,119,120,150,121,122,123,124,125,126,127,128,129,130,131,132,134,133,135,136,137,138,139,140,141,142,143,144,145,146,147,148,91,75,178,179,177,53,92,61,90,80,81,87,84,83,82,89,88,86,85,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,36,41,42,37,38,39,40,8,46,43,44,45,47,9,48,49,50,51,1,10,52,55,152,158,156,159,164,151,157,160,155,154,153,161,163,162,54,64,71,65,66,68,74,96,69,73,70,67,78,76,93,56,94,57,63,58,62,72,77,95,97,98,99,171,168,167,166,165,169,172,170,173,174]},"version":"4.7.4"}
1
+ {"program":{"fileNames":["../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es5.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2016.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.esnext.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../common/temp/node_modules/.pnpm/protobufjs@6.11.2/node_modules/protobufjs/index.d.ts","../src/configure.ts","../../../../common/temp/node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/typescript.d.ts","../src/module-specifier.ts","../src/namespaces.ts","../src/parser/resolver.ts","../../../../common/temp/node_modules/.pnpm/@ts-morph+common@0.9.2/node_modules/@ts-morph/common/lib/typescript.d.ts","../../../../common/temp/node_modules/.pnpm/@ts-morph+common@0.9.2/node_modules/@ts-morph/common/lib/ts-morph-common.d.ts","../../../../common/temp/node_modules/.pnpm/ts-morph@10.0.2/node_modules/ts-morph/lib/ts-morph.d.ts","../src/parser/substitutions-parser.ts","../src/parser/index.ts","../src/generator/context.ts","../src/generator/doc-comment.ts","../src/generator/enum.ts","../src/generator/types.ts","../src/generator/field.ts","../src/generator/message.ts","../src/generator/service.ts","../src/generator/declaration-generator.ts","../src/protobuf-json.ts","../src/generator/serializer-definition-generator.ts","../src/generator/file-generator.ts","../../../../common/temp/node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../src/logger.ts","../src/type-generator.ts","../src/index.ts","../../../../common/temp/node_modules/.pnpm/@types+argparse@2.0.10/node_modules/@types/argparse/index.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/basic.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/except.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/mutable.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/merge.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/merge-exclusive.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/require-at-least-one.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/readonly-deep.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/literal-union.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/promisable.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/source/package-json.d.ts","../../../../common/temp/node_modules/.pnpm/type-fest@0.6.0/node_modules/type-fest/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+normalize-package-data@2.4.1/node_modules/@types/normalize-package-data/index.d.ts","../../../../common/temp/node_modules/.pnpm/read-pkg@5.2.0/node_modules/read-pkg/index.d.ts","../src/main.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/assert.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/assert/strict.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/globals.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/async_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/buffer.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/child_process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/cluster.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/console.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/constants.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/crypto.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/dgram.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/diagnostics_channel.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/dns.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/dns/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/domain.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/fs.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/fs/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/http.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/http2.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/https.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/inspector.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/module.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/net.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/os.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/path.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/perf_hooks.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/process.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/punycode.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/querystring.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/readline.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/repl.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream/consumers.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/stream/web.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/string_decoder.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/timers.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/timers/promises.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/tls.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/trace_events.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/tty.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/url.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/util.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/v8.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/vm.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/wasi.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/worker_threads.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/zlib.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/globals.global.d.ts","../../../../common/temp/node_modules/.pnpm/@types+node@16.11.27/node_modules/@types/node/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+istanbul-lib-coverage@2.0.3/node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/Global.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/Circus.d.ts","../../../../common/temp/node_modules/.pnpm/@types+istanbul-lib-report@3.0.0/node_modules/@types/istanbul-lib-report/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+istanbul-reports@3.0.1/node_modules/@types/istanbul-reports/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+yargs-parser@20.2.1/node_modules/@types/yargs-parser/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+yargs@16.0.4/node_modules/@types/yargs/index.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/Config.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/TestResult.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/Transform.d.ts","../../../../common/temp/node_modules/.pnpm/@jest+types@27.4.2/node_modules/@jest/types/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@27.4.2/node_modules/pretty-format/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/pretty-format@27.4.2/node_modules/pretty-format/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/diffLines.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/printDiffs.d.ts","../../../../common/temp/node_modules/.pnpm/jest-diff@27.4.2/node_modules/jest-diff/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/jest-matcher-utils@27.4.2/node_modules/jest-matcher-utils/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/expect@27.0.6/node_modules/expect/build/jestMatchersObject.d.ts","../../../../common/temp/node_modules/.pnpm/expect@27.0.6/node_modules/expect/build/types.d.ts","../../../../common/temp/node_modules/.pnpm/expect@27.0.6/node_modules/expect/build/index.d.ts","../../../../common/temp/node_modules/.pnpm/@types+mocha@8.2.3/node_modules/@types/mocha/index.d.ts","../src/namespaces.test.ts","../src/util.ts","../src/generator/index.ts","../test/any.ts","../test/my-interface.ts","../test/my-key.ts","../../codec-protobuf/dist/src/interface.d.ts","../../codec-protobuf/dist/src/buffer-patch.d.ts","../../codec-protobuf/dist/src/stream.d.ts","../../codec-protobuf/dist/src/service.d.ts","../../codec-protobuf/dist/src/schema.d.ts","../../codec-protobuf/dist/src/common.d.ts","../../codec-protobuf/dist/src/mapping.d.ts","../../codec-protobuf/dist/src/codec.d.ts","../../codec-protobuf/dist/src/encoding.d.ts","../../codec-protobuf/dist/src/sanitizer.d.ts","../../codec-protobuf/dist/src/substitutions/any.d.ts","../../codec-protobuf/dist/src/substitutions/timestamp.d.ts","../../codec-protobuf/dist/src/substitutions/index.d.ts","../../codec-protobuf/dist/src/index.d.ts","../test/proto/gen/dxos/test/testfoo.ts","../test/proto/gen/dxos/test/extensions.ts","../test/proto/gen/dxos/test/any.ts","../test/proto/gen/dxos/test/another.ts","../test/proto/gen/google/protobuf.ts","../test/proto/substitutions.ts","../test/proto/gen/dxos/test.ts","../test/proto/gen/index.ts","../test/schema.test.ts","../test/service.test.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","3eb679a56cab01203a1ba7edeade937f6a2a4c718513b2cd930b579807fa9359","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"ff667ee99e5a28c3dc5063a3cfd4d3436699e3fb035d4451037da7f567da542a","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"1558c642e03689d42843e7b047b9c20e77ee09ab388ff854484db5dcfbed11da",{"version":"f5582330c9f9700bdc723aad90dcbef92f9603e755b289a851c5408548797856","signature":"0c8fbfa70df3f104b3c28a42d0e5f6191b8da0915922889015b9bf52e4fbe6b6"},"3fa86a2c33804b6a4221dda3714a6a2f8a2f26983ea6c63d2bf6f2839fbb778a",{"version":"48e5221153070d6b84fce62688237e96382e0a45ec64fd51268a3bda352f9abe","signature":"510a5e0d793321c0a04303aead55421886842705440ee9a3e1862fad8fdaddb5"},{"version":"f0e81d9735b703a623c01d9818a059dc7220eaf69d6dc2ae9dde32ca5c1b5426","signature":"7beb6b1c244c8e0560e0f45e7e64be272edde59de71cb83fbd754cc5603ebdbd"},{"version":"55060fe31b737617c4ed617bb0a5e056608661919906e3c133a95127e2d399fe","signature":"974132fe4e282e1f9492f733c5e510e903217fbd9d265140e50fad22ef106229"},"b4e3edb529b83431180aba7ea2d39302afe8919962344db98d71fe0253951b62","f5f8c50d63b33b1a26c764a2397677e126bba8c94b5f24b00ae1c57723f1637f","0bcbe29a04fec377287942cc6d4ee585f24b33220ea5240945920c0834499914",{"version":"ada66deb83d60af8e287f67cb13d00c86239245f2f469e78bc078c82b59aacf6","signature":"c844b1745873f6d3bda71ffbc94391717b83eb5e3c5266d7c75b851bcb4caabf"},{"version":"984fba576baa8c1bb4eaa2183b9f193640a86b5f7103982b4e4b2905fd91800e","signature":"484f76aa7b4ac326e4f09b1c435d22ddf76bb73ec6de824f420d44d9ce586f68"},{"version":"362ccdb4475e2998fef7a1ad0e0b4da0df3d64b62dc0c9b6b6575636ebf5ffac","signature":"05d9b8a0611d543cefd435fd22179c3f9f0378c39d86fda92bbd63ab42dc31ca"},{"version":"b87f43181f7bf3931666af91ffb0b10599d494cebf0d8b04de0e9b9b6a2ce4a5","signature":"362074c0cdb4869462e526c69b70eb6aca8713b50d40d21bbcd8041034011707"},{"version":"0d628f451f2c9f73ef3d0bc615727826a0ba01fea13ce58ad1892847202c00b9","signature":"497cd6243bd3326d744d914b1121109dea28b134df7570fa09e82df4db880829"},{"version":"700681e7059b91bcbfdc094cafdb49b249b07341e6c92b2d7c028f02dc7c350d","signature":"88f14d4b3f812ad3a4ce6ea1e43521f6977d2a625b47454f273cb6e4a75051a2"},{"version":"416e2fdb83065dac1f92380a0a11a4ce019c34fdebdc12e05840bc55c3fe98fb","signature":"d4b5b1106a00e91fd399dd48be3c7558015e976f3c7a16f91821a8601636d533"},{"version":"b4b358567bd5881edebb8ac72d265d7d2b615256c04646ccd7b9cc2be7fdc1c4","signature":"771f9f07ec56065a15bd31e8e63162183fbacf7946e398b716ca1ee9d0913b4c"},{"version":"be481ad0d1c33ca46cd9a7d868b763e5f555579c499a8719ce016ecf9d4ee50e","signature":"ff70c50c32d07be78ea28274ab546fd992bc1d4316eb44ccb096a8d3bb8f2f33"},{"version":"0ba7e2a67010415c0ee24d91860ec99a9306b8526c0fb16de26a5a67fc0ed1b9","signature":"9eeace296505e9006f4b8db94919321c2c647a99c82c827e610517428d78effa"},{"version":"5610aae3d026abe4b45e770d759fce2ba84d8787180fc00eb497dc0ecc92139b","signature":"786170021066cddbc7b31e9529f785c0d579f2123d2dc2adc3fa72f95e4e85a3"},{"version":"79a04e9a6b60a12e47eb4300440430f92122f117f2e48b97a7922a383f2c2f1c","signature":"9d07bd72a00f9f384099f88606ea4c90e70f8da5ccb2cce347c4c2e19ed2bccf"},{"version":"109420e6f2a2062fb78d039b3457270ae67b1ce64e2f037a9dfa79f785d719a5","signature":"ac9fdb3b106f02fa4f478af94bd689c55693f30804cc82b8a0d05f5d9be2d870"},"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2",{"version":"8f915b121c456688a7c6c5923e1db2a1fb6547469f1aac98e229a31cdf28662d","signature":"01c39229a9d4f75605b945f78c82b659ce3e06021a971b522f1de87f36b24bd9"},{"version":"48717a0eb69d4792b19e3881d091f05729c9e8c8baa08a24301af9296266c93f","signature":"cd1ec3badbbc306cb775ee32356197e2e279318c066d9eb050656f527301f111"},{"version":"98dfaad359fde7189c7cc6f19dee81eac83bbec9714935a5a9e8b4307f21eb78","signature":"d43b02d9732d2db3d837a43d81da89c107041a4b36b7606deaaa04520460a95b"},"dac69319e7c96790211dd55fbb25831b7bf6e63f7645297a2c8f46247d44d889",{"version":"99113e4c4599427330953ea8c0090f7b540d761cb9f162d39d65a130458feef4","affectsGlobalScope":true},"c58be3e560989a877531d3ff7c9e5db41c5dd9282480ccf197abfcc708a95b8d","4d1462b70f05fd1b16d7d4f78ac195824560a1dd96407de0a1fe964f3ec0e9d4","50d22844db90a0dcd359afeb59dd1e9a384d977b4b363c880b4e65047237a29e","b065ba1b9a52bc541a638fa4b11115644001bcf82a0a0b984b7c1834451bd2b5","cb328633afdbf2115fc1b44d5cf95558ca2bf84a4b36f6ce82a998e198c47bf6","d8b4c196cedbfbdd557ab5d5c609c32d8a77a86ac1a5e7406a06413ab56a1d67","091af8276fbc70609a00e296840bd284a2fe29df282f0e8dae2de9f0a706685f","537aff717746703d2157ec563b5de4f6393ce9f69a84ae62b49e9b6c80b6e587","8b108d831999b4c6b1df9c39cdcc57c059ef19219c441e5b61bca20aabb9f411","8714e4fab09146efd7db2d969cbeb50559225f09f40a2171d7ac122572d0d269","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","720f5916937961481bce84e956040e9d6375d43870762cf47e25fc227f3eee24",{"version":"0627928342f64be2b096951a1900352d117bcf9cbc61ac2985e561d0c0afb341","signature":"43e818adf60173644896298637f47b01d5819b17eda46eaa32d0c7d64724d012"},"0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","c665d5c50c2573aefd98f0ffb12c5583e333ed94294ce6f144a4163a8c84f09b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"8a215750db3e2073511e07c9e293c8c40d6109e5c7368845e060bcc12adbae6f","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","3fa48484c65913004d5abb5c0f917b61ea4684f32d05bb28c1ecfa5f05a9ed12","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","de18acda71730bac52f4b256ce7511bb56cc21f6f114c59c46782eff2f632857","b35c484129671a62dbffdd0716d787923ef43f2f93b7e55528f94cef7e131d74","95b6c669e7ed7c5358c03f8aa24986640f6125ee81bb99e70e9155974f7fd253","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","f7e133b20ee2669b6c0e5d7f0cd510868c57cd64b283e68c7f598e30ce9d76d2","6ba73232c9d3267ca36ddb83e335d474d2c0e167481e3dec416c782894e11438","f7dd7280ee4f0420865e6423fe199aeac63d1d66203a8b631077cdc15501ef1f","ef62b4aa372f77458d84c26614b44129f929e263c81b5cd1034f5828a5530412","8610558ae88a43ad794c4ab1da4f0e8e174e0357c88f6cbb21f523e67414e9a9","0b0feb9837c561c0a67b61024328045bb16bac6e4b10f7b0b217d3b8b43b0b12","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73","100db324c7664a9a2a4b76d7131fc69dfdf38d24542afc19825d05f401259fab","80b186d68c99a4cc9443cb3cab6eb9a2a136c65a9973ed403761961ca2cd94e6","00e95882237b1f291eb7ed34acf069003d2e6dc977c374f9798d7ad59b4aabbd",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true},{"version":"81a46f28a105cc811b299556014a8fdb81243762b4b5c24ec2d54bb18981d7a8","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"6fae436da494e229f31b3841b65ef89a3add22599f7329b3424abb23a831fd52","signature":"6712e5ba0d950b8cffc0db4655304037a8387f640bc12c0d339c29d2502e779e"},{"version":"0d52f5dbec52a98ac5ea7c4e4b63087fdf152e124f9537f2d5373c92c18847fb","signature":"96e4522e4e953524915c251adfa650801f98b24df39bd1349c7b67a31b266727"},{"version":"502e57f8e825cfcde39abd9814801a87a5d21a091f2538c755bc2cd5468af0a9","signature":"ce0bb9f2bb2a5e04d680c04bb62151aa1e3905f0ea207b2cdd405101f559acf3"},{"version":"f285887fa61a0d60fa6000bd951cea6b6c79b14449b51471947bf87d907bcf77","signature":"56d9053830806cb1ce34f6547c01d89068218ea0516c62dec54a2add1e26252c"},{"version":"adbec5ccdcac61a84cad9f606eb52f83656de371b762370beebe8035bea65f9a","signature":"0ceb440159ef1769f625c66a43857b3a65c4e2fddefb566343499355e2ec6082"},"0b181bbecdeb6becd582512ef095df3010f35da151c6f9b1f4672f37a564138f","a83c633597b14a433d9e3de3fc5cefe94d15120bda99527f02a9ce032a585e98","94a05f88dfc16b74b9d41813283fc892c4371c9f604a14f45ad8760f50872dfa","125e4c84f7eaee8be324132f27953887d7be1a94440b0d87390b93fc8b65cdd8","1cff09c6ff590bb65bd5566f6d7cc2e9fec5ff68eec0f3aef8c69867cd220809","0724b631bcad7be2efbbfee090de5ac9fb49a5180f8c3c106b5ad277764b700b","610195b05aab126cca2719f4f9aee119e74b841c37d025a094bf9e002464fc17","6ad76201753175dae31aff88fa6f51482b595cc1b44cb223f83fcc94d2bb028d","00a071cc9e1949820991fb4ee64cc5b357355d6a40a28132deb4643b94b0f93f","2da7f849cc9a920aeb4b3e2cdd6304204688b3627c8f4fb91e8cbb5fd9a10067","4436545a1c5b2fc79659d71811b4d871a3e5533af64e37433730474ff4a63d20","773d53f5104b0adebf2b02cd35f567e74d148f003cc5de1b9f9dd58e4247336f","24c477490b4bde0038a611748d56d3c20cecd2ee4f35b8f03e43a98e37e0a668","aca278e38f709c50cff900effb41ee3b2e6709f6b1d608becfc8a48b6c71392a",{"version":"4568c0a1a5ba47473a16f0874dc3cd693dd5d1d19214cb035e4d5d63dc1b59a8","signature":"73c10018a84406dafc769b9c06030160386bd925066bdae467575159dc14eae1"},{"version":"22bc9b4b3b923faf9def64f7528b71e60ff171b71373382532e6e1ee9b9ed58f","signature":"52312426ab8255a4fdb1e8c56220410e1b92233bd8807c46c27d6a47984dd4cc"},{"version":"f831cfb781df89662a6c084dc338f10dc0f3ec389f57de8d5dd6f6f076f0411c","signature":"2784797074096570b4e0070177d2db9b3f9e32f68b6904c64dd8d05d5c878aac"},{"version":"7d4b7b07bb6390c985c051fb8ef32b4c7474739b2efd96fc07701dc131864314","signature":"35638602960c92f83f1bd66aa4844c48c7791c4e37df5346585e9a5b35563dac"},{"version":"65b955eb59a3b8359ebd6514cd87c640815b3751e00f71a481d8ceddc1315a60","signature":"d260c65c1e18d0d327eefc07209ece4791d6c047924aaa18177b774310d5cfb1"},{"version":"1469c4167b000fde30ff0f81e619fbf633e9521146cc4e4a9d628c1ee82a425e","signature":"d6d178e28bff7ed5112a3d17169e26a857b042d222e8909795aa82ea904005c6"},{"version":"40ffcca02b1848aa0d514dedb5a0cd2f2b93090f0a845fcc3c5eac0fd3368345","signature":"2b23a04d06065e108c23891894ca7790d0831d1880ecea07335139629f39e856"},{"version":"271b557b874abcabe3431a4dcd874a9dc94f608a47e085b736b45bbc4da6d3c9","signature":"7cbeb9e8e20d06a04c422ad7021b1a58e60a143641597a8580c7d3ab8eaf4eca"},{"version":"fec6e3f19465cfa9f2c672eb527ba9d896e9c0868fdceec97ae90f52df206a4a","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"a01980eb747bac76e82945ba13ae364381bcd0e581839aa3dbcb0019a98cb49d","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"}],"options":{"composite":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":2,"module":1,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":5},"fileIdsList":[[137,144,146],[75,137,149,151],[137,145],[137],[137,146,147,152,153,154],[59,137],[137,148],[94,137],[97,137],[98,103,137],[99,109,110,117,126,136,137],[99,100,109,117,137],[101,137],[102,103,110,118,137],[103,126,133,137],[104,106,109,117,137],[105,137],[106,107,137],[108,109,137],[109,137],[109,110,111,126,136,137],[109,110,111,126,137],[112,117,126,136,137],[109,110,112,113,117,126,133,136,137],[112,114,126,133,136,137],[94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143],[109,115,137],[116,136,137],[106,109,117,126,137],[118,137],[119,137],[97,120,137],[121,135,137,141],[122,137],[123,137],[109,124,137],[124,125,137,139],[109,126,127,128,137],[126,128,137],[126,127,137],[129,137],[130,137],[109,131,132,137],[131,132,137],[103,117,133,137],[134,137],[117,135,137],[98,112,123,136,137],[103,137],[126,137,138],[137,139],[137,140],[98,103,109,111,120,126,136,137,139,141],[126,137,142],[137,150],[137,165],[137,155,163,164],[137,156,159],[137,156,159,160,161],[137,158],[75,137,162],[137,157],[90,91,137],[60,137],[80,81,82,83,84,85,86,87,88,89,137],[80,137],[81,137],[90,137],[137,144,174],[53,137,174,178,180],[137,178],[53,137],[137,174,175,176,177,178,179,180,181,182,183,186],[53,137,179],[53,137,177,179,181],[53,137,176,178],[137,184,185],[63,137],[53,55,57,64,66,67,69,70,137],[55,137],[53,55,64,65,119,137],[53,55,63,67,94,137],[53,55,56,57,63,64,70,71,73,119,137],[67,71,73,137],[53,55,64,65,68,119,137],[53,55,56,72,137],[53,55,57,63,64,65,67,94,119,137],[53,55,57,63,137],[77,137],[56,63,75,137],[56,76,77,79,92,119,137],[94,119,137],[53,54,57,63,119,137,166,167],[53,55,94,137],[58,62,137],[53,110,119,137],[55,56,61,137],[53,54,55,56,57,63,74,76,110,119,137],[137,187,188,189,190,191,192,193],[137,187,188,189,190,192,193,194],[137,187,188,189,191,192,193,194],[137,187,188,190,191,192,193,194],[137,187,189,190,191,192,193,194],[137,187,188,189,190,191,193,194],[137,187,188,189,190,191,192,193,194],[137,172,173,187,192],[110,119,137,166,167,173,188,194,195],[137,166,167,173,187,194,195],[63],[53,55,64],[55],[53,55,63],[53,55,56,63],[67,71,73],[53,55,56],[77],[56,63],[53,55],[58,62],[55,56],[53],[53,56,63],[187,188,190,193],[189],[187,188,189,190,191,192,194],[172,173,187]],"referencedMap":[[147,1],[152,2],[146,3],[153,4],[154,4],[155,5],[60,6],[59,4],[79,4],[145,4],[148,3],[149,7],[167,4],[94,8],[95,8],[97,9],[98,10],[99,11],[100,12],[101,13],[102,14],[103,15],[104,16],[105,17],[106,18],[107,18],[108,19],[109,20],[110,21],[111,22],[96,4],[143,4],[112,23],[113,24],[114,25],[144,26],[115,27],[116,28],[117,29],[118,30],[119,31],[120,32],[121,33],[122,34],[123,35],[124,36],[125,37],[126,38],[128,39],[127,40],[129,41],[130,42],[131,43],[132,44],[133,45],[134,46],[135,47],[136,48],[137,49],[138,50],[139,51],[140,52],[141,53],[142,54],[91,4],[150,4],[151,55],[75,4],[166,56],[164,56],[165,57],[156,4],[160,58],[162,59],[161,58],[159,60],[163,61],[158,62],[157,4],[53,4],[92,63],[61,64],[90,65],[80,4],[81,4],[87,66],[84,4],[83,67],[82,4],[89,68],[88,4],[86,66],[85,67],[12,4],[11,4],[2,4],[13,4],[14,4],[15,4],[16,4],[17,4],[18,4],[19,4],[20,4],[3,4],[4,4],[24,4],[21,4],[22,4],[23,4],[25,4],[26,4],[27,4],[5,4],[28,4],[29,4],[30,4],[31,4],[6,4],[32,4],[33,4],[34,4],[35,4],[7,4],[36,4],[41,4],[42,4],[37,4],[38,4],[39,4],[40,4],[8,4],[46,4],[43,4],[44,4],[45,4],[47,4],[9,4],[48,4],[49,4],[50,4],[51,4],[1,4],[10,4],[52,4],[55,4],[175,69],[181,70],[179,71],[182,72],[187,73],[174,4],[180,74],[183,72],[178,75],[177,76],[176,4],[184,71],[186,77],[185,4],[54,72],[64,78],[71,79],[65,80],[66,81],[68,82],[74,83],[170,84],[69,85],[73,86],[70,87],[67,88],[78,89],[76,90],[93,91],[56,92],[168,93],[57,94],[63,95],[58,96],[62,97],[72,72],[77,98],[169,4],[171,4],[172,4],[173,4],[194,99],[191,100],[190,101],[189,102],[188,103],[192,104],[195,105],[193,106],[196,107],[197,108]],"exportedModulesMap":[[147,1],[152,2],[146,3],[153,4],[154,4],[155,5],[60,6],[59,4],[79,4],[145,4],[148,3],[149,7],[167,4],[94,8],[95,8],[97,9],[98,10],[99,11],[100,12],[101,13],[102,14],[103,15],[104,16],[105,17],[106,18],[107,18],[108,19],[109,20],[110,21],[111,22],[96,4],[143,4],[112,23],[113,24],[114,25],[144,26],[115,27],[116,28],[117,29],[118,30],[119,31],[120,32],[121,33],[122,34],[123,35],[124,36],[125,37],[126,38],[128,39],[127,40],[129,41],[130,42],[131,43],[132,44],[133,45],[134,46],[135,47],[136,48],[137,49],[138,50],[139,51],[140,52],[141,53],[142,54],[91,4],[150,4],[151,55],[75,4],[166,56],[164,56],[165,57],[156,4],[160,58],[162,59],[161,58],[159,60],[163,61],[158,62],[157,4],[53,4],[92,63],[61,64],[90,65],[80,4],[81,4],[87,66],[84,4],[83,67],[82,4],[89,68],[88,4],[86,66],[85,67],[12,4],[11,4],[2,4],[13,4],[14,4],[15,4],[16,4],[17,4],[18,4],[19,4],[20,4],[3,4],[4,4],[24,4],[21,4],[22,4],[23,4],[25,4],[26,4],[27,4],[5,4],[28,4],[29,4],[30,4],[31,4],[6,4],[32,4],[33,4],[34,4],[35,4],[7,4],[36,4],[41,4],[42,4],[37,4],[38,4],[39,4],[40,4],[8,4],[46,4],[43,4],[44,4],[45,4],[47,4],[9,4],[48,4],[49,4],[50,4],[51,4],[1,4],[10,4],[52,4],[55,4],[175,69],[181,70],[179,71],[182,72],[187,73],[174,4],[180,74],[183,72],[178,75],[177,76],[176,4],[184,71],[186,77],[185,4],[64,109],[71,110],[65,111],[66,110],[68,112],[74,113],[170,114],[69,110],[73,115],[70,110],[67,112],[78,116],[76,117],[57,118],[63,119],[62,120],[72,121],[77,122],[194,123],[192,124],[195,125],[193,126]],"semanticDiagnosticsPerFile":[147,152,146,153,154,155,60,59,79,145,148,149,167,94,95,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,96,143,112,113,114,144,115,116,117,118,119,120,121,122,123,124,125,126,128,127,129,130,131,132,133,134,135,136,137,138,139,140,141,142,91,150,151,75,166,164,165,156,160,162,161,159,163,158,157,53,92,61,90,80,81,87,84,83,82,89,88,86,85,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,36,41,42,37,38,39,40,8,46,43,44,45,47,9,48,49,50,51,1,10,52,55,175,181,179,182,187,174,180,183,178,177,176,184,186,185,54,64,71,65,66,68,74,170,69,73,70,67,78,76,93,56,168,57,63,58,62,72,77,169,171,172,173,194,191,190,189,188,192,195,193,196,197]},"version":"4.7.4"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/protobuf-compiler",
3
- "version": "2.33.9-dev.bba8fc00",
3
+ "version": "2.33.9-dev.c5024091",
4
4
  "license": "MIT",
5
5
  "author": "DXOS.org",
6
6
  "main": "dist/src/index.js",
@@ -15,14 +15,6 @@
15
15
  "eslintConfig": {
16
16
  "extends": "plugin:@dxos/recomended"
17
17
  },
18
- "jest": {
19
- "modulePathIgnorePatterns": [
20
- "test/proto",
21
- "dist"
22
- ],
23
- "preset": "ts-jest/presets/default",
24
- "testEnvironment": "node"
25
- },
26
18
  "dependencies": {
27
19
  "argparse": "^2.0.1",
28
20
  "chalk": "^4.1.0",
@@ -31,17 +23,18 @@
31
23
  "ts-morph": "~10.0.2"
32
24
  },
33
25
  "devDependencies": {
34
- "@dxos/codec-protobuf": "2.33.9-dev.bba8fc00",
26
+ "@dxos/codec-protobuf": "2.33.9-dev.c5024091",
35
27
  "@dxos/eslint-plugin": "~1.0.34",
36
28
  "@dxos/protobuf-test": "2.33.8",
37
29
  "@types/argparse": "^2.0.0",
38
- "@types/jest": "^28.1.6",
39
30
  "@types/node": "^16.11.27",
40
31
  "eslint": "^7.12.1",
41
- "jest": "^28.1.3",
42
- "ts-jest": "^28.0.7",
43
32
  "ts-node": "^10.8.2",
44
- "typescript": "^4.7.2"
33
+ "typescript": "^4.7.2",
34
+ "mocha": "~8.4.0",
35
+ "@types/mocha": "~8.2.2",
36
+ "expect": "~27.0.2",
37
+ "@swc-node/register": "~1.4.2"
45
38
  },
46
39
  "peerDependencies": {
47
40
  "typescript": "^4.7.2"
@@ -54,6 +47,6 @@
54
47
  "build:test": "pnpm run build && pnpm run lint && pnpm run test",
55
48
  "gen": "ts-node src/main.ts test/proto/schema.proto test/proto/another.proto -s test/proto/substitutions.ts -o test/proto/gen",
56
49
  "lint": "eslint 'src/**/*.ts'",
57
- "test": "jest 2>&1"
50
+ "test": "mocha -r @swc-node/register '**/*.test.ts'"
58
51
  }
59
52
  }
@@ -2,6 +2,8 @@
2
2
  // Copyright 2020 DXOS.org
3
3
  //
4
4
 
5
+ import expect from 'expect';
6
+ import { it as test } from 'mocha';
5
7
  import { join } from 'path';
6
8
  import * as pb from 'protobufjs';
7
9