diff --git a/src/schema.ts b/src/schema.ts index f9f4d37..5675bcf 100644 --- a/src/schema.ts +++ b/src/schema.ts @@ -3,16 +3,19 @@ import debug from "debug"; const schemaDebug = debug("Schema"); +export interface Certificates { + wwdr?: string; + signerCert?: string; + signerKey?: { + keyFile: string; + passphrase?: string; + }; + _raw?: Certificates; +} + export interface FactoryOptions { model: { [key: string]: Buffer } | string; - certificates: { - wwdr: string; - signerCert: string; - signerKey: { - keyFile: string; - passphrase?: string; - }; - }; + certificates: Certificates; overrides?: Object; shouldOverwrite?: boolean; }