Skip to content

Commit

Permalink
Merge pull request #67 from takker99:url
Browse files Browse the repository at this point in the history
feat(api) Add types for /api/embed-text/url
  • Loading branch information
takker99 authored Feb 9, 2025
2 parents 07e78c2 + b11b2a6 commit 06b4704
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/embed-text/url.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** the response type of /api/embed-text/url */
export interface URLInfo {
/** The web page's title */
title: string;
}
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 "./api/commits/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";
export * from "./api/page-data/import/project.ts";
export * from "./api/page-snapshots/project/pageId.ts";
Expand Down

0 comments on commit 06b4704

Please sign in to comment.