Skip to main content
Version: Next 🚧

[I] RecordModelType

Extends

Properties

PropertyModifierTypeDescriptionOverridesInherited from
baseModel?publicModelModel this model extends. This represent inheritance.-Model.baseModel
decoratorspublicDecoratorApplication[]--Model.decorators
derivedModelspublicModel[]Direct children. This is the reverse relation of baseModel-Model.derivedModels
entityKindreadonly"Type"--Model.entityKind
indexerpublicobject-Model.indexer-
indexer.keypublicScalar---
indexer.valuepublicType---
instantiationParameters?publicType[]--Model.instantiationParameters
isFinishedpublicbooleanReflect if a type has been finished(Decorators have been called). There is multiple reasons a type might not be finished: - a template declaration will not - a template instance that argument that are still template parameters - a template instance that is only partially instantiated(like a templated operation inside a templated interface)-Model.isFinished
kindpublic"Model"--Model.kind
namepublicstring--Model.name
namespace?publicNamespace--Model.namespace
node?public| ModelStatementNode | ModelExpressionNode | ObjectLiteralNode | IntersectionExpressionNode | ProjectionModelExpressionNode--Model.node
projectionBase?publicType--Model.projectionBase
projectionSource?publicType--Model.projectionSource
projector?publicProjector--Model.projector
propertiespublicRekeyableMap<string, ModelProperty>The properties of the model. Properties are ordered in the order that they appear in source. Properties obtained via model is appear before properties defined in the model body. Properties obtained via ... are inserted where the spread appears in source. Properties inherited via model extends are not included. Use walkPropertiesInherited to enumerate all properties in the inheritance hierarchy.-Model.properties
sourceModel?publicModelThe model that is referenced via model is.-Model.sourceModel
sourceModelspublicSourceModel[]Models that were used to build this model. This include any model referenced in model is, ... or when intersecting models.-Model.sourceModels
templateArguments?public(Type | Value | IndeterminateEntity)[]Deprecated use templateMapper instead.-Model.templateArguments
templateMapper?publicTypeMapper--Model.templateMapper
templateNode?publicNode--Model.templateNode

Accessors

projections

get projections(): ProjectionStatementNode[]

Returns

ProjectionStatementNode[]

Inherited from

Model.projections

Methods

projectionsByName()

projectionsByName(name): ProjectionStatementNode[]

Parameters

ParameterType
namestring

Returns

ProjectionStatementNode[]

Inherited from

Model.projectionsByName