← Về thư mục
frontend/src/features/customize/volcengine.ts
- volcPercent · function · L28-L37 — function volcPercent(period: unknown): number
- volcQuotaValue · function · L39-L47 — function volcQuotaValue(period: unknown): string
- volcApiKeyUrl · function · L49-L57 — function volcApiKeyUrl(state: unknown): string
- accessStateOf · function · L59-L66 — function accessStateOf(state: unknown): string
- VolcKeyPollHooks · type · L68-L72 — type VolcKeyPollHooks = { refresh: () => Promise; isAlive: () => boolean; onExhausted?: () => void; };
- startVolcengineKeyPolling · function · L79-L140 — function startVolcengineKeyPolling( lease: TimerLease, hooks: VolcKeyPollHooks, ): { stop: () => void; isPolling: () => boolean }
- stop · function · L87-L93 — stop = (): void
- arm · function · L95-L108 — arm = (ms: number): void
- poll · function · L110-L136 — poll = async (): Promise
- openVolcengineAuthorization · function · L142-L162 — function openVolcengineAuthorization( url: string, popup: Window | null = null, ): Window | null
- publicVolcError · function · L164-L171 — function publicVolcError(error: unknown): string