@mochabug/adaptkit 1.0.0-rc.3 → 1.0.0-rc.31

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 (85) hide show
  1. package/README.md +50 -45
  2. package/assets/build.js +2 -57
  3. package/assets/configurator.html +14 -0
  4. package/assets/configurator.ssg.tsx +2 -16
  5. package/assets/configurator_none.ts +6 -6
  6. package/assets/configurator_react.tsx +12 -9
  7. package/assets/executor.html +14 -0
  8. package/assets/executor.ssg.tsx +2 -16
  9. package/assets/executor_action.ts +3 -7
  10. package/assets/{executor_cron_trigger.ts → executor_action_cron.ts} +3 -7
  11. package/assets/executor_browser_none.ts +8 -12
  12. package/assets/executor_browser_none_cron.ts +119 -0
  13. package/assets/executor_browser_react.tsx +14 -15
  14. package/assets/executor_browser_react_cron.tsx +55 -0
  15. package/assets/{executor_external_trigger.ts → executor_external.ts} +7 -11
  16. package/assets/executor_external_cron.ts +45 -0
  17. package/assets/gitignore +3 -1
  18. package/assets/tsconf.json +4 -7
  19. package/bin/add.d.ts +3 -0
  20. package/bin/add.d.ts.map +1 -0
  21. package/bin/genproto/buf/validate/validate_pb.d.ts +8491 -0
  22. package/bin/genproto/buf/validate/validate_pb.d.ts.map +1 -0
  23. package/bin/genproto/google/api/annotations_pb.d.ts +14 -0
  24. package/bin/genproto/google/api/annotations_pb.d.ts.map +1 -0
  25. package/bin/genproto/google/api/client_pb.d.ts +1432 -0
  26. package/bin/genproto/google/api/client_pb.d.ts.map +1 -0
  27. package/bin/genproto/google/api/http_pb.d.ts +843 -0
  28. package/bin/genproto/google/api/http_pb.d.ts.map +1 -0
  29. package/bin/genproto/google/api/launch_stage_pb.d.ts +94 -0
  30. package/bin/genproto/google/api/launch_stage_pb.d.ts.map +1 -0
  31. package/bin/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +77 -0
  32. package/bin/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts.map +1 -0
  33. package/bin/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +227 -0
  34. package/bin/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts.map +1 -0
  35. package/bin/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +69 -0
  36. package/bin/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts.map +1 -0
  37. package/bin/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +134 -0
  38. package/bin/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts.map +1 -0
  39. package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +91 -0
  40. package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts.map +1 -0
  41. package/bin/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +77 -0
  42. package/bin/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts.map +1 -0
  43. package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +120 -0
  44. package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts.map +1 -0
  45. package/bin/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts +99 -0
  46. package/bin/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts.map +1 -0
  47. package/bin/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts +347 -0
  48. package/bin/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts.map +1 -0
  49. package/bin/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts +64 -0
  50. package/bin/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts.map +1 -0
  51. package/bin/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts +1282 -0
  52. package/bin/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts.map +1 -0
  53. package/bin/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts +388 -0
  54. package/bin/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts.map +1 -0
  55. package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts +805 -0
  56. package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts.map +1 -0
  57. package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +238 -0
  58. package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts.map +1 -0
  59. package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +241 -0
  60. package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts.map +1 -0
  61. package/bin/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts +539 -0
  62. package/bin/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts.map +1 -0
  63. package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +190 -0
  64. package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts.map +1 -0
  65. package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +269 -0
  66. package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts.map +1 -0
  67. package/bin/index.d.ts +12 -0
  68. package/bin/index.d.ts.map +1 -0
  69. package/bin/index.js +816 -848
  70. package/bin/index.js.map +4 -4
  71. package/bin/init.d.ts +2 -0
  72. package/bin/init.d.ts.map +1 -0
  73. package/bin/oauth2.d.ts +2 -0
  74. package/bin/oauth2.d.ts.map +1 -0
  75. package/bin/publish.d.ts +27 -0
  76. package/bin/publish.d.ts.map +1 -0
  77. package/bin/utils.d.ts +13 -0
  78. package/bin/utils.d.ts.map +1 -0
  79. package/bin/vertices.d.ts +3 -0
  80. package/bin/vertices.d.ts.map +1 -0
  81. package/package.json +20 -30
  82. package/assets/build-client.js +0 -111
  83. package/assets/global.d.ts +0 -7
  84. package/assets/inject.js +0 -15
  85. 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,OACujC,CAAC;AAEpnC;;;;;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"}