Skip to main content

Type Alias: ModelBuilder<TEntities>

ModelBuilder<TEntities>: {entities: TEntities;values: readonly ValueObjectModel[]; }

An object containing entity and value-object configuration.

Type Parameters

Type Parameter
TEntities extends Entities

Type declaration

entities

entities: TEntities

One or more labelled entity models.

values?

optional values: readonly ValueObjectModel[]

Zero or more value objects models.

Defined in

packages/verse-core/src/verse.ts:255