diff --git a/examples/github-app/src/resources/Event.tsx b/examples/github-app/src/resources/Event.tsx index 64b7df847911..034a14bb4c7b 100644 --- a/examples/github-app/src/resources/Event.tsx +++ b/examples/github-app/src/resources/Event.tsx @@ -4,6 +4,7 @@ import { ExclamationCircleOutlined, EyeOutlined, PullRequestOutlined, + ForkOutlined, } from '@ant-design/icons'; import { schema } from '@data-client/rest'; import { Temporal } from '@js-temporal/polyfill'; @@ -87,6 +88,7 @@ export const EventResource = githubResource({ PullRequestEvent, IssuesEvent, PushEvent, + ForkEvent: Event, PullRequestReviewEvent, IssueCommentEvent: Event, PullRequestReviewCommentEvent: Event, @@ -105,6 +107,7 @@ export const EventResource = githubResource({ export const typeToIcon: Record = { PullRequestEvent: , PushEvent: , + ForkEvent: , WatchEvent: , IssueCommentEvent: , PullRequestReviewEvent: , @@ -114,6 +117,7 @@ export const typeToIcon: Record = { type EventType = | 'WatchEvent' | 'PushEvent' + | 'ForkEvent' | 'IssuesEvent' | 'IssueCommentEvent' | 'CreateEvent'