@code0-tech/tucana 0.0.52 → 0.0.53

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.
@@ -1,197 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
- // @generated from protobuf file "sagittarius.action.proto" (package "sagittarius", syntax proto3)
3
- // tslint:disable
4
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
5
- // @generated from protobuf file "sagittarius.action.proto" (package "sagittarius", syntax proto3)
6
- // tslint:disable
7
- import { ServiceType } from "@protobuf-ts/runtime-rpc";
8
- import { WireType } from "@protobuf-ts/runtime";
9
- import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
- import { reflectionMergePartial } from "@protobuf-ts/runtime";
11
- import { MessageType } from "@protobuf-ts/runtime";
12
- import { RuntimeFunctionDefinition } from "./shared.runtime_function_pb";
13
- // @generated message type with reflection information, may provide speed optimized methods
14
- class ActionLogonRequest$Type extends MessageType {
15
- constructor() {
16
- super("sagittarius.ActionLogonRequest", [
17
- { no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
18
- { no: 2, name: "function_definition", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeFunctionDefinition }
19
- ]);
20
- }
21
- create(value) {
22
- const message = globalThis.Object.create((this.messagePrototype));
23
- message.identifier = "";
24
- message.functionDefinition = [];
25
- if (value !== undefined)
26
- reflectionMergePartial(this, message, value);
27
- return message;
28
- }
29
- internalBinaryRead(reader, length, options, target) {
30
- let message = target ?? this.create(), end = reader.pos + length;
31
- while (reader.pos < end) {
32
- let [fieldNo, wireType] = reader.tag();
33
- switch (fieldNo) {
34
- case /* string identifier */ 1:
35
- message.identifier = reader.string();
36
- break;
37
- case /* repeated shared.RuntimeFunctionDefinition function_definition */ 2:
38
- message.functionDefinition.push(RuntimeFunctionDefinition.internalBinaryRead(reader, reader.uint32(), options));
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
- /* string identifier = 1; */
53
- if (message.identifier !== "")
54
- writer.tag(1, WireType.LengthDelimited).string(message.identifier);
55
- /* repeated shared.RuntimeFunctionDefinition function_definition = 2; */
56
- for (let i = 0; i < message.functionDefinition.length; i++)
57
- RuntimeFunctionDefinition.internalBinaryWrite(message.functionDefinition[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
58
- let u = options.writeUnknownFields;
59
- if (u !== false)
60
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
61
- return writer;
62
- }
63
- }
64
- /**
65
- * @generated MessageType for protobuf message sagittarius.ActionLogonRequest
66
- */
67
- export const ActionLogonRequest = new ActionLogonRequest$Type();
68
- // @generated message type with reflection information, may provide speed optimized methods
69
- class ActionLogonResponse$Type extends MessageType {
70
- constructor() {
71
- super("sagittarius.ActionLogonResponse", []);
72
- }
73
- create(value) {
74
- const message = globalThis.Object.create((this.messagePrototype));
75
- if (value !== undefined)
76
- reflectionMergePartial(this, message, value);
77
- return message;
78
- }
79
- internalBinaryRead(reader, length, options, target) {
80
- let message = target ?? this.create(), end = reader.pos + length;
81
- while (reader.pos < end) {
82
- let [fieldNo, wireType] = reader.tag();
83
- switch (fieldNo) {
84
- default:
85
- let u = options.readUnknownField;
86
- if (u === "throw")
87
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
88
- let d = reader.skip(wireType);
89
- if (u !== false)
90
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
91
- }
92
- }
93
- return message;
94
- }
95
- internalBinaryWrite(message, writer, options) {
96
- let u = options.writeUnknownFields;
97
- if (u !== false)
98
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
99
- return writer;
100
- }
101
- }
102
- /**
103
- * @generated MessageType for protobuf message sagittarius.ActionLogonResponse
104
- */
105
- export const ActionLogonResponse = new ActionLogonResponse$Type();
106
- // @generated message type with reflection information, may provide speed optimized methods
107
- class ActionLogoffRequest$Type extends MessageType {
108
- constructor() {
109
- super("sagittarius.ActionLogoffRequest", [
110
- { no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
111
- ]);
112
- }
113
- create(value) {
114
- const message = globalThis.Object.create((this.messagePrototype));
115
- message.identifier = "";
116
- if (value !== undefined)
117
- reflectionMergePartial(this, message, value);
118
- return message;
119
- }
120
- internalBinaryRead(reader, length, options, target) {
121
- let message = target ?? this.create(), end = reader.pos + length;
122
- while (reader.pos < end) {
123
- let [fieldNo, wireType] = reader.tag();
124
- switch (fieldNo) {
125
- case /* string identifier */ 1:
126
- message.identifier = reader.string();
127
- break;
128
- default:
129
- let u = options.readUnknownField;
130
- if (u === "throw")
131
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
132
- let d = reader.skip(wireType);
133
- if (u !== false)
134
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
135
- }
136
- }
137
- return message;
138
- }
139
- internalBinaryWrite(message, writer, options) {
140
- /* string identifier = 1; */
141
- if (message.identifier !== "")
142
- writer.tag(1, WireType.LengthDelimited).string(message.identifier);
143
- let u = options.writeUnknownFields;
144
- if (u !== false)
145
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
146
- return writer;
147
- }
148
- }
149
- /**
150
- * @generated MessageType for protobuf message sagittarius.ActionLogoffRequest
151
- */
152
- export const ActionLogoffRequest = new ActionLogoffRequest$Type();
153
- // @generated message type with reflection information, may provide speed optimized methods
154
- class ActionLogoffResponse$Type extends MessageType {
155
- constructor() {
156
- super("sagittarius.ActionLogoffResponse", []);
157
- }
158
- create(value) {
159
- const message = globalThis.Object.create((this.messagePrototype));
160
- if (value !== undefined)
161
- reflectionMergePartial(this, message, value);
162
- return message;
163
- }
164
- internalBinaryRead(reader, length, options, target) {
165
- let message = target ?? this.create(), end = reader.pos + length;
166
- while (reader.pos < end) {
167
- let [fieldNo, wireType] = reader.tag();
168
- switch (fieldNo) {
169
- default:
170
- let u = options.readUnknownField;
171
- if (u === "throw")
172
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
173
- let d = reader.skip(wireType);
174
- if (u !== false)
175
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
176
- }
177
- }
178
- return message;
179
- }
180
- internalBinaryWrite(message, writer, options) {
181
- let u = options.writeUnknownFields;
182
- if (u !== false)
183
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
184
- return writer;
185
- }
186
- }
187
- /**
188
- * @generated MessageType for protobuf message sagittarius.ActionLogoffResponse
189
- */
190
- export const ActionLogoffResponse = new ActionLogoffResponse$Type();
191
- /**
192
- * @generated ServiceType for protobuf service sagittarius.ActionService
193
- */
194
- export const ActionService = new ServiceType("sagittarius.ActionService", [
195
- { name: "Logon", options: {}, I: ActionLogonRequest, O: ActionLogonResponse },
196
- { name: "Logoff", options: {}, I: ActionLogoffRequest, O: ActionLogoffResponse }
197
- ]);