Creates an instance of SupabaseStorageAdapter.
Clears all items from all collections.
A promise that resolves when all collections are cleared.
Clears all items from a collection.
The name of the collection.
A promise that resolves when the collection is cleared.
Deletes an item from a collection by its ID.
The name of the collection.
The ID of the item to delete.
A promise that resolves when the item is deleted.
Retrieves a single item from a collection by its ID.
The name of the collection.
The ID of the item to retrieve.
A promise that resolves with the item, or null if not found.
Initializes the Supabase client if it hasn't been provided already.
A promise that resolves when the client is initialized.
Queries items in a collection.
The name of the collection.
The options for filtering, sorting, and pagination.
A promise that resolves with an array of items.
Saves (upserts) an item in a collection.
The name of the collection.
The ID of the item to save.
The data to save.
A promise that resolves when the item is saved.
A Supabase-backed StorageAdapter implementation.
Expectations/assumptions: