@mochabug/adapt-web 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/genproto/buf/validate/validate_pb.d.ts +4041 -373
- package/dist/genproto/buf/validate/validate_pb.js.map +1 -1
- package/dist/genproto/google/api/annotations_pb.js.map +1 -1
- package/dist/genproto/google/api/client_pb.d.ts +570 -19
- package/dist/genproto/google/api/client_pb.js.map +1 -1
- package/dist/genproto/google/api/http_pb.d.ts +399 -3
- package/dist/genproto/google/api/http_pb.js.map +1 -1
- package/dist/genproto/google/api/launch_stage_pb.d.ts +8 -1
- package/dist/genproto/google/api/launch_stage_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts +362 -18
- package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +33 -2
- package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +108 -1
- package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +29 -2
- package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +42 -4
- package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +39 -2
- package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +27 -2
- package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +33 -2
- package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.d.ts +51 -4
- package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +579 -15
- package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts +174 -12
- package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts +788 -50
- package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js.map +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts +340 -16
- package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.js.map +1 -1
- package/dist/index.d.ts +13 -30
- package/dist/index.js +15 -37
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { StructJson } from "@bufbuild/protobuf/wkt";
|
|
2
3
|
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
3
4
|
/**
|
|
4
5
|
* Describes the file mochabugapis/adapt/graph/jtd_schema.proto.
|
|
@@ -110,8 +111,114 @@ export type JTDSchema = Message<"mochabugapis.adapt.graph.JTDSchema"> & {
|
|
|
110
111
|
[key: string]: JTDSchema;
|
|
111
112
|
};
|
|
112
113
|
};
|
|
114
|
+
/**
|
|
115
|
+
* Schema represents a JSON Typedef Schema.
|
|
116
|
+
*
|
|
117
|
+
* @generated from message mochabugapis.adapt.graph.JTDSchema
|
|
118
|
+
*/
|
|
119
|
+
export type JTDSchemaJson = {
|
|
120
|
+
/**
|
|
121
|
+
* The definitions keyword MUST be an object where each value is a schema.
|
|
122
|
+
* This object defines a collection of schema definitions that can be referenced via the ref keyword.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.JTDSchema> definitions = 1;
|
|
125
|
+
*/
|
|
126
|
+
definitions?: {
|
|
127
|
+
[key: string]: JTDSchemaJson;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* The metadata keyword MUST be an object.
|
|
131
|
+
* This object is ignored during validation and can store custom information about the schema.
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: optional google.protobuf.Struct metadata = 2;
|
|
134
|
+
*/
|
|
135
|
+
metadata?: StructJson;
|
|
136
|
+
/**
|
|
137
|
+
* The nullable keyword MUST be a boolean.
|
|
138
|
+
* If true, the schema matches the value null as well as any value matched by the rest of the schema.
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: optional bool nullable = 3;
|
|
141
|
+
*/
|
|
142
|
+
nullable?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* The ref keyword MUST be a string.
|
|
145
|
+
* It is a reference to a schema defined in the definitions object.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: optional string ref = 4;
|
|
148
|
+
*/
|
|
149
|
+
ref?: string;
|
|
150
|
+
/**
|
|
151
|
+
* The type keyword MUST be one of the predefined strings specifying the type of the value.
|
|
152
|
+
* Valid values are: "boolean", "float32", "float64", "int8", "uint8", "int16", "uint16", "int32", "uint32", "string", "timestamp".
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: optional string type = 5;
|
|
155
|
+
*/
|
|
156
|
+
type?: string;
|
|
157
|
+
/**
|
|
158
|
+
* The enum keyword MUST be a non-empty array of strings.
|
|
159
|
+
* The schema matches any value that is equal to one of the elements in the array.
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: repeated string enum = 6;
|
|
162
|
+
*/
|
|
163
|
+
enum?: string[];
|
|
164
|
+
/**
|
|
165
|
+
* The elements keyword MUST be a schema.
|
|
166
|
+
* It is used to validate elements in an array.
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: optional mochabugapis.adapt.graph.JTDSchema elements = 7;
|
|
169
|
+
*/
|
|
170
|
+
elements?: JTDSchemaJson;
|
|
171
|
+
/**
|
|
172
|
+
* The properties keyword MUST be an object where each value is a schema.
|
|
173
|
+
* Each key is a required property that must match the corresponding schema.
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.JTDSchema> properties = 8;
|
|
176
|
+
*/
|
|
177
|
+
properties?: {
|
|
178
|
+
[key: string]: JTDSchemaJson;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* The optional_properties keyword MUST be an object where each value is a schema.
|
|
182
|
+
* Each key is an optional property that, if present, must match the corresponding schema.
|
|
183
|
+
*
|
|
184
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.JTDSchema> optional_properties = 9;
|
|
185
|
+
*/
|
|
186
|
+
optionalProperties?: {
|
|
187
|
+
[key: string]: JTDSchemaJson;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* The additional_properties keyword MUST be a boolean.
|
|
191
|
+
* If true, the object may have properties other than those specified in properties and optionalProperties.
|
|
192
|
+
*
|
|
193
|
+
* @generated from field: optional bool additional_properties = 10;
|
|
194
|
+
*/
|
|
195
|
+
additionalProperties?: boolean;
|
|
196
|
+
/**
|
|
197
|
+
* The values keyword MUST be a schema.
|
|
198
|
+
* It is used to validate the values in an object.
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: optional mochabugapis.adapt.graph.JTDSchema values = 11;
|
|
201
|
+
*/
|
|
202
|
+
values?: JTDSchemaJson;
|
|
203
|
+
/**
|
|
204
|
+
* The discriminator keyword MUST be a string.
|
|
205
|
+
* It is used with mapping to represent tagged unions.
|
|
206
|
+
*
|
|
207
|
+
* @generated from field: optional string discriminator = 12;
|
|
208
|
+
*/
|
|
209
|
+
discriminator?: string;
|
|
210
|
+
/**
|
|
211
|
+
* The mapping keyword MUST be an object where each value is a schema.
|
|
212
|
+
* Used with discriminator for tagged unions, mapping discriminator values to schemas.
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.JTDSchema> mapping = 13;
|
|
215
|
+
*/
|
|
216
|
+
mapping?: {
|
|
217
|
+
[key: string]: JTDSchemaJson;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
113
220
|
/**
|
|
114
221
|
* Describes the message mochabugapis.adapt.graph.JTDSchema.
|
|
115
222
|
* Use `create(JTDSchemaSchema)` to create a new message.
|
|
116
223
|
*/
|
|
117
|
-
export declare const JTDSchemaSchema: GenMessage<JTDSchema>;
|
|
224
|
+
export declare const JTDSchemaSchema: GenMessage<JTDSchema, JTDSchemaJson>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jtd_schema_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/jtd_schema_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;
|
|
1
|
+
{"version":3,"file":"jtd_schema_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/jtd_schema_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAQjC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,yhDAAyhD,EAAE,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAgOrkD;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAyC,aAAa,CAChF,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { SignalBinding } from "./signal_binding_pb";
|
|
2
|
+
import type { SignalBinding, SignalBindingJson } from "./signal_binding_pb";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file mochabugapis/adapt/graph/receiver.proto.
|
|
@@ -32,8 +32,35 @@ export type Receiver = Message<"mochabugapis.adapt.graph.Receiver"> & {
|
|
|
32
32
|
*/
|
|
33
33
|
bindings: SignalBinding[];
|
|
34
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* Receiver represents an input point for a vertex, which can bind
|
|
37
|
+
* to multiple signals.
|
|
38
|
+
*
|
|
39
|
+
* @generated from message mochabugapis.adapt.graph.Receiver
|
|
40
|
+
*/
|
|
41
|
+
export type ReceiverJson = {
|
|
42
|
+
/**
|
|
43
|
+
* Identifier for the receiver, conforming to the ECMA naming pattern
|
|
44
|
+
* and limited to 50 characters.
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: string name = 1;
|
|
47
|
+
*/
|
|
48
|
+
name?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Optional descriptive text for the receiver's purpose, up to 250 characters.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: optional string description = 2;
|
|
53
|
+
*/
|
|
54
|
+
description?: string;
|
|
55
|
+
/**
|
|
56
|
+
* List of signals the receiver listens for. Can contain up to 512 unique signals.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: repeated mochabugapis.adapt.graph.SignalBinding bindings = 3;
|
|
59
|
+
*/
|
|
60
|
+
bindings?: SignalBindingJson[];
|
|
61
|
+
};
|
|
35
62
|
/**
|
|
36
63
|
* Describes the message mochabugapis.adapt.graph.Receiver.
|
|
37
64
|
* Use `create(ReceiverSchema)` to create a new message.
|
|
38
65
|
*/
|
|
39
|
-
export declare const ReceiverSchema: GenMessage<Receiver>;
|
|
66
|
+
export declare const ReceiverSchema: GenMessage<Receiver, ReceiverJson>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receiver_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/receiver_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;
|
|
1
|
+
{"version":3,"file":"receiver_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/receiver_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAQjC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAE/E,OAAO,EAAE,4CAA4C,EAAE,MAAM,qBAAqB,CAAC;AAGnF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,wfAAwf,EAAE,CAAC,0BAA0B,EAAE,4CAA4C,CAAC,CAAC,CAAC;AA8DjlB;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAuC,aAAa,CAC7E,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { Value } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import type { SignalDescriptor } from "./signal_descriptor_pb";
|
|
2
|
+
import type { Value, ValueJson } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { SignalDescriptor, SignalDescriptorJson } from "./signal_descriptor_pb";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file mochabugapis/adapt/graph/signal_binding.proto.
|
|
@@ -52,11 +52,43 @@ export type SignalBinding = Message<"mochabugapis.adapt.graph.SignalBinding"> &
|
|
|
52
52
|
*/
|
|
53
53
|
error?: SignalBinding_Error;
|
|
54
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* Receiver represents an input point for a vertex, which can bind
|
|
57
|
+
* to multiple signals.
|
|
58
|
+
*
|
|
59
|
+
* @generated from message mochabugapis.adapt.graph.SignalBinding
|
|
60
|
+
*/
|
|
61
|
+
export type SignalBindingJson = {
|
|
62
|
+
/**
|
|
63
|
+
* The actual signal descriptor.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: mochabugapis.adapt.graph.SignalDescriptor descriptor = 1;
|
|
66
|
+
*/
|
|
67
|
+
descriptor?: SignalDescriptorJson;
|
|
68
|
+
/**
|
|
69
|
+
* A reference to another signal <vertexid>:<transmitter>:<signal>
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: string reference = 2;
|
|
72
|
+
*/
|
|
73
|
+
reference?: string;
|
|
74
|
+
/**
|
|
75
|
+
* A constant value (must validate against the descriptor)
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: google.protobuf.Value constant = 3;
|
|
78
|
+
*/
|
|
79
|
+
constant?: ValueJson;
|
|
80
|
+
/**
|
|
81
|
+
* The binding may also have one of the 3 error codes
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: optional mochabugapis.adapt.graph.SignalBinding.Error error = 4;
|
|
84
|
+
*/
|
|
85
|
+
error?: SignalBinding_ErrorJson;
|
|
86
|
+
};
|
|
55
87
|
/**
|
|
56
88
|
* Describes the message mochabugapis.adapt.graph.SignalBinding.
|
|
57
89
|
* Use `create(SignalBindingSchema)` to create a new message.
|
|
58
90
|
*/
|
|
59
|
-
export declare const SignalBindingSchema: GenMessage<SignalBinding>;
|
|
91
|
+
export declare const SignalBindingSchema: GenMessage<SignalBinding, SignalBindingJson>;
|
|
60
92
|
/**
|
|
61
93
|
* Some error codes that can appear on the binding
|
|
62
94
|
*
|
|
@@ -88,7 +120,13 @@ export declare enum SignalBinding_Error {
|
|
|
88
120
|
*/
|
|
89
121
|
SCHEMA_MISMATCH = 3
|
|
90
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* Some error codes that can appear on the binding
|
|
125
|
+
*
|
|
126
|
+
* @generated from enum mochabugapis.adapt.graph.SignalBinding.Error
|
|
127
|
+
*/
|
|
128
|
+
export type SignalBinding_ErrorJson = "ERROR_UNSPECIFIED" | "ERROR_UNBOUND" | "ERROR_INVALID_SOURCE" | "ERROR_SCHEMA_MISMATCH";
|
|
91
129
|
/**
|
|
92
130
|
* Describes the enum mochabugapis.adapt.graph.SignalBinding.Error.
|
|
93
131
|
*/
|
|
94
|
-
export declare const SignalBinding_ErrorSchema: GenEnum<SignalBinding_Error>;
|
|
132
|
+
export declare const SignalBinding_ErrorSchema: GenEnum<SignalBinding_Error, SignalBinding_ErrorJson>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signal_binding_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/signal_binding_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;
|
|
1
|
+
{"version":3,"file":"signal_binding_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/signal_binding_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAQjC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAE/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,wBAAwB,CAAC;AAGzF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,4lBAA4lB,EAAE,CAAC,0BAA0B,EAAE,2BAA2B,EAAE,+CAA+C,CAAC,CAAC,CAAC;AAoFrtB;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAiD,aAAa,CAC5F,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAE/D;;;;GAIG;AACH,MAAM,CAAN,IAAY,mBA4BX;AA5BD,WAAY,mBAAmB;IAC7B;;;;OAIG;IACH,2EAAe,CAAA;IAEf;;;;OAIG;IACH,mEAAW,CAAA;IAEX;;;;OAIG;IACH,iFAAkB,CAAA;IAElB;;;;OAIG;IACH,mFAAmB,CAAA;AACrB,CAAC,EA5BW,mBAAmB,KAAnB,mBAAmB,QA4B9B;AASD;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAA0D,aAAa,CAC3G,QAAQ,CAAC,4CAA4C,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { JTDSchema } from "./jtd_schema_pb";
|
|
2
|
+
import type { JTDSchema, JTDSchemaJson } from "./jtd_schema_pb";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file mochabugapis/adapt/graph/signal_descriptor.proto.
|
|
@@ -42,8 +42,45 @@ export type SignalDescriptor = Message<"mochabugapis.adapt.graph.SignalDescripto
|
|
|
42
42
|
*/
|
|
43
43
|
optional?: boolean;
|
|
44
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* SignalDescriptor defines the properties of a signal without containing the actual signal data.
|
|
47
|
+
*
|
|
48
|
+
* @generated from message mochabugapis.adapt.graph.SignalDescriptor
|
|
49
|
+
*/
|
|
50
|
+
export type SignalDescriptorJson = {
|
|
51
|
+
/**
|
|
52
|
+
* Identifier for the signal, following the ECMA naming pattern, limited to 50 characters.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: string name = 1;
|
|
55
|
+
*/
|
|
56
|
+
name?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Optional label for the signal, up to 50 characters.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: optional string label = 5;
|
|
61
|
+
*/
|
|
62
|
+
label?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Optional descriptive text for the signal, up to 250 characters.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: optional string description = 2;
|
|
67
|
+
*/
|
|
68
|
+
description?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Schema definition for the signal, required and must follow the JTD definition found here: https://www.rfc-editor.org/rfc/rfc8927.
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: mochabugapis.adapt.graph.JTDSchema schema = 3;
|
|
73
|
+
*/
|
|
74
|
+
schema?: JTDSchemaJson;
|
|
75
|
+
/**
|
|
76
|
+
* Flag indicating if the signal is optional.
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: optional bool optional = 4;
|
|
79
|
+
*/
|
|
80
|
+
optional?: boolean;
|
|
81
|
+
};
|
|
45
82
|
/**
|
|
46
83
|
* Describes the message mochabugapis.adapt.graph.SignalDescriptor.
|
|
47
84
|
* Use `create(SignalDescriptorSchema)` to create a new message.
|
|
48
85
|
*/
|
|
49
|
-
export declare const SignalDescriptorSchema: GenMessage<SignalDescriptor>;
|
|
86
|
+
export declare const SignalDescriptorSchema: GenMessage<SignalDescriptor, SignalDescriptorJson>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signal_descriptor_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;
|
|
1
|
+
{"version":3,"file":"signal_descriptor_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAQjC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAE/E,OAAO,EAAE,wCAAwC,EAAE,MAAM,iBAAiB,CAAC;AAG3E;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAY,aAAa,CACnF,QAAQ,CAAC,wcAAwc,EAAE,CAAC,0BAA0B,EAAE,wCAAwC,CAAC,CAAC,CAAC;AAsF7hB;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAuD,aAAa,CACrG,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { SignalDescriptor } from "./signal_descriptor_pb";
|
|
2
|
+
import type { SignalDescriptor, SignalDescriptorJson } from "./signal_descriptor_pb";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file mochabugapis/adapt/graph/transceiver.proto.
|
|
@@ -30,8 +30,33 @@ export type Transceiver = Message<"mochabugapis.adapt.graph.Transceiver"> & {
|
|
|
30
30
|
*/
|
|
31
31
|
signals: SignalDescriptor[];
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* Transceiver is a dual-purpose entity capable of both emitting and receiving signals.
|
|
35
|
+
*
|
|
36
|
+
* @generated from message mochabugapis.adapt.graph.Transceiver
|
|
37
|
+
*/
|
|
38
|
+
export type TransceiverJson = {
|
|
39
|
+
/**
|
|
40
|
+
* Identifier for the transceiver, following the ECMA naming pattern, limited to 50 characters.
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: string name = 1;
|
|
43
|
+
*/
|
|
44
|
+
name?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Optional descriptive text for the transceiver's purpose, up to 250 characters.
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: optional string description = 2;
|
|
49
|
+
*/
|
|
50
|
+
description?: string;
|
|
51
|
+
/**
|
|
52
|
+
* List of signals the transceiver handles. Can contain up to 512 unique signals.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: repeated mochabugapis.adapt.graph.SignalDescriptor signals = 3;
|
|
55
|
+
*/
|
|
56
|
+
signals?: SignalDescriptorJson[];
|
|
57
|
+
};
|
|
33
58
|
/**
|
|
34
59
|
* Describes the message mochabugapis.adapt.graph.Transceiver.
|
|
35
60
|
* Use `create(TransceiverSchema)` to create a new message.
|
|
36
61
|
*/
|
|
37
|
-
export declare const TransceiverSchema: GenMessage<Transceiver>;
|
|
62
|
+
export declare const TransceiverSchema: GenMessage<Transceiver, TransceiverJson>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transceiver_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/transceiver_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;
|
|
1
|
+
{"version":3,"file":"transceiver_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/transceiver_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAQjC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAE/E,OAAO,EAAE,+CAA+C,EAAE,MAAM,wBAAwB,CAAC;AAGzF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,8eAA8e,EAAE,CAAC,0BAA0B,EAAE,+CAA+C,CAAC,CAAC,CAAC;AA0D1kB;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA6C,aAAa,CACtF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { SignalDescriptor } from "./signal_descriptor_pb";
|
|
2
|
+
import type { SignalDescriptor, SignalDescriptorJson } from "./signal_descriptor_pb";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file mochabugapis/adapt/graph/transmitter.proto.
|
|
@@ -36,8 +36,39 @@ export type Transmitter = Message<"mochabugapis.adapt.graph.Transmitter"> & {
|
|
|
36
36
|
*/
|
|
37
37
|
failure: boolean;
|
|
38
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* Transmitter represents an output point for a vertex, emitting multiple signals.
|
|
41
|
+
*
|
|
42
|
+
* @generated from message mochabugapis.adapt.graph.Transmitter
|
|
43
|
+
*/
|
|
44
|
+
export type TransmitterJson = {
|
|
45
|
+
/**
|
|
46
|
+
* Identifier for the transmitter, following the ECMA naming pattern, limited to 50 characters.
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: string name = 1;
|
|
49
|
+
*/
|
|
50
|
+
name?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Optional descriptive text for the transmitter's purpose, up to 250 characters.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: optional string description = 2;
|
|
55
|
+
*/
|
|
56
|
+
description?: string;
|
|
57
|
+
/**
|
|
58
|
+
* List of signals the transmitter can emit. Can contain up to 512 unique signals.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: repeated mochabugapis.adapt.graph.SignalDescriptor signals = 3;
|
|
61
|
+
*/
|
|
62
|
+
signals?: SignalDescriptorJson[];
|
|
63
|
+
/**
|
|
64
|
+
* Flag indicating whether the transmitter is signaling a failure state.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: bool failure = 4;
|
|
67
|
+
*/
|
|
68
|
+
failure?: boolean;
|
|
69
|
+
};
|
|
39
70
|
/**
|
|
40
71
|
* Describes the message mochabugapis.adapt.graph.Transmitter.
|
|
41
72
|
* Use `create(TransmitterSchema)` to create a new message.
|
|
42
73
|
*/
|
|
43
|
-
export declare const TransmitterSchema: GenMessage<Transmitter>;
|
|
74
|
+
export declare const TransmitterSchema: GenMessage<Transmitter, TransmitterJson>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transmitter_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/transmitter_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;
|
|
1
|
+
{"version":3,"file":"transmitter_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/transmitter_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAQjC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAE/E,OAAO,EAAE,+CAA+C,EAAE,MAAM,wBAAwB,CAAC;AAGzF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,qgBAAqgB,EAAE,CAAC,0BAA0B,EAAE,+CAA+C,CAAC,CAAC,CAAC;AAwEjmB;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA6C,aAAa,CACtF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { Exchange } from "./exchange_pb";
|
|
3
|
-
import type { Receiver } from "./receiver_pb";
|
|
4
|
-
import type { Transmitter } from "./transmitter_pb";
|
|
2
|
+
import type { Exchange, ExchangeJson } from "./exchange_pb";
|
|
3
|
+
import type { Receiver, ReceiverJson } from "./receiver_pb";
|
|
4
|
+
import type { Transmitter, TransmitterJson } from "./transmitter_pb";
|
|
5
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file mochabugapis/adapt/graph/vertex_config.proto.
|
|
@@ -54,8 +54,55 @@ export type VertexConfigMetadata = Message<"mochabugapis.adapt.graph.VertexConfi
|
|
|
54
54
|
*/
|
|
55
55
|
cronSchedule?: string;
|
|
56
56
|
};
|
|
57
|
+
/**
|
|
58
|
+
* VertexConfigMetadata represents the configuration for a vertex, detailing its inputs,
|
|
59
|
+
* outputs, and processes (such as procedures and streams).
|
|
60
|
+
*
|
|
61
|
+
* @generated from message mochabugapis.adapt.graph.VertexConfigMetadata
|
|
62
|
+
*/
|
|
63
|
+
export type VertexConfigMetadataJson = {
|
|
64
|
+
/**
|
|
65
|
+
* Indicates if the vertex configuration is complete. Defaults to 'false'.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: bool complete = 1;
|
|
68
|
+
*/
|
|
69
|
+
complete?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Input points for the vertex. Must contain between 1 and 50 receivers,
|
|
72
|
+
* each with a unique name.
|
|
73
|
+
*
|
|
74
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Receiver receivers = 2;
|
|
75
|
+
*/
|
|
76
|
+
receivers?: ReceiverJson[];
|
|
77
|
+
/**
|
|
78
|
+
* Output points for the vertex. Can contain up to 50 transmitters,
|
|
79
|
+
* each with a unique name.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Transmitter transmitters = 3;
|
|
82
|
+
*/
|
|
83
|
+
transmitters?: TransmitterJson[];
|
|
84
|
+
/**
|
|
85
|
+
* Processes initiated by transmitters and responded to by receivers.
|
|
86
|
+
* Limited to 10 unique procedures.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Exchange procedures = 4;
|
|
89
|
+
*/
|
|
90
|
+
procedures?: ExchangeJson[];
|
|
91
|
+
/**
|
|
92
|
+
* Processes initiated by receivers, limited to 10 unique streams.
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Exchange streams = 5;
|
|
95
|
+
*/
|
|
96
|
+
streams?: ExchangeJson[];
|
|
97
|
+
/**
|
|
98
|
+
* A unix cron expression to determine when the task should run.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: optional string cron_schedule = 6;
|
|
101
|
+
*/
|
|
102
|
+
cronSchedule?: string;
|
|
103
|
+
};
|
|
57
104
|
/**
|
|
58
105
|
* Describes the message mochabugapis.adapt.graph.VertexConfigMetadata.
|
|
59
106
|
* Use `create(VertexConfigMetadataSchema)` to create a new message.
|
|
60
107
|
*/
|
|
61
|
-
export declare const VertexConfigMetadataSchema: GenMessage<VertexConfigMetadata>;
|
|
108
|
+
export declare const VertexConfigMetadataSchema: GenMessage<VertexConfigMetadata, VertexConfigMetadataJson>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vertex_config_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/vertex_config_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;
|
|
1
|
+
{"version":3,"file":"vertex_config_pb.js","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/vertex_config_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAQjC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAE/E,OAAO,EAAE,sCAAsC,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EAAE,sCAAsC,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EAAE,yCAAyC,EAAE,MAAM,kBAAkB,CAAC;AAG7E;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,6rCAA6rC,EAAE,CAAC,0BAA0B,EAAE,sCAAsC,EAAE,sCAAsC,EAAE,yCAAyC,CAAC,CAAC,CAAC;AA4Gn2C;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAA+D,aAAa,CACjH,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
|