wasm-idle 0.7.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +760 -81
- package/dist/index.d.ts +4 -9
- package/dist/index.js +2 -4
- package/dist/playground/applicationAssets.d.ts +4 -0
- package/dist/playground/applicationAssets.js +277 -0
- package/dist/playground/assemblyscript.d.ts +41 -0
- package/dist/playground/assemblyscript.js +630 -0
- package/dist/playground/assetBridge.d.ts +18 -7
- package/dist/playground/assetBridge.js +824 -100
- package/dist/playground/assets.d.ts +813 -19
- package/dist/playground/assets.js +2096 -156
- package/dist/playground/awk.d.ts +5 -0
- package/dist/playground/awk.js +60 -0
- package/dist/playground/bash.d.ts +53 -0
- package/dist/playground/bash.js +1096 -0
- package/dist/playground/bashWorkerProtocol.d.ts +88 -0
- package/dist/playground/bashWorkerProtocol.js +135 -0
- package/dist/playground/bqn.d.ts +5 -0
- package/dist/playground/bqn.js +57 -0
- package/dist/playground/bqnPreflight.d.ts +26 -0
- package/dist/playground/bqnPreflight.js +399 -0
- package/dist/playground/c3.d.ts +15 -0
- package/dist/playground/c3.js +154 -0
- package/dist/playground/clang.d.ts +35 -19
- package/dist/playground/clang.js +241 -52
- package/dist/playground/clangAssetIntegrity.d.ts +32 -0
- package/dist/playground/clangAssetIntegrity.js +8 -0
- package/dist/playground/clojurescript.d.ts +5 -0
- package/dist/playground/clojurescript.js +59 -0
- package/dist/playground/clojurescriptPreflight.d.ts +26 -0
- package/dist/playground/clojurescriptPreflight.js +383 -0
- package/dist/playground/cobol.d.ts +46 -0
- package/dist/playground/cobol.js +703 -0
- package/dist/playground/d.d.ts +47 -0
- package/dist/playground/d.js +644 -0
- package/dist/playground/dOuterAssets.d.ts +16 -0
- package/dist/playground/dOuterAssets.js +163 -0
- package/dist/playground/dotnet.d.ts +99 -0
- package/dist/playground/dotnet.js +1131 -0
- package/dist/playground/duckdb.d.ts +36 -0
- package/dist/playground/duckdb.js +542 -0
- package/dist/playground/elixir.d.ts +18 -10
- package/dist/playground/elixir.js +630 -96
- package/dist/playground/elixirAssets.d.ts +6 -0
- package/dist/playground/elixirAssets.js +33 -0
- package/dist/playground/executionObservation.d.ts +22 -0
- package/dist/playground/executionObservation.js +65 -0
- package/dist/playground/forth.d.ts +5 -0
- package/dist/playground/forth.js +53 -0
- package/dist/playground/forthPreflight.d.ts +24 -0
- package/dist/playground/forthPreflight.js +198 -0
- package/dist/playground/fortran.d.ts +47 -0
- package/dist/playground/fortran.js +651 -0
- package/dist/playground/fortranAssets.d.ts +6 -0
- package/dist/playground/fortranAssets.js +27 -0
- package/dist/playground/gleam.d.ts +6 -0
- package/dist/playground/gleam.js +33 -0
- package/dist/playground/go.d.ts +17 -11
- package/dist/playground/go.js +376 -72
- package/dist/playground/goDebugInstrumentation.d.ts +1 -0
- package/dist/playground/goDebugInstrumentation.js +229 -0
- package/dist/playground/haskell.d.ts +44 -0
- package/dist/playground/haskell.js +678 -0
- package/dist/playground/haskellAssets.d.ts +24 -0
- package/dist/playground/haskellAssets.js +93 -0
- package/dist/playground/index.d.ts +1 -1
- package/dist/playground/index.js +360 -111
- package/dist/playground/j.d.ts +5 -0
- package/dist/playground/j.js +60 -0
- package/dist/playground/jPreflight.d.ts +26 -0
- package/dist/playground/jPreflight.js +372 -0
- package/dist/playground/janet.d.ts +5 -0
- package/dist/playground/janet.js +64 -0
- package/dist/playground/java.d.ts +24 -10
- package/dist/playground/java.js +706 -84
- package/dist/playground/javaSource.d.ts +5 -0
- package/dist/playground/javaSource.js +16 -0
- package/dist/playground/javaStdin.d.ts +1 -1
- package/dist/playground/javaStdin.js +13 -4
- package/dist/playground/julia.d.ts +5 -0
- package/dist/playground/julia.js +64 -0
- package/dist/playground/lfortran.d.ts +8 -0
- package/dist/playground/lfortran.js +30 -0
- package/dist/playground/lfortranAssets.d.ts +21 -0
- package/dist/playground/lfortranAssets.js +118 -0
- package/dist/playground/lisp.d.ts +45 -0
- package/dist/playground/lisp.js +640 -0
- package/dist/playground/lispAssets.d.ts +9 -0
- package/dist/playground/lispAssets.js +74 -0
- package/dist/playground/lldbManifest.d.ts +3 -0
- package/dist/playground/lldbManifest.js +155 -0
- package/dist/playground/lldbSession.d.ts +115 -0
- package/dist/playground/lldbSession.js +1347 -0
- package/dist/playground/loadingProgress.d.ts +16 -0
- package/dist/playground/loadingProgress.js +166 -0
- package/dist/playground/lua.d.ts +44 -0
- package/dist/playground/lua.js +630 -0
- package/dist/playground/nim.d.ts +5 -0
- package/dist/playground/nim.js +76 -0
- package/dist/playground/objectivec.d.ts +39 -0
- package/dist/playground/objectivec.js +288 -0
- package/dist/playground/ocaml.d.ts +28 -10
- package/dist/playground/ocaml.js +815 -253
- package/dist/playground/octave.d.ts +43 -0
- package/dist/playground/octave.js +783 -0
- package/dist/playground/options.d.ts +19 -40
- package/dist/playground/options.js +2 -1
- package/dist/playground/pascal.d.ts +5 -0
- package/dist/playground/pascal.js +60 -0
- package/dist/playground/perl.d.ts +5 -0
- package/dist/playground/perl.js +61 -0
- package/dist/playground/php.d.ts +44 -0
- package/dist/playground/php.js +665 -0
- package/dist/playground/prolog.d.ts +6 -0
- package/dist/playground/prolog.js +75 -0
- package/dist/playground/python.d.ts +20 -14
- package/dist/playground/python.js +445 -101
- package/dist/playground/pythonPackageLock.d.ts +6 -0
- package/dist/playground/pythonPackageLock.js +56 -0
- package/dist/playground/r.d.ts +44 -0
- package/dist/playground/r.js +637 -0
- package/dist/playground/ruby.d.ts +46 -0
- package/dist/playground/ruby.js +732 -0
- package/dist/playground/rubyAssets.d.ts +23 -0
- package/dist/playground/rubyAssets.js +68 -0
- package/dist/playground/rubyTestPreflight.d.ts +2 -0
- package/dist/playground/rubyTestPreflight.js +18 -0
- package/dist/playground/runtimeModule.d.ts +1 -0
- package/dist/playground/runtimeModule.js +5 -0
- package/dist/playground/rust.d.ts +44 -13
- package/dist/playground/rust.js +714 -76
- package/dist/playground/rustExecutableGraph.d.ts +85 -0
- package/dist/playground/rustExecutableGraph.js +946 -0
- package/dist/playground/rustWorkerLimits.d.ts +17 -0
- package/dist/playground/rustWorkerLimits.js +34 -0
- package/dist/playground/sandbox.d.ts +16 -10
- package/dist/playground/sharedBuffer.d.ts +6 -0
- package/dist/playground/sharedBuffer.js +12 -0
- package/dist/playground/sqlite.d.ts +38 -0
- package/dist/playground/sqlite.js +550 -0
- package/dist/playground/staticRuntimeModuleVersion.d.ts +1 -0
- package/dist/playground/staticRuntimeModuleVersion.js +2 -0
- package/dist/playground/staticRuntimePreflight.d.ts +13 -0
- package/dist/playground/staticRuntimePreflight.js +231 -0
- package/dist/playground/staticRuntimePreflightExecute.d.ts +8 -0
- package/dist/playground/staticRuntimePreflightExecute.js +66 -0
- package/dist/playground/staticRuntimePreflightProtocol.d.ts +68 -0
- package/dist/playground/staticRuntimePreflightProtocol.js +339 -0
- package/dist/playground/staticStdinRing.d.ts +45 -0
- package/dist/playground/staticStdinRing.js +158 -0
- package/dist/playground/staticWorkerRuntime.d.ts +154 -0
- package/dist/playground/staticWorkerRuntime.js +1917 -0
- package/dist/playground/stdinBuffer.d.ts +9 -7
- package/dist/playground/stdinBuffer.js +9 -18
- package/dist/playground/swift.d.ts +5 -0
- package/dist/playground/swift.js +17 -0
- package/dist/playground/tcl.d.ts +5 -0
- package/dist/playground/tcl.js +62 -0
- package/dist/playground/teavmConfig.d.ts +1 -1
- package/dist/playground/teavmConfig.js +2 -2
- package/dist/playground/tinygo.d.ts +48 -18
- package/dist/playground/tinygo.js +1202 -329
- package/dist/playground/tinygoExecutableGraph.d.ts +44 -0
- package/dist/playground/tinygoExecutableGraph.js +449 -0
- package/dist/playground/typescript.d.ts +55 -0
- package/dist/playground/typescript.js +924 -0
- package/dist/playground/wasm.d.ts +43 -0
- package/dist/playground/wasm.js +608 -0
- package/dist/playground/wasmAwkVersion.d.ts +59 -0
- package/dist/playground/wasmAwkVersion.js +31 -0
- package/dist/playground/wasmBashVersion.d.ts +63 -0
- package/dist/playground/wasmBashVersion.js +36 -0
- package/dist/playground/wasmBqnVersion.d.ts +24 -0
- package/dist/playground/wasmBqnVersion.js +24 -0
- package/dist/playground/wasmC3Version.d.ts +20 -0
- package/dist/playground/wasmC3Version.js +21 -0
- package/dist/playground/wasmClojureScriptVersion.d.ts +21 -0
- package/dist/playground/wasmClojureScriptVersion.js +21 -0
- package/dist/playground/wasmDIntegrity.d.ts +15 -0
- package/dist/playground/wasmDIntegrity.js +15 -0
- package/dist/playground/wasmDVersion.d.ts +1 -0
- package/dist/playground/wasmDVersion.js +1 -0
- package/dist/playground/wasmDebugVersion.d.ts +6 -0
- package/dist/playground/wasmDebugVersion.js +6 -0
- package/dist/playground/wasmDotnetVersion.d.ts +1 -0
- package/dist/playground/wasmDotnetVersion.js +1 -0
- package/dist/playground/wasmElixirVersion.d.ts +21 -1
- package/dist/playground/wasmElixirVersion.js +21 -1
- package/dist/playground/wasmForthVersion.d.ts +18 -0
- package/dist/playground/wasmForthVersion.js +18 -0
- package/dist/playground/wasmFortranExecutionAssets.d.ts +15 -0
- package/dist/playground/wasmFortranExecutionAssets.js +15 -0
- package/dist/playground/wasmFortranVersion.d.ts +1 -0
- package/dist/playground/wasmFortranVersion.js +1 -0
- package/dist/playground/wasmGleamVersion.d.ts +5 -0
- package/dist/playground/wasmGleamVersion.js +5 -0
- package/dist/playground/wasmGoVersion.d.ts +1 -1
- package/dist/playground/wasmGoVersion.js +1 -1
- package/dist/playground/wasmHaskellVersion.d.ts +1 -0
- package/dist/playground/wasmHaskellVersion.js +1 -0
- package/dist/playground/wasmJVersion.d.ts +24 -0
- package/dist/playground/wasmJVersion.js +24 -0
- package/dist/playground/wasmJanetVersion.d.ts +53 -0
- package/dist/playground/wasmJanetVersion.js +30 -0
- package/dist/playground/wasmJuliaVersion.d.ts +71 -0
- package/dist/playground/wasmJuliaVersion.js +39 -0
- package/dist/playground/wasmLfortranVersion.d.ts +28 -0
- package/dist/playground/wasmLfortranVersion.js +29 -0
- package/dist/playground/wasmLispVersion.d.ts +1 -0
- package/dist/playground/wasmLispVersion.js +1 -0
- package/dist/playground/wasmLuaVersion.d.ts +1 -0
- package/dist/playground/wasmLuaVersion.js +1 -0
- package/dist/playground/wasmNimVersion.d.ts +125 -0
- package/dist/playground/wasmNimVersion.js +66 -0
- package/dist/playground/wasmObjectiveCVersion.d.ts +27 -0
- package/dist/playground/wasmObjectiveCVersion.js +27 -0
- package/dist/playground/wasmOcamlVersion.d.ts +12 -1
- package/dist/playground/wasmOcamlVersion.js +12 -1
- package/dist/playground/wasmOctaveVersion.d.ts +1 -0
- package/dist/playground/wasmOctaveVersion.js +1 -0
- package/dist/playground/wasmPascalVersion.d.ts +61 -0
- package/dist/playground/wasmPascalVersion.js +34 -0
- package/dist/playground/wasmPerlVersion.d.ts +71 -0
- package/dist/playground/wasmPerlVersion.js +39 -0
- package/dist/playground/wasmPrologVersion.d.ts +31 -0
- package/dist/playground/wasmPrologVersion.js +31 -0
- package/dist/playground/wasmRVersion.d.ts +1 -0
- package/dist/playground/wasmRVersion.js +1 -0
- package/dist/playground/wasmRustVersion.d.ts +1306 -1
- package/dist/playground/wasmRustVersion.js +1458 -1
- package/dist/playground/wasmSwiftVersion.d.ts +1 -0
- package/dist/playground/wasmSwiftVersion.js +1 -0
- package/dist/playground/wasmTclVersion.d.ts +85 -0
- package/dist/playground/wasmTclVersion.js +46 -0
- package/dist/playground/wasmTinyGoVersion.d.ts +98 -1
- package/dist/playground/wasmTinyGoVersion.js +107 -1
- package/dist/playground/wasmTypeScriptVersion.d.ts +5 -0
- package/dist/playground/wasmTypeScriptVersion.js +5 -0
- package/dist/playground/wasmWatVersion.d.ts +1 -0
- package/dist/playground/wasmWatVersion.js +1 -0
- package/dist/playground/wasmZigVersion.d.ts +13 -0
- package/dist/playground/wasmZigVersion.js +13 -0
- package/dist/playground/wat.d.ts +44 -0
- package/dist/playground/wat.js +622 -0
- package/dist/playground/worker/assemblyscript.js +339 -0
- package/dist/playground/worker/assets.d.ts +7 -0
- package/dist/playground/worker/assets.js +288 -39
- package/dist/playground/worker/bash.js +338 -0
- package/dist/playground/worker/bashNestedBootstrap.d.ts +6 -0
- package/dist/playground/worker/bashNestedBootstrap.js +59 -0
- package/dist/playground/worker/bashRuntime.d.ts +89 -0
- package/dist/playground/worker/bashRuntime.js +982 -0
- package/dist/playground/worker/clang.js +92 -13
- package/dist/playground/worker/cobol.js +107 -0
- package/dist/playground/worker/d.js +199 -0
- package/dist/playground/worker/dotnet.js +141 -0
- package/dist/playground/worker/duckdb.d.ts +1 -0
- package/dist/playground/worker/duckdb.js +136 -0
- package/dist/playground/worker/elixir.js +307 -41
- package/dist/playground/worker/fortran.d.ts +1 -0
- package/dist/playground/worker/fortran.js +295 -0
- package/dist/playground/worker/go.js +246 -40
- package/dist/playground/worker/haskell.d.ts +7 -0
- package/dist/playground/worker/haskell.js +465 -0
- package/dist/playground/worker/java.js +59 -20
- package/dist/playground/worker/lisp.d.ts +1 -0
- package/dist/playground/worker/lisp.js +195 -0
- package/dist/playground/worker/lua.d.ts +1 -0
- package/dist/playground/worker/lua.js +163 -0
- package/dist/playground/worker/objectivec.d.ts +1 -0
- package/dist/playground/worker/objectivec.js +10 -0
- package/dist/playground/worker/ocaml.js +206 -58
- package/dist/playground/worker/php.d.ts +1 -0
- package/dist/playground/worker/php.js +261 -0
- package/dist/playground/worker/python.js +201 -44
- package/dist/playground/worker/r.d.ts +1 -0
- package/dist/playground/worker/r.js +192 -0
- package/dist/playground/worker/ruby.d.ts +1 -0
- package/dist/playground/worker/ruby.js +248 -0
- package/dist/playground/worker/runtimeAssetFetch.d.ts +15 -0
- package/dist/playground/worker/runtimeAssetFetch.js +375 -0
- package/dist/playground/worker/rust.js +546 -20
- package/dist/playground/worker/sqlite.d.ts +1 -0
- package/dist/playground/worker/sqlite.js +112 -0
- package/dist/playground/worker/staticRuntimePreflight.d.ts +1 -0
- package/dist/playground/worker/staticRuntimePreflight.js +56 -0
- package/dist/playground/worker/tinygo.js +34 -9
- package/dist/playground/worker/typescript.d.ts +1 -0
- package/dist/playground/worker/typescript.js +251 -0
- package/dist/playground/worker/wasm.d.ts +1 -0
- package/dist/playground/worker/wasm.js +273 -0
- package/dist/playground/worker/wat.d.ts +1 -0
- package/dist/playground/worker/wat.js +188 -0
- package/dist/playground/worker/zig.d.ts +8 -0
- package/dist/playground/worker/zig.js +578 -0
- package/dist/playground/workerProgress.d.ts +15 -0
- package/dist/playground/workerProgress.js +72 -0
- package/dist/playground/workerSession.d.ts +28 -0
- package/dist/playground/workerSession.js +164 -0
- package/dist/playground/zig.d.ts +46 -0
- package/dist/playground/zig.js +690 -0
- package/dist/playground/zigAssets.d.ts +6 -0
- package/dist/playground/zigAssets.js +49 -0
- package/package.json +234 -105
- package/dist/clang/app.d.ts +0 -75
- package/dist/clang/app.js +0 -744
- package/dist/clang/apply.d.ts +0 -2
- package/dist/clang/apply.js +0 -11
- package/dist/clang/color.d.ts +0 -3
- package/dist/clang/color.js +0 -3
- package/dist/clang/encode.d.ts +0 -4
- package/dist/clang/encode.js +0 -20
- package/dist/clang/error.d.ts +0 -14
- package/dist/clang/error.js +0 -27
- package/dist/clang/gccCompat.d.ts +0 -15
- package/dist/clang/gccCompat.js +0 -767
- package/dist/clang/index.d.ts +0 -85
- package/dist/clang/index.js +0 -1077
- package/dist/clang/memory/index.d.ts +0 -4
- package/dist/clang/memory/index.js +0 -4
- package/dist/clang/memory/memFs.d.ts +0 -35
- package/dist/clang/memory/memFs.js +0 -132
- package/dist/clang/memory/memory.d.ts +0 -22
- package/dist/clang/memory/memory.js +0 -73
- package/dist/clang/memory/tar.d.ts +0 -2
- package/dist/clang/memory/tar.js +0 -59
- package/dist/clang/url.d.ts +0 -4
- package/dist/clang/url.js +0 -5
- package/dist/clang/wasm.d.ts +0 -4
- package/dist/clang/wasm.js +0 -50
- package/dist/clangd/config.d.ts +0 -18
- package/dist/clangd/config.js +0 -14
- package/dist/clangd/jsonStream.d.ts +0 -9
- package/dist/clangd/jsonStream.js +0 -48
- package/dist/clangd/session.d.ts +0 -18
- package/dist/clangd/session.js +0 -112
- package/dist/clangd/worker.js +0 -131
- package/dist/debug/controller.svelte.d.ts +0 -43
- package/dist/debug/controller.svelte.js +0 -268
- package/dist/debug/editor/index.d.ts +0 -2
- package/dist/debug/editor/index.js +0 -1
- package/dist/debug/editor/monaco.d.ts +0 -26
- package/dist/debug/editor/monaco.js +0 -128
- package/dist/debug/expression.d.ts +0 -26
- package/dist/debug/expression.js +0 -547
- package/dist/debug/index.d.ts +0 -8
- package/dist/debug/index.js +0 -5
- package/dist/debug/language/cpp.d.ts +0 -2
- package/dist/debug/language/cpp.js +0 -7
- package/dist/debug/language/index.d.ts +0 -3
- package/dist/debug/language/index.js +0 -2
- package/dist/debug/language/python.d.ts +0 -2
- package/dist/debug/language/python.js +0 -14
- package/dist/debug/language/types.d.ts +0 -6
- package/dist/debug/locals.d.ts +0 -2
- package/dist/debug/locals.js +0 -8
- package/dist/lsp/cpp/server.d.ts +0 -2
- package/dist/lsp/cpp/server.js +0 -68
- package/dist/lsp/index.d.ts +0 -5
- package/dist/lsp/index.js +0 -4
- package/dist/lsp/python/main.worker.js +0 -92
- package/dist/lsp/python/package/arcturus_python_lsp/__init__.py +0 -3
- package/dist/lsp/python/package/arcturus_python_lsp/server.py +0 -462
- package/dist/lsp/python/server.d.ts +0 -2
- package/dist/lsp/python/server.js +0 -54
- package/dist/lsp/registry.d.ts +0 -2
- package/dist/lsp/registry.js +0 -12
- package/dist/lsp/runtime.d.ts +0 -5
- package/dist/lsp/runtime.js +0 -31
- package/dist/lsp/types.d.ts +0 -17
- package/dist/terminal/Terminal.svelte +0 -422
- package/dist/terminal/Terminal.svelte.d.ts +0 -26
- package/dist/terminal/index.d.ts +0 -7
- package/dist/terminal/index.js +0 -5
- package/dist/terminal/plugin/index.d.ts +0 -9
- package/dist/terminal/plugin/index.js +0 -19
- package/dist/terminal/theme.d.ts +0 -49
- package/dist/terminal/theme.js +0 -49
- package/dist/terminal/types.d.ts +0 -18
- package/dist/utils/vscodeJsonrpcBrowser.d.ts +0 -5
- package/dist/utils/vscodeJsonrpcBrowser.js +0 -4
- /package/dist/{clangd/worker.d.ts → playground/worker/assemblyscript.d.ts} +0 -0
- /package/dist/{debug/language/types.js → playground/worker/bash.d.ts} +0 -0
- /package/dist/{lsp/python/main.worker.d.ts → playground/worker/cobol.d.ts} +0 -0
- /package/dist/{lsp/types.js → playground/worker/d.d.ts} +0 -0
- /package/dist/{terminal/types.js → playground/worker/dotnet.d.ts} +0 -0
|
@@ -1,84 +1,878 @@
|
|
|
1
|
+
import { type DOuterAssetReceipts } from './dOuterAssets';
|
|
2
|
+
import type { ElixirRuntimeAssetReceipts } from './elixirAssets';
|
|
3
|
+
import { type FortranExecutionAssetReceipts } from './fortranAssets';
|
|
4
|
+
import { type HaskellRuntimeAssetReceipts, type AwkRuntimePreflightProfile, type RubyRuntimePreflightProfile } from '@wasm-idle/core';
|
|
5
|
+
import { type ZigExecutionAssetReceipts } from './zigAssets';
|
|
6
|
+
import type { RuntimeAssetIntegrityEntry as CoreRuntimeAssetIntegrityEntry, RuntimeAssetKeySource } from '@wasm-idle/core';
|
|
7
|
+
import type { ObjectiveCAssetIntegrityMap } from '@wasm-idle/llvm-core/objective-c';
|
|
1
8
|
export type RuntimeAssetRuntime = 'python' | 'java' | 'clang' | 'clangd';
|
|
2
9
|
export interface RuntimeAssetLoadRequest {
|
|
3
10
|
runtime: RuntimeAssetRuntime;
|
|
4
11
|
asset: string;
|
|
5
12
|
reportProgress: (loaded: number, total?: number) => void;
|
|
13
|
+
signal?: AbortSignal;
|
|
6
14
|
}
|
|
7
15
|
export interface RuntimeAssetDataResult {
|
|
8
16
|
data: string | ArrayBuffer | Uint8Array | Blob;
|
|
9
17
|
mimeType?: string;
|
|
18
|
+
transferOwnership?: boolean;
|
|
10
19
|
}
|
|
11
20
|
export interface RuntimeAssetUrlResult {
|
|
12
21
|
url: string | URL;
|
|
13
22
|
}
|
|
14
23
|
export type RuntimeAssetLoaderResult = RuntimeAssetDataResult | RuntimeAssetUrlResult | string | URL | ArrayBuffer | Uint8Array | Blob | null | undefined;
|
|
15
24
|
export type RuntimeAssetLoader = (request: RuntimeAssetLoadRequest) => RuntimeAssetLoaderResult | Promise<RuntimeAssetLoaderResult>;
|
|
25
|
+
export type RuntimeAssetIntegrityEntry = CoreRuntimeAssetIntegrityEntry;
|
|
26
|
+
export type RuntimeAssetIntegrityMap = Record<string, string | RuntimeAssetIntegrityEntry>;
|
|
16
27
|
export interface RuntimeAssetConfig {
|
|
17
28
|
baseUrl?: string;
|
|
18
29
|
loader?: RuntimeAssetLoader;
|
|
30
|
+
loaderKey?: string;
|
|
31
|
+
integrity?: RuntimeAssetIntegrityMap;
|
|
32
|
+
allowedBaseUrls?: string[];
|
|
19
33
|
}
|
|
20
34
|
export interface RustRuntimeAssetConfig {
|
|
21
35
|
compilerUrl?: string;
|
|
36
|
+
manifestUrl?: string;
|
|
37
|
+
debugModuleUrl?: string;
|
|
38
|
+
executableGraphFingerprint?: string;
|
|
39
|
+
profileId?: string;
|
|
40
|
+
protocolVersion?: number;
|
|
41
|
+
manifestPath?: string;
|
|
42
|
+
manifestFingerprint?: string;
|
|
43
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
44
|
+
assetReceipts?: RuntimeAssetIntegrityMap;
|
|
45
|
+
}
|
|
46
|
+
export interface DebugRuntimeAssetConfig {
|
|
47
|
+
baseUrl?: string;
|
|
48
|
+
manifestUrl?: string;
|
|
49
|
+
manifestSha256?: string;
|
|
22
50
|
}
|
|
23
51
|
export interface GoRuntimeAssetConfig {
|
|
24
52
|
compilerUrl?: string;
|
|
53
|
+
manifestUrl?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface DRuntimeAssetConfig {
|
|
56
|
+
moduleUrl?: string;
|
|
57
|
+
manifestUrl?: string;
|
|
58
|
+
integrity?: DOuterAssetReceipts;
|
|
59
|
+
}
|
|
60
|
+
export interface DotnetRuntimeAssetConfig {
|
|
61
|
+
moduleUrl?: string;
|
|
25
62
|
}
|
|
26
63
|
export interface OcamlRuntimeAssetConfig {
|
|
27
64
|
moduleUrl?: string;
|
|
28
65
|
manifestUrl?: string;
|
|
66
|
+
moduleReceipt?: RuntimeAssetIntegrityEntry;
|
|
67
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
29
68
|
}
|
|
30
69
|
export interface TinyGoRuntimeAssetConfig {
|
|
31
70
|
moduleUrl?: string;
|
|
32
71
|
appUrl?: string;
|
|
33
|
-
|
|
34
|
-
disableHostCompile?: boolean;
|
|
72
|
+
executableGraphFingerprint?: string;
|
|
35
73
|
assetLoader?: TinyGoRuntimeAssetLoader;
|
|
36
|
-
|
|
74
|
+
assetLoaderKey?: string;
|
|
75
|
+
profileId?: string;
|
|
76
|
+
protocolVersion?: number;
|
|
77
|
+
manifestPath?: string;
|
|
78
|
+
manifestFingerprint?: string;
|
|
79
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
80
|
+
assetReceipts?: RuntimeAssetIntegrityMap;
|
|
37
81
|
}
|
|
38
82
|
export interface ElixirRuntimeAssetConfig {
|
|
39
83
|
bundleUrl?: string;
|
|
84
|
+
integrity?: ElixirRuntimeAssetReceipts;
|
|
85
|
+
}
|
|
86
|
+
export interface ErlangRuntimeAssetConfig {
|
|
87
|
+
bundleUrl?: string;
|
|
88
|
+
integrity?: ElixirRuntimeAssetReceipts;
|
|
89
|
+
}
|
|
90
|
+
export interface TypeScriptRuntimeAssetConfig {
|
|
91
|
+
moduleUrl?: string;
|
|
92
|
+
libUrl?: string;
|
|
93
|
+
}
|
|
94
|
+
export interface WatRuntimeAssetConfig {
|
|
95
|
+
moduleUrl?: string;
|
|
96
|
+
}
|
|
97
|
+
export interface LuaRuntimeAssetConfig {
|
|
98
|
+
moduleUrl?: string;
|
|
99
|
+
}
|
|
100
|
+
export interface HaskellRuntimeAssetConfig {
|
|
101
|
+
moduleUrl?: string;
|
|
102
|
+
rootfsUrl?: string;
|
|
103
|
+
bsdtarUrl?: string;
|
|
104
|
+
integrity?: HaskellRuntimeAssetReceipts;
|
|
105
|
+
mainSoPath?: string;
|
|
106
|
+
searchDirs?: string[];
|
|
107
|
+
}
|
|
108
|
+
export interface FortranRuntimeAssetConfig {
|
|
109
|
+
baseUrl?: string;
|
|
110
|
+
f2cWasmUrl?: string;
|
|
111
|
+
libf2cUrl?: string;
|
|
112
|
+
f2cHeaderUrl?: string;
|
|
113
|
+
analyzerUrl?: string;
|
|
114
|
+
integrity?: FortranExecutionAssetReceipts;
|
|
115
|
+
}
|
|
116
|
+
export interface CobolRuntimeAssetConfig {
|
|
117
|
+
baseUrl?: string;
|
|
118
|
+
}
|
|
119
|
+
export interface ObjectiveCRuntimeAssetConfig {
|
|
120
|
+
baseUrl?: string;
|
|
121
|
+
libobjcUrl?: string;
|
|
122
|
+
headersUrl?: string;
|
|
123
|
+
libgnustepBaseUrl?: string;
|
|
124
|
+
libgnustepBaseObjectUrl?: string;
|
|
125
|
+
foundationHeadersUrl?: string;
|
|
126
|
+
libffiUrl?: string;
|
|
127
|
+
integrity?: ObjectiveCAssetIntegrityMap;
|
|
128
|
+
}
|
|
129
|
+
export interface ZigRuntimeAssetConfig {
|
|
130
|
+
compilerUrl?: string;
|
|
131
|
+
stdlibUrl?: string;
|
|
132
|
+
integrity?: ZigExecutionAssetReceipts;
|
|
133
|
+
}
|
|
134
|
+
export interface LispRuntimeAssetConfig {
|
|
135
|
+
moduleUrl?: string;
|
|
136
|
+
manifestUrl?: string;
|
|
137
|
+
manifestFingerprint?: string;
|
|
138
|
+
}
|
|
139
|
+
export interface ResolvedLispRuntimeAssetConfig {
|
|
140
|
+
moduleUrl: string;
|
|
141
|
+
manifestUrl: string;
|
|
142
|
+
manifestFingerprint: string;
|
|
143
|
+
}
|
|
144
|
+
export interface RubyRuntimeAssetConfig {
|
|
145
|
+
baseUrl?: string;
|
|
146
|
+
manifestUrl?: string;
|
|
147
|
+
moduleUrl?: string;
|
|
148
|
+
wasmUrl?: string;
|
|
149
|
+
profileId?: string;
|
|
150
|
+
artifactRevision?: string;
|
|
151
|
+
rubyVersion?: string;
|
|
152
|
+
rubyRevision?: string;
|
|
153
|
+
rubyWasmVersion?: string;
|
|
154
|
+
rubyWasmRevision?: string;
|
|
155
|
+
wasiSdkVersion?: string;
|
|
156
|
+
manifestFingerprint?: string;
|
|
157
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
158
|
+
moduleJavaScriptReceipt?: RuntimeAssetIntegrityEntry;
|
|
159
|
+
wasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
160
|
+
}
|
|
161
|
+
export interface ResolvedRubyRuntimeAssetConfig {
|
|
162
|
+
baseUrl: string;
|
|
163
|
+
manifestUrl: string;
|
|
164
|
+
moduleUrl: string;
|
|
165
|
+
wasmUrl: string;
|
|
166
|
+
preflightKey: string;
|
|
167
|
+
preflightProfile: Readonly<Required<RubyRuntimePreflightProfile>>;
|
|
168
|
+
}
|
|
169
|
+
export interface RRuntimeAssetConfig {
|
|
170
|
+
baseUrl?: string;
|
|
171
|
+
}
|
|
172
|
+
export interface OctaveRuntimeAssetConfig {
|
|
173
|
+
baseUrl?: string;
|
|
174
|
+
workerUrl?: string;
|
|
175
|
+
manifestUrl?: string;
|
|
176
|
+
}
|
|
177
|
+
export interface PrologRuntimeAssetConfig {
|
|
178
|
+
baseUrl?: string;
|
|
179
|
+
workerUrl?: string;
|
|
180
|
+
manifestUrl?: string;
|
|
181
|
+
manifestFingerprint?: string;
|
|
182
|
+
profileId?: string;
|
|
183
|
+
packageRevision?: string;
|
|
184
|
+
swiplRevision?: string;
|
|
185
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
186
|
+
javascriptReceipt?: RuntimeAssetIntegrityEntry;
|
|
187
|
+
wasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
188
|
+
dataReceipt?: RuntimeAssetIntegrityEntry;
|
|
189
|
+
workerReceipt?: Readonly<{
|
|
190
|
+
bytes: number;
|
|
191
|
+
sha256: string;
|
|
192
|
+
}>;
|
|
193
|
+
}
|
|
194
|
+
export interface GleamRuntimeAssetConfig {
|
|
195
|
+
baseUrl?: string;
|
|
196
|
+
workerUrl?: string;
|
|
197
|
+
manifestUrl?: string;
|
|
198
|
+
manifestFingerprint?: string;
|
|
199
|
+
workerReceipt?: Readonly<{
|
|
200
|
+
bytes: number;
|
|
201
|
+
sha256: string;
|
|
202
|
+
}>;
|
|
203
|
+
}
|
|
204
|
+
export interface PerlRuntimeAssetConfig {
|
|
205
|
+
baseUrl?: string;
|
|
206
|
+
workerUrl?: string;
|
|
207
|
+
manifestUrl?: string;
|
|
208
|
+
manifestFingerprint?: string;
|
|
209
|
+
profileId?: string;
|
|
210
|
+
artifactRevision?: string;
|
|
211
|
+
webperlRevision?: string;
|
|
212
|
+
perlRevision?: string;
|
|
213
|
+
emscriptenRevision?: string;
|
|
214
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
215
|
+
javascriptReceipt?: RuntimeAssetIntegrityEntry;
|
|
216
|
+
wasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
217
|
+
dataReceipt?: RuntimeAssetIntegrityEntry;
|
|
218
|
+
workerReceipt?: Readonly<{
|
|
219
|
+
bytes: number;
|
|
220
|
+
sha256: string;
|
|
221
|
+
}>;
|
|
222
|
+
}
|
|
223
|
+
export interface TclRuntimeAssetConfig {
|
|
224
|
+
baseUrl?: string;
|
|
225
|
+
workerUrl?: string;
|
|
226
|
+
manifestUrl?: string;
|
|
227
|
+
manifestFingerprint?: string;
|
|
228
|
+
profileId?: string;
|
|
229
|
+
artifactRevision?: string;
|
|
230
|
+
waclRevision?: string;
|
|
231
|
+
tclRevision?: string;
|
|
232
|
+
requireJsRevision?: string;
|
|
233
|
+
emscriptenRevision?: string;
|
|
234
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
235
|
+
requireJsReceipt?: RuntimeAssetIntegrityEntry;
|
|
236
|
+
customDataReceipt?: RuntimeAssetIntegrityEntry;
|
|
237
|
+
libraryDataReceipt?: RuntimeAssetIntegrityEntry;
|
|
238
|
+
glueReceipt?: RuntimeAssetIntegrityEntry;
|
|
239
|
+
wasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
240
|
+
workerReceipt?: Readonly<{
|
|
241
|
+
bytes: number;
|
|
242
|
+
sha256: string;
|
|
243
|
+
}>;
|
|
244
|
+
}
|
|
245
|
+
export interface AwkRuntimeAssetConfig {
|
|
246
|
+
baseUrl?: string;
|
|
247
|
+
workerUrl?: string;
|
|
248
|
+
manifestUrl?: string;
|
|
249
|
+
manifestFingerprint?: string;
|
|
250
|
+
profileId?: string;
|
|
251
|
+
goVersion?: string;
|
|
252
|
+
goawkVersion?: string;
|
|
253
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
254
|
+
workerReceipt?: RuntimeAssetIntegrityEntry;
|
|
255
|
+
goShimReceipt?: RuntimeAssetIntegrityEntry;
|
|
256
|
+
wasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
257
|
+
}
|
|
258
|
+
export interface PascalRuntimeAssetConfig {
|
|
259
|
+
baseUrl?: string;
|
|
260
|
+
workerUrl?: string;
|
|
261
|
+
manifestUrl?: string;
|
|
262
|
+
compilerJavaScriptUrl?: string;
|
|
263
|
+
rtlJavaScriptUrl?: string;
|
|
264
|
+
systemPascalUrl?: string;
|
|
265
|
+
manifestFingerprint?: string;
|
|
266
|
+
profileId?: string;
|
|
267
|
+
artifactRevision?: string;
|
|
268
|
+
pas2jsVersion?: string;
|
|
269
|
+
pas2jsRevision?: string;
|
|
270
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
271
|
+
compilerJavaScriptReceipt?: RuntimeAssetIntegrityEntry;
|
|
272
|
+
rtlJavaScriptReceipt?: RuntimeAssetIntegrityEntry;
|
|
273
|
+
systemPascalReceipt?: RuntimeAssetIntegrityEntry;
|
|
274
|
+
workerReceipt?: Readonly<{
|
|
275
|
+
bytes: number;
|
|
276
|
+
sha256: string;
|
|
277
|
+
}>;
|
|
278
|
+
}
|
|
279
|
+
export interface ForthRuntimeAssetConfig {
|
|
280
|
+
baseUrl?: string;
|
|
281
|
+
workerUrl?: string;
|
|
282
|
+
manifestUrl?: string;
|
|
283
|
+
manifestFingerprint?: string;
|
|
284
|
+
profileId?: string;
|
|
285
|
+
implementationVersion?: string;
|
|
286
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
287
|
+
runtimeReceipt?: RuntimeAssetIntegrityEntry;
|
|
288
|
+
workerReceipt?: Readonly<{
|
|
289
|
+
bytes: number;
|
|
290
|
+
sha256: string;
|
|
291
|
+
}>;
|
|
292
|
+
}
|
|
293
|
+
export interface ForthRuntimePreflightProfile {
|
|
294
|
+
readonly profileId: string;
|
|
295
|
+
readonly implementationVersion: string;
|
|
296
|
+
readonly manifestFingerprint: string;
|
|
297
|
+
readonly manifestReceipt?: Readonly<{
|
|
298
|
+
bytes?: number;
|
|
299
|
+
sha256: string;
|
|
300
|
+
}>;
|
|
301
|
+
readonly runtimeReceipt?: Readonly<{
|
|
302
|
+
bytes?: number;
|
|
303
|
+
sha256: string;
|
|
304
|
+
}>;
|
|
305
|
+
}
|
|
306
|
+
export interface JRuntimeAssetConfig {
|
|
307
|
+
baseUrl?: string;
|
|
308
|
+
workerUrl?: string;
|
|
309
|
+
manifestUrl?: string;
|
|
310
|
+
manifestFingerprint?: string;
|
|
311
|
+
profileId?: string;
|
|
312
|
+
sourceRevision?: string;
|
|
313
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
314
|
+
moduleReceipt?: RuntimeAssetIntegrityEntry;
|
|
315
|
+
wasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
316
|
+
workerReceipt?: Readonly<{
|
|
317
|
+
bytes: number;
|
|
318
|
+
sha256: string;
|
|
319
|
+
}>;
|
|
320
|
+
}
|
|
321
|
+
export interface JRuntimePreflightProfile {
|
|
322
|
+
readonly profileId: string;
|
|
323
|
+
readonly sourceRevision: string;
|
|
324
|
+
readonly manifestFingerprint: string;
|
|
325
|
+
readonly manifestReceipt?: Readonly<{
|
|
326
|
+
bytes?: number;
|
|
327
|
+
sha256: string;
|
|
328
|
+
}>;
|
|
329
|
+
readonly moduleReceipt?: Readonly<{
|
|
330
|
+
bytes?: number;
|
|
331
|
+
sha256: string;
|
|
332
|
+
}>;
|
|
333
|
+
readonly wasmReceipt?: Readonly<{
|
|
334
|
+
bytes?: number;
|
|
335
|
+
sha256: string;
|
|
336
|
+
uncompressedBytes?: number;
|
|
337
|
+
uncompressedSha256?: string;
|
|
338
|
+
}>;
|
|
339
|
+
}
|
|
340
|
+
export interface BqnRuntimeAssetConfig {
|
|
341
|
+
baseUrl?: string;
|
|
342
|
+
workerUrl?: string;
|
|
343
|
+
manifestUrl?: string;
|
|
344
|
+
manifestFingerprint?: string;
|
|
345
|
+
profileId?: string;
|
|
346
|
+
sourceRevision?: string;
|
|
347
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
348
|
+
moduleReceipt?: RuntimeAssetIntegrityEntry;
|
|
349
|
+
wasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
350
|
+
workerReceipt?: Readonly<{
|
|
351
|
+
bytes: number;
|
|
352
|
+
sha256: string;
|
|
353
|
+
}>;
|
|
354
|
+
}
|
|
355
|
+
export interface BqnRuntimePreflightProfile {
|
|
356
|
+
readonly profileId: string;
|
|
357
|
+
readonly sourceRevision: string;
|
|
358
|
+
readonly manifestFingerprint: string;
|
|
359
|
+
readonly manifestReceipt?: Readonly<{
|
|
360
|
+
bytes?: number;
|
|
361
|
+
sha256: string;
|
|
362
|
+
}>;
|
|
363
|
+
readonly moduleReceipt?: Readonly<{
|
|
364
|
+
bytes?: number;
|
|
365
|
+
sha256: string;
|
|
366
|
+
}>;
|
|
367
|
+
readonly wasmReceipt?: Readonly<{
|
|
368
|
+
bytes?: number;
|
|
369
|
+
sha256: string;
|
|
370
|
+
uncompressedBytes?: number;
|
|
371
|
+
uncompressedSha256?: string;
|
|
372
|
+
}>;
|
|
373
|
+
}
|
|
374
|
+
export interface JanetRuntimeAssetConfig {
|
|
375
|
+
baseUrl?: string;
|
|
376
|
+
workerUrl?: string;
|
|
377
|
+
manifestUrl?: string;
|
|
378
|
+
manifestFingerprint?: string;
|
|
379
|
+
profileId?: string;
|
|
380
|
+
artifactRevision?: string;
|
|
381
|
+
janetVersion?: string;
|
|
382
|
+
emscriptenVersion?: string;
|
|
383
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
384
|
+
javascriptReceipt?: RuntimeAssetIntegrityEntry;
|
|
385
|
+
wasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
386
|
+
workerReceipt?: Readonly<{
|
|
387
|
+
bytes: number;
|
|
388
|
+
sha256: string;
|
|
389
|
+
}>;
|
|
390
|
+
}
|
|
391
|
+
export interface JuliaRuntimeAssetConfig {
|
|
392
|
+
baseUrl?: string;
|
|
393
|
+
workerUrl?: string;
|
|
394
|
+
manifestUrl?: string;
|
|
395
|
+
manifestFingerprint?: string;
|
|
396
|
+
profileId?: string;
|
|
397
|
+
packageRevision?: string;
|
|
398
|
+
importedByCommit?: string;
|
|
399
|
+
juliaVersion?: string;
|
|
400
|
+
emscriptenVersion?: string;
|
|
401
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
402
|
+
javascriptReceipt?: RuntimeAssetIntegrityEntry;
|
|
403
|
+
wasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
404
|
+
dataReceipt?: RuntimeAssetIntegrityEntry;
|
|
405
|
+
workerReceipt?: Readonly<{
|
|
406
|
+
bytes: number;
|
|
407
|
+
sha256: string;
|
|
408
|
+
}>;
|
|
409
|
+
}
|
|
410
|
+
export interface NimRuntimeAssetConfig {
|
|
411
|
+
baseUrl?: string;
|
|
412
|
+
workerUrl?: string;
|
|
413
|
+
manifestUrl?: string;
|
|
414
|
+
manifestFingerprint?: string;
|
|
415
|
+
profileId?: string;
|
|
416
|
+
artifactRevision?: string;
|
|
417
|
+
nimRevision?: string;
|
|
418
|
+
llvmRevision?: string;
|
|
419
|
+
memfsRevision?: string;
|
|
420
|
+
emscriptenRevision?: string;
|
|
421
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
422
|
+
nimJavaScriptReceipt?: RuntimeAssetIntegrityEntry;
|
|
423
|
+
nimWasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
424
|
+
nimbaseReceipt?: RuntimeAssetIntegrityEntry;
|
|
425
|
+
clangJavaScriptReceipt?: RuntimeAssetIntegrityEntry;
|
|
426
|
+
clangWasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
427
|
+
lldWasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
428
|
+
memfsWasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
429
|
+
sysrootReceipt?: RuntimeAssetIntegrityEntry;
|
|
430
|
+
workerReceipt?: Readonly<{
|
|
431
|
+
bytes: number;
|
|
432
|
+
sha256: string;
|
|
433
|
+
}>;
|
|
434
|
+
}
|
|
435
|
+
export interface BashRuntimeAssetConfig {
|
|
436
|
+
baseUrl?: string;
|
|
437
|
+
manifestUrl?: string;
|
|
438
|
+
moduleUrl?: string;
|
|
439
|
+
wasmerWasmUrl?: string;
|
|
440
|
+
webcUrl?: string;
|
|
441
|
+
workerUrl?: string;
|
|
442
|
+
manifestFingerprint?: string;
|
|
443
|
+
profileId?: string;
|
|
444
|
+
bashPackageVersion?: string;
|
|
445
|
+
bashSourceRevision?: string;
|
|
446
|
+
wasmerSdkVersion?: string;
|
|
447
|
+
wasmerSdkPackageIntegrity?: string;
|
|
448
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
449
|
+
sdkJavaScriptReceipt?: RuntimeAssetIntegrityEntry;
|
|
450
|
+
wasmerWasmReceipt?: RuntimeAssetIntegrityEntry;
|
|
451
|
+
webcReceipt?: RuntimeAssetIntegrityEntry;
|
|
452
|
+
}
|
|
453
|
+
export interface ClojureScriptRuntimeAssetConfig {
|
|
454
|
+
baseUrl?: string;
|
|
455
|
+
workerUrl?: string;
|
|
456
|
+
manifestUrl?: string;
|
|
457
|
+
manifestFingerprint?: string;
|
|
458
|
+
profileId?: string;
|
|
459
|
+
sourceRevision?: string;
|
|
460
|
+
integrationRevision?: string;
|
|
461
|
+
manifestReceipt?: RuntimeAssetIntegrityEntry;
|
|
462
|
+
compilerReceipt?: RuntimeAssetIntegrityEntry;
|
|
463
|
+
workerReceipt?: Readonly<{
|
|
464
|
+
bytes: number;
|
|
465
|
+
sha256: string;
|
|
466
|
+
}>;
|
|
467
|
+
}
|
|
468
|
+
export interface ClojureScriptRuntimePreflightProfile {
|
|
469
|
+
readonly profileId: string;
|
|
470
|
+
readonly sourceRevision: string;
|
|
471
|
+
readonly integrationRevision: string;
|
|
472
|
+
readonly manifestFingerprint: string;
|
|
473
|
+
readonly manifestReceipt?: Readonly<{
|
|
474
|
+
bytes?: number;
|
|
475
|
+
sha256: string;
|
|
476
|
+
}>;
|
|
477
|
+
readonly compilerReceipt?: Readonly<{
|
|
478
|
+
bytes?: number;
|
|
479
|
+
sha256: string;
|
|
480
|
+
uncompressedBytes?: number;
|
|
481
|
+
uncompressedSha256?: string;
|
|
482
|
+
}>;
|
|
483
|
+
}
|
|
484
|
+
export interface SwiftRuntimeAssetConfig {
|
|
485
|
+
baseUrl?: string;
|
|
486
|
+
workerUrl?: string;
|
|
487
|
+
manifestUrl?: string;
|
|
488
|
+
}
|
|
489
|
+
export interface SqliteRuntimeAssetConfig {
|
|
490
|
+
moduleUrl?: string;
|
|
491
|
+
wasmUrl?: string;
|
|
40
492
|
}
|
|
41
|
-
export interface
|
|
42
|
-
|
|
493
|
+
export interface AssemblyScriptRuntimeAssetConfig {
|
|
494
|
+
moduleUrl?: string;
|
|
495
|
+
}
|
|
496
|
+
export interface DuckDbRuntimeAssetConfig {
|
|
497
|
+
moduleUrl?: string;
|
|
498
|
+
}
|
|
499
|
+
export interface PhpRuntimeAssetConfig {
|
|
500
|
+
moduleUrl?: string;
|
|
501
|
+
}
|
|
502
|
+
export interface PlaygroundRuntimeAssets extends RuntimeAssetKeySource {
|
|
43
503
|
python?: RuntimeAssetConfig;
|
|
44
504
|
java?: RuntimeAssetConfig;
|
|
45
505
|
clang?: RuntimeAssetConfig;
|
|
46
506
|
clangd?: RuntimeAssetConfig;
|
|
507
|
+
debug?: DebugRuntimeAssetConfig;
|
|
47
508
|
rust?: RustRuntimeAssetConfig;
|
|
48
509
|
go?: GoRuntimeAssetConfig;
|
|
510
|
+
d?: DRuntimeAssetConfig;
|
|
511
|
+
dotnet?: DotnetRuntimeAssetConfig;
|
|
49
512
|
ocaml?: OcamlRuntimeAssetConfig;
|
|
50
513
|
tinygo?: TinyGoRuntimeAssetConfig;
|
|
51
514
|
elixir?: ElixirRuntimeAssetConfig;
|
|
515
|
+
erlang?: ErlangRuntimeAssetConfig;
|
|
516
|
+
typescript?: TypeScriptRuntimeAssetConfig;
|
|
517
|
+
wat?: WatRuntimeAssetConfig;
|
|
518
|
+
lua?: LuaRuntimeAssetConfig;
|
|
519
|
+
haskell?: HaskellRuntimeAssetConfig;
|
|
520
|
+
fortran?: FortranRuntimeAssetConfig;
|
|
521
|
+
cobol?: CobolRuntimeAssetConfig;
|
|
522
|
+
objectivec?: ObjectiveCRuntimeAssetConfig;
|
|
523
|
+
zig?: ZigRuntimeAssetConfig;
|
|
524
|
+
lisp?: LispRuntimeAssetConfig;
|
|
525
|
+
ruby?: RubyRuntimeAssetConfig;
|
|
526
|
+
r?: RRuntimeAssetConfig;
|
|
527
|
+
octave?: OctaveRuntimeAssetConfig;
|
|
528
|
+
prolog?: PrologRuntimeAssetConfig;
|
|
529
|
+
gleam?: GleamRuntimeAssetConfig;
|
|
530
|
+
perl?: PerlRuntimeAssetConfig;
|
|
531
|
+
tcl?: TclRuntimeAssetConfig;
|
|
532
|
+
awk?: AwkRuntimeAssetConfig;
|
|
533
|
+
pascal?: PascalRuntimeAssetConfig;
|
|
534
|
+
forth?: ForthRuntimeAssetConfig;
|
|
535
|
+
j?: JRuntimeAssetConfig;
|
|
536
|
+
bqn?: BqnRuntimeAssetConfig;
|
|
537
|
+
janet?: JanetRuntimeAssetConfig;
|
|
538
|
+
julia?: JuliaRuntimeAssetConfig;
|
|
539
|
+
c3?: {
|
|
540
|
+
baseUrl?: string;
|
|
541
|
+
};
|
|
542
|
+
nim?: NimRuntimeAssetConfig;
|
|
543
|
+
bash?: BashRuntimeAssetConfig;
|
|
544
|
+
clojurescript?: ClojureScriptRuntimeAssetConfig;
|
|
545
|
+
swift?: SwiftRuntimeAssetConfig;
|
|
546
|
+
assemblyscript?: AssemblyScriptRuntimeAssetConfig;
|
|
547
|
+
duckdb?: DuckDbRuntimeAssetConfig;
|
|
548
|
+
sqlite?: SqliteRuntimeAssetConfig;
|
|
549
|
+
php?: PhpRuntimeAssetConfig;
|
|
52
550
|
}
|
|
53
551
|
export interface TinyGoRuntimeAssetLoaderRequest {
|
|
54
552
|
assetPath: string;
|
|
55
553
|
assetUrl: string;
|
|
56
554
|
label: string;
|
|
57
555
|
}
|
|
58
|
-
export interface TinyGoRuntimeAssetPackReference {
|
|
59
|
-
index: string;
|
|
60
|
-
asset: string;
|
|
61
|
-
fileCount: number;
|
|
62
|
-
totalBytes: number;
|
|
63
|
-
}
|
|
64
556
|
export type TinyGoRuntimeAssetLoaderResult = RuntimeAssetDataResult | RuntimeAssetUrlResult | string | URL | ArrayBuffer | Uint8Array | Blob | null | undefined;
|
|
65
557
|
export type TinyGoRuntimeAssetLoader = (request: TinyGoRuntimeAssetLoaderRequest) => TinyGoRuntimeAssetLoaderResult | Promise<TinyGoRuntimeAssetLoaderResult>;
|
|
66
558
|
export interface ResolvedRuntimeAssetConfig {
|
|
67
559
|
baseUrl: string;
|
|
68
560
|
loader?: RuntimeAssetLoader;
|
|
561
|
+
integrity?: RuntimeAssetIntegrityMap;
|
|
562
|
+
allowedBaseUrls?: string[];
|
|
69
563
|
useAssetBridge: boolean;
|
|
70
564
|
}
|
|
71
|
-
export
|
|
565
|
+
export interface ResolvedFortranRuntimeAssetConfig {
|
|
566
|
+
baseUrl: string;
|
|
567
|
+
f2cWasmUrl: string;
|
|
568
|
+
libf2cUrl: string;
|
|
569
|
+
f2cHeaderUrl: string;
|
|
570
|
+
analyzerUrl: string;
|
|
571
|
+
integrity: FortranExecutionAssetReceipts;
|
|
572
|
+
}
|
|
573
|
+
export interface ResolvedDRuntimeAssetConfig {
|
|
574
|
+
moduleUrl: string;
|
|
575
|
+
manifestUrl: string;
|
|
576
|
+
integrity: DOuterAssetReceipts;
|
|
577
|
+
}
|
|
578
|
+
export interface ResolvedObjectiveCRuntimeAssetConfig {
|
|
579
|
+
baseUrl: string;
|
|
580
|
+
libobjcUrl: string;
|
|
581
|
+
headersUrl: string;
|
|
582
|
+
libgnustepBaseUrl: string;
|
|
583
|
+
libgnustepBaseObjectUrl: string;
|
|
584
|
+
foundationHeadersUrl: string;
|
|
585
|
+
libffiUrl: string;
|
|
586
|
+
integrity: ObjectiveCAssetIntegrityMap;
|
|
587
|
+
}
|
|
588
|
+
export interface ResolvedZigRuntimeAssetConfig {
|
|
589
|
+
compilerUrl: string;
|
|
590
|
+
stdlibUrl: string;
|
|
591
|
+
integrity: ZigExecutionAssetReceipts;
|
|
592
|
+
}
|
|
593
|
+
export declare const PYTHON_RUNTIME_LOAD_ASSETS: readonly ["pyodide.mjs", "pyodide.asm.js", "pyodide-lock.json", "pyodide.asm.wasm", "python_stdlib.zip"];
|
|
72
594
|
export declare const JAVA_RUNTIME_LOAD_ASSETS: readonly ["compiler.wasm-runtime.js", "compiler.wasm", "compile-classlib-teavm.bin", "runtime-classlib-teavm.bin"];
|
|
73
|
-
export declare const CLANG_RUNTIME_LOAD_ASSETS: readonly ["bin/memfs.
|
|
595
|
+
export declare const CLANG_RUNTIME_LOAD_ASSETS: readonly ["runtime-manifest.v1.json", "bin/memfs.wasm.gz", "bin/clang.wasm.gz", "bin/lld.wasm.gz", "bin/sysroot.tar.gz"];
|
|
74
596
|
export declare const CLANGD_RUNTIME_LOAD_ASSETS: readonly ["clangd.js", "clangd.wasm.gz"];
|
|
597
|
+
export declare const RUNTIME_LOAD_ASSETS: {
|
|
598
|
+
python: readonly ["pyodide.mjs", "pyodide.asm.js", "pyodide-lock.json", "pyodide.asm.wasm", "python_stdlib.zip"];
|
|
599
|
+
java: readonly ["compiler.wasm-runtime.js", "compiler.wasm", "compile-classlib-teavm.bin", "runtime-classlib-teavm.bin"];
|
|
600
|
+
clang: readonly ["runtime-manifest.v1.json", "bin/memfs.wasm.gz", "bin/clang.wasm.gz", "bin/lld.wasm.gz", "bin/sysroot.tar.gz"];
|
|
601
|
+
clangd: readonly ["clangd.js", "clangd.wasm.gz"];
|
|
602
|
+
};
|
|
75
603
|
export declare function resolveRuntimeAssetConfig(runtime: RuntimeAssetRuntime, options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): ResolvedRuntimeAssetConfig;
|
|
76
|
-
export declare function resolveRustCompilerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string):
|
|
77
|
-
export declare function
|
|
78
|
-
|
|
79
|
-
|
|
604
|
+
export declare function resolveRustCompilerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
605
|
+
export declare function resolveDebugRuntimeUrls(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
606
|
+
baseUrl: string;
|
|
607
|
+
manifestUrl: string;
|
|
608
|
+
manifestReceipt: Readonly<{
|
|
609
|
+
sha256: string;
|
|
610
|
+
}> | undefined;
|
|
611
|
+
};
|
|
612
|
+
export declare function resolveRustDebugModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
613
|
+
export declare function resolveGoCompilerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
614
|
+
export declare function resolveDModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
615
|
+
export declare function resolveDRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): ResolvedDRuntimeAssetConfig;
|
|
616
|
+
export declare function resolveDotnetModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
617
|
+
export declare function resolveOcamlModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
618
|
+
export declare function resolveOcamlManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
80
619
|
export declare function resolveTinyGoAppUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
81
620
|
export declare function resolveTinyGoModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
82
|
-
export declare function resolveTinyGoHostCompileUrls(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string[];
|
|
83
|
-
export declare function resolveTinyGoHostCompileUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
84
621
|
export declare function resolveElixirBundleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
622
|
+
export declare function resolveErlangBundleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
623
|
+
export declare function resolveTypeScriptModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
624
|
+
export declare function resolveWatModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
625
|
+
export declare function resolveLuaModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
626
|
+
export declare function resolveZigCompilerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
627
|
+
export declare function resolveHaskellModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
628
|
+
export declare function resolveHaskellRootfsUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
629
|
+
export declare function resolveHaskellBsdtarUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
630
|
+
export declare function resolveFortranBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
631
|
+
export declare function resolveFortranF2cWasmUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
632
|
+
export declare function resolveFortranLibf2cUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
633
|
+
export declare function resolveFortranF2cHeaderUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
634
|
+
export declare function resolveFortranAnalyzerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
635
|
+
export declare function resolveFortranRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): ResolvedFortranRuntimeAssetConfig;
|
|
636
|
+
export declare function resolveCobolBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
637
|
+
export declare function resolveObjectiveCBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
638
|
+
export declare function resolveObjectiveCLibobjcUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
639
|
+
export declare function resolveObjectiveCHeadersUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
640
|
+
export declare function resolveObjectiveCLibgnustepBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
641
|
+
export declare function resolveObjectiveCLibgnustepBaseObjectUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
642
|
+
export declare function resolveObjectiveCFoundationHeadersUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
643
|
+
export declare function resolveObjectiveCLibffiUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
644
|
+
export declare function resolveObjectiveCRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): ResolvedObjectiveCRuntimeAssetConfig;
|
|
645
|
+
export declare function resolveZigStdlibUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
646
|
+
export declare function resolveZigRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): ResolvedZigRuntimeAssetConfig;
|
|
647
|
+
export declare function resolveLispModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
648
|
+
export declare function resolveLispRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): ResolvedLispRuntimeAssetConfig;
|
|
649
|
+
export declare function resolveRubyBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
650
|
+
export declare function resolveRubyRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): ResolvedRubyRuntimeAssetConfig;
|
|
651
|
+
export declare function resolveRubyWasmUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
652
|
+
export declare function resolveRBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
653
|
+
export declare function resolveOctaveBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
654
|
+
export declare function resolveOctaveWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
655
|
+
export declare function resolveOctaveManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
656
|
+
export declare function resolveOctaveRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
657
|
+
baseUrl: string;
|
|
658
|
+
workerUrl: string;
|
|
659
|
+
manifestUrl: string;
|
|
660
|
+
};
|
|
661
|
+
export declare function resolvePrologBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
662
|
+
export declare function resolvePrologWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
663
|
+
export declare function resolvePrologManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
664
|
+
export declare function resolvePrologRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
665
|
+
baseUrl: string;
|
|
666
|
+
workerUrl: string;
|
|
667
|
+
manifestUrl: string;
|
|
668
|
+
manifestFingerprint: string;
|
|
669
|
+
preflightKey: string;
|
|
670
|
+
preflightProfile: Readonly<Required<import("@wasm-idle/core").PrologRuntimePreflightProfile>>;
|
|
671
|
+
workerReceipt: Readonly<{
|
|
672
|
+
bytes: number;
|
|
673
|
+
sha256: string;
|
|
674
|
+
}>;
|
|
675
|
+
};
|
|
676
|
+
export declare function resolveGleamBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
677
|
+
export declare function resolveGleamWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
678
|
+
export declare function resolveGleamManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
679
|
+
export declare function resolveGleamRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
680
|
+
baseUrl: string;
|
|
681
|
+
workerUrl: string;
|
|
682
|
+
manifestUrl: string;
|
|
683
|
+
manifestFingerprint: string | undefined;
|
|
684
|
+
workerReceipt: Readonly<{
|
|
685
|
+
bytes: number;
|
|
686
|
+
sha256: string;
|
|
687
|
+
}> | undefined;
|
|
688
|
+
};
|
|
689
|
+
export declare function resolvePerlBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
690
|
+
export declare function resolvePerlWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
691
|
+
export declare function resolvePerlManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
692
|
+
export declare function resolvePerlRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
693
|
+
baseUrl: string;
|
|
694
|
+
workerUrl: string;
|
|
695
|
+
manifestUrl: string;
|
|
696
|
+
manifestFingerprint: string;
|
|
697
|
+
preflightKey: string;
|
|
698
|
+
preflightProfile: Readonly<Required<import("@wasm-idle/core").PerlRuntimePreflightProfile>>;
|
|
699
|
+
workerReceipt: Readonly<{
|
|
700
|
+
bytes: number;
|
|
701
|
+
sha256: string;
|
|
702
|
+
}>;
|
|
703
|
+
};
|
|
704
|
+
export declare function resolveTclBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
705
|
+
export declare function resolveTclWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
706
|
+
export declare function resolveTclManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
707
|
+
export declare function resolveTclRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
708
|
+
baseUrl: string;
|
|
709
|
+
workerUrl: string;
|
|
710
|
+
manifestUrl: string;
|
|
711
|
+
manifestFingerprint: string;
|
|
712
|
+
preflightKey: string;
|
|
713
|
+
preflightProfile: Readonly<Required<import("@wasm-idle/core").TclRuntimePreflightProfile>>;
|
|
714
|
+
workerReceipt: Readonly<{
|
|
715
|
+
bytes: number;
|
|
716
|
+
sha256: string;
|
|
717
|
+
}>;
|
|
718
|
+
};
|
|
719
|
+
export declare function resolveAwkBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
720
|
+
export declare function resolveAwkWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
721
|
+
export declare function resolveAwkRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
722
|
+
baseUrl: string;
|
|
723
|
+
workerUrl: string;
|
|
724
|
+
manifestUrl: string;
|
|
725
|
+
manifestFingerprint: string;
|
|
726
|
+
preflightKey: string;
|
|
727
|
+
preflightProfile: Readonly<AwkRuntimePreflightProfile>;
|
|
728
|
+
workerReceipt: import("@wasm-idle/core").AwkRuntimeIdentityReceipt;
|
|
729
|
+
};
|
|
730
|
+
export declare function resolvePascalBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
731
|
+
export declare function resolvePascalWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
732
|
+
export declare function resolvePascalRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
733
|
+
baseUrl: string;
|
|
734
|
+
workerUrl: string;
|
|
735
|
+
manifestUrl: string;
|
|
736
|
+
compilerJavaScriptUrl: string;
|
|
737
|
+
rtlJavaScriptUrl: string;
|
|
738
|
+
systemPascalUrl: string;
|
|
739
|
+
manifestFingerprint: string;
|
|
740
|
+
preflightKey: string;
|
|
741
|
+
preflightProfile: Readonly<Required<import("@wasm-idle/core").PascalRuntimePreflightProfile>>;
|
|
742
|
+
workerReceipt: Readonly<{
|
|
743
|
+
bytes: number;
|
|
744
|
+
sha256: string;
|
|
745
|
+
}>;
|
|
746
|
+
};
|
|
747
|
+
export declare function resolveClojureScriptBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
748
|
+
export declare function resolveClojureScriptWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
749
|
+
export declare function resolveClojureScriptManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
750
|
+
export declare function resolveClojureScriptRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
751
|
+
baseUrl: string;
|
|
752
|
+
workerUrl: string;
|
|
753
|
+
manifestUrl: string;
|
|
754
|
+
manifestFingerprint: string;
|
|
755
|
+
preflightKey: string;
|
|
756
|
+
preflightProfile: ClojureScriptRuntimePreflightProfile;
|
|
757
|
+
workerReceipt: Readonly<{
|
|
758
|
+
bytes: number;
|
|
759
|
+
sha256: string;
|
|
760
|
+
}>;
|
|
761
|
+
};
|
|
762
|
+
export declare function resolveForthBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
763
|
+
export declare function resolveForthWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
764
|
+
export declare function resolveForthManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
765
|
+
export declare function resolveForthRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
766
|
+
baseUrl: string;
|
|
767
|
+
workerUrl: string;
|
|
768
|
+
manifestUrl: string;
|
|
769
|
+
manifestFingerprint: string;
|
|
770
|
+
preflightKey: string;
|
|
771
|
+
preflightProfile: ForthRuntimePreflightProfile;
|
|
772
|
+
workerReceipt: Readonly<{
|
|
773
|
+
bytes: number;
|
|
774
|
+
sha256: string;
|
|
775
|
+
}>;
|
|
776
|
+
};
|
|
777
|
+
export declare function resolveJBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
778
|
+
export declare function resolveJWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
779
|
+
export declare function resolveJManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
780
|
+
export declare function resolveJRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
781
|
+
baseUrl: string;
|
|
782
|
+
workerUrl: string;
|
|
783
|
+
manifestUrl: string;
|
|
784
|
+
manifestFingerprint: string;
|
|
785
|
+
preflightKey: string;
|
|
786
|
+
preflightProfile: JRuntimePreflightProfile;
|
|
787
|
+
workerReceipt: Readonly<{
|
|
788
|
+
bytes: number;
|
|
789
|
+
sha256: string;
|
|
790
|
+
}>;
|
|
791
|
+
};
|
|
792
|
+
export declare function resolveBqnBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
793
|
+
export declare function resolveBqnWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
794
|
+
export declare function resolveBqnManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
795
|
+
export declare function resolveBqnRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
796
|
+
baseUrl: string;
|
|
797
|
+
workerUrl: string;
|
|
798
|
+
manifestUrl: string;
|
|
799
|
+
manifestFingerprint: string;
|
|
800
|
+
preflightKey: string;
|
|
801
|
+
preflightProfile: BqnRuntimePreflightProfile;
|
|
802
|
+
workerReceipt: Readonly<{
|
|
803
|
+
bytes: number;
|
|
804
|
+
sha256: string;
|
|
805
|
+
}>;
|
|
806
|
+
};
|
|
807
|
+
export declare function resolveJanetBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
808
|
+
export declare function resolveJanetWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
809
|
+
export declare function resolveJanetManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
810
|
+
export declare function resolveJanetRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
811
|
+
baseUrl: string;
|
|
812
|
+
workerUrl: string;
|
|
813
|
+
manifestUrl: string;
|
|
814
|
+
manifestFingerprint: string;
|
|
815
|
+
preflightKey: string;
|
|
816
|
+
preflightProfile: Readonly<Required<import("@wasm-idle/core").JanetRuntimePreflightProfile>>;
|
|
817
|
+
workerReceipt: Readonly<{
|
|
818
|
+
bytes: number;
|
|
819
|
+
sha256: string;
|
|
820
|
+
}>;
|
|
821
|
+
};
|
|
822
|
+
export declare function resolveJuliaBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
823
|
+
export declare function resolveJuliaWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
824
|
+
export declare function resolveJuliaRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
825
|
+
baseUrl: string;
|
|
826
|
+
workerUrl: string;
|
|
827
|
+
manifestUrl: string;
|
|
828
|
+
manifestFingerprint: string;
|
|
829
|
+
preflightKey: string;
|
|
830
|
+
preflightProfile: Readonly<import("@wasm-idle/core").JuliaRuntimePreflightProfile>;
|
|
831
|
+
workerReceipt: Readonly<{
|
|
832
|
+
bytes: number;
|
|
833
|
+
sha256: string;
|
|
834
|
+
}>;
|
|
835
|
+
};
|
|
836
|
+
export declare function resolveJuliaManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
837
|
+
export declare function resolveNimBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
838
|
+
export declare function resolveNimWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
839
|
+
export declare function resolveNimRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
840
|
+
baseUrl: string;
|
|
841
|
+
workerUrl: string;
|
|
842
|
+
manifestUrl: string;
|
|
843
|
+
manifestFingerprint: string;
|
|
844
|
+
preflightKey: string;
|
|
845
|
+
preflightProfile: import("@wasm-idle/core").NimRuntimePreflightProfile;
|
|
846
|
+
workerReceipt: Readonly<{
|
|
847
|
+
bytes: number;
|
|
848
|
+
sha256: string;
|
|
849
|
+
}>;
|
|
850
|
+
};
|
|
851
|
+
export declare function resolveNimManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
852
|
+
export declare function resolveBashBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
853
|
+
export declare function resolveBashRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
854
|
+
baseUrl: string;
|
|
855
|
+
manifestUrl: string;
|
|
856
|
+
moduleUrl: string;
|
|
857
|
+
wasmerWasmUrl: string;
|
|
858
|
+
webcUrl: string;
|
|
859
|
+
manifestFingerprint: string;
|
|
860
|
+
preflightKey: string;
|
|
861
|
+
preflightProfile: Readonly<Required<import("@wasm-idle/core").BashRuntimePreflightProfile>>;
|
|
862
|
+
};
|
|
863
|
+
export declare function resolveSwiftBaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
864
|
+
export declare function resolveSwiftWorkerUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
865
|
+
export declare function resolveSwiftManifestUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
866
|
+
export declare function resolveSwiftRuntimeAssetConfig(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): {
|
|
867
|
+
baseUrl: string;
|
|
868
|
+
workerUrl: string;
|
|
869
|
+
manifestUrl: string;
|
|
870
|
+
};
|
|
871
|
+
export declare function resolveSqliteWasmUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
872
|
+
export declare function resolveAssemblyScriptRuntimeModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
873
|
+
export declare function resolveDuckDbRuntimeModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
874
|
+
export declare function resolvePhpRuntimeModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
875
|
+
export declare function resolveRubyRuntimeModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
876
|
+
export declare function resolveSqliteRuntimeModuleUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|
|
877
|
+
/** C3 uses one code-pinned compiler/worker receipt, served from this base URL. */
|
|
878
|
+
export declare function resolveC3BaseUrl(options: string | PlaygroundRuntimeAssets | undefined, currentUrl?: string): string;
|