@mochabug/adaptkit 1.0.0-rc.1 → 1.0.0-rc.12
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 +8122 -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 +1402 -0
- package/bin/genproto/google/api/client_pb.d.ts.map +1 -0
- package/bin/genproto/google/api/http_pb.d.ts +837 -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 +75 -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 +225 -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 +67 -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 +133 -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 +87 -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 +75 -0
- package/bin/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +118 -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 +97 -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 +62 -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 +223 -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 +715 -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 +92 -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 +194 -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 +134 -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 +116 -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 +159 -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 +60 -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 +224 -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 +548 -702
- 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 +9 -21
- package/assets/build-client.js +0 -111
- package/assets/global.d.ts +0 -7
- package/assets/inject.js +0 -15
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
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, required and must follow the JTD definition found here: https://www.rfc-editor.org/rfc/rfc8927.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: mochabugapis.adapt.graph.JTDSchema schema = 3;
|
|
36
|
+
*/
|
|
37
|
+
schema?: JTDSchema;
|
|
38
|
+
/**
|
|
39
|
+
* Flag indicating if the signal is optional.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: optional bool optional = 4;
|
|
42
|
+
*/
|
|
43
|
+
optional?: boolean;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* SignalDescriptor defines the properties of a signal without containing the actual signal data.
|
|
47
|
+
*
|
|
48
|
+
* @generated from message mochabugapis.adapt.graph.SignalDescriptor
|
|
49
|
+
*/
|
|
50
|
+
export type SignalDescriptorJson = {
|
|
51
|
+
/**
|
|
52
|
+
* Identifier for the signal, following the ECMA naming pattern, limited to 50 characters.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: string name = 1;
|
|
55
|
+
*/
|
|
56
|
+
name?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Optional label for the signal, up to 50 characters.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: optional string label = 5;
|
|
61
|
+
*/
|
|
62
|
+
label?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Optional descriptive text for the signal, up to 250 characters.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: optional string description = 2;
|
|
67
|
+
*/
|
|
68
|
+
description?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Schema definition for the signal, required and must follow the JTD definition found here: https://www.rfc-editor.org/rfc/rfc8927.
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: mochabugapis.adapt.graph.JTDSchema schema = 3;
|
|
73
|
+
*/
|
|
74
|
+
schema?: JTDSchemaJson;
|
|
75
|
+
/**
|
|
76
|
+
* Flag indicating if the signal is optional.
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: optional bool optional = 4;
|
|
79
|
+
*/
|
|
80
|
+
optional?: boolean;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message mochabugapis.adapt.graph.SignalDescriptor.
|
|
84
|
+
* Use `create(SignalDescriptorSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export declare const SignalDescriptorSchema: GenMessage<SignalDescriptor, SignalDescriptorJson>;
|
|
87
|
+
//# 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,OAC8d,CAAC;AAE7hB;;;;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;;;;OAIG;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;;;;OAIG;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,oBAAoB,CACrB,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
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, TransceiverJson>;
|
|
75
|
+
//# 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,OACokB,CAAC;AAE7nB;;;;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,eAAe,CACZ,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
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, TransmitterJson>;
|
|
77
|
+
/**
|
|
78
|
+
* The type of the transmitter.
|
|
79
|
+
*
|
|
80
|
+
* @generated from enum mochabugapis.adapt.graph.Transmitter.Mode
|
|
81
|
+
*/
|
|
82
|
+
export declare enum Transmitter_Mode {
|
|
83
|
+
/**
|
|
84
|
+
* Default value indicating the mode is not explicitly set.
|
|
85
|
+
*
|
|
86
|
+
* @generated from enum value: MODE_UNSPECIFIED = 0;
|
|
87
|
+
*/
|
|
88
|
+
UNSPECIFIED = 0,
|
|
89
|
+
/**
|
|
90
|
+
* Transmitter is transmitting with the standard mode. I.e. a single transmission
|
|
91
|
+
*
|
|
92
|
+
* @generated from enum value: MODE_STANDARD = 1;
|
|
93
|
+
*/
|
|
94
|
+
STANDARD = 1,
|
|
95
|
+
/**
|
|
96
|
+
* Transmitter is transmitter with stream. I.e. multiple transmissions
|
|
97
|
+
*
|
|
98
|
+
* @generated from enum value: MODE_STREAM = 2;
|
|
99
|
+
*/
|
|
100
|
+
STREAM = 2,
|
|
101
|
+
/**
|
|
102
|
+
* Transmitter is transmitting a failure. I.e. a single transmission with a failure flag
|
|
103
|
+
*
|
|
104
|
+
* @generated from enum value: MODE_FAILURE = 3;
|
|
105
|
+
*/
|
|
106
|
+
FAILURE = 3
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* The type of the transmitter.
|
|
110
|
+
*
|
|
111
|
+
* @generated from enum mochabugapis.adapt.graph.Transmitter.Mode
|
|
112
|
+
*/
|
|
113
|
+
export type Transmitter_ModeJson = "MODE_UNSPECIFIED" | "MODE_STANDARD" | "MODE_STREAM" | "MODE_FAILURE";
|
|
114
|
+
/**
|
|
115
|
+
* Describes the enum mochabugapis.adapt.graph.Transmitter.Mode.
|
|
116
|
+
*/
|
|
117
|
+
export declare const Transmitter_ModeSchema: GenEnum<Transmitter_Mode, Transmitter_ModeJson>;
|
|
118
|
+
//# 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,OACiuB,CAAC;AAE1xB;;;;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,eAAe,CACZ,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,97 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
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, VertexMetadataJson>;
|
|
97
|
+
//# 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,kBAAkB,CACjB,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
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, FileJson>;
|
|
62
|
+
//# 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,QAAQ,CACO,CAAC"}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ServiceBinding, ServiceBindingJson } from "./service_binding_pb";
|
|
3
|
+
import type { ServiceDefinition, ServiceDefinitionJson } from "./service_definition_pb";
|
|
4
|
+
import type { Vertex, VertexJson } from "./vertex_pb";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file mochabugapis/adapt/plugins/v1/manifest.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_mochabugapis_adapt_plugins_v1_manifest: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* Manifest describes a plugin and its properties.
|
|
12
|
+
*
|
|
13
|
+
* Security considerations: The platform ensures that secrets and certificates
|
|
14
|
+
* are stored and transmitted securely.
|
|
15
|
+
*
|
|
16
|
+
* *** Plugin authors must also ensure that their implementations
|
|
17
|
+
* handle sensitive data appropriately! ***
|
|
18
|
+
*
|
|
19
|
+
* @generated from message mochabugapis.adapt.plugins.v1.Manifest
|
|
20
|
+
*/
|
|
21
|
+
export type Manifest = Message<"mochabugapis.adapt.plugins.v1.Manifest"> & {
|
|
22
|
+
/**
|
|
23
|
+
* 'name' is the alpha-numeric identifier of the plugin. Must be conform to a ES variable name
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: string name = 1;
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* 'version' is the plugin's version, following SemVer 2.0: https://semver.org/
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: string version = 2;
|
|
32
|
+
*/
|
|
33
|
+
version: string;
|
|
34
|
+
/**
|
|
35
|
+
* 'label' is a human-friendly label displayed in the UI.
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: string label = 3;
|
|
38
|
+
*/
|
|
39
|
+
label: string;
|
|
40
|
+
/**
|
|
41
|
+
* 'description' is a short, human-friendly description displayed in the UI.
|
|
42
|
+
*
|
|
43
|
+
* @generated from field: string description = 4;
|
|
44
|
+
*/
|
|
45
|
+
description: string;
|
|
46
|
+
/**
|
|
47
|
+
* 'organization' is the id of the organization the user belongs to.
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: string organization = 5;
|
|
50
|
+
*/
|
|
51
|
+
organization: string;
|
|
52
|
+
/**
|
|
53
|
+
* 'homepage' is the plugin's homepage URL.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: optional string homepage = 6;
|
|
56
|
+
*/
|
|
57
|
+
homepage?: string;
|
|
58
|
+
/**
|
|
59
|
+
* 'repository' is the plugin's repository URL.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: optional string repository = 7;
|
|
62
|
+
*/
|
|
63
|
+
repository?: string;
|
|
64
|
+
/**
|
|
65
|
+
* 'bugs' is the URL or email for reporting bugs.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: optional string bugs = 8;
|
|
68
|
+
*/
|
|
69
|
+
bugs?: string;
|
|
70
|
+
/**
|
|
71
|
+
* 'author' is the name of the plugin's author.
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: optional string author = 9;
|
|
74
|
+
*/
|
|
75
|
+
author?: string;
|
|
76
|
+
/**
|
|
77
|
+
* 'logo' is an optional path to the plugin logo.
|
|
78
|
+
* The logo will be resized to a maximum of 80x80 pixels.
|
|
79
|
+
* - Supported file formats:
|
|
80
|
+
* - GIF: .gif
|
|
81
|
+
* - JPEG: .jpg, .jpeg, .jfif, .pjpeg, .pjp
|
|
82
|
+
* - PNG: .png
|
|
83
|
+
* - SVG: .svg
|
|
84
|
+
* - WEBP: .webp
|
|
85
|
+
* - AVIF: .avif
|
|
86
|
+
*
|
|
87
|
+
* @generated from field: optional string logo = 10;
|
|
88
|
+
*/
|
|
89
|
+
logo?: string;
|
|
90
|
+
/**
|
|
91
|
+
* 'vertices' is a list of vertices that constitute the plugin.
|
|
92
|
+
* this is filled in automatically when configurating a project on the filesystem
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: repeated mochabugapis.adapt.plugins.v1.Vertex vertices = 11;
|
|
95
|
+
*/
|
|
96
|
+
vertices: Vertex[];
|
|
97
|
+
/**
|
|
98
|
+
* 'service_definitions' are the actual definition of services that may be referenced
|
|
99
|
+
* on either a system level, or user level at the vertices
|
|
100
|
+
*
|
|
101
|
+
* @generated from field: repeated mochabugapis.adapt.plugins.v1.ServiceDefinition service_definitions = 12;
|
|
102
|
+
*/
|
|
103
|
+
serviceDefinitions: ServiceDefinition[];
|
|
104
|
+
/**
|
|
105
|
+
* 'system_services' are the services that are available on a system level
|
|
106
|
+
* that is, configured and used by the plugin for exclusive purposes
|
|
107
|
+
* IMPORTANT: any binding referring to a grant-type CODE will be required
|
|
108
|
+
* to have the same name as the system_definition and be required to be of service type
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: repeated mochabugapis.adapt.plugins.v1.ServiceBinding system_services = 13;
|
|
111
|
+
*/
|
|
112
|
+
systemServices: ServiceBinding[];
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Manifest describes a plugin and its properties.
|
|
116
|
+
*
|
|
117
|
+
* Security considerations: The platform ensures that secrets and certificates
|
|
118
|
+
* are stored and transmitted securely.
|
|
119
|
+
*
|
|
120
|
+
* *** Plugin authors must also ensure that their implementations
|
|
121
|
+
* handle sensitive data appropriately! ***
|
|
122
|
+
*
|
|
123
|
+
* @generated from message mochabugapis.adapt.plugins.v1.Manifest
|
|
124
|
+
*/
|
|
125
|
+
export type ManifestJson = {
|
|
126
|
+
/**
|
|
127
|
+
* 'name' is the alpha-numeric identifier of the plugin. Must be conform to a ES variable name
|
|
128
|
+
*
|
|
129
|
+
* @generated from field: string name = 1;
|
|
130
|
+
*/
|
|
131
|
+
name?: string;
|
|
132
|
+
/**
|
|
133
|
+
* 'version' is the plugin's version, following SemVer 2.0: https://semver.org/
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: string version = 2;
|
|
136
|
+
*/
|
|
137
|
+
version?: string;
|
|
138
|
+
/**
|
|
139
|
+
* 'label' is a human-friendly label displayed in the UI.
|
|
140
|
+
*
|
|
141
|
+
* @generated from field: string label = 3;
|
|
142
|
+
*/
|
|
143
|
+
label?: string;
|
|
144
|
+
/**
|
|
145
|
+
* 'description' is a short, human-friendly description displayed in the UI.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: string description = 4;
|
|
148
|
+
*/
|
|
149
|
+
description?: string;
|
|
150
|
+
/**
|
|
151
|
+
* 'organization' is the id of the organization the user belongs to.
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: string organization = 5;
|
|
154
|
+
*/
|
|
155
|
+
organization?: string;
|
|
156
|
+
/**
|
|
157
|
+
* 'homepage' is the plugin's homepage URL.
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: optional string homepage = 6;
|
|
160
|
+
*/
|
|
161
|
+
homepage?: string;
|
|
162
|
+
/**
|
|
163
|
+
* 'repository' is the plugin's repository URL.
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: optional string repository = 7;
|
|
166
|
+
*/
|
|
167
|
+
repository?: string;
|
|
168
|
+
/**
|
|
169
|
+
* 'bugs' is the URL or email for reporting bugs.
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: optional string bugs = 8;
|
|
172
|
+
*/
|
|
173
|
+
bugs?: string;
|
|
174
|
+
/**
|
|
175
|
+
* 'author' is the name of the plugin's author.
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: optional string author = 9;
|
|
178
|
+
*/
|
|
179
|
+
author?: string;
|
|
180
|
+
/**
|
|
181
|
+
* 'logo' is an optional path to the plugin logo.
|
|
182
|
+
* The logo will be resized to a maximum of 80x80 pixels.
|
|
183
|
+
* - Supported file formats:
|
|
184
|
+
* - GIF: .gif
|
|
185
|
+
* - JPEG: .jpg, .jpeg, .jfif, .pjpeg, .pjp
|
|
186
|
+
* - PNG: .png
|
|
187
|
+
* - SVG: .svg
|
|
188
|
+
* - WEBP: .webp
|
|
189
|
+
* - AVIF: .avif
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: optional string logo = 10;
|
|
192
|
+
*/
|
|
193
|
+
logo?: string;
|
|
194
|
+
/**
|
|
195
|
+
* 'vertices' is a list of vertices that constitute the plugin.
|
|
196
|
+
* this is filled in automatically when configurating a project on the filesystem
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: repeated mochabugapis.adapt.plugins.v1.Vertex vertices = 11;
|
|
199
|
+
*/
|
|
200
|
+
vertices?: VertexJson[];
|
|
201
|
+
/**
|
|
202
|
+
* 'service_definitions' are the actual definition of services that may be referenced
|
|
203
|
+
* on either a system level, or user level at the vertices
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: repeated mochabugapis.adapt.plugins.v1.ServiceDefinition service_definitions = 12;
|
|
206
|
+
*/
|
|
207
|
+
serviceDefinitions?: ServiceDefinitionJson[];
|
|
208
|
+
/**
|
|
209
|
+
* 'system_services' are the services that are available on a system level
|
|
210
|
+
* that is, configured and used by the plugin for exclusive purposes
|
|
211
|
+
* IMPORTANT: any binding referring to a grant-type CODE will be required
|
|
212
|
+
* to have the same name as the system_definition and be required to be of service type
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: repeated mochabugapis.adapt.plugins.v1.ServiceBinding system_services = 13;
|
|
215
|
+
*/
|
|
216
|
+
systemServices?: ServiceBindingJson[];
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* Describes the message mochabugapis.adapt.plugins.v1.Manifest.
|
|
220
|
+
* Use `create(ManifestSchema)` to create a new message.
|
|
221
|
+
*/
|
|
222
|
+
export declare const ManifestSchema: GenMessage<Manifest, ManifestJson>;
|
|
223
|
+
//# sourceMappingURL=manifest_pb.d.ts.map
|