@code0-tech/tucana 0.0.0 → 0.0.38

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 (34) hide show
  1. package/index.js +0 -0
  2. package/package.json +1 -1
  3. package/pb/aquila.action_pb.client.ts +41 -0
  4. package/pb/aquila.action_pb.ts +615 -0
  5. package/pb/aquila.data_type_pb.client.ts +37 -0
  6. package/pb/aquila.data_type_pb.ts +140 -0
  7. package/pb/aquila.execution_pb.client.ts +74 -0
  8. package/pb/aquila.execution_pb.ts +334 -0
  9. package/pb/aquila.flow_type_pb.client.ts +41 -0
  10. package/pb/aquila.flow_type_pb.ts +140 -0
  11. package/pb/aquila.runtime_function_pb.client.ts +41 -0
  12. package/pb/aquila.runtime_function_pb.ts +140 -0
  13. package/pb/sagittarius.action_pb.client.ts +54 -0
  14. package/pb/sagittarius.action_pb.ts +239 -0
  15. package/pb/sagittarius.data_type_pb.client.ts +37 -0
  16. package/pb/sagittarius.data_type_pb.ts +140 -0
  17. package/pb/sagittarius.flow_pb.client.ts +37 -0
  18. package/pb/sagittarius.flow_pb.ts +173 -0
  19. package/pb/sagittarius.flow_type_pb.client.ts +41 -0
  20. package/pb/sagittarius.flow_type_pb.ts +140 -0
  21. package/pb/sagittarius.ping_pb.client.ts +36 -0
  22. package/pb/sagittarius.ping_pb.ts +75 -0
  23. package/pb/sagittarius.runtime_function_pb.client.ts +41 -0
  24. package/pb/sagittarius.runtime_function_pb.ts +140 -0
  25. package/pb/sagittarius.text_execution_pb.client.ts +37 -0
  26. package/pb/sagittarius.text_execution_pb.ts +456 -0
  27. package/pb/shared.data_type_pb.ts +1534 -0
  28. package/pb/shared.event_pb.ts +285 -0
  29. package/pb/shared.flow_definition_pb.ts +281 -0
  30. package/pb/shared.flow_pb.ts +845 -0
  31. package/pb/shared.runtime_function_pb.ts +298 -0
  32. package/pb/shared.struct_pb.ts +383 -0
  33. package/pb/shared.translation_pb.ts +86 -0
  34. package/pb/shared.version_pb.ts +92 -0
