You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to `Table` options, the `AttachmentTable` can optionally be configured with the following options:
@@ -132,7 +130,7 @@ The default columns in `AttachmentTable`:
132
130
| `size` | `INTEGER` | The size of the attachment in bytes |
133
131
134
132
5. To instantiate an `AttachmentQueue`, one needs to provide an instance of `AbstractPowerSyncDatabase` from PowerSync and an instance of `StorageAdapter`.
135
-
See the `StorageAdapter` interface definition [here](./src/StorageAdapter.ts).
133
+
See the `StorageAdapter` interface definition [here](https://github.com/powersync-ja/powersync-js/blob/main/packages/attachments/src/StorageAdapter.ts).
136
134
137
135
6. Instantiate a new `AttachmentQueue` and call `init()` to start syncing attachments. Our example, uses a `StorageAdapter` that integrates with Supabase Storage.
0 commit comments