File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
examples/github-app/src/resources Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 44 ExclamationCircleOutlined ,
55 EyeOutlined ,
66 PullRequestOutlined ,
7+ ForkOutlined ,
78} from '@ant-design/icons' ;
89import { schema } from '@data-client/rest' ;
910import { Temporal } from '@js-temporal/polyfill' ;
@@ -87,6 +88,7 @@ export const EventResource = githubResource({
8788 PullRequestEvent,
8889 IssuesEvent,
8990 PushEvent,
91+ ForkEvent : Event ,
9092 PullRequestReviewEvent,
9193 IssueCommentEvent : Event ,
9294 PullRequestReviewCommentEvent : Event ,
@@ -105,6 +107,7 @@ export const EventResource = githubResource({
105107export const typeToIcon : Record < Event [ 'type' ] , JSX . Element > = {
106108 PullRequestEvent : < PullRequestOutlined /> ,
107109 PushEvent : < CloudUploadOutlined /> ,
110+ ForkEvent : < ForkOutlined /> ,
108111 WatchEvent : < EyeOutlined /> ,
109112 IssueCommentEvent : < CommentOutlined /> ,
110113 PullRequestReviewEvent : < EyeOutlined /> ,
@@ -114,6 +117,7 @@ export const typeToIcon: Record<Event['type'], JSX.Element> = {
114117type EventType =
115118 | 'WatchEvent'
116119 | 'PushEvent'
120+ | 'ForkEvent'
117121 | 'IssuesEvent'
118122 | 'IssueCommentEvent'
119123 | 'CreateEvent'
You can’t perform that action at this time.
0 commit comments