feat: Add check interval and check_at update
- Added a "Check Interval" field to the SSL certificate create/edit forms. - Implemented functionality to update the `check_at` field in Pocketbase with the current time when the "Check" button is clicked.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
export interface SSLCertificate {
|
||||
id: string;
|
||||
domain: string;
|
||||
@@ -19,7 +18,10 @@ export interface SSLCertificate {
|
||||
last_notified?: string;
|
||||
created?: string;
|
||||
updated?: string;
|
||||
// New fields based on the provided structure
|
||||
// New fields
|
||||
check_interval?: number; // Check interval in days
|
||||
check_at?: string; // Next check time
|
||||
// Existing fields based on the provided structure
|
||||
collectionId?: string;
|
||||
collectionName?: string;
|
||||
resolved_ip?: string;
|
||||
@@ -31,4 +33,5 @@ export interface AddSSLCertificateDto {
|
||||
warning_threshold: number;
|
||||
expiry_threshold: number;
|
||||
notification_channel: string;
|
||||
check_interval?: number; // New field for check interval in days
|
||||
}
|
||||
Reference in New Issue
Block a user