Add support for secure file options

- Create new interface, ISecureFileOptions
- Add "secure" key to IFileOptions interface.
This commit is contained in:
Dave Houston
2019-01-15 20:29:21 -08:00
committed by GitHub
parent 7b2a31abb1
commit 973bee2015
+6
View File
@@ -57,6 +57,11 @@ export interface IOptions {
[index: string]: any;
}
export interface ISecureFileOptions {
secret: string;
alg?: string;
}
export interface IFileOptions {
type?: string;
file?: string;
@@ -64,6 +69,7 @@ export interface IFileOptions {
search?: boolean;
format?: IFormat;
json_spacing?: number;
secure?: ISecureOptions;
}
export interface ICallbackFunction {