mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 19:25:23 +00:00
Added Certificates interface
This commit is contained in:
@@ -3,16 +3,19 @@ import debug from "debug";
|
|||||||
|
|
||||||
const schemaDebug = debug("Schema");
|
const schemaDebug = debug("Schema");
|
||||||
|
|
||||||
export interface FactoryOptions {
|
export interface Certificates {
|
||||||
model: { [key: string]: Buffer } | string;
|
wwdr?: string;
|
||||||
certificates: {
|
signerCert?: string;
|
||||||
wwdr: string;
|
signerKey?: {
|
||||||
signerCert: string;
|
|
||||||
signerKey: {
|
|
||||||
keyFile: string;
|
keyFile: string;
|
||||||
passphrase?: string;
|
passphrase?: string;
|
||||||
};
|
};
|
||||||
};
|
_raw?: Certificates;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface FactoryOptions {
|
||||||
|
model: { [key: string]: Buffer } | string;
|
||||||
|
certificates: Certificates;
|
||||||
overrides?: Object;
|
overrides?: Object;
|
||||||
shouldOverwrite?: boolean;
|
shouldOverwrite?: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user