( persistence: PersistedCollectionPersistence, )
| 503 | } |
| 504 | |
| 505 | function resolvePersistence( |
| 506 | persistence: PersistedCollectionPersistence, |
| 507 | ): PersistedResolvedPersistence { |
| 508 | validatePersistenceAdapter(persistence.adapter) |
| 509 | |
| 510 | const coordinator = persistence.coordinator ?? new SingleProcessCoordinator() |
| 511 | validatePersistedCollectionCoordinator(coordinator) |
| 512 | |
| 513 | return { |
| 514 | ...persistence, |
| 515 | coordinator, |
| 516 | } |
| 517 | } |
| 518 | |
| 519 | function resolvePersistenceForMode( |
| 520 | persistence: PersistedCollectionPersistence, |
no test coverage detected