Interface Metadata

Metadata for classes extending Mutable. Metadata needs to be explicitly specified using decorators.

See

type script 5.2 feature "decorator metadata" for additional information.

interface Metadata {
    attributeTypes?: MetaAttributeTypes;
    enumerateKeys?: string[];
    implements?: Set<Function>;
    serializables?: {
        [key: string]: "primitve" | "serializable" | "resource" | "node";
    };
}

Hierarchy

  • DecoratorMetadataObject
    • Metadata

Properties

attributeTypes?: MetaAttributeTypes

The specified types of the attributes of a class. Use the type decorator to add type information to the metadata of a class.

enumerateKeys?: string[]
implements?: Set<Function>
serializables?: {
    [key: string]: "primitve" | "serializable" | "resource" | "node";
}

Map of property names to the type of serialization that should be used for that property.

Type declaration

  • [key: string]: "primitve" | "serializable" | "resource" | "node"