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

    Interface BffExecutionOptions<TInput, TOutput>

    interface BffExecutionOptions<TInput = unknown, TOutput = unknown> {
        cacheStore?: BffCacheStore;
        invokeService?: (
            service: BffServiceRouteConfig<TInput, TOutput>,
            context: BffRequestContext,
            input: unknown,
        ) => unknown;
        invokeProxy?: (
            proxy: ProxyConfig<TInput, TOutput>,
            context: BffRequestContext,
            input: unknown,
        ) => unknown;
    }

    Type Parameters

    • TInput = unknown
    • TOutput = unknown
    Index

    Properties

    cacheStore?: BffCacheStore
    invokeService?: (
        service: BffServiceRouteConfig<TInput, TOutput>,
        context: BffRequestContext,
        input: unknown,
    ) => unknown
    invokeProxy?: (
        proxy: ProxyConfig<TInput, TOutput>,
        context: BffRequestContext,
        input: unknown,
    ) => unknown