@code0-tech/tucana 0.0.37 → 0.0.39

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 (65) hide show
  1. package/package.json +5 -4
  2. package/pb/{aquila.action_pb.client.ts → aquila.action_pb.client.d.ts} +8 -13
  3. package/pb/aquila.action_pb.client.js +25 -0
  4. package/pb/aquila.action_pb.d.ts +254 -0
  5. package/pb/{aquila.action_pb.ts → aquila.action_pb.js} +49 -215
  6. package/pb/{aquila.data_type_pb.client.ts → aquila.data_type_pb.client.d.ts} +8 -13
  7. package/pb/aquila.data_type_pb.client.js +23 -0
  8. package/pb/aquila.data_type_pb.d.ts +61 -0
  9. package/pb/{aquila.data_type_pb.ts → aquila.data_type_pb.js} +16 -44
  10. package/pb/{aquila.execution_pb.client.ts → aquila.execution_pb.client.d.ts} +15 -24
  11. package/pb/aquila.execution_pb.client.js +49 -0
  12. package/pb/aquila.execution_pb.d.ts +135 -0
  13. package/pb/{aquila.execution_pb.ts → aquila.execution_pb.js} +34 -103
  14. package/pb/{aquila.flow_type_pb.client.ts → aquila.flow_type_pb.client.d.ts} +8 -13
  15. package/pb/aquila.flow_type_pb.client.js +25 -0
  16. package/pb/aquila.flow_type_pb.d.ts +61 -0
  17. package/pb/{aquila.flow_type_pb.ts → aquila.flow_type_pb.js} +16 -44
  18. package/pb/{aquila.runtime_function_pb.client.ts → aquila.runtime_function_pb.client.d.ts} +8 -13
  19. package/pb/aquila.runtime_function_pb.client.js +25 -0
  20. package/pb/aquila.runtime_function_pb.d.ts +61 -0
  21. package/pb/{aquila.runtime_function_pb.ts → aquila.runtime_function_pb.js} +16 -44
  22. package/pb/{sagittarius.action_pb.client.ts → sagittarius.action_pb.client.d.ts} +9 -17
  23. package/pb/sagittarius.action_pb.client.js +32 -0
  24. package/pb/sagittarius.action_pb.d.ts +95 -0
  25. package/pb/{sagittarius.action_pb.ts → sagittarius.action_pb.js} +28 -70
  26. package/pb/{sagittarius.data_type_pb.client.ts → sagittarius.data_type_pb.client.d.ts} +8 -13
  27. package/pb/sagittarius.data_type_pb.client.js +23 -0
  28. package/pb/sagittarius.data_type_pb.d.ts +61 -0
  29. package/pb/{sagittarius.data_type_pb.ts → sagittarius.data_type_pb.js} +16 -44
  30. package/pb/{sagittarius.flow_pb.client.ts → sagittarius.flow_pb.client.d.ts} +8 -13
  31. package/pb/sagittarius.flow_pb.client.js +23 -0
  32. package/pb/sagittarius.flow_pb.d.ts +80 -0
  33. package/pb/{sagittarius.flow_pb.ts → sagittarius.flow_pb.js} +18 -64
  34. package/pb/{sagittarius.flow_type_pb.client.ts → sagittarius.flow_type_pb.client.d.ts} +8 -13
  35. package/pb/sagittarius.flow_type_pb.client.js +25 -0
  36. package/pb/sagittarius.flow_type_pb.d.ts +61 -0
  37. package/pb/{sagittarius.flow_type_pb.ts → sagittarius.flow_type_pb.js} +16 -44
  38. package/pb/{sagittarius.ping_pb.client.ts → sagittarius.ping_pb.client.d.ts} +8 -13
  39. package/pb/sagittarius.ping_pb.client.js +23 -0
  40. package/pb/sagittarius.ping_pb.d.ts +33 -0
  41. package/pb/{sagittarius.ping_pb.ts → sagittarius.ping_pb.js} +10 -21
  42. package/pb/{sagittarius.runtime_function_pb.client.ts → sagittarius.runtime_function_pb.client.d.ts} +8 -13
  43. package/pb/sagittarius.runtime_function_pb.client.js +25 -0
  44. package/pb/sagittarius.runtime_function_pb.d.ts +61 -0
  45. package/pb/{sagittarius.runtime_function_pb.ts → sagittarius.runtime_function_pb.js} +16 -44
  46. package/pb/{sagittarius.text_execution_pb.client.ts → sagittarius.text_execution_pb.client.d.ts} +8 -13
  47. package/pb/sagittarius.text_execution_pb.client.js +23 -0
  48. package/pb/sagittarius.text_execution_pb.d.ts +172 -0
  49. package/pb/{sagittarius.text_execution_pb.ts → sagittarius.text_execution_pb.js} +42 -141
  50. package/pb/shared.data_type_pb.d.ts +614 -0
  51. package/pb/{shared.data_type_pb.ts → shared.data_type_pb.js} +140 -508
  52. package/pb/shared.event_pb.d.ts +120 -0
  53. package/pb/{shared.event_pb.ts → shared.event_pb.js} +19 -101
  54. package/pb/shared.flow_definition_pb.d.ts +105 -0
  55. package/pb/{shared.flow_definition_pb.ts → shared.flow_definition_pb.js} +13 -90
  56. package/pb/shared.flow_pb.d.ts +311 -0
  57. package/pb/{shared.flow_pb.ts → shared.flow_pb.js} +57 -270
  58. package/pb/shared.runtime_function_pb.d.ts +114 -0
  59. package/pb/{shared.runtime_function_pb.ts → shared.runtime_function_pb.js} +13 -98
  60. package/pb/shared.struct_pb.d.ts +198 -0
  61. package/pb/{shared.struct_pb.ts → shared.struct_pb.js} +27 -136
  62. package/pb/shared.translation_pb.d.ts +39 -0
  63. package/pb/{shared.translation_pb.ts → shared.translation_pb.js} +7 -31
  64. package/pb/shared.version_pb.d.ts +37 -0
  65. package/pb/{shared.version_pb.ts → shared.version_pb.js} +7 -29
