diff --git a/packages/core/types/src/modules/entity-service/params/attributes/index.ts b/packages/core/types/src/modules/entity-service/params/attributes/index.ts index 16cf7343af..970fd9d28e 100644 --- a/packages/core/types/src/modules/entity-service/params/attributes/index.ts +++ b/packages/core/types/src/modules/entity-service/params/attributes/index.ts @@ -1,11 +1,11 @@ import type { Attribute, Common, Utils } from '../../../../types'; import type { OmitRelationsWithoutTarget, RelationInputValue } from './relation'; import type { ID } from './id'; -import type * as Mocks from './mocks'; +import type * as Literals from './literals'; export * from './id'; export * from './utils'; -export * from './mocks'; +export * from './literals'; /** * List of possible values for the scalar attributes @@ -94,21 +94,21 @@ export type GetValue = Utils.Expression. : never ], // Boolean - [Utils.Expression.Extends, Mocks.BooleanValue], + [Utils.Expression.Extends, Literals.BooleanValue], // Number [ Utils.Expression.Extends< TAttribute, Attribute.Integer | Attribute.BigInteger | Attribute.Float | Attribute.Decimal >, - Mocks.NumberValue + Literals.NumberValue ], // Date / Time - [Utils.Expression.Extends, Mocks.TimeValue], - [Utils.Expression.Extends, Mocks.DateValue], + [Utils.Expression.Extends, Literals.TimeValue], + [Utils.Expression.Extends, Literals.DateValue], [ Utils.Expression.Extends, - Mocks.DateTimeValue + Literals.DateTimeValue ], // Fallback // If none of the above attribute type, fallback to the original Attribute.GetValue (while making sure it's an attribute) diff --git a/packages/core/types/src/modules/entity-service/params/attributes/mocks.ts b/packages/core/types/src/modules/entity-service/params/attributes/literals.ts similarity index 100% rename from packages/core/types/src/modules/entity-service/params/attributes/mocks.ts rename to packages/core/types/src/modules/entity-service/params/attributes/literals.ts