@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 @@
|
|
|
1
|
+
{"version":3,"file":"automations_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/genproto/mochabugapis/adapt/automations/v1/automations_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAK7F,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvE,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE7E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,OACk4J,CAAC;AAEp8J;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,yDAAyD,CAAC,GAAG;IACvG;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,UAAU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;;OAIG;IACH,QAAQ,EAAE;QACR,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,qBAAqB,CAAC;QACpC,MAAM,EAAE,OAAO,sBAAsB,CAAC;KACvC,CAAC;CACH,CACmE,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Transceiver, TransceiverJson } from "./transceiver_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file mochabugapis/adapt/graph/exchange.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_mochabugapis_adapt_graph_exchange: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* Exchange represents a communication setup involving both transmitters and receivers.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message mochabugapis.adapt.graph.Exchange
|
|
12
|
+
*/
|
|
13
|
+
export type Exchange = Message<"mochabugapis.adapt.graph.Exchange"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Identifier for the exchange, following the ECMA naming pattern, limited to 50 characters.
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: string name = 1;
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
/**
|
|
21
|
+
* Optional descriptive text for the exchange, up to 250 characters.
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: optional string description = 2;
|
|
24
|
+
*/
|
|
25
|
+
description?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Outputs involved in the exchange, limited to 10 unique transmitters.
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Transceiver transmitters = 3;
|
|
30
|
+
*/
|
|
31
|
+
transmitters: Transceiver[];
|
|
32
|
+
/**
|
|
33
|
+
* Inputs involved in the exchange, requiring between 1 and 10 unique receivers.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Transceiver receivers = 4;
|
|
36
|
+
*/
|
|
37
|
+
receivers: Transceiver[];
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Exchange represents a communication setup involving both transmitters and receivers.
|
|
41
|
+
*
|
|
42
|
+
* @generated from message mochabugapis.adapt.graph.Exchange
|
|
43
|
+
*/
|
|
44
|
+
export type ExchangeJson = {
|
|
45
|
+
/**
|
|
46
|
+
* Identifier for the exchange, 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 exchange, up to 250 characters.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: optional string description = 2;
|
|
55
|
+
*/
|
|
56
|
+
description?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Outputs involved in the exchange, limited to 10 unique transmitters.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Transceiver transmitters = 3;
|
|
61
|
+
*/
|
|
62
|
+
transmitters?: TransceiverJson[];
|
|
63
|
+
/**
|
|
64
|
+
* Inputs involved in the exchange, requiring between 1 and 10 unique receivers.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Transceiver receivers = 4;
|
|
67
|
+
*/
|
|
68
|
+
receivers?: TransceiverJson[];
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message mochabugapis.adapt.graph.Exchange.
|
|
72
|
+
* Use `create(ExchangeSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export declare const ExchangeSchema: GenMessage<Exchange, {
|
|
75
|
+
jsonType: ExchangeJson;
|
|
76
|
+
}>;
|
|
77
|
+
//# sourceMappingURL=exchange_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exchange_pb.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/exchange_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAErE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,OAC6xB,CAAC;AAEn1B;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,mCAAmC,CAAC,GAAG;IACpE;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,YAAY,EAAE,WAAW,EAAE,CAAC;IAE5B;;;;OAIG;IACH,SAAS,EAAE,WAAW,EAAE,CAAC;CAC1B,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,YAAY,CAAC,EAAE,eAAe,EAAE,CAAC;IAEjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;CAC/B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,QAAQ,EAAE;IAAC,QAAQ,EAAE,YAAY,CAAA;CAAC,CAClB,CAAC"}
|
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { StructJson } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file mochabugapis/adapt/graph/jtd_schema.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_mochabugapis_adapt_graph_jtd_schema: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* Schema represents a JSON Typedef Schema (RFC 8927).
|
|
10
|
+
*
|
|
11
|
+
* ## Eight Mutually Exclusive Forms
|
|
12
|
+
*
|
|
13
|
+
* A JTD schema must take exactly ONE of these forms:
|
|
14
|
+
* 1. **Empty**: No form-specific keywords (accepts anything)
|
|
15
|
+
* 2. **Ref**: Has `ref` keyword
|
|
16
|
+
* 3. **Type**: Has `type` keyword
|
|
17
|
+
* 4. **Enum**: Has `enum` keyword (non-empty array)
|
|
18
|
+
* 5. **Elements**: Has `elements` keyword
|
|
19
|
+
* 6. **Properties**: Has `properties` and/or `optional_properties`
|
|
20
|
+
* 7. **Values**: Has `values` keyword
|
|
21
|
+
* 8. **Discriminator**: Has `discriminator` and `mapping` keywords
|
|
22
|
+
*
|
|
23
|
+
* ## Shared Keywords
|
|
24
|
+
*
|
|
25
|
+
* These can appear on ANY form:
|
|
26
|
+
* - `nullable`: Allows null values in addition to the schema's type
|
|
27
|
+
* - `metadata`: Arbitrary information (ignored during validation)
|
|
28
|
+
*
|
|
29
|
+
* ## Root-Level Keyword
|
|
30
|
+
*
|
|
31
|
+
* - `definitions`: Per RFC 8927 Section 2.1, this should only appear on root schemas.
|
|
32
|
+
* While this cannot be enforced at the protobuf schema level, application code should
|
|
33
|
+
* only populate this field on root schemas, not on nested schemas within definitions,
|
|
34
|
+
* elements, properties, etc.
|
|
35
|
+
*
|
|
36
|
+
* @generated from message mochabugapis.adapt.graph.JTDSchema
|
|
37
|
+
*/
|
|
38
|
+
export type JTDSchema = Message<"mochabugapis.adapt.graph.JTDSchema"> & {
|
|
39
|
+
/**
|
|
40
|
+
* The definitions keyword MUST be an object where each value is a schema.
|
|
41
|
+
* This object defines a collection of schema definitions that can be referenced via the ref keyword.
|
|
42
|
+
*
|
|
43
|
+
* RFC 8927 Section 2.1: definitions should only appear on root schemas, not on nested schemas.
|
|
44
|
+
* Application code is responsible for enforcing this constraint.
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.JTDSchema> definitions = 1;
|
|
47
|
+
*/
|
|
48
|
+
definitions: {
|
|
49
|
+
[key: string]: JTDSchema;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* The metadata keyword MUST be an object.
|
|
53
|
+
* This object is ignored during validation and can store custom information about the schema.
|
|
54
|
+
* Examples: descriptions, UI hints, code generation directives.
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: optional google.protobuf.Struct metadata = 2;
|
|
57
|
+
*/
|
|
58
|
+
metadata?: JsonObject;
|
|
59
|
+
/**
|
|
60
|
+
* The nullable keyword MUST be a boolean.
|
|
61
|
+
* If true, the schema matches the value null as well as any value matched by the rest of the schema.
|
|
62
|
+
*
|
|
63
|
+
* RFC 8927: nullable can appear on any schema form.
|
|
64
|
+
* Exception: Cannot be true on schemas within discriminator mappings (validated via CEL).
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: optional bool nullable = 3;
|
|
67
|
+
*/
|
|
68
|
+
nullable?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* The ref keyword MUST be a string.
|
|
71
|
+
* It is a reference to a schema defined in the definitions object of the root schema.
|
|
72
|
+
*
|
|
73
|
+
* RFC 8927 Section 2.2.2: The value must refer to a definition in the root schema's definitions.
|
|
74
|
+
* The referenced definition must exist (validated at runtime, not enforceable in protobuf schema).
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: optional string ref = 4;
|
|
77
|
+
*/
|
|
78
|
+
ref?: string;
|
|
79
|
+
/**
|
|
80
|
+
* The type keyword MUST be one of the predefined strings specifying the type of the value.
|
|
81
|
+
* Valid values per RFC 8927 Section 2.2.3:
|
|
82
|
+
* - "boolean": JSON true or false
|
|
83
|
+
* - "float32", "float64": JSON numbers (IEEE 754 single/double precision intent)
|
|
84
|
+
* - "int8": -128 to 127
|
|
85
|
+
* - "uint8": 0 to 255
|
|
86
|
+
* - "int16": -32,768 to 32,767
|
|
87
|
+
* - "uint16": 0 to 65,535
|
|
88
|
+
* - "int32": -2,147,483,648 to 2,147,483,647
|
|
89
|
+
* - "uint32": 0 to 4,294,967,295
|
|
90
|
+
* - "string": JSON string
|
|
91
|
+
* - "timestamp": RFC 3339 timestamp string
|
|
92
|
+
*
|
|
93
|
+
* Note: RFC 8927 intentionally omits int64/uint64 due to JSON interoperability concerns.
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: optional string type = 5;
|
|
96
|
+
*/
|
|
97
|
+
type?: string;
|
|
98
|
+
/**
|
|
99
|
+
* The enum keyword MUST be a non-empty array of strings.
|
|
100
|
+
* The schema matches any value that is equal to one of the elements in the array.
|
|
101
|
+
*
|
|
102
|
+
* RFC 8927 Section 2.2.4:
|
|
103
|
+
* - When using enum form, this array MUST be non-empty
|
|
104
|
+
* - The array MUST NOT contain duplicate values (enforced via unique constraint)
|
|
105
|
+
* - Only string enums are supported (no numeric enums)
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: repeated string enum = 6;
|
|
108
|
+
*/
|
|
109
|
+
enum: string[];
|
|
110
|
+
/**
|
|
111
|
+
* The elements keyword MUST be a schema.
|
|
112
|
+
* It is used to validate elements in an array.
|
|
113
|
+
*
|
|
114
|
+
* RFC 8927 Section 2.2.5: Describes homogeneous arrays where all elements match the same schema.
|
|
115
|
+
* Empty arrays are valid. Each element is validated against this schema.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: optional mochabugapis.adapt.graph.JTDSchema elements = 7;
|
|
118
|
+
*/
|
|
119
|
+
elements?: JTDSchema;
|
|
120
|
+
/**
|
|
121
|
+
* The properties keyword MUST be an object where each value is a schema.
|
|
122
|
+
* Each key is a required property that must match the corresponding schema.
|
|
123
|
+
*
|
|
124
|
+
* RFC 8927 Section 2.2.6: Properties form describes JSON objects used as structs.
|
|
125
|
+
* - All properties listed here are REQUIRED
|
|
126
|
+
* - For optional properties, use optional_properties
|
|
127
|
+
* - Keys cannot overlap between properties and optional_properties (validated via CEL)
|
|
128
|
+
*
|
|
129
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.JTDSchema> properties = 8;
|
|
130
|
+
*/
|
|
131
|
+
properties: {
|
|
132
|
+
[key: string]: JTDSchema;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* The optional_properties keyword MUST be an object where each value is a schema.
|
|
136
|
+
* Each key is an optional property that, if present, must match the corresponding schema.
|
|
137
|
+
*
|
|
138
|
+
* RFC 8927 Section 2.2.6: Properties form describes JSON objects used as structs.
|
|
139
|
+
* - All properties listed here are OPTIONAL
|
|
140
|
+
* - For required properties, use properties
|
|
141
|
+
* - Keys cannot overlap between properties and optional_properties (validated via CEL)
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.JTDSchema> optional_properties = 9;
|
|
144
|
+
*/
|
|
145
|
+
optionalProperties: {
|
|
146
|
+
[key: string]: JTDSchema;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* The additional_properties keyword MUST be a boolean.
|
|
150
|
+
* If true, the object may have properties other than those specified in properties and optional_properties.
|
|
151
|
+
*
|
|
152
|
+
* RFC 8927 Section 3.1:
|
|
153
|
+
* - Only valid on schemas of the "properties" form
|
|
154
|
+
* - Controls "allow additional properties" mode during validation
|
|
155
|
+
* - Does not get inherited by subschemas
|
|
156
|
+
* - If false or absent, unknown properties cause validation errors
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: optional bool additional_properties = 10;
|
|
159
|
+
*/
|
|
160
|
+
additionalProperties?: boolean;
|
|
161
|
+
/**
|
|
162
|
+
* The values keyword MUST be a schema.
|
|
163
|
+
* It is used to validate the values in an object (dictionary/map/associative array pattern).
|
|
164
|
+
*
|
|
165
|
+
* RFC 8927 Section 2.2.7: Values form describes JSON objects used as dictionaries.
|
|
166
|
+
* - Keys can be any string
|
|
167
|
+
* - All values must match this schema
|
|
168
|
+
* - Empty objects are valid
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: optional mochabugapis.adapt.graph.JTDSchema values = 11;
|
|
171
|
+
*/
|
|
172
|
+
values?: JTDSchema;
|
|
173
|
+
/**
|
|
174
|
+
* The discriminator keyword MUST be a string.
|
|
175
|
+
* It is used with mapping to represent tagged unions (discriminated unions, sum types).
|
|
176
|
+
*
|
|
177
|
+
* RFC 8927 Section 2.2.8: Discriminator form describes tagged unions.
|
|
178
|
+
* - The discriminator is a property name that acts as the "tag"
|
|
179
|
+
* - The tag value determines which schema from mapping is used
|
|
180
|
+
* - Must be used together with mapping (validated via CEL)
|
|
181
|
+
*
|
|
182
|
+
* @generated from field: optional string discriminator = 12;
|
|
183
|
+
*/
|
|
184
|
+
discriminator?: string;
|
|
185
|
+
/**
|
|
186
|
+
* The mapping keyword MUST be an object where each value is a schema.
|
|
187
|
+
* Used with discriminator for tagged unions, mapping discriminator tag values to schemas.
|
|
188
|
+
*
|
|
189
|
+
* RFC 8927 Section 2.2.8: Each schema in mapping:
|
|
190
|
+
* - MUST be of the "properties" form (have properties and/or optional_properties)
|
|
191
|
+
* - MUST NOT have nullable=true
|
|
192
|
+
* - MUST NOT include the discriminator tag in properties or optional_properties
|
|
193
|
+
* These constraints are validated via CEL rules below.
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.JTDSchema> mapping = 13;
|
|
196
|
+
*/
|
|
197
|
+
mapping: {
|
|
198
|
+
[key: string]: JTDSchema;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Schema represents a JSON Typedef Schema (RFC 8927).
|
|
203
|
+
*
|
|
204
|
+
* ## Eight Mutually Exclusive Forms
|
|
205
|
+
*
|
|
206
|
+
* A JTD schema must take exactly ONE of these forms:
|
|
207
|
+
* 1. **Empty**: No form-specific keywords (accepts anything)
|
|
208
|
+
* 2. **Ref**: Has `ref` keyword
|
|
209
|
+
* 3. **Type**: Has `type` keyword
|
|
210
|
+
* 4. **Enum**: Has `enum` keyword (non-empty array)
|
|
211
|
+
* 5. **Elements**: Has `elements` keyword
|
|
212
|
+
* 6. **Properties**: Has `properties` and/or `optional_properties`
|
|
213
|
+
* 7. **Values**: Has `values` keyword
|
|
214
|
+
* 8. **Discriminator**: Has `discriminator` and `mapping` keywords
|
|
215
|
+
*
|
|
216
|
+
* ## Shared Keywords
|
|
217
|
+
*
|
|
218
|
+
* These can appear on ANY form:
|
|
219
|
+
* - `nullable`: Allows null values in addition to the schema's type
|
|
220
|
+
* - `metadata`: Arbitrary information (ignored during validation)
|
|
221
|
+
*
|
|
222
|
+
* ## Root-Level Keyword
|
|
223
|
+
*
|
|
224
|
+
* - `definitions`: Per RFC 8927 Section 2.1, this should only appear on root schemas.
|
|
225
|
+
* While this cannot be enforced at the protobuf schema level, application code should
|
|
226
|
+
* only populate this field on root schemas, not on nested schemas within definitions,
|
|
227
|
+
* elements, properties, etc.
|
|
228
|
+
*
|
|
229
|
+
* @generated from message mochabugapis.adapt.graph.JTDSchema
|
|
230
|
+
*/
|
|
231
|
+
export type JTDSchemaJson = {
|
|
232
|
+
/**
|
|
233
|
+
* The definitions keyword MUST be an object where each value is a schema.
|
|
234
|
+
* This object defines a collection of schema definitions that can be referenced via the ref keyword.
|
|
235
|
+
*
|
|
236
|
+
* RFC 8927 Section 2.1: definitions should only appear on root schemas, not on nested schemas.
|
|
237
|
+
* Application code is responsible for enforcing this constraint.
|
|
238
|
+
*
|
|
239
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.JTDSchema> definitions = 1;
|
|
240
|
+
*/
|
|
241
|
+
definitions?: {
|
|
242
|
+
[key: string]: JTDSchemaJson;
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* The metadata keyword MUST be an object.
|
|
246
|
+
* This object is ignored during validation and can store custom information about the schema.
|
|
247
|
+
* Examples: descriptions, UI hints, code generation directives.
|
|
248
|
+
*
|
|
249
|
+
* @generated from field: optional google.protobuf.Struct metadata = 2;
|
|
250
|
+
*/
|
|
251
|
+
metadata?: StructJson;
|
|
252
|
+
/**
|
|
253
|
+
* The nullable keyword MUST be a boolean.
|
|
254
|
+
* If true, the schema matches the value null as well as any value matched by the rest of the schema.
|
|
255
|
+
*
|
|
256
|
+
* RFC 8927: nullable can appear on any schema form.
|
|
257
|
+
* Exception: Cannot be true on schemas within discriminator mappings (validated via CEL).
|
|
258
|
+
*
|
|
259
|
+
* @generated from field: optional bool nullable = 3;
|
|
260
|
+
*/
|
|
261
|
+
nullable?: boolean;
|
|
262
|
+
/**
|
|
263
|
+
* The ref keyword MUST be a string.
|
|
264
|
+
* It is a reference to a schema defined in the definitions object of the root schema.
|
|
265
|
+
*
|
|
266
|
+
* RFC 8927 Section 2.2.2: The value must refer to a definition in the root schema's definitions.
|
|
267
|
+
* The referenced definition must exist (validated at runtime, not enforceable in protobuf schema).
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: optional string ref = 4;
|
|
270
|
+
*/
|
|
271
|
+
ref?: string;
|
|
272
|
+
/**
|
|
273
|
+
* The type keyword MUST be one of the predefined strings specifying the type of the value.
|
|
274
|
+
* Valid values per RFC 8927 Section 2.2.3:
|
|
275
|
+
* - "boolean": JSON true or false
|
|
276
|
+
* - "float32", "float64": JSON numbers (IEEE 754 single/double precision intent)
|
|
277
|
+
* - "int8": -128 to 127
|
|
278
|
+
* - "uint8": 0 to 255
|
|
279
|
+
* - "int16": -32,768 to 32,767
|
|
280
|
+
* - "uint16": 0 to 65,535
|
|
281
|
+
* - "int32": -2,147,483,648 to 2,147,483,647
|
|
282
|
+
* - "uint32": 0 to 4,294,967,295
|
|
283
|
+
* - "string": JSON string
|
|
284
|
+
* - "timestamp": RFC 3339 timestamp string
|
|
285
|
+
*
|
|
286
|
+
* Note: RFC 8927 intentionally omits int64/uint64 due to JSON interoperability concerns.
|
|
287
|
+
*
|
|
288
|
+
* @generated from field: optional string type = 5;
|
|
289
|
+
*/
|
|
290
|
+
type?: string;
|
|
291
|
+
/**
|
|
292
|
+
* The enum keyword MUST be a non-empty array of strings.
|
|
293
|
+
* The schema matches any value that is equal to one of the elements in the array.
|
|
294
|
+
*
|
|
295
|
+
* RFC 8927 Section 2.2.4:
|
|
296
|
+
* - When using enum form, this array MUST be non-empty
|
|
297
|
+
* - The array MUST NOT contain duplicate values (enforced via unique constraint)
|
|
298
|
+
* - Only string enums are supported (no numeric enums)
|
|
299
|
+
*
|
|
300
|
+
* @generated from field: repeated string enum = 6;
|
|
301
|
+
*/
|
|
302
|
+
enum?: string[];
|
|
303
|
+
/**
|
|
304
|
+
* The elements keyword MUST be a schema.
|
|
305
|
+
* It is used to validate elements in an array.
|
|
306
|
+
*
|
|
307
|
+
* RFC 8927 Section 2.2.5: Describes homogeneous arrays where all elements match the same schema.
|
|
308
|
+
* Empty arrays are valid. Each element is validated against this schema.
|
|
309
|
+
*
|
|
310
|
+
* @generated from field: optional mochabugapis.adapt.graph.JTDSchema elements = 7;
|
|
311
|
+
*/
|
|
312
|
+
elements?: JTDSchemaJson;
|
|
313
|
+
/**
|
|
314
|
+
* The properties keyword MUST be an object where each value is a schema.
|
|
315
|
+
* Each key is a required property that must match the corresponding schema.
|
|
316
|
+
*
|
|
317
|
+
* RFC 8927 Section 2.2.6: Properties form describes JSON objects used as structs.
|
|
318
|
+
* - All properties listed here are REQUIRED
|
|
319
|
+
* - For optional properties, use optional_properties
|
|
320
|
+
* - Keys cannot overlap between properties and optional_properties (validated via CEL)
|
|
321
|
+
*
|
|
322
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.JTDSchema> properties = 8;
|
|
323
|
+
*/
|
|
324
|
+
properties?: {
|
|
325
|
+
[key: string]: JTDSchemaJson;
|
|
326
|
+
};
|
|
327
|
+
/**
|
|
328
|
+
* The optional_properties keyword MUST be an object where each value is a schema.
|
|
329
|
+
* Each key is an optional property that, if present, must match the corresponding schema.
|
|
330
|
+
*
|
|
331
|
+
* RFC 8927 Section 2.2.6: Properties form describes JSON objects used as structs.
|
|
332
|
+
* - All properties listed here are OPTIONAL
|
|
333
|
+
* - For required properties, use properties
|
|
334
|
+
* - Keys cannot overlap between properties and optional_properties (validated via CEL)
|
|
335
|
+
*
|
|
336
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.JTDSchema> optional_properties = 9;
|
|
337
|
+
*/
|
|
338
|
+
optionalProperties?: {
|
|
339
|
+
[key: string]: JTDSchemaJson;
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* The additional_properties keyword MUST be a boolean.
|
|
343
|
+
* If true, the object may have properties other than those specified in properties and optional_properties.
|
|
344
|
+
*
|
|
345
|
+
* RFC 8927 Section 3.1:
|
|
346
|
+
* - Only valid on schemas of the "properties" form
|
|
347
|
+
* - Controls "allow additional properties" mode during validation
|
|
348
|
+
* - Does not get inherited by subschemas
|
|
349
|
+
* - If false or absent, unknown properties cause validation errors
|
|
350
|
+
*
|
|
351
|
+
* @generated from field: optional bool additional_properties = 10;
|
|
352
|
+
*/
|
|
353
|
+
additionalProperties?: boolean;
|
|
354
|
+
/**
|
|
355
|
+
* The values keyword MUST be a schema.
|
|
356
|
+
* It is used to validate the values in an object (dictionary/map/associative array pattern).
|
|
357
|
+
*
|
|
358
|
+
* RFC 8927 Section 2.2.7: Values form describes JSON objects used as dictionaries.
|
|
359
|
+
* - Keys can be any string
|
|
360
|
+
* - All values must match this schema
|
|
361
|
+
* - Empty objects are valid
|
|
362
|
+
*
|
|
363
|
+
* @generated from field: optional mochabugapis.adapt.graph.JTDSchema values = 11;
|
|
364
|
+
*/
|
|
365
|
+
values?: JTDSchemaJson;
|
|
366
|
+
/**
|
|
367
|
+
* The discriminator keyword MUST be a string.
|
|
368
|
+
* It is used with mapping to represent tagged unions (discriminated unions, sum types).
|
|
369
|
+
*
|
|
370
|
+
* RFC 8927 Section 2.2.8: Discriminator form describes tagged unions.
|
|
371
|
+
* - The discriminator is a property name that acts as the "tag"
|
|
372
|
+
* - The tag value determines which schema from mapping is used
|
|
373
|
+
* - Must be used together with mapping (validated via CEL)
|
|
374
|
+
*
|
|
375
|
+
* @generated from field: optional string discriminator = 12;
|
|
376
|
+
*/
|
|
377
|
+
discriminator?: string;
|
|
378
|
+
/**
|
|
379
|
+
* The mapping keyword MUST be an object where each value is a schema.
|
|
380
|
+
* Used with discriminator for tagged unions, mapping discriminator tag values to schemas.
|
|
381
|
+
*
|
|
382
|
+
* RFC 8927 Section 2.2.8: Each schema in mapping:
|
|
383
|
+
* - MUST be of the "properties" form (have properties and/or optional_properties)
|
|
384
|
+
* - MUST NOT have nullable=true
|
|
385
|
+
* - MUST NOT include the discriminator tag in properties or optional_properties
|
|
386
|
+
* These constraints are validated via CEL rules below.
|
|
387
|
+
*
|
|
388
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.JTDSchema> mapping = 13;
|
|
389
|
+
*/
|
|
390
|
+
mapping?: {
|
|
391
|
+
[key: string]: JTDSchemaJson;
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* Describes the message mochabugapis.adapt.graph.JTDSchema.
|
|
396
|
+
* Use `create(JTDSchemaSchema)` to create a new message.
|
|
397
|
+
*/
|
|
398
|
+
export declare const JTDSchemaSchema: GenMessage<JTDSchema, {
|
|
399
|
+
jsonType: JTDSchemaJson;
|
|
400
|
+
}>;
|
|
401
|
+
//# sourceMappingURL=jtd_schema_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jtd_schema_pb.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/jtd_schema_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,OAC83J,CAAC;AAEt7J;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6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AE,UAAU,CAAC;IAEtB;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhB;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;IAEzB;;;;;;;;;;OAUG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;KAAE,CAAC;IAE9C;;;;;;;;;;OAUG;IACH,kBAAkB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;KAAE,CAAC;IAEtD;;;;;;;;;;;OAWG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IAEvB;;;;;;;;;;OAUG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;KAAE,CAAC;CAC5C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,SAAS,EAAE;IAAC,QAAQ,EAAE,aAAa,CAAA;CAAC,CACnB,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { SignalBinding, SignalBindingJson } from "./signal_binding_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file mochabugapis/adapt/graph/receiver.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_mochabugapis_adapt_graph_receiver: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* Receiver represents an input point for a vertex, which can bind
|
|
10
|
+
* to multiple signals.
|
|
11
|
+
*
|
|
12
|
+
* @generated from message mochabugapis.adapt.graph.Receiver
|
|
13
|
+
*/
|
|
14
|
+
export type Receiver = Message<"mochabugapis.adapt.graph.Receiver"> & {
|
|
15
|
+
/**
|
|
16
|
+
* Identifier for the receiver, conforming to the ECMA naming pattern
|
|
17
|
+
* and limited to 50 characters.
|
|
18
|
+
*
|
|
19
|
+
* @generated from field: string name = 1;
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Optional descriptive text for the receiver's purpose, up to 250 characters.
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: optional string description = 2;
|
|
26
|
+
*/
|
|
27
|
+
description?: string;
|
|
28
|
+
/**
|
|
29
|
+
* List of signals the receiver listens for. Can contain up to 512 unique signals.
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: repeated mochabugapis.adapt.graph.SignalBinding bindings = 3;
|
|
32
|
+
*/
|
|
33
|
+
bindings: SignalBinding[];
|
|
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
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message mochabugapis.adapt.graph.Receiver.
|
|
64
|
+
* Use `create(ReceiverSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export declare const ReceiverSchema: GenMessage<Receiver, {
|
|
67
|
+
jsonType: ReceiverJson;
|
|
68
|
+
}>;
|
|
69
|
+
//# sourceMappingURL=receiver_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"receiver_pb.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/receiver_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,OACohB,CAAC;AAE1kB;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,mCAAmC,CAAC,GAAG;IACpE;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,QAAQ,EAAE,aAAa,EAAE,CAAC;CAC3B,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAChC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,QAAQ,EAAE;IAAC,QAAQ,EAAE,YAAY,CAAA;CAAC,CAClB,CAAC"}
|