space-data-module-sdk 0.8.15 → 0.8.17
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/bin/space-data-module.js +24 -6
- package/docs/_shell/consumer-assets.html +5 -0
- package/docs/browser-wasmedge-isomorphic.html +261 -0
- package/docs/byo-wasm-quickstart.html +226 -0
- package/docs/byo-wasm-quickstart.md +204 -0
- package/docs/conformance.html +162 -0
- package/docs/conformance.md +20 -4
- package/docs/emception-shared-memory-verdict.md +209 -0
- package/docs/events-abi.html +313 -0
- package/docs/events-abi.md +530 -0
- package/docs/families/analytics.html +178 -0
- package/docs/families/analytics.md +104 -0
- package/docs/families/attitude.html +157 -0
- package/docs/families/attitude.md +36 -0
- package/docs/families/behavior.html +157 -0
- package/docs/families/behavior.md +36 -0
- package/docs/families/breakup.html +157 -0
- package/docs/families/breakup.md +36 -0
- package/docs/families/conjunction.html +186 -0
- package/docs/families/conjunction.md +121 -0
- package/docs/families/data-source.html +323 -0
- package/docs/families/effects.html +157 -0
- package/docs/families/effects.md +36 -0
- package/docs/families/environment.html +170 -0
- package/docs/families/environment.md +73 -0
- package/docs/families/estimation.html +192 -0
- package/docs/families/estimation.md +158 -0
- package/docs/families/gnc.html +157 -0
- package/docs/families/gnc.md +36 -0
- package/docs/families/maneuver.html +209 -0
- package/docs/families/maneuver.md +206 -0
- package/docs/families/obstruction.html +191 -0
- package/docs/families/obstruction.md +96 -0
- package/docs/families/propagator.html +347 -0
- package/docs/families/propulsion.html +157 -0
- package/docs/families/propulsion.md +36 -0
- package/docs/families/reentry.html +157 -0
- package/docs/families/reentry.md +36 -0
- package/docs/families/rf.html +193 -0
- package/docs/families/rf.md +136 -0
- package/docs/families/scheduler.html +157 -0
- package/docs/families/scheduler.md +36 -0
- package/docs/families/sensor.html +157 -0
- package/docs/families/sensor.md +36 -0
- package/docs/families/signature.html +157 -0
- package/docs/families/signature.md +36 -0
- package/docs/flatsql-host-contract.html +176 -0
- package/docs/flatsql-streaming-standard.html +375 -0
- package/docs/gpu-module-abi.html +233 -0
- package/docs/harness-family-matrix.md +135 -0
- package/docs/index.html +216 -85
- package/docs/isomorphic-pthreads.html +228 -0
- package/docs/isomorphic-pthreads.md +84 -0
- package/docs/isomorphic-sdn-runtime-plan.html +274 -0
- package/docs/language-runtime-matrix.html +182 -0
- package/docs/llms.txt +86 -0
- package/docs/module-bundle-runtime-plan.html +146 -0
- package/docs/module-publication-standard.html +503 -0
- package/docs/node-red-default-node-parity.html +201 -0
- package/docs/propagator-abi.md +97 -12
- package/docs/protect-and-sign.html +181 -0
- package/docs/protect-and-sign.md +120 -0
- package/docs/protocol-installation.html +296 -0
- package/docs/provider-access-abi.md +25 -0
- package/docs/publication-submission.html +158 -0
- package/docs/publication-submission.md +78 -0
- package/docs/secrets-capability.html +206 -0
- package/docs/styles.css +860 -167
- package/docs/testing-harness.html +408 -0
- package/docs/tri-runtime-parity-gate.html +182 -0
- package/docs/tri-runtime-parity.html +203 -0
- package/include/orbpro/orbpro_estimation_abi.h +883 -0
- package/include/orbpro/orbpro_event_runner.h +951 -0
- package/include/orbpro/orbpro_events_abi.h +565 -0
- package/include/orbpro/orbpro_propagator_abi.h +75 -0
- package/package.json +13 -4
- package/schemas/orbpro/Estimation.fbs +244 -0
- package/schemas/orbpro/Events.fbs +501 -0
- package/schemas/orbpro/Propagator.fbs +136 -9
- package/schemas/orbpro/reference-frame-crosswalk.json +108 -0
- package/schemas/orbpro/reference-frame.lock.json +98 -0
- package/src/browser.js +13 -0
- package/src/conformance/estimationReference.js +81 -0
- package/src/conformance/estimationSuite.js +134 -0
- package/src/conformance/index.js +39 -2
- package/src/generated/orbpro/events-abi.js +206 -0
- package/src/generated/orbpro/events-abi.ts +319 -0
- package/src/generated/orbpro/propagator/reference-frame.js +17 -0
- package/src/generated/orbpro/propagator/reference-frame.ts +91 -1
- package/src/generated/orbpro/propagator-abi.js +38 -0
- package/src/generated/orbpro/propagator-abi.ts +67 -0
- package/src/generated/spacedatastandards/plg/CCT.d.ts +94 -0
- package/src/generated/spacedatastandards/plg/CCT.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/CCT.js +208 -0
- package/src/generated/spacedatastandards/plg/CCT.ts +281 -0
- package/src/generated/spacedatastandards/plg/CCTCategory.d.ts +98 -0
- package/src/generated/spacedatastandards/plg/CCTCategory.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/CCTCategory.js +177 -0
- package/src/generated/spacedatastandards/plg/CCTCategory.ts +269 -0
- package/src/generated/spacedatastandards/plg/CCTCategoryRollup.d.ts +54 -0
- package/src/generated/spacedatastandards/plg/CCTCategoryRollup.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/CCTCategoryRollup.js +106 -0
- package/src/generated/spacedatastandards/plg/CCTCategoryRollup.ts +144 -0
- package/src/generated/spacedatastandards/plg/PLG.d.ts +46 -2
- package/src/generated/spacedatastandards/plg/PLG.d.ts.map +1 -1
- package/src/generated/spacedatastandards/plg/PLG.js +78 -5
- package/src/generated/spacedatastandards/plg/PLG.ts +90 -5
- package/src/generated/spacedatastandards/plg/capabilityClass.d.ts +181 -0
- package/src/generated/spacedatastandards/plg/capabilityClass.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/capabilityClass.js +183 -0
- package/src/generated/spacedatastandards/plg/capabilityClass.ts +208 -0
- package/src/generated/spacedatastandards/plg/main.d.ts +4 -0
- package/src/generated/spacedatastandards/plg/main.d.ts.map +1 -1
- package/src/generated/spacedatastandards/plg/main.js +4 -0
- package/src/generated/spacedatastandards/plg/main.ts +4 -0
- package/src/generated/spacedatastandards/plg/pluginCategory.d.ts +40 -2
- package/src/generated/spacedatastandards/plg/pluginCategory.d.ts.map +1 -1
- package/src/generated/spacedatastandards/plg/pluginCategory.js +40 -2
- package/src/generated/spacedatastandards/plg/pluginCategory.ts +40 -2
- package/src/host/browserModuleHarness.js +8 -0
- package/src/host/wasiThreadHost.js +189 -14
- package/src/index.d.ts +18 -1
- package/src/standards/sharedCatalog.js +7 -0
- package/src/transport/index.js +16 -0
- package/src/transport/records.js +1015 -3
- package/templates/estimation-module/README.md +24 -0
- package/templates/estimation-module/build.mjs +32 -0
- package/templates/estimation-module/package.json +12 -0
- package/templates/estimation-module/plugin-manifest.json +34 -0
- package/templates/estimation-module/src/reference_estimation.cpp +53 -0
|
@@ -0,0 +1,269 @@
|
|
|
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 { capabilityClass } from './capabilityClass.js';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* One ratified category in the taxonomy.
|
|
12
|
+
*
|
|
13
|
+
* DISPLAY_NAME, SUMMARY and SLUG are required: a category cannot be published
|
|
14
|
+
* without the label a surface will render, the sentence a browse row will
|
|
15
|
+
* show, and the route a link will target. This is what stops each consumer
|
|
16
|
+
* from inventing its own wording for the same code.
|
|
17
|
+
*/
|
|
18
|
+
export class CCTCategory implements flatbuffers.IUnpackableObject<CCTCategoryT> {
|
|
19
|
+
bb: flatbuffers.ByteBuffer|null = null;
|
|
20
|
+
bb_pos = 0;
|
|
21
|
+
__init(i:number, bb:flatbuffers.ByteBuffer):CCTCategory {
|
|
22
|
+
this.bb_pos = i;
|
|
23
|
+
this.bb = bb;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
static getRootAsCCTCategory(bb:flatbuffers.ByteBuffer, obj?:CCTCategory):CCTCategory {
|
|
28
|
+
return (obj || new CCTCategory()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
static getSizePrefixedRootAsCCTCategory(bb:flatbuffers.ByteBuffer, obj?:CCTCategory):CCTCategory {
|
|
32
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
33
|
+
return (obj || new CCTCategory()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The ratified category code. This is the join key every consumer uses.
|
|
38
|
+
*/
|
|
39
|
+
CODE():capabilityClass {
|
|
40
|
+
const offset = this.bb!.__offset(this.bb_pos, 4);
|
|
41
|
+
return offset ? this.bb!.readUint8(this.bb_pos + offset) : capabilityClass.UNSPECIFIED;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Canonical human-readable label, rendered verbatim. MUST equal the display
|
|
46
|
+
* name stated in the CODE member's doc comment.
|
|
47
|
+
*/
|
|
48
|
+
DISPLAY_NAME():string
|
|
49
|
+
DISPLAY_NAME(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
|
|
50
|
+
DISPLAY_NAME(optionalEncoding?:any):string|Uint8Array {
|
|
51
|
+
const offset = this.bb!.__offset(this.bb_pos, 6);
|
|
52
|
+
return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* One-sentence description shown on browse rows and category headers.
|
|
57
|
+
*/
|
|
58
|
+
SUMMARY():string
|
|
59
|
+
SUMMARY(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
|
|
60
|
+
SUMMARY(optionalEncoding?:any):string|Uint8Array {
|
|
61
|
+
const offset = this.bb!.__offset(this.bb_pos, 8);
|
|
62
|
+
return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Route-safe identifier: the CODE identifier lowercased with `_` replaced by
|
|
67
|
+
* `-`. Published explicitly rather than derived so every surface routes
|
|
68
|
+
* identically.
|
|
69
|
+
*/
|
|
70
|
+
SLUG():string
|
|
71
|
+
SLUG(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
|
|
72
|
+
SLUG(optionalEncoding?:any):string|Uint8Array {
|
|
73
|
+
const offset = this.bb!.__offset(this.bb_pos, 10);
|
|
74
|
+
return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Longer editorial description for a category landing page.
|
|
79
|
+
*/
|
|
80
|
+
DESCRIPTION():string|null
|
|
81
|
+
DESCRIPTION(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
|
|
82
|
+
DESCRIPTION(optionalEncoding?:any):string|Uint8Array|null {
|
|
83
|
+
const offset = this.bb!.__offset(this.bb_pos, 12);
|
|
84
|
+
return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Parent category for hierarchical browse. UNSPECIFIED means this is a
|
|
89
|
+
* top-level category. A category MUST NOT name itself as its parent.
|
|
90
|
+
*/
|
|
91
|
+
PARENT():capabilityClass {
|
|
92
|
+
const offset = this.bb!.__offset(this.bb_pos, 14);
|
|
93
|
+
return offset ? this.bb!.readUint8(this.bb_pos + offset) : capabilityClass.UNSPECIFIED;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Presentation order within its parent, ascending. Ties break on
|
|
98
|
+
* DISPLAY_NAME.
|
|
99
|
+
*/
|
|
100
|
+
SORT_ORDER():number {
|
|
101
|
+
const offset = this.bb!.__offset(this.bb_pos, 16);
|
|
102
|
+
return offset ? this.bb!.readUint16(this.bb_pos + offset) : 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Search synonyms and alternate phrasings that resolve to this category.
|
|
107
|
+
* Feeds type-ahead; never rendered as the category label.
|
|
108
|
+
*/
|
|
109
|
+
KEYWORDS(index: number):string
|
|
110
|
+
KEYWORDS(index: number,optionalEncoding:flatbuffers.Encoding):string|Uint8Array
|
|
111
|
+
KEYWORDS(index: number,optionalEncoding?:any):string|Uint8Array|null {
|
|
112
|
+
const offset = this.bb!.__offset(this.bb_pos, 18);
|
|
113
|
+
return offset ? this.bb!.__string(this.bb!.__vector(this.bb_pos + offset) + index * 4, optionalEncoding) : null;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
keywordsLength():number {
|
|
117
|
+
const offset = this.bb!.__offset(this.bb_pos, 18);
|
|
118
|
+
return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Key of a self-hosted icon or capsule asset for this category. A KEY, not a
|
|
123
|
+
* URL: consuming node surfaces load zero external-origin bytes, so the
|
|
124
|
+
* consumer resolves this against its own local asset set.
|
|
125
|
+
*/
|
|
126
|
+
ICON_KEY():string|null
|
|
127
|
+
ICON_KEY(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
|
|
128
|
+
ICON_KEY(optionalEncoding?:any):string|Uint8Array|null {
|
|
129
|
+
const offset = this.bb!.__offset(this.bb_pos, 20);
|
|
130
|
+
return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
static startCCTCategory(builder:flatbuffers.Builder) {
|
|
134
|
+
builder.startObject(9);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
static addCode(builder:flatbuffers.Builder, CODE:capabilityClass) {
|
|
138
|
+
builder.addFieldInt8(0, CODE, capabilityClass.UNSPECIFIED);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
static addDisplayName(builder:flatbuffers.Builder, DISPLAY_NAMEOffset:flatbuffers.Offset) {
|
|
142
|
+
builder.addFieldOffset(1, DISPLAY_NAMEOffset, 0);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
static addSummary(builder:flatbuffers.Builder, SUMMARYOffset:flatbuffers.Offset) {
|
|
146
|
+
builder.addFieldOffset(2, SUMMARYOffset, 0);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
static addSlug(builder:flatbuffers.Builder, SLUGOffset:flatbuffers.Offset) {
|
|
150
|
+
builder.addFieldOffset(3, SLUGOffset, 0);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
static addDescription(builder:flatbuffers.Builder, DESCRIPTIONOffset:flatbuffers.Offset) {
|
|
154
|
+
builder.addFieldOffset(4, DESCRIPTIONOffset, 0);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
static addParent(builder:flatbuffers.Builder, PARENT:capabilityClass) {
|
|
158
|
+
builder.addFieldInt8(5, PARENT, capabilityClass.UNSPECIFIED);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
static addSortOrder(builder:flatbuffers.Builder, SORT_ORDER:number) {
|
|
162
|
+
builder.addFieldInt16(6, SORT_ORDER, 0);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
static addKeywords(builder:flatbuffers.Builder, KEYWORDSOffset:flatbuffers.Offset) {
|
|
166
|
+
builder.addFieldOffset(7, KEYWORDSOffset, 0);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
static createKeywordsVector(builder:flatbuffers.Builder, data:flatbuffers.Offset[]):flatbuffers.Offset {
|
|
170
|
+
builder.startVector(4, data.length, 4);
|
|
171
|
+
for (let i = data.length - 1; i >= 0; i--) {
|
|
172
|
+
builder.addOffset(data[i]!);
|
|
173
|
+
}
|
|
174
|
+
return builder.endVector();
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
static startKeywordsVector(builder:flatbuffers.Builder, numElems:number) {
|
|
178
|
+
builder.startVector(4, numElems, 4);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
static addIconKey(builder:flatbuffers.Builder, ICON_KEYOffset:flatbuffers.Offset) {
|
|
182
|
+
builder.addFieldOffset(8, ICON_KEYOffset, 0);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
static endCCTCategory(builder:flatbuffers.Builder):flatbuffers.Offset {
|
|
186
|
+
const offset = builder.endObject();
|
|
187
|
+
builder.requiredField(offset, 6) // DISPLAY_NAME
|
|
188
|
+
builder.requiredField(offset, 8) // SUMMARY
|
|
189
|
+
builder.requiredField(offset, 10) // SLUG
|
|
190
|
+
return offset;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
static createCCTCategory(builder:flatbuffers.Builder, CODE:capabilityClass, DISPLAY_NAMEOffset:flatbuffers.Offset, SUMMARYOffset:flatbuffers.Offset, SLUGOffset:flatbuffers.Offset, DESCRIPTIONOffset:flatbuffers.Offset, PARENT:capabilityClass, SORT_ORDER:number, KEYWORDSOffset:flatbuffers.Offset, ICON_KEYOffset:flatbuffers.Offset):flatbuffers.Offset {
|
|
194
|
+
CCTCategory.startCCTCategory(builder);
|
|
195
|
+
CCTCategory.addCode(builder, CODE);
|
|
196
|
+
CCTCategory.addDisplayName(builder, DISPLAY_NAMEOffset);
|
|
197
|
+
CCTCategory.addSummary(builder, SUMMARYOffset);
|
|
198
|
+
CCTCategory.addSlug(builder, SLUGOffset);
|
|
199
|
+
CCTCategory.addDescription(builder, DESCRIPTIONOffset);
|
|
200
|
+
CCTCategory.addParent(builder, PARENT);
|
|
201
|
+
CCTCategory.addSortOrder(builder, SORT_ORDER);
|
|
202
|
+
CCTCategory.addKeywords(builder, KEYWORDSOffset);
|
|
203
|
+
CCTCategory.addIconKey(builder, ICON_KEYOffset);
|
|
204
|
+
return CCTCategory.endCCTCategory(builder);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
unpack(): CCTCategoryT {
|
|
208
|
+
return new CCTCategoryT(
|
|
209
|
+
this.CODE(),
|
|
210
|
+
this.DISPLAY_NAME(),
|
|
211
|
+
this.SUMMARY(),
|
|
212
|
+
this.SLUG(),
|
|
213
|
+
this.DESCRIPTION(),
|
|
214
|
+
this.PARENT(),
|
|
215
|
+
this.SORT_ORDER(),
|
|
216
|
+
this.bb!.createScalarList<string>(this.KEYWORDS.bind(this), this.keywordsLength()),
|
|
217
|
+
this.ICON_KEY()
|
|
218
|
+
);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
unpackTo(_o: CCTCategoryT): void {
|
|
223
|
+
_o.CODE = this.CODE();
|
|
224
|
+
_o.DISPLAY_NAME = this.DISPLAY_NAME();
|
|
225
|
+
_o.SUMMARY = this.SUMMARY();
|
|
226
|
+
_o.SLUG = this.SLUG();
|
|
227
|
+
_o.DESCRIPTION = this.DESCRIPTION();
|
|
228
|
+
_o.PARENT = this.PARENT();
|
|
229
|
+
_o.SORT_ORDER = this.SORT_ORDER();
|
|
230
|
+
_o.KEYWORDS = this.bb!.createScalarList<string>(this.KEYWORDS.bind(this), this.keywordsLength());
|
|
231
|
+
_o.ICON_KEY = this.ICON_KEY();
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export class CCTCategoryT implements flatbuffers.IGeneratedObject {
|
|
236
|
+
constructor(
|
|
237
|
+
public CODE: capabilityClass = capabilityClass.UNSPECIFIED,
|
|
238
|
+
public DISPLAY_NAME: string|Uint8Array|null = null,
|
|
239
|
+
public SUMMARY: string|Uint8Array|null = null,
|
|
240
|
+
public SLUG: string|Uint8Array|null = null,
|
|
241
|
+
public DESCRIPTION: string|Uint8Array|null = null,
|
|
242
|
+
public PARENT: capabilityClass = capabilityClass.UNSPECIFIED,
|
|
243
|
+
public SORT_ORDER: number = 0,
|
|
244
|
+
public KEYWORDS: (string)[] = [],
|
|
245
|
+
public ICON_KEY: string|Uint8Array|null = null
|
|
246
|
+
){}
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
pack(builder:flatbuffers.Builder): flatbuffers.Offset {
|
|
250
|
+
const DISPLAY_NAME = (this.DISPLAY_NAME !== null ? builder.createString(this.DISPLAY_NAME!) : 0);
|
|
251
|
+
const SUMMARY = (this.SUMMARY !== null ? builder.createString(this.SUMMARY!) : 0);
|
|
252
|
+
const SLUG = (this.SLUG !== null ? builder.createString(this.SLUG!) : 0);
|
|
253
|
+
const DESCRIPTION = (this.DESCRIPTION !== null ? builder.createString(this.DESCRIPTION!) : 0);
|
|
254
|
+
const KEYWORDS = CCTCategory.createKeywordsVector(builder, builder.createObjectOffsetList(this.KEYWORDS));
|
|
255
|
+
const ICON_KEY = (this.ICON_KEY !== null ? builder.createString(this.ICON_KEY!) : 0);
|
|
256
|
+
|
|
257
|
+
return CCTCategory.createCCTCategory(builder,
|
|
258
|
+
this.CODE,
|
|
259
|
+
DISPLAY_NAME,
|
|
260
|
+
SUMMARY,
|
|
261
|
+
SLUG,
|
|
262
|
+
DESCRIPTION,
|
|
263
|
+
this.PARENT,
|
|
264
|
+
this.SORT_ORDER,
|
|
265
|
+
KEYWORDS,
|
|
266
|
+
ICON_KEY
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
import { capabilityClass } from './capabilityClass.js';
|
|
3
|
+
/**
|
|
4
|
+
* An observed count of catalogue items in one category.
|
|
5
|
+
*
|
|
6
|
+
* Counts are VOLATILE and are never part of the ratified taxonomy itself. A
|
|
7
|
+
* rollup exists only with COUNTED_AT and SOURCE_CATALOG_ID, so a published
|
|
8
|
+
* count can never omit when it was taken or what it was taken over. A consumer
|
|
9
|
+
* that needs a live number computes it from the items; a consumer rendering a
|
|
10
|
+
* published rollup MUST show it as of COUNTED_AT.
|
|
11
|
+
*/
|
|
12
|
+
export declare class CCTCategoryRollup implements flatbuffers.IUnpackableObject<CCTCategoryRollupT> {
|
|
13
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
14
|
+
bb_pos: number;
|
|
15
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): CCTCategoryRollup;
|
|
16
|
+
static getRootAsCCTCategoryRollup(bb: flatbuffers.ByteBuffer, obj?: CCTCategoryRollup): CCTCategoryRollup;
|
|
17
|
+
static getSizePrefixedRootAsCCTCategoryRollup(bb: flatbuffers.ByteBuffer, obj?: CCTCategoryRollup): CCTCategoryRollup;
|
|
18
|
+
/**
|
|
19
|
+
* Category being counted.
|
|
20
|
+
*/
|
|
21
|
+
CODE(): capabilityClass;
|
|
22
|
+
/**
|
|
23
|
+
* Number of catalogue items whose PRIMARY_CATEGORY or CATEGORIES include
|
|
24
|
+
* CODE, counted over SOURCE_CATALOG_ID at COUNTED_AT.
|
|
25
|
+
*/
|
|
26
|
+
ITEM_COUNT(): number;
|
|
27
|
+
/**
|
|
28
|
+
* Identifier of the catalogue the count was taken over.
|
|
29
|
+
*/
|
|
30
|
+
SOURCE_CATALOG_ID(): string;
|
|
31
|
+
SOURCE_CATALOG_ID(optionalEncoding: flatbuffers.Encoding): string | Uint8Array;
|
|
32
|
+
/**
|
|
33
|
+
* Unix seconds when the count was taken.
|
|
34
|
+
*/
|
|
35
|
+
COUNTED_AT(): bigint;
|
|
36
|
+
static startCCTCategoryRollup(builder: flatbuffers.Builder): void;
|
|
37
|
+
static addCode(builder: flatbuffers.Builder, CODE: capabilityClass): void;
|
|
38
|
+
static addItemCount(builder: flatbuffers.Builder, ITEM_COUNT: number): void;
|
|
39
|
+
static addSourceCatalogId(builder: flatbuffers.Builder, SOURCE_CATALOG_IDOffset: flatbuffers.Offset): void;
|
|
40
|
+
static addCountedAt(builder: flatbuffers.Builder, COUNTED_AT: bigint): void;
|
|
41
|
+
static endCCTCategoryRollup(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
42
|
+
static createCCTCategoryRollup(builder: flatbuffers.Builder, CODE: capabilityClass, ITEM_COUNT: number, SOURCE_CATALOG_IDOffset: flatbuffers.Offset, COUNTED_AT: bigint): flatbuffers.Offset;
|
|
43
|
+
unpack(): CCTCategoryRollupT;
|
|
44
|
+
unpackTo(_o: CCTCategoryRollupT): void;
|
|
45
|
+
}
|
|
46
|
+
export declare class CCTCategoryRollupT implements flatbuffers.IGeneratedObject {
|
|
47
|
+
CODE: capabilityClass;
|
|
48
|
+
ITEM_COUNT: number;
|
|
49
|
+
SOURCE_CATALOG_ID: string | Uint8Array | null;
|
|
50
|
+
COUNTED_AT: bigint;
|
|
51
|
+
constructor(CODE?: capabilityClass, ITEM_COUNT?: number, SOURCE_CATALOG_ID?: string | Uint8Array | null, COUNTED_AT?: bigint);
|
|
52
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=CCTCategoryRollup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCTCategoryRollup.d.ts","sourceRoot":"","sources":["../../../ts/PLG/CCTCategoryRollup.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGvD;;;;;;;;GAQG;AACH,qBAAa,iBAAkB,YAAW,WAAW,CAAC,iBAAiB,CAAC,kBAAkB,CAAC;IACzF,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,iBAAiB;IAM/D,MAAM,CAAC,0BAA0B,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,iBAAiB,GAAE,iBAAiB;IAItG,MAAM,CAAC,sCAAsC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,iBAAiB,GAAE,iBAAiB;IAKlH;;OAEG;IACH,IAAI,IAAG,eAAe;IAKtB;;;OAGG;IACH,UAAU,IAAG,MAAM;IAKnB;;OAEG;IACH,iBAAiB,IAAG,MAAM;IAC1B,iBAAiB,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU;IAM1E;;OAEG;IACH,UAAU,IAAG,MAAM;IAKnB,MAAM,CAAC,sBAAsB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAIzD,MAAM,CAAC,OAAO,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,IAAI,EAAC,eAAe;IAIhE,MAAM,CAAC,YAAY,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,UAAU,EAAC,MAAM;IAIlE,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,uBAAuB,EAAC,WAAW,CAAC,MAAM;IAIjG,MAAM,CAAC,YAAY,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,UAAU,EAAC,MAAM;IAIlE,MAAM,CAAC,oBAAoB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAM3E,MAAM,CAAC,uBAAuB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,IAAI,EAAC,eAAe,EAAE,UAAU,EAAC,MAAM,EAAE,uBAAuB,EAAC,WAAW,CAAC,MAAM,EAAE,UAAU,EAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAStL,MAAM,IAAI,kBAAkB;IAU5B,QAAQ,CAAC,EAAE,EAAE,kBAAkB,GAAG,IAAI;CAMrC;AAED,qBAAa,kBAAmB,YAAW,WAAW,CAAC,gBAAgB;IAE9D,IAAI,EAAE,eAAe;IACrB,UAAU,EAAE,MAAM;IAClB,iBAAiB,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IACzC,UAAU,EAAE,MAAM;gBAHlB,IAAI,GAAE,eAA6C,EACnD,UAAU,GAAE,MAAU,EACtB,iBAAiB,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EAChD,UAAU,GAAE,MAAoB;IAIzC,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAUpD"}
|
|
@@ -0,0 +1,106 @@
|
|
|
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 { capabilityClass } from './capabilityClass.js';
|
|
5
|
+
/**
|
|
6
|
+
* An observed count of catalogue items in one category.
|
|
7
|
+
*
|
|
8
|
+
* Counts are VOLATILE and are never part of the ratified taxonomy itself. A
|
|
9
|
+
* rollup exists only with COUNTED_AT and SOURCE_CATALOG_ID, so a published
|
|
10
|
+
* count can never omit when it was taken or what it was taken over. A consumer
|
|
11
|
+
* that needs a live number computes it from the items; a consumer rendering a
|
|
12
|
+
* published rollup MUST show it as of COUNTED_AT.
|
|
13
|
+
*/
|
|
14
|
+
export class CCTCategoryRollup {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.bb = null;
|
|
17
|
+
this.bb_pos = 0;
|
|
18
|
+
}
|
|
19
|
+
__init(i, bb) {
|
|
20
|
+
this.bb_pos = i;
|
|
21
|
+
this.bb = bb;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
static getRootAsCCTCategoryRollup(bb, obj) {
|
|
25
|
+
return (obj || new CCTCategoryRollup()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
26
|
+
}
|
|
27
|
+
static getSizePrefixedRootAsCCTCategoryRollup(bb, obj) {
|
|
28
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
29
|
+
return (obj || new CCTCategoryRollup()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Category being counted.
|
|
33
|
+
*/
|
|
34
|
+
CODE() {
|
|
35
|
+
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
36
|
+
return offset ? this.bb.readUint8(this.bb_pos + offset) : capabilityClass.UNSPECIFIED;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Number of catalogue items whose PRIMARY_CATEGORY or CATEGORIES include
|
|
40
|
+
* CODE, counted over SOURCE_CATALOG_ID at COUNTED_AT.
|
|
41
|
+
*/
|
|
42
|
+
ITEM_COUNT() {
|
|
43
|
+
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
44
|
+
return offset ? this.bb.readUint32(this.bb_pos + offset) : 0;
|
|
45
|
+
}
|
|
46
|
+
SOURCE_CATALOG_ID(optionalEncoding) {
|
|
47
|
+
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
48
|
+
return this.bb.__string(this.bb_pos + offset, optionalEncoding);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Unix seconds when the count was taken.
|
|
52
|
+
*/
|
|
53
|
+
COUNTED_AT() {
|
|
54
|
+
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
55
|
+
return offset ? this.bb.readUint64(this.bb_pos + offset) : BigInt('0');
|
|
56
|
+
}
|
|
57
|
+
static startCCTCategoryRollup(builder) {
|
|
58
|
+
builder.startObject(4);
|
|
59
|
+
}
|
|
60
|
+
static addCode(builder, CODE) {
|
|
61
|
+
builder.addFieldInt8(0, CODE, capabilityClass.UNSPECIFIED);
|
|
62
|
+
}
|
|
63
|
+
static addItemCount(builder, ITEM_COUNT) {
|
|
64
|
+
builder.addFieldInt32(1, ITEM_COUNT, 0);
|
|
65
|
+
}
|
|
66
|
+
static addSourceCatalogId(builder, SOURCE_CATALOG_IDOffset) {
|
|
67
|
+
builder.addFieldOffset(2, SOURCE_CATALOG_IDOffset, 0);
|
|
68
|
+
}
|
|
69
|
+
static addCountedAt(builder, COUNTED_AT) {
|
|
70
|
+
builder.addFieldInt64(3, COUNTED_AT, BigInt('0'));
|
|
71
|
+
}
|
|
72
|
+
static endCCTCategoryRollup(builder) {
|
|
73
|
+
const offset = builder.endObject();
|
|
74
|
+
builder.requiredField(offset, 8); // SOURCE_CATALOG_ID
|
|
75
|
+
return offset;
|
|
76
|
+
}
|
|
77
|
+
static createCCTCategoryRollup(builder, CODE, ITEM_COUNT, SOURCE_CATALOG_IDOffset, COUNTED_AT) {
|
|
78
|
+
CCTCategoryRollup.startCCTCategoryRollup(builder);
|
|
79
|
+
CCTCategoryRollup.addCode(builder, CODE);
|
|
80
|
+
CCTCategoryRollup.addItemCount(builder, ITEM_COUNT);
|
|
81
|
+
CCTCategoryRollup.addSourceCatalogId(builder, SOURCE_CATALOG_IDOffset);
|
|
82
|
+
CCTCategoryRollup.addCountedAt(builder, COUNTED_AT);
|
|
83
|
+
return CCTCategoryRollup.endCCTCategoryRollup(builder);
|
|
84
|
+
}
|
|
85
|
+
unpack() {
|
|
86
|
+
return new CCTCategoryRollupT(this.CODE(), this.ITEM_COUNT(), this.SOURCE_CATALOG_ID(), this.COUNTED_AT());
|
|
87
|
+
}
|
|
88
|
+
unpackTo(_o) {
|
|
89
|
+
_o.CODE = this.CODE();
|
|
90
|
+
_o.ITEM_COUNT = this.ITEM_COUNT();
|
|
91
|
+
_o.SOURCE_CATALOG_ID = this.SOURCE_CATALOG_ID();
|
|
92
|
+
_o.COUNTED_AT = this.COUNTED_AT();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
export class CCTCategoryRollupT {
|
|
96
|
+
constructor(CODE = capabilityClass.UNSPECIFIED, ITEM_COUNT = 0, SOURCE_CATALOG_ID = null, COUNTED_AT = BigInt('0')) {
|
|
97
|
+
this.CODE = CODE;
|
|
98
|
+
this.ITEM_COUNT = ITEM_COUNT;
|
|
99
|
+
this.SOURCE_CATALOG_ID = SOURCE_CATALOG_ID;
|
|
100
|
+
this.COUNTED_AT = COUNTED_AT;
|
|
101
|
+
}
|
|
102
|
+
pack(builder) {
|
|
103
|
+
const SOURCE_CATALOG_ID = (this.SOURCE_CATALOG_ID !== null ? builder.createString(this.SOURCE_CATALOG_ID) : 0);
|
|
104
|
+
return CCTCategoryRollup.createCCTCategoryRollup(builder, this.CODE, this.ITEM_COUNT, SOURCE_CATALOG_ID, this.COUNTED_AT);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
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 { capabilityClass } from './capabilityClass.js';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* An observed count of catalogue items in one category.
|
|
12
|
+
*
|
|
13
|
+
* Counts are VOLATILE and are never part of the ratified taxonomy itself. A
|
|
14
|
+
* rollup exists only with COUNTED_AT and SOURCE_CATALOG_ID, so a published
|
|
15
|
+
* count can never omit when it was taken or what it was taken over. A consumer
|
|
16
|
+
* that needs a live number computes it from the items; a consumer rendering a
|
|
17
|
+
* published rollup MUST show it as of COUNTED_AT.
|
|
18
|
+
*/
|
|
19
|
+
export class CCTCategoryRollup implements flatbuffers.IUnpackableObject<CCTCategoryRollupT> {
|
|
20
|
+
bb: flatbuffers.ByteBuffer|null = null;
|
|
21
|
+
bb_pos = 0;
|
|
22
|
+
__init(i:number, bb:flatbuffers.ByteBuffer):CCTCategoryRollup {
|
|
23
|
+
this.bb_pos = i;
|
|
24
|
+
this.bb = bb;
|
|
25
|
+
return this;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
static getRootAsCCTCategoryRollup(bb:flatbuffers.ByteBuffer, obj?:CCTCategoryRollup):CCTCategoryRollup {
|
|
29
|
+
return (obj || new CCTCategoryRollup()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static getSizePrefixedRootAsCCTCategoryRollup(bb:flatbuffers.ByteBuffer, obj?:CCTCategoryRollup):CCTCategoryRollup {
|
|
33
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
34
|
+
return (obj || new CCTCategoryRollup()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Category being counted.
|
|
39
|
+
*/
|
|
40
|
+
CODE():capabilityClass {
|
|
41
|
+
const offset = this.bb!.__offset(this.bb_pos, 4);
|
|
42
|
+
return offset ? this.bb!.readUint8(this.bb_pos + offset) : capabilityClass.UNSPECIFIED;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Number of catalogue items whose PRIMARY_CATEGORY or CATEGORIES include
|
|
47
|
+
* CODE, counted over SOURCE_CATALOG_ID at COUNTED_AT.
|
|
48
|
+
*/
|
|
49
|
+
ITEM_COUNT():number {
|
|
50
|
+
const offset = this.bb!.__offset(this.bb_pos, 6);
|
|
51
|
+
return offset ? this.bb!.readUint32(this.bb_pos + offset) : 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Identifier of the catalogue the count was taken over.
|
|
56
|
+
*/
|
|
57
|
+
SOURCE_CATALOG_ID():string
|
|
58
|
+
SOURCE_CATALOG_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
|
|
59
|
+
SOURCE_CATALOG_ID(optionalEncoding?:any):string|Uint8Array {
|
|
60
|
+
const offset = this.bb!.__offset(this.bb_pos, 8);
|
|
61
|
+
return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Unix seconds when the count was taken.
|
|
66
|
+
*/
|
|
67
|
+
COUNTED_AT():bigint {
|
|
68
|
+
const offset = this.bb!.__offset(this.bb_pos, 10);
|
|
69
|
+
return offset ? this.bb!.readUint64(this.bb_pos + offset) : BigInt('0');
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
static startCCTCategoryRollup(builder:flatbuffers.Builder) {
|
|
73
|
+
builder.startObject(4);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
static addCode(builder:flatbuffers.Builder, CODE:capabilityClass) {
|
|
77
|
+
builder.addFieldInt8(0, CODE, capabilityClass.UNSPECIFIED);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
static addItemCount(builder:flatbuffers.Builder, ITEM_COUNT:number) {
|
|
81
|
+
builder.addFieldInt32(1, ITEM_COUNT, 0);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
static addSourceCatalogId(builder:flatbuffers.Builder, SOURCE_CATALOG_IDOffset:flatbuffers.Offset) {
|
|
85
|
+
builder.addFieldOffset(2, SOURCE_CATALOG_IDOffset, 0);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
static addCountedAt(builder:flatbuffers.Builder, COUNTED_AT:bigint) {
|
|
89
|
+
builder.addFieldInt64(3, COUNTED_AT, BigInt('0'));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
static endCCTCategoryRollup(builder:flatbuffers.Builder):flatbuffers.Offset {
|
|
93
|
+
const offset = builder.endObject();
|
|
94
|
+
builder.requiredField(offset, 8) // SOURCE_CATALOG_ID
|
|
95
|
+
return offset;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
static createCCTCategoryRollup(builder:flatbuffers.Builder, CODE:capabilityClass, ITEM_COUNT:number, SOURCE_CATALOG_IDOffset:flatbuffers.Offset, COUNTED_AT:bigint):flatbuffers.Offset {
|
|
99
|
+
CCTCategoryRollup.startCCTCategoryRollup(builder);
|
|
100
|
+
CCTCategoryRollup.addCode(builder, CODE);
|
|
101
|
+
CCTCategoryRollup.addItemCount(builder, ITEM_COUNT);
|
|
102
|
+
CCTCategoryRollup.addSourceCatalogId(builder, SOURCE_CATALOG_IDOffset);
|
|
103
|
+
CCTCategoryRollup.addCountedAt(builder, COUNTED_AT);
|
|
104
|
+
return CCTCategoryRollup.endCCTCategoryRollup(builder);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
unpack(): CCTCategoryRollupT {
|
|
108
|
+
return new CCTCategoryRollupT(
|
|
109
|
+
this.CODE(),
|
|
110
|
+
this.ITEM_COUNT(),
|
|
111
|
+
this.SOURCE_CATALOG_ID(),
|
|
112
|
+
this.COUNTED_AT()
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
unpackTo(_o: CCTCategoryRollupT): void {
|
|
118
|
+
_o.CODE = this.CODE();
|
|
119
|
+
_o.ITEM_COUNT = this.ITEM_COUNT();
|
|
120
|
+
_o.SOURCE_CATALOG_ID = this.SOURCE_CATALOG_ID();
|
|
121
|
+
_o.COUNTED_AT = this.COUNTED_AT();
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export class CCTCategoryRollupT implements flatbuffers.IGeneratedObject {
|
|
126
|
+
constructor(
|
|
127
|
+
public CODE: capabilityClass = capabilityClass.UNSPECIFIED,
|
|
128
|
+
public ITEM_COUNT: number = 0,
|
|
129
|
+
public SOURCE_CATALOG_ID: string|Uint8Array|null = null,
|
|
130
|
+
public COUNTED_AT: bigint = BigInt('0')
|
|
131
|
+
){}
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
pack(builder:flatbuffers.Builder): flatbuffers.Offset {
|
|
135
|
+
const SOURCE_CATALOG_ID = (this.SOURCE_CATALOG_ID !== null ? builder.createString(this.SOURCE_CATALOG_ID!) : 0);
|
|
136
|
+
|
|
137
|
+
return CCTCategoryRollup.createCCTCategoryRollup(builder,
|
|
138
|
+
this.CODE,
|
|
139
|
+
this.ITEM_COUNT,
|
|
140
|
+
SOURCE_CATALOG_ID,
|
|
141
|
+
this.COUNTED_AT
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
@@ -12,6 +12,7 @@ import { PLGProtocolSpec, PLGProtocolSpecT } from './PLGProtocolSpec.js';
|
|
|
12
12
|
import { PLGTimerSpec, PLGTimerSpecT } from './PLGTimerSpec.js';
|
|
13
13
|
import { PluginCapability, PluginCapabilityT } from './PluginCapability.js';
|
|
14
14
|
import { PluginDependency, PluginDependencyT } from './PluginDependency.js';
|
|
15
|
+
import { capabilityClass } from './capabilityClass.js';
|
|
15
16
|
import { invokeSurfaceKind } from './invokeSurfaceKind.js';
|
|
16
17
|
import { pluginCategory } from './pluginCategory.js';
|
|
17
18
|
import { publicationState } from './publicationState.js';
|
|
@@ -315,6 +316,43 @@ export declare class PLG implements flatbuffers.IUnpackableObject<PLGT> {
|
|
|
315
316
|
*/
|
|
316
317
|
FLOW_TRIGGER_BINDINGS(index: number, obj?: PLGFlowTriggerBinding): PLGFlowTriggerBinding | null;
|
|
317
318
|
flowTriggerBindingsLength(): number;
|
|
319
|
+
/**
|
|
320
|
+
* The one ratified $CCT category this module is shelved under. This is the
|
|
321
|
+
* category a storefront capsule, a library shelf and a breadcrumb show when
|
|
322
|
+
* exactly one must be chosen. UNSPECIFIED means the publisher did not
|
|
323
|
+
* classify the module; a consumer renders it ungrouped and never guesses.
|
|
324
|
+
*
|
|
325
|
+
* This supersedes PLUGIN_TYPE for all storefront, library and search
|
|
326
|
+
* surfaces. PLUGIN_TYPE remains on the wire and is not removed, but its
|
|
327
|
+
* `pluginCategory` vocabulary mixes capability families with node-internal
|
|
328
|
+
* plumbing, carries a legacy vendor-derived member, holds a real family at
|
|
329
|
+
* ordinal 0, and admits only one value. Canonical migration, applied by a
|
|
330
|
+
* publisher rewriting an old manifest:
|
|
331
|
+
* Sensor->SENSORS_AND_COVERAGE, Propagator->PROPAGATION,
|
|
332
|
+
* Renderer->VISUALIZATION_AND_RENDERING,
|
|
333
|
+
* Analysis->MISSION_DESIGN_AND_ANALYSIS,
|
|
334
|
+
* DataSource->DATA_SOURCES_AND_INGEST, EW->ELECTRONIC_WARFARE,
|
|
335
|
+
* Comms->RF_AND_COMMUNICATIONS, Physics->SPACE_ENVIRONMENT,
|
|
336
|
+
* Shader->VISUALIZATION_AND_RENDERING, Parser->DATA_SOURCES_AND_INGEST,
|
|
337
|
+
* Validator->DATA_VALIDATION_AND_QUALITY, Interpolator->PROPAGATION,
|
|
338
|
+
* Exporter->DATA_SOURCES_AND_INGEST, Foundation->FOUNDATION_AND_MATH,
|
|
339
|
+
* Infrastructure->NODE_INFRASTRUCTURE, Licensing->COMMERCE_AND_LICENSING,
|
|
340
|
+
* Storefront->COMMERCE_AND_LICENSING, Publisher->NODE_INFRASTRUCTURE,
|
|
341
|
+
* Basilisk->PROPAGATION, Maneuver->MANEUVER_PLANNING,
|
|
342
|
+
* Flow->FLOW_AND_COMPOSITION, Unspecified->UNSPECIFIED.
|
|
343
|
+
* The mapping is one-way: PRIMARY_CATEGORY is never back-derived into
|
|
344
|
+
* PLUGIN_TYPE.
|
|
345
|
+
*/
|
|
346
|
+
PRIMARY_CATEGORY(): capabilityClass;
|
|
347
|
+
/**
|
|
348
|
+
* Every ratified $CCT category this module belongs to, for browse, filter
|
|
349
|
+
* and per-category counting. A module MAY carry several. If nonempty it
|
|
350
|
+
* MUST include PRIMARY_CATEGORY. Codes MUST NOT repeat. An empty list with
|
|
351
|
+
* a set PRIMARY_CATEGORY means the module belongs to that one category.
|
|
352
|
+
*/
|
|
353
|
+
CATEGORIES(index: number): capabilityClass | null;
|
|
354
|
+
categoriesLength(): number;
|
|
355
|
+
categoriesArray(): Uint8Array | null;
|
|
318
356
|
static startPLG(builder: flatbuffers.Builder): void;
|
|
319
357
|
static addPluginId(builder: flatbuffers.Builder, PLUGIN_IDOffset: flatbuffers.Offset): void;
|
|
320
358
|
static addName(builder: flatbuffers.Builder, NAMEOffset: flatbuffers.Offset): void;
|
|
@@ -422,10 +460,14 @@ export declare class PLG implements flatbuffers.IUnpackableObject<PLGT> {
|
|
|
422
460
|
static addFlowTriggerBindings(builder: flatbuffers.Builder, FLOW_TRIGGER_BINDINGSOffset: flatbuffers.Offset): void;
|
|
423
461
|
static createFlowTriggerBindingsVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
|
|
424
462
|
static startFlowTriggerBindingsVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
463
|
+
static addPrimaryCategory(builder: flatbuffers.Builder, PRIMARY_CATEGORY: capabilityClass): void;
|
|
464
|
+
static addCategories(builder: flatbuffers.Builder, CATEGORIESOffset: flatbuffers.Offset): void;
|
|
465
|
+
static createCategoriesVector(builder: flatbuffers.Builder, data: capabilityClass[]): flatbuffers.Offset;
|
|
466
|
+
static startCategoriesVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
425
467
|
static endPLG(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
426
468
|
static finishPLGBuffer(builder: flatbuffers.Builder, offset: flatbuffers.Offset): void;
|
|
427
469
|
static finishSizePrefixedPLGBuffer(builder: flatbuffers.Builder, offset: flatbuffers.Offset): void;
|
|
428
|
-
static createPLG(builder: flatbuffers.Builder, PLUGIN_IDOffset: flatbuffers.Offset, NAMEOffset: flatbuffers.Offset, VERSIONOffset: flatbuffers.Offset, DESCRIPTIONOffset: flatbuffers.Offset, TAGLINEOffset: flatbuffers.Offset, PLUGIN_TYPE: pluginCategory, PUBLISHER_NAMEOffset: flatbuffers.Offset, PUBLISHER_HANDLEOffset: flatbuffers.Offset, PUBLISHER_URLOffset: flatbuffers.Offset, SUPPORT_URLOffset: flatbuffers.Offset, TAGSOffset: flatbuffers.Offset, FEATURESOffset: flatbuffers.Offset, SCREENSHOT_URLSOffset: flatbuffers.Offset, BANNER_URLOffset: flatbuffers.Offset, ABI_VERSION: number, WASM_HASHOffset: flatbuffers.Offset, WASM_SIZE: bigint, WASM_CIDOffset: flatbuffers.Offset, ENCRYPTED_WASM_HASHOffset: flatbuffers.Offset, ENCRYPTED_WASM_SIZE: bigint, ENTRY_FUNCTIONSOffset: flatbuffers.Offset, REQUIRED_SCHEMASOffset: flatbuffers.Offset, DEPENDENCIESOffset: flatbuffers.Offset, CAPABILITIESOffset: flatbuffers.Offset, PROVIDER_PEER_IDOffset: flatbuffers.Offset, PROVIDER_EPM_CIDOffset: flatbuffers.Offset, ENCRYPTED: boolean, REQUIRED_SCOPEOffset: flatbuffers.Offset, KEY_IDOffset: flatbuffers.Offset, MAX_GRANT_TIMEOUT_MS: bigint, MIN_PERMISSIONSOffset: flatbuffers.Offset, CREATED_AT: bigint, UPDATED_AT: bigint, DOCUMENTATION_URLOffset: flatbuffers.Offset, CHANGELOG_URLOffset: flatbuffers.Offset, ICON_URLOffset: flatbuffers.Offset, LICENSEOffset: flatbuffers.Offset, PAYMENT_MODEL: purchaseTier, PRICE_USD_CENTS: number, SUBSCRIPTION_PERIOD_DAYS: number, ACCEPTED_PAYMENT_METHODSOffset: flatbuffers.Offset, LISTING_STATUS: publicationState, SIGNATUREOffset: flatbuffers.Offset, INVOKE_SURFACESOffset: flatbuffers.Offset, METHODSOffset: flatbuffers.Offset, HOST_CAPABILITIESOffset: flatbuffers.Offset, TIMERSOffset: flatbuffers.Offset, PROTOCOLSOffset: flatbuffers.Offset, SCHEMAS_USEDOffset: flatbuffers.Offset, BUILD_ARTIFACTSOffset: flatbuffers.Offset, RUNTIME_TARGETSOffset: flatbuffers.Offset, ALLOWED_XPUBSOffset: flatbuffers.Offset, FLOW_NODESOffset: flatbuffers.Offset, FLOW_EDGESOffset: flatbuffers.Offset, FLOW_TRIGGERSOffset: flatbuffers.Offset, FLOW_TRIGGER_BINDINGSOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
470
|
+
static createPLG(builder: flatbuffers.Builder, PLUGIN_IDOffset: flatbuffers.Offset, NAMEOffset: flatbuffers.Offset, VERSIONOffset: flatbuffers.Offset, DESCRIPTIONOffset: flatbuffers.Offset, TAGLINEOffset: flatbuffers.Offset, PLUGIN_TYPE: pluginCategory, PUBLISHER_NAMEOffset: flatbuffers.Offset, PUBLISHER_HANDLEOffset: flatbuffers.Offset, PUBLISHER_URLOffset: flatbuffers.Offset, SUPPORT_URLOffset: flatbuffers.Offset, TAGSOffset: flatbuffers.Offset, FEATURESOffset: flatbuffers.Offset, SCREENSHOT_URLSOffset: flatbuffers.Offset, BANNER_URLOffset: flatbuffers.Offset, ABI_VERSION: number, WASM_HASHOffset: flatbuffers.Offset, WASM_SIZE: bigint, WASM_CIDOffset: flatbuffers.Offset, ENCRYPTED_WASM_HASHOffset: flatbuffers.Offset, ENCRYPTED_WASM_SIZE: bigint, ENTRY_FUNCTIONSOffset: flatbuffers.Offset, REQUIRED_SCHEMASOffset: flatbuffers.Offset, DEPENDENCIESOffset: flatbuffers.Offset, CAPABILITIESOffset: flatbuffers.Offset, PROVIDER_PEER_IDOffset: flatbuffers.Offset, PROVIDER_EPM_CIDOffset: flatbuffers.Offset, ENCRYPTED: boolean, REQUIRED_SCOPEOffset: flatbuffers.Offset, KEY_IDOffset: flatbuffers.Offset, MAX_GRANT_TIMEOUT_MS: bigint, MIN_PERMISSIONSOffset: flatbuffers.Offset, CREATED_AT: bigint, UPDATED_AT: bigint, DOCUMENTATION_URLOffset: flatbuffers.Offset, CHANGELOG_URLOffset: flatbuffers.Offset, ICON_URLOffset: flatbuffers.Offset, LICENSEOffset: flatbuffers.Offset, PAYMENT_MODEL: purchaseTier, PRICE_USD_CENTS: number, SUBSCRIPTION_PERIOD_DAYS: number, ACCEPTED_PAYMENT_METHODSOffset: flatbuffers.Offset, LISTING_STATUS: publicationState, SIGNATUREOffset: flatbuffers.Offset, INVOKE_SURFACESOffset: flatbuffers.Offset, METHODSOffset: flatbuffers.Offset, HOST_CAPABILITIESOffset: flatbuffers.Offset, TIMERSOffset: flatbuffers.Offset, PROTOCOLSOffset: flatbuffers.Offset, SCHEMAS_USEDOffset: flatbuffers.Offset, BUILD_ARTIFACTSOffset: flatbuffers.Offset, RUNTIME_TARGETSOffset: flatbuffers.Offset, ALLOWED_XPUBSOffset: flatbuffers.Offset, FLOW_NODESOffset: flatbuffers.Offset, FLOW_EDGESOffset: flatbuffers.Offset, FLOW_TRIGGERSOffset: flatbuffers.Offset, FLOW_TRIGGER_BINDINGSOffset: flatbuffers.Offset, PRIMARY_CATEGORY: capabilityClass, CATEGORIESOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
429
471
|
unpack(): PLGT;
|
|
430
472
|
unpackTo(_o: PLGT): void;
|
|
431
473
|
}
|
|
@@ -486,7 +528,9 @@ export declare class PLGT implements flatbuffers.IGeneratedObject {
|
|
|
486
528
|
FLOW_EDGES: (PLGFlowEdgeT)[];
|
|
487
529
|
FLOW_TRIGGERS: (PLGFlowTriggerT)[];
|
|
488
530
|
FLOW_TRIGGER_BINDINGS: (PLGFlowTriggerBindingT)[];
|
|
489
|
-
|
|
531
|
+
PRIMARY_CATEGORY: capabilityClass;
|
|
532
|
+
CATEGORIES: (capabilityClass)[];
|
|
533
|
+
constructor(PLUGIN_ID?: string | Uint8Array | null, NAME?: string | Uint8Array | null, VERSION?: string | Uint8Array | null, DESCRIPTION?: string | Uint8Array | null, TAGLINE?: string | Uint8Array | null, PLUGIN_TYPE?: pluginCategory, PUBLISHER_NAME?: string | Uint8Array | null, PUBLISHER_HANDLE?: string | Uint8Array | null, PUBLISHER_URL?: string | Uint8Array | null, SUPPORT_URL?: string | Uint8Array | null, TAGS?: (string)[], FEATURES?: (string)[], SCREENSHOT_URLS?: (string)[], BANNER_URL?: string | Uint8Array | null, ABI_VERSION?: number, WASM_HASH?: (number)[], WASM_SIZE?: bigint, WASM_CID?: string | Uint8Array | null, ENCRYPTED_WASM_HASH?: (number)[], ENCRYPTED_WASM_SIZE?: bigint, ENTRY_FUNCTIONS?: (EntryFunctionT)[], REQUIRED_SCHEMAS?: (string)[], DEPENDENCIES?: (PluginDependencyT)[], CAPABILITIES?: (PluginCapabilityT)[], PROVIDER_PEER_ID?: string | Uint8Array | null, PROVIDER_EPM_CID?: string | Uint8Array | null, ENCRYPTED?: boolean, REQUIRED_SCOPE?: string | Uint8Array | null, KEY_ID?: string | Uint8Array | null, MAX_GRANT_TIMEOUT_MS?: bigint, MIN_PERMISSIONS?: (string)[], CREATED_AT?: bigint, UPDATED_AT?: bigint, DOCUMENTATION_URL?: string | Uint8Array | null, CHANGELOG_URL?: string | Uint8Array | null, ICON_URL?: string | Uint8Array | null, LICENSE?: string | Uint8Array | null, PAYMENT_MODEL?: purchaseTier, PRICE_USD_CENTS?: number, SUBSCRIPTION_PERIOD_DAYS?: number, ACCEPTED_PAYMENT_METHODS?: (string)[], LISTING_STATUS?: publicationState, SIGNATURE?: (number)[], INVOKE_SURFACES?: (invokeSurfaceKind)[], METHODS?: (PLGMethodManifestT)[], HOST_CAPABILITIES?: (PLGHostCapabilityT)[], TIMERS?: (PLGTimerSpecT)[], PROTOCOLS?: (PLGProtocolSpecT)[], SCHEMAS_USED?: (FlatBufferTypeRefT)[], BUILD_ARTIFACTS?: (PLGBuildArtifactT)[], RUNTIME_TARGETS?: (string)[], ALLOWED_XPUBS?: (string)[], FLOW_NODES?: (PLGFlowNodeT)[], FLOW_EDGES?: (PLGFlowEdgeT)[], FLOW_TRIGGERS?: (PLGFlowTriggerT)[], FLOW_TRIGGER_BINDINGS?: (PLGFlowTriggerBindingT)[], PRIMARY_CATEGORY?: capabilityClass, CATEGORIES?: (capabilityClass)[]);
|
|
490
534
|
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
491
535
|
}
|
|
492
536
|
//# sourceMappingURL=PLG.d.ts.map
|