Skip to content

[fix] Fix bookings filter v2 #150

[fix] Fix bookings filter v2

[fix] Fix bookings filter v2 #150

Triggered via pull request October 18, 2023 13:53
Status Success
Total duration 6m 59s
Artifacts

check-types.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

150 warnings
check-types
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
apps/web/components/booking/AvailableTimes.tsx#L16
[@typescript-eslint/no-unused-vars] 'key' is defined but never used.
packages/app-store/_components/DynamicComponent.tsx#L1
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/office365calendar/lib/CalendarService.ts#L406
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/applecalendar/api/add.ts#L25
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/components/booking/pages/BookingPage.tsx#L9
[@typescript-eslint/no-unused-vars] 'Controller' is defined but never used.
packages/app-store/office365calendar/lib/CalendarService.ts#L406
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/around/api/_getAdd.ts#L10
[@typescript-eslint/no-unused-vars] 'res' is defined but never used.
apps/web/components/booking/pages/BookingPage.tsx#L206
[@typescript-eslint/no-unused-vars] 'guestToggle' is assigned a value but never used.
packages/app-store/ping/api/_getAdd.ts#L10
[@typescript-eslint/no-unused-vars] 'res' is defined but never used.
packages/app-store/caldavcalendar/api/add.ts#L27
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/components/eventtype/EventSetupTab.tsx#L42
[@typescript-eslint/no-unused-vars] 'getDefaultLocationValue' is assigned a value but never used.
packages/app-store/riverside/api/_getAdd.ts#L10
[@typescript-eslint/no-unused-vars] 'res' is defined but never used.
packages/app-store/closecom/lib/CalendarService.ts#L115
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/salesforce/api/callback.ts#L44
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/components/eventtype/RequiresConfirmationController.tsx#L37
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'formMethods'. Either include it or remove the dependency array.
packages/app-store/salesforce/lib/CalendarService.ts#L267
[@typescript-eslint/no-unused-vars] 'dateFrom' is defined but never used.
apps/web/components/getting-started/steps-views/UserProfile.tsx#L27
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/closecom/lib/CalendarService.ts#L124
[@typescript-eslint/no-unused-vars] 'dateFrom' is defined but never used.
packages/app-store/salesforce/lib/CalendarService.ts#L267
[@typescript-eslint/no-unused-vars] 'dateTo' is defined but never used.
apps/web/lib/QueryCell.tsx#L69
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/closecom/lib/CalendarService.ts#L125
[@typescript-eslint/no-unused-vars] 'dateTo' is defined but never used.
packages/app-store/salesforce/lib/CalendarService.ts#L267
[@typescript-eslint/no-unused-vars] 'selectedCalendars' is defined but never used.
apps/web/lib/QueryCell.tsx#L91
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/closecom/lib/CalendarService.ts#L126
[@typescript-eslint/no-unused-vars] 'selectedCalendars' is defined but never used.
packages/app-store/salesforce/lib/CalendarService.ts#L271
[@typescript-eslint/no-unused-vars] 'event' is defined but never used.
packages/app-store/closecom/lib/CalendarService.ts#L131
[@typescript-eslint/no-unused-vars] 'event' is defined but never used.
packages/app-store/sendgrid/lib/CalendarService.ts#L76
[@typescript-eslint/no-unused-vars] 'uid' is defined but never used.
apps/web/lib/QueryCell.tsx#L93
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/sendgrid/lib/CalendarService.ts#L76
[@typescript-eslint/no-unused-vars] 'event' is defined but never used.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L28
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/lib/redis.ts#L4
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L42
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/lib/types/inferSSRProps.ts#L3
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L62
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/sendgrid/lib/CalendarService.ts#L76
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/lib/types/inferSSRProps.ts#L5
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L80
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/sendgrid/lib/CalendarService.ts#L82
[@typescript-eslint/no-unused-vars] 'uid' is defined but never used.
apps/web/lib/types/inferSSRProps.ts#L7
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L93
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/sendgrid/lib/CalendarService.ts#L89
[@typescript-eslint/no-unused-vars] 'dateFrom' is defined but never used.
apps/web/pages/_app.tsx#L111
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L100
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/sendgrid/lib/CalendarService.ts#L90
[@typescript-eslint/no-unused-vars] 'dateTo' is defined but never used.
apps/web/pages/auth/forgot-password/[id].tsx#L25
[@typescript-eslint/no-unused-vars] 'error' is assigned a value but never used.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L106
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/sendgrid/lib/CalendarService.ts#L91
[@typescript-eslint/no-unused-vars] 'selectedCalendars' is defined but never used.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L129
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/sendgrid/lib/CalendarService.ts#L96
[@typescript-eslint/no-unused-vars] 'event' is defined but never used.
apps/web/pages/auth/sso/[provider].tsx#L110
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L135
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/stripepayment/api/callback.ts#L35
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/pages/availability/troubleshoot.tsx#L7
[@typescript-eslint/no-unused-vars] 'SkeletonText' is defined but never used.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L142
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/stripepayment/lib/client/getStripe.ts#L6
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/pages/booking/[uid].tsx#L265
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'props.bookingInfo.endTime' and 'props.bookingInfo.startTime'. Either include them or remove the dependency array. If 'setCalculatedDuration' needs the current value of 'props.bookingInfo.endTime', you can also switch to useReducer instead of useState and read 'props.bookingInfo.endTime' in the reducer.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L177
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/stripepayment/lib/server.ts#L38
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/pages/settings/security/password.tsx#L4
[@typescript-eslint/no-unused-vars] 'useState' is defined but never used.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L184
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/vital/api/webhook.ts#L49
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/pages/video/[uid].tsx#L49
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'meetingPassword' and 'meetingUrl'. Either include them or remove the dependency array.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L190
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/vital/components/AppConfiguration.tsx#L84
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'options'. Either include it or remove the dependency array.
apps/web/playwright/auth/auth-index.e2e.ts#L11
[@typescript-eslint/no-unused-vars] 'browser' is defined but never used.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L197
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/whereby/api/_getAdd.ts#L10
[@typescript-eslint/no-unused-vars] 'res' is defined but never used.
apps/web/playwright/auth/auth-index.e2e.ts#L11
[@typescript-eslint/no-unused-vars] 'prisma' is defined but never used.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L228
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/auth/forgot-password.e2e.ts#L7
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L234
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/availability.e2e.ts#L3
[@typescript-eslint/no-unused-vars] 'dayjs' is defined but never used.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L241
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/wipemycalother/api/wipe.ts#L67
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/change-username.e2e.ts#L53
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L247
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/swagger/lib/snippets.ts#L33
[@typescript-eslint/no-unused-vars] 'system' is defined but never used.
apps/web/playwright/fixtures/bookings.ts#L56
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/ui/components/apps/AllApps.tsx#L148
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'categories'. Either include it or remove the dependency array.
packages/app-store/closecom/test/lib/CalendarService.test.ts#L253
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/bookings.ts#L78
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/dailyvideo/lib/VideoApiAdapter.ts#L79
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/bookings.ts#L79
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/ui/components/editor/Editor.tsx#L37
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/exchange2013calendar/api/add.ts#L34
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/ui/components/editor/plugins/AutoLinkPlugin.tsx#L10
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/embeds.ts#L48
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/exchange2016calendar/api/add.ts#L34
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/ui/components/editor/plugins/AutoLinkPlugin.tsx#L21
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/payments.ts#L35
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/exchange2016calendar/lib/CalendarService.ts#L94
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/ui/components/editor/plugins/ToolbarPlugin.tsx#L363
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'editor' and 'props'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect.
packages/app-store/exchangecalendar/pages/setup/index.tsx#L109
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/playwright/fixtures/payments.ts#L56
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/ui/components/editor/plugins/ToolbarPlugin.tsx#L374
[@typescript-eslint/no-unused-vars] '_payload' is defined but never used.
packages/ui/components/editor/plugins/ToolbarPlugin.tsx#L374
[@typescript-eslint/no-unused-vars] 'newEditor' is defined but never used.
apps/web/playwright/fixtures/payments.ts#L57
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/giphy/components/SearchDialog.tsx#L86
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/ui/components/form/checkbox/MultiSelectCheckboxes.tsx#L15
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/googlecalendar/lib/CalendarService.ts#L165
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/ui/components/form/checkbox/MultiSelectCheckboxes.tsx#L15
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/ui/components/form/checkbox/MultiSelectCheckboxes.tsx#L59
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/users.ts#L221
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/ui/components/form/checkbox/MultiSelectCheckboxes.tsx#L78
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/users.ts#L249
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/googlecalendar/lib/CalendarService.ts#L168
[@typescript-eslint/no-unused-vars] 'id' is defined but never used.
packages/ui/components/meta/Meta.tsx#L23
[@typescript-eslint/no-unused-vars] 'newMeta' is defined but never used.
apps/web/playwright/fixtures/users.ts#L262
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/hubspot/api/callback.ts#L52
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/ui/components/popover/AnimatedPopover.tsx#L24
[@typescript-eslint/no-unused-vars] 'y' is assigned a value but never used.
packages/app-store/hubspot/lib/CalendarService.ts#L29
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/integrations-stripe.e2e.ts#L43
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/ui/form/MultiSelectCheckboxes.tsx#L19
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/hubspot/lib/CalendarService.ts#L116
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/integrations.e2e.ts#L44
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/ui/form/MultiSelectCheckboxes.tsx#L19
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/hubspot/lib/CalendarService.ts#L116
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/ui/form/MultiSelectCheckboxes.tsx#L64
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/hubspot/lib/CalendarService.ts#L118
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/lib/teardown.ts#L27
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/hubspot/lib/CalendarService.ts#L184
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/lib/testUtils.ts#L42
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/hubspot/lib/CalendarService.ts#L267
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/ui/form/MultiSelectCheckboxes.tsx#L87
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/reschedule.e2e.ts#L24
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/hubspot/lib/CalendarService.ts#L280
[@typescript-eslint/no-unused-vars] 'dateFrom' is defined but never used.
packages/ui/form/PhoneInput.tsx#L12
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/ui/form/Select.tsx#L69
[@typescript-eslint/no-unused-vars] 'className' is defined but never used.
apps/web/playwright/reschedule.e2e.ts#L49
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
packages/app-store/hubspot/lib/CalendarService.ts#L281
[@typescript-eslint/no-unused-vars] 'dateTo' is defined but never used.
packages/ui/form/fields.tsx#L91
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/hubspot/lib/CalendarService.ts#L282
[@typescript-eslint/no-unused-vars] 'selectedCalendars' is defined but never used.
apps/web/playwright/reschedule.e2e.ts#L51
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/ui/form/fields.tsx#L187
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/hubspot/lib/CalendarService.ts#L287
[@typescript-eslint/no-unused-vars] 'event' is defined but never used.
apps/web/components/AppListCard.tsx#L62
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'highlight', 'router', and 'shouldHighlight'. Either include them or remove the dependency array.
packages/app-store/office365calendar/lib/CalendarService.ts#L33
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/office365calendar/lib/CalendarService.ts#L74
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/components/Embed.tsx#L15
[@typescript-eslint/no-unused-vars] 'InputLeading' is defined but never used.
apps/web/playwright/reschedule.e2e.ts#L110
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/office365calendar/lib/CalendarService.ts#L376
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/components/apps/layouts/InstalledAppsLayout.tsx#L55
[@typescript-eslint/no-unused-vars] 'actualTabs' is assigned a value but never used.
apps/web/playwright/reschedule.e2e.ts#L139
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/components/booking/AvailableTimes.tsx#L15
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/reschedule.e2e.ts#L160
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/playwright/reschedule.e2e.ts#L180
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/playwright/webhook.e2e.ts#L48
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/scripts/ts-check-changed-files.ts#L21
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/test/lib/getSchedule.test.ts#L442
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.