@jiway/firestorm-core - v1.1.1
    Preparing search index...

    Class FirestormMetadataStore

    Class containing all the metadatas stored in firestorm

    Index

    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

    • Registers a forward ref.

      It is used when two models have references for one another and needs a delayed resolution

      Type Parameters

      • T

      Parameters

      Returns void