@@ -0,0 +1,120 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
+ // @generated from protobuf file "shared.event.proto" (package "shared", syntax proto3)
3
+ // tslint:disable
4
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
7
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
8
+ import type { PartialMessage } from "@protobuf-ts/runtime";
9
+ import { MessageType } from "@protobuf-ts/runtime";
10
+ import { Value } from "./shared.struct_pb";
11
+ import { DefinitionDataType } from "./shared.data_type_pb";
12
+ import { Translation } from "./shared.translation_pb";
13
+ /**
14
+ * Event configuration
15
+ *
16
+ * @generated from protobuf message shared.EventDefinitionSettings
17
+ */
18
+ export interface EventDefinitionSettings {
19
+ /**
20
+ * Name of current configuration
21
+ *
22
+ * @generated from protobuf field: repeated shared.Translation name = 1
23
+ */
24
+ name: Translation[];
25
+ /**
26
+ * True if this is a unique setting
27
+ *
28
+ * @generated from protobuf field: bool unique = 2
29
+ */
30
+ unique: boolean;
31
+ /**
32
+ * Description of current configuration
33
+ *
34
+ * @generated from protobuf field: repeated shared.Translation description = 3
35
+ */
36
+ description: Translation[];
37
+ /**
38
+ * Type of setting
39
+ *
40
+ * @generated from protobuf field: shared.DefinitionDataType type = 4
41
+ */
42
+ type?: DefinitionDataType;
43
+ /**
44
+ * Optional default value (primitive, string, list or json)
45
+ *
46
+ * @generated from protobuf field: optional shared.Value default_value = 5
47
+ */
48
+ defaultValue?: Value;
49
+ }
50
+ /**
51
+ * @generated from protobuf message shared.EventDefinition
52
+ */
53
+ export interface EventDefinition {
54
+ /**
55
+ * List of settings that configures the type
56
+ *
57
+ * @generated from protobuf field: repeated shared.EventDefinitionSettings settings = 1
58
+ */
59
+ settings: EventDefinitionSettings[];
60
+ /**
61
+ * @generated from protobuf field: shared.DefinitionDataType input_type = 2
62
+ */
63
+ inputType?: DefinitionDataType;
64
+ /**
65
+ * True if the definition can be edited live
66
+ *
67
+ * @generated from protobuf field: bool editable = 3
68
+ */
69
+ editable: boolean;
70
+ }
71
+ /**
72
+ * Event type that can be hold by an action & be emitted by an action
73
+ *
74
+ * @generated from protobuf message shared.EventType
75
+ */
76
+ export interface EventType {
77
+ /**
78
+ * Name of the event
79
+ *
80
+ * @generated from protobuf field: repeated shared.Translation name = 1
81
+ */
82
+ name: Translation[];
83
+ /**
84
+ * Definition that holds all settings of a event
85
+ *
86
+ * @generated from protobuf field: shared.EventDefinition definition = 2
87
+ */
88
+ definition?: EventDefinition;
89
+ }
90
+ declare class EventDefinitionSettings$Type extends MessageType<EventDefinitionSettings> {
91
+ constructor();
92
+ create(value?: PartialMessage<EventDefinitionSettings>): EventDefinitionSettings;
93
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EventDefinitionSettings): EventDefinitionSettings;
94
+ internalBinaryWrite(message: EventDefinitionSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
95
+ }
96
+ /**
97
+ * @generated MessageType for protobuf message shared.EventDefinitionSettings
98
+ */
99
+ export declare const EventDefinitionSettings: EventDefinitionSettings$Type;
100
+ declare class EventDefinition$Type extends MessageType<EventDefinition> {
101
+ constructor();
102
+ create(value?: PartialMessage<EventDefinition>): EventDefinition;
103
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EventDefinition): EventDefinition;
104
+ internalBinaryWrite(message: EventDefinition, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
105
+ }
106
+ /**
107
+ * @generated MessageType for protobuf message shared.EventDefinition
108
+ */
109
+ export declare const EventDefinition: EventDefinition$Type;
110
+ declare class EventType$Type extends MessageType<EventType> {
111
+ constructor();
112
+ create(value?: PartialMessage<EventType>): EventType;
113
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EventType): EventType;
114
+ internalBinaryWrite(message: EventType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
115
+ }
116
+ /**
117
+ * @generated MessageType for protobuf message shared.EventType
118
+ */
119
+ export declare const EventType: EventType$Type;
120
+ export {};
@@ -1,97 +1,15 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
2
  // @generated from protobuf file "shared.event.proto" (package "shared", syntax proto3)
