Skip to content

Commit

Permalink
Deploying to gh-pages from @ 1c9eacd 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
nin-jin committed Dec 17, 2024
1 parent a6fa009 commit 3400cf6
Show file tree
Hide file tree
Showing 16 changed files with 343 additions and 185 deletions.
22 changes: 12 additions & 10 deletions node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ declare namespace $ {
declare namespace $ {
interface $mol_wire_sub extends $mol_wire_pub {
temp: boolean;
pub_list: $mol_wire_pub[];
track_on(): $mol_wire_sub | null;
track_next(pub?: $mol_wire_pub): $mol_wire_pub | null;
pub_off(pub_pos: number): void;
Expand All @@ -147,8 +148,8 @@ declare namespace $ {
hasBody: (val: any, config: any) => boolean;
body: (val: any, config: any) => any;
}): void;
let $mol_dev_format_head: symbol;
let $mol_dev_format_body: symbol;
const $mol_dev_format_head: unique symbol;
const $mol_dev_format_body: unique symbol;
function $mol_dev_format_native(obj: any): any[];
function $mol_dev_format_auto(obj: any): any[];
function $mol_dev_format_element(element: string, style: object, ...content: any[]): any[];
Expand All @@ -168,7 +169,6 @@ declare namespace $ {

declare namespace $ {
class $mol_wire_pub_sub extends $mol_wire_pub implements $mol_wire_sub {
[x: symbol]: () => any[];
protected pub_from: number;
protected cursor: $mol_wire_cursor;
get temp(): boolean;
Expand All @@ -183,6 +183,7 @@ declare namespace $ {
complete(): void;
complete_pubs(): void;
absorb(quant?: $mol_wire_cursor): void;
[$mol_dev_format_head](): any[];
get pub_empty(): boolean;
}
}
Expand All @@ -203,7 +204,6 @@ declare namespace $ {

declare namespace $ {
abstract class $mol_wire_fiber<Host, Args extends readonly unknown[], Result> extends $mol_wire_pub_sub {
[x: symbol]: string | (() => any[]);
readonly task: (this: Host, ...args: Args) => Result;
readonly host?: Host | undefined;
static warm: boolean;
Expand All @@ -223,6 +223,7 @@ declare namespace $ {
reap(): void;
toString(): string;
toJSON(): string;
[$mol_dev_format_head](): any[];
get $(): any;
emit(quant?: $mol_wire_cursor): void;
fresh(): this | undefined;
Expand All @@ -234,6 +235,7 @@ declare namespace $ {
destructor(): void;
};
step(): Promise<null>;
destructor(): void;
}
}

Expand Down Expand Up @@ -921,7 +923,6 @@ declare namespace $ {
function $mol_view_visible_height(): number;
function $mol_view_state_key(suffix: string): string;
class $mol_view extends $mol_object {
[x: symbol]: () => any[];
static Root<This extends typeof $mol_view>(this: This, id: number): InstanceType<This>;
autorun(): void;
static autobind(): void;
Expand Down Expand Up @@ -978,6 +979,7 @@ declare namespace $ {
[x: string]: (event: Event) => Promise<void>;
};
plugins(): readonly $mol_view[];
[$mol_dev_format_head](): any[];
view_find(check: (path: $mol_view, text?: string) => boolean, path?: $mol_view[]): Generator<$mol_view[]>;
force_render(path: Set<$mol_view>): void;
ensure_visible(view: $mol_view, align?: ScrollLogicalPosition): void;
Expand Down Expand Up @@ -1260,7 +1262,7 @@ declare namespace $ {
}

declare namespace $ {
function $mol_charset_encode(value: string): Uint8Array<ArrayBufferLike>;
function $mol_charset_encode(value: string): Uint8Array<ArrayBuffer>;
}

declare namespace $ {
Expand Down Expand Up @@ -1292,12 +1294,12 @@ declare namespace $ {
type(): "" | $mol_file_type;
name(): string;
ext(): string;
abstract buffer(next?: Uint8Array): Uint8Array;
abstract buffer(next?: Uint8Array<ArrayBuffer>): Uint8Array<ArrayBuffer>;
text(next?: string, virt?: 'virt'): string;
abstract sub(): $mol_file[];
abstract resolve(path: string): $mol_file;
abstract relate(base?: $mol_file): string;
abstract append(next: Uint8Array | string): void;
abstract append(next: Uint8Array<ArrayBuffer> | string): void;
find(include?: RegExp, exclude?: RegExp): $mol_file[];
size(): number;
open(...modes: readonly ('create' | 'exists_truncate' | 'exists_fail' | 'read_only' | 'write_only' | 'read_write' | 'append')[]): number;
Expand Down Expand Up @@ -1328,11 +1330,11 @@ declare namespace $ {
stat(next?: $mol_file_stat | null, virt?: 'virt'): $mol_file_stat | null;
ensure(): void;
drop(): void;
buffer(next?: Uint8Array): Uint8Array<ArrayBufferLike>;
buffer(next?: Uint8Array<ArrayBuffer>): Uint8Array<ArrayBuffer>;
sub(): $mol_file[];
resolve(path: string): $mol_file;
relate(base?: $mol_file): string;
append(next: Uint8Array | string): undefined;
append(next: Uint8Array<ArrayBuffer> | string): undefined;
open(...modes: readonly (keyof typeof $mol_file_mode_open)[]): number;
}
}
Expand Down
2 changes: 1 addition & 1 deletion node.d.ts.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion node.deps.json

Large diffs are not rendered by default.

88 changes: 55 additions & 33 deletions node.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 3400cf6

Please sign in to comment.