@mochabug/adaptkit 1.0.0-rc.2 → 1.0.0-rc.21
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/assets/build.js +2 -57
- package/assets/configurator.html +14 -0
- package/assets/configurator.ssg.tsx +2 -16
- package/assets/configurator_none.ts +4 -4
- package/assets/configurator_react.tsx +10 -7
- package/assets/executor.html +14 -0
- package/assets/executor.ssg.tsx +2 -16
- package/assets/executor_action.ts +3 -7
- package/assets/{executor_cron_trigger.ts → executor_action_cron.ts} +3 -7
- package/assets/executor_browser_none.ts +8 -12
- package/assets/executor_browser_none_cron.ts +119 -0
- package/assets/executor_browser_react.tsx +14 -15
- package/assets/executor_browser_react_cron.tsx +55 -0
- package/assets/{executor_external_trigger.ts → executor_external.ts} +7 -11
- package/assets/executor_external_cron.ts +45 -0
- package/assets/gitignore +3 -1
- package/assets/tsconf.json +3 -5
- 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 +227 -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 +134 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +91 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor_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/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/manifest_pb.d.ts +225 -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 +721 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.d.ts +94 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +214 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.d.ts +138 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +118 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.d.ts +151 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +62 -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 +242 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts.map +1 -0
- package/bin/index.d.ts +7 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +741 -796
- 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 +23 -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 +20 -31
- 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,91 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { JTDSchema, JTDSchemaJson } from "./jtd_schema_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file mochabugapis/adapt/graph/signal_descriptor.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_mochabugapis_adapt_graph_signal_descriptor: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* SignalDescriptor defines the properties of a signal without containing the actual signal data.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message mochabugapis.adapt.graph.SignalDescriptor
|
|
12
|
+
*/
|
|
13
|
+
export type SignalDescriptor = Message<"mochabugapis.adapt.graph.SignalDescriptor"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Identifier for the signal, following the ECMA naming pattern, limited to 50 characters.
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: string name = 1;
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
/**
|
|
21
|
+
* Optional label for the signal, up to 50 characters.
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: optional string label = 5;
|
|
24
|
+
*/
|
|
25
|
+
label?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Optional descriptive text for the signal, up to 250 characters.
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: optional string description = 2;
|
|
30
|
+
*/
|
|
31
|
+
description?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Schema definition for the signal, must follow the JTD definition found here: https://www.rfc-editor.org/rfc/rfc8927.
|
|
34
|
+
* Defaults to the empty schema that can validate everything
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: mochabugapis.adapt.graph.JTDSchema schema = 3;
|
|
37
|
+
*/
|
|
38
|
+
schema?: JTDSchema;
|
|
39
|
+
/**
|
|
40
|
+
* Flag indicating if the signal is optional.
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: optional bool optional = 4;
|
|
43
|
+
*/
|
|
44
|
+
optional?: boolean;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* SignalDescriptor defines the properties of a signal without containing the actual signal data.
|
|
48
|
+
*
|
|
49
|
+
* @generated from message mochabugapis.adapt.graph.SignalDescriptor
|
|
50
|
+
*/
|
|
51
|
+
export type SignalDescriptorJson = {
|
|
52
|
+
/**
|
|
53
|
+
* Identifier for the signal, following the ECMA naming pattern, limited to 50 characters.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: string name = 1;
|
|
56
|
+
*/
|
|
57
|
+
name?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Optional label for the signal, up to 50 characters.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: optional string label = 5;
|
|
62
|
+
*/
|
|
63
|
+
label?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Optional descriptive text for the signal, up to 250 characters.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: optional string description = 2;
|
|
68
|
+
*/
|
|
69
|
+
description?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Schema definition for the signal, must follow the JTD definition found here: https://www.rfc-editor.org/rfc/rfc8927.
|
|
72
|
+
* Defaults to the empty schema that can validate everything
|
|
73
|
+
*
|
|
74
|
+
* @generated from field: mochabugapis.adapt.graph.JTDSchema schema = 3;
|
|
75
|
+
*/
|
|
76
|
+
schema?: JTDSchemaJson;
|
|
77
|
+
/**
|
|
78
|
+
* Flag indicating if the signal is optional.
|
|
79
|
+
*
|
|
80
|
+
* @generated from field: optional bool optional = 4;
|
|
81
|
+
*/
|
|
82
|
+
optional?: boolean;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message mochabugapis.adapt.graph.SignalDescriptor.
|
|
86
|
+
* Use `create(SignalDescriptorSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export declare const SignalDescriptorSchema: GenMessage<SignalDescriptor, {
|
|
89
|
+
jsonType: SignalDescriptorJson;
|
|
90
|
+
}>;
|
|
91
|
+
//# sourceMappingURL=signal_descriptor_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signal_descriptor_pb.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,OAC4d,CAAC;AAE3hB;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,2CAA2C,CAAC,GAAG;IACpF;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,gBAAgB,EAAE;IAAC,QAAQ,EAAE,oBAAoB,CAAA;CAAC,CACjC,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { SignalDescriptor, SignalDescriptorJson } from "./signal_descriptor_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file mochabugapis/adapt/graph/transceiver.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_mochabugapis_adapt_graph_transceiver: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* Transceiver is a dual-purpose entity capable of both emitting and receiving signals.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message mochabugapis.adapt.graph.Transceiver
|
|
12
|
+
*/
|
|
13
|
+
export type Transceiver = Message<"mochabugapis.adapt.graph.Transceiver"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Identifier for the transceiver, 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 transceiver's purpose, up to 250 characters.
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: optional string description = 2;
|
|
24
|
+
*/
|
|
25
|
+
description?: string;
|
|
26
|
+
/**
|
|
27
|
+
* List of signals the transceiver handles. Can contain up to 512 unique signals.
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: repeated mochabugapis.adapt.graph.SignalDescriptor signals = 3;
|
|
30
|
+
*/
|
|
31
|
+
signals: SignalDescriptor[];
|
|
32
|
+
/**
|
|
33
|
+
* Wheter or not the transceiver is a streaming transceiver.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: optional bool streaming = 4;
|
|
36
|
+
*/
|
|
37
|
+
streaming?: boolean;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Transceiver is a dual-purpose entity capable of both emitting and receiving signals.
|
|
41
|
+
*
|
|
42
|
+
* @generated from message mochabugapis.adapt.graph.Transceiver
|
|
43
|
+
*/
|
|
44
|
+
export type TransceiverJson = {
|
|
45
|
+
/**
|
|
46
|
+
* Identifier for the transceiver, 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 transceiver's purpose, up to 250 characters.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: optional string description = 2;
|
|
55
|
+
*/
|
|
56
|
+
description?: string;
|
|
57
|
+
/**
|
|
58
|
+
* List of signals the transceiver handles. Can contain up to 512 unique signals.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: repeated mochabugapis.adapt.graph.SignalDescriptor signals = 3;
|
|
61
|
+
*/
|
|
62
|
+
signals?: SignalDescriptorJson[];
|
|
63
|
+
/**
|
|
64
|
+
* Wheter or not the transceiver is a streaming transceiver.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: optional bool streaming = 4;
|
|
67
|
+
*/
|
|
68
|
+
streaming?: boolean;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message mochabugapis.adapt.graph.Transceiver.
|
|
72
|
+
* Use `create(TransceiverSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export declare const TransceiverSchema: GenMessage<Transceiver, {
|
|
75
|
+
jsonType: TransceiverJson;
|
|
76
|
+
}>;
|
|
77
|
+
//# sourceMappingURL=transceiver_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transceiver_pb.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/transceiver_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAErF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,OAC4kB,CAAC;AAEroB;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,sCAAsC,CAAC,GAAG;IAC1E;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAE5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAEjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,EAAE;IAAC,QAAQ,EAAE,eAAe,CAAA;CAAC,CACxB,CAAC"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { SignalDescriptor, SignalDescriptorJson } from "./signal_descriptor_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file mochabugapis/adapt/graph/transmitter.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_mochabugapis_adapt_graph_transmitter: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* Transmitter represents an output point for a vertex, emitting multiple signals.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message mochabugapis.adapt.graph.Transmitter
|
|
12
|
+
*/
|
|
13
|
+
export type Transmitter = Message<"mochabugapis.adapt.graph.Transmitter"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Identifier for the transmitter, 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 transmitter's purpose, up to 250 characters.
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: optional string description = 2;
|
|
24
|
+
*/
|
|
25
|
+
description?: string;
|
|
26
|
+
/**
|
|
27
|
+
* List of signals the transmitter can emit. Can contain up to 512 unique signals.
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: repeated mochabugapis.adapt.graph.SignalDescriptor signals = 3;
|
|
30
|
+
*/
|
|
31
|
+
signals: SignalDescriptor[];
|
|
32
|
+
/**
|
|
33
|
+
* An optional mode for the transmitter, indicating its operational context.
|
|
34
|
+
* If not set, it defaults to the standard mode
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: optional mochabugapis.adapt.graph.Transmitter.Mode mode = 4;
|
|
37
|
+
*/
|
|
38
|
+
mode?: Transmitter_Mode;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Transmitter represents an output point for a vertex, emitting multiple signals.
|
|
42
|
+
*
|
|
43
|
+
* @generated from message mochabugapis.adapt.graph.Transmitter
|
|
44
|
+
*/
|
|
45
|
+
export type TransmitterJson = {
|
|
46
|
+
/**
|
|
47
|
+
* Identifier for the transmitter, following the ECMA naming pattern, limited to 50 characters.
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: string name = 1;
|
|
50
|
+
*/
|
|
51
|
+
name?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Optional descriptive text for the transmitter's purpose, up to 250 characters.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: optional string description = 2;
|
|
56
|
+
*/
|
|
57
|
+
description?: string;
|
|
58
|
+
/**
|
|
59
|
+
* List of signals the transmitter can emit. Can contain up to 512 unique signals.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: repeated mochabugapis.adapt.graph.SignalDescriptor signals = 3;
|
|
62
|
+
*/
|
|
63
|
+
signals?: SignalDescriptorJson[];
|
|
64
|
+
/**
|
|
65
|
+
* An optional mode for the transmitter, indicating its operational context.
|
|
66
|
+
* If not set, it defaults to the standard mode
|
|
67
|
+
*
|
|
68
|
+
* @generated from field: optional mochabugapis.adapt.graph.Transmitter.Mode mode = 4;
|
|
69
|
+
*/
|
|
70
|
+
mode?: Transmitter_ModeJson;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message mochabugapis.adapt.graph.Transmitter.
|
|
74
|
+
* Use `create(TransmitterSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export declare const TransmitterSchema: GenMessage<Transmitter, {
|
|
77
|
+
jsonType: TransmitterJson;
|
|
78
|
+
}>;
|
|
79
|
+
/**
|
|
80
|
+
* The type of the transmitter.
|
|
81
|
+
*
|
|
82
|
+
* @generated from enum mochabugapis.adapt.graph.Transmitter.Mode
|
|
83
|
+
*/
|
|
84
|
+
export declare enum Transmitter_Mode {
|
|
85
|
+
/**
|
|
86
|
+
* Default value indicating the mode is not explicitly set.
|
|
87
|
+
*
|
|
88
|
+
* @generated from enum value: MODE_UNSPECIFIED = 0;
|
|
89
|
+
*/
|
|
90
|
+
UNSPECIFIED = 0,
|
|
91
|
+
/**
|
|
92
|
+
* Transmitter is transmitting with the standard mode. I.e. a single transmission
|
|
93
|
+
*
|
|
94
|
+
* @generated from enum value: MODE_STANDARD = 1;
|
|
95
|
+
*/
|
|
96
|
+
STANDARD = 1,
|
|
97
|
+
/**
|
|
98
|
+
* Transmitter is transmitter with stream. I.e. multiple transmissions
|
|
99
|
+
*
|
|
100
|
+
* @generated from enum value: MODE_STREAM = 2;
|
|
101
|
+
*/
|
|
102
|
+
STREAM = 2,
|
|
103
|
+
/**
|
|
104
|
+
* Transmitter is transmitting a failure. I.e. a single transmission with a failure flag
|
|
105
|
+
*
|
|
106
|
+
* @generated from enum value: MODE_FAILURE = 3;
|
|
107
|
+
*/
|
|
108
|
+
FAILURE = 3
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* The type of the transmitter.
|
|
112
|
+
*
|
|
113
|
+
* @generated from enum mochabugapis.adapt.graph.Transmitter.Mode
|
|
114
|
+
*/
|
|
115
|
+
export type Transmitter_ModeJson = "MODE_UNSPECIFIED" | "MODE_STANDARD" | "MODE_STREAM" | "MODE_FAILURE";
|
|
116
|
+
/**
|
|
117
|
+
* Describes the enum mochabugapis.adapt.graph.Transmitter.Mode.
|
|
118
|
+
*/
|
|
119
|
+
export declare const Transmitter_ModeSchema: GenEnum<Transmitter_Mode, Transmitter_ModeJson>;
|
|
120
|
+
//# sourceMappingURL=transmitter_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transmitter_pb.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/transmitter_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAErF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,OACyuB,CAAC;AAElyB;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,sCAAsC,CAAC,GAAG;IAC1E;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAE5B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAEjC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,oBAAoB,CAAC;CAC7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,EAAE;IAAC,QAAQ,EAAE,eAAe,CAAA;CAAC,CACxB,CAAC;AAE5D;;;;GAIG;AACH,oBAAY,gBAAgB;IAC1B;;;;OAIG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,QAAQ,IAAI;IAEZ;;;;OAIG;IACH,MAAM,IAAI;IAEV;;;;OAIG;IACH,OAAO,IAAI;CACZ;AAED;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,GAAG,eAAe,GAAG,aAAa,GAAG,cAAc,CAAC;AAEzG;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,OAAO,CAAC,gBAAgB,EAAE,oBAAoB,CACxB,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Exchange, ExchangeJson } from "./exchange_pb";
|
|
3
|
+
import type { Receiver, ReceiverJson } from "./receiver_pb";
|
|
4
|
+
import type { Transmitter, TransmitterJson } from "./transmitter_pb";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file mochabugapis/adapt/graph/vertex_metadata.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_mochabugapis_adapt_graph_vertex_metadata: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* VertexMetadata represents the configuration for a vertex, detailing its inputs,
|
|
12
|
+
* outputs, and processes (such as procedures and streams).
|
|
13
|
+
*
|
|
14
|
+
* @generated from message mochabugapis.adapt.graph.VertexMetadata
|
|
15
|
+
*/
|
|
16
|
+
export type VertexMetadata = Message<"mochabugapis.adapt.graph.VertexMetadata"> & {
|
|
17
|
+
/**
|
|
18
|
+
* Indicates if the vertex configuration is complete. Defaults to 'false'.
|
|
19
|
+
*
|
|
20
|
+
* @generated from field: bool complete = 1;
|
|
21
|
+
*/
|
|
22
|
+
complete: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Input points for the vertex. Must contain between 1 and 50 receivers,
|
|
25
|
+
* each with a unique name.
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Receiver receivers = 2;
|
|
28
|
+
*/
|
|
29
|
+
receivers: Receiver[];
|
|
30
|
+
/**
|
|
31
|
+
* Output points for the vertex. Can contain up to 50 transmitters,
|
|
32
|
+
* each with a unique name.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Transmitter transmitters = 3;
|
|
35
|
+
*/
|
|
36
|
+
transmitters: Transmitter[];
|
|
37
|
+
/**
|
|
38
|
+
* Processes initiated by transmitters and responded to by receivers.
|
|
39
|
+
* Limited to 10 unique procedures.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Exchange exchanges = 4;
|
|
42
|
+
*/
|
|
43
|
+
exchanges: Exchange[];
|
|
44
|
+
/**
|
|
45
|
+
* A unix cron expression to determine when the task should run.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: optional string cron_schedule = 6;
|
|
48
|
+
*/
|
|
49
|
+
cronSchedule?: string;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* VertexMetadata represents the configuration for a vertex, detailing its inputs,
|
|
53
|
+
* outputs, and processes (such as procedures and streams).
|
|
54
|
+
*
|
|
55
|
+
* @generated from message mochabugapis.adapt.graph.VertexMetadata
|
|
56
|
+
*/
|
|
57
|
+
export type VertexMetadataJson = {
|
|
58
|
+
/**
|
|
59
|
+
* Indicates if the vertex configuration is complete. Defaults to 'false'.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: bool complete = 1;
|
|
62
|
+
*/
|
|
63
|
+
complete?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Input points for the vertex. Must contain between 1 and 50 receivers,
|
|
66
|
+
* each with a unique name.
|
|
67
|
+
*
|
|
68
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Receiver receivers = 2;
|
|
69
|
+
*/
|
|
70
|
+
receivers?: ReceiverJson[];
|
|
71
|
+
/**
|
|
72
|
+
* Output points for the vertex. Can contain up to 50 transmitters,
|
|
73
|
+
* each with a unique name.
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Transmitter transmitters = 3;
|
|
76
|
+
*/
|
|
77
|
+
transmitters?: TransmitterJson[];
|
|
78
|
+
/**
|
|
79
|
+
* Processes initiated by transmitters and responded to by receivers.
|
|
80
|
+
* Limited to 10 unique procedures.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: repeated mochabugapis.adapt.graph.Exchange exchanges = 4;
|
|
83
|
+
*/
|
|
84
|
+
exchanges?: ExchangeJson[];
|
|
85
|
+
/**
|
|
86
|
+
* A unix cron expression to determine when the task should run.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: optional string cron_schedule = 6;
|
|
89
|
+
*/
|
|
90
|
+
cronSchedule?: string;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message mochabugapis.adapt.graph.VertexMetadata.
|
|
94
|
+
* Use `create(VertexMetadataSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export declare const VertexMetadataSchema: GenMessage<VertexMetadata, {
|
|
97
|
+
jsonType: VertexMetadataJson;
|
|
98
|
+
}>;
|
|
99
|
+
//# sourceMappingURL=vertex_metadata_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vertex_metadata_pb.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE5D,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE5D,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAErE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,OAC2jC,CAAC;AAExnC;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,yCAAyC,CAAC,GAAG;IAChF;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;;;;OAKG;IACH,SAAS,EAAE,QAAQ,EAAE,CAAC;IAEtB;;;;;OAKG;IACH,YAAY,EAAE,WAAW,EAAE,CAAC;IAE5B;;;;;OAKG;IACH,SAAS,EAAE,QAAQ,EAAE,CAAC;IAEtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,eAAe,EAAE,CAAC;IAEjC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,UAAU,CAAC,cAAc,EAAE;IAAC,QAAQ,EAAE,kBAAkB,CAAA;CAAC,CAC7B,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file mochabugapis/adapt/plugins/v1/file.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_mochabugapis_adapt_plugins_v1_file: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* File represents a file within a plugin package.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message mochabugapis.adapt.plugins.v1.File
|
|
11
|
+
*/
|
|
12
|
+
export type File = Message<"mochabugapis.adapt.plugins.v1.File"> & {
|
|
13
|
+
/**
|
|
14
|
+
* The 'name' or 'path' of the file
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string name = 1;
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
19
|
+
/**
|
|
20
|
+
* 'data' contains the actual binary file data.
|
|
21
|
+
*
|
|
22
|
+
* @generated from field: bytes data = 2;
|
|
23
|
+
*/
|
|
24
|
+
data: Uint8Array;
|
|
25
|
+
/**
|
|
26
|
+
* The mime type of the file
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: optional string mime_type = 3;
|
|
29
|
+
*/
|
|
30
|
+
mimeType?: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* File represents a file within a plugin package.
|
|
34
|
+
*
|
|
35
|
+
* @generated from message mochabugapis.adapt.plugins.v1.File
|
|
36
|
+
*/
|
|
37
|
+
export type FileJson = {
|
|
38
|
+
/**
|
|
39
|
+
* The 'name' or 'path' of the file
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: string name = 1;
|
|
42
|
+
*/
|
|
43
|
+
name?: string;
|
|
44
|
+
/**
|
|
45
|
+
* 'data' contains the actual binary file data.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: bytes data = 2;
|
|
48
|
+
*/
|
|
49
|
+
data?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The mime type of the file
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: optional string mime_type = 3;
|
|
54
|
+
*/
|
|
55
|
+
mimeType?: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message mochabugapis.adapt.plugins.v1.File.
|
|
59
|
+
* Use `create(FileSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export declare const FileSchema: GenMessage<File, {
|
|
62
|
+
jsonType: FileJson;
|
|
63
|
+
}>;
|
|
64
|
+
//# sourceMappingURL=file_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/file_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,uCAAuC,EAAE,OACqR,CAAC;AAE5U;;;;GAIG;AACH,MAAM,MAAM,IAAI,GAAG,OAAO,CAAC,oCAAoC,CAAC,GAAG;IACjE;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,IAAI,EAAE;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAC,CACL,CAAC"}
|