import * as scrapboxUserscriptStd from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.24.3/deps/scrapbox-rest.ts";| BadRequestError | URL先ページから正常な応答が返ってこなかったときのエラー |
| ErrorLike | Scrapbox REST APIが返すエラーの型 |
| ExportedData | |
| GuestUser | |
| ImportedData | JSON data for importing by https://scrapbox.io/api/page-data/import/:projectname.json |
| InvalidURLError | 不正なURLを渡したときに返ってくるエラー |
| Line | scrapboxの行のメタデータ |
| MemberProject | project information which is joined |
| MemberUser | |
| NoQueryError | 検索文字列を渡さないと出てくるエラー |
| NotFoundError | 指定したprojectやpageが見つからないときに発生するエラー |
| NotLoggedInError | Loginが必要なAPIをloginせずに叩いたときに発生するエラー |
| NotMemberError | 参加していないprivate projectに対してAPIを叩いたときに発生するエラー |
| NotMemberProject | project information which isn't joined |
| NotPrivilegeError | owner/admin権限が不足しているときに発生するエラー |
| Page | page information |
| PageList | the response type of https://scrpabox.io/api/pages/:projectname |
| PageSnapshot | the response type of /api/page-snapshots/:projectname/:pageid |
| ProjectResponse | the response type of /api/projects |
| ProjectSearchResult | the response type of /api/projects/search/query and /api/projects/search/watch-list |
| SearchedTitle | the response type of https://scrapbox.io/api/pages/:projectname/search/titles |
| SearchResult | the response type of /api/pages/:projectname/search/titles |
| SessionError | CSRF tokenが不正なときに発生するエラー |
| Snapshot | a page snapshot |
| TweetInfo | the response type of /api/embed-text/twitter |