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
Copy file name to clipboardExpand all lines: Sources/PowerSync/attachments/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ let schema = Schema(
45
45
)
46
46
```
47
47
48
-
The `createAttachmentTable` function defines the`local-only` attachment state storage table. See the [Implementation Details](#implementation-details) section for more details.
48
+
The `createAttachmentTable` function defines a`local-only` attachment state storage table. See the [Implementation Details](#implementation-details) section for more details.
49
49
50
50
#### Steps to Implement
51
51
@@ -101,7 +101,7 @@ let queue = AttachmentQueue(
101
101
102
102
- The `attachmentsDirectory` specifies where local attachment files should be stored. `FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first?.appendingPathComponent("attachments")` is a good choice.
103
103
- The `remoteStorage` is responsible for connecting to the attachments backend. See the `RemoteStorageAdapter` protocol definition.
104
-
-`watchAttachmens` is closure which generates a publisher of `WatchedAttachmentItem`. These items represent the attachments that should be present in the application.
104
+
-`watchAttachments` is closure which generates a publisher of `WatchedAttachmentItem`. These items represent the attachments that should be present in the application.
105
105
106
106
3. Call `startSync()` to start syncing attachments.
0 commit comments