@soundscript/cli-darwin-x64 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/soundscript +0 -0
- package/package.json +5 -4
- package/src/bundled/portable-web-globals.d.ts +153 -0
- package/src/bundled/sound-libs/lib.es2015.iterable.d.ts +49 -49
- package/src/bundled/sound-libs/lib.es2015.promise.d.ts +2 -2
- package/src/bundled/sound-libs/lib.es2016.array.include.d.ts +8 -8
- package/src/bundled/sound-libs/lib.es2020.bigint.d.ts +60 -60
- package/src/bundled/sound-libs/lib.es2022.array.d.ts +10 -10
- package/src/bundled/sound-libs/lib.es2023.array.d.ts +70 -70
- package/src/bundled/sound-libs/lib.es5.d.ts +210 -210
- package/src/stdlib/async.d.ts +3 -3
- package/src/stdlib/codec.d.ts +3 -2
- package/src/stdlib/decode.d.ts +6 -4
- package/src/stdlib/encode.d.ts +11 -9
- package/src/stdlib/fetch.d.ts +67 -0
- package/src/stdlib/json.d.ts +29 -2
- package/src/stdlib/numerics.d.ts +521 -43
- package/src/stdlib/random.d.ts +19 -0
- package/src/stdlib/result.d.ts +21 -5
- package/src/stdlib/text.d.ts +24 -0
- package/src/stdlib/typeclasses.d.ts +2 -2
- package/src/stdlib/url.d.ts +37 -0
- package/src/stdlib/value.d.ts +9 -0
- package/src/stdlib/component.d.ts +0 -40
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare class URLSearchParams {
|
|
2
|
+
constructor(
|
|
3
|
+
init?:
|
|
4
|
+
| Iterable<readonly [string, string]>
|
|
5
|
+
| Record<string, string>
|
|
6
|
+
| string
|
|
7
|
+
| URLSearchParams,
|
|
8
|
+
);
|
|
9
|
+
append(name: string, value: string): void;
|
|
10
|
+
delete(name: string): void;
|
|
11
|
+
entries(): IterableIterator<[string, string]>;
|
|
12
|
+
get(name: string): string | null;
|
|
13
|
+
has(name: string): boolean;
|
|
14
|
+
keys(): IterableIterator<string>;
|
|
15
|
+
set(name: string, value: string): void;
|
|
16
|
+
toString(): string;
|
|
17
|
+
values(): IterableIterator<string>;
|
|
18
|
+
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export declare class URL {
|
|
22
|
+
constructor(url: string, base?: string | URL);
|
|
23
|
+
hash: string;
|
|
24
|
+
host: string;
|
|
25
|
+
hostname: string;
|
|
26
|
+
href: string;
|
|
27
|
+
readonly origin: string;
|
|
28
|
+
password: string;
|
|
29
|
+
pathname: string;
|
|
30
|
+
port: string;
|
|
31
|
+
protocol: string;
|
|
32
|
+
search: string;
|
|
33
|
+
readonly searchParams: URLSearchParams;
|
|
34
|
+
username: string;
|
|
35
|
+
toJSON(): string;
|
|
36
|
+
toString(): string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function __valueShallowToken(value: unknown): string;
|
|
2
|
+
export function __valueDeepToken(value: unknown): string;
|
|
3
|
+
export function __valueKey(...tokens: readonly string[]): string;
|
|
4
|
+
export function __valueReadonly(target: object, key: PropertyKey, value: unknown): void;
|
|
5
|
+
export function __valueFactory<T extends object, TArgs extends readonly unknown[]>(
|
|
6
|
+
keyOf: (...args: TArgs) => string,
|
|
7
|
+
allocate: () => T,
|
|
8
|
+
init: (instance: T, ...args: TArgs) => void,
|
|
9
|
+
): (...args: TArgs) => T;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export interface ComponentContextKey<T> {
|
|
2
|
-
readonly __ss_component_context_key: symbol;
|
|
3
|
-
readonly __ss_component_context_type__?: (_value: T) => T;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
export interface ComponentEvent<Detail = unknown, Target = unknown> {
|
|
7
|
-
readonly currentTarget: Target;
|
|
8
|
-
readonly detail: Detail;
|
|
9
|
-
readonly target: Target;
|
|
10
|
-
readonly type: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export function state<T>(value: T): T;
|
|
14
|
-
export function awaited<T, PendingResult, FulfilledResult, RejectedResult = never>(
|
|
15
|
-
promise: PromiseLike<T>,
|
|
16
|
-
pending: PendingResult | (() => PendingResult),
|
|
17
|
-
fulfilled: (value: T) => FulfilledResult,
|
|
18
|
-
rejected?: (error: unknown) => RejectedResult,
|
|
19
|
-
): PendingResult | FulfilledResult | RejectedResult;
|
|
20
|
-
export function boundary<RenderResult, FallbackResult>(
|
|
21
|
-
render: () => RenderResult,
|
|
22
|
-
fallback: (error: unknown) => FallbackResult,
|
|
23
|
-
): RenderResult | FallbackResult;
|
|
24
|
-
export function context<T>(): ComponentContextKey<T>;
|
|
25
|
-
export function dispatch<T = undefined>(type: string, detail?: T): void;
|
|
26
|
-
export function derived<T>(compute: () => T): T;
|
|
27
|
-
export function effect<T>(callback: () => T): T;
|
|
28
|
-
export function onMount<T>(callback: () => T): T;
|
|
29
|
-
export function prop<T = never>(): T;
|
|
30
|
-
export function prop<T>(value: T): T;
|
|
31
|
-
export function provide<T, R>(context: ComponentContextKey<T>, value: T, content: R): R;
|
|
32
|
-
export function provide<T, R>(
|
|
33
|
-
context: ComponentContextKey<T>,
|
|
34
|
-
value: T,
|
|
35
|
-
content: () => R,
|
|
36
|
-
): R;
|
|
37
|
-
export function useContext<T>(value: ComponentContextKey<T>): T;
|
|
38
|
-
export function useStore<T>(value: T): T;
|
|
39
|
-
export function component<T>(value: T): T;
|
|
40
|
-
export function store<T>(value: T): T;
|