@code0-tech/tucana 0.0.76 → 0.0.78
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/dist/aquila.cjs.js +1 -1
- package/dist/aquila.es.js +738 -209
- package/dist/pb/_generated/aquila.action_pb.d.ts +345 -4
- package/dist/pb/_generated/sagittarius_gateway.flow_pb.client.d.ts +43 -0
- package/dist/pb/_generated/sagittarius_gateway.flow_pb.d.ts +110 -0
- package/dist/pb/_generated/sagittarius_gateway.module_pb.client.d.ts +59 -0
- package/dist/pb/_generated/sagittarius_gateway.module_pb.d.ts +137 -0
- package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.client.d.ts +27 -0
- package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.d.ts +51 -0
- package/dist/pb/_generated/sagittarius_gateway.test_execution_pb.client.d.ts +43 -0
- package/dist/pb/_generated/{sagittarius.text_execution_pb.d.ts → sagittarius_gateway.test_execution_pb.d.ts} +45 -11
- package/dist/pb/_generated/sagittarius_rails.flow_pb.client.d.ts +31 -0
- package/dist/pb/_generated/{sagittarius.flow_pb.d.ts → sagittarius_rails.flow_pb.d.ts} +5 -14
- package/dist/pb/_generated/{sagittarius.module_pb.client.d.ts → sagittarius_rails.module_pb.client.d.ts} +3 -3
- package/dist/pb/_generated/{sagittarius.module_pb.d.ts → sagittarius_rails.module_pb.d.ts} +7 -7
- package/dist/pb/_generated/{sagittarius.runtime_status_pb.client.d.ts → sagittarius_rails.runtime_status_pb.client.d.ts} +3 -3
- package/dist/pb/_generated/{sagittarius.runtime_status_pb.d.ts → sagittarius_rails.runtime_status_pb.d.ts} +5 -5
- package/dist/pb/_generated/sagittarius_rails.test_execution_pb.client.d.ts +27 -0
- package/dist/pb/_generated/sagittarius_rails.test_execution_pb.d.ts +51 -0
- package/dist/pb/_generated/sagittarius_rails.token_pb.client.d.ts +31 -0
- package/dist/pb/_generated/sagittarius_rails.token_pb.d.ts +93 -0
- package/dist/pb/_generated/shared.flow_pb.d.ts +42 -26
- package/dist/pb/_generated/shared.struct_pb.d.ts +1 -1
- package/dist/pb/sagittarius_gateway.d.ts +8 -0
- package/dist/pb/sagittarius_rails.d.ts +10 -0
- package/dist/{rpc-interceptor-giFADd4b.cjs → rpc-interceptor-D-IMsC9l.cjs} +1 -1
- package/dist/{rpc-interceptor-d3qh7P9n.js → rpc-interceptor-D0l4GO-c.js} +1 -1
- package/dist/sagittarius_gateway.cjs.js +1 -0
- package/dist/sagittarius_gateway.d.ts +2 -0
- package/dist/sagittarius_gateway.es.js +793 -0
- package/dist/sagittarius_rails.cjs.js +1 -0
- package/dist/sagittarius_rails.d.ts +2 -0
- package/dist/sagittarius_rails.es.js +558 -0
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +3 -4
- package/dist/shared.function_pb-BxQgyP8l.cjs +2 -0
- package/dist/{shared.function_pb-Caz-4jvi.js → shared.function_pb-CPUNe7pa.js} +1537 -485
- package/dist/shared.runtime_status_pb-5unRZGw5.js +1650 -0
- package/dist/{shared.runtime_status_pb-BEEvFfe8.cjs → shared.runtime_status_pb-BlKabFnb.cjs} +1 -1
- package/dist/velorum.cjs.js +1 -1
- package/dist/velorum.es.js +114 -115
- package/package.json +13 -7
- package/dist/pb/_generated/sagittarius.flow_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.ping_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.ping_pb.d.ts +0 -26
- package/dist/pb/_generated/sagittarius.text_execution_pb.client.d.ts +0 -27
- package/dist/pb/sagittarius.d.ts +0 -10
- package/dist/sagittarius.cjs.js +0 -1
- package/dist/sagittarius.d.ts +0 -2
- package/dist/sagittarius.es.js +0 -553
- package/dist/shared.flow_pb-DdVuFKPW.js +0 -1019
- package/dist/shared.flow_pb-clFvPGyv.cjs +0 -1
- package/dist/shared.function_pb-C8cj-NCz.cjs +0 -2
- package/dist/shared.runtime_status_pb-D7hH22xO.js +0 -1650
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-BxQgyP8l.cjs"),t=require("./shared.runtime_status_pb-BlKabFnb.cjs"),n=require("./rpc-interceptor-D-IMsC9l.cjs");var r=new class extends e.N{constructor(){super(`sagittarius_rails.FlowLogonRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},i=new class extends e.N{constructor(){super(`sagittarius_rails.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>e.b},{no:2,name:`deleted_flow_id`,kind:`scalar`,oneof:`data`,T:3,L:0},{no:3,name:`flows`,kind:`message`,oneof:`data`,T:()=>e.l}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.data={oneofKind:`updatedFlow`,updatedFlow:e.b.internalBinaryRead(t,t.uint32(),r,a.data.updatedFlow)};break;case 2:a.data={oneofKind:`deletedFlowId`,deletedFlowId:t.int64().toBigInt()};break;case 3:a.data={oneofKind:`flows`,flows:e.l.internalBinaryRead(t,t.uint32(),r,a.data.flows)};break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.data.oneofKind===`updatedFlow`&&e.b.internalBinaryWrite(t.data.updatedFlow,n.tag(1,e.R.LengthDelimited).fork(),r).join(),t.data.oneofKind===`deletedFlowId`&&n.tag(2,e.R.Varint).int64(t.data.deletedFlowId),t.data.oneofKind===`flows`&&e.l.internalBinaryWrite(t.data.flows,n.tag(3,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},a=new n.n(`sagittarius_rails.FlowService`,[{name:`Update`,options:{},I:r,O:i}]),o=class{constructor(e){this._transport=e,this.typeName=a.typeName,this.methods=a.methods,this.options=a.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},s=new class extends e.N{constructor(){super(`sagittarius_rails.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.i},{no:2,name:`available_definition_sources`,kind:`scalar`,repeat:2,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],n.availableDefinitionSources=[],t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.modules.push(t.i.internalBinaryRead(n,n.uint32(),i));break;case 2:o.availableDefinitionSources.push(n.string());break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){for(let a=0;a<n.modules.length;a++)t.i.internalBinaryWrite(n.modules[a],r.tag(1,e.R.LengthDelimited).fork(),i).join();for(let t=0;t<n.availableDefinitionSources.length;t++)r.tag(2,e.R.LengthDelimited).string(n.availableDefinitionSources[t]);let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},c=new class extends e.N{constructor(){super(`sagittarius_rails.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.b.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.b.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},l=new n.n(`sagittarius_rails.ModuleService`,[{name:`Update`,options:{},I:s,O:c}]),u=class{constructor(e){this._transport=e,this.typeName=l.typeName,this.methods=l.methods,this.options=l.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},d=new class extends e.N{constructor(){super(`sagittarius_rails.RuntimeStatusUpdateRequest`,[{no:1,name:`status`,kind:`message`,T:()=>t.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.status=t.t.internalBinaryRead(n,n.uint32(),i,o.status);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.status&&t.t.internalBinaryWrite(n.status,r.tag(1,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},f=new class extends e.N{constructor(){super(`sagittarius_rails.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.b.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.b.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},p=new n.n(`sagittarius_rails.RuntimeStatusService`,[{name:`Update`,options:{},I:d,O:f}]),m=class{constructor(e){this._transport=e,this.typeName=p.typeName,this.methods=p.methods,this.options=p.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},h=new class extends e.N{constructor(){super(`sagittarius_rails.ExecutionRequest`,[{no:1,name:`response`,kind:`message`,T:()=>t.h}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.response=t.h.internalBinaryRead(n,n.uint32(),i,o.response);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.response&&t.h.internalBinaryWrite(n.response,r.tag(1,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},g=new class extends e.N{constructor(){super(`sagittarius_rails.ExecutionResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.b.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.b.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},_=new n.n(`sagittarius_rails.ExecutionService`,[{name:`Update`,options:{},I:h,O:g}]),v=class{constructor(e){this._transport=e,this.typeName=_.typeName,this.methods=_.methods,this.options=_.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},y=new class extends e.N{constructor(){super(`sagittarius_rails.TokenVerifyRequest`,[{no:1,name:`token`,kind:`scalar`,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.token=``,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.token=t.string();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.token!==``&&n.tag(1,e.R.LengthDelimited).string(t.token);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},b=new class extends e.N{constructor(){super(`sagittarius_rails.TokenVerifyResponse`,[{no:1,name:`verified`,kind:`message`,oneof:`data`,T:()=>x},{no:2,name:`unverified`,kind:`message`,oneof:`data`,T:()=>S}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.data={oneofKind:`verified`,verified:x.internalBinaryRead(t,t.uint32(),r,a.data.verified)};break;case 2:a.data={oneofKind:`unverified`,unverified:S.internalBinaryRead(t,t.uint32(),r,a.data.unverified)};break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.data.oneofKind===`verified`&&x.internalBinaryWrite(t.data.verified,n.tag(1,e.R.LengthDelimited).fork(),r).join(),t.data.oneofKind===`unverified`&&S.internalBinaryWrite(t.data.unverified,n.tag(2,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},x=new class extends e.N{constructor(){super(`sagittarius_rails.VerifiedRuntime`,[{no:1,name:`runtime_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeId=0n,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.runtimeId=t.int64().toBigInt();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.runtimeId!==0n&&n.tag(1,e.R.Varint).int64(t.runtimeId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},S=new class extends e.N{constructor(){super(`sagittarius_rails.UnverifiedRuntime`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},C=new n.n(`sagittarius_rails.TokenService`,[{name:`Verify`,options:{},I:y,O:b}]),w=class{constructor(e){this._transport=e,this.typeName=C.typeName,this.methods=C.methods,this.options=C.options}verify(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}};exports.ExecutionRequest=h,exports.ExecutionResponse=g,exports.ExecutionService=_,exports.ExecutionServiceClient=v,exports.FlowLogonRequest=r,exports.FlowResponse=i,exports.FlowService=a,exports.FlowServiceClient=o,exports.ModuleService=l,exports.ModuleServiceClient=u,exports.ModuleUpdateRequest=s,exports.ModuleUpdateResponse=c,exports.RuntimeStatusService=p,exports.RuntimeStatusServiceClient=m,exports.RuntimeStatusUpdateRequest=d,exports.RuntimeStatusUpdateResponse=f,exports.TokenService=C,exports.TokenServiceClient=w,exports.TokenVerifyRequest=y,exports.TokenVerifyResponse=b,exports.UnverifiedRuntime=S,exports.VerifiedRuntime=x;
|
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
import { L as e, N as t, P as n, R as r, b as i, l as a } from "./shared.function_pb-CPUNe7pa.js";
|
|
2
|
+
import { b as o, h as s, i as c, t as l } from "./shared.runtime_status_pb-5unRZGw5.js";
|
|
3
|
+
import { n as u, t as d } from "./rpc-interceptor-D0l4GO-c.js";
|
|
4
|
+
var f = new class extends t {
|
|
5
|
+
constructor() {
|
|
6
|
+
super("sagittarius_rails.FlowLogonRequest", []);
|
|
7
|
+
}
|
|
8
|
+
create(e) {
|
|
9
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
10
|
+
return e !== void 0 && n(this, t, e), t;
|
|
11
|
+
}
|
|
12
|
+
internalBinaryRead(t, n, r, i) {
|
|
13
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
14
|
+
for (; t.pos < o;) {
|
|
15
|
+
let [n, i] = t.tag();
|
|
16
|
+
switch (n) {
|
|
17
|
+
default:
|
|
18
|
+
let o = r.readUnknownField;
|
|
19
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
20
|
+
let s = t.skip(i);
|
|
21
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return a;
|
|
25
|
+
}
|
|
26
|
+
internalBinaryWrite(t, n, r) {
|
|
27
|
+
let i = r.writeUnknownFields;
|
|
28
|
+
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
29
|
+
}
|
|
30
|
+
}(), p = new class extends t {
|
|
31
|
+
constructor() {
|
|
32
|
+
super("sagittarius_rails.FlowResponse", [
|
|
33
|
+
{
|
|
34
|
+
no: 1,
|
|
35
|
+
name: "updated_flow",
|
|
36
|
+
kind: "message",
|
|
37
|
+
oneof: "data",
|
|
38
|
+
T: () => i
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
no: 2,
|
|
42
|
+
name: "deleted_flow_id",
|
|
43
|
+
kind: "scalar",
|
|
44
|
+
oneof: "data",
|
|
45
|
+
T: 3,
|
|
46
|
+
L: 0
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
no: 3,
|
|
50
|
+
name: "flows",
|
|
51
|
+
kind: "message",
|
|
52
|
+
oneof: "data",
|
|
53
|
+
T: () => a
|
|
54
|
+
}
|
|
55
|
+
]);
|
|
56
|
+
}
|
|
57
|
+
create(e) {
|
|
58
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
59
|
+
return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
|
|
60
|
+
}
|
|
61
|
+
internalBinaryRead(t, n, r, o) {
|
|
62
|
+
let s = o ?? this.create(), c = t.pos + n;
|
|
63
|
+
for (; t.pos < c;) {
|
|
64
|
+
let [n, o] = t.tag();
|
|
65
|
+
switch (n) {
|
|
66
|
+
case 1:
|
|
67
|
+
s.data = {
|
|
68
|
+
oneofKind: "updatedFlow",
|
|
69
|
+
updatedFlow: i.internalBinaryRead(t, t.uint32(), r, s.data.updatedFlow)
|
|
70
|
+
};
|
|
71
|
+
break;
|
|
72
|
+
case 2:
|
|
73
|
+
s.data = {
|
|
74
|
+
oneofKind: "deletedFlowId",
|
|
75
|
+
deletedFlowId: t.int64().toBigInt()
|
|
76
|
+
};
|
|
77
|
+
break;
|
|
78
|
+
case 3:
|
|
79
|
+
s.data = {
|
|
80
|
+
oneofKind: "flows",
|
|
81
|
+
flows: a.internalBinaryRead(t, t.uint32(), r, s.data.flows)
|
|
82
|
+
};
|
|
83
|
+
break;
|
|
84
|
+
default:
|
|
85
|
+
let c = r.readUnknownField;
|
|
86
|
+
if (c === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${o}) for ${this.typeName}`);
|
|
87
|
+
let l = t.skip(o);
|
|
88
|
+
c !== !1 && (c === !0 ? e.onRead : c)(this.typeName, s, n, o, l);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return s;
|
|
92
|
+
}
|
|
93
|
+
internalBinaryWrite(t, n, o) {
|
|
94
|
+
t.data.oneofKind === "updatedFlow" && i.internalBinaryWrite(t.data.updatedFlow, n.tag(1, r.LengthDelimited).fork(), o).join(), t.data.oneofKind === "deletedFlowId" && n.tag(2, r.Varint).int64(t.data.deletedFlowId), t.data.oneofKind === "flows" && a.internalBinaryWrite(t.data.flows, n.tag(3, r.LengthDelimited).fork(), o).join();
|
|
95
|
+
let s = o.writeUnknownFields;
|
|
96
|
+
return s !== !1 && (s == 1 ? e.onWrite : s)(this.typeName, t, n), n;
|
|
97
|
+
}
|
|
98
|
+
}(), m = new u("sagittarius_rails.FlowService", [{
|
|
99
|
+
name: "Update",
|
|
100
|
+
options: {},
|
|
101
|
+
I: f,
|
|
102
|
+
O: p
|
|
103
|
+
}]), h = class {
|
|
104
|
+
constructor(e) {
|
|
105
|
+
this._transport = e, this.typeName = m.typeName, this.methods = m.methods, this.options = m.options;
|
|
106
|
+
}
|
|
107
|
+
update(e, t) {
|
|
108
|
+
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
109
|
+
return d("unary", this._transport, n, r, e);
|
|
110
|
+
}
|
|
111
|
+
}, g = new class extends t {
|
|
112
|
+
constructor() {
|
|
113
|
+
super("sagittarius_rails.ModuleUpdateRequest", [{
|
|
114
|
+
no: 1,
|
|
115
|
+
name: "modules",
|
|
116
|
+
kind: "message",
|
|
117
|
+
repeat: 2,
|
|
118
|
+
T: () => c
|
|
119
|
+
}, {
|
|
120
|
+
no: 2,
|
|
121
|
+
name: "available_definition_sources",
|
|
122
|
+
kind: "scalar",
|
|
123
|
+
repeat: 2,
|
|
124
|
+
T: 9
|
|
125
|
+
}]);
|
|
126
|
+
}
|
|
127
|
+
create(e) {
|
|
128
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
129
|
+
return t.modules = [], t.availableDefinitionSources = [], e !== void 0 && n(this, t, e), t;
|
|
130
|
+
}
|
|
131
|
+
internalBinaryRead(t, n, r, i) {
|
|
132
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
133
|
+
for (; t.pos < o;) {
|
|
134
|
+
let [n, i] = t.tag();
|
|
135
|
+
switch (n) {
|
|
136
|
+
case 1:
|
|
137
|
+
a.modules.push(c.internalBinaryRead(t, t.uint32(), r));
|
|
138
|
+
break;
|
|
139
|
+
case 2:
|
|
140
|
+
a.availableDefinitionSources.push(t.string());
|
|
141
|
+
break;
|
|
142
|
+
default:
|
|
143
|
+
let o = r.readUnknownField;
|
|
144
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
145
|
+
let s = t.skip(i);
|
|
146
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
return a;
|
|
150
|
+
}
|
|
151
|
+
internalBinaryWrite(t, n, i) {
|
|
152
|
+
for (let e = 0; e < t.modules.length; e++) c.internalBinaryWrite(t.modules[e], n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
153
|
+
for (let e = 0; e < t.availableDefinitionSources.length; e++) n.tag(2, r.LengthDelimited).string(t.availableDefinitionSources[e]);
|
|
154
|
+
let a = i.writeUnknownFields;
|
|
155
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
156
|
+
}
|
|
157
|
+
}(), _ = new class extends t {
|
|
158
|
+
constructor() {
|
|
159
|
+
super("sagittarius_rails.ModuleUpdateResponse", [{
|
|
160
|
+
no: 1,
|
|
161
|
+
name: "success",
|
|
162
|
+
kind: "scalar",
|
|
163
|
+
T: 8
|
|
164
|
+
}, {
|
|
165
|
+
no: 2,
|
|
166
|
+
name: "error",
|
|
167
|
+
kind: "message",
|
|
168
|
+
T: () => o
|
|
169
|
+
}]);
|
|
170
|
+
}
|
|
171
|
+
create(e) {
|
|
172
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
173
|
+
return t.success = !1, e !== void 0 && n(this, t, e), t;
|
|
174
|
+
}
|
|
175
|
+
internalBinaryRead(t, n, r, i) {
|
|
176
|
+
let a = i ?? this.create(), s = t.pos + n;
|
|
177
|
+
for (; t.pos < s;) {
|
|
178
|
+
let [n, i] = t.tag();
|
|
179
|
+
switch (n) {
|
|
180
|
+
case 1:
|
|
181
|
+
a.success = t.bool();
|
|
182
|
+
break;
|
|
183
|
+
case 2:
|
|
184
|
+
a.error = o.internalBinaryRead(t, t.uint32(), r, a.error);
|
|
185
|
+
break;
|
|
186
|
+
default:
|
|
187
|
+
let s = r.readUnknownField;
|
|
188
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
189
|
+
let c = t.skip(i);
|
|
190
|
+
s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, a, n, i, c);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
return a;
|
|
194
|
+
}
|
|
195
|
+
internalBinaryWrite(t, n, i) {
|
|
196
|
+
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error && o.internalBinaryWrite(t.error, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
197
|
+
let a = i.writeUnknownFields;
|
|
198
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
199
|
+
}
|
|
200
|
+
}(), v = new u("sagittarius_rails.ModuleService", [{
|
|
201
|
+
name: "Update",
|
|
202
|
+
options: {},
|
|
203
|
+
I: g,
|
|
204
|
+
O: _
|
|
205
|
+
}]), y = class {
|
|
206
|
+
constructor(e) {
|
|
207
|
+
this._transport = e, this.typeName = v.typeName, this.methods = v.methods, this.options = v.options;
|
|
208
|
+
}
|
|
209
|
+
update(e, t) {
|
|
210
|
+
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
211
|
+
return d("unary", this._transport, n, r, e);
|
|
212
|
+
}
|
|
213
|
+
}, b = new class extends t {
|
|
214
|
+
constructor() {
|
|
215
|
+
super("sagittarius_rails.RuntimeStatusUpdateRequest", [{
|
|
216
|
+
no: 1,
|
|
217
|
+
name: "status",
|
|
218
|
+
kind: "message",
|
|
219
|
+
T: () => l
|
|
220
|
+
}]);
|
|
221
|
+
}
|
|
222
|
+
create(e) {
|
|
223
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
224
|
+
return e !== void 0 && n(this, t, e), t;
|
|
225
|
+
}
|
|
226
|
+
internalBinaryRead(t, n, r, i) {
|
|
227
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
228
|
+
for (; t.pos < o;) {
|
|
229
|
+
let [n, i] = t.tag();
|
|
230
|
+
switch (n) {
|
|
231
|
+
case 1:
|
|
232
|
+
a.status = l.internalBinaryRead(t, t.uint32(), r, a.status);
|
|
233
|
+
break;
|
|
234
|
+
default:
|
|
235
|
+
let o = r.readUnknownField;
|
|
236
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
237
|
+
let s = t.skip(i);
|
|
238
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
return a;
|
|
242
|
+
}
|
|
243
|
+
internalBinaryWrite(t, n, i) {
|
|
244
|
+
t.status && l.internalBinaryWrite(t.status, n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
245
|
+
let a = i.writeUnknownFields;
|
|
246
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
247
|
+
}
|
|
248
|
+
}(), x = new class extends t {
|
|
249
|
+
constructor() {
|
|
250
|
+
super("sagittarius_rails.RuntimeStatusUpdateResponse", [{
|
|
251
|
+
no: 1,
|
|
252
|
+
name: "success",
|
|
253
|
+
kind: "scalar",
|
|
254
|
+
T: 8
|
|
255
|
+
}, {
|
|
256
|
+
no: 2,
|
|
257
|
+
name: "error",
|
|
258
|
+
kind: "message",
|
|
259
|
+
T: () => o
|
|
260
|
+
}]);
|
|
261
|
+
}
|
|
262
|
+
create(e) {
|
|
263
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
264
|
+
return t.success = !1, e !== void 0 && n(this, t, e), t;
|
|
265
|
+
}
|
|
266
|
+
internalBinaryRead(t, n, r, i) {
|
|
267
|
+
let a = i ?? this.create(), s = t.pos + n;
|
|
268
|
+
for (; t.pos < s;) {
|
|
269
|
+
let [n, i] = t.tag();
|
|
270
|
+
switch (n) {
|
|
271
|
+
case 1:
|
|
272
|
+
a.success = t.bool();
|
|
273
|
+
break;
|
|
274
|
+
case 2:
|
|
275
|
+
a.error = o.internalBinaryRead(t, t.uint32(), r, a.error);
|
|
276
|
+
break;
|
|
277
|
+
default:
|
|
278
|
+
let s = r.readUnknownField;
|
|
279
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
280
|
+
let c = t.skip(i);
|
|
281
|
+
s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, a, n, i, c);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
return a;
|
|
285
|
+
}
|
|
286
|
+
internalBinaryWrite(t, n, i) {
|
|
287
|
+
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error && o.internalBinaryWrite(t.error, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
288
|
+
let a = i.writeUnknownFields;
|
|
289
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
290
|
+
}
|
|
291
|
+
}(), S = new u("sagittarius_rails.RuntimeStatusService", [{
|
|
292
|
+
name: "Update",
|
|
293
|
+
options: {},
|
|
294
|
+
I: b,
|
|
295
|
+
O: x
|
|
296
|
+
}]), C = class {
|
|
297
|
+
constructor(e) {
|
|
298
|
+
this._transport = e, this.typeName = S.typeName, this.methods = S.methods, this.options = S.options;
|
|
299
|
+
}
|
|
300
|
+
update(e, t) {
|
|
301
|
+
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
302
|
+
return d("unary", this._transport, n, r, e);
|
|
303
|
+
}
|
|
304
|
+
}, w = new class extends t {
|
|
305
|
+
constructor() {
|
|
306
|
+
super("sagittarius_rails.ExecutionRequest", [{
|
|
307
|
+
no: 1,
|
|
308
|
+
name: "response",
|
|
309
|
+
kind: "message",
|
|
310
|
+
T: () => s
|
|
311
|
+
}]);
|
|
312
|
+
}
|
|
313
|
+
create(e) {
|
|
314
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
315
|
+
return e !== void 0 && n(this, t, e), t;
|
|
316
|
+
}
|
|
317
|
+
internalBinaryRead(t, n, r, i) {
|
|
318
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
319
|
+
for (; t.pos < o;) {
|
|
320
|
+
let [n, i] = t.tag();
|
|
321
|
+
switch (n) {
|
|
322
|
+
case 1:
|
|
323
|
+
a.response = s.internalBinaryRead(t, t.uint32(), r, a.response);
|
|
324
|
+
break;
|
|
325
|
+
default:
|
|
326
|
+
let o = r.readUnknownField;
|
|
327
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
328
|
+
let c = t.skip(i);
|
|
329
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, c);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
return a;
|
|
333
|
+
}
|
|
334
|
+
internalBinaryWrite(t, n, i) {
|
|
335
|
+
t.response && s.internalBinaryWrite(t.response, n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
336
|
+
let a = i.writeUnknownFields;
|
|
337
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
338
|
+
}
|
|
339
|
+
}(), T = new class extends t {
|
|
340
|
+
constructor() {
|
|
341
|
+
super("sagittarius_rails.ExecutionResponse", [{
|
|
342
|
+
no: 1,
|
|
343
|
+
name: "success",
|
|
344
|
+
kind: "scalar",
|
|
345
|
+
T: 8
|
|
346
|
+
}, {
|
|
347
|
+
no: 2,
|
|
348
|
+
name: "error",
|
|
349
|
+
kind: "message",
|
|
350
|
+
T: () => o
|
|
351
|
+
}]);
|
|
352
|
+
}
|
|
353
|
+
create(e) {
|
|
354
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
355
|
+
return t.success = !1, e !== void 0 && n(this, t, e), t;
|
|
356
|
+
}
|
|
357
|
+
internalBinaryRead(t, n, r, i) {
|
|
358
|
+
let a = i ?? this.create(), s = t.pos + n;
|
|
359
|
+
for (; t.pos < s;) {
|
|
360
|
+
let [n, i] = t.tag();
|
|
361
|
+
switch (n) {
|
|
362
|
+
case 1:
|
|
363
|
+
a.success = t.bool();
|
|
364
|
+
break;
|
|
365
|
+
case 2:
|
|
366
|
+
a.error = o.internalBinaryRead(t, t.uint32(), r, a.error);
|
|
367
|
+
break;
|
|
368
|
+
default:
|
|
369
|
+
let s = r.readUnknownField;
|
|
370
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
371
|
+
let c = t.skip(i);
|
|
372
|
+
s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, a, n, i, c);
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
return a;
|
|
376
|
+
}
|
|
377
|
+
internalBinaryWrite(t, n, i) {
|
|
378
|
+
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error && o.internalBinaryWrite(t.error, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
379
|
+
let a = i.writeUnknownFields;
|
|
380
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
381
|
+
}
|
|
382
|
+
}(), E = new u("sagittarius_rails.ExecutionService", [{
|
|
383
|
+
name: "Update",
|
|
384
|
+
options: {},
|
|
385
|
+
I: w,
|
|
386
|
+
O: T
|
|
387
|
+
}]), D = class {
|
|
388
|
+
constructor(e) {
|
|
389
|
+
this._transport = e, this.typeName = E.typeName, this.methods = E.methods, this.options = E.options;
|
|
390
|
+
}
|
|
391
|
+
update(e, t) {
|
|
392
|
+
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
393
|
+
return d("unary", this._transport, n, r, e);
|
|
394
|
+
}
|
|
395
|
+
}, O = new class extends t {
|
|
396
|
+
constructor() {
|
|
397
|
+
super("sagittarius_rails.TokenVerifyRequest", [{
|
|
398
|
+
no: 1,
|
|
399
|
+
name: "token",
|
|
400
|
+
kind: "scalar",
|
|
401
|
+
T: 9
|
|
402
|
+
}]);
|
|
403
|
+
}
|
|
404
|
+
create(e) {
|
|
405
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
406
|
+
return t.token = "", e !== void 0 && n(this, t, e), t;
|
|
407
|
+
}
|
|
408
|
+
internalBinaryRead(t, n, r, i) {
|
|
409
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
410
|
+
for (; t.pos < o;) {
|
|
411
|
+
let [n, i] = t.tag();
|
|
412
|
+
switch (n) {
|
|
413
|
+
case 1:
|
|
414
|
+
a.token = t.string();
|
|
415
|
+
break;
|
|
416
|
+
default:
|
|
417
|
+
let o = r.readUnknownField;
|
|
418
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
419
|
+
let s = t.skip(i);
|
|
420
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
return a;
|
|
424
|
+
}
|
|
425
|
+
internalBinaryWrite(t, n, i) {
|
|
426
|
+
t.token !== "" && n.tag(1, r.LengthDelimited).string(t.token);
|
|
427
|
+
let a = i.writeUnknownFields;
|
|
428
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
429
|
+
}
|
|
430
|
+
}(), k = new class extends t {
|
|
431
|
+
constructor() {
|
|
432
|
+
super("sagittarius_rails.TokenVerifyResponse", [{
|
|
433
|
+
no: 1,
|
|
434
|
+
name: "verified",
|
|
435
|
+
kind: "message",
|
|
436
|
+
oneof: "data",
|
|
437
|
+
T: () => A
|
|
438
|
+
}, {
|
|
439
|
+
no: 2,
|
|
440
|
+
name: "unverified",
|
|
441
|
+
kind: "message",
|
|
442
|
+
oneof: "data",
|
|
443
|
+
T: () => j
|
|
444
|
+
}]);
|
|
445
|
+
}
|
|
446
|
+
create(e) {
|
|
447
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
448
|
+
return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
|
|
449
|
+
}
|
|
450
|
+
internalBinaryRead(t, n, r, i) {
|
|
451
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
452
|
+
for (; t.pos < o;) {
|
|
453
|
+
let [n, i] = t.tag();
|
|
454
|
+
switch (n) {
|
|
455
|
+
case 1:
|
|
456
|
+
a.data = {
|
|
457
|
+
oneofKind: "verified",
|
|
458
|
+
verified: A.internalBinaryRead(t, t.uint32(), r, a.data.verified)
|
|
459
|
+
};
|
|
460
|
+
break;
|
|
461
|
+
case 2:
|
|
462
|
+
a.data = {
|
|
463
|
+
oneofKind: "unverified",
|
|
464
|
+
unverified: j.internalBinaryRead(t, t.uint32(), r, a.data.unverified)
|
|
465
|
+
};
|
|
466
|
+
break;
|
|
467
|
+
default:
|
|
468
|
+
let o = r.readUnknownField;
|
|
469
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
470
|
+
let s = t.skip(i);
|
|
471
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
return a;
|
|
475
|
+
}
|
|
476
|
+
internalBinaryWrite(t, n, i) {
|
|
477
|
+
t.data.oneofKind === "verified" && A.internalBinaryWrite(t.data.verified, n.tag(1, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "unverified" && j.internalBinaryWrite(t.data.unverified, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
478
|
+
let a = i.writeUnknownFields;
|
|
479
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
480
|
+
}
|
|
481
|
+
}(), A = new class extends t {
|
|
482
|
+
constructor() {
|
|
483
|
+
super("sagittarius_rails.VerifiedRuntime", [{
|
|
484
|
+
no: 1,
|
|
485
|
+
name: "runtime_id",
|
|
486
|
+
kind: "scalar",
|
|
487
|
+
T: 3,
|
|
488
|
+
L: 0
|
|
489
|
+
}]);
|
|
490
|
+
}
|
|
491
|
+
create(e) {
|
|
492
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
493
|
+
return t.runtimeId = 0n, e !== void 0 && n(this, t, e), t;
|
|
494
|
+
}
|
|
495
|
+
internalBinaryRead(t, n, r, i) {
|
|
496
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
497
|
+
for (; t.pos < o;) {
|
|
498
|
+
let [n, i] = t.tag();
|
|
499
|
+
switch (n) {
|
|
500
|
+
case 1:
|
|
501
|
+
a.runtimeId = t.int64().toBigInt();
|
|
502
|
+
break;
|
|
503
|
+
default:
|
|
504
|
+
let o = r.readUnknownField;
|
|
505
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
506
|
+
let s = t.skip(i);
|
|
507
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
return a;
|
|
511
|
+
}
|
|
512
|
+
internalBinaryWrite(t, n, i) {
|
|
513
|
+
t.runtimeId !== 0n && n.tag(1, r.Varint).int64(t.runtimeId);
|
|
514
|
+
let a = i.writeUnknownFields;
|
|
515
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
516
|
+
}
|
|
517
|
+
}(), j = new class extends t {
|
|
518
|
+
constructor() {
|
|
519
|
+
super("sagittarius_rails.UnverifiedRuntime", []);
|
|
520
|
+
}
|
|
521
|
+
create(e) {
|
|
522
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
523
|
+
return e !== void 0 && n(this, t, e), t;
|
|
524
|
+
}
|
|
525
|
+
internalBinaryRead(t, n, r, i) {
|
|
526
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
527
|
+
for (; t.pos < o;) {
|
|
528
|
+
let [n, i] = t.tag();
|
|
529
|
+
switch (n) {
|
|
530
|
+
default:
|
|
531
|
+
let o = r.readUnknownField;
|
|
532
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
533
|
+
let s = t.skip(i);
|
|
534
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
return a;
|
|
538
|
+
}
|
|
539
|
+
internalBinaryWrite(t, n, r) {
|
|
540
|
+
let i = r.writeUnknownFields;
|
|
541
|
+
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
542
|
+
}
|
|
543
|
+
}(), M = new u("sagittarius_rails.TokenService", [{
|
|
544
|
+
name: "Verify",
|
|
545
|
+
options: {},
|
|
546
|
+
I: O,
|
|
547
|
+
O: k
|
|
548
|
+
}]), N = class {
|
|
549
|
+
constructor(e) {
|
|
550
|
+
this._transport = e, this.typeName = M.typeName, this.methods = M.methods, this.options = M.options;
|
|
551
|
+
}
|
|
552
|
+
verify(e, t) {
|
|
553
|
+
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
554
|
+
return d("unary", this._transport, n, r, e);
|
|
555
|
+
}
|
|
556
|
+
};
|
|
557
|
+
//#endregion
|
|
558
|
+
export { w as ExecutionRequest, T as ExecutionResponse, E as ExecutionService, D as ExecutionServiceClient, f as FlowLogonRequest, p as FlowResponse, m as FlowService, h as FlowServiceClient, v as ModuleService, y as ModuleServiceClient, g as ModuleUpdateRequest, _ as ModuleUpdateResponse, S as RuntimeStatusService, C as RuntimeStatusServiceClient, b as RuntimeStatusUpdateRequest, x as RuntimeStatusUpdateResponse, M as TokenService, N as TokenServiceClient, O as TokenVerifyRequest, k as TokenVerifyResponse, j as UnverifiedRuntime, A as VerifiedRuntime };
|
package/dist/shared.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-BxQgyP8l.cjs"),t=require("./shared.runtime_status_pb-BlKabFnb.cjs");exports.DataTypeNumberRangeRuleConfig=e.E,exports.DataTypeRegexRuleConfig=e.D,exports.DefinitionDataType=e.O,exports.DefinitionDataTypeRule=e.k,exports.Endpoint=t.r,exports.Error=t.v,exports.ExecutionDataType=e.A,exports.ExecutionDataTypeRule=e.j,exports.ExecutionFlow=e.o,exports.ExecutionResult=t.h,exports.FlowInput=e.s,exports.FlowSetting=e.c,exports.FlowType=e.r,exports.FlowTypeSetting=e.i,exports.FlowTypeSetting_UniquenessScope=e.a,exports.Flows=e.l,exports.FunctionDefinition=e.t,exports.GenerationFlow=e.u,exports.InputType=e.d,exports.ListValue=e.x,exports.Module=t.i,exports.ModuleConfiguration=t.a,exports.ModuleConfigurationDefinition=t.o,exports.ModuleConfigurations=t.s,exports.ModuleDefinition=t.c,exports.ModuleProjectConfigurations=t.l,exports.ModuleStatus=t.t,exports.ModuleStatus_StatusVariant=t.n,exports.NodeExecutionResult=t.g,exports.NodeFunction=e.f,exports.NodeParameter=e.p,exports.NodeParameterNodeExecutionResult=t._,exports.NodeValue=e.m,exports.NullValue=e.S,exports.NumberValue=e.C,exports.ParameterDefinition=e.n,exports.ReferencePath=e.h,exports.ReferenceValue=e.g,exports.RuntimeFlowType=t.u,exports.RuntimeFlowTypeSetting=t.d,exports.RuntimeFlowTypeSetting_UniquenessScope=t.f,exports.RuntimeFunctionDefinition=t.p,exports.RuntimeParameterDefinition=t.m,exports.ServiceActiveModelError=t.y,exports.ServiceError=t.b,exports.ServiceErrorDetails=t.x,exports.Struct=e.w,exports.SubFlow=e._,exports.SubFlowFunction=e.v,exports.SubFlowSetting=e.y,exports.Translation=e.M,exports.ValidationFlow=e.b,exports.Value=e.T;
|
package/dist/shared.es.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _, a as
|
|
3
|
-
|
|
4
|
-
export { r as DataTypeNumberRangeRuleConfig, i as DataTypeRegexRuleConfig, f as DefinitionDataType, l as DefinitionDataTypeRule, j as Endpoint, F as Error, o as ExecutionDataType, a as ExecutionDataTypeRule, Z as ExecutionFlow, w as ExecutionResult, K as FlowInput, Y as FlowSetting, p as FlowType, s as FlowTypeSetting, t as FlowTypeSetting_UniquenessScope, U as Flows, h as FunctionDefinition, R as GenerationFlow, q as InputType, d as ListValue, T as Module, v as ModuleConfiguration, k as ModuleConfigurationDefinition, M as ModuleConfigurations, b as ModuleDefinition, E as ModuleProjectConfigurations, N as ModuleStatus, O as ModuleStatus_StatusVariant, C as NodeExecutionResult, X as NodeFunction, z as NodeParameter, _ as NodeParameterNodeExecutionResult, W as NodeValue, m as NullValue, n as NumberValue, u as ParameterDefinition, Q as ReferencePath, B as ReferenceValue, P as RuntimeFlowType, x as RuntimeFlowTypeSetting, S as RuntimeFlowTypeSetting_UniquenessScope, A as RuntimeFunctionDefinition, D as RuntimeParameterDefinition, L as ServiceActiveModelError, y as ServiceError, I as ServiceErrorDetails, c as Struct, V as SubFlow, J as SubFlowSetting, G as SubFlow_SubFlowFunction, e as Translation, H as ValidationFlow, g as Value };
|
|
1
|
+
import { A as e, C as t, D as n, E as r, M as i, O as a, S as o, T as s, _ as c, a as l, b as u, c as d, d as f, f as p, g as m, h, i as g, j as _, k as v, l as y, m as b, n as x, o as S, p as C, r as w, s as T, t as E, u as D, v as O, w as k, x as A, y as j } from "./shared.function_pb-CPUNe7pa.js";
|
|
2
|
+
import { _ as M, a as N, b as P, c as F, d as I, f as L, g as R, h as z, i as B, l as V, m as H, n as U, o as W, p as G, r as K, s as q, t as J, u as Y, v as X, x as Z, y as Q } from "./shared.runtime_status_pb-5unRZGw5.js";
|
|
3
|
+
export { r as DataTypeNumberRangeRuleConfig, n as DataTypeRegexRuleConfig, a as DefinitionDataType, v as DefinitionDataTypeRule, K as Endpoint, X as Error, e as ExecutionDataType, _ as ExecutionDataTypeRule, S as ExecutionFlow, z as ExecutionResult, T as FlowInput, d as FlowSetting, w as FlowType, g as FlowTypeSetting, l as FlowTypeSetting_UniquenessScope, y as Flows, E as FunctionDefinition, D as GenerationFlow, f as InputType, A as ListValue, B as Module, N as ModuleConfiguration, W as ModuleConfigurationDefinition, q as ModuleConfigurations, F as ModuleDefinition, V as ModuleProjectConfigurations, J as ModuleStatus, U as ModuleStatus_StatusVariant, R as NodeExecutionResult, p as NodeFunction, C as NodeParameter, M as NodeParameterNodeExecutionResult, b as NodeValue, o as NullValue, t as NumberValue, x as ParameterDefinition, h as ReferencePath, m as ReferenceValue, Y as RuntimeFlowType, I as RuntimeFlowTypeSetting, L as RuntimeFlowTypeSetting_UniquenessScope, G as RuntimeFunctionDefinition, H as RuntimeParameterDefinition, Q as ServiceActiveModelError, P as ServiceError, Z as ServiceErrorDetails, k as Struct, c as SubFlow, O as SubFlowFunction, j as SubFlowSetting, i as Translation, u as ValidationFlow, s as Value };
|