Ir al contenido

RelationshipPivot

@aurorajs.dev/catalyst-cli


@aurorajs.dev/catalyst-cli / generator/domain/model / RelationshipPivot

Defined in: generator/domain/model.ts:259

Pivot table definition used when a property declares a many-to-many relationship with extra columns. The generator emits a first-class module for the pivot itself using this metadata.

optional additionalApis?: AdditionalApi[]

Defined in: generator/domain/model.ts:260


aggregateName: string

Defined in: generator/domain/model.ts:261


aggregateProperties: Property[]

Defined in: generator/domain/model.ts:263

Columns of the pivot table (usually the two foreign keys plus extras).


boundedContextName: string

Defined in: generator/domain/model.ts:264


optional excludedFiles?: string[]

Defined in: generator/domain/model.ts:266

Templates skipped when generating the pivot module.


optional excludedOperations?: string[]

Defined in: generator/domain/model.ts:268

CRUD operations skipped when generating the pivot module.


optional hasAuditing?: boolean

Defined in: generator/domain/model.ts:269


optional hasOAuth?: boolean

Defined in: generator/domain/model.ts:270


optional hasTenant?: boolean

Defined in: generator/domain/model.ts:271


moduleName: string

Defined in: generator/domain/model.ts:272


moduleNames: string

Defined in: generator/domain/model.ts:273