Filter

public struct Filter : Codable, Hashable, Identifiable

Undocumented

  • Undocumented

    See more

    Declaration

    Swift

    public enum Context : String, Codable
    extension Filter.Context: Identifiable
  • Undocumented

    See more

    Declaration

    Swift

    public enum Action : String, Codable
  • id

    The ID of the Filter in the database.

    Declaration

    Swift

    public var id: String
  • A title given by the user to name the filter.

    Declaration

    Swift

    public var title: String
  • The contexts in which the filter should be applied.

    Declaration

    Swift

    public var context: [Context]
  • When the filter should no longer be applied.

    Declaration

    Swift

    public var expiresAt: Date?
  • The action to be taken when a status matches this filter.

    Declaration

    Swift

    public var filterAction: Action
  • The keywords grouped under this filter.

    Declaration

    Swift

    public var keywords: [FilterKeyword]
  • The statuses grouped under this filter.

    Declaration

    Swift

    public var statuses: [FilterStatus]