(deps: {
indexes: CollectionIndexesManager<TOutput, TKey, TSchema, TInput>
events: CollectionEventsManager
changes: CollectionChangesManager<TOutput, TKey, TSchema, TInput>
sync: CollectionSyncManager<TOutput, TKey, TSchema, TInput>
state: CollectionStateManager<TOutput, TKey, TSchema, TInput>
})
| 46 | } |
| 47 | |
| 48 | setDeps(deps: { |
| 49 | indexes: CollectionIndexesManager<TOutput, TKey, TSchema, TInput> |
| 50 | events: CollectionEventsManager |
| 51 | changes: CollectionChangesManager<TOutput, TKey, TSchema, TInput> |
| 52 | sync: CollectionSyncManager<TOutput, TKey, TSchema, TInput> |
| 53 | state: CollectionStateManager<TOutput, TKey, TSchema, TInput> |
| 54 | }) { |
| 55 | this.indexes = deps.indexes |
| 56 | this.events = deps.events |
| 57 | this.changes = deps.changes |
| 58 | this.sync = deps.sync |
| 59 | this.state = deps.state |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * Validates state transitions to prevent invalid status changes |
nothing calls this directly
no outgoing calls
no test coverage detected