mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-02 08:46:38 +00:00
Fix type issues
This commit is contained in:
@@ -38,7 +38,7 @@ export type CreateDomainResponse = {
|
|||||||
aRecords?: { baseDomain: string; value: string }[];
|
aRecords?: { baseDomain: string; value: string }[];
|
||||||
txtRecords?: { baseDomain: string; value: string }[];
|
txtRecords?: { baseDomain: string; value: string }[];
|
||||||
certResolver?: string | null;
|
certResolver?: string | null;
|
||||||
preferWildcardCert?: boolean;
|
preferWildcardCert?: boolean | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Helper to check if a domain is a subdomain or equal to another domain
|
// Helper to check if a domain is a subdomain or equal to another domain
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ async function copyInDomains() {
|
|||||||
domainId: key,
|
domainId: key,
|
||||||
baseDomain: value.base_domain.toLowerCase(),
|
baseDomain: value.base_domain.toLowerCase(),
|
||||||
certResolver: value.cert_resolver || null,
|
certResolver: value.cert_resolver || null,
|
||||||
preferWildcardCert: value.prefer_wildcard_cert || null
|
preferWildcardCert: value.prefer_wildcard_cert || null,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export type DomainRow = {
|
|||||||
tries: number;
|
tries: number;
|
||||||
configManaged: boolean;
|
configManaged: boolean;
|
||||||
certResolver: string;
|
certResolver: string;
|
||||||
customCertResolver: string;
|
preferWildcardCert: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|||||||
Reference in New Issue
Block a user