Skip to content

Commit e664b13

Browse files
committed
✨ Implement types about External Links
1 parent d8c25e1 commit e664b13

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

response.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ export interface RelatedPage extends
2828
linksLc: StringLc[];
2929
}
3030

31+
/** 外部プロジェクトの関連ページ */
32+
export interface ProjectRelatedPage extends Omit<RelatedPage, "linksLc"> {
33+
/** project name */
34+
projectName: string;
35+
}
36+
3137
/** user information */
3238
export interface User {
3339
id: UserId;
@@ -82,6 +88,9 @@ export interface Page extends BasePage {
8288
/** 2 hop links */
8389
links2hop: RelatedPage[];
8490

91+
/** external links */
92+
projectLinks1hop: ProjectRelatedPage[];
93+
8594
/** このページを参照しているページorアイコンがあればtrue */
8695
hasBackLinksOrIcons: boolean;
8796
};

0 commit comments

Comments
 (0)