Teleforge API Reference - v0.1.0
    Preparing search index...

    Interface ProxyConfig<TInput, TOutput>

    interface ProxyConfig<TInput, TOutput> {
        action: string;
        service: string;
        transform?: {
            request?: (context: BffRequestContext, input: TInput) => unknown;
            response?: (context: BffRequestContext, output: unknown) => TOutput;
        };
    }

    Type Parameters

    • TInput
    • TOutput
    Index

    Properties

    action: string
    service: string
    transform?: {
        request?: (context: BffRequestContext, input: TInput) => unknown;
        response?: (context: BffRequestContext, output: unknown) => TOutput;
    }