auth.provider API
    Preparing search index...

    Interface CreateAppOptions<B>

    Options accepted by createApp. The generic B constrains bootstrapComponents to a typed subset of ComponentMap so downstream stages receive a well-typed config/pathResolver.

    Per A2-β §6.2.

    interface CreateAppOptions<B extends BootstrapMap = DefaultBootstrapMap> {
        bootstrapComponents: B;
        contributionKinds?: Partial<ContributionCollectorMap>;
        modules: readonly Module[];
        overrideComponents?: Partial<ComponentMap>;
    }

    Type Parameters

    Index

    Properties

    bootstrapComponents: B

    Component values originating from the host environment (config, pathResolver, etc.) — pre-seeded into the DI graph before any module factory runs.

    contributionKinds?: Partial<ContributionCollectorMap>

    Optional consumer-provided collectors for contribution kinds added via declare module augmentation of ContributesMap. Built-in kinds are auto-wired by core; consumers do NOT pass them. A type-level kind without a collector throws unknown-contribution-kind at validateManifests.

    modules: readonly Module[]

    Module manifests in the order the consumer composed.

    overrideComponents?: Partial<ComponentMap>

    Optional composition-root substitutions for components. Keys present here REPLACE the value a module's provides[K] would have produced. The would-be provider factory is skipped. The override value's lifecycle is the consumer's responsibility.

    Mutually exclusive with bootstrapComponents for the same key (collision throws bootstrap-component-collision at validateManifests).