space-data-module-sdk 0.1.0
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/README.md +139 -0
- package/bin/space-data-module.js +230 -0
- package/package.json +40 -0
- package/schemas/PluginManifest.fbs +144 -0
- package/schemas/TypedArenaBuffer.fbs +78 -0
- package/src/auth/canonicalize.js +72 -0
- package/src/auth/index.js +10 -0
- package/src/auth/permissions.js +190 -0
- package/src/compiler/compileModule.js +237 -0
- package/src/compiler/index.js +7 -0
- package/src/compliance/index.js +56 -0
- package/src/compliance/pluginCompliance.js +574 -0
- package/src/embeddedManifest.js +124 -0
- package/src/generated/orbpro/manifest/accepted-type-set.d.ts +45 -0
- package/src/generated/orbpro/manifest/accepted-type-set.d.ts.map +1 -0
- package/src/generated/orbpro/manifest/accepted-type-set.js +100 -0
- package/src/generated/orbpro/manifest/accepted-type-set.js.map +1 -0
- package/src/generated/orbpro/manifest/accepted-type-set.ts +200 -0
- package/src/generated/orbpro/manifest/build-artifact.d.ts +41 -0
- package/src/generated/orbpro/manifest/build-artifact.d.ts.map +1 -0
- package/src/generated/orbpro/manifest/build-artifact.js +105 -0
- package/src/generated/orbpro/manifest/build-artifact.js.map +1 -0
- package/src/generated/orbpro/manifest/build-artifact.ts +193 -0
- package/src/generated/orbpro/manifest/capability-kind.d.ts +17 -0
- package/src/generated/orbpro/manifest/capability-kind.d.ts.map +1 -0
- package/src/generated/orbpro/manifest/capability-kind.js +20 -0
- package/src/generated/orbpro/manifest/capability-kind.js.map +1 -0
- package/src/generated/orbpro/manifest/capability-kind.ts +20 -0
- package/src/generated/orbpro/manifest/drain-policy.d.ts +9 -0
- package/src/generated/orbpro/manifest/drain-policy.d.ts.map +1 -0
- package/src/generated/orbpro/manifest/drain-policy.js +12 -0
- package/src/generated/orbpro/manifest/drain-policy.js.map +1 -0
- package/src/generated/orbpro/manifest/drain-policy.ts +12 -0
- package/src/generated/orbpro/manifest/host-capability.d.ts +36 -0
- package/src/generated/orbpro/manifest/host-capability.d.ts.map +1 -0
- package/src/generated/orbpro/manifest/host-capability.js +91 -0
- package/src/generated/orbpro/manifest/host-capability.js.map +1 -0
- package/src/generated/orbpro/manifest/host-capability.ts +161 -0
- package/src/generated/orbpro/manifest/method-manifest.d.ts +53 -0
- package/src/generated/orbpro/manifest/method-manifest.d.ts.map +1 -0
- package/src/generated/orbpro/manifest/method-manifest.js +154 -0
- package/src/generated/orbpro/manifest/method-manifest.js.map +1 -0
- package/src/generated/orbpro/manifest/method-manifest.ts +306 -0
- package/src/generated/orbpro/manifest/plugin-family.d.ts +17 -0
- package/src/generated/orbpro/manifest/plugin-family.d.ts.map +1 -0
- package/src/generated/orbpro/manifest/plugin-family.js +20 -0
- package/src/generated/orbpro/manifest/plugin-family.js.map +1 -0
- package/src/generated/orbpro/manifest/plugin-family.ts +20 -0
- package/src/generated/orbpro/manifest/plugin-manifest.d.ts +85 -0
- package/src/generated/orbpro/manifest/plugin-manifest.d.ts.map +1 -0
- package/src/generated/orbpro/manifest/plugin-manifest.js +268 -0
- package/src/generated/orbpro/manifest/plugin-manifest.js.map +1 -0
- package/src/generated/orbpro/manifest/plugin-manifest.ts +562 -0
- package/src/generated/orbpro/manifest/port-manifest.d.ts +70 -0
- package/src/generated/orbpro/manifest/port-manifest.d.ts.map +1 -0
- package/src/generated/orbpro/manifest/port-manifest.js +150 -0
- package/src/generated/orbpro/manifest/port-manifest.js.map +1 -0
- package/src/generated/orbpro/manifest/port-manifest.ts +284 -0
- package/src/generated/orbpro/manifest/protocol-spec.d.ts +41 -0
- package/src/generated/orbpro/manifest/protocol-spec.d.ts.map +1 -0
- package/src/generated/orbpro/manifest/protocol-spec.js +105 -0
- package/src/generated/orbpro/manifest/protocol-spec.js.map +1 -0
- package/src/generated/orbpro/manifest/protocol-spec.ts +205 -0
- package/src/generated/orbpro/manifest/timer-spec.d.ts +40 -0
- package/src/generated/orbpro/manifest/timer-spec.d.ts.map +1 -0
- package/src/generated/orbpro/manifest/timer-spec.js +104 -0
- package/src/generated/orbpro/manifest/timer-spec.js.map +1 -0
- package/src/generated/orbpro/manifest/timer-spec.ts +195 -0
- package/src/generated/orbpro/manifest.js +14 -0
- package/src/generated/orbpro/stream/buffer-mutability.d.ts +9 -0
- package/src/generated/orbpro/stream/buffer-mutability.d.ts.map +1 -0
- package/src/generated/orbpro/stream/buffer-mutability.js +12 -0
- package/src/generated/orbpro/stream/buffer-mutability.js.map +1 -0
- package/src/generated/orbpro/stream/buffer-mutability.ts +12 -0
- package/src/generated/orbpro/stream/buffer-ownership.d.ts +10 -0
- package/src/generated/orbpro/stream/buffer-ownership.d.ts.map +1 -0
- package/src/generated/orbpro/stream/buffer-ownership.js +13 -0
- package/src/generated/orbpro/stream/buffer-ownership.js.map +1 -0
- package/src/generated/orbpro/stream/buffer-ownership.ts +13 -0
- package/src/generated/orbpro/stream/flat-buffer-type-ref.d.ts +51 -0
- package/src/generated/orbpro/stream/flat-buffer-type-ref.d.ts.map +1 -0
- package/src/generated/orbpro/stream/flat-buffer-type-ref.js +115 -0
- package/src/generated/orbpro/stream/flat-buffer-type-ref.js.map +1 -0
- package/src/generated/orbpro/stream/flat-buffer-type-ref.ts +222 -0
- package/src/generated/orbpro/stream/typed-arena-buffer.d.ts +100 -0
- package/src/generated/orbpro/stream/typed-arena-buffer.d.ts.map +1 -0
- package/src/generated/orbpro/stream/typed-arena-buffer.js +215 -0
- package/src/generated/orbpro/stream/typed-arena-buffer.js.map +1 -0
- package/src/generated/orbpro/stream/typed-arena-buffer.ts +344 -0
- package/src/index.js +8 -0
- package/src/manifest/codec.js +40 -0
- package/src/manifest/index.js +9 -0
- package/src/manifest/normalize.js +275 -0
- package/src/runtime/bufferLike.js +28 -0
- package/src/runtime/constants.js +34 -0
- package/src/standards/index.js +153 -0
- package/src/standards/sharedCatalog.js +196 -0
- package/src/transport/index.js +8 -0
- package/src/transport/pki.js +140 -0
- package/src/utils/crypto.js +8 -0
- package/src/utils/encoding.js +54 -0
- package/src/utils/wasmCrypto.js +70 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
+
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
+
import * as flatbuffers from 'flatbuffers';
|
|
4
|
+
import { AcceptedTypeSet } from '../../orbpro/manifest/accepted-type-set.js';
|
|
5
|
+
/**
|
|
6
|
+
* One input or output port on a method.
|
|
7
|
+
*/
|
|
8
|
+
export class PortManifest {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.bb = null;
|
|
11
|
+
this.bb_pos = 0;
|
|
12
|
+
}
|
|
13
|
+
__init(i, bb) {
|
|
14
|
+
this.bb_pos = i;
|
|
15
|
+
this.bb = bb;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
static getRootAsPortManifest(bb, obj) {
|
|
19
|
+
return (obj || new PortManifest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
20
|
+
}
|
|
21
|
+
static getSizePrefixedRootAsPortManifest(bb, obj) {
|
|
22
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
23
|
+
return (obj || new PortManifest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
24
|
+
}
|
|
25
|
+
portId(optionalEncoding) {
|
|
26
|
+
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
27
|
+
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
28
|
+
}
|
|
29
|
+
displayName(optionalEncoding) {
|
|
30
|
+
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
31
|
+
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Type sets accepted on this port.
|
|
35
|
+
*/
|
|
36
|
+
acceptedTypeSets(index, obj) {
|
|
37
|
+
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
38
|
+
return offset ? (obj || new AcceptedTypeSet()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null;
|
|
39
|
+
}
|
|
40
|
+
acceptedTypeSetsLength() {
|
|
41
|
+
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
42
|
+
return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Minimum number of streams that must be connected.
|
|
46
|
+
*/
|
|
47
|
+
minStreams() {
|
|
48
|
+
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
49
|
+
return offset ? this.bb.readUint16(this.bb_pos + offset) : 1;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Maximum number of streams that may be connected.
|
|
53
|
+
*/
|
|
54
|
+
maxStreams() {
|
|
55
|
+
const offset = this.bb.__offset(this.bb_pos, 12);
|
|
56
|
+
return offset ? this.bb.readUint16(this.bb_pos + offset) : 1;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Whether the port must be connected for invocation.
|
|
60
|
+
*/
|
|
61
|
+
required() {
|
|
62
|
+
const offset = this.bb.__offset(this.bb_pos, 14);
|
|
63
|
+
return offset ? !!this.bb.readInt8(this.bb_pos + offset) : true;
|
|
64
|
+
}
|
|
65
|
+
description(optionalEncoding) {
|
|
66
|
+
const offset = this.bb.__offset(this.bb_pos, 16);
|
|
67
|
+
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
68
|
+
}
|
|
69
|
+
static startPortManifest(builder) {
|
|
70
|
+
builder.startObject(7);
|
|
71
|
+
}
|
|
72
|
+
static addPortId(builder, portIdOffset) {
|
|
73
|
+
builder.addFieldOffset(0, portIdOffset, 0);
|
|
74
|
+
}
|
|
75
|
+
static addDisplayName(builder, displayNameOffset) {
|
|
76
|
+
builder.addFieldOffset(1, displayNameOffset, 0);
|
|
77
|
+
}
|
|
78
|
+
static addAcceptedTypeSets(builder, acceptedTypeSetsOffset) {
|
|
79
|
+
builder.addFieldOffset(2, acceptedTypeSetsOffset, 0);
|
|
80
|
+
}
|
|
81
|
+
static createAcceptedTypeSetsVector(builder, data) {
|
|
82
|
+
builder.startVector(4, data.length, 4);
|
|
83
|
+
for (let i = data.length - 1; i >= 0; i--) {
|
|
84
|
+
builder.addOffset(data[i]);
|
|
85
|
+
}
|
|
86
|
+
return builder.endVector();
|
|
87
|
+
}
|
|
88
|
+
static startAcceptedTypeSetsVector(builder, numElems) {
|
|
89
|
+
builder.startVector(4, numElems, 4);
|
|
90
|
+
}
|
|
91
|
+
static addMinStreams(builder, minStreams) {
|
|
92
|
+
builder.addFieldInt16(3, minStreams, 1);
|
|
93
|
+
}
|
|
94
|
+
static addMaxStreams(builder, maxStreams) {
|
|
95
|
+
builder.addFieldInt16(4, maxStreams, 1);
|
|
96
|
+
}
|
|
97
|
+
static addRequired(builder, required) {
|
|
98
|
+
builder.addFieldInt8(5, +required, +true);
|
|
99
|
+
}
|
|
100
|
+
static addDescription(builder, descriptionOffset) {
|
|
101
|
+
builder.addFieldOffset(6, descriptionOffset, 0);
|
|
102
|
+
}
|
|
103
|
+
static endPortManifest(builder) {
|
|
104
|
+
const offset = builder.endObject();
|
|
105
|
+
builder.requiredField(offset, 4); // port_id
|
|
106
|
+
return offset;
|
|
107
|
+
}
|
|
108
|
+
static createPortManifest(builder, portIdOffset, displayNameOffset, acceptedTypeSetsOffset, minStreams, maxStreams, required, descriptionOffset) {
|
|
109
|
+
PortManifest.startPortManifest(builder);
|
|
110
|
+
PortManifest.addPortId(builder, portIdOffset);
|
|
111
|
+
PortManifest.addDisplayName(builder, displayNameOffset);
|
|
112
|
+
PortManifest.addAcceptedTypeSets(builder, acceptedTypeSetsOffset);
|
|
113
|
+
PortManifest.addMinStreams(builder, minStreams);
|
|
114
|
+
PortManifest.addMaxStreams(builder, maxStreams);
|
|
115
|
+
PortManifest.addRequired(builder, required);
|
|
116
|
+
PortManifest.addDescription(builder, descriptionOffset);
|
|
117
|
+
return PortManifest.endPortManifest(builder);
|
|
118
|
+
}
|
|
119
|
+
unpack() {
|
|
120
|
+
return new PortManifestT(this.portId(), this.displayName(), this.bb.createObjList(this.acceptedTypeSets.bind(this), this.acceptedTypeSetsLength()), this.minStreams(), this.maxStreams(), this.required(), this.description());
|
|
121
|
+
}
|
|
122
|
+
unpackTo(_o) {
|
|
123
|
+
_o.portId = this.portId();
|
|
124
|
+
_o.displayName = this.displayName();
|
|
125
|
+
_o.acceptedTypeSets = this.bb.createObjList(this.acceptedTypeSets.bind(this), this.acceptedTypeSetsLength());
|
|
126
|
+
_o.minStreams = this.minStreams();
|
|
127
|
+
_o.maxStreams = this.maxStreams();
|
|
128
|
+
_o.required = this.required();
|
|
129
|
+
_o.description = this.description();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
export class PortManifestT {
|
|
133
|
+
constructor(portId = null, displayName = null, acceptedTypeSets = [], minStreams = 1, maxStreams = 1, required = true, description = null) {
|
|
134
|
+
this.portId = portId;
|
|
135
|
+
this.displayName = displayName;
|
|
136
|
+
this.acceptedTypeSets = acceptedTypeSets;
|
|
137
|
+
this.minStreams = minStreams;
|
|
138
|
+
this.maxStreams = maxStreams;
|
|
139
|
+
this.required = required;
|
|
140
|
+
this.description = description;
|
|
141
|
+
}
|
|
142
|
+
pack(builder) {
|
|
143
|
+
const portId = (this.portId !== null ? builder.createString(this.portId) : 0);
|
|
144
|
+
const displayName = (this.displayName !== null ? builder.createString(this.displayName) : 0);
|
|
145
|
+
const acceptedTypeSets = PortManifest.createAcceptedTypeSetsVector(builder, builder.createObjectOffsetList(this.acceptedTypeSets));
|
|
146
|
+
const description = (this.description !== null ? builder.createString(this.description) : 0);
|
|
147
|
+
return PortManifest.createPortManifest(builder, portId, displayName, acceptedTypeSets, this.minStreams, this.maxStreams, this.required, description);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
//# sourceMappingURL=port-manifest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"port-manifest.js","sourceRoot":"","sources":["../../../../../../../../Users/tj/software/OrbPro/packages/plugin-sdk/src/generated/orbpro/manifest/port-manifest.ts"],"names":[],"mappings":"AAAA,qEAAqE;AAErE,oIAAoI;AAEpI,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAoB,MAAM,4CAA4C,CAAC;AAG/F;;GAEG;AACH,MAAM,OAAO,YAAY;IAAzB;QACE,OAAE,GAAgC,IAAI,CAAC;QACvC,WAAM,GAAG,CAAC,CAAC;IAuKb,CAAC;IAtKC,MAAM,CAAC,CAAQ,EAAE,EAAyB;QAC1C,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAChB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,CAAC,qBAAqB,CAAC,EAAyB,EAAE,GAAiB;QACvE,OAAO,CAAC,GAAG,IAAI,IAAI,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED,MAAM,CAAC,iCAAiC,CAAC,EAAyB,EAAE,GAAiB;QACnF,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,WAAW,CAAC,kBAAkB,CAAC,CAAC;QAC/D,OAAO,CAAC,GAAG,IAAI,IAAI,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7F,CAAC;IAOD,MAAM,CAAC,gBAAqB;QAC1B,MAAM,MAAM,GAAG,IAAI,CAAC,EAAG,CAAC,QAAQ,CAAC,IAAI,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ACxB,gBAAW,GAAX,WAAW,CAA+B;IACjD,CAAC;IAGH,IAAI,CAAC,OAA2B;QAC9B,MAAM,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/E,MAAM,WAAW,GAAG,CAAC,IAAI,CAAC,WAAW,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,WAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC9F,MAAM,gBAAgB,GAAG,YAAY,CAAC,4BAA4B,CAAC,OAAO,EAAE,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;QACnI,MAAM,WAAW,GAAG,CAAC,IAAI,CAAC,WAAW,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,WAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAE9F,OAAO,YAAY,CAAC,kBAAkB,CAAC,OAAO,EAC5C,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,QAAQ,EACb,WAAW,CACZ,CAAC;IACJ,CAAC;CACA"}
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
+
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
4
|
+
|
|
5
|
+
import * as flatbuffers from "flatbuffers";
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
AcceptedTypeSet,
|
|
9
|
+
AcceptedTypeSetT,
|
|
10
|
+
} from "../../orbpro/manifest/accepted-type-set.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* One input or output port on a method.
|
|
14
|
+
*/
|
|
15
|
+
export class PortManifest implements flatbuffers.IUnpackableObject<PortManifestT> {
|
|
16
|
+
bb: flatbuffers.ByteBuffer | null = null;
|
|
17
|
+
bb_pos = 0;
|
|
18
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): PortManifest {
|
|
19
|
+
this.bb_pos = i;
|
|
20
|
+
this.bb = bb;
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
static getRootAsPortManifest(
|
|
25
|
+
bb: flatbuffers.ByteBuffer,
|
|
26
|
+
obj?: PortManifest,
|
|
27
|
+
): PortManifest {
|
|
28
|
+
return (obj || new PortManifest()).__init(
|
|
29
|
+
bb.readInt32(bb.position()) + bb.position(),
|
|
30
|
+
bb,
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
static getSizePrefixedRootAsPortManifest(
|
|
35
|
+
bb: flatbuffers.ByteBuffer,
|
|
36
|
+
obj?: PortManifest,
|
|
37
|
+
): PortManifest {
|
|
38
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
39
|
+
return (obj || new PortManifest()).__init(
|
|
40
|
+
bb.readInt32(bb.position()) + bb.position(),
|
|
41
|
+
bb,
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Stable port identifier within the method.
|
|
47
|
+
*/
|
|
48
|
+
portId(): string | null;
|
|
49
|
+
portId(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
50
|
+
portId(optionalEncoding?: any): string | Uint8Array | null {
|
|
51
|
+
const offset = this.bb!.__offset(this.bb_pos, 4);
|
|
52
|
+
return offset
|
|
53
|
+
? this.bb!.__string(this.bb_pos + offset, optionalEncoding)
|
|
54
|
+
: null;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Human-readable name for UIs.
|
|
59
|
+
*/
|
|
60
|
+
displayName(): string | null;
|
|
61
|
+
displayName(
|
|
62
|
+
optionalEncoding: flatbuffers.Encoding,
|
|
63
|
+
): string | Uint8Array | null;
|
|
64
|
+
displayName(optionalEncoding?: any): string | Uint8Array | null {
|
|
65
|
+
const offset = this.bb!.__offset(this.bb_pos, 6);
|
|
66
|
+
return offset
|
|
67
|
+
? this.bb!.__string(this.bb_pos + offset, optionalEncoding)
|
|
68
|
+
: null;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Type sets accepted on this port.
|
|
73
|
+
*/
|
|
74
|
+
acceptedTypeSets(
|
|
75
|
+
index: number,
|
|
76
|
+
obj?: AcceptedTypeSet,
|
|
77
|
+
): AcceptedTypeSet | null {
|
|
78
|
+
const offset = this.bb!.__offset(this.bb_pos, 8);
|
|
79
|
+
return offset
|
|
80
|
+
? (obj || new AcceptedTypeSet()).__init(
|
|
81
|
+
this.bb!.__indirect(
|
|
82
|
+
this.bb!.__vector(this.bb_pos + offset) + index * 4,
|
|
83
|
+
),
|
|
84
|
+
this.bb!,
|
|
85
|
+
)
|
|
86
|
+
: null;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
acceptedTypeSetsLength(): number {
|
|
90
|
+
const offset = this.bb!.__offset(this.bb_pos, 8);
|
|
91
|
+
return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Minimum number of streams that must be connected.
|
|
96
|
+
*/
|
|
97
|
+
minStreams(): number {
|
|
98
|
+
const offset = this.bb!.__offset(this.bb_pos, 10);
|
|
99
|
+
return offset ? this.bb!.readUint16(this.bb_pos + offset) : 1;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Maximum number of streams that may be connected.
|
|
104
|
+
*/
|
|
105
|
+
maxStreams(): number {
|
|
106
|
+
const offset = this.bb!.__offset(this.bb_pos, 12);
|
|
107
|
+
return offset ? this.bb!.readUint16(this.bb_pos + offset) : 1;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Whether the port must be connected for invocation.
|
|
112
|
+
*/
|
|
113
|
+
required(): boolean {
|
|
114
|
+
const offset = this.bb!.__offset(this.bb_pos, 14);
|
|
115
|
+
return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : true;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Optional human-readable description.
|
|
120
|
+
*/
|
|
121
|
+
description(): string | null;
|
|
122
|
+
description(
|
|
123
|
+
optionalEncoding: flatbuffers.Encoding,
|
|
124
|
+
): string | Uint8Array | null;
|
|
125
|
+
description(optionalEncoding?: any): string | Uint8Array | null {
|
|
126
|
+
const offset = this.bb!.__offset(this.bb_pos, 16);
|
|
127
|
+
return offset
|
|
128
|
+
? this.bb!.__string(this.bb_pos + offset, optionalEncoding)
|
|
129
|
+
: null;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
static startPortManifest(builder: flatbuffers.Builder) {
|
|
133
|
+
builder.startObject(7);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
static addPortId(
|
|
137
|
+
builder: flatbuffers.Builder,
|
|
138
|
+
portIdOffset: flatbuffers.Offset,
|
|
139
|
+
) {
|
|
140
|
+
builder.addFieldOffset(0, portIdOffset, 0);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
static addDisplayName(
|
|
144
|
+
builder: flatbuffers.Builder,
|
|
145
|
+
displayNameOffset: flatbuffers.Offset,
|
|
146
|
+
) {
|
|
147
|
+
builder.addFieldOffset(1, displayNameOffset, 0);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
static addAcceptedTypeSets(
|
|
151
|
+
builder: flatbuffers.Builder,
|
|
152
|
+
acceptedTypeSetsOffset: flatbuffers.Offset,
|
|
153
|
+
) {
|
|
154
|
+
builder.addFieldOffset(2, acceptedTypeSetsOffset, 0);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
static createAcceptedTypeSetsVector(
|
|
158
|
+
builder: flatbuffers.Builder,
|
|
159
|
+
data: flatbuffers.Offset[],
|
|
160
|
+
): flatbuffers.Offset {
|
|
161
|
+
builder.startVector(4, data.length, 4);
|
|
162
|
+
for (let i = data.length - 1; i >= 0; i--) {
|
|
163
|
+
builder.addOffset(data[i]!);
|
|
164
|
+
}
|
|
165
|
+
return builder.endVector();
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
static startAcceptedTypeSetsVector(
|
|
169
|
+
builder: flatbuffers.Builder,
|
|
170
|
+
numElems: number,
|
|
171
|
+
) {
|
|
172
|
+
builder.startVector(4, numElems, 4);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
static addMinStreams(builder: flatbuffers.Builder, minStreams: number) {
|
|
176
|
+
builder.addFieldInt16(3, minStreams, 1);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
static addMaxStreams(builder: flatbuffers.Builder, maxStreams: number) {
|
|
180
|
+
builder.addFieldInt16(4, maxStreams, 1);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
static addRequired(builder: flatbuffers.Builder, required: boolean) {
|
|
184
|
+
builder.addFieldInt8(5, +required, +true);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
static addDescription(
|
|
188
|
+
builder: flatbuffers.Builder,
|
|
189
|
+
descriptionOffset: flatbuffers.Offset,
|
|
190
|
+
) {
|
|
191
|
+
builder.addFieldOffset(6, descriptionOffset, 0);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
static endPortManifest(builder: flatbuffers.Builder): flatbuffers.Offset {
|
|
195
|
+
const offset = builder.endObject();
|
|
196
|
+
builder.requiredField(offset, 4); // port_id
|
|
197
|
+
return offset;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
static createPortManifest(
|
|
201
|
+
builder: flatbuffers.Builder,
|
|
202
|
+
portIdOffset: flatbuffers.Offset,
|
|
203
|
+
displayNameOffset: flatbuffers.Offset,
|
|
204
|
+
acceptedTypeSetsOffset: flatbuffers.Offset,
|
|
205
|
+
minStreams: number,
|
|
206
|
+
maxStreams: number,
|
|
207
|
+
required: boolean,
|
|
208
|
+
descriptionOffset: flatbuffers.Offset,
|
|
209
|
+
): flatbuffers.Offset {
|
|
210
|
+
PortManifest.startPortManifest(builder);
|
|
211
|
+
PortManifest.addPortId(builder, portIdOffset);
|
|
212
|
+
PortManifest.addDisplayName(builder, displayNameOffset);
|
|
213
|
+
PortManifest.addAcceptedTypeSets(builder, acceptedTypeSetsOffset);
|
|
214
|
+
PortManifest.addMinStreams(builder, minStreams);
|
|
215
|
+
PortManifest.addMaxStreams(builder, maxStreams);
|
|
216
|
+
PortManifest.addRequired(builder, required);
|
|
217
|
+
PortManifest.addDescription(builder, descriptionOffset);
|
|
218
|
+
return PortManifest.endPortManifest(builder);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
unpack(): PortManifestT {
|
|
222
|
+
return new PortManifestT(
|
|
223
|
+
this.portId(),
|
|
224
|
+
this.displayName(),
|
|
225
|
+
this.bb!.createObjList<AcceptedTypeSet, AcceptedTypeSetT>(
|
|
226
|
+
this.acceptedTypeSets.bind(this),
|
|
227
|
+
this.acceptedTypeSetsLength(),
|
|
228
|
+
),
|
|
229
|
+
this.minStreams(),
|
|
230
|
+
this.maxStreams(),
|
|
231
|
+
this.required(),
|
|
232
|
+
this.description(),
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
unpackTo(_o: PortManifestT): void {
|
|
237
|
+
_o.portId = this.portId();
|
|
238
|
+
_o.displayName = this.displayName();
|
|
239
|
+
_o.acceptedTypeSets = this.bb!.createObjList<
|
|
240
|
+
AcceptedTypeSet,
|
|
241
|
+
AcceptedTypeSetT
|
|
242
|
+
>(this.acceptedTypeSets.bind(this), this.acceptedTypeSetsLength());
|
|
243
|
+
_o.minStreams = this.minStreams();
|
|
244
|
+
_o.maxStreams = this.maxStreams();
|
|
245
|
+
_o.required = this.required();
|
|
246
|
+
_o.description = this.description();
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export class PortManifestT implements flatbuffers.IGeneratedObject {
|
|
251
|
+
constructor(
|
|
252
|
+
public portId: string | Uint8Array | null = null,
|
|
253
|
+
public displayName: string | Uint8Array | null = null,
|
|
254
|
+
public acceptedTypeSets: AcceptedTypeSetT[] = [],
|
|
255
|
+
public minStreams: number = 1,
|
|
256
|
+
public maxStreams: number = 1,
|
|
257
|
+
public required: boolean = true,
|
|
258
|
+
public description: string | Uint8Array | null = null,
|
|
259
|
+
) {}
|
|
260
|
+
|
|
261
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset {
|
|
262
|
+
const portId =
|
|
263
|
+
this.portId !== null ? builder.createString(this.portId!) : 0;
|
|
264
|
+
const displayName =
|
|
265
|
+
this.displayName !== null ? builder.createString(this.displayName!) : 0;
|
|
266
|
+
const acceptedTypeSets = PortManifest.createAcceptedTypeSetsVector(
|
|
267
|
+
builder,
|
|
268
|
+
builder.createObjectOffsetList(this.acceptedTypeSets),
|
|
269
|
+
);
|
|
270
|
+
const description =
|
|
271
|
+
this.description !== null ? builder.createString(this.description!) : 0;
|
|
272
|
+
|
|
273
|
+
return PortManifest.createPortManifest(
|
|
274
|
+
builder,
|
|
275
|
+
portId,
|
|
276
|
+
displayName,
|
|
277
|
+
acceptedTypeSets,
|
|
278
|
+
this.minStreams,
|
|
279
|
+
this.maxStreams,
|
|
280
|
+
this.required,
|
|
281
|
+
description,
|
|
282
|
+
);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
/**
|
|
3
|
+
* Protocol handler declared by a plugin.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ProtocolSpec implements flatbuffers.IUnpackableObject<ProtocolSpecT> {
|
|
6
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
7
|
+
bb_pos: number;
|
|
8
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): ProtocolSpec;
|
|
9
|
+
static getRootAsProtocolSpec(bb: flatbuffers.ByteBuffer, obj?: ProtocolSpec): ProtocolSpec;
|
|
10
|
+
static getSizePrefixedRootAsProtocolSpec(bb: flatbuffers.ByteBuffer, obj?: ProtocolSpec): ProtocolSpec;
|
|
11
|
+
protocolId(): string | null;
|
|
12
|
+
protocolId(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
13
|
+
methodId(): string | null;
|
|
14
|
+
methodId(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
15
|
+
inputPortId(): string | null;
|
|
16
|
+
inputPortId(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
17
|
+
outputPortId(): string | null;
|
|
18
|
+
outputPortId(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
19
|
+
description(): string | null;
|
|
20
|
+
description(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
21
|
+
static startProtocolSpec(builder: flatbuffers.Builder): void;
|
|
22
|
+
static addProtocolId(builder: flatbuffers.Builder, protocolIdOffset: flatbuffers.Offset): void;
|
|
23
|
+
static addMethodId(builder: flatbuffers.Builder, methodIdOffset: flatbuffers.Offset): void;
|
|
24
|
+
static addInputPortId(builder: flatbuffers.Builder, inputPortIdOffset: flatbuffers.Offset): void;
|
|
25
|
+
static addOutputPortId(builder: flatbuffers.Builder, outputPortIdOffset: flatbuffers.Offset): void;
|
|
26
|
+
static addDescription(builder: flatbuffers.Builder, descriptionOffset: flatbuffers.Offset): void;
|
|
27
|
+
static endProtocolSpec(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
28
|
+
static createProtocolSpec(builder: flatbuffers.Builder, protocolIdOffset: flatbuffers.Offset, methodIdOffset: flatbuffers.Offset, inputPortIdOffset: flatbuffers.Offset, outputPortIdOffset: flatbuffers.Offset, descriptionOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
29
|
+
unpack(): ProtocolSpecT;
|
|
30
|
+
unpackTo(_o: ProtocolSpecT): void;
|
|
31
|
+
}
|
|
32
|
+
export declare class ProtocolSpecT implements flatbuffers.IGeneratedObject {
|
|
33
|
+
protocolId: string | Uint8Array | null;
|
|
34
|
+
methodId: string | Uint8Array | null;
|
|
35
|
+
inputPortId: string | Uint8Array | null;
|
|
36
|
+
outputPortId: string | Uint8Array | null;
|
|
37
|
+
description: string | Uint8Array | null;
|
|
38
|
+
constructor(protocolId?: string | Uint8Array | null, methodId?: string | Uint8Array | null, inputPortId?: string | Uint8Array | null, outputPortId?: string | Uint8Array | null, description?: string | Uint8Array | null);
|
|
39
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=protocol-spec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protocol-spec.d.ts","sourceRoot":"","sources":["../../../../../../../../Users/tj/software/OrbPro/packages/plugin-sdk/src/generated/orbpro/manifest/protocol-spec.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C;;GAEG;AACH,qBAAa,YAAa,YAAW,WAAW,CAAC,iBAAiB,CAAC,aAAa,CAAC;IAC/E,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,YAAY;IAM1D,MAAM,CAAC,qBAAqB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,YAAY,GAAE,YAAY;IAIvF,MAAM,CAAC,iCAAiC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,YAAY,GAAE,YAAY;IAKnG,UAAU,IAAG,MAAM,GA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AW,CAAC,MAAM;IAOtE,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,gBAAgB,EAAC,WAAW,CAAC,MAAM,EAAE,cAAc,EAAC,WAAW,CAAC,MAAM,EAAE,iBAAiB,EAAC,WAAW,CAAC,MAAM,EAAE,kBAAkB,EAAC,WAAW,CAAC,MAAM,EAAE,iBAAiB,EAAC,WAAW,CAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAUpQ,MAAM,IAAI,aAAa;IAWvB,QAAQ,CAAC,EAAE,EAAE,aAAa,GAAG,IAAI;CAOhC;AAED,qBAAa,aAAc,YAAW,WAAW,CAAC,gBAAgB;IAEzD,UAAU,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAClC,QAAQ,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAChC,WAAW,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IACnC,YAAY,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IACpC,WAAW,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;gBAJnC,UAAU,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACzC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACvC,WAAW,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EAC1C,YAAY,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EAC3C,WAAW,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW;IAInD,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAepD"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
+
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
+
import * as flatbuffers from 'flatbuffers';
|
|
4
|
+
/**
|
|
5
|
+
* Protocol handler declared by a plugin.
|
|
6
|
+
*/
|
|
7
|
+
export class ProtocolSpec {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.bb = null;
|
|
10
|
+
this.bb_pos = 0;
|
|
11
|
+
}
|
|
12
|
+
__init(i, bb) {
|
|
13
|
+
this.bb_pos = i;
|
|
14
|
+
this.bb = bb;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
static getRootAsProtocolSpec(bb, obj) {
|
|
18
|
+
return (obj || new ProtocolSpec()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
19
|
+
}
|
|
20
|
+
static getSizePrefixedRootAsProtocolSpec(bb, obj) {
|
|
21
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
22
|
+
return (obj || new ProtocolSpec()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
23
|
+
}
|
|
24
|
+
protocolId(optionalEncoding) {
|
|
25
|
+
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
26
|
+
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
27
|
+
}
|
|
28
|
+
methodId(optionalEncoding) {
|
|
29
|
+
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
30
|
+
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
31
|
+
}
|
|
32
|
+
inputPortId(optionalEncoding) {
|
|
33
|
+
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
34
|
+
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
35
|
+
}
|
|
36
|
+
outputPortId(optionalEncoding) {
|
|
37
|
+
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
38
|
+
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
39
|
+
}
|
|
40
|
+
description(optionalEncoding) {
|
|
41
|
+
const offset = this.bb.__offset(this.bb_pos, 12);
|
|
42
|
+
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
43
|
+
}
|
|
44
|
+
static startProtocolSpec(builder) {
|
|
45
|
+
builder.startObject(5);
|
|
46
|
+
}
|
|
47
|
+
static addProtocolId(builder, protocolIdOffset) {
|
|
48
|
+
builder.addFieldOffset(0, protocolIdOffset, 0);
|
|
49
|
+
}
|
|
50
|
+
static addMethodId(builder, methodIdOffset) {
|
|
51
|
+
builder.addFieldOffset(1, methodIdOffset, 0);
|
|
52
|
+
}
|
|
53
|
+
static addInputPortId(builder, inputPortIdOffset) {
|
|
54
|
+
builder.addFieldOffset(2, inputPortIdOffset, 0);
|
|
55
|
+
}
|
|
56
|
+
static addOutputPortId(builder, outputPortIdOffset) {
|
|
57
|
+
builder.addFieldOffset(3, outputPortIdOffset, 0);
|
|
58
|
+
}
|
|
59
|
+
static addDescription(builder, descriptionOffset) {
|
|
60
|
+
builder.addFieldOffset(4, descriptionOffset, 0);
|
|
61
|
+
}
|
|
62
|
+
static endProtocolSpec(builder) {
|
|
63
|
+
const offset = builder.endObject();
|
|
64
|
+
builder.requiredField(offset, 4); // protocol_id
|
|
65
|
+
builder.requiredField(offset, 6); // method_id
|
|
66
|
+
return offset;
|
|
67
|
+
}
|
|
68
|
+
static createProtocolSpec(builder, protocolIdOffset, methodIdOffset, inputPortIdOffset, outputPortIdOffset, descriptionOffset) {
|
|
69
|
+
ProtocolSpec.startProtocolSpec(builder);
|
|
70
|
+
ProtocolSpec.addProtocolId(builder, protocolIdOffset);
|
|
71
|
+
ProtocolSpec.addMethodId(builder, methodIdOffset);
|
|
72
|
+
ProtocolSpec.addInputPortId(builder, inputPortIdOffset);
|
|
73
|
+
ProtocolSpec.addOutputPortId(builder, outputPortIdOffset);
|
|
74
|
+
ProtocolSpec.addDescription(builder, descriptionOffset);
|
|
75
|
+
return ProtocolSpec.endProtocolSpec(builder);
|
|
76
|
+
}
|
|
77
|
+
unpack() {
|
|
78
|
+
return new ProtocolSpecT(this.protocolId(), this.methodId(), this.inputPortId(), this.outputPortId(), this.description());
|
|
79
|
+
}
|
|
80
|
+
unpackTo(_o) {
|
|
81
|
+
_o.protocolId = this.protocolId();
|
|
82
|
+
_o.methodId = this.methodId();
|
|
83
|
+
_o.inputPortId = this.inputPortId();
|
|
84
|
+
_o.outputPortId = this.outputPortId();
|
|
85
|
+
_o.description = this.description();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export class ProtocolSpecT {
|
|
89
|
+
constructor(protocolId = null, methodId = null, inputPortId = null, outputPortId = null, description = null) {
|
|
90
|
+
this.protocolId = protocolId;
|
|
91
|
+
this.methodId = methodId;
|
|
92
|
+
this.inputPortId = inputPortId;
|
|
93
|
+
this.outputPortId = outputPortId;
|
|
94
|
+
this.description = description;
|
|
95
|
+
}
|
|
96
|
+
pack(builder) {
|
|
97
|
+
const protocolId = (this.protocolId !== null ? builder.createString(this.protocolId) : 0);
|
|
98
|
+
const methodId = (this.methodId !== null ? builder.createString(this.methodId) : 0);
|
|
99
|
+
const inputPortId = (this.inputPortId !== null ? builder.createString(this.inputPortId) : 0);
|
|
100
|
+
const outputPortId = (this.outputPortId !== null ? builder.createString(this.outputPortId) : 0);
|
|
101
|
+
const description = (this.description !== null ? builder.createString(this.description) : 0);
|
|
102
|
+
return ProtocolSpec.createProtocolSpec(builder, protocolId, methodId, inputPortId, outputPortId, description);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=protocol-spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protocol-spec.js","sourceRoot":"","sources":["../../../../../../../../Users/tj/software/OrbPro/packages/plugin-sdk/src/generated/orbpro/manifest/protocol-spec.ts"],"names":[],"mappings":"AAAA,qEAAqE;AAErE,oIAAoI;AAEpI,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C;;GAEG;AACH,MAAM,OAAO,YAAY;IAAzB;QACE,OAAE,GAAgC,IAAI,CAAC;QACvC,WAAM,GAAG,CAAC,CAAC;IA8Gb,CAAC;IA7GC,MAAM,CAAC,CA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