The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Pull master and resolve conflicts
Joshen Lim14c54a408ce2
diff --cc studio/localStores/storageExplorer/StorageExplorerStore.jsindex 7137465c57b,9aaa6abf345..5474ac9a404--- a/studio/localStores/storageExplorer/StorageExplorerStore.js+++ b/studio/localStores/storageExplorer/StorageExplorerStore.js@@@ -1134,7 -1134,10 +1138,10 @@@ class StorageExplorerStoreconst { error } = await this.supabaseClient.storage.from(this.selectedBucket.name).move(fromPath, toPath)- if (error) reject()- if (error) {- hasErrors = true- toast.error(`Failed to move ${fromPath} to the new folder`)- }++ if (error) {++ hasErrors = true++ toast.error(`Failed to move ${fromPath} to the new folder`)++ }resolve()})}@@@ -1186,14 -1193,19 +1197,23 @@@formattedPathToFolder = `${prefix}/${name}`}- const options = { limit: LIMIT, offset: OFFSET, sortBy: { column: this.sortBy, order: this.sortByOrder } }+ const options = {+ limit: LIMIT,+ offset: OFFSET,+ sortBy: { column: this.sortBy, order: this.sortByOrder },+ }- const { data: folderContents } = await this.supabaseClient.storage- .from(this.selectedBucket.name)- .list(formattedPathToFolder, options)+ let folderContents = []+- for (;;) {- const { data } = await this.supabaseClient.storage- .from(this.selectedBucket.name)- .list(formattedPathToFolder, options)- folderContents = folderContents.concat(data)- options.offset += options.limit- if (data.length < options.limit) {- break- }++ for (;;) {++ const { data } = await this.supabaseClient.storage++ .from(this.selectedBucket.name)++ .list(formattedPathToFolder, options)++ folderContents = folderContents.concat(data)++ options.offset += options.limit++ if (data.length < options.limit) {++ break+ }++ }const subfolders = folderContents?.filter((item) => isNull(item.id)) ?? []const folderItems = folderContents?.filter((item) => !isNull(item.id)) ?? []