Files
boc/landvex-report-system/node_modules/chartjs-to-image/index.d.ts
T
Bernt 6989a98d75 feat: Passwordless cross-device authentication
- Arkitektur: docs/auth/passwordless-architecture.md
- Backend: iom/quixzoom-auth-service/ (FastAPI + Redis)
- Webb: quixzoom-market-pages/se/login/ (QR-kod + polling)
- App: iom/quixzoom-app/src/features/auth/ (push + deep links)

Flöde: QR-kod → app-godkännande → webb-inloggad
2026-07-07 07:11:50 +00:00

29 lines
782 B
TypeScript

declare class ChartJsImage {
constructor(apiKey?: string, accountId?: string);
setConfig(chartConfig: object): this;
setWidth(width: number | string): this;
setHeight(height: number | string): this;
setBackgroundColor(color: string): this;
setDevicePixelRatio(ratio: number | string): this;
setFormat(fmt: string): this;
setChartJsVersion(version: string): this;
isValid(): boolean;
getUrl(): string;
getPostData(): {
width: number;
height: number;
chart: string;
format?: string;
backgroundColor?: string;
devicePixelRatio?: number;
version?: string;
};
getShortUrl(): Promise<string>;
toBinary(): Promise<Buffer>;
toDataUrl(): Promise<string>;
toFile(pathOrDescriptor: string): Promise<void>;
}
export = ChartJsImage;