Protocols
-
Declaration
Swift
protocol APIRouteCollection : APICollection -
A
See moreProtocolused to provide convenience functions for Models that return content that is filterable. Adopting the protocol requires implmentingcontentTextStrings()which returns an array of ‘content’ strings that should be scanned in a filter operation.Declaration
Swift
protocol ContentFilterable -
A
See moreProtocolfor complex Fez interactions. One could consider this aHelperif it weren’t for the limitation that Structs cannot inherit from other Structs.Declaration
Swift
protocol FezProtocol : APIRouteCollection -
Declaration
Swift
protocol RCFValidatable -
Declaration
Swift
protocol Reportable : Model -
A
Protocolfor 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.swiftDeclaration
Swift
protocol Searchable : Model
-
Declaration
Swift
protocol SiteControllerUtils -
Declaration
Swift
protocol StoredSetting
View on GitHub
Protocols Reference