lsync API
    Preparing search index...

    Interface CollectionApiDefinition<TSchema, TResult>

    interface CollectionApiDefinition<
        TSchema extends z.ZodTypeAny = z.ZodTypeAny,
        TResult = unknown,
    > {
        handler: ApiHandler<TResult, output<TSchema>>;
        input: TSchema;
    }

    Type Parameters

    • TSchema extends z.ZodTypeAny = z.ZodTypeAny
    • TResult = unknown
    Index
    handler: ApiHandler<TResult, output<TSchema>>
    input: TSchema