mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
20 lines
526 B
TypeScript
20 lines
526 B
TypeScript
import type { DataStoreColumnJsType } from 'n8n-workflow';
|
|
|
|
export const ANY_CONDITION = 'anyCondition';
|
|
export const ALL_CONDITIONS = 'allConditions';
|
|
|
|
export const ROWS_LIMIT_DEFAULT = 50;
|
|
|
|
export type FilterType = typeof ANY_CONDITION | typeof ALL_CONDITIONS;
|
|
|
|
export type FieldEntry =
|
|
| {
|
|
keyName: string;
|
|
condition: 'isEmpty' | 'isNotEmpty' | 'isTrue' | 'isFalse';
|
|
}
|
|
| {
|
|
keyName: string;
|
|
condition: 'eq' | 'neq' | 'like' | 'ilike' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
keyValue: DataStoreColumnJsType;
|
|
};
|