ListProjects
import type { ListProjects } from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.24.3/mod.ts";
interface ListProjects {
fromResponse: (res: Response) => Promise<Result<ProjectResponse, NotLoggedInError>>;
toRequest: (projectIds: ProjectId[], init?: BaseOptions) => Request;
}§Properties
§
fromResponse: (res: Response) => Promise<Result<ProjectResponse, NotLoggedInError>>
[src]帰ってきた応答からprojectのJSONデータを取得する
§
toRequest: (projectIds: ProjectId[], init?: BaseOptions) => Request
[src]/api/project の要求を組み立てる