Fixed some types

This commit is contained in:
brian 2023-11-15 01:07:23 -05:00
parent 1bf9a7d153
commit 57f6a5c309
3 changed files with 21 additions and 4363 deletions

View file

@ -29,7 +29,7 @@ interface UpstreamRequest {
} }
interface Provider { interface Provider {
api_token: string; api_token?: string;
name: string; name: string;
} }
@ -39,6 +39,8 @@ interface DNS {
interface Challenges { interface Challenges {
dns: DNS; dns: DNS;
email: string;
module: string;
} }
interface Issuer { interface Issuer {
@ -49,7 +51,7 @@ interface Issuer {
interface Policies { interface Policies {
subjects: string[]; subjects: string[];
issuer: Issuer; issuers: Issuer[];
} }
interface Server { interface Server {
@ -70,6 +72,21 @@ interface Apps {
}; };
} }
interface Admin {
listen: string;
}
interface Logging {
logs: {
default: {
level: string;
};
};
}
type CaddyConfig = { type CaddyConfig = {
apps: Apps; apps: Apps;
admin: Admin;
logging?: Logging;
}; };

4359
package-lock.json generated

File diff suppressed because it is too large Load diff