Model

source

Constructors

new Model<T extends string = string>(name: T, version: string, topic: string): Modelsource

inherited from Message.constructor

Properties

abstractCanonicalPKType: anysource

abstractCreatedAt: Instantsource

abstractCreatedBy: Idsource

abstractDeleted: booleansource

abstractId: Idsource

abstractPKConstructionTypes: any[]source

abstractUnderlyingPKType: anysource

UnionFields: Record<string, string>source

inherited from Message.UnionFields

abstractUpdatedAt: Instantsource

abstractUpdatedBy: Idsource

constructor: ModelTypesource

readonlytypeName: Tsource

inherited from Message.typeName

Inherited methods

abstractserialise(): anysource

inherited from Message.serialise

toJSON(): stringsource

inherited from Message.toJSON

staticnameOf(struct: Struct): stringsource

inherited from Message.nameOf

staticnew<T extends Struct>(this: Ctor<T> & HasReflectionMetadata, values: StructValues<T>): Tsource

inherited from Message.new

staticserialise(struct: Struct): anysource

inherited from Message.serialise

statictopicOf(message: Message): stringsource

inherited from Message.topicOf

staticversionOf(struct: Struct): stringsource

inherited from Message.versionOf