Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ export type UserResponse = GuestUser | MemberUser;
/** the response type of https://scrapbox.io/api/pages/:projectname/search/titles */
export interface SearchedTitle
extends Pick<BasePage, "id" | "title" | "updated"> {
/** 画像が存在するかどうか */
hasIcon: boolean;
/** thumbnail URL */
image?: string;

/** ページ内のリンク */
links: string[];
Expand Down
4 changes: 2 additions & 2 deletions scrapbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ export interface Candidate extends Pick<BasePage, "id" | "title" | "updated"> {
/** true when the page has contents */
exists: boolean;

/** whether the page contains any image */
hasIcon?: boolean;
/** thumbnail URL */
image?: string;

/** lower case style of the page title */
titleLc: StringLc;
Expand Down