searchable
searchable(): (
target,propertyKey) =>void
This decorator enables search functionality for a resource based on this field. Multiple properties within a single resource can be marked as searchable.
Sets {@link PropertyMeta.isSearchable}.
Returns
(
target,propertyKey):void
Parameters
target
object
propertyKey
string
Returns
void