mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-25 23:04:28 +02:00
✨ get batched certificates endpoint
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import type { Domain } from "@server/db";
|
||||
|
||||
export type GetCertificateResponse = {
|
||||
certId: number;
|
||||
domain: string;
|
||||
domainId: string;
|
||||
wildcard: boolean;
|
||||
domainType: string;
|
||||
domainType: Domain["type"];
|
||||
status: string; // pending, requested, valid, expired, failed
|
||||
expiresAt: string | null;
|
||||
lastRenewalAttempt: Date | null;
|
||||
@@ -11,4 +13,9 @@ export type GetCertificateResponse = {
|
||||
updatedAt: number;
|
||||
errorMessage?: string | null;
|
||||
renewalCount: number;
|
||||
};
|
||||
};
|
||||
|
||||
export type GetBatchedCertificateResponse = Record<
|
||||
string,
|
||||
GetCertificateResponse | null
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user