immutable-plugin-system - v0.3.0
    Preparing search index...

    Class ImmutableHost<P>

    Main host class that manages immutable plugins and provides centralized entity discovery. The host maintains the full set of entities available by plugin and provides type-safe access to all entity collections.

    Type Parameters

    Index

    Constructors

    Properties

    Constructors

    • Creates a new ImmutableHost with the provided plugins. Groups entities from all plugins by entity type into collections and enforces that every declared entity type is present on each plugin.

      Type Parameters

      • P extends ImmutablePlugin<
            Readonly<Record<PropertyKey, Readonly<Record<string | symbol, {}>>>>,
        >

      Parameters

      Returns ImmutableHost<P>

      TypeError if any plugin is invalid, has mismatched URN, or is missing a declared entity type

    Properties

    Entity collections derived from all plugins, organized by entity type. Provides centralized type-safe discovery for entities across all plugins.

    All plugins managed by this host, indexed by their URNs.