(value: unknown)
| 550 | } |
| 551 | |
| 552 | function isValidSyncConfig(value: unknown): value is SyncConfig<object> { |
| 553 | if (!isRecord(value)) { |
| 554 | return false |
| 555 | } |
| 556 | |
| 557 | return typeof value.sync === `function` |
| 558 | } |
| 559 | |
| 560 | export type PersistedCollectionMode = `sync-present` | `sync-absent` |
| 561 | type PersistedMode = PersistedCollectionMode |
no test coverage detected