Models
TYPE
@skmtc/core 0.63.4ModelProjectionBaseClass
The class that toModelProjectionBase returns: its statics, and a constructor that gives a ModelProjectionInstance.
Signature
import type { ModelProjectionBaseClass } from '@skmtc/core'
interface ModelProjectionBaseClass<EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType, ProjectionOptions = undefined>Properties
new, (args: ModelProjectionArgs<EnrichmentType, ProjectionOptions>) => ModelProjectionInstance<EnrichmentType, ProjectionOptions> required
The language of the base class. See LangSnippetConstructor.
id, string required
The generator's id.
type, 'model' required
toIdentifierName, (args: ToModelIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string required
The config's toIdentifierName.
The config's toIdentifierType.
toExportPath, (args: ToModelExportPathArgs<EnrichmentType, ProjectionOptions>) => string required
The config's toExportPath.
toEnrichmentDefaults, (args: ToModelEnrichmentsArgs) => EnrichmentType | undefined required
Calls the config's toEnrichmentDefaults; returns undefined when it has none.