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