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

    Interface BffServiceRouteConfig<TInput, TOutput>

    interface BffServiceRouteConfig<TInput, TOutput> {
        name: string;
        operation: string;
        transformInput?: (context: BffRequestContext, input: TInput) => unknown;
        transformOutput?: (context: BffRequestContext, output: unknown) => TOutput;
    }

    Type Parameters

    • TInput
    • TOutput
    Index

    Properties

    name: string
    operation: string
    transformInput?: (context: BffRequestContext, input: TInput) => unknown
    transformOutput?: (context: BffRequestContext, output: unknown) => TOutput