query-builder/src/query-builder.interface.ts
Contains the different attributes of a query builder rule.
Example :{
identifier: '1',
operator: 'equal',
key: 'name',
label: 'Name',
type: 'string',
value: 'John Doe'
}import { IQueryBuilderRule } from '@talenra/components/query-builder';
Properties |
| identifier |
identifier:
|
Type : string
|
|
Random identifier for the query rule. |
| key |
key:
|
Type : string
|
| Optional |
|
The identifier of the field that is used to compare the value with the items. |
| label |
label:
|
Type : string
|
| Optional |
|
The label is the translated value of the identifier. |
| type |
type:
|
Type : TQueryBuilderValueType
|
| Optional |
|
The type of the value that is used to compare the items. |
| value |
value:
|
Type : string | number | Date | boolean | IQueryBuilderValueOption
|
| Optional |
|
The value that is used to compare the items. |