Merge pull request #746 from stonerl/SwiftyJSON-fixes

add missing SwiftyJSON arguments
This commit is contained in:
Arkadiusz Fal 2024-08-24 13:20:57 +02:00 committed by GitHub
commit 146da6b9cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,7 @@ struct ChannelPlaylistsCacheModel: CacheModel {
var storage = try? Storage<String, JSON>( var storage = try? Storage<String, JSON>(
diskConfig: Self.diskConfig, diskConfig: Self.diskConfig,
memoryConfig: Self.memoryConfig, memoryConfig: Self.memoryConfig,
fileManager: FileManager.default,
transformer: BaseCacheModel.jsonTransformer transformer: BaseCacheModel.jsonTransformer
) )

View File

@ -13,6 +13,7 @@ struct ChannelsCacheModel: CacheModel {
let storage = try? Storage<String, JSON>( let storage = try? Storage<String, JSON>(
diskConfig: Self.diskConfig, diskConfig: Self.diskConfig,
memoryConfig: Self.memoryConfig, memoryConfig: Self.memoryConfig,
fileManager: FileManager.default,
transformer: BaseCacheModel.jsonTransformer transformer: BaseCacheModel.jsonTransformer
) )

View File

@ -14,6 +14,7 @@ struct FeedCacheModel: CacheModel {
let storage = try? Storage<String, JSON>( let storage = try? Storage<String, JSON>(
diskConfig: Self.diskConfig, diskConfig: Self.diskConfig,
memoryConfig: Self.memoryConfig, memoryConfig: Self.memoryConfig,
fileManager: FileManager.default,
transformer: BaseCacheModel.jsonTransformer transformer: BaseCacheModel.jsonTransformer
) )

View File

@ -14,6 +14,7 @@ struct PlaylistsCacheModel: CacheModel {
let storage = try? Storage<String, JSON>( let storage = try? Storage<String, JSON>(
diskConfig: Self.diskConfig, diskConfig: Self.diskConfig,
memoryConfig: Self.memoryConfig, memoryConfig: Self.memoryConfig,
fileManager: FileManager.default,
transformer: BaseCacheModel.jsonTransformer transformer: BaseCacheModel.jsonTransformer
) )

View File

@ -15,6 +15,7 @@ final class SubscribedChannelsModel: ObservableObject, CacheModel {
let storage = try? Storage<String, JSON>( let storage = try? Storage<String, JSON>(
diskConfig: SubscribedChannelsModel.diskConfig, diskConfig: SubscribedChannelsModel.diskConfig,
memoryConfig: SubscribedChannelsModel.memoryConfig, memoryConfig: SubscribedChannelsModel.memoryConfig,
fileManager: FileManager.default,
transformer: BaseCacheModel.jsonTransformer transformer: BaseCacheModel.jsonTransformer
) )

View File

@ -13,6 +13,7 @@ struct VideosCacheModel: CacheModel {
let storage = try? Storage<String, JSON>( let storage = try? Storage<String, JSON>(
diskConfig: Self.diskConfig, diskConfig: Self.diskConfig,
memoryConfig: Self.memoryConfig, memoryConfig: Self.memoryConfig,
fileManager: FileManager.default,
transformer: BaseCacheModel.jsonTransformer transformer: BaseCacheModel.jsonTransformer
) )