File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -516,13 +516,33 @@ export interface CommitsResponse {
516516}
517517
518518/** the response type of /api/page-snapshots/:projectname/:pageid */
519- export interface PageSnapshot {
519+ export interface PageSnapshotList {
520520 pageId : PageId ;
521521
522+ /** 作成されているsnapshotsのtimestamp idのリスト */
523+ timestamps : SnapshotTimestamp [ ] ;
524+
522525 /** 作成されているsnapshots */
523526 snapshots : Snapshot [ ] ;
524527}
525528
529+ export interface SnapshotTimestamp {
530+ id : string ;
531+ created : UnixTime ;
532+ }
533+
534+ /** the response type of /api/page-snapshots/:projectname/:pageid/:timestampid */
535+ export interface PageSnapshotResult {
536+ page : PageWithSnapshot ;
537+
538+ snapshot : Snapshot ;
539+ }
540+
541+ export interface PageWithSnapshot extends BasePage {
542+ user : Pick < User , "id" > ;
543+ lastupdateUser : Pick < User , "id" > | null ;
544+ }
545+
526546/** a page snapshot */
527547export interface Snapshot {
528548 /** snapshotを撮ったときのページタイトル */
You can’t perform that action at this time.
0 commit comments