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.
Files changed (102) hide show
  1. package/README.md +139 -0
  2. package/bin/space-data-module.js +230 -0
  3. package/package.json +40 -0
  4. package/schemas/PluginManifest.fbs +144 -0
  5. package/schemas/TypedArenaBuffer.fbs +78 -0
  6. package/src/auth/canonicalize.js +72 -0
  7. package/src/auth/index.js +10 -0
  8. package/src/auth/permissions.js +190 -0
  9. package/src/compiler/compileModule.js +237 -0
  10. package/src/compiler/index.js +7 -0
  11. package/src/compliance/index.js +56 -0
  12. package/src/compliance/pluginCompliance.js +574 -0
  13. package/src/embeddedManifest.js +124 -0
  14. package/src/generated/orbpro/manifest/accepted-type-set.d.ts +45 -0
  15. package/src/generated/orbpro/manifest/accepted-type-set.d.ts.map +1 -0
  16. package/src/generated/orbpro/manifest/accepted-type-set.js +100 -0
  17. package/src/generated/orbpro/manifest/accepted-type-set.js.map +1 -0
  18. package/src/generated/orbpro/manifest/accepted-type-set.ts +200 -0
  19. package/src/generated/orbpro/manifest/build-artifact.d.ts +41 -0
  20. package/src/generated/orbpro/manifest/build-artifact.d.ts.map +1 -0
  21. package/src/generated/orbpro/manifest/build-artifact.js +105 -0
  22. package/src/generated/orbpro/manifest/build-artifact.js.map +1 -0
  23. package/src/generated/orbpro/manifest/build-artifact.ts +193 -0
  24. package/src/generated/orbpro/manifest/capability-kind.d.ts +17 -0
  25. package/src/generated/orbpro/manifest/capability-kind.d.ts.map +1 -0
  26. package/src/generated/orbpro/manifest/capability-kind.js +20 -0
  27. package/src/generated/orbpro/manifest/capability-kind.js.map +1 -0
  28. package/src/generated/orbpro/manifest/capability-kind.ts +20 -0
  29. package/src/generated/orbpro/manifest/drain-policy.d.ts +9 -0
  30. package/src/generated/orbpro/manifest/drain-policy.d.ts.map +1 -0
  31. package/src/generated/orbpro/manifest/drain-policy.js +12 -0
  32. package/src/generated/orbpro/manifest/drain-policy.js.map +1 -0
  33. package/src/generated/orbpro/manifest/drain-policy.ts +12 -0
  34. package/src/generated/orbpro/manifest/host-capability.d.ts +36 -0
  35. package/src/generated/orbpro/manifest/host-capability.d.ts.map +1 -0
  36. package/src/generated/orbpro/manifest/host-capability.js +91 -0
  37. package/src/generated/orbpro/manifest/host-capability.js.map +1 -0
  38. package/src/generated/orbpro/manifest/host-capability.ts +161 -0
  39. package/src/generated/orbpro/manifest/method-manifest.d.ts +53 -0
  40. package/src/generated/orbpro/manifest/method-manifest.d.ts.map +1 -0
  41. package/src/generated/orbpro/manifest/method-manifest.js +154 -0
  42. package/src/generated/orbpro/manifest/method-manifest.js.map +1 -0
  43. package/src/generated/orbpro/manifest/method-manifest.ts +306 -0
  44. package/src/generated/orbpro/manifest/plugin-family.d.ts +17 -0
  45. package/src/generated/orbpro/manifest/plugin-family.d.ts.map +1 -0
  46. package/src/generated/orbpro/manifest/plugin-family.js +20 -0
  47. package/src/generated/orbpro/manifest/plugin-family.js.map +1 -0
  48. package/src/generated/orbpro/manifest/plugin-family.ts +20 -0
  49. package/src/generated/orbpro/manifest/plugin-manifest.d.ts +85 -0
  50. package/src/generated/orbpro/manifest/plugin-manifest.d.ts.map +1 -0
  51. package/src/generated/orbpro/manifest/plugin-manifest.js +268 -0
  52. package/src/generated/orbpro/manifest/plugin-manifest.js.map +1 -0
  53. package/src/generated/orbpro/manifest/plugin-manifest.ts +562 -0
  54. package/src/generated/orbpro/manifest/port-manifest.d.ts +70 -0
  55. package/src/generated/orbpro/manifest/port-manifest.d.ts.map +1 -0
  56. package/src/generated/orbpro/manifest/port-manifest.js +150 -0
  57. package/src/generated/orbpro/manifest/port-manifest.js.map +1 -0
  58. package/src/generated/orbpro/manifest/port-manifest.ts +284 -0
  59. package/src/generated/orbpro/manifest/protocol-spec.d.ts +41 -0
  60. package/src/generated/orbpro/manifest/protocol-spec.d.ts.map +1 -0
  61. package/src/generated/orbpro/manifest/protocol-spec.js +105 -0
  62. package/src/generated/orbpro/manifest/protocol-spec.js.map +1 -0
  63. package/src/generated/orbpro/manifest/protocol-spec.ts +205 -0
  64. package/src/generated/orbpro/manifest/timer-spec.d.ts +40 -0
  65. package/src/generated/orbpro/manifest/timer-spec.d.ts.map +1 -0
  66. package/src/generated/orbpro/manifest/timer-spec.js +104 -0
  67. package/src/generated/orbpro/manifest/timer-spec.js.map +1 -0
  68. package/src/generated/orbpro/manifest/timer-spec.ts +195 -0
  69. package/src/generated/orbpro/manifest.js +14 -0
  70. package/src/generated/orbpro/stream/buffer-mutability.d.ts +9 -0
  71. package/src/generated/orbpro/stream/buffer-mutability.d.ts.map +1 -0
  72. package/src/generated/orbpro/stream/buffer-mutability.js +12 -0
  73. package/src/generated/orbpro/stream/buffer-mutability.js.map +1 -0
  74. package/src/generated/orbpro/stream/buffer-mutability.ts +12 -0
  75. package/src/generated/orbpro/stream/buffer-ownership.d.ts +10 -0
  76. package/src/generated/orbpro/stream/buffer-ownership.d.ts.map +1 -0
  77. package/src/generated/orbpro/stream/buffer-ownership.js +13 -0
  78. package/src/generated/orbpro/stream/buffer-ownership.js.map +1 -0
  79. package/src/generated/orbpro/stream/buffer-ownership.ts +13 -0
  80. package/src/generated/orbpro/stream/flat-buffer-type-ref.d.ts +51 -0
  81. package/src/generated/orbpro/stream/flat-buffer-type-ref.d.ts.map +1 -0
  82. package/src/generated/orbpro/stream/flat-buffer-type-ref.js +115 -0
  83. package/src/generated/orbpro/stream/flat-buffer-type-ref.js.map +1 -0
  84. package/src/generated/orbpro/stream/flat-buffer-type-ref.ts +222 -0
  85. package/src/generated/orbpro/stream/typed-arena-buffer.d.ts +100 -0
  86. package/src/generated/orbpro/stream/typed-arena-buffer.d.ts.map +1 -0
  87. package/src/generated/orbpro/stream/typed-arena-buffer.js +215 -0
  88. package/src/generated/orbpro/stream/typed-arena-buffer.js.map +1 -0
  89. package/src/generated/orbpro/stream/typed-arena-buffer.ts +344 -0
  90. package/src/index.js +8 -0
  91. package/src/manifest/codec.js +40 -0
  92. package/src/manifest/index.js +9 -0
  93. package/src/manifest/normalize.js +275 -0
  94. package/src/runtime/bufferLike.js +28 -0
  95. package/src/runtime/constants.js +34 -0
  96. package/src/standards/index.js +153 -0
  97. package/src/standards/sharedCatalog.js +196 -0
  98. package/src/transport/index.js +8 -0
  99. package/src/transport/pki.js +140 -0
  100. package/src/utils/crypto.js +8 -0
  101. package/src/utils/encoding.js +54 -0
  102. package/src/utils/wasmCrypto.js +70 -0
