Docker images / prepare-release (push) Successful in 12s
Docker images / backend-test (push) Successful in 2m20s
Docker images / frontend-image (push) Successful in 2m51s
Docker images / updater-image (push) Successful in 44s
Docker images / backend-image (push) Successful in 2m49s
Docker images / notify-webhook (push) Skipped
Docker images / publish-release (push) Successful in 12s
- Added configuration history management for Firewall, GRE, and WireGuard pages, enabling users to view and restore previous configurations. - Introduced new components for displaying configuration history and integrated them into the respective pages. - Enhanced API routes to support fetching and restoring configuration revisions, ensuring data consistency across the application. - Updated state management to handle loading and restoring states effectively, improving user experience during data operations. - Enhanced tests to cover new functionalities and ensure reliability. Co-authored-by: Cursor <[email protected]>
13 lines
342 B
TypeScript
13 lines
342 B
TypeScript
export type ConfigRevisionSource = "apply" | "rollback" | "observed" | "copy"
|
|
|
|
export interface ConfigRevisionDto {
|
|
id: string
|
|
serverId: string
|
|
section: "filters" | "recursive-routes" | "firewall" | "wireguard" | "gre"
|
|
source: ConfigRevisionSource
|
|
fingerprint: string
|
|
createdAt: string
|
|
note: string | null
|
|
itemCount: number
|
|
}
|