This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace $ { | |
export type $gd_speech_ws_command = | |
| { | |
cmd: 'init' | |
data: { | |
app_ref: string | |
audio_guid: string | |
final_sep: string | |
samplerate: number | |
source: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$gd_kit_link $mol_link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare namespace $ { | |
type $mol_view_tree2_to_js_test_ex_right_hierarchy_bar__id__CP48JLAJ = $mol_type_enforce< | |
ReturnType< $foo['indexed_id'] > | |
, | |
ReturnType< $bar['id'] > | |
> | |
type $foo_indexed_title__W0JNK55Y = $mol_type_enforce< | |
Parameters< $foo['indexed_title'] >[0] | |
, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace $.$$ { | |
export class $gd_kit_link extends $.$gd_kit_link { | |
make_uri(args: ReturnType<typeof this.arg>) { | |
const dict = this.$.$mol_state_arg.dict() | |
const href_args = { ...dict, ...args } | |
return this.$.$mol_state_arg.make_link( href_args ) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace $ { | |
export type $gd_rad_transport_req = Omit<RequestInit, 'headers'> & { | |
place?: string | |
deadline?: number | |
headers?: Record<string, string> | |
auth_disabled?: boolean | |
body_object?: object | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { mpk_core_map_exchange } from '../../core/map/map.js' | |
import { mpk_ui_object } from '../object/object.js' | |
import './list.css' | |
export class mpk_ui_sortable_list extends mpk_ui_object { | |
protected dragEl = undefined as undefined | HTMLElement | |
protected onDragStart(evt: DragEvent) { | |
const target = evt.target as HTMLElement | undefined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace $ { | |
export type $gd_rad_transport_req = Omit<RequestInit, 'headers'> & { | |
path: string; | |
headers?: Record<string, string>; | |
noAuth?: boolean; | |
body_object?: object | |
} | |
export class $gd_kit_transport extends $mol_object { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace $ { | |
export class $gd_kit_range<Item> extends $mol_object { | |
@ $mol_mem | |
protected server_count(next?: number | null): number { | |
throw new Error('implement') | |
} | |
@ $mol_mem_key | |
protected server_chunk(offset: number, next?: null): readonly Item[] { | |
throw new Error('implement') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace $ { | |
const rec = $mol_data_record | |
const cnst = $mol_data_const | |
const str = $mol_data_string | |
const bool = $mol_data_boolean | |
const opt = $mol_data_optional | |
const nul = $mol_data_nullable | |
export const $gd_kit_object_ws_ins_data = rec({ | |
...$gd_kit_prop_data.config, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace $ { | |
const status_key = Symbol('$gd_kit_entity.status') | |
export class $gd_kit_entity extends $mol_object { | |
constructor(id?: string) { | |
super() | |
if (id) this.id = $mol_const(id) | |
} | |
// p-ка свойства-объекта | |
@ $mol_mem |