Files
directus/tests/blackbox/schema/index.ts
Pascal Jufer 15b91dee34 Blackbox tests restructuring (#18122)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-11 18:28:37 +02:00

58 lines
1.2 KiB
TypeScript

// Alias types
export * as SchemaAlias from './alias';
// Integer types
export * as SchemaInteger from './integer';
export * as SchemaBigInteger from './big-integer';
export * as SchemaDecimal from './decimal';
export * as SchemaFloat from './float';
// String types
export * as SchemaString from './string';
export * as SchemaCSV from './csv';
export * as SchemaHash from './hash';
export * as SchemaText from './text';
// DateTime types
export * as SchemaDateTime from './date-time';
export * as SchemaDate from './date';
export * as SchemaTime from './time';
export * as SchemaTimestamp from './timestamp';
// Boolean types
export * as SchemaBoolean from './boolean';
// JSON types
export * as SchemaJSON from './json';
// UUID types
export * as SchemaUUID from './uuid';
export const SchemaAvailableTypes = [
'alias',
'bigInteger',
'boolean',
'csv',
'date',
'datetime',
'decimal',
'float',
'geometry',
'hash',
'integer',
'json',
'string',
'text',
'time',
'timestamp',
'uuid',
];
export type GeneratedFilter = {
operator: string;
value: any;
filter: any;
validatorFunction: (inputValue: any, possibleValues: any) => boolean;
emptyAllowedFunction: (inputValue: any, possibleValues: any) => boolean;
};