@code0-tech/tucana 0.0.42 → 0.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pb/shared.data_type_pb.d.ts +3 -3
- package/pb/shared.data_type_pb.js +7 -7
- package/pb/shared.flow_definition_pb.d.ts +3 -3
- package/pb/shared.flow_definition_pb.js +7 -7
- package/pb/shared.runtime_function_pb.d.ts +3 -3
- package/pb/shared.runtime_function_pb.js +7 -7
- package/pb/shared.version_pb.d.ts +0 -37
- package/pb/shared.version_pb.js +0 -70
package/package.json
CHANGED
|
@@ -8,7 +8,6 @@ import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
|
8
8
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
9
9
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
10
|
import { Value } from "./shared.struct_pb";
|
|
11
|
-
import { Version } from "./shared.version_pb";
|
|
12
11
|
import { Translation } from "./shared.translation_pb";
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
@@ -56,10 +55,11 @@ export interface DefinitionDataType {
|
|
|
56
55
|
genericKeys: string[];
|
|
57
56
|
/**
|
|
58
57
|
* Version of the data type
|
|
58
|
+
* Format: "major.minor.patch", e.g. "1.2.3"
|
|
59
59
|
*
|
|
60
|
-
* @generated from protobuf field:
|
|
60
|
+
* @generated from protobuf field: string version = 8
|
|
61
61
|
*/
|
|
62
|
-
version
|
|
62
|
+
version: string;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* @generated from protobuf enum shared.DefinitionDataType.Variant
|
|
@@ -6,7 +6,6 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
|
6
6
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
7
7
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
8
|
import { Value } from "./shared.struct_pb";
|
|
9
|
-
import { Version } from "./shared.version_pb";
|
|
10
9
|
import { Translation } from "./shared.translation_pb";
|
|
11
10
|
/**
|
|
12
11
|
* @generated from protobuf enum shared.DefinitionDataType.Variant
|
|
@@ -77,7 +76,7 @@ class DefinitionDataType$Type extends MessageType {
|
|
|
77
76
|
{ no: 5, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
78
77
|
{ no: 6, name: "rules", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DefinitionDataTypeRule },
|
|
79
78
|
{ no: 7, name: "generic_keys", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
80
|
-
{ no: 8, name: "version", kind: "
|
|
79
|
+
{ no: 8, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
81
80
|
]);
|
|
82
81
|
}
|
|
83
82
|
create(value) {
|
|
@@ -89,6 +88,7 @@ class DefinitionDataType$Type extends MessageType {
|
|
|
89
88
|
message.alias = [];
|
|
90
89
|
message.rules = [];
|
|
91
90
|
message.genericKeys = [];
|
|
91
|
+
message.version = "";
|
|
92
92
|
if (value !== undefined)
|
|
93
93
|
reflectionMergePartial(this, message, value);
|
|
94
94
|
return message;
|
|
@@ -119,8 +119,8 @@ class DefinitionDataType$Type extends MessageType {
|
|
|
119
119
|
case /* repeated string generic_keys */ 7:
|
|
120
120
|
message.genericKeys.push(reader.string());
|
|
121
121
|
break;
|
|
122
|
-
case /*
|
|
123
|
-
message.version =
|
|
122
|
+
case /* string version */ 8:
|
|
123
|
+
message.version = reader.string();
|
|
124
124
|
break;
|
|
125
125
|
default:
|
|
126
126
|
let u = options.readUnknownField;
|
|
@@ -155,9 +155,9 @@ class DefinitionDataType$Type extends MessageType {
|
|
|
155
155
|
/* repeated string generic_keys = 7; */
|
|
156
156
|
for (let i = 0; i < message.genericKeys.length; i++)
|
|
157
157
|
writer.tag(7, WireType.LengthDelimited).string(message.genericKeys[i]);
|
|
158
|
-
/*
|
|
159
|
-
if (message.version)
|
|
160
|
-
|
|
158
|
+
/* string version = 8; */
|
|
159
|
+
if (message.version !== "")
|
|
160
|
+
writer.tag(8, WireType.LengthDelimited).string(message.version);
|
|
161
161
|
let u = options.writeUnknownFields;
|
|
162
162
|
if (u !== false)
|
|
163
163
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -8,7 +8,6 @@ import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
|
8
8
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
9
9
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
10
|
import { Value } from "./shared.struct_pb";
|
|
11
|
-
import { Version } from "./shared.version_pb";
|
|
12
11
|
import { Translation } from "./shared.translation_pb";
|
|
13
12
|
/**
|
|
14
13
|
* @generated from protobuf message shared.FlowType
|
|
@@ -56,10 +55,11 @@ export interface FlowType {
|
|
|
56
55
|
alias: Translation[];
|
|
57
56
|
/**
|
|
58
57
|
* Version of the flow type
|
|
58
|
+
* Format: "major.minor.patch", e.g. "1.2.3"
|
|
59
59
|
*
|
|
60
|
-
* @generated from protobuf field:
|
|
60
|
+
* @generated from protobuf field: string version = 11
|
|
61
61
|
*/
|
|
62
|
-
version
|
|
62
|
+
version: string;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* @generated from protobuf message shared.FlowTypeSetting
|
|
@@ -6,7 +6,6 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
|
6
6
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
7
7
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
8
|
import { Value } from "./shared.struct_pb";
|
|
9
|
-
import { Version } from "./shared.version_pb";
|
|
10
9
|
import { Translation } from "./shared.translation_pb";
|
|
11
10
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
12
11
|
class FlowType$Type extends MessageType {
|
|
@@ -22,7 +21,7 @@ class FlowType$Type extends MessageType {
|
|
|
22
21
|
{ no: 8, name: "documentation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
23
22
|
{ no: 9, name: "display_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
24
23
|
{ no: 10, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
25
|
-
{ no: 11, name: "version", kind: "
|
|
24
|
+
{ no: 11, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
26
25
|
]);
|
|
27
26
|
}
|
|
28
27
|
create(value) {
|
|
@@ -35,6 +34,7 @@ class FlowType$Type extends MessageType {
|
|
|
35
34
|
message.documentation = [];
|
|
36
35
|
message.displayMessage = [];
|
|
37
36
|
message.alias = [];
|
|
37
|
+
message.version = "";
|
|
38
38
|
if (value !== undefined)
|
|
39
39
|
reflectionMergePartial(this, message, value);
|
|
40
40
|
return message;
|
|
@@ -74,8 +74,8 @@ class FlowType$Type extends MessageType {
|
|
|
74
74
|
case /* repeated shared.Translation alias */ 10:
|
|
75
75
|
message.alias.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
76
76
|
break;
|
|
77
|
-
case /*
|
|
78
|
-
message.version =
|
|
77
|
+
case /* string version */ 11:
|
|
78
|
+
message.version = reader.string();
|
|
79
79
|
break;
|
|
80
80
|
default:
|
|
81
81
|
let u = options.readUnknownField;
|
|
@@ -119,9 +119,9 @@ class FlowType$Type extends MessageType {
|
|
|
119
119
|
/* repeated shared.Translation alias = 10; */
|
|
120
120
|
for (let i = 0; i < message.alias.length; i++)
|
|
121
121
|
Translation.internalBinaryWrite(message.alias[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
122
|
-
/*
|
|
123
|
-
if (message.version)
|
|
124
|
-
|
|
122
|
+
/* string version = 11; */
|
|
123
|
+
if (message.version !== "")
|
|
124
|
+
writer.tag(11, WireType.LengthDelimited).string(message.version);
|
|
125
125
|
let u = options.writeUnknownFields;
|
|
126
126
|
if (u !== false)
|
|
127
127
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -8,7 +8,6 @@ import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
|
8
8
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
9
9
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
10
|
import { Value } from "./shared.struct_pb";
|
|
11
|
-
import { Version } from "./shared.version_pb";
|
|
12
11
|
import { Translation } from "./shared.translation_pb";
|
|
13
12
|
import { DataTypeIdentifier } from "./shared.data_type_pb";
|
|
14
13
|
/**
|
|
@@ -63,10 +62,11 @@ export interface RuntimeFunctionDefinition {
|
|
|
63
62
|
alias: Translation[];
|
|
64
63
|
/**
|
|
65
64
|
* Version of the runtime function
|
|
65
|
+
* Format: "major.minor.patch", e.g. "1.2.3"
|
|
66
66
|
*
|
|
67
|
-
* @generated from protobuf field:
|
|
67
|
+
* @generated from protobuf field: string version = 12
|
|
68
68
|
*/
|
|
69
|
-
version
|
|
69
|
+
version: string;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* Definition of a parameter used for execution
|
|
@@ -6,7 +6,6 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
|
6
6
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
7
7
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
8
|
import { Value } from "./shared.struct_pb";
|
|
9
|
-
import { Version } from "./shared.version_pb";
|
|
10
9
|
import { Translation } from "./shared.translation_pb";
|
|
11
10
|
import { DataTypeIdentifier } from "./shared.data_type_pb";
|
|
12
11
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
@@ -24,7 +23,7 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
24
23
|
{ no: 9, name: "deprecation_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
25
24
|
{ no: 10, name: "display_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
26
25
|
{ no: 11, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
27
|
-
{ no: 12, name: "version", kind: "
|
|
26
|
+
{ no: 12, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
28
27
|
]);
|
|
29
28
|
}
|
|
30
29
|
create(value) {
|
|
@@ -39,6 +38,7 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
39
38
|
message.deprecationMessage = [];
|
|
40
39
|
message.displayMessage = [];
|
|
41
40
|
message.alias = [];
|
|
41
|
+
message.version = "";
|
|
42
42
|
if (value !== undefined)
|
|
43
43
|
reflectionMergePartial(this, message, value);
|
|
44
44
|
return message;
|
|
@@ -81,8 +81,8 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
81
81
|
case /* repeated shared.Translation alias */ 11:
|
|
82
82
|
message.alias.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
83
83
|
break;
|
|
84
|
-
case /*
|
|
85
|
-
message.version =
|
|
84
|
+
case /* string version */ 12:
|
|
85
|
+
message.version = reader.string();
|
|
86
86
|
break;
|
|
87
87
|
default:
|
|
88
88
|
let u = options.readUnknownField;
|
|
@@ -129,9 +129,9 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
129
129
|
/* repeated shared.Translation alias = 11; */
|
|
130
130
|
for (let i = 0; i < message.alias.length; i++)
|
|
131
131
|
Translation.internalBinaryWrite(message.alias[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
132
|
-
/*
|
|
133
|
-
if (message.version)
|
|
134
|
-
|
|
132
|
+
/* string version = 12; */
|
|
133
|
+
if (message.version !== "")
|
|
134
|
+
writer.tag(12, WireType.LengthDelimited).string(message.version);
|
|
135
135
|
let u = options.writeUnknownFields;
|
|
136
136
|
if (u !== false)
|
|
137
137
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
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 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
|
-
/**
|
|
11
|
-
* @generated from protobuf message shared.Version
|
|
12
|
-
*/
|
|
13
|
-
export interface Version {
|
|
14
|
-
/**
|
|
15
|
-
* @generated from protobuf field: int32 major = 1
|
|
16
|
-
*/
|
|
17
|
-
major: number;
|
|
18
|
-
/**
|
|
19
|
-
* @generated from protobuf field: int32 minor = 2
|
|
20
|
-
*/
|
|
21
|
-
minor: number;
|
|
22
|
-
/**
|
|
23
|
-
* @generated from protobuf field: int32 patch = 3
|
|
24
|
-
*/
|
|
25
|
-
patch: number;
|
|
26
|
-
}
|
|
27
|
-
declare class Version$Type extends MessageType<Version> {
|
|
28
|
-
constructor();
|
|
29
|
-
create(value?: PartialMessage<Version>): Version;
|
|
30
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Version): Version;
|
|
31
|
-
internalBinaryWrite(message: Version, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @generated MessageType for protobuf message shared.Version
|
|
35
|
-
*/
|
|
36
|
-
export declare const Version: Version$Type;
|
|
37
|
-
export {};
|
package/pb/shared.version_pb.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
-
// @generated from protobuf file "shared.version.proto" (package "shared", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
5
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
6
|
-
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
7
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
9
|
-
class Version$Type extends MessageType {
|
|
10
|
-
constructor() {
|
|
11
|
-
super("shared.Version", [
|
|
12
|
-
{ no: 1, name: "major", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
13
|
-
{ no: 2, name: "minor", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
14
|
-
{ no: 3, name: "patch", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
|
15
|
-
]);
|
|
16
|
-
}
|
|
17
|
-
create(value) {
|
|
18
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
19
|
-
message.major = 0;
|
|
20
|
-
message.minor = 0;
|
|
21
|
-
message.patch = 0;
|
|
22
|
-
if (value !== undefined)
|
|
23
|
-
reflectionMergePartial(this, message, value);
|
|
24
|
-
return message;
|
|
25
|
-
}
|
|
26
|
-
internalBinaryRead(reader, length, options, target) {
|
|
27
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
28
|
-
while (reader.pos < end) {
|
|
29
|
-
let [fieldNo, wireType] = reader.tag();
|
|
30
|
-
switch (fieldNo) {
|
|
31
|
-
case /* int32 major */ 1:
|
|
32
|
-
message.major = reader.int32();
|
|
33
|
-
break;
|
|
34
|
-
case /* int32 minor */ 2:
|
|
35
|
-
message.minor = reader.int32();
|
|
36
|
-
break;
|
|
37
|
-
case /* int32 patch */ 3:
|
|
38
|
-
message.patch = reader.int32();
|
|
39
|
-
break;
|
|
40
|
-
default:
|
|
41
|
-
let u = options.readUnknownField;
|
|
42
|
-
if (u === "throw")
|
|
43
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
44
|
-
let d = reader.skip(wireType);
|
|
45
|
-
if (u !== false)
|
|
46
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return message;
|
|
50
|
-
}
|
|
51
|
-
internalBinaryWrite(message, writer, options) {
|
|
52
|
-
/* int32 major = 1; */
|
|
53
|
-
if (message.major !== 0)
|
|
54
|
-
writer.tag(1, WireType.Varint).int32(message.major);
|
|
55
|
-
/* int32 minor = 2; */
|
|
56
|
-
if (message.minor !== 0)
|
|
57
|
-
writer.tag(2, WireType.Varint).int32(message.minor);
|
|
58
|
-
/* int32 patch = 3; */
|
|
59
|
-
if (message.patch !== 0)
|
|
60
|
-
writer.tag(3, WireType.Varint).int32(message.patch);
|
|
61
|
-
let u = options.writeUnknownFields;
|
|
62
|
-
if (u !== false)
|
|
63
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
64
|
-
return writer;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* @generated MessageType for protobuf message shared.Version
|
|
69
|
-
*/
|
|
70
|
-
export const Version = new Version$Type();
|