Create config manager to store part of the config in a json file.
Update the IConfig structure to add new values for API login.
This commit is contained in:
11
src/interface/IConfig.d.ts
vendored
11
src/interface/IConfig.d.ts
vendored
@@ -20,4 +20,15 @@ interface IConfig {
|
||||
verbose?: boolean;
|
||||
debug?: boolean;
|
||||
retry?: number;
|
||||
// Login options
|
||||
logUsingApi?: boolean;
|
||||
crSessionUrl?: string;
|
||||
crDeviceType?: string;
|
||||
crAPIVersion?: string;
|
||||
crLocale?: string;
|
||||
crSessionKey?: string;
|
||||
crLoginUrl?: string;
|
||||
// Generated values
|
||||
crDeviceId?: string;
|
||||
crSessionId?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user