@@ -0,0 +1,86 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
2
+ // @generated from protobuf file "shared.translation.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 { WireType } from "@protobuf-ts/runtime";
7
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
9
+ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
+ import type { PartialMessage } from "@protobuf-ts/runtime";
11
+ import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
+ import { MessageType } from "@protobuf-ts/runtime";
13
+ /**
14
+ * Translation to translate flows, description etc...
15
+ *
16
+ * @generated from protobuf message shared.Translation
17
+ */
18
+ export interface Translation {
19
+ /**
20
+ * Language code (e.g. de_DE)
21
+ *
22
+ * @generated from protobuf field: string code = 1
23
+ */
24
+ code: string;
25
+ /**
26
+ * Translated content
27
+ *
28
+ * @generated from protobuf field: string content = 2
29
+ */
30
+ content: string;
31
+ }
32
+ // @generated message type with reflection information, may provide speed optimized methods
33
+ class Translation$Type extends MessageType<Translation> {
34
+ constructor() {
35
+ super("shared.Translation", [
36
+ { no: 1, name: "code", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
37
+ { no: 2, name: "content", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
38
+ ]);
39
+ }
40
+ create(value?: PartialMessage<Translation>): Translation {
41
+ const message = globalThis.Object.create((this.messagePrototype!));
42
+ message.code = "";
43
+ message.content = "";
44
+ if (value !== undefined)
45
+ reflectionMergePartial<Translation>(this, message, value);
46
+ return message;
47
+ }
48
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Translation): Translation {
49
+ let message = target ?? this.create(), end = reader.pos + length;
50
+ while (reader.pos < end) {
51
+ let [fieldNo, wireType] = reader.tag();
52
+ switch (fieldNo) {
53
+ case /* string code */ 1:
54
+ message.code = reader.string();
55
+ break;
56
+ case /* string content */ 2:
57
+ message.content = reader.string();
58
+ break;
59
+ default:
60
+ let u = options.readUnknownField;
61
+ if (u === "throw")
62
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
63
+ let d = reader.skip(wireType);
64
+ if (u !== false)
65
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
66
+ }
67
+ }
68
+ return message;
69
+ }
70
+ internalBinaryWrite(message: Translation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
71
+ /* string code = 1; */
72
+ if (message.code !== "")
73
+ writer.tag(1, WireType.LengthDelimited).string(message.code);
74
+ /* string content = 2; */
75
+ if (message.content !== "")
76
+ writer.tag(2, WireType.LengthDelimited).string(message.content);
77
+ let u = options.writeUnknownFields;
78
+ if (u !== false)
79
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
80
+ return writer;
81
+ }
82
+ }
83
+ /**
84
+ * @generated MessageType for protobuf message shared.Translation
85
+ */
86
+ export const Translation = new Translation$Type();
@@ -0,0 +1,92 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
2
+ // @generated from protobuf file "shared.version.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 { WireType } from "@protobuf-ts/runtime";
7
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
9
+ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
+ import type { PartialMessage } from "@protobuf-ts/runtime";
11
+ import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
+ import { MessageType } from "@protobuf-ts/runtime";
13
+ /**
14
+ * @generated from protobuf message shared.Version
15
+ */
16
+ export interface Version {
17
+ /**
18
+ * @generated from protobuf field: int32 major = 1
19
+ */
20
+ major: number;
21
+ /**
22
+ * @generated from protobuf field: int32 minor = 2
23
+ */
24
+ minor: number;
25
+ /**
26
+ * @generated from protobuf field: int32 patch = 3
27
+ */
28
+ patch: number;
29
+ }
30
+ // @generated message type with reflection information, may provide speed optimized methods
31
+ class Version$Type extends MessageType<Version> {
32
+ constructor() {
33
+ super("shared.Version", [
34
+ { no: 1, name: "major", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
35
+ { no: 2, name: "minor", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
36
+ { no: 3, name: "patch", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
37
+ ]);
38
+ }
39
+ create(value?: PartialMessage<Version>): Version {
40
+ const message = globalThis.Object.create((this.messagePrototype!));
41
+ message.major = 0;
42
+ message.minor = 0;
43
+ message.patch = 0;
44
+ if (value !== undefined)
45
+ reflectionMergePartial<Version>(this, message, value);
46
+ return message;
47
+ }
48
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Version): Version {
49
+ let message = target ?? this.create(), end = reader.pos + length;
50
+ while (reader.pos < end) {
51
+ let [fieldNo, wireType] = reader.tag();
52
+ switch (fieldNo) {
53
+ case /* int32 major */ 1:
54
+ message.major = reader.int32();
55
+ break;
56
+ case /* int32 minor */ 2:
57
+ message.minor = reader.int32();
58
+ break;
59
+ case /* int32 patch */ 3:
60
+ message.patch = reader.int32();
61
+ break;
62
+ default:
63
+ let u = options.readUnknownField;
64
+ if (u === "throw")
65
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
66
+ let d = reader.skip(wireType);
67
+ if (u !== false)
68
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
69
+ }
70
+ }
71
+ return message;
72
+ }
73
+ internalBinaryWrite(message: Version, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
74
+ /* int32 major = 1; */
75
+ if (message.major !== 0)
76
+ writer.tag(1, WireType.Varint).int32(message.major);
77
+ /* int32 minor = 2; */
78
+ if (message.minor !== 0)
79
+ writer.tag(2, WireType.Varint).int32(message.minor);
80
+ /* int32 patch = 3; */
81
+ if (message.patch !== 0)
82
+ writer.tag(3, WireType.Varint).int32(message.patch);
83
+ let u = options.writeUnknownFields;
84
+ if (u !== false)
85
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
86
+ return writer;
87
+ }
88
+ }
89
+ /**
90
+ * @generated MessageType for protobuf message shared.Version
91
+ */
92
+ export const Version = new Version$Type();