start implementation of sslDir and gitOrigin
This commit is contained in:
parent
732e35d295
commit
0fd3bd262b
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ docs/
|
||||
coverage/
|
||||
.nogit/
|
||||
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,7 +34,7 @@ export class Cert {
|
||||
};
|
||||
}
|
||||
|
||||
export class Certificate {
|
||||
class Certificate {
|
||||
domainName:string;
|
||||
creationDate:Date;
|
||||
expiryDate:Date;
|
||||
@ -42,3 +42,11 @@ export class Certificate {
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
let updateSslDir = () => {
|
||||
|
||||
}
|
||||
|
||||
let updateGitOrigin = () => {
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user