space-data-module-sdk 0.8.3 → 0.8.5
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 +117 -20
- package/bin/space-data-module.js +263 -0
- package/docs/.nojekyll +1 -0
- package/docs/AGENTS.md +34 -0
- package/docs/architecture.svg +141 -0
- package/docs/browser-wasmedge-isomorphic.md +179 -0
- package/docs/flatsql-streaming-standard.md +341 -0
- package/docs/gpu-module-abi.md +193 -0
- package/docs/index.html +125 -0
- package/docs/isomorphic-pthreads.md +188 -0
- package/docs/isomorphic-sdn-runtime-plan.md +167 -0
- package/docs/language-runtime-matrix.md +82 -0
- package/docs/manifest-structure.svg +114 -0
- package/docs/module-bundle-runtime-plan.md +19 -0
- package/docs/module-lifecycle.svg +70 -0
- package/docs/module-publication-standard.md +540 -0
- package/docs/node-red-default-node-parity.md +88 -0
- package/docs/protocol-installation.md +196 -0
- package/docs/secrets-capability.md +152 -0
- package/docs/styles.css +288 -0
- package/docs/testing-harness.md +408 -0
- package/docs/tri-runtime-parity.md +132 -0
- package/docs/wallet-callback.html +2 -0
- package/package.json +26 -6
- package/schemas/HttpRequestAbi.fbs +41 -0
- package/schemas/HttpResponseAbi.fbs +36 -0
- package/schemas/PluginManifest.fbs +2 -1
- package/src/AGENTS.md +1 -1
- package/src/app/codec.js +548 -0
- package/src/app/index.js +6 -0
- package/src/browser.js +5 -0
- package/src/bundle/constants.js +1 -0
- package/src/bundle/index.js +15 -0
- package/src/bundle/sigdomain.js +179 -0
- package/src/bundle/signing.js +767 -0
- package/src/bundle/wasm.js +3 -2
- package/src/capabilities.js +3 -0
- package/src/compat/index.js +7 -0
- package/src/compat/sdnLegacy.js +449 -0
- package/src/compiler/compileModule.js +556 -55
- package/src/compiler/flatcSupport.js +41 -27
- package/src/compiler/index.d.ts +2 -0
- package/src/compiler/index.js +18 -0
- package/src/compiler/invokeGlue.js +1212 -183
- package/src/compiler/pthreadArtifactGuard.js +910 -0
- package/src/compiler/sdnShimGenerator.js +323 -0
- package/src/compiler/wasiThreadsToolchain.js +150 -0
- package/src/compliance/index.js +11 -1
- package/src/compliance/legacyWildcardPorts.js +228 -0
- package/src/compliance/pluginCompliance.js +1000 -96
- package/src/field-stream/index.d.ts +31 -0
- package/src/field-stream/index.js +119 -0
- package/src/flow/dependencyStreamBridge.js +234 -0
- package/src/flow/flatsqlLinkShim.js +304 -0
- package/src/flow/flowCodec.js +107 -0
- package/src/flow/flowCompiler.js +2900 -0
- package/src/flow/flowRuntimeHost.js +877 -0
- package/src/flow/index.d.ts +117 -0
- package/src/flow/index.js +31 -0
- package/src/flow/isomorphicFlowHost.js +384 -0
- package/src/flow/jsFlowRuntime.js +275 -0
- package/src/flow/normalize.js +294 -0
- package/src/flow/runtime-src/flow_runtime.cpp +1699 -0
- package/src/flow/vendor/sdn-flow/MethodRegistry.js +400 -0
- package/src/flow/vendor/sdn-flow/constants.js +39 -0
- package/src/flow/vendor/sdn-flow/index.js +29 -0
- package/src/flow/vendor/sdn-flow/normalize.js +506 -0
- package/src/flow/vendor/sdn-flow/wasmCompatibility.js +189 -0
- package/src/generated/http/cpp/HttpRequestAbi_generated.h +285 -0
- package/src/generated/http/cpp/HttpResponseAbi_generated.h +192 -0
- package/src/generated/http/sdn/http/http-header.js +53 -0
- package/src/generated/http/sdn/http/http-header.ts +67 -0
- package/src/generated/http/sdn/http/http-request.js +132 -0
- package/src/generated/http/sdn/http/http-request.ts +179 -0
- package/src/generated/http/sdn/http/http-response.js +144 -0
- package/src/generated/http/sdn/http/http-response.ts +168 -0
- package/src/generated/http/sdn/http.js +11 -0
- package/src/generated/http/sdn/http.ts +4 -0
- package/src/generated/orbpro/flow/backpressure-policy.d.ts +12 -0
- package/src/generated/orbpro/flow/backpressure-policy.d.ts.map +1 -0
- package/src/generated/orbpro/flow/backpressure-policy.js +17 -0
- package/src/generated/orbpro/flow/backpressure-policy.js.map +1 -0
- package/src/generated/orbpro/flow/backpressure-policy.ts +15 -0
- package/src/generated/orbpro/flow/flow-bundle-manifest.d.ts +142 -0
- package/src/generated/orbpro/flow/flow-bundle-manifest.d.ts.map +1 -0
- package/src/generated/orbpro/flow/flow-bundle-manifest.js +304 -0
- package/src/generated/orbpro/flow/flow-bundle-manifest.js.map +1 -0
- package/src/generated/orbpro/flow/flow-bundle-manifest.ts +399 -0
- package/src/generated/orbpro/flow/flow-edge.d.ts +113 -0
- package/src/generated/orbpro/flow/flow-edge.d.ts.map +1 -0
- package/src/generated/orbpro/flow/flow-edge.js +221 -0
- package/src/generated/orbpro/flow/flow-edge.js.map +1 -0
- package/src/generated/orbpro/flow/flow-edge.ts +292 -0
- package/src/generated/orbpro/flow/flow-node.d.ts +80 -0
- package/src/generated/orbpro/flow/flow-node.d.ts.map +1 -0
- package/src/generated/orbpro/flow/flow-node.js +158 -0
- package/src/generated/orbpro/flow/flow-node.js.map +1 -0
- package/src/generated/orbpro/flow/flow-node.ts +202 -0
- package/src/generated/orbpro/flow/flow-program.d.ts +164 -0
- package/src/generated/orbpro/flow/flow-program.d.ts.map +1 -0
- package/src/generated/orbpro/flow/flow-program.js +350 -0
- package/src/generated/orbpro/flow/flow-program.js.map +1 -0
- package/src/generated/orbpro/flow/flow-program.ts +477 -0
- package/src/generated/orbpro/flow/flow-trigger.d.ts +108 -0
- package/src/generated/orbpro/flow/flow-trigger.d.ts.map +1 -0
- package/src/generated/orbpro/flow/flow-trigger.js +207 -0
- package/src/generated/orbpro/flow/flow-trigger.js.map +1 -0
- package/src/generated/orbpro/flow/flow-trigger.ts +276 -0
- package/src/generated/orbpro/flow/node-kind.d.ts +13 -0
- package/src/generated/orbpro/flow/node-kind.d.ts.map +1 -0
- package/src/generated/orbpro/flow/node-kind.js +16 -0
- package/src/generated/orbpro/flow/node-kind.js.map +1 -0
- package/src/generated/orbpro/{invoke.ts → flow/node-kind.ts} +12 -2
- package/src/generated/orbpro/flow/plugin-version-binding.d.ts +52 -0
- package/src/generated/orbpro/flow/plugin-version-binding.d.ts.map +1 -0
- package/src/generated/orbpro/flow/plugin-version-binding.js +85 -0
- package/src/generated/orbpro/flow/plugin-version-binding.js.map +1 -0
- package/src/generated/orbpro/flow/plugin-version-binding.ts +121 -0
- package/src/generated/orbpro/flow/schema-hash-binding.d.ts +70 -0
- package/src/generated/orbpro/flow/schema-hash-binding.d.ts.map +1 -0
- package/src/generated/orbpro/flow/schema-hash-binding.js +143 -0
- package/src/generated/orbpro/flow/schema-hash-binding.js.map +1 -0
- package/src/generated/orbpro/flow/schema-hash-binding.ts +189 -0
- package/src/generated/orbpro/flow/trigger-binding.d.ts +71 -0
- package/src/generated/orbpro/flow/trigger-binding.d.ts.map +1 -0
- package/src/generated/orbpro/flow/trigger-binding.js +142 -0
- package/src/generated/orbpro/flow/trigger-binding.js.map +1 -0
- package/src/generated/orbpro/flow/trigger-binding.ts +181 -0
- package/src/generated/orbpro/flow/trigger-kind.d.ts +14 -0
- package/src/generated/orbpro/flow/trigger-kind.d.ts.map +1 -0
- package/src/generated/orbpro/flow/trigger-kind.js +17 -0
- package/src/generated/orbpro/flow/trigger-kind.js.map +1 -0
- package/src/generated/orbpro/flow/trigger-kind.ts +17 -0
- package/src/generated/orbpro/flow.d.ts +21 -0
- package/src/generated/orbpro/flow.d.ts.map +1 -0
- package/src/generated/orbpro/flow.js +23 -0
- package/src/generated/orbpro/flow.js.map +1 -0
- package/src/generated/orbpro/flow.ts +24 -0
- package/src/generated/orbpro/manifest/capability-kind.d.ts +2 -1
- package/src/generated/orbpro/manifest/capability-kind.js +1 -0
- package/src/generated/orbpro/manifest/capability-kind.ts +1 -0
- package/src/generated/orbpro/plugin/stream-invoke-request.d.ts +93 -0
- package/src/generated/orbpro/plugin/stream-invoke-request.js +160 -0
- package/src/generated/orbpro/plugin/stream-invoke-request.ts +211 -0
- package/src/generated/orbpro/plugin/stream-invoke-response.d.ts +99 -0
- package/src/generated/orbpro/plugin/stream-invoke-response.js +175 -0
- package/src/generated/orbpro/plugin/stream-invoke-response.ts +226 -0
- package/src/generated/orbpro/plugin.js +8 -0
- package/src/generated/orbpro/stream.d.ts +12 -0
- package/src/generated/orbpro/stream.js +14 -0
- package/src/generated/orbpro/stream.ts +15 -0
- package/src/generated/spacedatastandards/plg/EntryFunction.d.ts +52 -0
- package/src/generated/spacedatastandards/plg/EntryFunction.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/EntryFunction.js +106 -0
- package/src/generated/spacedatastandards/plg/EntryFunction.ts +162 -0
- package/src/generated/spacedatastandards/plg/FlatBufferTypeRef.d.ts +90 -0
- package/src/generated/spacedatastandards/plg/FlatBufferTypeRef.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/FlatBufferTypeRef.js +189 -0
- package/src/generated/spacedatastandards/plg/FlatBufferTypeRef.ts +270 -0
- package/src/generated/spacedatastandards/plg/PLG.d.ts +492 -0
- package/src/generated/spacedatastandards/plg/PLG.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLG.js +1139 -0
- package/src/generated/spacedatastandards/plg/PLG.ts +1600 -0
- package/src/generated/spacedatastandards/plg/PLGAcceptedTypeSet.d.ts +63 -0
- package/src/generated/spacedatastandards/plg/PLGAcceptedTypeSet.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLGAcceptedTypeSet.js +138 -0
- package/src/generated/spacedatastandards/plg/PLGAcceptedTypeSet.ts +189 -0
- package/src/generated/spacedatastandards/plg/PLGBuildArtifact.d.ts +41 -0
- package/src/generated/spacedatastandards/plg/PLGBuildArtifact.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLGBuildArtifact.js +104 -0
- package/src/generated/spacedatastandards/plg/PLGBuildArtifact.ts +151 -0
- package/src/generated/spacedatastandards/plg/PLGFlowEdge.d.ts +68 -0
- package/src/generated/spacedatastandards/plg/PLGFlowEdge.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLGFlowEdge.js +124 -0
- package/src/generated/spacedatastandards/plg/PLGFlowEdge.ts +184 -0
- package/src/generated/spacedatastandards/plg/PLGFlowEdgeContract.d.ts +58 -0
- package/src/generated/spacedatastandards/plg/PLGFlowEdgeContract.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLGFlowEdgeContract.js +126 -0
- package/src/generated/spacedatastandards/plg/PLGFlowEdgeContract.ts +161 -0
- package/src/generated/spacedatastandards/plg/PLGFlowNode.d.ts +82 -0
- package/src/generated/spacedatastandards/plg/PLGFlowNode.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLGFlowNode.js +164 -0
- package/src/generated/spacedatastandards/plg/PLGFlowNode.ts +244 -0
- package/src/generated/spacedatastandards/plg/PLGFlowTrigger.d.ts +55 -0
- package/src/generated/spacedatastandards/plg/PLGFlowTrigger.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLGFlowTrigger.js +105 -0
- package/src/generated/spacedatastandards/plg/PLGFlowTrigger.ts +162 -0
- package/src/generated/spacedatastandards/plg/PLGFlowTriggerBinding.d.ts +42 -0
- package/src/generated/spacedatastandards/plg/PLGFlowTriggerBinding.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLGFlowTriggerBinding.js +83 -0
- package/src/generated/spacedatastandards/plg/PLGFlowTriggerBinding.ts +127 -0
- package/src/generated/spacedatastandards/plg/PLGHostCapability.d.ts +36 -0
- package/src/generated/spacedatastandards/plg/PLGHostCapability.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLGHostCapability.js +90 -0
- package/src/generated/spacedatastandards/plg/PLGHostCapability.ts +127 -0
- package/src/generated/spacedatastandards/plg/PLGMethodManifest.d.ts +53 -0
- package/src/generated/spacedatastandards/plg/PLGMethodManifest.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLGMethodManifest.js +153 -0
- package/src/generated/spacedatastandards/plg/PLGMethodManifest.ts +210 -0
- package/src/generated/spacedatastandards/plg/PLGPortManifest.d.ts +70 -0
- package/src/generated/spacedatastandards/plg/PLGPortManifest.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLGPortManifest.js +149 -0
- package/src/generated/spacedatastandards/plg/PLGPortManifest.ts +212 -0
- package/src/generated/spacedatastandards/plg/PLGProtocolSpec.d.ts +73 -0
- package/src/generated/spacedatastandards/plg/PLGProtocolSpec.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLGProtocolSpec.js +199 -0
- package/src/generated/spacedatastandards/plg/PLGProtocolSpec.ts +292 -0
- package/src/generated/spacedatastandards/plg/PLGTimerSpec.d.ts +40 -0
- package/src/generated/spacedatastandards/plg/PLGTimerSpec.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PLGTimerSpec.js +103 -0
- package/src/generated/spacedatastandards/plg/PLGTimerSpec.ts +148 -0
- package/src/generated/spacedatastandards/plg/PluginCapability.d.ts +41 -0
- package/src/generated/spacedatastandards/plg/PluginCapability.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PluginCapability.js +82 -0
- package/src/generated/spacedatastandards/plg/{plugin-capability.ts → PluginCapability.ts} +55 -18
- package/src/generated/spacedatastandards/plg/PluginDependency.d.ts +42 -0
- package/src/generated/spacedatastandards/plg/PluginDependency.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/PluginDependency.js +80 -0
- package/src/generated/spacedatastandards/plg/PluginDependency.ts +124 -0
- package/src/generated/spacedatastandards/plg/TAB.d.ts +85 -0
- package/src/generated/spacedatastandards/plg/TAB.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/TAB.js +173 -0
- package/src/generated/spacedatastandards/plg/TAB.ts +228 -0
- package/src/generated/spacedatastandards/plg/bufferMutability.d.ts +18 -0
- package/src/generated/spacedatastandards/plg/bufferMutability.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/bufferMutability.js +20 -0
- package/src/generated/spacedatastandards/plg/bufferMutability.ts +23 -0
- package/src/generated/spacedatastandards/plg/bufferOwnership.d.ts +18 -0
- package/src/generated/spacedatastandards/plg/bufferOwnership.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/bufferOwnership.js +20 -0
- package/src/generated/spacedatastandards/plg/bufferOwnership.ts +23 -0
- package/src/generated/spacedatastandards/plg/drainBehavior.d.ts +20 -0
- package/src/generated/spacedatastandards/plg/drainBehavior.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/drainBehavior.js +22 -0
- package/src/generated/spacedatastandards/plg/drainBehavior.ts +25 -0
- package/src/generated/spacedatastandards/plg/flowEdgeRoutePolicy.d.ts +10 -0
- package/src/generated/spacedatastandards/plg/flowEdgeRoutePolicy.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/flowEdgeRoutePolicy.js +12 -0
- package/src/generated/spacedatastandards/plg/flowEdgeRoutePolicy.ts +13 -0
- package/src/generated/spacedatastandards/plg/hostCapabilityKind.d.ts +51 -0
- package/src/generated/spacedatastandards/plg/hostCapabilityKind.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/hostCapabilityKind.js +53 -0
- package/src/generated/spacedatastandards/plg/hostCapabilityKind.ts +55 -0
- package/src/generated/spacedatastandards/plg/invokeSurfaceKind.d.ts +15 -0
- package/src/generated/spacedatastandards/plg/invokeSurfaceKind.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/invokeSurfaceKind.js +17 -0
- package/src/generated/spacedatastandards/plg/invokeSurfaceKind.ts +19 -0
- package/src/generated/spacedatastandards/plg/main.d.ts +29 -0
- package/src/generated/spacedatastandards/plg/main.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/main.js +30 -0
- package/src/generated/spacedatastandards/plg/main.ts +32 -0
- package/src/generated/spacedatastandards/plg/payloadWireFormat.d.ts +17 -0
- package/src/generated/spacedatastandards/plg/payloadWireFormat.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/payloadWireFormat.js +19 -0
- package/src/generated/spacedatastandards/plg/payloadWireFormat.ts +21 -0
- package/src/generated/spacedatastandards/plg/pluginCategory.d.ts +82 -0
- package/src/generated/spacedatastandards/plg/pluginCategory.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/pluginCategory.js +84 -0
- package/src/generated/spacedatastandards/plg/pluginCategory.ts +103 -0
- package/src/generated/spacedatastandards/plg/publicationState.d.ts +18 -0
- package/src/generated/spacedatastandards/plg/publicationState.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/publicationState.js +20 -0
- package/src/generated/spacedatastandards/plg/purchaseTier.d.ts +18 -0
- package/src/generated/spacedatastandards/plg/purchaseTier.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/purchaseTier.js +20 -0
- package/src/host/AGENTS.md +2 -2
- package/src/host/abi.js +53 -66
- package/src/host/browserHost.js +355 -8
- package/src/host/cpp/keyslotClient.hpp +231 -0
- package/src/host/cpp/secretsClient.hpp +583 -0
- package/src/host/hostcallWire.js +183 -0
- package/src/host/index.js +2 -0
- package/src/host/isomorphicLoader.js +44 -7
- package/src/host/nodeHost.js +227 -8
- package/src/host/sabHostcallChannel.js +206 -0
- package/src/host/timerDriver.js +203 -0
- package/src/host/wasiShim.js +41 -1
- package/src/host/wasiThreadBrowserWorker.mjs +48 -0
- package/src/host/wasiThreadHost.js +393 -0
- package/src/host/wasiThreadWorker.mjs +32 -0
- package/src/host/wasiThreadWorkerRuntime.js +93 -0
- package/src/http/index.js +339 -0
- package/src/index.d.ts +716 -10
- package/src/index.js +4 -0
- package/src/invoke/codec.js +1202 -128
- package/src/invoke/index.js +5 -1
- package/src/licensing/index.d.ts +2 -0
- package/src/licensing/index.js +2 -0
- package/src/licensing/records.js +287 -8
- package/src/manifest/codec.js +62 -14
- package/src/manifest/index.js +2 -0
- package/src/manifest/legacyToPlg.js +164 -25
- package/src/manifest/normalize.js +1 -0
- package/src/manifest/plgCodec.js +1303 -62
- package/src/manifest/typeRefs.js +162 -24
- package/src/runtime/compiledRuntimeAbi.js +47 -0
- package/src/runtime/compiledRuntimeAbi.json +33 -0
- package/src/runtime/index.d.ts +32 -0
- package/src/runtime/index.js +1 -0
- package/src/runtime-host/index.js +3 -0
- package/src/runtime-host/methodRegistry.js +55 -0
- package/src/standards/index.js +200 -56
- package/src/standards/sharedCatalog.js +16 -0
- package/src/testing/browserModuleHarness.js +604 -31
- package/src/testing/docker/wasmedge-parity.Dockerfile +39 -0
- package/src/testing/index.d.ts +151 -0
- package/src/testing/index.js +21 -0
- package/src/testing/native/wasmedge_emscripten_pthread_runner.c +25 -1
- package/src/testing/parityBrowserRunner.js +138 -0
- package/src/testing/parityHarness.js +616 -0
- package/src/testing/parityLanes.js +537 -0
- package/src/testing/processInvoke.js +29 -21
- package/src/testing/streamInvokeCodec.js +10 -175
- package/src/testing/wasmedgePin.json +6 -0
- package/src/testing/workerModuleHarness.js +242 -0
- package/src/testing/workerModuleHarnessWorker.js +176 -0
- package/src/transport/index.js +3 -0
- package/src/transport/pki.js +299 -11
- package/src/transport/records.js +16 -7
- package/src/utils/ecdsaDer.js +106 -0
- package/src/utils/wasmCrypto.js +0 -43
- package/templates/gpu-module/README.md +48 -0
- package/templates/gpu-module/include/space_data_gpu_abi.h +122 -0
- package/templates/gpu-module/manifest.json +84 -0
- package/schemas/PluginInvokeRequest.fbs +0 -18
- package/schemas/PluginInvokeResponse.fbs +0 -30
- package/schemas/spacedatastandards/PLG.fbs +0 -191
- package/src/generated/orbpro/invoke/plugin-invoke-request.d.ts +0 -51
- package/src/generated/orbpro/invoke/plugin-invoke-request.d.ts.map +0 -1
- package/src/generated/orbpro/invoke/plugin-invoke-request.js +0 -131
- package/src/generated/orbpro/invoke/plugin-invoke-request.js.map +0 -1
- package/src/generated/orbpro/invoke/plugin-invoke-request.ts +0 -173
- package/src/generated/orbpro/invoke/plugin-invoke-response.d.ts +0 -76
- package/src/generated/orbpro/invoke/plugin-invoke-response.d.ts.map +0 -1
- package/src/generated/orbpro/invoke/plugin-invoke-response.js +0 -184
- package/src/generated/orbpro/invoke/plugin-invoke-response.js.map +0 -1
- package/src/generated/orbpro/invoke/plugin-invoke-response.ts +0 -243
- package/src/generated/orbpro/invoke.d.ts +0 -3
- package/src/generated/orbpro/invoke.js +0 -5
- package/src/generated/spacedatastandards/plg/entry-function.js +0 -86
- package/src/generated/spacedatastandards/plg/entry-function.ts +0 -119
- package/src/generated/spacedatastandards/plg/index.js +0 -16
- package/src/generated/spacedatastandards/plg/index.ts +0 -11
- package/src/generated/spacedatastandards/plg/plg.js +0 -657
- package/src/generated/spacedatastandards/plg/plg.ts +0 -924
- package/src/generated/spacedatastandards/plg/plugin-capability.js +0 -66
- package/src/generated/spacedatastandards/plg/plugin-category.js +0 -15
- package/src/generated/spacedatastandards/plg/plugin-category.ts +0 -53
- package/src/generated/spacedatastandards/plg/plugin-dependency.js +0 -63
- package/src/generated/spacedatastandards/plg/plugin-dependency.ts +0 -86
- package/src/generated/spacedatastandards/plg/publication-state.js +0 -9
- package/src/generated/spacedatastandards/plg/purchase-tier.js +0 -9
- /package/src/generated/spacedatastandards/plg/{publication-state.ts → publicationState.ts} +0 -0
- /package/src/generated/spacedatastandards/plg/{purchase-tier.ts → purchaseTier.ts} +0 -0
|
@@ -0,0 +1,151 @@
|
|
|
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
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Build artifact emitted by the plugin toolchain.
|
|
11
|
+
*/
|
|
12
|
+
export class PLGBuildArtifact implements flatbuffers.IUnpackableObject<PLGBuildArtifactT> {
|
|
13
|
+
bb: flatbuffers.ByteBuffer|null = null;
|
|
14
|
+
bb_pos = 0;
|
|
15
|
+
__init(i:number, bb:flatbuffers.ByteBuffer):PLGBuildArtifact {
|
|
16
|
+
this.bb_pos = i;
|
|
17
|
+
this.bb = bb;
|
|
18
|
+
return this;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
static getRootAsPLGBuildArtifact(bb:flatbuffers.ByteBuffer, obj?:PLGBuildArtifact):PLGBuildArtifact {
|
|
22
|
+
return (obj || new PLGBuildArtifact()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static getSizePrefixedRootAsPLGBuildArtifact(bb:flatbuffers.ByteBuffer, obj?:PLGBuildArtifact):PLGBuildArtifact {
|
|
26
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
27
|
+
return (obj || new PLGBuildArtifact()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
ARTIFACT_ID():string
|
|
31
|
+
ARTIFACT_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
|
|
32
|
+
ARTIFACT_ID(optionalEncoding?:any):string|Uint8Array {
|
|
33
|
+
const offset = this.bb!.__offset(this.bb_pos, 4);
|
|
34
|
+
return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
KIND():string|null
|
|
38
|
+
KIND(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
|
|
39
|
+
KIND(optionalEncoding?:any):string|Uint8Array|null {
|
|
40
|
+
const offset = this.bb!.__offset(this.bb_pos, 6);
|
|
41
|
+
return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
PATH():string
|
|
45
|
+
PATH(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
|
|
46
|
+
PATH(optionalEncoding?:any):string|Uint8Array {
|
|
47
|
+
const offset = this.bb!.__offset(this.bb_pos, 8);
|
|
48
|
+
return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
TARGET():string|null
|
|
52
|
+
TARGET(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
|
|
53
|
+
TARGET(optionalEncoding?:any):string|Uint8Array|null {
|
|
54
|
+
const offset = this.bb!.__offset(this.bb_pos, 10);
|
|
55
|
+
return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
ENTRY_SYMBOL():string|null
|
|
59
|
+
ENTRY_SYMBOL(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
|
|
60
|
+
ENTRY_SYMBOL(optionalEncoding?:any):string|Uint8Array|null {
|
|
61
|
+
const offset = this.bb!.__offset(this.bb_pos, 12);
|
|
62
|
+
return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static startPLGBuildArtifact(builder:flatbuffers.Builder) {
|
|
66
|
+
builder.startObject(5);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
static addArtifactId(builder:flatbuffers.Builder, ARTIFACT_IDOffset:flatbuffers.Offset) {
|
|
70
|
+
builder.addFieldOffset(0, ARTIFACT_IDOffset, 0);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
static addKind(builder:flatbuffers.Builder, KINDOffset:flatbuffers.Offset) {
|
|
74
|
+
builder.addFieldOffset(1, KINDOffset, 0);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static addPath(builder:flatbuffers.Builder, PATHOffset:flatbuffers.Offset) {
|
|
78
|
+
builder.addFieldOffset(2, PATHOffset, 0);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
static addTarget(builder:flatbuffers.Builder, TARGETOffset:flatbuffers.Offset) {
|
|
82
|
+
builder.addFieldOffset(3, TARGETOffset, 0);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
static addEntrySymbol(builder:flatbuffers.Builder, ENTRY_SYMBOLOffset:flatbuffers.Offset) {
|
|
86
|
+
builder.addFieldOffset(4, ENTRY_SYMBOLOffset, 0);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
static endPLGBuildArtifact(builder:flatbuffers.Builder):flatbuffers.Offset {
|
|
90
|
+
const offset = builder.endObject();
|
|
91
|
+
builder.requiredField(offset, 4) // ARTIFACT_ID
|
|
92
|
+
builder.requiredField(offset, 8) // PATH
|
|
93
|
+
return offset;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
static createPLGBuildArtifact(builder:flatbuffers.Builder, ARTIFACT_IDOffset:flatbuffers.Offset, KINDOffset:flatbuffers.Offset, PATHOffset:flatbuffers.Offset, TARGETOffset:flatbuffers.Offset, ENTRY_SYMBOLOffset:flatbuffers.Offset):flatbuffers.Offset {
|
|
97
|
+
PLGBuildArtifact.startPLGBuildArtifact(builder);
|
|
98
|
+
PLGBuildArtifact.addArtifactId(builder, ARTIFACT_IDOffset);
|
|
99
|
+
PLGBuildArtifact.addKind(builder, KINDOffset);
|
|
100
|
+
PLGBuildArtifact.addPath(builder, PATHOffset);
|
|
101
|
+
PLGBuildArtifact.addTarget(builder, TARGETOffset);
|
|
102
|
+
PLGBuildArtifact.addEntrySymbol(builder, ENTRY_SYMBOLOffset);
|
|
103
|
+
return PLGBuildArtifact.endPLGBuildArtifact(builder);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
unpack(): PLGBuildArtifactT {
|
|
107
|
+
return new PLGBuildArtifactT(
|
|
108
|
+
this.ARTIFACT_ID(),
|
|
109
|
+
this.KIND(),
|
|
110
|
+
this.PATH(),
|
|
111
|
+
this.TARGET(),
|
|
112
|
+
this.ENTRY_SYMBOL()
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
unpackTo(_o: PLGBuildArtifactT): void {
|
|
118
|
+
_o.ARTIFACT_ID = this.ARTIFACT_ID();
|
|
119
|
+
_o.KIND = this.KIND();
|
|
120
|
+
_o.PATH = this.PATH();
|
|
121
|
+
_o.TARGET = this.TARGET();
|
|
122
|
+
_o.ENTRY_SYMBOL = this.ENTRY_SYMBOL();
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export class PLGBuildArtifactT implements flatbuffers.IGeneratedObject {
|
|
127
|
+
constructor(
|
|
128
|
+
public ARTIFACT_ID: string|Uint8Array|null = null,
|
|
129
|
+
public KIND: string|Uint8Array|null = null,
|
|
130
|
+
public PATH: string|Uint8Array|null = null,
|
|
131
|
+
public TARGET: string|Uint8Array|null = null,
|
|
132
|
+
public ENTRY_SYMBOL: string|Uint8Array|null = null
|
|
133
|
+
){}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
pack(builder:flatbuffers.Builder): flatbuffers.Offset {
|
|
137
|
+
const ARTIFACT_ID = (this.ARTIFACT_ID !== null ? builder.createString(this.ARTIFACT_ID!) : 0);
|
|
138
|
+
const KIND = (this.KIND !== null ? builder.createString(this.KIND!) : 0);
|
|
139
|
+
const PATH = (this.PATH !== null ? builder.createString(this.PATH!) : 0);
|
|
140
|
+
const TARGET = (this.TARGET !== null ? builder.createString(this.TARGET!) : 0);
|
|
141
|
+
const ENTRY_SYMBOL = (this.ENTRY_SYMBOL !== null ? builder.createString(this.ENTRY_SYMBOL!) : 0);
|
|
142
|
+
|
|
143
|
+
return PLGBuildArtifact.createPLGBuildArtifact(builder,
|
|
144
|
+
ARTIFACT_ID,
|
|
145
|
+
KIND,
|
|
146
|
+
PATH,
|
|
147
|
+
TARGET,
|
|
148
|
+
ENTRY_SYMBOL
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
import { PLGFlowEdgeContract, PLGFlowEdgeContractT } from './PLGFlowEdgeContract.js';
|
|
3
|
+
/**
|
|
4
|
+
* One directed edge wiring a producer output port to a consumer input port.
|
|
5
|
+
*/
|
|
6
|
+
export declare class PLGFlowEdge implements flatbuffers.IUnpackableObject<PLGFlowEdgeT> {
|
|
7
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
8
|
+
bb_pos: number;
|
|
9
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): PLGFlowEdge;
|
|
10
|
+
static getRootAsPLGFlowEdge(bb: flatbuffers.ByteBuffer, obj?: PLGFlowEdge): PLGFlowEdge;
|
|
11
|
+
static getSizePrefixedRootAsPLGFlowEdge(bb: flatbuffers.ByteBuffer, obj?: PLGFlowEdge): PLGFlowEdge;
|
|
12
|
+
/**
|
|
13
|
+
* Stable edge identifier
|
|
14
|
+
*/
|
|
15
|
+
EDGE_ID(): string | null;
|
|
16
|
+
EDGE_ID(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
17
|
+
/**
|
|
18
|
+
* Source node id
|
|
19
|
+
*/
|
|
20
|
+
FROM_NODE_ID(): string;
|
|
21
|
+
FROM_NODE_ID(optionalEncoding: flatbuffers.Encoding): string | Uint8Array;
|
|
22
|
+
/**
|
|
23
|
+
* Source output port id
|
|
24
|
+
*/
|
|
25
|
+
FROM_PORT_ID(): string;
|
|
26
|
+
FROM_PORT_ID(optionalEncoding: flatbuffers.Encoding): string | Uint8Array;
|
|
27
|
+
/**
|
|
28
|
+
* Destination node id
|
|
29
|
+
*/
|
|
30
|
+
TO_NODE_ID(): string;
|
|
31
|
+
TO_NODE_ID(optionalEncoding: flatbuffers.Encoding): string | Uint8Array;
|
|
32
|
+
/**
|
|
33
|
+
* Destination input port id
|
|
34
|
+
*/
|
|
35
|
+
TO_PORT_ID(): string;
|
|
36
|
+
TO_PORT_ID(optionalEncoding: flatbuffers.Encoding): string | Uint8Array;
|
|
37
|
+
/**
|
|
38
|
+
* Exact identity/layout and compile-time representation policy. NOT
|
|
39
|
+
* `required`: marking a NEW field of an EXISTING table required makes the
|
|
40
|
+
* FlatBuffers verifier reject every $PLG buffer written before 1.0.13,
|
|
41
|
+
* which is a breaking change to a ratified standard. Presence is enforced
|
|
42
|
+
* where it belongs — the flow compiler MUST refuse to SIGN a flow whose
|
|
43
|
+
* edges lack a CONTRACT, and a verifier MUST reject a signed flow edge
|
|
44
|
+
* without one. Buffers predating 1.0.13 stay readable and stay unsigned.
|
|
45
|
+
*/
|
|
46
|
+
CONTRACT(obj?: PLGFlowEdgeContract): PLGFlowEdgeContract | null;
|
|
47
|
+
static startPLGFlowEdge(builder: flatbuffers.Builder): void;
|
|
48
|
+
static addEdgeId(builder: flatbuffers.Builder, EDGE_IDOffset: flatbuffers.Offset): void;
|
|
49
|
+
static addFromNodeId(builder: flatbuffers.Builder, FROM_NODE_IDOffset: flatbuffers.Offset): void;
|
|
50
|
+
static addFromPortId(builder: flatbuffers.Builder, FROM_PORT_IDOffset: flatbuffers.Offset): void;
|
|
51
|
+
static addToNodeId(builder: flatbuffers.Builder, TO_NODE_IDOffset: flatbuffers.Offset): void;
|
|
52
|
+
static addToPortId(builder: flatbuffers.Builder, TO_PORT_IDOffset: flatbuffers.Offset): void;
|
|
53
|
+
static addContract(builder: flatbuffers.Builder, CONTRACTOffset: flatbuffers.Offset): void;
|
|
54
|
+
static endPLGFlowEdge(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
55
|
+
unpack(): PLGFlowEdgeT;
|
|
56
|
+
unpackTo(_o: PLGFlowEdgeT): void;
|
|
57
|
+
}
|
|
58
|
+
export declare class PLGFlowEdgeT implements flatbuffers.IGeneratedObject {
|
|
59
|
+
EDGE_ID: string | Uint8Array | null;
|
|
60
|
+
FROM_NODE_ID: string | Uint8Array | null;
|
|
61
|
+
FROM_PORT_ID: string | Uint8Array | null;
|
|
62
|
+
TO_NODE_ID: string | Uint8Array | null;
|
|
63
|
+
TO_PORT_ID: string | Uint8Array | null;
|
|
64
|
+
CONTRACT: PLGFlowEdgeContractT | null;
|
|
65
|
+
constructor(EDGE_ID?: string | Uint8Array | null, FROM_NODE_ID?: string | Uint8Array | null, FROM_PORT_ID?: string | Uint8Array | null, TO_NODE_ID?: string | Uint8Array | null, TO_PORT_ID?: string | Uint8Array | null, CONTRACT?: PLGFlowEdgeContractT | null);
|
|
66
|
+
pack(builder: flatbuffers.Builder):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EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAClC,UAAU,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAClC,QAAQ,EAAE,oBAAoB,GAAC,IAAI;gBALnC,OAAO,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACtC,YAAY,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EAC3C,YAAY,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EAC3C,UAAU,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACzC,UAAU,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACzC,QAAQ,GAAE,oBAAoB,GAAC,IAAW;IAInD,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAkBpD"}
|
|
@@ -0,0 +1,124 @@
|
|
|
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 { PLGFlowEdgeContract } from './PLGFlowEdgeContract.js';
|
|
5
|
+
/**
|
|
6
|
+
* One directed edge wiring a producer output port to a consumer input port.
|
|
7
|
+
*/
|
|
8
|
+
export class PLGFlowEdge {
|
|
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 getRootAsPLGFlowEdge(bb, obj) {
|
|
19
|
+
return (obj || new PLGFlowEdge()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
20
|
+
}
|
|
21
|
+
static getSizePrefixedRootAsPLGFlowEdge(bb, obj) {
|
|
22
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
23
|
+
return (obj || new PLGFlowEdge()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
24
|
+
}
|
|
25
|
+
EDGE_ID(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
|
+
FROM_NODE_ID(optionalEncoding) {
|
|
30
|
+
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
31
|
+
return this.bb.__string(this.bb_pos + offset, optionalEncoding);
|
|
32
|
+
}
|
|
33
|
+
FROM_PORT_ID(optionalEncoding) {
|
|
34
|
+
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
35
|
+
return this.bb.__string(this.bb_pos + offset, optionalEncoding);
|
|
36
|
+
}
|
|
37
|
+
TO_NODE_ID(optionalEncoding) {
|
|
38
|
+
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
39
|
+
return this.bb.__string(this.bb_pos + offset, optionalEncoding);
|
|
40
|
+
}
|
|
41
|
+
TO_PORT_ID(optionalEncoding) {
|
|
42
|
+
const offset = this.bb.__offset(this.bb_pos, 12);
|
|
43
|
+
return this.bb.__string(this.bb_pos + offset, optionalEncoding);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Exact identity/layout and compile-time representation policy. NOT
|
|
47
|
+
* `required`: marking a NEW field of an EXISTING table required makes the
|
|
48
|
+
* FlatBuffers verifier reject every $PLG buffer written before 1.0.13,
|
|
49
|
+
* which is a breaking change to a ratified standard. Presence is enforced
|
|
50
|
+
* where it belongs — the flow compiler MUST refuse to SIGN a flow whose
|
|
51
|
+
* edges lack a CONTRACT, and a verifier MUST reject a signed flow edge
|
|
52
|
+
* without one. Buffers predating 1.0.13 stay readable and stay unsigned.
|
|
53
|
+
*/
|
|
54
|
+
CONTRACT(obj) {
|
|
55
|
+
const offset = this.bb.__offset(this.bb_pos, 14);
|
|
56
|
+
return offset ? (obj || new PLGFlowEdgeContract()).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null;
|
|
57
|
+
}
|
|
58
|
+
static startPLGFlowEdge(builder) {
|
|
59
|
+
builder.startObject(6);
|
|
60
|
+
}
|
|
61
|
+
static addEdgeId(builder, EDGE_IDOffset) {
|
|
62
|
+
builder.addFieldOffset(0, EDGE_IDOffset, 0);
|
|
63
|
+
}
|
|
64
|
+
static addFromNodeId(builder, FROM_NODE_IDOffset) {
|
|
65
|
+
builder.addFieldOffset(1, FROM_NODE_IDOffset, 0);
|
|
66
|
+
}
|
|
67
|
+
static addFromPortId(builder, FROM_PORT_IDOffset) {
|
|
68
|
+
builder.addFieldOffset(2, FROM_PORT_IDOffset, 0);
|
|
69
|
+
}
|
|
70
|
+
static addToNodeId(builder, TO_NODE_IDOffset) {
|
|
71
|
+
builder.addFieldOffset(3, TO_NODE_IDOffset, 0);
|
|
72
|
+
}
|
|
73
|
+
static addToPortId(builder, TO_PORT_IDOffset) {
|
|
74
|
+
builder.addFieldOffset(4, TO_PORT_IDOffset, 0);
|
|
75
|
+
}
|
|
76
|
+
static addContract(builder, CONTRACTOffset) {
|
|
77
|
+
builder.addFieldOffset(5, CONTRACTOffset, 0);
|
|
78
|
+
}
|
|
79
|
+
static endPLGFlowEdge(builder) {
|
|
80
|
+
const offset = builder.endObject();
|
|
81
|
+
builder.requiredField(offset, 6); // FROM_NODE_ID
|
|
82
|
+
builder.requiredField(offset, 8); // FROM_PORT_ID
|
|
83
|
+
builder.requiredField(offset, 10); // TO_NODE_ID
|
|
84
|
+
builder.requiredField(offset, 12); // TO_PORT_ID
|
|
85
|
+
return offset;
|
|
86
|
+
}
|
|
87
|
+
unpack() {
|
|
88
|
+
return new PLGFlowEdgeT(this.EDGE_ID(), this.FROM_NODE_ID(), this.FROM_PORT_ID(), this.TO_NODE_ID(), this.TO_PORT_ID(), (this.CONTRACT() !== null ? this.CONTRACT().unpack() : null));
|
|
89
|
+
}
|
|
90
|
+
unpackTo(_o) {
|
|
91
|
+
_o.EDGE_ID = this.EDGE_ID();
|
|
92
|
+
_o.FROM_NODE_ID = this.FROM_NODE_ID();
|
|
93
|
+
_o.FROM_PORT_ID = this.FROM_PORT_ID();
|
|
94
|
+
_o.TO_NODE_ID = this.TO_NODE_ID();
|
|
95
|
+
_o.TO_PORT_ID = this.TO_PORT_ID();
|
|
96
|
+
_o.CONTRACT = (this.CONTRACT() !== null ? this.CONTRACT().unpack() : null);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
export class PLGFlowEdgeT {
|
|
100
|
+
constructor(EDGE_ID = null, FROM_NODE_ID = null, FROM_PORT_ID = null, TO_NODE_ID = null, TO_PORT_ID = null, CONTRACT = null) {
|
|
101
|
+
this.EDGE_ID = EDGE_ID;
|
|
102
|
+
this.FROM_NODE_ID = FROM_NODE_ID;
|
|
103
|
+
this.FROM_PORT_ID = FROM_PORT_ID;
|
|
104
|
+
this.TO_NODE_ID = TO_NODE_ID;
|
|
105
|
+
this.TO_PORT_ID = TO_PORT_ID;
|
|
106
|
+
this.CONTRACT = CONTRACT;
|
|
107
|
+
}
|
|
108
|
+
pack(builder) {
|
|
109
|
+
const EDGE_ID = (this.EDGE_ID !== null ? builder.createString(this.EDGE_ID) : 0);
|
|
110
|
+
const FROM_NODE_ID = (this.FROM_NODE_ID !== null ? builder.createString(this.FROM_NODE_ID) : 0);
|
|
111
|
+
const FROM_PORT_ID = (this.FROM_PORT_ID !== null ? builder.createString(this.FROM_PORT_ID) : 0);
|
|
112
|
+
const TO_NODE_ID = (this.TO_NODE_ID !== null ? builder.createString(this.TO_NODE_ID) : 0);
|
|
113
|
+
const TO_PORT_ID = (this.TO_PORT_ID !== null ? builder.createString(this.TO_PORT_ID) : 0);
|
|
114
|
+
const CONTRACT = (this.CONTRACT !== null ? this.CONTRACT.pack(builder) : 0);
|
|
115
|
+
PLGFlowEdge.startPLGFlowEdge(builder);
|
|
116
|
+
PLGFlowEdge.addEdgeId(builder, EDGE_ID);
|
|
117
|
+
PLGFlowEdge.addFromNodeId(builder, FROM_NODE_ID);
|
|
118
|
+
PLGFlowEdge.addFromPortId(builder, FROM_PORT_ID);
|
|
119
|
+
PLGFlowEdge.addToNodeId(builder, TO_NODE_ID);
|
|
120
|
+
PLGFlowEdge.addToPortId(builder, TO_PORT_ID);
|
|
121
|
+
PLGFlowEdge.addContract(builder, CONTRACT);
|
|
122
|
+
return PLGFlowEdge.endPLGFlowEdge(builder);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
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 { PLGFlowEdgeContract, PLGFlowEdgeContractT } from './PLGFlowEdgeContract.js';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* One directed edge wiring a producer output port to a consumer input port.
|
|
12
|
+
*/
|
|
13
|
+
export class PLGFlowEdge implements flatbuffers.IUnpackableObject<PLGFlowEdgeT> {
|
|
14
|
+
bb: flatbuffers.ByteBuffer|null = null;
|
|
15
|
+
bb_pos = 0;
|
|
16
|
+
__init(i:number, bb:flatbuffers.ByteBuffer):PLGFlowEdge {
|
|
17
|
+
this.bb_pos = i;
|
|
18
|
+
this.bb = bb;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static getRootAsPLGFlowEdge(bb:flatbuffers.ByteBuffer, obj?:PLGFlowEdge):PLGFlowEdge {
|
|
23
|
+
return (obj || new PLGFlowEdge()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static getSizePrefixedRootAsPLGFlowEdge(bb:flatbuffers.ByteBuffer, obj?:PLGFlowEdge):PLGFlowEdge {
|
|
27
|
+
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
28
|
+
return (obj || new PLGFlowEdge()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Stable edge identifier
|
|
33
|
+
*/
|
|
34
|
+
EDGE_ID():string|null
|
|
35
|
+
EDGE_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
|
|
36
|
+
EDGE_ID(optionalEncoding?:any):string|Uint8Array|null {
|
|
37
|
+
const offset = this.bb!.__offset(this.bb_pos, 4);
|
|
38
|
+
return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Source node id
|
|
43
|
+
*/
|
|
44
|
+
FROM_NODE_ID():string
|
|
45
|
+
FROM_NODE_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
|
|
46
|
+
FROM_NODE_ID(optionalEncoding?:any):string|Uint8Array {
|
|
47
|
+
const offset = this.bb!.__offset(this.bb_pos, 6);
|
|
48
|
+
return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Source output port id
|
|
53
|
+
*/
|
|
54
|
+
FROM_PORT_ID():string
|
|
55
|
+
FROM_PORT_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
|
|
56
|
+
FROM_PORT_ID(optionalEncoding?:any):string|Uint8Array {
|
|
57
|
+
const offset = this.bb!.__offset(this.bb_pos, 8);
|
|
58
|
+
return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Destination node id
|
|
63
|
+
*/
|
|
64
|
+
TO_NODE_ID():string
|
|
65
|
+
TO_NODE_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
|
|
66
|
+
TO_NODE_ID(optionalEncoding?:any):string|Uint8Array {
|
|
67
|
+
const offset = this.bb!.__offset(this.bb_pos, 10);
|
|
68
|
+
return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Destination input port id
|
|
73
|
+
*/
|
|
74
|
+
TO_PORT_ID():string
|
|
75
|
+
TO_PORT_ID(optionalEncoding:flatbuffers.Encoding):string|Uint8Array
|
|
76
|
+
TO_PORT_ID(optionalEncoding?:any):string|Uint8Array {
|
|
77
|
+
const offset = this.bb!.__offset(this.bb_pos, 12);
|
|
78
|
+
return this.bb!.__string(this.bb_pos + offset, optionalEncoding);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Exact identity/layout and compile-time representation policy. NOT
|
|
83
|
+
* `required`: marking a NEW field of an EXISTING table required makes the
|
|
84
|
+
* FlatBuffers verifier reject every $PLG buffer written before 1.0.13,
|
|
85
|
+
* which is a breaking change to a ratified standard. Presence is enforced
|
|
86
|
+
* where it belongs — the flow compiler MUST refuse to SIGN a flow whose
|
|
87
|
+
* edges lack a CONTRACT, and a verifier MUST reject a signed flow edge
|
|
88
|
+
* without one. Buffers predating 1.0.13 stay readable and stay unsigned.
|
|
89
|
+
*/
|
|
90
|
+
CONTRACT(obj?:PLGFlowEdgeContract):PLGFlowEdgeContract|null {
|
|
91
|
+
const offset = this.bb!.__offset(this.bb_pos, 14);
|
|
92
|
+
return offset ? (obj || new PLGFlowEdgeContract()).__init(this.bb!.__indirect(this.bb_pos + offset), this.bb!) : null;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
static startPLGFlowEdge(builder:flatbuffers.Builder) {
|
|
96
|
+
builder.startObject(6);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
static addEdgeId(builder:flatbuffers.Builder, EDGE_IDOffset:flatbuffers.Offset) {
|
|
100
|
+
builder.addFieldOffset(0, EDGE_IDOffset, 0);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
static addFromNodeId(builder:flatbuffers.Builder, FROM_NODE_IDOffset:flatbuffers.Offset) {
|
|
104
|
+
builder.addFieldOffset(1, FROM_NODE_IDOffset, 0);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
static addFromPortId(builder:flatbuffers.Builder, FROM_PORT_IDOffset:flatbuffers.Offset) {
|
|
108
|
+
builder.addFieldOffset(2, FROM_PORT_IDOffset, 0);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
static addToNodeId(builder:flatbuffers.Builder, TO_NODE_IDOffset:flatbuffers.Offset) {
|
|
112
|
+
builder.addFieldOffset(3, TO_NODE_IDOffset, 0);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
static addToPortId(builder:flatbuffers.Builder, TO_PORT_IDOffset:flatbuffers.Offset) {
|
|
116
|
+
builder.addFieldOffset(4, TO_PORT_IDOffset, 0);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
static addContract(builder:flatbuffers.Builder, CONTRACTOffset:flatbuffers.Offset) {
|
|
120
|
+
builder.addFieldOffset(5, CONTRACTOffset, 0);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
static endPLGFlowEdge(builder:flatbuffers.Builder):flatbuffers.Offset {
|
|
124
|
+
const offset = builder.endObject();
|
|
125
|
+
builder.requiredField(offset, 6) // FROM_NODE_ID
|
|
126
|
+
builder.requiredField(offset, 8) // FROM_PORT_ID
|
|
127
|
+
builder.requiredField(offset, 10) // TO_NODE_ID
|
|
128
|
+
builder.requiredField(offset, 12) // TO_PORT_ID
|
|
129
|
+
return offset;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
unpack(): PLGFlowEdgeT {
|
|
134
|
+
return new PLGFlowEdgeT(
|
|
135
|
+
this.EDGE_ID(),
|
|
136
|
+
this.FROM_NODE_ID(),
|
|
137
|
+
this.FROM_PORT_ID(),
|
|
138
|
+
this.TO_NODE_ID(),
|
|
139
|
+
this.TO_PORT_ID(),
|
|
140
|
+
(this.CONTRACT() !== null ? this.CONTRACT()!.unpack() : null)
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
unpackTo(_o: PLGFlowEdgeT): void {
|
|
146
|
+
_o.EDGE_ID = this.EDGE_ID();
|
|
147
|
+
_o.FROM_NODE_ID = this.FROM_NODE_ID();
|
|
148
|
+
_o.FROM_PORT_ID = this.FROM_PORT_ID();
|
|
149
|
+
_o.TO_NODE_ID = this.TO_NODE_ID();
|
|
150
|
+
_o.TO_PORT_ID = this.TO_PORT_ID();
|
|
151
|
+
_o.CONTRACT = (this.CONTRACT() !== null ? this.CONTRACT()!.unpack() : null);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export class PLGFlowEdgeT implements flatbuffers.IGeneratedObject {
|
|
156
|
+
constructor(
|
|
157
|
+
public EDGE_ID: string|Uint8Array|null = null,
|
|
158
|
+
public FROM_NODE_ID: string|Uint8Array|null = null,
|
|
159
|
+
public FROM_PORT_ID: string|Uint8Array|null = null,
|
|
160
|
+
public TO_NODE_ID: string|Uint8Array|null = null,
|
|
161
|
+
public TO_PORT_ID: string|Uint8Array|null = null,
|
|
162
|
+
public CONTRACT: PLGFlowEdgeContractT|null = null
|
|
163
|
+
){}
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
pack(builder:flatbuffers.Builder): flatbuffers.Offset {
|
|
167
|
+
const EDGE_ID = (this.EDGE_ID !== null ? builder.createString(this.EDGE_ID!) : 0);
|
|
168
|
+
const FROM_NODE_ID = (this.FROM_NODE_ID !== null ? builder.createString(this.FROM_NODE_ID!) : 0);
|
|
169
|
+
const FROM_PORT_ID = (this.FROM_PORT_ID !== null ? builder.createString(this.FROM_PORT_ID!) : 0);
|
|
170
|
+
const TO_NODE_ID = (this.TO_NODE_ID !== null ? builder.createString(this.TO_NODE_ID!) : 0);
|
|
171
|
+
const TO_PORT_ID = (this.TO_PORT_ID !== null ? builder.createString(this.TO_PORT_ID!) : 0);
|
|
172
|
+
const CONTRACT = (this.CONTRACT !== null ? this.CONTRACT!.pack(builder) : 0);
|
|
173
|
+
|
|
174
|
+
PLGFlowEdge.startPLGFlowEdge(builder);
|
|
175
|
+
PLGFlowEdge.addEdgeId(builder, EDGE_ID);
|
|
176
|
+
PLGFlowEdge.addFromNodeId(builder, FROM_NODE_ID);
|
|
177
|
+
PLGFlowEdge.addFromPortId(builder, FROM_PORT_ID);
|
|
178
|
+
PLGFlowEdge.addToNodeId(builder, TO_NODE_ID);
|
|
179
|
+
PLGFlowEdge.addToPortId(builder, TO_PORT_ID);
|
|
180
|
+
PLGFlowEdge.addContract(builder, CONTRACT);
|
|
181
|
+
|
|
182
|
+
return PLGFlowEdge.endPLGFlowEdge(builder);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as flatbuffers from 'flatbuffers';
|
|
2
|
+
import { FlatBufferTypeRef, FlatBufferTypeRefT } from './FlatBufferTypeRef.js';
|
|
3
|
+
import { flowEdgeRoutePolicy } from './flowEdgeRoutePolicy.js';
|
|
4
|
+
/**
|
|
5
|
+
* Exact validated SDS and representation contract bound into a signed flow
|
|
6
|
+
* edge. CANONICAL_TYPE and ALIGNED_TYPE describe the same logical schema;
|
|
7
|
+
* ALIGNED_TYPE carries its fixed layout in TAB.FlatBufferTypeRef.
|
|
8
|
+
*/
|
|
9
|
+
export declare class PLGFlowEdgeContract implements flatbuffers.IUnpackableObject<PLGFlowEdgeContractT> {
|
|
10
|
+
bb: flatbuffers.ByteBuffer | null;
|
|
11
|
+
bb_pos: number;
|
|
12
|
+
__init(i: number, bb: flatbuffers.ByteBuffer): PLGFlowEdgeContract;
|
|
13
|
+
static getRootAsPLGFlowEdgeContract(bb: flatbuffers.ByteBuffer, obj?: PLGFlowEdgeContract): PLGFlowEdgeContract;
|
|
14
|
+
static getSizePrefixedRootAsPLGFlowEdgeContract(bb: flatbuffers.ByteBuffer, obj?: PLGFlowEdgeContract): PLGFlowEdgeContract;
|
|
15
|
+
/**
|
|
16
|
+
* Canonical SDS identity carried by the edge. NOT `required`: an edge may
|
|
17
|
+
* be opaque by design (see OPAQUE), and a signer must never be forced to
|
|
18
|
+
* invent an identity to satisfy the schema. A contract MUST carry exactly
|
|
19
|
+
* one of CANONICAL_TYPE or OPAQUE = true; a contract with neither, or with
|
|
20
|
+
* both, is invalid and MUST be rejected by the compiler that signs the flow.
|
|
21
|
+
*/
|
|
22
|
+
CANONICAL_TYPE(obj?: FlatBufferTypeRef): FlatBufferTypeRef | null;
|
|
23
|
+
ALIGNED_TYPE(obj?: FlatBufferTypeRef): FlatBufferTypeRef | null;
|
|
24
|
+
CANONICAL_FALLBACK_AVAILABLE(): boolean;
|
|
25
|
+
ALIGNED_ELIGIBLE(): boolean;
|
|
26
|
+
ROUTE_POLICY(): flowEdgeRoutePolicy;
|
|
27
|
+
/**
|
|
28
|
+
* The edge carries bytes with no SDS identity BY DESIGN — an
|
|
29
|
+
* application-blind host-capability adapter (an HTTP body, a raw file
|
|
30
|
+
* chunk) or a timer TICK frame with no payload at all. This is a deliberate
|
|
31
|
+
* signed assertion of opacity, which is why it is an explicit flag rather
|
|
32
|
+
* than an absent CANONICAL_TYPE: a missing type must stay distinguishable
|
|
33
|
+
* from a declared-opaque one. An opaque edge is ineligible for the aligned
|
|
34
|
+
* route, so ALIGNED_ELIGIBLE MUST be false when OPAQUE is true.
|
|
35
|
+
*/
|
|
36
|
+
OPAQUE(): boolean;
|
|
37
|
+
static startPLGFlowEdgeContract(builder: flatbuffers.Builder): void;
|
|
38
|
+
static addCanonicalType(builder: flatbuffers.Builder, CANONICAL_TYPEOffset: flatbuffers.Offset): void;
|
|
39
|
+
static addAlignedType(builder: flatbuffers.Builder, ALIGNED_TYPEOffset: flatbuffers.Offset): void;
|
|
40
|
+
static addCanonicalFallbackAvailable(builder: flatbuffers.Builder, CANONICAL_FALLBACK_AVAILABLE: boolean): void;
|
|
41
|
+
static addAlignedEligible(builder: flatbuffers.Builder, ALIGNED_ELIGIBLE: boolean): void;
|
|
42
|
+
static addRoutePolicy(builder: flatbuffers.Builder, ROUTE_POLICY: flowEdgeRoutePolicy): void;
|
|
43
|
+
static addOpaque(builder: flatbuffers.Builder, OPAQUE: boolean): void;
|
|
44
|
+
static endPLGFlowEdgeContract(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
45
|
+
unpack(): PLGFlowEdgeContractT;
|
|
46
|
+
unpackTo(_o: PLGFlowEdgeContractT): void;
|
|
47
|
+
}
|
|
48
|
+
export declare class PLGFlowEdgeContractT implements flatbuffers.IGeneratedObject {
|
|
49
|
+
CANONICAL_TYPE: FlatBufferTypeRefT | null;
|
|
50
|
+
ALIGNED_TYPE: FlatBufferTypeRefT | null;
|
|
51
|
+
CANONICAL_FALLBACK_AVAILABLE: boolean;
|
|
52
|
+
ALIGNED_ELIGIBLE: boolean;
|
|
53
|
+
ROUTE_POLICY: flowEdgeRoutePolicy;
|
|
54
|
+
OPAQUE: boolean;
|
|
55
|
+
constructor(CANONICAL_TYPE?: FlatBufferTypeRefT | null, ALIGNED_TYPE?: FlatBufferTypeRefT | null, CANONICAL_FALLBACK_AVAILABLE?: boolean, ALIGNED_ELIGIBLE?: boolean, ROUTE_POLICY?: flowEdgeRoutePolicy, OPAQUE?: boolean);
|
|
56
|
+
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=PLGFlowEdgeContract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PLGFlowEdgeContract.d.ts","sourceRoot":"","sources":["../../../ts/PLG/PLGFlowEdgeContract.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC/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