Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ListPages

import type { ListPages } from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.24.3/mod.ts";
interface ListPages {
(project: string, options?: ListPagesOption): Promise<Result<PageList, NotFoundError | NotLoggedInError | NotMemberError>>;
fromResponse: (res: Response) => Promise<Result<PageList, NotFoundError | NotLoggedInError | NotMemberError>>;
toRequest: (project: string, options?: ListPagesOption) => Request;
}

§Call Signatures

§Properties

§
fromResponse: (res: Response) => Promise<Result<PageList, NotFoundError | NotLoggedInError | NotMemberError>>
[src]

帰ってきた応答からページのJSONデータを取得する

§
toRequest: (project: string, options?: ListPagesOption) => Request
[src]

/api/pages/:project の要求を組み立てる