Libraries v5.2.0
    Preparing search index...

    Class ImplementationScope<G, Source, Endpoints>

    Configured, unbound operations from a single contract group. Export the scope from a configuration-only module, then use Handler<typeof scope.endpoints.operation> in separate handler files. No handler imports or registration side effects are needed here.

    Type Parameters

    Index
    • get endpoints(): Endpoints

      Configured endpoint builders: the source of handler request, DI and response types.

      Returns Endpoints

    • Select operations for a smaller module without losing source identity. The composition root still checks coverage of the full contract.

      Type Parameters

      • const K extends string

      Parameters

      • ...names: K[]

      Returns ImplementationScope<G, Pick<Source, K>, Pick<Endpoints, K>>