refactor: rename figlet app to ascii and update all references
This commit is contained in:
27
types/ascii.ts
Normal file
27
types/ascii.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
export interface ASCIIFont {
|
||||
name: string;
|
||||
fileName: string;
|
||||
path: string;
|
||||
}
|
||||
|
||||
export interface ASCIIOptions {
|
||||
font?: string;
|
||||
horizontalLayout?: 'default' | 'fitted' | 'full' | 'controlled smushing' | 'universal smushing';
|
||||
verticalLayout?: 'default' | 'fitted' | 'full' | 'controlled smushing' | 'universal smushing';
|
||||
width?: number;
|
||||
whitespaceBreak?: boolean;
|
||||
}
|
||||
|
||||
export interface ConversionResult {
|
||||
text: string;
|
||||
font: string;
|
||||
result: string;
|
||||
timestamp: number;
|
||||
}
|
||||
|
||||
export interface UserPreferences {
|
||||
theme: 'light' | 'dark' | 'system';
|
||||
defaultFont: string;
|
||||
recentFonts: string[];
|
||||
favorites: string[];
|
||||
}
|
||||
Reference in New Issue
Block a user