From d485e5f621805092bf8fb8efce2db37453c648fc Mon Sep 17 00:00:00 2001 From: luzpaz Date: Mon, 24 Feb 2025 05:54:28 -0500 Subject: [PATCH] fix: typos in packages/app-store (#19470) Found via `codespell -q 3 -S "*.svg,./apps/web/public/static/locales,./packages/app-store/stripepayment/lib/currencyOptions.ts,./packages/lib/freeEmailDomainCheck/freeEmailDomains.ts" -L afterall,atleast,datea,fo,incase,ist,nam,notin,optionel,perview,reccuring` --- packages/app-store/_appRegistry.ts | 2 +- packages/app-store/basecamp3/trpc/projectMutation.handler.ts | 2 +- .../app-store/exchange2013calendar/lib/CalendarService.ts | 2 +- .../app-store/exchange2016calendar/lib/CalendarService.ts | 2 +- packages/app-store/googlecalendar/lib/CalendarService.ts | 2 +- packages/app-store/retell-ai/DESCRIPTION.md | 4 ++-- packages/app-store/routing-forms/TODO.md | 2 +- packages/app-store/routing-forms/lib/getSerializableForm.ts | 2 +- packages/app-store/vital/components/AppConfiguration.tsx | 2 +- packages/app-store/webex/README.md | 2 +- .../app-store/wipemycalother/components/confirmDialog.tsx | 2 +- packages/app-store/zoomvideo/lib/VideoApiAdapter.ts | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/app-store/_appRegistry.ts b/packages/app-store/_appRegistry.ts index 0999a76e53..2666e06ac2 100644 --- a/packages/app-store/_appRegistry.ts +++ b/packages/app-store/_appRegistry.ts @@ -13,7 +13,7 @@ export type TDependencyData = { }[]; /** - * Get App metdata either using dirName or slug + * Get App metadata either using dirName or slug */ export async function getAppWithMetadata(app: { dirName: string } | { slug: string }) { let appMetadata: App | null; diff --git a/packages/app-store/basecamp3/trpc/projectMutation.handler.ts b/packages/app-store/basecamp3/trpc/projectMutation.handler.ts index 5f7afc2aa2..fec2e0c422 100644 --- a/packages/app-store/basecamp3/trpc/projectMutation.handler.ts +++ b/packages/app-store/basecamp3/trpc/projectMutation.handler.ts @@ -58,5 +58,5 @@ export const projectMutationHandler = async ({ ctx, input }: ProjectMutationHand data: { key: { ...credentialKey, projectId: Number(projectId), scheduleId } }, }); - return { messsage: "Updated project successfully" }; + return { message: "Updated project successfully" }; }; diff --git a/packages/app-store/exchange2013calendar/lib/CalendarService.ts b/packages/app-store/exchange2013calendar/lib/CalendarService.ts index 4f4224a5ff..13f17e2821 100644 --- a/packages/app-store/exchange2013calendar/lib/CalendarService.ts +++ b/packages/app-store/exchange2013calendar/lib/CalendarService.ts @@ -147,7 +147,7 @@ export default class ExchangeCalendarService implements Calendar { const externalCalendars: IntegrationCalendar[] = await this.listCalendars(); const calendarsToGetAppointmentsFrom = []; for (let i = 0; i < selectedCalendars.length; i++) { - //Only select vaild calendars! (We get all all active calendars on the instance! even from different users!) + //Only select valid calendars! (We get all all active calendars on the instance! even from different users!) for (let k = 0; k < externalCalendars.length; k++) { if (selectedCalendars[i].externalId == externalCalendars[k].externalId) { calendarsToGetAppointmentsFrom.push(selectedCalendars[i]); diff --git a/packages/app-store/exchange2016calendar/lib/CalendarService.ts b/packages/app-store/exchange2016calendar/lib/CalendarService.ts index 1c33286d14..0f97cadc39 100644 --- a/packages/app-store/exchange2016calendar/lib/CalendarService.ts +++ b/packages/app-store/exchange2016calendar/lib/CalendarService.ts @@ -152,7 +152,7 @@ export default class ExchangeCalendarService implements Calendar { const externalCalendars = await this.listCalendars(); const calendarsToGetAppointmentsFrom = []; for (let i = 0; i < selectedCalendars.length; i++) { - //Only select vaild calendars! (We get all all active calendars on the instance! even from different users!) + //Only select valid calendars! (We get all all active calendars on the instance! even from different users!) for (let k = 0; k < externalCalendars.length; k++) { if (selectedCalendars[i].externalId == externalCalendars[k].externalId) { calendarsToGetAppointmentsFrom.push(selectedCalendars[i]); diff --git a/packages/app-store/googlecalendar/lib/CalendarService.ts b/packages/app-store/googlecalendar/lib/CalendarService.ts index f2da281f37..e3e68691cc 100644 --- a/packages/app-store/googlecalendar/lib/CalendarService.ts +++ b/packages/app-store/googlecalendar/lib/CalendarService.ts @@ -960,7 +960,7 @@ export default class GoogleCalendarService implements Calendar { /** Expand the end date to the end of the month */ timeMax: getTimeMax(), // Dont use eventTypeId in key because it can be used by any eventType - // The only reason we are building it per eventType is because there can be different groups of calendars to lookup the availablity for + // The only reason we are building it per eventType is because there can be different groups of calendars to lookup the availability for items: selectedCalendars.map((sc) => ({ id: sc.externalId })), }; const data = await this.fetchAvailability(parsedArgs); diff --git a/packages/app-store/retell-ai/DESCRIPTION.md b/packages/app-store/retell-ai/DESCRIPTION.md index 5f2d8b10e9..451987f29c 100644 --- a/packages/app-store/retell-ai/DESCRIPTION.md +++ b/packages/app-store/retell-ai/DESCRIPTION.md @@ -17,7 +17,7 @@ Build and test complex workflows in a matter of minutes, then deploy them via ph ## Preset Functions -Ease of use functions like book a meeting at Cal.com, Call transfer, voicemail dection, etc... +Ease of use functions like book a meeting at Cal.com, Call transfer, voicemail detection, etc... ## Humanlike Voice Experience @@ -27,6 +27,6 @@ Lifelike AI conversations with just 600ms latency, smooth turn-taking, and natur Support n+ languages, n+ countries phone numbers -## Effortless Prodcution +## Effortless Production Effortlessly handle millions of calls with scalable concurrent calling diff --git a/packages/app-store/routing-forms/TODO.md b/packages/app-store/routing-forms/TODO.md index cf08213fc5..4ae8af09e5 100644 --- a/packages/app-store/routing-forms/TODO.md +++ b/packages/app-store/routing-forms/TODO.md @@ -6,7 +6,7 @@ - [ ] Test Seated events as routing targets. - Improvements - [ ] When choosing 'Value of Field' option in RAQB, show a warning somewhere if all options of the Form field aren't present in the attribute option. - - So, if Form Field is 'What is Comapny Size' with options Enterprise, Large, Medium, Small and Attribute for which Value of 'What is compnay size' has options Enterprise, Large, Medium. It would show a warning that 'Small' option is not present in the attribute. + - So, if Form Field is 'What is Company Size' with options Enterprise, Large, Medium, Small and Attribute for which Value of 'What is compnay size' has options Enterprise, Large, Medium. It would show a warning that 'Small' option is not present in the attribute. - [ ] When logic can't be built(Short text maps to an attribute with given set of options but the short text value doesn't match any of the options), the team member matching route throws error but Test Preview still shows the previous value - It show should the error in there. - [ ] When routing to a team that doesn't have the team members assigned that are chosen, we are unable to select those users. FIX it by ignoring the assigned members(except the fixed hosts) and just using the attributes matched team members. - [ ] Fetch bookings on window focus but not when rerouting dialog is open. As soon as it is closed, we need to refetch again. diff --git a/packages/app-store/routing-forms/lib/getSerializableForm.ts b/packages/app-store/routing-forms/lib/getSerializableForm.ts index df6d669154..8309a4eadb 100644 --- a/packages/app-store/routing-forms/lib/getSerializableForm.ts +++ b/packages/app-store/routing-forms/lib/getSerializableForm.ts @@ -86,7 +86,7 @@ export async function getSerializableForm({ }); } - // Ideally we should't have needed to explicitly type it but due to some reason it's not working reliably with VSCode TypeCheck + // Ideally we shouldn't have needed to explicitly type it but due to some reason it's not working reliably with VSCode TypeCheck const serializableForm: SerializableForm = { ...form, settings, diff --git a/packages/app-store/vital/components/AppConfiguration.tsx b/packages/app-store/vital/components/AppConfiguration.tsx index 6e20585f1f..cedfc9df56 100644 --- a/packages/app-store/vital/components/AppConfiguration.tsx +++ b/packages/app-store/vital/components/AppConfiguration.tsx @@ -154,7 +154,7 @@ const AppConfiguration = (props: IAppConfigurationProps) => { await saveSettings({ parameter: selectedParam, sleepValue: sleepValue }); showToast("Success saving your Vital Configurations", "success"); } catch (error) { - showToast("An error ocurred saving your Vital Configurations", "error"); + showToast("An error occurred saving your Vital Configurations", "error"); setSaveLoading(false); } setTouchedForm(false); diff --git a/packages/app-store/webex/README.md b/packages/app-store/webex/README.md index f72dc04a23..0d9b6c9814 100644 --- a/packages/app-store/webex/README.md +++ b/packages/app-store/webex/README.md @@ -1,6 +1,6 @@ ### Obtaining Webex Client ID and Secret -1. Create a [Webex](https://www.webex.com/) acount, if you don't already have one. +1. Create a [Webex](https://www.webex.com/) account, if you don't already have one. 2. Go to [Webex for Developers](https://developer.webex.com/) and sign into to your Webex account. (Note: If you're creating a new account, create it on [Webex](https://www.webex.com/), not on [Webex for Developers](https://developer.webex.com/)) 3. On the upper right, click the profile icon and go to ["My Webex Apps"](https://developer.webex.com/my-apps) 4. Click on "Create a New App" and select ["Integration"](https://developer.webex.com/my-apps/new/integration) diff --git a/packages/app-store/wipemycalother/components/confirmDialog.tsx b/packages/app-store/wipemycalother/components/confirmDialog.tsx index 2dc38cb8bc..724ccc57a7 100644 --- a/packages/app-store/wipemycalother/components/confirmDialog.tsx +++ b/packages/app-store/wipemycalother/components/confirmDialog.tsx @@ -35,7 +35,7 @@ const wipeMyCalAction = async (props: IWipeMyCalAction) => { }); } catch (error: unknown) { if (error instanceof Error) { - showToast("Error ocurred while trying to cancel bookings", "error"); + showToast("Error occurred while trying to cancel bookings", "error"); } } }; diff --git a/packages/app-store/zoomvideo/lib/VideoApiAdapter.ts b/packages/app-store/zoomvideo/lib/VideoApiAdapter.ts index 51bc496609..dad1a80f3c 100644 --- a/packages/app-store/zoomvideo/lib/VideoApiAdapter.ts +++ b/packages/app-store/zoomvideo/lib/VideoApiAdapter.ts @@ -72,7 +72,7 @@ export const zoomUserSettingsSchema = z.object({ }); // https://developers.zoom.us/docs/api/rest/reference/user/methods/#operation/userSettings -// append comma seperated settings here, to retrieve only these specific settings +// append comma separated settings here, to retrieve only these specific settings const settingsApiFilterResp = "default_password_for_scheduled_meetings,auto_recording"; type ZoomRecurrence = {