store() #
Stores filters, normalized with the Koncorde.normalize function.
Arguments #
store(normalized: JSONObject): { id: string, diff: JSONObject };| Arguments | Type | Description |
|---|---|---|
normalized | JSONObject | Normalized filters |
Return #
The store function returns an object with the following attributes:
| Field | Type | Description |
|---|---|---|
id | string | The filter unique identifier |
diff | object | If the filter didn't already exist, contains the normalized version of the provided filters |