Add InjectionValues struct to LuminateDI
InjectionValues holds optional service dependencies (client, userId, imageService, webSocketClient, persistence) for injection throughout the app.
This commit is contained in:
parent
c3a971b49e
commit
be7931b062
1 changed files with 13 additions and 0 deletions
13
Sources/LuminateDI/InjectionValues.swift
Normal file
13
Sources/LuminateDI/InjectionValues.swift
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import Foundation
|
||||
import LuminateCore
|
||||
|
||||
public struct InjectionValues {
|
||||
|
||||
public var client: JellyfinClient?
|
||||
public var userId: String?
|
||||
public var imageService: ImageService?
|
||||
public var webSocketClient: WebSocketClient?
|
||||
public var persistence: PersistenceService?
|
||||
|
||||
public init() {}
|
||||
}
|
||||
Loading…
Reference in a new issue