File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * The response type of /api/deepl/translate?text=:text, which is used in [Translation mode (beta)](https://scrapbox.io/help/Translation_mode_(beta)).
3+ *
4+ * This API internall calls [DeepL API Pro](https://www.deepl.com/docs-api/).
5+ */
6+ export interface TranslationResult {
7+ /** Translated text */
8+ result : string ;
9+ }
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ export * from "./error.ts";
99export * from "./stream-event.ts" ;
1010
1111export * from "./api/commits/project/pageId.ts" ;
12+ export * from "./api/deepl/translate.ts" ;
1213export * from "./api/deleted-pages/project/pageId.ts" ;
1314export * from "./api/embed-text/twitter.ts" ;
1415export * from "./api/embed-text/url.ts" ;
You can’t perform that action at this time.
0 commit comments