@mochabug/adaptkit 1.0.0-rc.4 → 1.0.0-rc.5

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.
Files changed (75) hide show
  1. package/assets/build.js +2 -57
  2. package/assets/configurator.html +14 -0
  3. package/assets/configurator.ssg.tsx +2 -16
  4. package/assets/configurator_react.tsx +6 -3
  5. package/assets/executor.html +14 -0
  6. package/assets/executor.ssg.tsx +2 -16
  7. package/assets/executor_browser_react.tsx +6 -3
  8. package/assets/gitignore +3 -1
  9. package/assets/tsconf.json +3 -5
  10. package/bin/add.d.ts +3 -0
  11. package/bin/add.d.ts.map +1 -0
  12. package/bin/genproto/buf/validate/validate_pb.d.ts +8122 -0
  13. package/bin/genproto/buf/validate/validate_pb.d.ts.map +1 -0
  14. package/bin/genproto/google/api/annotations_pb.d.ts +14 -0
  15. package/bin/genproto/google/api/annotations_pb.d.ts.map +1 -0
  16. package/bin/genproto/google/api/client_pb.d.ts +1402 -0
  17. package/bin/genproto/google/api/client_pb.d.ts.map +1 -0
  18. package/bin/genproto/google/api/http_pb.d.ts +837 -0
  19. package/bin/genproto/google/api/http_pb.d.ts.map +1 -0
  20. package/bin/genproto/google/api/launch_stage_pb.d.ts +94 -0
  21. package/bin/genproto/google/api/launch_stage_pb.d.ts.map +1 -0
  22. package/bin/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +75 -0
  23. package/bin/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts.map +1 -0
  24. package/bin/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +225 -0
  25. package/bin/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts.map +1 -0
  26. package/bin/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +67 -0
  27. package/bin/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts.map +1 -0
  28. package/bin/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +133 -0
  29. package/bin/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts.map +1 -0
  30. package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +87 -0
  31. package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts.map +1 -0
  32. package/bin/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +63 -0
  33. package/bin/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts.map +1 -0
  34. package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +75 -0
  35. package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts.map +1 -0
  36. package/bin/genproto/mochabugapis/adapt/graph/vertex_config_pb.d.ts +109 -0
  37. package/bin/genproto/mochabugapis/adapt/graph/vertex_config_pb.d.ts.map +1 -0
  38. package/bin/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts +62 -0
  39. package/bin/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts.map +1 -0
  40. package/bin/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts +223 -0
  41. package/bin/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts.map +1 -0
  42. package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts +715 -0
  43. package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts.map +1 -0
  44. package/bin/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.d.ts +92 -0
  45. package/bin/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.d.ts.map +1 -0
  46. package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +194 -0
  47. package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts.map +1 -0
  48. package/bin/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.d.ts +134 -0
  49. package/bin/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.d.ts.map +1 -0
  50. package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +116 -0
  51. package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts.map +1 -0
  52. package/bin/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.d.ts +159 -0
  53. package/bin/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.d.ts.map +1 -0
  54. package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +60 -0
  55. package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts.map +1 -0
  56. package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +232 -0
  57. package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts.map +1 -0
  58. package/bin/index.d.ts +7 -0
  59. package/bin/index.d.ts.map +1 -0
  60. package/bin/index.js +335 -258
  61. package/bin/index.js.map +4 -4
  62. package/bin/init.d.ts +2 -0
  63. package/bin/init.d.ts.map +1 -0
  64. package/bin/oauth2.d.ts +2 -0
  65. package/bin/oauth2.d.ts.map +1 -0
  66. package/bin/publish.d.ts +23 -0
  67. package/bin/publish.d.ts.map +1 -0
  68. package/bin/utils.d.ts +13 -0
  69. package/bin/utils.d.ts.map +1 -0
  70. package/bin/vertices.d.ts +3 -0
  71. package/bin/vertices.d.ts.map +1 -0
  72. package/package.json +3 -10
  73. package/assets/build-client.js +0 -111
  74. package/assets/global.d.ts +0 -7
  75. 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,63 @@
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
+ /**
34
+ * Transceiver is a dual-purpose entity capable of both emitting and receiving signals.
35
+ *
36
+ * @generated from message mochabugapis.adapt.graph.Transceiver
37
+ */
38
+ export type TransceiverJson = {
39
+ /**
40
+ * Identifier for the transceiver, following the ECMA naming pattern, limited to 50 characters.
41
+ *
42
+ * @generated from field: string name = 1;
43
+ */
44
+ name?: string;
45
+ /**
46
+ * Optional descriptive text for the transceiver's purpose, up to 250 characters.
47
+ *
48
+ * @generated from field: optional string description = 2;
49
+ */
50
+ description?: string;
51
+ /**
52
+ * List of signals the transceiver handles. Can contain up to 512 unique signals.
53
+ *
54
+ * @generated from field: repeated mochabugapis.adapt.graph.SignalDescriptor signals = 3;
55
+ */
56
+ signals?: SignalDescriptorJson[];
57
+ };
58
+ /**
59
+ * Describes the message mochabugapis.adapt.graph.Transceiver.
60
+ * Use `create(TransceiverSchema)` to create a new message.
61
+ */
62
+ export declare const TransceiverSchema: GenMessage<Transceiver, TransceiverJson>;
63
+ //# 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,OACihB,CAAC;AAE1kB;;;;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;CAC7B,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;CAClC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,EAAE,eAAe,CACZ,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/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
+ * Flag indicating whether the transmitter is signaling a failure state.
34
+ *
35
+ * @generated from field: bool failure = 4;
36
+ */
37
+ failure: boolean;
38
+ };
39
+ /**
40
+ * Transmitter represents an output point for a vertex, emitting multiple signals.
41
+ *
42
+ * @generated from message mochabugapis.adapt.graph.Transmitter
43
+ */
44
+ export type TransmitterJson = {
45
+ /**
46
+ * Identifier for the transmitter, 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 transmitter'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 transmitter can emit. 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
+ * Flag indicating whether the transmitter is signaling a failure state.
65
+ *
66
+ * @generated from field: bool failure = 4;
67
+ */
68
+ failure?: boolean;
69
+ };
70
+ /**
71
+ * Describes the message mochabugapis.adapt.graph.Transmitter.
72
+ * Use `create(TransmitterSchema)` to create a new message.
73
+ */
74
+ export declare const TransmitterSchema: GenMessage<Transmitter, TransmitterJson>;
75
+ //# 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,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,OACwiB,CAAC;AAEjmB;;;;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,OAAO,EAAE,OAAO,CAAC;CAClB,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,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,EAAE,eAAe,CACZ,CAAC"}
@@ -0,0 +1,109 @@
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_config.proto.
8
+ */
9
+ export declare const file_mochabugapis_adapt_graph_vertex_config: GenFile;
10
+ /**
11
+ * VertexConfigMetadata 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.VertexConfigMetadata
15
+ */
16
+ export type VertexConfigMetadata = Message<"mochabugapis.adapt.graph.VertexConfigMetadata"> & {
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 procedures = 4;
42
+ */
43
+ procedures: Exchange[];
44
+ /**
45
+ * Processes initiated by receivers, limited to 10 unique streams.
46
+ *
47
+ * @generated from field: repeated mochabugapis.adapt.graph.Exchange streams = 5;
48
+ */
49
+ streams: Exchange[];
50
+ /**
51
+ * A unix cron expression to determine when the task should run.
52
+ *
53
+ * @generated from field: optional string cron_schedule = 6;
54
+ */
55
+ cronSchedule?: string;
56
+ };
57
+ /**
58
+ * VertexConfigMetadata represents the configuration for a vertex, detailing its inputs,
59
+ * outputs, and processes (such as procedures and streams).
60
+ *
61
+ * @generated from message mochabugapis.adapt.graph.VertexConfigMetadata
62
+ */
63
+ export type VertexConfigMetadataJson = {
64
+ /**
65
+ * Indicates if the vertex configuration is complete. Defaults to 'false'.
66
+ *
67
+ * @generated from field: bool complete = 1;
68
+ */
69
+ complete?: boolean;
70
+ /**
71
+ * Input points for the vertex. Must contain between 1 and 50 receivers,
72
+ * each with a unique name.
73
+ *
74
+ * @generated from field: repeated mochabugapis.adapt.graph.Receiver receivers = 2;
75
+ */
76
+ receivers?: ReceiverJson[];
77
+ /**
78
+ * Output points for the vertex. Can contain up to 50 transmitters,
79
+ * each with a unique name.
80
+ *
81
+ * @generated from field: repeated mochabugapis.adapt.graph.Transmitter transmitters = 3;
82
+ */
83
+ transmitters?: TransmitterJson[];
84
+ /**
85
+ * Processes initiated by transmitters and responded to by receivers.
86
+ * Limited to 10 unique procedures.
87
+ *
88
+ * @generated from field: repeated mochabugapis.adapt.graph.Exchange procedures = 4;
89
+ */
90
+ procedures?: ExchangeJson[];
91
+ /**
92
+ * Processes initiated by receivers, limited to 10 unique streams.
93
+ *
94
+ * @generated from field: repeated mochabugapis.adapt.graph.Exchange streams = 5;
95
+ */
96
+ streams?: ExchangeJson[];
97
+ /**
98
+ * A unix cron expression to determine when the task should run.
99
+ *
100
+ * @generated from field: optional string cron_schedule = 6;
101
+ */
102
+ cronSchedule?: string;
103
+ };
104
+ /**
105
+ * Describes the message mochabugapis.adapt.graph.VertexConfigMetadata.
106
+ * Use `create(VertexConfigMetadataSchema)` to create a new message.
107
+ */
108
+ export declare const VertexConfigMetadataSchema: GenMessage<VertexConfigMetadata, VertexConfigMetadataJson>;
109
+ //# sourceMappingURL=vertex_config_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vertex_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IG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,UAAU,CAAC,oBAAoB,EAAE,wBAAwB,CACrC,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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,OAC+uE,CAAC;AAE1yE;;;;;;;;;;GAUG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,wCAAwC,CAAC,GAAG;IACzE;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,MAAM,CAAC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