Skip to content

Commit a544619

Browse files
authored
Merge pull request #4 from takker99/external-links
✨ External Linksのデータ通信用型定義を追加した
2 parents c713d66 + 143b86d commit a544619

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

types.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface ProjectUpdatesStreamCommit {
2323
projectId: string;
2424
pageId: string;
2525
userId: string;
26-
changes: (Change[] | [Delete]);
26+
changes: Change[] | [Delete];
2727
cursor: null;
2828
freeze: true;
2929
}
@@ -55,7 +55,7 @@ export interface CommitNotification {
5555
projectId: string;
5656
pageId: string;
5757
userId: string;
58-
changes: (Change[] | [Pin] | [Delete]);
58+
changes: Change[] | [Pin] | [Delete];
5959
cursor: null;
6060
freeze: true;
6161
}
@@ -118,6 +118,7 @@ export type Change =
118118
| UpdateCommit
119119
| DeleteCommit
120120
| LinksCommit
121+
| ProjectLinksCommit
121122
| DescriptionsCommit
122123
| ImageCommit
123124
| TitleCommit;
@@ -141,6 +142,9 @@ export interface DeleteCommit {
141142
export interface LinksCommit {
142143
links: string[];
143144
}
145+
export interface ProjectLinksCommit {
146+
projectLinks: string[];
147+
}
144148
export interface DescriptionsCommit {
145149
descriptions: string[];
146150
}

0 commit comments

Comments
 (0)