Skip to content

Commit

Permalink
Merge pull request #65 from takker99:backup
Browse files Browse the repository at this point in the history
feat(api): Add types for /api/project-backup/:projectname/list
  • Loading branch information
takker99 authored Feb 9, 2025
2 parents a5e21dc + 76e6aae commit 5c1e31e
Showing 1 changed file with 19 additions and 0 deletions.
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;
}

0 comments on commit 5c1e31e

Please sign in to comment.