start implementation of sslDir and gitOrigin
This commit is contained in:
parent
732e35d295
commit
0fd3bd262b
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,4 +2,5 @@ node_modules
|
||||
docs/
|
||||
coverage/
|
||||
.nogit/
|
||||
dist/assets/
|
||||
dist/assets/
|
||||
test/assets/
|
@ -20,7 +20,7 @@ describe("cert",function(){
|
||||
})
|
||||
})
|
||||
describe("Cert",function(){
|
||||
it("should create a new cert",function(){
|
||||
it("should create a new Cert object from class",function(){
|
||||
testCert = new cert.Cert({
|
||||
cfEmail: process.env.CF_EMAIL,
|
||||
cfKey: process.env.CF_KEY,
|
||||
|
10
ts/index.ts
10
ts/index.ts
@ -34,11 +34,19 @@ export class Cert {
|
||||
};
|
||||
}
|
||||
|
||||
export class Certificate {
|
||||
class Certificate {
|
||||
domainName:string;
|
||||
creationDate:Date;
|
||||
expiryDate:Date;
|
||||
constructor(){
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
let updateSslDir = () => {
|
||||
|
||||
}
|
||||
|
||||
let updateGitOrigin = () => {
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user