diff --git a/AlfrescoContent/AlfrescoContent.podspec b/AlfrescoContent/AlfrescoContent.podspec index dc939d7..353170a 100644 --- a/AlfrescoContent/AlfrescoContent.podspec +++ b/AlfrescoContent/AlfrescoContent.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.osx.deployment_target = '10.14' s.tvos.deployment_target = '12.0' s.swift_version = '5.0' - s.version = '0.2.1' + s.version = '0.2.2' s.source = {:git => 'https://github.com/Alfresco/alfresco-ios-swift-api.git', :tag => 'content/'+s.version.to_s} s.authors = {'Alfresco' => 'mobile.alfresco@alfresco.com'} s.license = {:type => 'Apache License Version 2.0', :file => 'AlfrescoContent/LICENSE.md'} diff --git a/AlfrescoContent/AlfrescoContent/Classes/Swaggers/Models/AdvanceSearchConfigurations.swift b/AlfrescoContent/AlfrescoContent/Classes/Swaggers/Models/AdvanceSearchFilters.swift similarity index 94% rename from AlfrescoContent/AlfrescoContent/Classes/Swaggers/Models/AdvanceSearchConfigurations.swift rename to AlfrescoContent/AlfrescoContent/Classes/Swaggers/Models/AdvanceSearchFilters.swift index c64c855..3894e7f 100644 --- a/AlfrescoContent/AlfrescoContent/Classes/Swaggers/Models/AdvanceSearchConfigurations.swift +++ b/AlfrescoContent/AlfrescoContent/Classes/Swaggers/Models/AdvanceSearchFilters.swift @@ -17,14 +17,15 @@ // import Foundation +import SwiftUI // MARK: Advance Search Model public class SearchConfigModel: Codable { - public var search = [AdvanceSearchConfigurations]() + public var search = [AdvanceSearchFilters]() } // MARK: Advance Search Model -public class AdvanceSearchConfigurations: Codable { +public class AdvanceSearchFilters: Codable { public var filterWithContains: Bool? public var resetButton: Bool? public var name: String? @@ -78,6 +79,7 @@ public class SearchComponentSettings: Codable { public var dateFormat: String? public var maxDate: String? public var options: [SearchComponentOptions]? + public var selectedValue: String? enum CodingKeys: String, CodingKey { case pattern @@ -93,6 +95,7 @@ public class SearchComponentSettings: Codable { case dateFormat case maxDate case options + case selectedValue } }