🎨 Improve file download and typescript annotations
This commit is contained in:
parent
b502075cb3
commit
8424ae8978
5 changed files with 53 additions and 65 deletions
11
src/interfaces/ISettings.ts
Normal file
11
src/interfaces/ISettings.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
type Product = 'assets_swtor_de_de' | 'assets_swtor_en_us' | 'assets_swtor_fr_fr' | 'assets_swtor_main' | 'assets_swtor_test_de_de' | 'assets_swtor_test_en_us' | 'assets_swtor_test_fr_fr' | 'assets_swtor_test_main' | 'eualas' | 'movies_de_de' | 'movies_en_us' | 'movies_fr_fr' | 'patcher2014' | 'patcher2017' | 'retailclient_betatest' | 'retailclient_cstraining' | 'retailclient_liveeptest' | 'retailclient_publictest' | 'retailclient_squadron157' | 'retailclient_swtor';
|
||||
|
||||
interface ISettings {
|
||||
[key: string]: any;
|
||||
product?: Product;
|
||||
release?: number; //TODO: allow 'current', but how will we know what current version is?
|
||||
from?: number;
|
||||
outputType?: 'info' | 'file'; //whether to just show JSON information, or actually write files into a directory
|
||||
}
|
||||
|
||||
export { ISettings, Product };
|
Loading…
Add table
Add a link
Reference in a new issue