EntityConfiguration
@quik/entity / EntityConfiguration
Type Alias: EntityConfiguration
EntityConfiguration =
object
Defined in: entity/src/decorators/Entity.ts:14
Configuration options for entity decorators.
Properties
dataEntity?
optionaldataEntity?:Constructor<QEntity> |string
Defined in: entity/src/decorators/Entity.ts:30
The entity type to use for data items when paginated
isHidden?
optionalisHidden?:boolean
Defined in: entity/src/decorators/Entity.ts:22
Whether the entity should be hidden from API responses
isPaginated?
optionalisPaginated?:boolean
Defined in: entity/src/decorators/Entity.ts:26
Whether the entity should be wrapped in pagination
name?
optionalname?:string
Defined in: entity/src/decorators/Entity.ts:18
Custom name for the entity
schema?
optionalschema?:string
Defined in: entity/src/decorators/Entity.ts:34
Optional database schema to qualify the entity's table name with (Postgres only).