forked from olcxjas-softworks/LarpixClient
19 lines
706 B
TypeScript
19 lines
706 B
TypeScript
import type { InputAsset } from './input-asset';
|
|
import type { OutputAsset } from './output-asset';
|
|
import type { Project } from './project';
|
|
export declare abstract class AssetGenerator {
|
|
options: AssetGeneratorOptions;
|
|
constructor(options: AssetGeneratorOptions);
|
|
abstract generate(asset: InputAsset, project: Project): Promise<OutputAsset[]>;
|
|
}
|
|
export interface AssetGeneratorOptions {
|
|
iconBackgroundColor?: string;
|
|
iconBackgroundColorDark?: string;
|
|
splashBackgroundColor?: string;
|
|
splashBackgroundColorDark?: string;
|
|
pwaManifestPath?: string;
|
|
pwaNoAppleFetch?: boolean;
|
|
logoSplashScale?: number;
|
|
logoSplashTargetWidth?: number;
|
|
androidFlavor?: string;
|
|
}
|