(deps: {
lifecycle: CollectionLifecycleManager<TOutput, TKey, TSchema, TInput>
state: CollectionStateManager<TOutput, TKey, TSchema, TInput>
collection: CollectionImpl<TOutput, TKey, TUtils, TSchema, TInput>
})
| 54 | } |
| 55 | |
| 56 | setDeps(deps: { |
| 57 | lifecycle: CollectionLifecycleManager<TOutput, TKey, TSchema, TInput> |
| 58 | state: CollectionStateManager<TOutput, TKey, TSchema, TInput> |
| 59 | collection: CollectionImpl<TOutput, TKey, TUtils, TSchema, TInput> |
| 60 | }) { |
| 61 | this.lifecycle = deps.lifecycle |
| 62 | this.state = deps.state |
| 63 | this.collection = deps.collection |
| 64 | } |
| 65 | |
| 66 | private ensureStandardSchema(schema: unknown): StandardSchema<TOutput> { |
| 67 | // If the schema already implements the standard-schema interface, return it |
nothing calls this directly
no outgoing calls
no test coverage detected