@mochabug/adaptkit 1.0.0-rc.4 → 1.0.0-rc.41
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/README.md +50 -45
- package/assets/build.js +2 -57
- package/assets/configurator.html +14 -0
- package/assets/configurator.ssg.tsx +2 -16
- package/assets/configurator_none.ts +8 -8
- package/assets/configurator_react.tsx +14 -11
- package/assets/executor.html +14 -0
- package/assets/executor.ssg.tsx +2 -16
- package/assets/executor_action.ts +4 -8
- package/assets/{executor_cron_trigger.ts → executor_action_cron.ts} +4 -8
- package/assets/executor_browser_none.ts +9 -13
- package/assets/executor_browser_none_cron.ts +119 -0
- package/assets/executor_browser_react.tsx +15 -16
- package/assets/executor_browser_react_cron.tsx +55 -0
- package/assets/{executor_external_trigger.ts → executor_external.ts} +8 -12
- package/assets/executor_external_cron.ts +45 -0
- package/assets/gitignore +3 -1
- package/assets/tsconf.json +4 -7
- package/bin/add.d.ts +3 -0
- package/bin/add.d.ts.map +1 -0
- package/bin/genproto/buf/validate/validate_pb.d.ts +8491 -0
- package/bin/genproto/buf/validate/validate_pb.d.ts.map +1 -0
- package/bin/genproto/google/api/annotations_pb.d.ts +14 -0
- package/bin/genproto/google/api/annotations_pb.d.ts.map +1 -0
- package/bin/genproto/google/api/client_pb.d.ts +1432 -0
- package/bin/genproto/google/api/client_pb.d.ts.map +1 -0
- package/bin/genproto/google/api/http_pb.d.ts +843 -0
- package/bin/genproto/google/api/http_pb.d.ts.map +1 -0
- package/bin/genproto/google/api/launch_stage_pb.d.ts +94 -0
- package/bin/genproto/google/api/launch_stage_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +77 -0
- package/bin/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +401 -0
- package/bin/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +69 -0
- package/bin/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +430 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_data_pb.d.ts +198 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_data_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +161 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_format_pb.d.ts +305 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_format_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +77 -0
- package/bin/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +120 -0
- package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts +99 -0
- package/bin/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts +347 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts +64 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts +1282 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts +388 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts +805 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +238 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +241 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts +539 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +190 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +269 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts.map +1 -0
- package/bin/index.d.ts +12 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +846 -711
- package/bin/index.js.map +4 -4
- package/bin/init.d.ts +2 -0
- package/bin/init.d.ts.map +1 -0
- package/bin/oauth2.d.ts +2 -0
- package/bin/oauth2.d.ts.map +1 -0
- package/bin/publish.d.ts +27 -0
- package/bin/publish.d.ts.map +1 -0
- package/bin/utils.d.ts +13 -0
- package/bin/utils.d.ts.map +1 -0
- package/bin/vertices.d.ts +3 -0
- package/bin/vertices.d.ts.map +1 -0
- package/package.json +25 -27
- package/assets/build-client.js +0 -111
- package/assets/global.d.ts +0 -7
- package/assets/inject.js +0 -15
- package/assets/license.md +0 -15
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http_pb.d.ts","sourceRoot":"","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CAAC,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAE/B;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;;;;OASG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,YAAY,EAAE,CAAC;CACrC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,QAAQ,EAAE;IAAC,QAAQ,EAAE,YAAY,CAAA;CAAC,CACpC,CAAC;AAEvC;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,8BAA8B,CAAC,GAAG;IACxE;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,UAAU,CAAC,iBAAiB,EAAE;IAAC,QAAQ,EAAE,qBAAqB,CAAA;CAAC,CAC/D,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the file google/api/launch_stage.proto.
|
|
4
|
+
*/
|
|
5
|
+
export declare const file_google_api_launch_stage: GenFile;
|
|
6
|
+
/**
|
|
7
|
+
* The launch stage as defined by [Google Cloud Platform
|
|
8
|
+
* Launch Stages](https://cloud.google.com/terms/launch-stages).
|
|
9
|
+
*
|
|
10
|
+
* @generated from enum google.api.LaunchStage
|
|
11
|
+
*/
|
|
12
|
+
export declare enum LaunchStage {
|
|
13
|
+
/**
|
|
14
|
+
* Do not use this default value.
|
|
15
|
+
*
|
|
16
|
+
* @generated from enum value: LAUNCH_STAGE_UNSPECIFIED = 0;
|
|
17
|
+
*/
|
|
18
|
+
LAUNCH_STAGE_UNSPECIFIED = 0,
|
|
19
|
+
/**
|
|
20
|
+
* The feature is not yet implemented. Users can not use it.
|
|
21
|
+
*
|
|
22
|
+
* @generated from enum value: UNIMPLEMENTED = 6;
|
|
23
|
+
*/
|
|
24
|
+
UNIMPLEMENTED = 6,
|
|
25
|
+
/**
|
|
26
|
+
* Prelaunch features are hidden from users and are only visible internally.
|
|
27
|
+
*
|
|
28
|
+
* @generated from enum value: PRELAUNCH = 7;
|
|
29
|
+
*/
|
|
30
|
+
PRELAUNCH = 7,
|
|
31
|
+
/**
|
|
32
|
+
* Early Access features are limited to a closed group of testers. To use
|
|
33
|
+
* these features, you must sign up in advance and sign a Trusted Tester
|
|
34
|
+
* agreement (which includes confidentiality provisions). These features may
|
|
35
|
+
* be unstable, changed in backward-incompatible ways, and are not
|
|
36
|
+
* guaranteed to be released.
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum value: EARLY_ACCESS = 1;
|
|
39
|
+
*/
|
|
40
|
+
EARLY_ACCESS = 1,
|
|
41
|
+
/**
|
|
42
|
+
* Alpha is a limited availability test for releases before they are cleared
|
|
43
|
+
* for widespread use. By Alpha, all significant design issues are resolved
|
|
44
|
+
* and we are in the process of verifying functionality. Alpha customers
|
|
45
|
+
* need to apply for access, agree to applicable terms, and have their
|
|
46
|
+
* projects allowlisted. Alpha releases don't have to be feature complete,
|
|
47
|
+
* no SLAs are provided, and there are no technical support obligations, but
|
|
48
|
+
* they will be far enough along that customers can actually use them in
|
|
49
|
+
* test environments or for limited-use tests -- just like they would in
|
|
50
|
+
* normal production cases.
|
|
51
|
+
*
|
|
52
|
+
* @generated from enum value: ALPHA = 2;
|
|
53
|
+
*/
|
|
54
|
+
ALPHA = 2,
|
|
55
|
+
/**
|
|
56
|
+
* Beta is the point at which we are ready to open a release for any
|
|
57
|
+
* customer to use. There are no SLA or technical support obligations in a
|
|
58
|
+
* Beta release. Products will be complete from a feature perspective, but
|
|
59
|
+
* may have some open outstanding issues. Beta releases are suitable for
|
|
60
|
+
* limited production use cases.
|
|
61
|
+
*
|
|
62
|
+
* @generated from enum value: BETA = 3;
|
|
63
|
+
*/
|
|
64
|
+
BETA = 3,
|
|
65
|
+
/**
|
|
66
|
+
* GA features are open to all developers and are considered stable and
|
|
67
|
+
* fully qualified for production use.
|
|
68
|
+
*
|
|
69
|
+
* @generated from enum value: GA = 4;
|
|
70
|
+
*/
|
|
71
|
+
GA = 4,
|
|
72
|
+
/**
|
|
73
|
+
* Deprecated features are scheduled to be shut down and removed. For more
|
|
74
|
+
* information, see the "Deprecation Policy" section of our [Terms of
|
|
75
|
+
* Service](https://cloud.google.com/terms/)
|
|
76
|
+
* and the [Google Cloud Platform Subject to the Deprecation
|
|
77
|
+
* Policy](https://cloud.google.com/terms/deprecation) documentation.
|
|
78
|
+
*
|
|
79
|
+
* @generated from enum value: DEPRECATED = 5;
|
|
80
|
+
*/
|
|
81
|
+
DEPRECATED = 5
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The launch stage as defined by [Google Cloud Platform
|
|
85
|
+
* Launch Stages](https://cloud.google.com/terms/launch-stages).
|
|
86
|
+
*
|
|
87
|
+
* @generated from enum google.api.LaunchStage
|
|
88
|
+
*/
|
|
89
|
+
export type LaunchStageJson = "LAUNCH_STAGE_UNSPECIFIED" | "UNIMPLEMENTED" | "PRELAUNCH" | "EARLY_ACCESS" | "ALPHA" | "BETA" | "GA" | "DEPRECATED";
|
|
90
|
+
/**
|
|
91
|
+
* Describes the enum google.api.LaunchStage.
|
|
92
|
+
*/
|
|
93
|
+
export declare const LaunchStageSchema: GenEnum<LaunchStage, LaunchStageJson>;
|
|
94
|
+
//# sourceMappingURL=launch_stage_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"launch_stage_pb.d.ts","sourceRoot":"","sources":["../../../../src/genproto/google/api/launch_stage_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,OACiW,CAAC;AAE7Y;;;;;GAKG;AACH,oBAAY,WAAW;IACrB;;;;OAIG;IACH,wBAAwB,IAAI;IAE5B;;;;OAIG;IACH,aAAa,IAAI;IAEjB;;;;OAIG;IACH,SAAS,IAAI;IAEb;;;;;;;;OAQG;IACH,YAAY,IAAI;IAEhB;;;;;;;;;;;;OAYG;IACH,KAAK,IAAI;IAET;;;;;;;;OAQG;IACH,IAAI,IAAI;IAER;;;;;OAKG;IACH,EAAE,IAAI;IAEN;;;;;;;;OAQG;IACH,UAAU,IAAI;CACf;AAED;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,0BAA0B,GAAG,eAAe,GAAG,WAAW,GAAG,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,YAAY,CAAC;AAEnJ;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,WAAW,EAAE,eAAe,CACzB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,oCAAoC,CAAC,GAAG;IACtE;;;;;;;;OAQG;IACH,WAAW,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;IAE1C;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,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,EAAE,MAAM,EAAE,CAAC;IAEf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,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"}
|