@metreeca/keep
    Preparing search index...

    Type Alias Response<R>

    Response: R extends Select
        ? readonly Value[]
        : R extends Detail<infer T, infer S>
            ? Match<S, T>
            : R extends Modify ? Reference : R extends Detect ? boolean : never

    Result of running a Request, narrowed by request variant:

    • a Detect resolves to a boolean existence flag
    • a Detail resolves to the materialised resource, typed by its shape and model
    • a Select resolves to the values its collection holds, untyped since its shape is carried as a value rather than as a type parameter
    • a Modify resolves to its mutated entry's Reference

    Type Parameters

    • R extends Request

      The request whose result type is selected