2023-09-23 12:48:34 +02:00
|
|
|
export interface OptionsBinding {
|
2021-04-14 19:35:21 +02:00
|
|
|
getOptions(): {
|
|
|
|
options: Map<
|
|
|
|
string,
|
|
|
|
{
|
|
|
|
helpText: string;
|
|
|
|
envVarSettings: 0 | 1;
|
|
|
|
} & (
|
|
|
|
| { type: 0 | 1; value: undefined }
|
|
|
|
| { type: 2; value: boolean }
|
|
|
|
| { type: 3 | 4; value: number }
|
|
|
|
| { type: 5; value: string }
|
|
|
|
| { type: 6; value: { host: string; port: number } }
|
|
|
|
| { type: 7; value: string[] }
|
|
|
|
)
|
|
|
|
>;
|
|
|
|
aliases: Map<string, string[]>;
|
|
|
|
};
|
|
|
|
envSettings: {
|
2024-11-05 21:44:24 +01:00
|
|
|
kAllowedInEnvvar: 0;
|
|
|
|
kDisallowedInEnvvar: 1;
|
2021-04-14 19:35:21 +02:00
|
|
|
};
|
2021-09-26 16:07:13 +02:00
|
|
|
noGlobalSearchPaths: boolean;
|
2021-04-14 19:35:21 +02:00
|
|
|
shouldNotRegisterESMLoader: boolean;
|
|
|
|
types: {
|
|
|
|
kNoOp: 0;
|
|
|
|
kV8Option: 1;
|
|
|
|
kBoolean: 2;
|
|
|
|
kInteger: 3;
|
|
|
|
kUInteger: 4;
|
|
|
|
kString: 5;
|
|
|
|
kHostPort: 6;
|
|
|
|
kStringList: 7;
|
|
|
|
};
|
2023-09-23 12:48:34 +02:00
|
|
|
}
|