Skip to content

Commit 06b4704

Browse files
authored
Merge pull request #67 from takker99:url
feat(api) Add types for /api/embed-text/url
2 parents 07e78c2 + b11b2a6 commit 06b4704

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

api/embed-text/url.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/** the response type of /api/embed-text/url */
2+
export interface URLInfo {
3+
/** The web page's title */
4+
title: string;
5+
}

rest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export * from "./error.ts";
99

1010
export * from "./api/commits/project/pageId.ts";
1111
export * from "./api/embed-text/twitter.ts";
12+
export * from "./api/embed-text/url.ts";
1213
export * from "./api/page-data/export/project.ts";
1314
export * from "./api/page-data/import/project.ts";
1415
export * from "./api/page-snapshots/project/pageId.ts";

0 commit comments

Comments
 (0)