@mochabug/adapt-sdk 0.1.1
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/LICENSE +201 -0
- package/README.md +873 -0
- package/dist/api.d.ts +1605 -0
- package/dist/api.d.ts.map +1 -0
- package/dist/api.spec.d.ts +2 -0
- package/dist/api.spec.d.ts.map +1 -0
- package/dist/cjs/api.cjs +2 -0
- package/dist/cjs/api.cjs.map +7 -0
- package/dist/cjs/frontend.cjs +2 -0
- package/dist/cjs/frontend.cjs.map +7 -0
- package/dist/cjs/mime.cjs +2 -0
- package/dist/cjs/mime.cjs.map +7 -0
- package/dist/cjs/router.cjs +2 -0
- package/dist/cjs/router.cjs.map +7 -0
- package/dist/cjs/types.cjs +2 -0
- package/dist/cjs/types.cjs.map +7 -0
- package/dist/esm/api.mjs +2 -0
- package/dist/esm/api.mjs.map +7 -0
- package/dist/esm/frontend.mjs +2 -0
- package/dist/esm/frontend.mjs.map +7 -0
- package/dist/esm/mime.mjs +2 -0
- package/dist/esm/mime.mjs.map +7 -0
- package/dist/esm/router.mjs +2 -0
- package/dist/esm/router.mjs.map +7 -0
- package/dist/esm/types.mjs +1 -0
- package/dist/esm/types.mjs.map +7 -0
- package/dist/frontend.d.ts +10 -0
- package/dist/frontend.d.ts.map +1 -0
- package/dist/genproto/buf/validate/validate_pb.d.ts +8491 -0
- package/dist/genproto/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/genproto/google/api/annotations_pb.d.ts +14 -0
- package/dist/genproto/google/api/annotations_pb.d.ts.map +1 -0
- package/dist/genproto/google/api/client_pb.d.ts +1432 -0
- package/dist/genproto/google/api/client_pb.d.ts.map +1 -0
- package/dist/genproto/google/api/http_pb.d.ts +843 -0
- package/dist/genproto/google/api/http_pb.d.ts.map +1 -0
- package/dist/genproto/google/api/launch_stage_pb.d.ts +94 -0
- package/dist/genproto/google/api/launch_stage_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts +1006 -0
- package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +77 -0
- package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +401 -0
- package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +69 -0
- package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +430 -0
- package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/signal_data_pb.d.ts +198 -0
- package/dist/genproto/mochabugapis/adapt/graph/signal_data_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +161 -0
- package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/signal_format_pb.d.ts +305 -0
- package/dist/genproto/mochabugapis/adapt/graph/signal_format_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +77 -0
- package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +120 -0
- package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts +99 -0
- package/dist/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts +347 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts +64 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts +1282 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts +388 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts +805 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +238 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +241 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts +539 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +190 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +269 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts +339 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts +2721 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts +872 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts.map +1 -0
- package/dist/grpcweb.d.ts +8 -0
- package/dist/grpcweb.d.ts.map +1 -0
- package/dist/mime.d.ts +11 -0
- package/dist/mime.d.ts.map +1 -0
- package/dist/router.d.ts +503 -0
- package/dist/router.d.ts.map +1 -0
- package/dist/router.spec.d.ts +2 -0
- package/dist/router.spec.d.ts.map +1 -0
- package/dist/signal-api.spec.d.ts +17 -0
- package/dist/signal-api.spec.d.ts.map +1 -0
- package/dist/types.d.ts +149 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +80 -0
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { SignalData, SignalDataJson } from "./signal_data_pb";
|
|
3
|
+
import type { SignalFormat, SignalFormatJson } from "./signal_format_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file mochabugapis/adapt/graph/signal_binding.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_mochabugapis_adapt_graph_signal_binding: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* SignalBinding represents an input point for a vertex in the computation graph.
|
|
11
|
+
* Unlike SignalDescriptor which describes what a signal IS (producing one specific format),
|
|
12
|
+
* a binding describes what formats an input ACCEPTS (potentially accepting multiple formats).
|
|
13
|
+
*
|
|
14
|
+
* Bindings enable flexible graph construction by allowing vertices to accept data in
|
|
15
|
+
* various compatible formats. For example, a text display component might accept strings,
|
|
16
|
+
* numbers, dates, and booleans, while an image viewer might accept image/* MIME types.
|
|
17
|
+
*
|
|
18
|
+
* The binding can be connected to a signal reference or assigned a constant value.
|
|
19
|
+
* Runtime validation ensures the bound signal's format matches one of the accepted formats.
|
|
20
|
+
*
|
|
21
|
+
* @generated from message mochabugapis.adapt.graph.SignalBinding
|
|
22
|
+
*/
|
|
23
|
+
export type SignalBinding = Message<"mochabugapis.adapt.graph.SignalBinding"> & {
|
|
24
|
+
/**
|
|
25
|
+
* Identifier for this binding point, following ECMAScript identifier conventions.
|
|
26
|
+
* Must be unique within the vertex's binding collection.
|
|
27
|
+
*
|
|
28
|
+
* Pattern: Must start with letter, $, or _, followed by letters, digits, $, or _
|
|
29
|
+
* Length: 1-50 characters
|
|
30
|
+
*
|
|
31
|
+
* Examples: "inputText", "image_data", "$config", "_internalParam"
|
|
32
|
+
*
|
|
33
|
+
* @generated from field: string name = 1;
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* Human-readable label for the binding, suitable for display in user interfaces.
|
|
38
|
+
* Describes what this input represents in the context of the vertex.
|
|
39
|
+
*
|
|
40
|
+
* Length: Up to 250 characters
|
|
41
|
+
*
|
|
42
|
+
* Examples: "Text to Display", "Source Image", "Configuration Object"
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: optional string label = 2;
|
|
45
|
+
*/
|
|
46
|
+
label?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Detailed description of the binding's purpose and accepted data.
|
|
49
|
+
* Should document what the vertex does with this input and any constraints.
|
|
50
|
+
*
|
|
51
|
+
* Length: Up to 1000 characters
|
|
52
|
+
*
|
|
53
|
+
* May include:
|
|
54
|
+
* - What the binding represents in the vertex's operation
|
|
55
|
+
* - How the data is used or transformed
|
|
56
|
+
* - Constraints on values or formats
|
|
57
|
+
* - Examples of valid inputs
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: optional string description = 3;
|
|
60
|
+
*/
|
|
61
|
+
description?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Indicates whether this binding must be connected.
|
|
64
|
+
*
|
|
65
|
+
* When false or unset: Binding is required and must be connected
|
|
66
|
+
* When true: Binding is optional and may be left unbound
|
|
67
|
+
*
|
|
68
|
+
* Optional bindings provide flexibility, allowing vertices to function
|
|
69
|
+
* with or without certain inputs (e.g., optional configuration parameters).
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: optional bool optional = 4;
|
|
72
|
+
*/
|
|
73
|
+
optional?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* List of formats this binding accepts. The binding will accept any signal whose
|
|
76
|
+
* format matches at least one entry in this list.
|
|
77
|
+
*
|
|
78
|
+
* Format matching rules:
|
|
79
|
+
* - JTD schemas: Structural compatibility according to JTD specification
|
|
80
|
+
* - MIME types (exact): Exact string match (case-insensitive)
|
|
81
|
+
* - MIME types (wildcard): Pattern matching with * wildcards
|
|
82
|
+
* - "image/*" matches "image/png", "image/jpeg", "image/webp", etc.
|
|
83
|
+
* - "text/*" matches "text/plain", "text/html", "text/csv", etc.
|
|
84
|
+
* - "application/*" matches any application type
|
|
85
|
+
*
|
|
86
|
+
* Common patterns:
|
|
87
|
+
*
|
|
88
|
+
* Example 1: Text display (accepts primitive types for display as text)
|
|
89
|
+
* accepts = [
|
|
90
|
+
* { jtd_schema: { type: "string" } },
|
|
91
|
+
* { jtd_schema: { type: "float32" } },
|
|
92
|
+
* { jtd_schema: { type: "float64" } },
|
|
93
|
+
* { jtd_schema: { type: "int32" } },
|
|
94
|
+
* { jtd_schema: { type: "boolean" } },
|
|
95
|
+
* { jtd_schema: { type: "timestamp" } }
|
|
96
|
+
* ]
|
|
97
|
+
*
|
|
98
|
+
* Example 2: Image viewer (accepts displayable image formats)
|
|
99
|
+
* accepts = [
|
|
100
|
+
* { mime_type: "image/*" } // Accepts any image type
|
|
101
|
+
* ]
|
|
102
|
+
*
|
|
103
|
+
* Example 3: Document viewer (accepts specific document types)
|
|
104
|
+
* accepts = [
|
|
105
|
+
* { mime_type: "application/pdf" },
|
|
106
|
+
* { mime_type: "text/html" },
|
|
107
|
+
* { mime_type: "text/plain" }
|
|
108
|
+
* ]
|
|
109
|
+
*
|
|
110
|
+
* Example 4: Data processor (accepts structured data)
|
|
111
|
+
* accepts = [
|
|
112
|
+
* { jtd_schema: { elements: { type: "string" } } }, // Array of strings
|
|
113
|
+
* { jtd_schema: { properties: { id: { type: "string" } } } } // Object with id
|
|
114
|
+
* ]
|
|
115
|
+
*
|
|
116
|
+
* Validation: At least one format must be specified. Maximum 50 formats to prevent
|
|
117
|
+
* overly permissive bindings and ensure reasonable validation performance.
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: repeated mochabugapis.adapt.graph.SignalFormat accepts = 5;
|
|
120
|
+
*/
|
|
121
|
+
accepts: SignalFormat[];
|
|
122
|
+
/**
|
|
123
|
+
* The actual binding - either a reference to another signal or a constant value.
|
|
124
|
+
* Not required if the binding is marked as optional.
|
|
125
|
+
*
|
|
126
|
+
* When required (optional = false):
|
|
127
|
+
* - Exactly one of 'reference' or 'constant' must be set
|
|
128
|
+
* - If neither is set, ERROR_UNBOUND will be raised
|
|
129
|
+
*
|
|
130
|
+
* When optional (optional = true):
|
|
131
|
+
* - May be unset (neither reference nor constant)
|
|
132
|
+
* - Vertex must handle the unbound case gracefully
|
|
133
|
+
*
|
|
134
|
+
* @generated from oneof mochabugapis.adapt.graph.SignalBinding.binding
|
|
135
|
+
*/
|
|
136
|
+
binding: {
|
|
137
|
+
/**
|
|
138
|
+
* Reference to another signal in the graph.
|
|
139
|
+
*
|
|
140
|
+
* Format: <vertex_id>/<transmitter_name>/<signal_name>
|
|
141
|
+
* - vertex_id: 4-character alphanumeric identifier (lowercase)
|
|
142
|
+
* - transmitter_name: ECMAScript identifier for the output transmitter
|
|
143
|
+
* - signal_name: ECMAScript identifier for the specific signal
|
|
144
|
+
*
|
|
145
|
+
* Examples:
|
|
146
|
+
* - "a1b2/output/temperature"
|
|
147
|
+
* - "xyz9/results/processedData"
|
|
148
|
+
* - "0123/$internal/_debug"
|
|
149
|
+
*
|
|
150
|
+
* The referenced signal's format must match one of the accepted formats.
|
|
151
|
+
* Validation occurs at graph construction time.
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: string reference = 6;
|
|
154
|
+
*/
|
|
155
|
+
value: string;
|
|
156
|
+
case: "reference";
|
|
157
|
+
} | {
|
|
158
|
+
/**
|
|
159
|
+
* Constant value to bind to this input.
|
|
160
|
+
* The constant must be serialized in a format matching one of the accepted formats.
|
|
161
|
+
*
|
|
162
|
+
* For JTD schemas:
|
|
163
|
+
* - Value must be JSON-serialized and encoded as bytes
|
|
164
|
+
* - Must validate against at least one accepted JTD schema
|
|
165
|
+
*
|
|
166
|
+
* For MIME types:
|
|
167
|
+
* - Value must be in the binary format specified by the MIME type
|
|
168
|
+
* - Must match at least one accepted MIME type (considering wildcards)
|
|
169
|
+
*
|
|
170
|
+
* Validation occurs at graph construction time.
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: mochabugapis.adapt.graph.SignalData constant = 7;
|
|
173
|
+
*/
|
|
174
|
+
value: SignalData;
|
|
175
|
+
case: "constant";
|
|
176
|
+
} | {
|
|
177
|
+
case: undefined;
|
|
178
|
+
value?: undefined;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* Error state of this binding, if any.
|
|
182
|
+
* Set by the graph validation system when issues are detected.
|
|
183
|
+
* Should not be set to ERROR_UNSPECIFIED (value 0).
|
|
184
|
+
*
|
|
185
|
+
* When unset: Binding is valid
|
|
186
|
+
* When set: Binding has the specified error and requires correction
|
|
187
|
+
*
|
|
188
|
+
* Applications should check this field and provide appropriate user feedback
|
|
189
|
+
* for bindings in error states.
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: optional mochabugapis.adapt.graph.SignalBinding.Error error = 8;
|
|
192
|
+
*/
|
|
193
|
+
error?: SignalBinding_Error;
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* SignalBinding represents an input point for a vertex in the computation graph.
|
|
197
|
+
* Unlike SignalDescriptor which describes what a signal IS (producing one specific format),
|
|
198
|
+
* a binding describes what formats an input ACCEPTS (potentially accepting multiple formats).
|
|
199
|
+
*
|
|
200
|
+
* Bindings enable flexible graph construction by allowing vertices to accept data in
|
|
201
|
+
* various compatible formats. For example, a text display component might accept strings,
|
|
202
|
+
* numbers, dates, and booleans, while an image viewer might accept image/* MIME types.
|
|
203
|
+
*
|
|
204
|
+
* The binding can be connected to a signal reference or assigned a constant value.
|
|
205
|
+
* Runtime validation ensures the bound signal's format matches one of the accepted formats.
|
|
206
|
+
*
|
|
207
|
+
* @generated from message mochabugapis.adapt.graph.SignalBinding
|
|
208
|
+
*/
|
|
209
|
+
export type SignalBindingJson = {
|
|
210
|
+
/**
|
|
211
|
+
* Identifier for this binding point, following ECMAScript identifier conventions.
|
|
212
|
+
* Must be unique within the vertex's binding collection.
|
|
213
|
+
*
|
|
214
|
+
* Pattern: Must start with letter, $, or _, followed by letters, digits, $, or _
|
|
215
|
+
* Length: 1-50 characters
|
|
216
|
+
*
|
|
217
|
+
* Examples: "inputText", "image_data", "$config", "_internalParam"
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: string name = 1;
|
|
220
|
+
*/
|
|
221
|
+
name?: string;
|
|
222
|
+
/**
|
|
223
|
+
* Human-readable label for the binding, suitable for display in user interfaces.
|
|
224
|
+
* Describes what this input represents in the context of the vertex.
|
|
225
|
+
*
|
|
226
|
+
* Length: Up to 250 characters
|
|
227
|
+
*
|
|
228
|
+
* Examples: "Text to Display", "Source Image", "Configuration Object"
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: optional string label = 2;
|
|
231
|
+
*/
|
|
232
|
+
label?: string;
|
|
233
|
+
/**
|
|
234
|
+
* Detailed description of the binding's purpose and accepted data.
|
|
235
|
+
* Should document what the vertex does with this input and any constraints.
|
|
236
|
+
*
|
|
237
|
+
* Length: Up to 1000 characters
|
|
238
|
+
*
|
|
239
|
+
* May include:
|
|
240
|
+
* - What the binding represents in the vertex's operation
|
|
241
|
+
* - How the data is used or transformed
|
|
242
|
+
* - Constraints on values or formats
|
|
243
|
+
* - Examples of valid inputs
|
|
244
|
+
*
|
|
245
|
+
* @generated from field: optional string description = 3;
|
|
246
|
+
*/
|
|
247
|
+
description?: string;
|
|
248
|
+
/**
|
|
249
|
+
* Indicates whether this binding must be connected.
|
|
250
|
+
*
|
|
251
|
+
* When false or unset: Binding is required and must be connected
|
|
252
|
+
* When true: Binding is optional and may be left unbound
|
|
253
|
+
*
|
|
254
|
+
* Optional bindings provide flexibility, allowing vertices to function
|
|
255
|
+
* with or without certain inputs (e.g., optional configuration parameters).
|
|
256
|
+
*
|
|
257
|
+
* @generated from field: optional bool optional = 4;
|
|
258
|
+
*/
|
|
259
|
+
optional?: boolean;
|
|
260
|
+
/**
|
|
261
|
+
* List of formats this binding accepts. The binding will accept any signal whose
|
|
262
|
+
* format matches at least one entry in this list.
|
|
263
|
+
*
|
|
264
|
+
* Format matching rules:
|
|
265
|
+
* - JTD schemas: Structural compatibility according to JTD specification
|
|
266
|
+
* - MIME types (exact): Exact string match (case-insensitive)
|
|
267
|
+
* - MIME types (wildcard): Pattern matching with * wildcards
|
|
268
|
+
* - "image/*" matches "image/png", "image/jpeg", "image/webp", etc.
|
|
269
|
+
* - "text/*" matches "text/plain", "text/html", "text/csv", etc.
|
|
270
|
+
* - "application/*" matches any application type
|
|
271
|
+
*
|
|
272
|
+
* Common patterns:
|
|
273
|
+
*
|
|
274
|
+
* Example 1: Text display (accepts primitive types for display as text)
|
|
275
|
+
* accepts = [
|
|
276
|
+
* { jtd_schema: { type: "string" } },
|
|
277
|
+
* { jtd_schema: { type: "float32" } },
|
|
278
|
+
* { jtd_schema: { type: "float64" } },
|
|
279
|
+
* { jtd_schema: { type: "int32" } },
|
|
280
|
+
* { jtd_schema: { type: "boolean" } },
|
|
281
|
+
* { jtd_schema: { type: "timestamp" } }
|
|
282
|
+
* ]
|
|
283
|
+
*
|
|
284
|
+
* Example 2: Image viewer (accepts displayable image formats)
|
|
285
|
+
* accepts = [
|
|
286
|
+
* { mime_type: "image/*" } // Accepts any image type
|
|
287
|
+
* ]
|
|
288
|
+
*
|
|
289
|
+
* Example 3: Document viewer (accepts specific document types)
|
|
290
|
+
* accepts = [
|
|
291
|
+
* { mime_type: "application/pdf" },
|
|
292
|
+
* { mime_type: "text/html" },
|
|
293
|
+
* { mime_type: "text/plain" }
|
|
294
|
+
* ]
|
|
295
|
+
*
|
|
296
|
+
* Example 4: Data processor (accepts structured data)
|
|
297
|
+
* accepts = [
|
|
298
|
+
* { jtd_schema: { elements: { type: "string" } } }, // Array of strings
|
|
299
|
+
* { jtd_schema: { properties: { id: { type: "string" } } } } // Object with id
|
|
300
|
+
* ]
|
|
301
|
+
*
|
|
302
|
+
* Validation: At least one format must be specified. Maximum 50 formats to prevent
|
|
303
|
+
* overly permissive bindings and ensure reasonable validation performance.
|
|
304
|
+
*
|
|
305
|
+
* @generated from field: repeated mochabugapis.adapt.graph.SignalFormat accepts = 5;
|
|
306
|
+
*/
|
|
307
|
+
accepts?: SignalFormatJson[];
|
|
308
|
+
/**
|
|
309
|
+
* Reference to another signal in the graph.
|
|
310
|
+
*
|
|
311
|
+
* Format: <vertex_id>/<transmitter_name>/<signal_name>
|
|
312
|
+
* - vertex_id: 4-character alphanumeric identifier (lowercase)
|
|
313
|
+
* - transmitter_name: ECMAScript identifier for the output transmitter
|
|
314
|
+
* - signal_name: ECMAScript identifier for the specific signal
|
|
315
|
+
*
|
|
316
|
+
* Examples:
|
|
317
|
+
* - "a1b2/output/temperature"
|
|
318
|
+
* - "xyz9/results/processedData"
|
|
319
|
+
* - "0123/$internal/_debug"
|
|
320
|
+
*
|
|
321
|
+
* The referenced signal's format must match one of the accepted formats.
|
|
322
|
+
* Validation occurs at graph construction time.
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: string reference = 6;
|
|
325
|
+
*/
|
|
326
|
+
reference?: string;
|
|
327
|
+
/**
|
|
328
|
+
* Constant value to bind to this input.
|
|
329
|
+
* The constant must be serialized in a format matching one of the accepted formats.
|
|
330
|
+
*
|
|
331
|
+
* For JTD schemas:
|
|
332
|
+
* - Value must be JSON-serialized and encoded as bytes
|
|
333
|
+
* - Must validate against at least one accepted JTD schema
|
|
334
|
+
*
|
|
335
|
+
* For MIME types:
|
|
336
|
+
* - Value must be in the binary format specified by the MIME type
|
|
337
|
+
* - Must match at least one accepted MIME type (considering wildcards)
|
|
338
|
+
*
|
|
339
|
+
* Validation occurs at graph construction time.
|
|
340
|
+
*
|
|
341
|
+
* @generated from field: mochabugapis.adapt.graph.SignalData constant = 7;
|
|
342
|
+
*/
|
|
343
|
+
constant?: SignalDataJson;
|
|
344
|
+
/**
|
|
345
|
+
* Error state of this binding, if any.
|
|
346
|
+
* Set by the graph validation system when issues are detected.
|
|
347
|
+
* Should not be set to ERROR_UNSPECIFIED (value 0).
|
|
348
|
+
*
|
|
349
|
+
* When unset: Binding is valid
|
|
350
|
+
* When set: Binding has the specified error and requires correction
|
|
351
|
+
*
|
|
352
|
+
* Applications should check this field and provide appropriate user feedback
|
|
353
|
+
* for bindings in error states.
|
|
354
|
+
*
|
|
355
|
+
* @generated from field: optional mochabugapis.adapt.graph.SignalBinding.Error error = 8;
|
|
356
|
+
*/
|
|
357
|
+
error?: SignalBinding_ErrorJson;
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* Describes the message mochabugapis.adapt.graph.SignalBinding.
|
|
361
|
+
* Use `create(SignalBindingSchema)` to create a new message.
|
|
362
|
+
*/
|
|
363
|
+
export declare const SignalBindingSchema: GenMessage<SignalBinding, {
|
|
364
|
+
jsonType: SignalBindingJson;
|
|
365
|
+
}>;
|
|
366
|
+
/**
|
|
367
|
+
* Error codes that can occur during binding validation or resolution.
|
|
368
|
+
* These errors are typically set by the graph validation system.
|
|
369
|
+
*
|
|
370
|
+
* @generated from enum mochabugapis.adapt.graph.SignalBinding.Error
|
|
371
|
+
*/
|
|
372
|
+
export declare enum SignalBinding_Error {
|
|
373
|
+
/**
|
|
374
|
+
* No error specified. This value should never be explicitly set as it indicates
|
|
375
|
+
* the absence of an error. The error field should be unset for valid bindings.
|
|
376
|
+
*
|
|
377
|
+
* @generated from enum value: ERROR_UNSPECIFIED = 0;
|
|
378
|
+
*/
|
|
379
|
+
UNSPECIFIED = 0,
|
|
380
|
+
/**
|
|
381
|
+
* The binding is unbound (no reference or constant provided) despite being required.
|
|
382
|
+
* This occurs when:
|
|
383
|
+
* - The binding is not marked as optional
|
|
384
|
+
* - Neither 'reference' nor 'constant' is set in the binding oneof
|
|
385
|
+
*
|
|
386
|
+
* Resolution: Provide either a signal reference or a constant value.
|
|
387
|
+
*
|
|
388
|
+
* @generated from enum value: ERROR_UNBOUND = 1;
|
|
389
|
+
*/
|
|
390
|
+
UNBOUND = 1,
|
|
391
|
+
/**
|
|
392
|
+
* The referenced signal source does not exist in the graph.
|
|
393
|
+
* This occurs when:
|
|
394
|
+
* - The reference points to a non-existent vertex ID
|
|
395
|
+
* - The transmitter name doesn't exist on the referenced vertex
|
|
396
|
+
* - The signal name doesn't exist on the specified transmitter
|
|
397
|
+
*
|
|
398
|
+
* Resolution: Verify the signal reference path and ensure the source vertex,
|
|
399
|
+
* transmitter, and signal all exist.
|
|
400
|
+
*
|
|
401
|
+
* @generated from enum value: ERROR_INVALID_SOURCE = 2;
|
|
402
|
+
*/
|
|
403
|
+
INVALID_SOURCE = 2,
|
|
404
|
+
/**
|
|
405
|
+
* The signal format doesn't match any of the accepted formats.
|
|
406
|
+
* This occurs when:
|
|
407
|
+
* - The source signal's format (from SignalDescriptor) doesn't match any
|
|
408
|
+
* format in the 'accepts' list
|
|
409
|
+
* - JTD schema validation fails
|
|
410
|
+
* - MIME type mismatch (including wildcard matching failures)
|
|
411
|
+
*
|
|
412
|
+
* Resolution: Either change the binding to accept the source signal's format,
|
|
413
|
+
* or use a different signal source with a compatible format.
|
|
414
|
+
*
|
|
415
|
+
* @generated from enum value: ERROR_SCHEMA_MISMATCH = 3;
|
|
416
|
+
*/
|
|
417
|
+
SCHEMA_MISMATCH = 3
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* Error codes that can occur during binding validation or resolution.
|
|
421
|
+
* These errors are typically set by the graph validation system.
|
|
422
|
+
*
|
|
423
|
+
* @generated from enum mochabugapis.adapt.graph.SignalBinding.Error
|
|
424
|
+
*/
|
|
425
|
+
export type SignalBinding_ErrorJson = "ERROR_UNSPECIFIED" | "ERROR_UNBOUND" | "ERROR_INVALID_SOURCE" | "ERROR_SCHEMA_MISMATCH";
|
|
426
|
+
/**
|
|
427
|
+
* Describes the enum mochabugapis.adapt.graph.SignalBinding.Error.
|
|
428
|
+
*/
|
|
429
|
+
export declare const SignalBinding_ErrorSchema: GenEnum<SignalBinding_Error, SignalBinding_ErrorJson>;
|
|
430
|
+
//# sourceMappingURL=signal_binding_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signal_binding_pb.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/signal_binding_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGjF,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEnE,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,OACutC,CAAC;AAEnxC;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,wCAAwC,CAAC,GAAG;IAC9E;;;;;;;;;;OAUG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;;;;;;;;OAaG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACH,OAAO,EAAE,YAAY,EAAE,CAAC;IAExB;;;;;;;;;;;;;OAaG;IACH,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;WAiBG;QACH,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,WAAW,CAAC;KACnB,GAAG;QACF;;;;;;;;;;;;;;;WAeG;QACH,KAAK,EAAE,UAAU,CAAC;QAClB,IAAI,EAAE,UAAU,CAAC;KAClB,GAAG;QAAE,IAAI,EAAE,SAAS,CAAC;QAAC,KAAK,CAAC,EAAE,SAAS,CAAA;KAAE,CAAC;IAE3C;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;;;;;;;;OAaG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACH,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAE7B;;;;;;;;;;;;;;;;;OAiBG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;IAE1B;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,EAAE,uBAAuB,CAAC;CACjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,aAAa,EAAE;IAAC,QAAQ,EAAE,iBAAiB,CAAA;CAAC,CAC3B,CAAC;AAE/D;;;;;GAKG;AACH,oBAAY,mBAAmB;IAC7B;;;;;OAKG;IACH,WAAW,IAAI;IAEf;;;;;;;;;OASG;IACH,OAAO,IAAI;IAEX;;;;;;;;;;;OAWG;IACH,cAAc,IAAI;IAElB;;;;;;;;;;;;OAYG;IACH,eAAe,IAAI;CACpB;AAED;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,GAAG,eAAe,GAAG,sBAAsB,GAAG,uBAAuB,CAAC;AAE/H;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,OAAO,CAAC,mBAAmB,EAAE,uBAAuB,CAC9B,CAAC"}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file mochabugapis/adapt/graph/signal_data.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_mochabugapis_adapt_graph_signal_data: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* This represents the actual data in the system
|
|
9
|
+
*
|
|
10
|
+
* @generated from message mochabugapis.adapt.graph.SignalData
|
|
11
|
+
*/
|
|
12
|
+
export type SignalData = Message<"mochabugapis.adapt.graph.SignalData"> & {
|
|
13
|
+
/**
|
|
14
|
+
* An optional filename associated with the signal.
|
|
15
|
+
* Supports international filenames with Unicode characters.
|
|
16
|
+
* Can include extension (e.g., "document.pdf") or be extension-less (e.g., "README").
|
|
17
|
+
*
|
|
18
|
+
* Supported characters:
|
|
19
|
+
* - All Unicode characters (international support)
|
|
20
|
+
* - All printable ASCII including special characters
|
|
21
|
+
* - Spaces, dots, hyphens, underscores anywhere in the filename
|
|
22
|
+
*
|
|
23
|
+
* Blocked characters (filesystem-illegal):
|
|
24
|
+
* - Path separators: / \
|
|
25
|
+
* - Windows-illegal: < > : " | ? *
|
|
26
|
+
* - Control characters: null bytes, newlines, tabs, etc. (0x00-0x1F)
|
|
27
|
+
*
|
|
28
|
+
* Additional restrictions:
|
|
29
|
+
* - Cannot start or end with whitespace (enforced by CEL)
|
|
30
|
+
* - Maximum length: 255 characters (filesystem compatibility)
|
|
31
|
+
*
|
|
32
|
+
* Examples:
|
|
33
|
+
* ✅ "document.pdf"
|
|
34
|
+
* ✅ "my-file_v2.txt"
|
|
35
|
+
* ✅ "Report (Final).docx"
|
|
36
|
+
* ✅ "résumé.pdf" (French accents)
|
|
37
|
+
* ✅ "文档.pdf" (Chinese)
|
|
38
|
+
* ✅ "файл.txt" (Cyrillic)
|
|
39
|
+
* ✅ "Project #2.xlsx"
|
|
40
|
+
* ✅ ".gitignore" (hidden files allowed)
|
|
41
|
+
* ❌ " file.txt" (starts with space)
|
|
42
|
+
* ❌ "file.txt " (ends with space)
|
|
43
|
+
* ❌ "path/to/file.txt" (contains path separator)
|
|
44
|
+
* ❌ "file\0.txt" (contains null byte)
|
|
45
|
+
* ❌ "file<name>.txt" (contains Windows-illegal char)
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: optional string filename = 1;
|
|
48
|
+
*/
|
|
49
|
+
filename?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The MIME type of the signal data.
|
|
52
|
+
* Must be a **concrete** MIME type conforming to RFC 6838 (NO wildcards allowed).
|
|
53
|
+
*
|
|
54
|
+
* This field specifies the actual format of the binary data in the `data` field.
|
|
55
|
+
* Unlike SignalFormat which can use wildcards for format families, SignalData
|
|
56
|
+
* represents actual concrete data and must have a specific MIME type.
|
|
57
|
+
*
|
|
58
|
+
* Format requirements:
|
|
59
|
+
* - Structure: type/subtype (e.g., "image/png", "application/pdf")
|
|
60
|
+
* - Type must be concrete alphanumeric (no wildcards)
|
|
61
|
+
* - Subtype must be concrete alphanumeric (no wildcards)
|
|
62
|
+
* - NO parameters allowed (no semicolons or charset specifications)
|
|
63
|
+
* - Case-insensitive but conventionally lowercase
|
|
64
|
+
* - Maximum length: 255 characters (127 for type + "/" + 127 for subtype)
|
|
65
|
+
*
|
|
66
|
+
* **No wildcards**: Unlike SignalFormat, wildcards are FORBIDDEN here because
|
|
67
|
+
* this represents actual data which must have a concrete format.
|
|
68
|
+
* ❌ "*\/*" - Forbidden (data must have specific format)
|
|
69
|
+
* ❌ "image/*" - Forbidden (data must be specific image format)
|
|
70
|
+
* ❌ "*\/png" - Forbidden (semantically invalid anyway)
|
|
71
|
+
* ✅ "image/png" - Valid (concrete format)
|
|
72
|
+
* ✅ "application/pdf" - Valid (concrete format)
|
|
73
|
+
*
|
|
74
|
+
* **Character Encoding Assumption**:
|
|
75
|
+
* All text-based formats (text/*, application/json, application/xml, etc.) are
|
|
76
|
+
* assumed to use UTF-8 encoding. Charset parameters are forbidden.
|
|
77
|
+
*
|
|
78
|
+
* Examples of forbidden formats:
|
|
79
|
+
* ❌ "text/plain; charset=utf-8" (parameters not allowed)
|
|
80
|
+
* ❌ "image/*" (wildcards not allowed)
|
|
81
|
+
* ❌ "*\/*" (wildcards not allowed)
|
|
82
|
+
*
|
|
83
|
+
* Common concrete examples:
|
|
84
|
+
* - Images: "image/png", "image/jpeg", "image/webp", "image/gif", "image/svg+xml"
|
|
85
|
+
* - Documents: "application/pdf", "text/html", "text/markdown", "text/plain"
|
|
86
|
+
* - Data: "application/json", "application/xml", "text/csv"
|
|
87
|
+
* - Binary: "application/octet-stream", "application/zip"
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: string mime_type = 2;
|
|
90
|
+
*/
|
|
91
|
+
mimeType: string;
|
|
92
|
+
/**
|
|
93
|
+
* The actual raw binary data
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: bytes data = 3;
|
|
96
|
+
*/
|
|
97
|
+
data: Uint8Array;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* This represents the actual data in the system
|
|
101
|
+
*
|
|
102
|
+
* @generated from message mochabugapis.adapt.graph.SignalData
|
|
103
|
+
*/
|
|
104
|
+
export type SignalDataJson = {
|
|
105
|
+
/**
|
|
106
|
+
* An optional filename associated with the signal.
|
|
107
|
+
* Supports international filenames with Unicode characters.
|
|
108
|
+
* Can include extension (e.g., "document.pdf") or be extension-less (e.g., "README").
|
|
109
|
+
*
|
|
110
|
+
* Supported characters:
|
|
111
|
+
* - All Unicode characters (international support)
|
|
112
|
+
* - All printable ASCII including special characters
|
|
113
|
+
* - Spaces, dots, hyphens, underscores anywhere in the filename
|
|
114
|
+
*
|
|
115
|
+
* Blocked characters (filesystem-illegal):
|
|
116
|
+
* - Path separators: / \
|
|
117
|
+
* - Windows-illegal: < > : " | ? *
|
|
118
|
+
* - Control characters: null bytes, newlines, tabs, etc. (0x00-0x1F)
|
|
119
|
+
*
|
|
120
|
+
* Additional restrictions:
|
|
121
|
+
* - Cannot start or end with whitespace (enforced by CEL)
|
|
122
|
+
* - Maximum length: 255 characters (filesystem compatibility)
|
|
123
|
+
*
|
|
124
|
+
* Examples:
|
|
125
|
+
* ✅ "document.pdf"
|
|
126
|
+
* ✅ "my-file_v2.txt"
|
|
127
|
+
* ✅ "Report (Final).docx"
|
|
128
|
+
* ✅ "résumé.pdf" (French accents)
|
|
129
|
+
* ✅ "文档.pdf" (Chinese)
|
|
130
|
+
* ✅ "файл.txt" (Cyrillic)
|
|
131
|
+
* ✅ "Project #2.xlsx"
|
|
132
|
+
* ✅ ".gitignore" (hidden files allowed)
|
|
133
|
+
* ❌ " file.txt" (starts with space)
|
|
134
|
+
* ❌ "file.txt " (ends with space)
|
|
135
|
+
* ❌ "path/to/file.txt" (contains path separator)
|
|
136
|
+
* ❌ "file\0.txt" (contains null byte)
|
|
137
|
+
* ❌ "file<name>.txt" (contains Windows-illegal char)
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: optional string filename = 1;
|
|
140
|
+
*/
|
|
141
|
+
filename?: string;
|
|
142
|
+
/**
|
|
143
|
+
* The MIME type of the signal data.
|
|
144
|
+
* Must be a **concrete** MIME type conforming to RFC 6838 (NO wildcards allowed).
|
|
145
|
+
*
|
|
146
|
+
* This field specifies the actual format of the binary data in the `data` field.
|
|
147
|
+
* Unlike SignalFormat which can use wildcards for format families, SignalData
|
|
148
|
+
* represents actual concrete data and must have a specific MIME type.
|
|
149
|
+
*
|
|
150
|
+
* Format requirements:
|
|
151
|
+
* - Structure: type/subtype (e.g., "image/png", "application/pdf")
|
|
152
|
+
* - Type must be concrete alphanumeric (no wildcards)
|
|
153
|
+
* - Subtype must be concrete alphanumeric (no wildcards)
|
|
154
|
+
* - NO parameters allowed (no semicolons or charset specifications)
|
|
155
|
+
* - Case-insensitive but conventionally lowercase
|
|
156
|
+
* - Maximum length: 255 characters (127 for type + "/" + 127 for subtype)
|
|
157
|
+
*
|
|
158
|
+
* **No wildcards**: Unlike SignalFormat, wildcards are FORBIDDEN here because
|
|
159
|
+
* this represents actual data which must have a concrete format.
|
|
160
|
+
* ❌ "*\/*" - Forbidden (data must have specific format)
|
|
161
|
+
* ❌ "image/*" - Forbidden (data must be specific image format)
|
|
162
|
+
* ❌ "*\/png" - Forbidden (semantically invalid anyway)
|
|
163
|
+
* ✅ "image/png" - Valid (concrete format)
|
|
164
|
+
* ✅ "application/pdf" - Valid (concrete format)
|
|
165
|
+
*
|
|
166
|
+
* **Character Encoding Assumption**:
|
|
167
|
+
* All text-based formats (text/*, application/json, application/xml, etc.) are
|
|
168
|
+
* assumed to use UTF-8 encoding. Charset parameters are forbidden.
|
|
169
|
+
*
|
|
170
|
+
* Examples of forbidden formats:
|
|
171
|
+
* ❌ "text/plain; charset=utf-8" (parameters not allowed)
|
|
172
|
+
* ❌ "image/*" (wildcards not allowed)
|
|
173
|
+
* ❌ "*\/*" (wildcards not allowed)
|
|
174
|
+
*
|
|
175
|
+
* Common concrete examples:
|
|
176
|
+
* - Images: "image/png", "image/jpeg", "image/webp", "image/gif", "image/svg+xml"
|
|
177
|
+
* - Documents: "application/pdf", "text/html", "text/markdown", "text/plain"
|
|
178
|
+
* - Data: "application/json", "application/xml", "text/csv"
|
|
179
|
+
* - Binary: "application/octet-stream", "application/zip"
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: string mime_type = 2;
|
|
182
|
+
*/
|
|
183
|
+
mimeType?: string;
|
|
184
|
+
/**
|
|
185
|
+
* The actual raw binary data
|
|
186
|
+
*
|
|
187
|
+
* @generated from field: bytes data = 3;
|
|
188
|
+
*/
|
|
189
|
+
data?: string;
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* Describes the message mochabugapis.adapt.graph.SignalData.
|
|
193
|
+
* Use `create(SignalDataSchema)` to create a new message.
|
|
194
|
+
*/
|
|
195
|
+
export declare const SignalDataSchema: GenMessage<SignalData, {
|
|
196
|
+
jsonType: SignalDataJson;
|
|
197
|
+
}>;
|
|
198
|
+
//# sourceMappingURL=signal_data_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signal_data_pb.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/signal_data_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,OAC8zD,CAAC;AAEv3D;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,qCAAqC,CAAC,GAAG;IACxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,UAAU,EAAE;IAAC,QAAQ,EAAE,cAAc,CAAA;CAAC,CACrB,CAAC"}
|