← Về thư mục
frontend/src/features/customize/telemetry.ts
- TelemetryConsent · type · L13-L16 — type TelemetryConsent = { enabled: boolean; env_locked: boolean; };
- readTelemetryConsent · function · L18-L24 — function readTelemetryConsent(raw: unknown): TelemetryConsent
- TelemetryDrain · type · L26-L31 — type TelemetryDrain = { onclick: () => void; getDesired: () => boolean; getConfirmed: () => boolean; isRunning: () => boolean; };
- createTelemetryDrain · function · L33-L80 — function createTelemetryDrain( initial: boolean, paint: (on: boolean) => void, opts?: { alive?: () => boolean }, ): TelemetryDrain
- drain · function · L43-L68 — drain = async (): Promise
- telemetryRow · function · L87-L131 — async function telemetryRow(host: Element): Promise
- paint · function · L120-L123 — paint = (on: boolean)