import { MetadataStorage } from "https://deno.land/x/class_transformer@v0.2.3-beta.1/src/metadata/MetadataStorage.ts";
Storage all library metadata.
Properties
private
_excludeMetadatas: Map<Function, Map<string, ExcludeMetadata>>private
_exposeMetadatas: Map<Function, Map<string, ExposeMetadata>>private
_transformMetadatas: Map<Function, Map<string, TransformMetadata[]>>private
_typeMetadatas: Map<Function, Map<string, TypeMetadata>>Methods
private
findMetadata<T extends { target: Function; propertyName: string; }>(metadatas: Map<Function, Map<string, T>>,
target: Function,
propertyName: string,
private
findMetadatas<T extends { target: Function; propertyName: string; }>(metadatas: Map<Function, Map<string, T[]>>,
target: Function,
propertyName: string,
private
getAncestors(target: Function): Function[]private
getMetadata<T extends { target: Function; propertyName: string; }>(metadatas: Map<Function, Map<String, T>>, target: Function): T[]addExcludeMetadata(metadata: ExcludeMetadata)
addExposeMetadata(metadata: ExposeMetadata)
addTransformMetadata(metadata: TransformMetadata)
addTypeMetadata(metadata: TypeMetadata)
clear()
findExcludeMetadata(target: Function, propertyName: string): ExcludeMetadata
findExposeMetadata(target: Function, propertyName: string): ExposeMetadata
findExposeMetadataByCustomName(target: Function, name: string): ExposeMetadata
findTypeMetadata(target: Function, propertyName: string)
getExcludedMetadatas(target: Function): ExcludeMetadata[]
getExcludedProperties(target: Function, transformationType: TransformationType): string[]
getExposedMetadatas(target: Function): ExposeMetadata[]
getExposedProperties(target: Function, transformationType: TransformationType): string[]
getStrategy(target: Function): "excludeAll" | "exposeAll" | "none"