@milaboratories/pframes-rs-wasm 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ /** @module Interface milaboratories:pframes/spec **/
2
+
3
+ export class Axes {
4
+ /**
5
+ * This type does not have a public constructor.
6
+ */
7
+ private constructor();
8
+ static fromJson(specJson: string): Axes;
9
+ static collapse(idsJson: string): string;
10
+ expand(): string;
11
+ find(selectorJson: string): string;
12
+ }
13
+
14
+ export class Frame {
15
+ /**
16
+ * This type does not have a public constructor.
17
+ */
18
+ private constructor();
19
+ static fromJson(specJson: string): Frame;
20
+ static deleteColumns(requestJson: string): string;
21
+ findColumns(requestJson: string): string;
22
+ evaluateQuery(requestJson: string): string;
23
+ rewriteLegacyQuery(requestJson: string): string;
24
+ }
@@ -0,0 +1,2 @@
1
+ /** @module Interface wasi:cli/environment@0.2.6 **/
2
+ export function getEnvironment(): Array<[string, string]>;
@@ -0,0 +1,3 @@
1
+ /** @module Interface wasi:cli/exit@0.2.6 **/
2
+ export function exit(status: Result<void, void>): void;
3
+ export type Result<T, E> = { tag: 'ok', val: T } | { tag: 'err', val: E };
@@ -0,0 +1,3 @@
1
+ /** @module Interface wasi:cli/stderr@0.2.6 **/
2
+ export function getStderr(): OutputStream;
3
+ export type OutputStream = import('./wasi-io-streams.js').OutputStream;
@@ -0,0 +1,3 @@
1
+ /** @module Interface wasi:cli/stdin@0.2.6 **/
2
+ export function getStdin(): InputStream;
3
+ export type InputStream = import('./wasi-io-streams.js').InputStream;
@@ -0,0 +1,3 @@
1
+ /** @module Interface wasi:cli/stdout@0.2.6 **/
2
+ export function getStdout(): OutputStream;
3
+ export type OutputStream = import('./wasi-io-streams.js').OutputStream;
@@ -0,0 +1,8 @@
1
+ /** @module Interface wasi:cli/terminal-input@0.2.6 **/
2
+
3
+ export class TerminalInput {
4
+ /**
5
+ * This type does not have a public constructor.
6
+ */
7
+ private constructor();
8
+ }
@@ -0,0 +1,8 @@
1
+ /** @module Interface wasi:cli/terminal-output@0.2.6 **/
2
+
3
+ export class TerminalOutput {
4
+ /**
5
+ * This type does not have a public constructor.
6
+ */
7
+ private constructor();
8
+ }
@@ -0,0 +1,3 @@
1
+ /** @module Interface wasi:cli/terminal-stderr@0.2.6 **/
2
+ export function getTerminalStderr(): TerminalOutput | undefined;
3
+ export type TerminalOutput = import('./wasi-cli-terminal-output.js').TerminalOutput;
@@ -0,0 +1,3 @@
1
+ /** @module Interface wasi:cli/terminal-stdin@0.2.6 **/
2
+ export function getTerminalStdin(): TerminalInput | undefined;
3
+ export type TerminalInput = import('./wasi-cli-terminal-input.js').TerminalInput;
@@ -0,0 +1,3 @@
1
+ /** @module Interface wasi:cli/terminal-stdout@0.2.6 **/
2
+ export function getTerminalStdout(): TerminalOutput | undefined;
3
+ export type TerminalOutput = import('./wasi-cli-terminal-output.js').TerminalOutput;
@@ -0,0 +1,8 @@
1
+ /** @module Interface wasi:io/error@0.2.6 **/
2
+
3
+ export class Error {
4
+ /**
5
+ * This type does not have a public constructor.
6
+ */
7
+ private constructor();
8
+ }
@@ -0,0 +1,9 @@
1
+ /** @module Interface wasi:io/poll@0.2.6 **/
2
+
3
+ export class Pollable {
4
+ /**
5
+ * This type does not have a public constructor.
6
+ */
7
+ private constructor();
8
+ block(): void;
9
+ }
@@ -0,0 +1,29 @@
1
+ /** @module Interface wasi:io/streams@0.2.6 **/
2
+ export type Error = import('./wasi-io-error.js').Error;
3
+ export type StreamError = StreamErrorLastOperationFailed | StreamErrorClosed;
4
+ export interface StreamErrorLastOperationFailed {
5
+ tag: 'last-operation-failed',
6
+ val: Error,
7
+ }
8
+ export interface StreamErrorClosed {
9
+ tag: 'closed',
10
+ }
11
+ export type Pollable = import('./wasi-io-poll.js').Pollable;
12
+
13
+ export class InputStream {
14
+ /**
15
+ * This type does not have a public constructor.
16
+ */
17
+ private constructor();
18
+ }
19
+
20
+ export class OutputStream {
21
+ /**
22
+ * This type does not have a public constructor.
23
+ */
24
+ private constructor();
25
+ checkWrite(): bigint;
26
+ write(contents: Uint8Array): void;
27
+ blockingFlush(): void;
28
+ subscribe(): Pollable;
29
+ }
@@ -0,0 +1,2 @@
1
+ /** @module Interface wasi:random/insecure-seed@0.2.6 **/
2
+ export function insecureSeed(): [bigint, bigint];
@@ -0,0 +1,2 @@
1
+ /** @module Interface wasi:random/random@0.2.6 **/
2
+ export function getRandomU64(): bigint;
@@ -0,0 +1,17 @@
1
+ // world root:component/root
2
+ export type * as WasiCliEnvironment026 from './interfaces/wasi-cli-environment.js'; // import wasi:cli/environment@0.2.6
3
+ export type * as WasiCliExit026 from './interfaces/wasi-cli-exit.js'; // import wasi:cli/exit@0.2.6
4
+ export type * as WasiCliStderr026 from './interfaces/wasi-cli-stderr.js'; // import wasi:cli/stderr@0.2.6
5
+ export type * as WasiCliStdin026 from './interfaces/wasi-cli-stdin.js'; // import wasi:cli/stdin@0.2.6
6
+ export type * as WasiCliStdout026 from './interfaces/wasi-cli-stdout.js'; // import wasi:cli/stdout@0.2.6
7
+ export type * as WasiCliTerminalInput026 from './interfaces/wasi-cli-terminal-input.js'; // import wasi:cli/terminal-input@0.2.6
8
+ export type * as WasiCliTerminalOutput026 from './interfaces/wasi-cli-terminal-output.js'; // import wasi:cli/terminal-output@0.2.6
9
+ export type * as WasiCliTerminalStderr026 from './interfaces/wasi-cli-terminal-stderr.js'; // import wasi:cli/terminal-stderr@0.2.6
10
+ export type * as WasiCliTerminalStdin026 from './interfaces/wasi-cli-terminal-stdin.js'; // import wasi:cli/terminal-stdin@0.2.6
11
+ export type * as WasiCliTerminalStdout026 from './interfaces/wasi-cli-terminal-stdout.js'; // import wasi:cli/terminal-stdout@0.2.6
12
+ export type * as WasiIoError026 from './interfaces/wasi-io-error.js'; // import wasi:io/error@0.2.6
13
+ export type * as WasiIoPoll026 from './interfaces/wasi-io-poll.js'; // import wasi:io/poll@0.2.6
14
+ export type * as WasiIoStreams026 from './interfaces/wasi-io-streams.js'; // import wasi:io/streams@0.2.6
15
+ export type * as WasiRandomInsecureSeed026 from './interfaces/wasi-random-insecure-seed.js'; // import wasi:random/insecure-seed@0.2.6
16
+ export type * as WasiRandomRandom026 from './interfaces/wasi-random-random.js'; // import wasi:random/random@0.2.6
17
+ export * as spec from './interfaces/milaboratories-pframes-spec.js'; // export milaboratories:pframes/spec