3
3
  // tslint:disable
4
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
4
  import { WireType } from "@protobuf-ts/runtime";
7
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
- import type { IBinaryReader } from "@protobuf-ts/runtime";
9
5
  import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
- import type { PartialMessage } from "@protobuf-ts/runtime";
11
6
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
7
  import { MessageType } from "@protobuf-ts/runtime";
13
8
  import { Value } from "./shared.struct_pb";
14
9
  import { DefinitionDataType } from "./shared.data_type_pb";
15
10
  import { Translation } from "./shared.translation_pb";
16
- /**
17
- * Event configuration
18
- *
19
- * @generated from protobuf message shared.EventDefinitionSettings
20
- */
21
- export interface EventDefinitionSettings {
22
- /**
23
- * Name of current configuration
24
- *
25
- * @generated from protobuf field: repeated shared.Translation name = 1
26
- */
27
- name: Translation[];
28
- /**
29
- * True if this is a unique setting
30
- *
31
- * @generated from protobuf field: bool unique = 2
32
- */
33
- unique: boolean;
34
- /**
35
- * Description of current configuration
36
- *
37
- * @generated from protobuf field: repeated shared.Translation description = 3
38
- */
39
- description: Translation[];
40
- /**
41
- * Type of setting
42
- *
43
- * @generated from protobuf field: shared.DefinitionDataType type = 4
44
- */
45
- type?: DefinitionDataType;
46
- /**
47
- * Optional default value (primitive, string, list or json)
48
- *
49
- * @generated from protobuf field: optional shared.Value default_value = 5
50
- */
51
- defaultValue?: Value;
52
- }
53
- /**
54
- * @generated from protobuf message shared.EventDefinition
55
- */
56
- export interface EventDefinition {
57
- /**
58
- * List of settings that configures the type
59
- *
60
- * @generated from protobuf field: repeated shared.EventDefinitionSettings settings = 1
61
- */
62
- settings: EventDefinitionSettings[];
63
- /**
64
- * @generated from protobuf field: shared.DefinitionDataType input_type = 2
65
- */
66
- inputType?: DefinitionDataType;
67
- /**
68
- * True if the definition can be edited live
69
- *
70
- * @generated from protobuf field: bool editable = 3
71
- */
72
- editable: boolean;
73
- }
74
- /**
75
- * Event type that can be hold by an action & be emitted by an action
76
- *
77
- * @generated from protobuf message shared.EventType
78
- */
79
- export interface EventType {
80
- /**
81
- * Name of the event
82
- *
83
- * @generated from protobuf field: repeated shared.Translation name = 1
84
- */
85
- name: Translation[];
86
- /**
87
- * Definition that holds all settings of a event
88
- *
89
- * @generated from protobuf field: shared.EventDefinition definition = 2
90
- */
91
- definition?: EventDefinition;
92
- }
93
11
  // @generated message type with reflection information, may provide speed optimized methods
