Documentation
    Preparing search index...

    Shape of provider modules configuration. Providers are service containers that register bindings and boot application services for specific environments.

    const provider: ProviderNode = {
    file: () => import('./providers/database_provider.js'),
    environment: ['web', 'console']
    }
    type ProviderNode = {
        file: () => Promise<
            { default?: new (app: Application<any>) => ContainerProviderContract },
        >;
        environment: Exclude<AppEnvironments, "unknown">[];
    }
    Index

    Properties

    Properties

    file: () => Promise<
        { default?: new (app: Application<any>) => ContainerProviderContract },
    >
    environment: Exclude<AppEnvironments, "unknown">[]