← Về thư mục
frontend/src/features/customize/host.ts
- HostWindow · type · L13-L20 — type HostWindow = Window & { hint?: (message: string, err?: boolean, spin?: boolean) => void; openViewer?: (artifact: unknown) => void; refreshKeyBanner?: () => Promise | void; grow?: () => void; openModalEl?: (modal: Element) => void; closeModalEl?: (modal: Element) => void; };
- hostWindow · function · L22-L24 — function hostWindow(): HostWindow
- hint · function · L26-L30 — function hint(message: string, err?: boolean, spin?: boolean): void
- confirmAction · function · L32-L38 — function confirmAction(message: string): boolean
- openViewer · function · L40-L43 — function openViewer(artifact: unknown): void
- refreshKeyBanner · function · L45-L48 — async function refreshKeyBanner(): Promise
- growComposer · function · L50-L53 — function growComposer(): void
- asRecord · function · L55-L59 — function asRecord(value: unknown): Record
- asList · function · L61-L63 — function asList(value: unknown): unknown[]
- asString · function · L65-L67 — function asString(value: unknown, fallback = ""): string
- asBool · function · L69-L71 — function asBool(value: unknown): boolean
- effProject · function · L73-L78 — function effProject(): string | null
- projectName · function · L80-L89 — function projectName(pid: string | null | undefined): string
- dropSkillsCatalog · function · L91-L93 — function dropSkillsCatalog(): void
- dropEnvSnapshots · function · L95-L97 — function dropEnvSnapshots(): void
- insertSkillMention · function · L99-L116 — function insertSkillMention(name: string): void
- closeCustomizeDom · function · L118-L125 — function closeCustomizeDom(): void
- openCustomizeDom · function · L127-L134 — function openCustomizeDom(): void