Skip to content

refactor: v2 event-types #36876

refactor: v2 event-types

refactor: v2 event-types #36876

Triggered via pull request June 19, 2024 10:28
@supalarrysupalarry
synchronize #15457
Status Success
Total duration 16s
Artifacts

labeler.yml

on: pull_request_target
labeler
4s
labeler
team-labels
7s
team-labels
apply-labels-from-issue
4s
apply-labels-from-issue
Fit to window
Zoom out
Zoom in

Annotations

124 warnings
team-labels
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: equitybee/team-label-action@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
team-labels
The following actions uses node12 which is deprecated and will be forced to run on node16: equitybee/team-label-action@main. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
packages/app-store/_utils/getCrm.ts#L7
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/_utils/getCrm.ts#L7
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/teams.e2e.ts#L202
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/lib/apps/[slug]/getStaticProps.tsx#L13
[@typescript-eslint/no-unused-vars] 'md' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/_utils/useAddAppMutation.ts#L30
[@typescript-eslint/no-unused-vars] 'useAddAppMutationVariables' is defined but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/teams.e2e.ts#L205
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/lib/orgMigration.test.ts#L1001
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L25
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/playwright/webhook.e2e.ts#L489
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1082
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L38
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/test/lib/team-event-types.test.ts#L79
[@typescript-eslint/no-unused-vars] 'test' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/lib/orgMigration.test.ts#L1154
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L41
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/lib/orgMigration.test.ts#L1265
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L139
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L42
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/lib/orgMigration.test.ts#L1304
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L211
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L60
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/lib/orgMigration.test.ts#L1353
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L220
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L72
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/lib/orgMigration.ts#L261
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L221
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L77
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/lib/orgMigration.ts#L377
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L222
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L104
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/lib/team/[slug]/[type]/getServerSideProps.tsx#L26
[@typescript-eslint/no-unused-vars] 'queryDuration' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L223
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/testUtils.ts#L110
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/middleware.ts#L14
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L362
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/hubspot/lib/CrmService.ts#L25
[@typescript-eslint/no-unused-vars] 'CustomPublicObjectInput' is defined but never used. Allowed unused vars must match /^_/u.
apps/web/modules/event-types/views/event-types-single-view.tsx#L230
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'eventType.hosts.length' and 'team'. Either include them or remove the dependency array.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L363
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/jelly/lib/VideoApiAdapter.ts#L11
[@typescript-eslint/no-unused-vars] 'event' is defined but never used. Allowed unused args must match /^_/u.
apps/web/modules/videos/ai/ai-transcribe.tsx#L10
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L496
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/jelly/lib/VideoApiAdapter.ts#L32
[@typescript-eslint/no-unused-vars] 'event' is defined but never used. Allowed unused args must match /^_/u.
apps/web/modules/videos/ai/ai-transcribe.tsx#L27
[@typescript-eslint/no-unused-vars] 'ev' is defined but never used. Allowed unused args must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L497
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/jelly/lib/VideoApiAdapter.ts#L41
[@typescript-eslint/no-unused-vars] 'uid' is defined but never used. Allowed unused args must match /^_/u.
apps/web/modules/videos/ai/ai-transcribe.tsx#L38
[@typescript-eslint/no-unused-vars] 'ev' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/jelly/lib/VideoApiAdapter.ts#L45
[@typescript-eslint/no-unused-vars] 'dateFrom' is defined but never used. Allowed unused args must match /^_/u.
apps/web/pages/api/auth/two-factor/totp/disable.ts#L26
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L498
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/pages/api/auth/two-factor/totp/setup.ts#L28
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/jelly/lib/VideoApiAdapter.ts#L45
[@typescript-eslint/no-unused-vars] 'dateTo' is defined but never used. Allowed unused args must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L501
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/paypal/components/EventTypeAppSettingsInterface.tsx#L35
[@typescript-eslint/no-unused-vars] 'setRequirePayment' is assigned a value but never used. Allowed unused elements of array destructuring patterns must match /^_/u.
apps/web/pages/apps/installation/[[...step]].tsx#L126
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'formMethods'. Either include it or remove the dependency array.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L504
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/pages/settings/my-account/calendars.tsx#L12
[@typescript-eslint/no-unused-vars] 'SkeletonLoader' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/paypal/components/EventTypeAppSettingsInterface.tsx#L48
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'getAppData', 'requirePayment', and 'setAppData'. Either include them or remove the dependency array. If 'getAppData' changes too often, find the parent component that defines it and wrap that definition in useCallback.
apps/web/pages/settings/my-account/profile.tsx#L507
[@typescript-eslint/no-unused-vars] 'isFallbackImg' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/routing-forms/components/getServerSidePropsSingleForm.ts#L92
[@typescript-eslint/no-unused-vars] 'u' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/pages/settings/my-account/profile.tsx#L509
[@typescript-eslint/no-unused-vars] 'userOrganization' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/routing-forms/pages/route-builder/[...appPages].tsx#L149
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'eventOptions' and 'route'. Either include them or remove the dependency array. If 'setCustomEventTypeSlug' needs the current value of 'route', you can also switch to useReducer instead of useState and read 'route' in the reducer.
apps/web/pages/settings/organizations/new/index.tsx#L13
[@typescript-eslint/no-unused-vars] 'querySlug' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/routing-forms/trpc/forms.handler.ts#L40
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L663
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/pages/settings/platform/oauth-clients/[clientId]/edit/index.tsx#L52
[@typescript-eslint/no-unused-vars] 'userPermissions' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/salesforce/components/EventTypeAppCardInterface.tsx#L17
[@typescript-eslint/no-unused-vars] 'disabled' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L1535
[@typescript-eslint/no-unused-vars] 'app' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L27
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/salesforce/lib/CrmService.ts#L23
[@typescript-eslint/no-unused-vars] 'ContactSearchResult' is defined but never used. Allowed unused vars must match /^_/u.
apps/web/test/utils/bookingScenario/expects.ts#L174
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/playwright/ab-tests-redirect.e2e.ts#L43
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/salesforce/lib/CrmService.ts#L40
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/test/utils/bookingScenario/expects.ts#L390
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/playwright/ab-tests-redirect.e2e.ts#L59
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/stripepayment/components/EventTypeAppCardInterface.tsx#L25
[@typescript-eslint/no-unused-vars] 'setRequirePayment' is assigned a value but never used. Allowed unused elements of array destructuring patterns must match /^_/u.
apps/web/test/utils/bookingScenario/expects.ts#L773
[@typescript-eslint/no-unused-vars] 'organizer' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L75
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/zapier/api/subscriptions/listBookings.ts#L18
[@typescript-eslint/no-unused-vars] 'userInfo' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L91
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/zapier/api/subscriptions/listBookings.ts#L23
[@typescript-eslint/no-unused-vars] 'teamInfo' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L107
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/zohocalendar/lib/CalendarService.ts#L283
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/ab-tests-redirect.e2e.ts#L123
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/zohocalendar/lib/CalendarService.ts#L284
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/app-store.e2e.ts#L13
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
packages/ui/components/dialog/Dialog.tsx#L214
[@typescript-eslint/no-unused-vars] 'DialogCloseProps' is defined but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/fixtures/bookings.ts#L94
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/ui/components/form/datepicker/DatePicker.tsx#L17
[@typescript-eslint/no-unused-vars] 'minDate' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/fixtures/bookings.ts#L94
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/ui/components/image-uploader/BannerUploader.tsx#L130
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'height', 't', and 'width'. Either include them or remove the dependency array.
apps/web/playwright/fixtures/users.ts#L605
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/app/WithAppDirSsg.tsx#L5
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/users.ts#L627
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/app/WithAppDirSsr.tsx#L5
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/users.ts#L657
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/app/WithEmbedSSR.tsx#L12
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/users.ts#L658
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/app/future/apps/[slug]/[...pages]/page.tsx#L130
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/playwright/organization/booking.e2e.ts#L407
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/app/layoutHOC.tsx#L9
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/out-of-office.e2e.ts#L14
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/app/layoutHOC.tsx#L16
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/out-of-office.e2e.ts#L33
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/apps/AppPage.tsx#L130
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'mutation', 'searchParams', 'slug', 'type', and 'variant'. Either include them or remove the dependency array.
apps/web/playwright/payment-apps.e2e.ts#L235
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/components/apps/installation/ConfigureStepCard.tsx#L63
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'categories', 'credentialId', 'getAppDataSetter', and 'slug'. Either include them or remove the dependency array.
apps/web/playwright/payment-apps.e2e.ts#L281
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/playwright/payment.e2e.ts#L17
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/apps/installation/ConfigureStepCard.tsx#L151
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'setConfigureStep'. Either include it or remove the dependency array. If 'setConfigureStep' changes too often, find the parent component that defines it and wrap that definition in useCallback.
apps/web/playwright/payment.e2e.ts#L18
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/eventtype/AIEventController.tsx#L100
[@typescript-eslint/no-unused-vars] 'err' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/profile.e2e.ts#L395
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/components/eventtype/EventAvailabilityTab.tsx#L226
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'eventType.schedule', 'eventType.scheduleName', 'getValues', 'isChildrenManagedEventType', 'isManagedEventType', 'setValue', 't', and 'watchSchedule'. Either include them or remove the dependency array.
apps/web/playwright/signup.e2e.ts#L194
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/components/eventtype/EventTeamTab.tsx#L283
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/teams.e2e.ts#L22
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/eventtype/EventTypeSingleLayout.tsx#L287
[react-hooks/exhaustive-deps] React Hook useMemo has missing dependencies: 'eventType.id' and 'formMethods'. Either include them or remove the dependency array.
apps/web/playwright/teams.e2e.ts#L152
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/components/eventtype/EventTypeSingleLayout.tsx#L299
[react-hooks/exhaustive-deps] React Hook useMemo has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked.
apps/web/playwright/teams.e2e.ts#L162
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/components/settings/SecondaryEmailModal.tsx#L49
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'clearErrorMessage' and 'formMethods'. Either include them or remove the dependency array. If 'clearErrorMessage' changes too often, find the parent component that defines it and wrap that definition in useCallback.
apps/web/playwright/teams.e2e.ts#L167
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/settings/platform/oauth-clients/oauth-client-form/index.tsx#L44
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.