94
- class EventDefinitionSettings$Type extends MessageType<EventDefinitionSettings> {
12
+ class EventDefinitionSettings$Type extends MessageType {
95
13
  constructor() {
96
14
  super("shared.EventDefinitionSettings", [
97
15
  { no: 1, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
@@ -101,16 +19,16 @@ class EventDefinitionSettings$Type extends MessageType<EventDefinitionSettings>
101
19
  { no: 5, name: "default_value", kind: "message", T: () => Value }
102
20
  ]);
103
21
  }
104
- create(value?: PartialMessage<EventDefinitionSettings>): EventDefinitionSettings {
105
- const message = globalThis.Object.create((this.messagePrototype!));
22
+ create(value) {
23
+ const message = globalThis.Object.create((this.messagePrototype));
106
24
  message.name = [];
107
25
  message.unique = false;
108
26
  message.description = [];
109
27
  if (value !== undefined)
110
- reflectionMergePartial<EventDefinitionSettings>(this, message, value);
28
+ reflectionMergePartial(this, message, value);
111
29
  return message;
112
30
  }
113
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EventDefinitionSettings): EventDefinitionSettings {
31
+ internalBinaryRead(reader, length, options, target) {
114
32
  let message = target ?? this.create(), end = reader.pos + length;
115
33
  while (reader.pos < end) {
116
34
  let [fieldNo, wireType] = reader.tag();
@@ -141,7 +59,7 @@ class EventDefinitionSettings$Type extends MessageType<EventDefinitionSettings>
141
59
  }
142
60
  return message;
143
61
  }
144
- internalBinaryWrite(message: EventDefinitionSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
62
+ internalBinaryWrite(message, writer, options) {
145
63
  /* repeated shared.Translation name = 1; */
146
64
  for (let i = 0; i < message.name.length; i++)
147
65
  Translation.internalBinaryWrite(message.name[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
@@ -168,7 +86,7 @@ class EventDefinitionSettings$Type extends MessageType<EventDefinitionSettings>
168
86
  */
169
87
  export const EventDefinitionSettings = new EventDefinitionSettings$Type();
170
88
  // @generated message type with reflection information, may provide speed optimized methods
171
- class EventDefinition$Type extends MessageType<EventDefinition> {
89
+ class EventDefinition$Type extends MessageType {
172
90
  constructor() {
173
91
  super("shared.EventDefinition", [
174
92
  { no: 1, name: "settings", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EventDefinitionSettings },
@@ -176,15 +94,15 @@ class EventDefinition$Type extends MessageType<EventDefinition> {
176
94
  { no: 3, name: "editable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
177
95
  ]);
178
96
  }
179
- create(value?: PartialMessage<EventDefinition>): EventDefinition {
180
- const message = globalThis.Object.create((this.messagePrototype!));
97
+ create(value) {
98
+ const message = globalThis.Object.create((this.messagePrototype));
181
99
  message.settings = [];
182
100
  message.editable = false;
183
101
  if (value !== undefined)
184
- reflectionMergePartial<EventDefinition>(this, message, value);
102
+ reflectionMergePartial(this, message, value);
185
103
  return message;
186
104
  }
187
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EventDefinition): EventDefinition {
105
+ internalBinaryRead(reader, length, options, target) {
188
106
  let message = target ?? this.create(), end = reader.pos + length;
189
107
  while (reader.pos < end) {
190
108
  let [fieldNo, wireType] = reader.tag();
@@ -209,7 +127,7 @@ class EventDefinition$Type extends MessageType<EventDefinition> {
209
127
  }
210
128
  return message;
211
129
  }
212
- internalBinaryWrite(message: EventDefinition, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
130
+ internalBinaryWrite(message, writer, options) {
213
131
  /* repeated shared.EventDefinitionSettings settings = 1; */
214
132
  for (let i = 0; i < message.settings.length; i++)
215
133
  EventDefinitionSettings.internalBinaryWrite(message.settings[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
@@ -230,21 +148,21 @@ class EventDefinition$Type extends MessageType<EventDefinition> {
230
148
  */
231
149
  export const EventDefinition = new EventDefinition$Type();
232
150
  // @generated message type with reflection information, may provide speed optimized methods
233
- class EventType$Type extends MessageType<EventType> {
151
+ class EventType$Type extends MessageType {
234
152
  constructor() {
235
153
  super("shared.EventType", [
236
154
  { no: 1, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
237
155
  { no: 2, name: "definition", kind: "message", T: () => EventDefinition }
238
156
  ]);
239
157
  }
240
- create(value?: PartialMessage<EventType>): EventType {
241
- const message = globalThis.Object.create((this.messagePrototype!));
158
+ create(value) {
159
+ const message = globalThis.Object.create((this.messagePrototype));
242
160
  message.name = [];
243
161
  if (value !== undefined)
244
- reflectionMergePartial<EventType>(this, message, value);
162
+ reflectionMergePartial(this, message, value);
245
163
  return message;
246
164
  }
247
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EventType): EventType {
165
+ internalBinaryRead(reader, length, options, target) {
248
166
  let message = target ?? this.create(), end = reader.pos + length;
249
167
  while (reader.pos < end) {
250
168
  let [fieldNo, wireType] = reader.tag();
@@ -266,7 +184,7 @@ class EventType$Type extends MessageType<EventType> {
266
184
  }
267
185
  return message;
268
186
  }
269
- internalBinaryWrite(message: EventType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
187
+ internalBinaryWrite(message, writer, options) {
270
188
  /* repeated shared.Translation name = 1; */
271
189
  for (let i = 0; i < message.name.length; i++)
272
190
  Translation.internalBinaryWrite(message.name[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
@@ -0,0 +1,105 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
+ // @generated from protobuf file "shared.flow_definition.proto" (package "shared", syntax proto3)
3
+ // tslint:disable
4
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
7
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
8
+ import type { PartialMessage } from "@protobuf-ts/runtime";
9
+ import { MessageType } from "@protobuf-ts/runtime";
10
+ import { Value } from "./shared.struct_pb";
11
+ import { Version } from "./shared.version_pb";
12
+ import { Translation } from "./shared.translation_pb";
13
+ /**
14
+ * @generated from protobuf message shared.FlowType
15
+ */
16
+ export interface FlowType {
17
+ /**
18
+ * @generated from protobuf field: string identifier = 1
19
+ */
20
+ identifier: string;
21
+ /**
22
+ * @generated from protobuf field: repeated shared.FlowTypeSetting settings = 2
23
+ */
24
+ settings: FlowTypeSetting[];
25
+ /**
26
+ * @generated from protobuf field: optional string input_type_identifier = 3
27
+ */
28
+ inputTypeIdentifier?: string;
29
+ /**
30
+ * @generated from protobuf field: optional string return_type_identifier = 4
31
+ */
32
+ returnTypeIdentifier?: string;
33
+ /**
34
+ * @generated from protobuf field: bool editable = 5
35
+ */
36
+ editable: boolean;
37
+ /**
38
+ * @generated from protobuf field: repeated shared.Translation name = 6
39
+ */
40
+ name: Translation[];
41
+ /**
42
+ * @generated from protobuf field: repeated shared.Translation description = 7
43
+ */
44
+ description: Translation[];
45
+ /**
46
+ * @generated from protobuf field: repeated shared.Translation documentation = 8
47
+ */
48
+ documentation: Translation[];
49
+ /**
50
+ * Version of the flow type
51
+ *
52
+ * @generated from protobuf field: shared.Version version = 9
53
+ */
54
+ version?: Version;
55
+ }
56
+ /**
57
+ * @generated from protobuf message shared.FlowTypeSetting
58
+ */
59
+ export interface FlowTypeSetting {
60
+ /**
61
+ * @generated from protobuf field: string identifier = 1
62
+ */
63
+ identifier: string;
64
+ /**
65
+ * @generated from protobuf field: bool unique = 2
66
+ */
67
+ unique: boolean;
68
+ /**
69
+ * @generated from protobuf field: string data_type_identifier = 3
70
+ */
71
+ dataTypeIdentifier: string;
72
+ /**
73
+ * @generated from protobuf field: optional shared.Value default_value = 4
74
+ */
75
+ defaultValue?: Value;
76
+ /**
77
+ * @generated from protobuf field: repeated shared.Translation name = 5
78
+ */
79
+ name: Translation[];
80
+ /**
81
+ * @generated from protobuf field: repeated shared.Translation description = 6
82
+ */
83
+ description: Translation[];
84
+ }
85
+ declare class FlowType$Type extends MessageType<FlowType> {
86
+ constructor();
87
+ create(value?: PartialMessage<FlowType>): FlowType;
88
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowType): FlowType;
89
+ internalBinaryWrite(message: FlowType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
90
+ }
91
+ /**
92
+ * @generated MessageType for protobuf message shared.FlowType
93
+ */
94
+ export declare const FlowType: FlowType$Type;
95
+ declare class FlowTypeSetting$Type extends MessageType<FlowTypeSetting> {
96
+ constructor();
97
+ create(value?: PartialMessage<FlowTypeSetting>): FlowTypeSetting;
98
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowTypeSetting): FlowTypeSetting;
99
+ internalBinaryWrite(message: FlowTypeSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
100
+ }
101
+ /**
102
+ * @generated MessageType for protobuf message shared.FlowTypeSetting
103
+ */
104
+ export declare const FlowTypeSetting: FlowTypeSetting$Type;
105
+ export {};
@@ -1,92 +1,15 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
2
  // @generated from protobuf file "shared.flow_definition.proto" (package "shared", syntax proto3)
3
3
  // tslint:disable
4
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
4
  import { WireType } from "@protobuf-ts/runtime";
7
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
- import type { IBinaryReader } from "@protobuf-ts/runtime";
9
5
  import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
- import type { PartialMessage } from "@protobuf-ts/runtime";
11
6
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
7
  import { MessageType } from "@protobuf-ts/runtime";
13
8
  import { Value } from "./shared.struct_pb";
14
9
  import { Version } from "./shared.version_pb";
15
10
  import { Translation } from "./shared.translation_pb";
16
- /**
17
- * @generated from protobuf message shared.FlowType
18
- */
19
- export interface FlowType {
20
- /**
21
- * @generated from protobuf field: string identifier = 1
22
- */
23
- identifier: string;
24
- /**
25
- * @generated from protobuf field: repeated shared.FlowTypeSetting settings = 2
26
- */
27
- settings: FlowTypeSetting[];
28
- /**
29
- * @generated from protobuf field: optional string input_type_identifier = 3
30
- */
31
- inputTypeIdentifier?: string;
32
- /**
33
- * @generated from protobuf field: optional string return_type_identifier = 4
34
- */
35
- returnTypeIdentifier?: string;
36
- /**
37
- * @generated from protobuf field: bool editable = 5
38
- */
39
- editable: boolean;
40
- /**
41
- * @generated from protobuf field: repeated shared.Translation name = 6
42
- */
43
- name: Translation[];
44
- /**
45
- * @generated from protobuf field: repeated shared.Translation description = 7
46
- */
47
- description: Translation[];
48
- /**
49
- * @generated from protobuf field: repeated shared.Translation documentation = 8
50
- */
51
- documentation: Translation[];
52
- /**
53
- * Version of the flow type
54
- *
55
- * @generated from protobuf field: shared.Version version = 9
56
- */
57
- version?: Version;
58
- }
59
- /**
60
- * @generated from protobuf message shared.FlowTypeSetting
61
- */
62
- export interface FlowTypeSetting {
63
- /**
64
- * @generated from protobuf field: string identifier = 1
65
- */
66
- identifier: string;
67
- /**
68
- * @generated from protobuf field: bool unique = 2
69
- */
70
- unique: boolean;
71
- /**
72
- * @generated from protobuf field: string data_type_identifier = 3
73
- */
74
- dataTypeIdentifier: string;
75
- /**
76
- * @generated from protobuf field: optional shared.Value default_value = 4
77
- */
78
- defaultValue?: Value;
79
- /**
80
- * @generated from protobuf field: repeated shared.Translation name = 5
81
- */
82
- name: Translation[];
83
- /**
84
- * @generated from protobuf field: repeated shared.Translation description = 6
85
- */
86
- description: Translation[];
87
- }
88
11
  // @generated message type with reflection information, may provide speed optimized methods
89
- class FlowType$Type extends MessageType<FlowType> {
12
+ class FlowType$Type extends MessageType {
90
13
  constructor() {
91
14
  super("shared.FlowType", [
92
15
  { no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
@@ -100,8 +23,8 @@ class FlowType$Type extends MessageType<FlowType> {
100
23
  { no: 9, name: "version", kind: "message", T: () => Version }
101
24
  ]);
102
25
  }
103
- create(value?: PartialMessage<FlowType>): FlowType {
104
- const message = globalThis.Object.create((this.messagePrototype!));
26
+ create(value) {
27
+ const message = globalThis.Object.create((this.messagePrototype));
105
28
  message.identifier = "";
106
29
  message.settings = [];
107
30
  message.editable = false;
@@ -109,10 +32,10 @@ class FlowType$Type extends MessageType<FlowType> {
109
32
  message.description = [];
110
33
  message.documentation = [];
111
34
  if (value !== undefined)
112
- reflectionMergePartial<FlowType>(this, message, value);
35
+ reflectionMergePartial(this, message, value);
113
36
  return message;
114
37
  }
115
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowType): FlowType {
38
+ internalBinaryRead(reader, length, options, target) {
116
39
  let message = target ?? this.create(), end = reader.pos + length;
117
40
  while (reader.pos < end) {
118
41
  let [fieldNo, wireType] = reader.tag();
@@ -155,7 +78,7 @@ class FlowType$Type extends MessageType<FlowType> {
155
78
  }
156
79
  return message;
157
80
  }
158
- internalBinaryWrite(message: FlowType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
81
+ internalBinaryWrite(message, writer, options) {
159
82
  /* string identifier = 1; */
160
83
  if (message.identifier !== "")
161
84
  writer.tag(1, WireType.LengthDelimited).string(message.identifier);
@@ -194,7 +117,7 @@ class FlowType$Type extends MessageType<FlowType> {
194
117
  */
195
118
  export const FlowType = new FlowType$Type();
196
119
  // @generated message type with reflection information, may provide speed optimized methods
197
- class FlowTypeSetting$Type extends MessageType<FlowTypeSetting> {
120
+ class FlowTypeSetting$Type extends MessageType {
198
121
  constructor() {
199
122
  super("shared.FlowTypeSetting", [
200
123
  { no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
@@ -205,18 +128,18 @@ class FlowTypeSetting$Type extends MessageType<FlowTypeSetting> {
205
128
  { no: 6, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation }
206
129
  ]);
207
130
  }
208
- create(value?: PartialMessage<FlowTypeSetting>): FlowTypeSetting {
209
- const message = globalThis.Object.create((this.messagePrototype!));
131
+ create(value) {
132
+ const message = globalThis.Object.create((this.messagePrototype));
210
133
  message.identifier = "";
211
134
  message.unique = false;
212
135
  message.dataTypeIdentifier = "";
213
136
  message.name = [];
214
137
  message.description = [];
215
138
  if (value !== undefined)
216
- reflectionMergePartial<FlowTypeSetting>(this, message, value);
139
+ reflectionMergePartial(this, message, value);
217
140
  return message;
218
141
  }
219
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowTypeSetting): FlowTypeSetting {
142
+ internalBinaryRead(reader, length, options, target) {
220
143
  let message = target ?? this.create(), end = reader.pos + length;
221
144
  while (reader.pos < end) {
222
145
  let [fieldNo, wireType] = reader.tag();
@@ -250,7 +173,7 @@ class FlowTypeSetting$Type extends MessageType<FlowTypeSetting> {
250
173
  }
251
174
  return message;
252
175
  }
253
- internalBinaryWrite(message: FlowTypeSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
176
+ internalBinaryWrite(message, writer, options) {
254
177
  /* string identifier = 1; */
255
178
  if (message.identifier !== "")
256
179
  writer.tag(1, WireType.LengthDelimited).string(message.identifier);