Protocols

  • Declaration

    Swift

    protocol APIRouteCollection : APICollection
  • A Protocol used to provide convenience functions for Models that return content that is filterable. Adopting the protocol requires implmenting contentTextStrings() which returns an array of ‘content’ strings that should be scanned in a filter operation.

    See more

    Declaration

    Swift

    protocol ContentFilterable
  • A Protocol for complex Fez interactions. One could consider this a Helper if it weren’t for the limitation that Structs cannot inherit from other Structs.

    See more

    Declaration

    Swift

    protocol FezProtocol : APIRouteCollection
  • Declaration

    Swift

    protocol RCFValidatable
  • Declaration

    Swift

    protocol Reportable : Model
  • A Protocol for searchable models. Any model which implements this protocol should have a database column, fulltext_search, which is a stored generated column containg tsvector data. See Sources/swiftarr/Migrations/Schema Creation/SearchIndexCreation.swift

    Declaration

    Swift

    protocol Searchable : Model

Utilities