6989a98d75
- 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
29 lines
782 B
TypeScript
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;
|