interface IMetadataStore
Since 0.1.0

Metadata captured by decorators, read by the DecoratorPlugin. Stored in plain maps — no reflection (ARCHITECTURE.md §12). The concrete metadata value shapes are owned by the decorator plugin.

Properties

readonly
controllers: Map<Constructor, Readonly<Record<string, unknown>>>

Controller metadata keyed by class.

readonly
services: Map<Constructor, Readonly<Record<string, unknown>>>

Service metadata keyed by class.

readonly
routes: Map<
ReadonlyArray<Readonly<Record<string, unknown>>>
>

Route metadata lists keyed by controller class.

Usage

import { type IMetadataStore } from "common/src/index.ts";