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

ProjectSearchResult

import type { ProjectSearchResult } from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.14.10/deps/scrapbox-rest.ts";

the response type of /api/projects/search/query and /api/projects/search/watch-list

interface ProjectSearchResult {
projects: {
_id: ProjectId;
name: string;
displayName: string;
image?: string | null;
}
[]
;
query: SearchQuery;
searchQuery: string;
}

§Properties

§
projects: {
_id: ProjectId;
name: string;
displayName: string;
image?: string | null;
}
[]
[src]

見つかったprojects

§
query: SearchQuery
[src]

検索語句

§
searchQuery: string
[src]

検索文字列