Skip to content

Commit

Permalink
Merge pull request #50 from takker99:related-page
Browse files Browse the repository at this point in the history
fix(page): `ProjectRelatedPage` dosen't have either `infobox*` nor `search`
  • Loading branch information
takker99 authored May 5, 2024
2 parents 7b3ec71 + 56c4e5e commit ce13eda
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,24 @@ export interface RelatedPage extends

infoboxDisableLinks: string[];

search: SearchQuery;
search?: SearchQuery;
}

/** 外部プロジェクトの関連ページ */
export interface ProjectRelatedPage
extends Omit<RelatedPage, "linksLc" | "created" | "pageRank"> {
export interface ProjectRelatedPage extends
Pick<
BasePage,
| "id"
| "title"
| "image"
| "descriptions"
| "linked"
| "updated"
| "accessed"
> {
/** page title */
titleLc: StringLc;

created: number | null;

/** project name */
Expand Down

0 comments on commit ce13eda

Please sign in to comment.