Files
twenty/packages/twenty-server/src/engine/metadata-modules/flat-index-metadata/exceptions/index-exception-code.ts
T
Paul Rastoin 2d8669ae71 Index v2 runner (#14537)
## Introduction
https://github.com/twentyhq/twenty/pull/14363
In this PR we're creating builder and runner for index metadata
Removing its previous integration within object builder

## Next:
- implem index impact on field and object metadata api
- Add integration testing coverage add integration test on index
- Implement uniqueness toggle in field metadata api
- add integration test on uniqueness

related to https://github.com/twentyhq/core-team-issues/issues/1344
2025-09-17 13:02:43 +00:00

11 lines
453 B
TypeScript

export enum IndexExceptionCode {
INDEX_EMPTY_FIELDS = 'INDEX_EMPTY_FIELDS',
INDEX_FIELD_NOT_FOUND = 'INDEX_FIELD_NOT_FOUND',
INDEX_FIELD_WRONG_OBJECT = 'INDEX_FIELD_WRONG_OBJECT',
INDEX_FIELD_INVALID_REFERENCE = 'INDEX_FIELD_INVALID_REFERENCE',
INDEX_FIELD_ID_DUPLICATE = 'INDEX_FIELD_ID_DUPLICATE',
INDEX_ALREADY_EXISTS = 'INDEX_ALREADY_EXISTS',
INDEX_NOT_FOUND = 'INDEX_NOT_FOUND',
INDEX_OBJECT_NOT_FOUND = 'INDEX_OBJECT_NOT_FOUND',
}