Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions api/project-backup/project/list.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import type { UnixTime } from "../../../base.ts";

/** The response type of /api/project-backup/:projectname/list */
export interface BackupList {
/** backup list */
backups: BackupSummary[];
}

/** Backup summary */
export interface BackupSummary {
/** backuped date */
backuped: UnixTime;
/** backup Id */
id: string;
/** total links in the backup */
totalLinks: number;
/** total pages in the backup */
totalPages: number;
}