Class containing all the metadatas stored in firestorm

Constructors

Accessors

  • get registeredTypes(): Type<any>[]
  • Gets the list of all the types that have been registered

    Returns Type<any>[]

Methods

  • Gets the metadatas of a type

    Type Parameters

    • T

    Parameters

    • type: Type<T>

      Type to retrieves the metadas from

    Returns FirestormMetadata<T>

    NotFoundMetadataError if there are not metadatas for this type

  • Create if needed and then returns the metadatas of a type

    Type Parameters

    • T

      The static type of the type to register

    Parameters

    • type: Type<T>

      Type to retrieve

    Returns FirestormMetadata<T>

    The metadatas of the type.

  • Checks if a specific type as metadatas associated

    Type Parameters

    • T

    Parameters

    • type: Type<T>

      Type to check the existency of metadatas on

    Returns boolean

    True if it has metadatas, false otherwise