query-builder/src/query-builder.interface.ts
The possible rules that can be used to compare the items.
Example :{
key: 'name',
label: 'Name',
type: 'string',
operators: [
{
key: 'equal',
label: 'Equal'
}
]
}import { IQueryBuilderPossibleRule } from '@talenra/components/query-builder';
Properties |
| key |
key:
|
Type : string
|
|
The identifier of the field that is used to compare the value with the items. |
| label |
label:
|
Type : string
|
|
The label is the translated value of the identifier. |
| operators |
operators:
|
Type : IQueryBuilderOperator[]
|
| Optional |
|
The value that is used to compare the items. |
| type |
type:
|
Type : TQueryBuilderValueType
|
|
The type of the value that is used to compare the items. |