diff --git a/src/lib/components/eventModal.svelte b/src/lib/components/eventModal.svelte index e89d4b74c..1b20dbb36 100644 --- a/src/lib/components/eventModal.svelte +++ b/src/lib/components/eventModal.svelte @@ -79,7 +79,7 @@ : selected.service?.actions; // We need to check if the selected action name is still - // on the available list, and if so, change tje action to the + // on the available list, and if so, change the action to the // appropriate one, as it may contain different attributes const availableAction = availableActions.find( (a) => a.name === selected.action?.name diff --git a/src/lib/components/permissions/label.svelte b/src/lib/components/permissions/label.svelte index b927b544f..86a86b714 100644 --- a/src/lib/components/permissions/label.svelte +++ b/src/lib/components/permissions/label.svelte @@ -34,7 +34,7 @@ diff --git a/src/lib/helpers/date.ts b/src/lib/helpers/date.ts index 49b5ff7ee..f8275753b 100644 --- a/src/lib/helpers/date.ts +++ b/src/lib/helpers/date.ts @@ -51,7 +51,7 @@ export const toLocaleDateTime = (datetime: string | number) => { }; /** - * Returns a date string usig the local timezone in ISO format (yyyy-mm-dd) + * Returns a date string using the local timezone in ISO format (yyyy-mm-dd) * * @param datetime date string or milliseconds since the epoch */ @@ -67,7 +67,7 @@ export const toLocaleDateISO = (datetime: string | number) => { }; /** - * Returns a time string usig the local timezone in ISO format (hh:mm:ss) + * Returns a time string using the local timezone in ISO format (hh:mm:ss) * * @param datetime date string or milliseconds since the epoch */ diff --git a/src/lib/sdk/billing.ts b/src/lib/sdk/billing.ts index a665d2e72..c9e8a6c4d 100644 --- a/src/lib/sdk/billing.ts +++ b/src/lib/sdk/billing.ts @@ -146,7 +146,7 @@ export type Aggregation = { */ amount: number; /** - * Price for addional members + * Price for additional members */ additionalMembers: number; /** diff --git a/src/lib/stores/headerAlert.ts b/src/lib/stores/headerAlert.ts index 2f5ed499f..ed8ecfeca 100644 --- a/src/lib/stores/headerAlert.ts +++ b/src/lib/stores/headerAlert.ts @@ -31,7 +31,7 @@ function createHeaderAlertStore() { }); }, get: (): HeaderAlert => { - //return higest importance component + //return highest importance component let component = { id: '', show: false, diff --git a/src/lib/stores/stripe.ts b/src/lib/stores/stripe.ts index a25ad7a7b..58edfd431 100644 --- a/src/lib/stores/stripe.ts +++ b/src/lib/stores/stripe.ts @@ -36,7 +36,7 @@ export async function initializeStripe() { // Set up the options for the stripe elements const options = { clientSecret: clientSecret, - appearance: get(app).themeInUse === 'dark' ? apperanceDark : apperanceLight + appearance: get(app).themeInUse === 'dark' ? appearanceDark : appearanceLight }; // Set up Elements and then create form elements = get(stripe).elements(options); @@ -184,7 +184,7 @@ export async function confirmSetup( } } -const apperanceLight = { +const appearanceLight = { variables: { colorPrimary: '#606a7b', colorText: 'rgb(107, 107, 112)', @@ -213,7 +213,7 @@ const apperanceLight = { } }; -const apperanceDark = { +const appearanceDark = { variables: { colorPrimary: '#606a7b', colorText: 'rgb(195, 195, 198)', diff --git a/src/routes/(console)/(migration-wizard)/resource-form.svelte b/src/routes/(console)/(migration-wizard)/resource-form.svelte index 1da67926c..cc7e34ca8 100644 --- a/src/routes/(console)/(migration-wizard)/resource-form.svelte +++ b/src/routes/(console)/(migration-wizard)/resource-form.svelte @@ -36,7 +36,7 @@ /** * * @param field {string} The field to update. - * Representes the path to the field in the formData object e.g. 'users.root' + * Represents the path to the field in the formData object e.g. 'users.root' */ function handleInputChange(field: FormKeys) { return (event: Event) => { diff --git a/src/routes/(console)/project-[project]/auth/user-[user]/updateStatus.svelte b/src/routes/(console)/project-[project]/auth/user-[user]/updateStatus.svelte index c0790da99..fcc6fd09a 100644 --- a/src/routes/(console)/project-[project]/auth/user-[user]/updateStatus.svelte +++ b/src/routes/(console)/project-[project]/auth/user-[user]/updateStatus.svelte @@ -10,10 +10,10 @@ import { sdk } from '$lib/stores/sdk'; import { user } from './store'; - let showVerifcationDropdown = false; + let showVerificationDropdown = false; async function updateVerificationEmail() { - showVerifcationDropdown = false; + showVerificationDropdown = false; try { await sdk.forProject.users.updateEmailVerification($user.$id, !$user.emailVerification); await invalidate(Dependencies.USER); @@ -33,7 +33,7 @@ } } async function updateVerificationPhone() { - showVerifcationDropdown = false; + showVerificationDropdown = false; try { await sdk.forProject.users.updatePhoneVerification($user.$id, !$user.phoneVerification); await invalidate(Dependencies.USER); @@ -135,10 +135,10 @@ {#if $user.status} {#if $user.phone && $user.email} - + diff --git a/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/attributes/enum.svelte b/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/attributes/enum.svelte index a9cb99c02..9fba77784 100644 --- a/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/attributes/enum.svelte +++ b/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/attributes/enum.svelte @@ -88,7 +88,7 @@ label="Elements" bind:tags={data.elements} placeholder="Add elements here" - tooltip="Enum elements have a maxiumum length of 255 characters. This limit can not be exceeded." + tooltip="Enum elements have a maximum length of 255 characters. This limit can not be exceeded." required> diff --git a/src/routes/(console)/project-[project]/functions/function-[function]/settings/updateConfiguration.svelte b/src/routes/(console)/project-[project]/functions/function-[function]/settings/updateConfiguration.svelte index 98f0d7ee1..666b1e0a7 100644 --- a/src/routes/(console)/project-[project]/functions/function-[function]/settings/updateConfiguration.svelte +++ b/src/routes/(console)/project-[project]/functions/function-[function]/settings/updateConfiguration.svelte @@ -326,7 +326,7 @@ diff --git a/src/routes/(console)/project-[project]/messaging/smsPhone.svelte b/src/routes/(console)/project-[project]/messaging/smsPhone.svelte index 46191efd1..63526c264 100644 --- a/src/routes/(console)/project-[project]/messaging/smsPhone.svelte +++ b/src/routes/(console)/project-[project]/messaging/smsPhone.svelte @@ -4,7 +4,7 @@ export let content = ''; export let classes = ''; - function getIntials(name: string) { + function getInitials(name: string) { let words = name.split(' '); // If there is only one word, split it by underscore if (words.length === 1) { @@ -32,7 +32,7 @@
- {getIntials($project.name)} + {getInitials($project.name)}
{$project.name}
diff --git a/src/routes/(console)/project-[project]/messaging/wizard/step3.svelte b/src/routes/(console)/project-[project]/messaging/wizard/step3.svelte index f240a4041..19d865909 100644 --- a/src/routes/(console)/project-[project]/messaging/wizard/step3.svelte +++ b/src/routes/(console)/project-[project]/messaging/wizard/step3.svelte @@ -16,7 +16,7 @@ let time: string; let dateTime: Date; let docsUrl = `https://appwrite.io/docs/products/messaging`; - let showConfimation = false; + let showConfirmation = false; let totalTargets = $messageParams[$providerType].targets?.length ?? 0; @@ -60,14 +60,14 @@ async function askForConfirmation() { $wizard.interceptorNotificationEnabled = false; - showConfimation = true; + showConfirmation = true; throw 'Show confirmation'; } async function submit() { $wizard.interceptorNotificationEnabled = true; await $wizard.finalAction(); - showConfimation = false; + showConfirmation = false; } $: if (when === 'now') { @@ -127,14 +127,14 @@ - +

You are about to send a message to an estimated {totalTargets} recipients. Would you like to proceed?

This action is irreversible.

- +
diff --git a/src/routes/(console)/project-[project]/overview/+layout.svelte b/src/routes/(console)/project-[project]/overview/+layout.svelte index b837160d9..d0f59d1fc 100644 --- a/src/routes/(console)/project-[project]/overview/+layout.svelte +++ b/src/routes/(console)/project-[project]/overview/+layout.svelte @@ -16,7 +16,7 @@ import { Container, type UsagePeriods } from '$lib/layout'; import { onMount } from 'svelte'; import { onboarding, project } from '../store'; - import Bandwith from './bandwith.svelte'; + import Bandwidth from './bandwidth.svelte'; import { createApiKey } from './keys/+page.svelte'; import Onboard from './onboard.svelte'; import Realtime from './realtime.svelte'; @@ -91,7 +91,7 @@
- changePeriod(e.detail)} /> + changePeriod(e.detail)} />
changePeriod(e.detail)} /> diff --git a/src/routes/(console)/project-[project]/overview/bandwith.svelte b/src/routes/(console)/project-[project]/overview/bandwidth.svelte similarity index 93% rename from src/routes/(console)/project-[project]/overview/bandwith.svelte rename to src/routes/(console)/project-[project]/overview/bandwidth.svelte index e508e935e..a6e1b53c9 100644 --- a/src/routes/(console)/project-[project]/overview/bandwith.svelte +++ b/src/routes/(console)/project-[project]/overview/bandwidth.svelte @@ -18,7 +18,7 @@ value: number; }>; - $: bandwith = humanFileSize(totalMetrics($usage?.network)); + $: bandwidth = humanFileSize(totalMetrics($usage?.network)); $: if (period) { showPeriod = false; @@ -28,8 +28,8 @@
- {bandwith.value} - {bandwith.unit} + {bandwidth.value} + {bandwidth.unit}
Bandwidth
@@ -45,7 +45,7 @@
-{#if bandwith.value !== '0'} +{#if bandwidth.value !== '0'}
-
+