lsync API
    Preparing search index...

    Type Alias CollectionApiHandler<TInput, TOutput, T, TKey>

    CollectionApiHandler: (
        args: CollectionApiHandlerArgs<TInput, T, TKey>,
    ) => TOutput | Promise<TOutput>

    Type Parameters

    • TInput
    • TOutput
    • T extends object
    • TKey extends string | number

    Type Declaration