smartcert/ts/index.ts

31 lines
653 B
TypeScript
Raw Normal View History

2016-06-18 13:59:03 +00:00
import * as paths from "./cert.paths";
export class Cert {
cfEmail:string;
cfKey:string;
sslDir:string;
certificatesPresent;
certificatesValid;
gitOriginRepo;
constructor(optionsArg:{
cfEmail:string,
cfKey:string,
sslDir:string,
2016-06-21 18:02:57 +00:00
gitOriginRepo?:string
2016-06-18 13:59:03 +00:00
}){
this.cfEmail = optionsArg.cfEmail;
this.cfKey = optionsArg.cfKey;
this.sslDir = optionsArg.sslDir;
this.gitOriginRepo = optionsArg.gitOriginRepo;
};
getDomainCert(){};
}
export class Certificate {
2016-06-21 18:02:57 +00:00
domainName:string;
creationDate:Date;
expiryDate:Date;
2016-06-18 13:59:03 +00:00
constructor(){
};
}