mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
18 lines
446 B
TypeScript
18 lines
446 B
TypeScript
import type { DataStoreColumnJsType } from 'n8n-workflow';
|
|
|
|
export const ANY_FILTER = 'anyFilter';
|
|
export const ALL_FILTERS = 'allFilters';
|
|
|
|
export type FilterType = typeof ANY_FILTER | typeof ALL_FILTERS;
|
|
|
|
export type FieldEntry =
|
|
| {
|
|
keyName: string;
|
|
condition: 'isEmpty' | 'isNotEmpty';
|
|
}
|
|
| {
|
|
keyName: string;
|
|
condition: 'eq' | 'neq' | 'like' | 'ilike' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
keyValue: DataStoreColumnJsType;
|
|
};
|