3 - Began the work of internationalization.
This commit is contained in:
21
src/i18n/models.ts
Normal file
21
src/i18n/models.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
export interface Book {
|
||||
id: string;
|
||||
name: string;
|
||||
aliases: string[];
|
||||
}
|
||||
|
||||
export interface Settings {
|
||||
[key: string]: SettingsGroup
|
||||
}
|
||||
|
||||
interface SettingsGroup {
|
||||
name: string;
|
||||
description?: string;
|
||||
controls: { [key: string]: Control };
|
||||
}
|
||||
|
||||
interface Control {
|
||||
name: string;
|
||||
description?: string;
|
||||
placeholder?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user