Skip to content

Commit dd32b96

Browse files
committed
Deployed using Blazing fast GitHub Pages deploy
1 parent df97957 commit dd32b96

17 files changed

+363
-237
lines changed

node.d.ts

+33-31
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ declare namespace $ {
122122
declare namespace $ {
123123
interface $mol_wire_sub extends $mol_wire_pub {
124124
temp: boolean;
125+
pub_list: $mol_wire_pub[];
125126
track_on(): $mol_wire_sub | null;
126127
track_next(pub?: $mol_wire_pub): $mol_wire_pub | null;
127128
pub_off(pub_pos: number): void;
@@ -147,8 +148,8 @@ declare namespace $ {
147148
hasBody: (val: any, config: any) => boolean;
148149
body: (val: any, config: any) => any;
149150
}): void;
150-
let $mol_dev_format_head: symbol;
151-
let $mol_dev_format_body: symbol;
151+
const $mol_dev_format_head: unique symbol;
152+
const $mol_dev_format_body: unique symbol;
152153
function $mol_dev_format_native(obj: any): any[];
153154
function $mol_dev_format_auto(obj: any): any[];
154155
function $mol_dev_format_element(element: string, style: object, ...content: any[]): any[];
@@ -168,7 +169,6 @@ declare namespace $ {
168169

169170
declare namespace $ {
170171
class $mol_wire_pub_sub extends $mol_wire_pub implements $mol_wire_sub {
171-
[x: symbol]: () => any[];
172172
protected pub_from: number;
173173
protected cursor: $mol_wire_cursor;
174174
get temp(): boolean;
@@ -183,6 +183,7 @@ declare namespace $ {
183183
complete(): void;
184184
complete_pubs(): void;
185185
absorb(quant?: $mol_wire_cursor): void;
186+
[$mol_dev_format_head](): any[];
186187
get pub_empty(): boolean;
187188
}
188189
}
@@ -203,7 +204,6 @@ declare namespace $ {
203204

204205
declare namespace $ {
205206
abstract class $mol_wire_fiber<Host, Args extends readonly unknown[], Result> extends $mol_wire_pub_sub {
206-
[x: symbol]: string | (() => any[]);
207207
readonly task: (this: Host, ...args: Args) => Result;
208208
readonly host?: Host | undefined;
209209
static warm: boolean;
@@ -223,6 +223,7 @@ declare namespace $ {
223223
reap(): void;
224224
toString(): string;
225225
toJSON(): string;
226+
[$mol_dev_format_head](): any[];
226227
get $(): any;
227228
emit(quant?: $mol_wire_cursor): void;
228229
fresh(): this | undefined;
@@ -234,6 +235,7 @@ declare namespace $ {
234235
destructor(): void;
235236
};
236237
step(): Promise<null>;
238+
destructor(): void;
237239
}
238240
}
239241

@@ -921,7 +923,6 @@ declare namespace $ {
921923
function $mol_view_visible_height(): number;
922924
function $mol_view_state_key(suffix: string): string;
923925
class $mol_view extends $mol_object {
924-
[x: symbol]: () => any[];
925926
static Root<This extends typeof $mol_view>(this: This, id: number): InstanceType<This>;
926927
autorun(): void;
927928
static autobind(): void;
@@ -978,6 +979,7 @@ declare namespace $ {
978979
[x: string]: (event: Event) => Promise<void>;
979980
};
980981
plugins(): readonly $mol_view[];
982+
[$mol_dev_format_head](): any[];
981983
view_find(check: (path: $mol_view, text?: string) => boolean, path?: $mol_view[]): Generator<$mol_view[]>;
982984
force_render(path: Set<$mol_view>): void;
983985
ensure_visible(view: $mol_view, align?: ScrollLogicalPosition): void;
@@ -1073,7 +1075,7 @@ declare namespace $ {
10731075
}
10741076

10751077
declare namespace $ {
1076-
function $mol_charset_encode(value: string): Uint8Array<ArrayBufferLike>;
1078+
function $mol_charset_encode(value: string): Uint8Array<ArrayBuffer>;
10771079
}
10781080

10791081
declare namespace $ {
@@ -1105,12 +1107,12 @@ declare namespace $ {
11051107
type(): "" | $mol_file_type;
11061108
name(): string;
11071109
ext(): string;
1108-
abstract buffer(next?: Uint8Array): Uint8Array;
1110+
abstract buffer(next?: Uint8Array<ArrayBuffer>): Uint8Array<ArrayBuffer>;
11091111
text(next?: string, virt?: 'virt'): string;
11101112
abstract sub(): $mol_file[];
11111113
abstract resolve(path: string): $mol_file;
11121114
abstract relate(base?: $mol_file): string;
1113-
abstract append(next: Uint8Array | string): void;
1115+
abstract append(next: Uint8Array<ArrayBuffer> | string): void;
11141116
find(include?: RegExp, exclude?: RegExp): $mol_file[];
11151117
size(): number;
11161118
open(...modes: readonly ('create' | 'exists_truncate' | 'exists_fail' | 'read_only' | 'write_only' | 'read_write' | 'append')[]): number;
@@ -1141,11 +1143,11 @@ declare namespace $ {
11411143
stat(next?: $mol_file_stat | null, virt?: 'virt'): $mol_file_stat | null;
11421144
ensure(): void;
11431145
drop(): void;
1144-
buffer(next?: Uint8Array): Uint8Array<ArrayBufferLike>;
1146+
buffer(next?: Uint8Array<ArrayBuffer>): Uint8Array<ArrayBuffer>;
11451147
sub(): $mol_file[];
11461148
resolve(path: string): $mol_file;
11471149
relate(base?: $mol_file): string;
1148-
append(next: Uint8Array | string): undefined;
1150+
append(next: Uint8Array<ArrayBuffer> | string): undefined;
11491151
open(...modes: readonly (keyof typeof $mol_file_mode_open)[]): number;
11501152
}
11511153
}
@@ -1240,16 +1242,16 @@ declare namespace $ {
12401242
}
12411243

12421244
declare namespace $ {
1243-
function $mol_base64_decode(base64: string): Uint8Array;
1245+
function $mol_base64_decode(base64: string): Uint8Array<ArrayBuffer>;
12441246
}
12451247

12461248
declare namespace $ {
1247-
function $mol_base64_decode_node(base64Str: string): Uint8Array;
1249+
function $mol_base64_decode_node(base64Str: string): Uint8Array<ArrayBuffer>;
12481250
}
12491251

12501252
declare namespace $ {
12511253
function $mol_base64_url_encode(buffer: Uint8Array): string;
1252-
function $mol_base64_url_decode(str: string): Uint8Array<ArrayBufferLike>;
1254+
function $mol_base64_url_decode(str: string): Uint8Array<ArrayBuffer>;
12531255
}
12541256

12551257
declare namespace $ {
@@ -1322,7 +1324,6 @@ declare namespace $ {
13221324
data = 1
13231325
}
13241326
class $hyoo_crowd_unit extends Object {
1325-
[x: symbol]: (() => any[]) | (() => string);
13261327
readonly land: $mol_int62_string;
13271328
readonly auth: $mol_int62_string;
13281329
readonly head: $mol_int62_string;
@@ -1337,21 +1338,21 @@ declare namespace $ {
13371338
group(): $hyoo_crowd_unit_group;
13381339
level(): $hyoo_crowd_peer_level;
13391340
[Symbol.toPrimitive](): string;
1341+
[$mol_dev_format_head](): any[];
13401342
}
1341-
class $hyoo_crowd_unit_bin extends DataView {
1342-
static from_buffer(buffer: Int16Array): any;
1343-
static from_unit(unit: $hyoo_crowd_unit): any;
1344-
sign(next?: Uint8Array): Uint8Array<any>;
1343+
class $hyoo_crowd_unit_bin extends DataView<ArrayBuffer> {
1344+
static from_buffer(buffer: Int16Array): $hyoo_crowd_unit_bin;
1345+
static from_unit(unit: $hyoo_crowd_unit): $hyoo_crowd_unit_bin;
1346+
sign(next?: Uint8Array): Uint8Array<ArrayBuffer>;
13451347
size(): number;
1346-
sens(): Uint8Array<any>;
1348+
sens(): Uint8Array<ArrayBuffer>;
13471349
unit(): $hyoo_crowd_unit;
13481350
}
13491351
function $hyoo_crowd_unit_compare(left: $hyoo_crowd_unit, right: $hyoo_crowd_unit): number;
13501352
}
13511353

13521354
declare namespace $ {
13531355
class $hyoo_crowd_node extends $mol_object2 {
1354-
[x: symbol]: (() => any[]) | (() => string);
13551356
readonly land: $hyoo_crowd_land;
13561357
readonly head: $mol_int62_string;
13571358
constructor(land?: $hyoo_crowd_land, head?: $mol_int62_string);
@@ -1365,6 +1366,7 @@ declare namespace $ {
13651366
virgin(): boolean;
13661367
[Symbol.toPrimitive](): string;
13671368
toJSON(): `${string}_${string}`;
1369+
[$mol_dev_format_head](): any[];
13681370
}
13691371
}
13701372

@@ -1559,7 +1561,6 @@ declare namespace $ {
15591561

15601562
declare namespace $ {
15611563
class $hyoo_crowd_clock extends Map<$mol_int62_string, number> {
1562-
[x: symbol]: () => any[];
15631564
static begin: number;
15641565
last_time: number;
15651566
constructor(entries?: Iterable<readonly [$mol_int62_string, number]>);
@@ -1573,11 +1574,12 @@ declare namespace $ {
15731574
now(): number;
15741575
last_stamp(): number;
15751576
tick(peer: $mol_int62_string): number;
1577+
[$mol_dev_format_head](): any[];
15761578
}
1577-
class $hyoo_crowd_clock_bin extends DataView {
1578-
static from(land_id: $mol_int62_string, clocks: readonly [$hyoo_crowd_clock, $hyoo_crowd_clock], count: number): any;
1579+
class $hyoo_crowd_clock_bin extends DataView<ArrayBuffer> {
1580+
static from(land_id: $mol_int62_string, clocks: readonly [$hyoo_crowd_clock, $hyoo_crowd_clock], count: number): $hyoo_crowd_clock_bin;
15791581
land(): `${string}_${string}`;
1580-
count(): any;
1582+
count(): number;
15811583
}
15821584
}
15831585

@@ -1614,7 +1616,6 @@ declare namespace $ {
16141616

16151617
declare namespace $ {
16161618
class $hyoo_crowd_land extends $mol_object {
1617-
[x: symbol]: () => any[];
16181619
id(): `${string}_${string}`;
16191620
toJSON(): `${string}_${string}`;
16201621
peer(): $hyoo_crowd_peer;
@@ -1623,7 +1624,7 @@ declare namespace $ {
16231624
get clock_auth(): $hyoo_crowd_clock;
16241625
get clock_data(): $hyoo_crowd_clock;
16251626
get clocks(): readonly [$hyoo_crowd_clock, $hyoo_crowd_clock];
1626-
get clocks_bin(): Uint8Array<any>;
1627+
get clocks_bin(): Uint8Array<ArrayBuffer>;
16271628
readonly pub: $mol_wire_pub;
16281629
readonly _clocks: readonly [$hyoo_crowd_clock, $hyoo_crowd_clock];
16291630
_unit_all: Map<`${string}_${string}!${string}_${string}`, $hyoo_crowd_unit>;
@@ -1666,6 +1667,7 @@ declare namespace $ {
16661667
wipe(unit: $hyoo_crowd_unit): $hyoo_crowd_unit;
16671668
move(unit: $hyoo_crowd_unit, head: $mol_int62_string, prev: $mol_int62_string): void;
16681669
insert(unit: $hyoo_crowd_unit, head: $mol_int62_string, seat: number): void;
1670+
[$mol_dev_format_head](): any[];
16691671
}
16701672
}
16711673

@@ -2374,7 +2376,6 @@ declare namespace $ {
23742376

23752377
declare namespace $ {
23762378
class $hyoo_sync_yard<Line> extends $mol_object2 {
2377-
[x: symbol]: () => any[];
23782379
db_unit_persisted: WeakSet<$hyoo_crowd_unit>;
23792380
log_pack(data: any): any;
23802381
peer(next?: string): $hyoo_crowd_peer;
@@ -2416,9 +2417,10 @@ declare namespace $ {
24162417
line: Line;
24172418
land: $mol_int62_string;
24182419
}, next?: Promise<any>[]): Promise<any>[];
2419-
line_receive(line: Line, message: Uint8Array): Promise<void>;
2420+
line_receive(line: Line, message: Uint8Array<ArrayBuffer>): Promise<void>;
24202421
line_send_clocks(line: Line, land: $hyoo_crowd_land): void;
24212422
line_send_units(line: Line, units: readonly $hyoo_crowd_unit[]): Promise<void>;
2423+
[$mol_dev_format_head](): any[];
24222424
}
24232425
}
24242426

@@ -3589,7 +3591,6 @@ declare namespace $ {
35893591
offset?: $mol_time_duration_config;
35903592
};
35913593
class $mol_time_moment extends $mol_time_base {
3592-
[x: symbol]: (() => any[]) | ((mode: "default" | "number" | "string") => string | number);
35933594
constructor(config?: $mol_time_moment_config);
35943595
readonly year: number | undefined;
35953596
readonly month: number | undefined;
@@ -3611,6 +3612,7 @@ declare namespace $ {
36113612
toJSON(): string;
36123613
toString(pattern?: string): string;
36133614
[Symbol.toPrimitive](mode: 'default' | 'number' | 'string'): string | number;
3615+
[$mol_dev_format_head](): any[];
36143616
static patterns: {
36153617
YYYY: (moment: $mol_time_moment) => string;
36163618
AD: (moment: $mol_time_moment) => string;
@@ -3753,7 +3755,7 @@ declare namespace $ {
37533755
reviews(): string;
37543756
review_allowed(): boolean;
37553757
post_template(id: keyof typeof $piterjs_post_template, next?: string): string;
3756-
post_moment(id: keyof typeof $piterjs_post_template, next?: $mol_time_moment): $mol_time_moment | null;
3758+
post_moment(id: keyof typeof $piterjs_post_template, next?: $mol_time_moment): $mol_time_moment;
37573759
post_text(id: keyof typeof $piterjs_post_template): string;
37583760
}
37593761
}
@@ -4421,7 +4423,7 @@ declare namespace $ {
44214423
declare namespace $ {
44224424
class $mol_syntax2<Lexems extends {
44234425
[name: string]: RegExp;
4424-
}> {
4426+
} = {}> {
44254427
lexems: Lexems;
44264428
constructor(lexems: Lexems);
44274429
rules: Array<{

node.d.ts.map

+1-1
Large diffs are not rendered by default.

node.deps.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)