UNPKG

@prisma-extensions/soft-delete

Version:

Soft Delete can be used to hide records instead of deleting them, making them recoverable later.

7 lines (6 loc) 209 B
export declare function scopedQuery<A extends { where?: Record<string, unknown>; }, Q extends (args: A) => Promise<ReturnType<Q>>>({ args, query }: { args: A; query: Q; }): Promise<ReturnType<Q>>;