Skip to content

[I] Model

Extends

Extended by

Properties

PropertyModifierTypeDescriptionOverridesInherited from
baseModel?publicModelModel this model extends. This represent inheritance.--
decoratorspublicDecoratorApplication[]--DecoratedType.decorators
derivedModelspublicModel[]Direct children. This is the reverse relation of baseModel--
entityKindreadonly"Type"--BaseType.entityKind
indexer?publicModelIndexer---
instantiationParameters?publicType[]--BaseType.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)-BaseType.isFinished
kindpublic"Model"-BaseType.kind-
namepublicstring---
namespace?publicNamespace---
node?public| ModelStatementNode | ModelExpressionNode | ObjectLiteralNode | IntersectionExpressionNode | ProjectionModelExpressionNode-BaseType.node-
projectionBase?publicType--BaseType.projectionBase
projectionSource?publicType--BaseType.projectionSource
projector?publicProjector--BaseType.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.--
sourceModel?publicModelThe model that is referenced via model is.--
sourceModelspublicSourceModel[]Models that were used to build this model. This include any model referenced in model is, ... or when intersecting models.--
templateArguments?public(Type | Value | IndeterminateEntity)[]Deprecated use templateMapper instead.-TemplatedTypeBase.templateArguments
templateMapper?publicTypeMapper--TemplatedTypeBase.templateMapper
templateNode?publicNode--TemplatedTypeBase.templateNode

Accessors

projections

Get Signature

get projections(): ProjectionStatementNode[]
Returns

ProjectionStatementNode[]

Inherited from

BaseType.projections

Methods

projectionsByName()

projectionsByName(name): ProjectionStatementNode[]

Parameters

ParameterType
namestring

Returns

ProjectionStatementNode[]

Inherited from

BaseType.projectionsByName