From bf250547f6cb5f55c65a211e0cbca8931e2be849 Mon Sep 17 00:00:00 2001 From: Peyton Nowlin Date: Thu, 15 Jan 2026 00:15:18 -0500 Subject: [PATCH] fix: correct typos across codebase (#41038) - Fix 'occured' -> 'occurred' in ErrorDetailsButton.tsx - Fix 'requried' -> 'required' in storage bucket mutations - Fix 'reponse' -> 'response' in API spec files - Fix 'localy' -> 'locally' and 'depoy' -> 'deploy' in README Co-authored-by: Chris Chinchilla --- apps/docs/spec/supabase_dart_v2.yml | 2 +- apps/docs/spec/supabase_js_v2.yml | 2 +- apps/docs/spec/supabase_py_v2.yml | 2 +- apps/docs/spec/supabase_swift_v1.yml | 2 +- apps/docs/spec/supabase_swift_v2.yml | 2 +- apps/studio/data/storage/analytics-bucket-delete-mutation.ts | 2 +- apps/studio/data/storage/bucket-delete-mutation.ts | 2 +- apps/studio/data/storage/bucket-empty-mutation.ts | 2 +- apps/studio/data/storage/bucket-update-mutation.ts | 2 +- supabase/functions/og-images/README.md | 4 ++-- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/docs/spec/supabase_dart_v2.yml b/apps/docs/spec/supabase_dart_v2.yml index caabeac6bb2..832ad5e780a 100644 --- a/apps/docs/spec/supabase_dart_v2.yml +++ b/apps/docs/spec/supabase_dart_v2.yml @@ -5513,7 +5513,7 @@ functions: (2, 'viola'), (3, 'cello'); ``` - reponse: | + response: | ```json [ { diff --git a/apps/docs/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.yml index 0f6c779e787..70a55cf9a92 100644 --- a/apps/docs/spec/supabase_js_v2.yml +++ b/apps/docs/spec/supabase_js_v2.yml @@ -6083,7 +6083,7 @@ functions: (2, 'Leia'), (3, 'Han'); ``` - reponse: | + response: | ```json { "data": [ diff --git a/apps/docs/spec/supabase_py_v2.yml b/apps/docs/spec/supabase_py_v2.yml index 40fcb7374fc..eec8632af4e 100644 --- a/apps/docs/spec/supabase_py_v2.yml +++ b/apps/docs/spec/supabase_py_v2.yml @@ -6109,7 +6109,7 @@ functions: (2, 'Earth'), (3, 'Mars'); ``` - reponse: | + response: | ```json { "data": [ diff --git a/apps/docs/spec/supabase_swift_v1.yml b/apps/docs/spec/supabase_swift_v1.yml index 00a9948a285..ebe4b3ddb80 100644 --- a/apps/docs/spec/supabase_swift_v1.yml +++ b/apps/docs/spec/supabase_swift_v1.yml @@ -2070,7 +2070,7 @@ functions: (2, 'viola'), (3, 'cello'); ``` - reponse: | + response: | ```json { "data": [ diff --git a/apps/docs/spec/supabase_swift_v2.yml b/apps/docs/spec/supabase_swift_v2.yml index e903fb68347..b2b6a3a2e91 100644 --- a/apps/docs/spec/supabase_swift_v2.yml +++ b/apps/docs/spec/supabase_swift_v2.yml @@ -3119,7 +3119,7 @@ functions: (2, 'viola'), (3, 'cello'); ``` - reponse: | + response: | ```json { "data": [ diff --git a/apps/studio/data/storage/analytics-bucket-delete-mutation.ts b/apps/studio/data/storage/analytics-bucket-delete-mutation.ts index 01a99245856..0028d180223 100644 --- a/apps/studio/data/storage/analytics-bucket-delete-mutation.ts +++ b/apps/studio/data/storage/analytics-bucket-delete-mutation.ts @@ -12,7 +12,7 @@ type AnalyticsBucketDeleteVariables = { async function deleteAnalyticsBucket({ projectRef, id }: AnalyticsBucketDeleteVariables) { if (!projectRef) throw new Error('projectRef is required') - if (!id) throw new Error('Bucket name is requried') + if (!id) throw new Error('Bucket name is required') const { data, error } = await del('/platform/storage/{ref}/analytics-buckets/{id}', { params: { path: { ref: projectRef, id } }, diff --git a/apps/studio/data/storage/bucket-delete-mutation.ts b/apps/studio/data/storage/bucket-delete-mutation.ts index eda1cde9b56..086610fdec8 100644 --- a/apps/studio/data/storage/bucket-delete-mutation.ts +++ b/apps/studio/data/storage/bucket-delete-mutation.ts @@ -13,7 +13,7 @@ type BucketDeleteVariables = { async function deleteBucket({ projectRef, id }: BucketDeleteVariables) { if (!projectRef) throw new Error('projectRef is required') - if (!id) throw new Error('Bucket name is requried') + if (!id) throw new Error('Bucket name is required') const { error: emptyBucketError } = await post('/platform/storage/{ref}/buckets/{id}/empty', { params: { path: { ref: projectRef, id } }, diff --git a/apps/studio/data/storage/bucket-empty-mutation.ts b/apps/studio/data/storage/bucket-empty-mutation.ts index a3aaeb5926f..7710572e142 100644 --- a/apps/studio/data/storage/bucket-empty-mutation.ts +++ b/apps/studio/data/storage/bucket-empty-mutation.ts @@ -12,7 +12,7 @@ export type BucketEmptyVariables = { export async function emptyBucket({ projectRef, id }: BucketEmptyVariables) { if (!projectRef) throw new Error('projectRef is required') - if (!id) throw new Error('Bucket name is requried') + if (!id) throw new Error('Bucket name is required') const { data, error } = await post('/platform/storage/{ref}/buckets/{id}/empty', { params: { path: { id, ref: projectRef } }, diff --git a/apps/studio/data/storage/bucket-update-mutation.ts b/apps/studio/data/storage/bucket-update-mutation.ts index 512d3fe11b8..bb0cf7a44b4 100644 --- a/apps/studio/data/storage/bucket-update-mutation.ts +++ b/apps/studio/data/storage/bucket-update-mutation.ts @@ -31,7 +31,7 @@ async function updateBucket({ allowed_mime_types, }: BucketUpdateVariables): Promise { if (!projectRef) throw new Error('projectRef is required') - if (!id) throw new Error('Bucket name is requried') + if (!id) throw new Error('Bucket name is required') const payload: Partial = { public: isPublic } if (file_size_limit !== undefined) payload.file_size_limit = file_size_limit diff --git a/supabase/functions/og-images/README.md b/supabase/functions/og-images/README.md index dc880c0c010..60679f210f1 100644 --- a/supabase/functions/og-images/README.md +++ b/supabase/functions/og-images/README.md @@ -38,11 +38,11 @@ Then run the function supabase functions serve og-images ``` -Now we can visit [localhost:54321/functions/v1/og-images/?site=docs&title=Title&description=Description&type=Auth](http://localhost:54321/functions/v1/og-images/?site=docs&title=Title&description=Description&type=Auth) to see your changes localy. +Now we can visit [localhost:54321/functions/v1/og-images/?site=docs&title=Title&description=Description&type=Auth](http://localhost:54321/functions/v1/og-images/?site=docs&title=Title&description=Description&type=Auth) to see your changes locally. ## Deploy -To deploy this function, you currently need to depoy it locally. To do this follow the steps below. +To deploy this function, you currently need to deploy it locally. To do this follow the steps below. ```bash supabase functions deploy og-images --no-verify-jwt