Skip to content
Merged
Show file tree
Hide file tree
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
14 changes: 14 additions & 0 deletions api/deleted-pages/project/pageId.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import type { ProjectId } from "../../../base.ts";
import type { Page } from "../../pages/project/title.ts";

/** The response type of /api/deleted-pages/:projectname/:pageid */
export interface DeletedPage
extends Pick<Page, "id" | "title" | "image" | "lines"> {
/** The project id */
projectId: ProjectId;

/** The created time of the page */
created: null;
/** The updated time of the page */
updated: null;
}
1 change: 1 addition & 0 deletions rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export * from "./error.ts";
export * from "./stream-event.ts";

export * from "./api/commits/project/pageId.ts";
export * from "./api/deleted-pages/project/pageId.ts";
export * from "./api/embed-text/twitter.ts";
export * from "./api/embed-text/url.ts";
export * from "./api/page-data/export/project.ts";
Expand Down