Documentation
    Preparing search index...

    Interface AppCompositionInterface<TContent>

    Generic composition interface representing an application payload bound to its runtime infrastructure adapters.

    interface AppCompositionInterface<
        TContent extends AppContentInterface = AppContentInterface,
    > {
        adapters?: {
            ai?: PivotAdaptersSpec;
            auth?: PivotAdaptersSpec;
            backend?: PivotAdaptersSpec;
            ingestion?: PivotAdaptersSpec;
            messaging?: PivotAdaptersSpec;
            queue?: PivotAdaptersSpec;
            storage?: PivotAdaptersSpec;
        };
        config?: Record<string, any>;
        content: TContent;
    }

    Type Parameters

    Index

    Properties

    adapters?: {
        ai?: PivotAdaptersSpec;
        auth?: PivotAdaptersSpec;
        backend?: PivotAdaptersSpec;
        ingestion?: PivotAdaptersSpec;
        messaging?: PivotAdaptersSpec;
        queue?: PivotAdaptersSpec;
        storage?: PivotAdaptersSpec;
    }

    The context of Quatrain pivot classes bound to this composition. Each pivot class (e.g. Ai, Storage, Backend) can hold a single adapter or a map of named adapters.

    config?: Record<string, any>

    Domain-specific configuration or metadata

    content: TContent

    The typed application content payload to deliver (e.g. PWA, WebBundle, CLI)