Contains utility functions for dealing with Griffon filters.
- Source:
 
Members
(static, constant) filterData
A filter object is an object where all the values are valid JMESPath matchers.
This will take all these values and && them together, so that each must pass for an
event to be valid.
- Source:
 
Methods
(static) filterFromHash(url) → {object}
Extracts the filters from the provided url. Returns a filter object.
Parameters:
| Name | Type | Description | 
|---|---|---|
url | 
        
        string | 
           Url to decode filters from  | 
      
- Source:
 
(static) filterToHash(filters) → {string}
Takes a filter object and prepares it for a url hash. It gets converted to JSON and base64 encoded.
Parameters:
| Name | Type | Description | 
|---|---|---|
filters | 
        
        object | 
           Filter object  | 
      
- Source:
 
(static) filterToPath(filters) → {string}
Takes a filter object and returns the JMESPath query of the results.
Parameters:
| Name | Type | Description | 
|---|---|---|
filters | 
        
        object | 
           Filter object  | 
      
- Source: