@elastic-suite/gally-admin-shared
Version:
Shared package for gally admin BO
17 lines (14 loc) • 466 B
text/typescript
import { IHydraMember } from './hydra'
import { IJsonldContext } from './jsonld'
import { RuleValueType } from './rules'
export type IOperatorsValueType<O extends string = string> = Record<
string,
Record<O, RuleValueType>
>
export interface IRuleEngineOperators<O extends string = string>
extends IHydraMember,
IJsonldContext {
operators: Record<O, string>
operatorsBySourceFieldType: Record<string, O[]>
operatorsValueType: IOperatorsValueType
}