Skip to content

Commit

Permalink
Merge pull request #110 from Alfresco/AdvanceSearchFilters
Browse files Browse the repository at this point in the history
advance search filters
  • Loading branch information
gl-lovekesh authored Oct 27, 2021
2 parents bdef0d5 + a8bba7b commit e1fe453
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AlfrescoContent/AlfrescoContent.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '[email protected]'}
s.license = {:type => 'Apache License Version 2.0', :file => 'AlfrescoContent/LICENSE.md'}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down Expand Up @@ -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
Expand All @@ -93,6 +95,7 @@ public class SearchComponentSettings: Codable {
case dateFormat
case maxDate
case options
case selectedValue
}
}

Expand Down

0 comments on commit e1fe453

Please sign in to comment.