@@ -0,0 +1,51 @@
1
+ import * as flatbuffers from 'flatbuffers';
2
+ /**
3
+ * FlatBuffer schema identity for a stream frame or accepted port type.
4
+ */
5
+ export declare class FlatBufferTypeRef implements flatbuffers.IUnpackableObject<FlatBufferTypeRefT> {
6
+ bb: flatbuffers.ByteBuffer | null;
7
+ bb_pos: number;
8
+ __init(i: number, bb: flatbuffers.ByteBuffer): FlatBufferTypeRef;
9
+ static getRootAsFlatBufferTypeRef(bb: flatbuffers.ByteBuffer, obj?: FlatBufferTypeRef): FlatBufferTypeRef;
10
+ static getSizePrefixedRootAsFlatBufferTypeRef(bb: flatbuffers.ByteBuffer, obj?: FlatBufferTypeRef): FlatBufferTypeRef;
11
+ /**
12
+ * Logical schema name, for example `OMM.fbs`.
13
+ */
14
+ schemaName(): string | null;
15
+ schemaName(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
16
+ /**
17
+ * Optional 4-byte FlatBuffer file identifier.
18
+ */
19
+ fileIdentifier(): string | null;
20
+ fileIdentifier(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
21
+ /**
22
+ * Optional schema hash bytes for stronger compatibility checks.
23
+ */
24
+ schemaHash(index: number): number | null;
25
+ schemaHashLength(): number;
26
+ schemaHashArray(): Uint8Array | null;
27
+ /**
28
+ * True when this port/type set accepts any FlatBuffer frame.
29
+ */
30
+ acceptsAnyFlatbuffer(): boolean;
31
+ static startFlatBufferTypeRef(builder: flatbuffers.Builder): void;
32
+ static addSchemaName(builder: flatbuffers.Builder, schemaNameOffset: flatbuffers.Offset): void;
33
+ static addFileIdentifier(builder: flatbuffers.Builder, fileIdentifierOffset: flatbuffers.Offset): void;
34
+ static addSchemaHash(builder: flatbuffers.Builder, schemaHashOffset: flatbuffers.Offset): void;
35
+ static createSchemaHashVector(builder: flatbuffers.Builder, data: number[] | Uint8Array): flatbuffers.Offset;
36
+ static startSchemaHashVector(builder: flatbuffers.Builder, numElems: number): void;
37
+ static addAcceptsAnyFlatbuffer(builder: flatbuffers.Builder, acceptsAnyFlatbuffer: boolean): void;
38
+ static endFlatBufferTypeRef(builder: flatbuffers.Builder): flatbuffers.Offset;
39
+ static createFlatBufferTypeRef(builder: flatbuffers.Builder, schemaNameOffset: flatbuffers.Offset, fileIdentifierOffset: flatbuffers.Offset, schemaHashOffset: flatbuffers.Offset, acceptsAnyFlatbuffer: boolean): flatbuffers.Offset;
40
+ unpack(): FlatBufferTypeRefT;
41
+ unpackTo(_o: FlatBufferTypeRefT): void;
42
+ }
43
+ export declare class FlatBufferTypeRefT implements flatbuffers.IGeneratedObject {
44
+ schemaName: string | Uint8Array | null;
45
+ fileIdentifier: string | Uint8Array | null;
46
+ schemaHash: (number)[];
47
+ acceptsAnyFlatbuffer: boolean;
48
+ constructor(schemaName?: string | Uint8Array | null, fileIdentifier?: string | Uint8Array | null, schemaHash?: (number)[], acceptsAnyFlatbuffer?: boolean);
49
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset;
50
+ }
51
+ //# sourceMappingURL=flat-buffer-type-ref.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flat-buffer-type-ref.d.ts","sourceRoot":"","sources":["../../../../../../../../Users/tj/software/OrbPro/packages/plugin-sdk/src/generated/orbpro/stream/flat-buffer-type-ref.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C;;GAEG;AACH,qBAAa,iBAAkB,YAAW,WAAW,CAAC,iBAAiB,CAAC,kBAAkB,CAAC;IACzF,EAAE,EAAE,WAAW,C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escript-eslint/no-non-null-assertion */
3
+ import * as flatbuffers from 'flatbuffers';
4
+ /**
5
+ * FlatBuffer schema identity for a stream frame or accepted port type.
6
+ */
7
+ export class FlatBufferTypeRef {
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 getRootAsFlatBufferTypeRef(bb, obj) {
18
+ return (obj || new FlatBufferTypeRef()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
19
+ }
20
+ static getSizePrefixedRootAsFlatBufferTypeRef(bb, obj) {
21
+ bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
22
+ return (obj || new FlatBufferTypeRef()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
23
+ }
24
+ schemaName(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
+ fileIdentifier(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
+ /**
33
+ * Optional schema hash bytes for stronger compatibility checks.
34
+ */
35
+ schemaHash(index) {
36
+ const offset = this.bb.__offset(this.bb_pos, 8);
37
+ return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0;
38
+ }
39
+ schemaHashLength() {
40
+ const offset = this.bb.__offset(this.bb_pos, 8);
41
+ return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
42
+ }
43
+ schemaHashArray() {
44
+ const offset = this.bb.__offset(this.bb_pos, 8);
45
+ return offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null;
46
+ }
47
+ /**
48
+ * True when this port/type set accepts any FlatBuffer frame.
49
+ */
50
+ acceptsAnyFlatbuffer() {
51
+ const offset = this.bb.__offset(this.bb_pos, 10);
52
+ return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false;
53
+ }
54
+ static startFlatBufferTypeRef(builder) {
55
+ builder.startObject(4);
56
+ }
57
+ static addSchemaName(builder, schemaNameOffset) {
58
+ builder.addFieldOffset(0, schemaNameOffset, 0);
59
+ }
60
+ static addFileIdentifier(builder, fileIdentifierOffset) {
61
+ builder.addFieldOffset(1, fileIdentifierOffset, 0);
62
+ }
63
+ static addSchemaHash(builder, schemaHashOffset) {
64
+ builder.addFieldOffset(2, schemaHashOffset, 0);
65
+ }
66
+ static createSchemaHashVector(builder, data) {
67
+ builder.startVector(1, data.length, 1);
68
+ for (let i = data.length - 1; i >= 0; i--) {
69
+ builder.addInt8(data[i]);
70
+ }
71
+ return builder.endVector();
72
+ }
73
+ static startSchemaHashVector(builder, numElems) {
74
+ builder.startVector(1, numElems, 1);
75
+ }
76
+ static addAcceptsAnyFlatbuffer(builder, acceptsAnyFlatbuffer) {
77
+ builder.addFieldInt8(3, +acceptsAnyFlatbuffer, +false);
78
+ }
79
+ static endFlatBufferTypeRef(builder) {
80
+ const offset = builder.endObject();
81
+ return offset;
82
+ }
83
+ static createFlatBufferTypeRef(builder, schemaNameOffset, fileIdentifierOffset, schemaHashOffset, acceptsAnyFlatbuffer) {
84
+ FlatBufferTypeRef.startFlatBufferTypeRef(builder);
85
+ FlatBufferTypeRef.addSchemaName(builder, schemaNameOffset);
86
+ FlatBufferTypeRef.addFileIdentifier(builder, fileIdentifierOffset);
87
+ FlatBufferTypeRef.addSchemaHash(builder, schemaHashOffset);
88
+ FlatBufferTypeRef.addAcceptsAnyFlatbuffer(builder, acceptsAnyFlatbuffer);
89
+ return FlatBufferTypeRef.endFlatBufferTypeRef(builder);
90
+ }
91
+ unpack() {
92
+ return new FlatBufferTypeRefT(this.schemaName(), this.fileIdentifier(), this.bb.createScalarList(this.schemaHash.bind(this), this.schemaHashLength()), this.acceptsAnyFlatbuffer());
93
+ }
94
+ unpackTo(_o) {
95
+ _o.schemaName = this.schemaName();
96
+ _o.fileIdentifier = this.fileIdentifier();
97
+ _o.schemaHash = this.bb.createScalarList(this.schemaHash.bind(this), this.schemaHashLength());
98
+ _o.acceptsAnyFlatbuffer = this.acceptsAnyFlatbuffer();
99
+ }
100
+ }
101
+ export class FlatBufferTypeRefT {
102
+ constructor(schemaName = null, fileIdentifier = null, schemaHash = [], acceptsAnyFlatbuffer = false) {
103
+ this.schemaName = schemaName;
104
+ this.fileIdentifier = fileIdentifier;
105
+ this.schemaHash = schemaHash;
106
+ this.acceptsAnyFlatbuffer = acceptsAnyFlatbuffer;
107
+ }
108
+ pack(builder) {
109
+ const schemaName = (this.schemaName !== null ? builder.createString(this.schemaName) : 0);
110
+ const fileIdentifier = (this.fileIdentifier !== null ? builder.createString(this.fileIdentifier) : 0);
111
+ const schemaHash = FlatBufferTypeRef.createSchemaHashVector(builder, this.schemaHash);
112
+ return FlatBufferTypeRef.createFlatBufferTypeRef(builder, schemaName, fileIdentifier, schemaHash, this.acceptsAnyFlatbuffer);
113
+ }
114
+ }
115
+ //# sourceMappingURL=flat-buffer-type-ref.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flat-buffer-type-ref.js","sourceRoot":"","sources":["../../../../../../../../Users/tj/software/OrbPro/packages/plugin-sdk/src/generated/orbpro/stream/flat-buffer-type-ref.ts"],"names":[],"mappings":"AAAA,qEAAqE;AAErE,oIAAoI;AAEpI,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C;;GAEG;AACH,MAAM,OAAO,iBAAiB;IAA9B;QACE,OAAE,GAAgC,IAAI,CAAC;QACvC,WAAM,GAAG,CAAC,CAAC;IA4Hb,CAAC;IA3HC,MAAM,CAAC,CAAQ,EAAE,EAAyB;QAC1C,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAChB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,OAAO,IAAI,CAAC;IAC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C,EAAE,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC;QACvG,EAAE,CAAC,oBAAoB,GAAG,IAAI,CAAC,oBAAoB,EAAE,CAAC;IACxD,CAAC;CACA;AAED,MAAM,OAAO,kBAAkB;IAC/B,YACS,aAAqC,IAAI,EACzC,iBAAyC,IAAI,EAC7C,aAAyB,EAAE,EAC3B,uBAAgC,KAAK;QAHrC,eAAU,GAAV,UAAU,CAA+B;QACzC,mBAAc,GAAd,cAAc,CAA+B;QAC7C,eAAU,GAAV,UAAU,CAAiB;QAC3B,yBAAoB,GAApB,oBAAoB,CAAiB;IAC5C,CAAC;IAGH,IAAI,CAAC,OAA2B;QAC9B,MAAM,UAAU,GAAG,CAAC,IAAI,CAAC,UAAU,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,UAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3F,MAAM,cAAc,GAAG,CAAC,IAAI,CAAC,cAAc,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,cAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACvG,MAAM,UAAU,GAAG,iBAAiB,CAAC,sBAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QAEtF,OAAO,iBAAiB,CAAC,uBAAuB,CAAC,OAAO,EACtD,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,CAAC,oBAAoB,CAC1B,CAAC;IACJ,CAAC;CACA"}
@@ -0,0 +1,222 @@
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
+ /**
8
+ * FlatBuffer schema identity for a stream frame or accepted port type.
9
+ */
10
+ export class FlatBufferTypeRef implements flatbuffers.IUnpackableObject<FlatBufferTypeRefT> {
11
+ bb: flatbuffers.ByteBuffer | null = null;
12
+ bb_pos = 0;
13
+ __init(i: number, bb: flatbuffers.ByteBuffer): FlatBufferTypeRef {
14
+ this.bb_pos = i;
15
+ this.bb = bb;
16
+ return this;
17
+ }
18
+
19
+ static getRootAsFlatBufferTypeRef(
20
+ bb: flatbuffers.ByteBuffer,
21
+ obj?: FlatBufferTypeRef,
22
+ ): FlatBufferTypeRef {
23
+ return (obj || new FlatBufferTypeRef()).__init(
24
+ bb.readInt32(bb.position()) + bb.position(),
25
+ bb,
26
+ );
27
+ }
28
+
29
+ static getSizePrefixedRootAsFlatBufferTypeRef(
30
+ bb: flatbuffers.ByteBuffer,
31
+ obj?: FlatBufferTypeRef,
32
+ ): FlatBufferTypeRef {
33
+ bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
34
+ return (obj || new FlatBufferTypeRef()).__init(
35
+ bb.readInt32(bb.position()) + bb.position(),
36
+ bb,
37
+ );
38
+ }
39
+
40
+ /**
41
+ * Logical schema name, for example `OMM.fbs`.
42
+ */
43
+ schemaName(): string | null;
44
+ schemaName(
45
+ optionalEncoding: flatbuffers.Encoding,
46
+ ): string | Uint8Array | null;
47
+ schemaName(optionalEncoding?: any): string | Uint8Array | null {
48
+ const offset = this.bb!.__offset(this.bb_pos, 4);
49
+ return offset
50
+ ? this.bb!.__string(this.bb_pos + offset, optionalEncoding)
51
+ : null;
52
+ }
53
+
54
+ /**
55
+ * Optional 4-byte FlatBuffer file identifier.
56
+ */
57
+ fileIdentifier(): string | null;
58
+ fileIdentifier(
59
+ optionalEncoding: flatbuffers.Encoding,
60
+ ): string | Uint8Array | null;
61
+ fileIdentifier(optionalEncoding?: any): string | Uint8Array | null {
62
+ const offset = this.bb!.__offset(this.bb_pos, 6);
63
+ return offset
64
+ ? this.bb!.__string(this.bb_pos + offset, optionalEncoding)
65
+ : null;
66
+ }
67
+
68
+ /**
69
+ * Optional schema hash bytes for stronger compatibility checks.
70
+ */
71
+ schemaHash(index: number): number | null {
72
+ const offset = this.bb!.__offset(this.bb_pos, 8);
73
+ return offset
74
+ ? this.bb!.readUint8(this.bb!.__vector(this.bb_pos + offset) + index)
75
+ : 0;
76
+ }
77
+
78
+ schemaHashLength(): number {
79
+ const offset = this.bb!.__offset(this.bb_pos, 8);
80
+ return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
81
+ }
82
+
83
+ schemaHashArray(): Uint8Array | null {
84
+ const offset = this.bb!.__offset(this.bb_pos, 8);
85
+ return offset
86
+ ? new Uint8Array(
87
+ this.bb!.bytes().buffer,
88
+ this.bb!.bytes().byteOffset + this.bb!.__vector(this.bb_pos + offset),
89
+ this.bb!.__vector_len(this.bb_pos + offset),
90
+ )
91
+ : null;
92
+ }
93
+
94
+ /**
95
+ * True when this port/type set accepts any FlatBuffer frame.
96
+ */
97
+ acceptsAnyFlatbuffer(): boolean {
98
+ const offset = this.bb!.__offset(this.bb_pos, 10);
99
+ return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false;
100
+ }
101
+
102
+ static startFlatBufferTypeRef(builder: flatbuffers.Builder) {
103
+ builder.startObject(4);
104
+ }
105
+
106
+ static addSchemaName(
107
+ builder: flatbuffers.Builder,
108
+ schemaNameOffset: flatbuffers.Offset,
109
+ ) {
110
+ builder.addFieldOffset(0, schemaNameOffset, 0);
111
+ }
112
+
113
+ static addFileIdentifier(
114
+ builder: flatbuffers.Builder,
115
+ fileIdentifierOffset: flatbuffers.Offset,
116
+ ) {
117
+ builder.addFieldOffset(1, fileIdentifierOffset, 0);
118
+ }
119
+
120
+ static addSchemaHash(
121
+ builder: flatbuffers.Builder,
122
+ schemaHashOffset: flatbuffers.Offset,
123
+ ) {
124
+ builder.addFieldOffset(2, schemaHashOffset, 0);
125
+ }
126
+
127
+ static createSchemaHashVector(
128
+ builder: flatbuffers.Builder,
129
+ data: number[] | Uint8Array,
130
+ ): flatbuffers.Offset {
131
+ builder.startVector(1, data.length, 1);
132
+ for (let i = data.length - 1; i >= 0; i--) {
133
+ builder.addInt8(data[i]!);
134
+ }
135
+ return builder.endVector();
136
+ }
137
+
138
+ static startSchemaHashVector(builder: flatbuffers.Builder, numElems: number) {
139
+ builder.startVector(1, numElems, 1);
140
+ }
141
+
142
+ static addAcceptsAnyFlatbuffer(
143
+ builder: flatbuffers.Builder,
144
+ acceptsAnyFlatbuffer: boolean,
145
+ ) {
146
+ builder.addFieldInt8(3, +acceptsAnyFlatbuffer, +false);
147
+ }
148
+
149
+ static endFlatBufferTypeRef(
150
+ builder: flatbuffers.Builder,
151
+ ): flatbuffers.Offset {
152
+ const offset = builder.endObject();
153
+ return offset;
154
+ }
155
+
156
+ static createFlatBufferTypeRef(
157
+ builder: flatbuffers.Builder,
158
+ schemaNameOffset: flatbuffers.Offset,
159
+ fileIdentifierOffset: flatbuffers.Offset,
160
+ schemaHashOffset: flatbuffers.Offset,
161
+ acceptsAnyFlatbuffer: boolean,
162
+ ): flatbuffers.Offset {
163
+ FlatBufferTypeRef.startFlatBufferTypeRef(builder);
164
+ FlatBufferTypeRef.addSchemaName(builder, schemaNameOffset);
165
+ FlatBufferTypeRef.addFileIdentifier(builder, fileIdentifierOffset);
166
+ FlatBufferTypeRef.addSchemaHash(builder, schemaHashOffset);
167
+ FlatBufferTypeRef.addAcceptsAnyFlatbuffer(builder, acceptsAnyFlatbuffer);
168
+ return FlatBufferTypeRef.endFlatBufferTypeRef(builder);
169
+ }
170
+
171
+ unpack(): FlatBufferTypeRefT {
172
+ return new FlatBufferTypeRefT(
173
+ this.schemaName(),
174
+ this.fileIdentifier(),
175
+ this.bb!.createScalarList<number>(
176
+ this.schemaHash.bind(this),
177
+ this.schemaHashLength(),
178
+ ),
179
+ this.acceptsAnyFlatbuffer(),
180
+ );
181
+ }
182
+
183
+ unpackTo(_o: FlatBufferTypeRefT): void {
184
+ _o.schemaName = this.schemaName();
185
+ _o.fileIdentifier = this.fileIdentifier();
186
+ _o.schemaHash = this.bb!.createScalarList<number>(
187
+ this.schemaHash.bind(this),
188
+ this.schemaHashLength(),
189
+ );
190
+ _o.acceptsAnyFlatbuffer = this.acceptsAnyFlatbuffer();
191
+ }
192
+ }
193
+
194
+ export class FlatBufferTypeRefT implements flatbuffers.IGeneratedObject {
195
+ constructor(
196
+ public schemaName: string | Uint8Array | null = null,
197
+ public fileIdentifier: string | Uint8Array | null = null,
198
+ public schemaHash: number[] = [],
199
+ public acceptsAnyFlatbuffer: boolean = false,
200
+ ) {}
201
+
202
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset {
203
+ const schemaName =
204
+ this.schemaName !== null ? builder.createString(this.schemaName!) : 0;
205
+ const fileIdentifier =
206
+ this.fileIdentifier !== null
207
+ ? builder.createString(this.fileIdentifier!)
208
+ : 0;
209
+ const schemaHash = FlatBufferTypeRef.createSchemaHashVector(
210
+ builder,
211
+ this.schemaHash,
212
+ );
213
+
214
+ return FlatBufferTypeRef.createFlatBufferTypeRef(
215
+ builder,
216
+ schemaName,
217
+ fileIdentifier,
218
+ schemaHash,
219
+ this.acceptsAnyFlatbuffer,
220
+ );
221
+ }
222
+ }
@@ -0,0 +1,100 @@
1
+ import * as flatbuffers from 'flatbuffers';
2
+ import { BufferMutability } from '../../orbpro/stream/buffer-mutability.js';
3
+ import { BufferOwnership } from '../../orbpro/stream/buffer-ownership.js';
4
+ import { FlatBufferTypeRef, FlatBufferTypeRefT } from '../../orbpro/stream/flat-buffer-type-ref.js';
5
+ /**
6
+ * Runtime descriptor for one FlatBuffer frame stored in an arena.
7
+ */
8
+ export declare class TypedArenaBuffer implements flatbuffers.IUnpackableObject<TypedArenaBufferT> {
9
+ bb: flatbuffers.ByteBuffer | null;
10
+ bb_pos: number;
11
+ __init(i: number, bb: flatbuffers.ByteBuffer): TypedArenaBuffer;
12
+ static getRootAsTypedArenaBuffer(bb: flatbuffers.ByteBuffer, obj?: TypedArenaBuffer): TypedArenaBuffer;
13
+ static getSizePrefixedRootAsTypedArenaBuffer(bb: flatbuffers.ByteBuffer, obj?: TypedArenaBuffer): TypedArenaBuffer;
14
+ static bufferHasIdentifier(bb: flatbuffers.ByteBuffer): boolean;
15
+ /**
16
+ * Runtime schema identity for this frame.
17
+ */
18
+ typeRef(obj?: FlatBufferTypeRef): FlatBufferTypeRef | null;
19
+ /**
20
+ * Port that produced or will consume this frame.
21
+ */
22
+ portId(): string | null;
23
+ portId(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
24
+ /**
25
+ * Required alignment of the underlying frame bytes.
26
+ */
27
+ alignment(): number;
28
+ /**
29
+ * Frame byte offset from the arena base.
30
+ */
31
+ offset(): number;
32
+ /**
33
+ * Frame size in bytes.
34
+ */
35
+ size(): number;
36
+ /**
37
+ * Ownership contract for the buffer.
38
+ */
39
+ ownership(): BufferOwnership;
40
+ /**
41
+ * Generation counter for stale-reference detection.
42
+ */
43
+ generation(): number;
44
+ /**
45
+ * Mutability contract for downstream consumers.
46
+ */
47
+ mutability(): BufferMutability;
48
+ /**
49
+ * Flow/runtime trace identifier.
50
+ */
51
+ traceId(): bigint;
52
+ /**
53
+ * Logical stream identifier.
54
+ */
55
+ streamId(): number;
56
+ /**
57
+ * Monotonic frame sequence number within a stream.
58
+ */
59
+ sequence(): bigint;
60
+ /**
61
+ * True if this frame closes the stream.
62
+ */
63
+ endOfStream(): boolean;
64
+ static startTypedArenaBuffer(builder: flatbuffers.Builder): void;
65
+ static addTypeRef(builder: flatbuffers.Builder, typeRefOffset: flatbuffers.Offset): void;
66
+ static addPortId(builder: flatbuffers.Builder, portIdOffset: flatbuffers.Offset): void;
67
+ static addAlignment(builder: flatbuffers.Builder, alignment: number): void;
68
+ static addOffset(builder: flatbuffers.Builder, offset: number): void;
69
+ static addSize(builder: flatbuffers.Builder, size: number): void;
70
+ static addOwnership(builder: flatbuffers.Builder, ownership: BufferOwnership): void;
71
+ static addGeneration(builder: flatbuffers.Builder, generation: number): void;
72
+ static addMutability(builder: flatbuffers.Builder, mutability: BufferMutability): void;
73
+ static addTraceId(builder: flatbuffers.Builder, traceId: bigint): void;
74
+ static addStreamId(builder: flatbuffers.Builder, streamId: number): void;
75
+ static addSequence(builder: flatbuffers.Builder, sequence: bigint): void;
76
+ static addEndOfStream(builder: flatbuffers.Builder, endOfStream: boolean): void;
77
+ static endTypedArenaBuffer(builder: flatbuffers.Builder): flatbuffers.Offset;
78
+ static finishTypedArenaBufferBuffer(builder: flatbuffers.Builder, offset: flatbuffers.Offset): void;
79
+ static finishSizePrefixedTypedArenaBufferBuffer(builder: flatbuffers.Builder, offset: flatbuffers.Offset): void;
80
+ static createTypedArenaBuffer(builder: flatbuffers.Builder, typeRefOffset: flatbuffers.Offset, portIdOffset: flatbuffers.Offset, alignment: number, offset: number, size: number, ownership: BufferOwnership, generation: number, mutability: BufferMutability, traceId: bigint, streamId: number, sequence: bigint, endOfStream: boolean): flatbuffers.Offset;
81
+ unpack(): TypedArenaBufferT;
82
+ unpackTo(_o: TypedArenaBufferT): void;
83
+ }
84
+ export declare class TypedArenaBufferT implements flatbuffers.IGeneratedObject {
85
+ typeRef: FlatBufferTypeRefT | null;
86
+ portId: string | Uint8Array | null;
87
+ alignment: number;
88
+ offset: number;
89
+ size: number;
90
+ ownership: BufferOwnership;
91
+ generation: number;
92
+ mutability: BufferMutability;
93
+ traceId: bigint;
94
+ streamId: number;
95
+ sequence: bigint;
96
+ endOfStream: boolean;
97
+ constructor(typeRef?: FlatBufferTypeRefT | null, portId?: string | Uint8Array | null, alignment?: number, offset?: number, size?: number, ownership?: BufferOwnership, generation?: number, mutability?: BufferMutability, traceId?: bigint, streamId?: number, sequence?: bigint, endOfStream?: boolean);
98
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset;
99
+ }
100
+ //# sourceMappingURL=typed-arena-buffer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typed-arena-buffer.d.ts","sourceRoot":"","sources":["../../../../../../../../Users/tj/software/OrbPro/packages/plugin-sdk/src/generated/orbpro/stream/typed-arena-buffer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