@douglasneuroinformatics/libnest
    Preparing search index...

    Variable LibnestPrismaExtensionConst

    LibnestPrismaExtension: (
        client: any,
    ) => {
        $extends: {
            extArgs: {
                client: {};
                model: {
                    $allModels: {
                        exists(): <T>(
                            this: T,
                            where: Args<T, "findFirst">["where"],
                        ) => Promise<boolean>;
                    };
                };
                query: {};
                result: {
                    [key: Uncapitalize<string>]: {
                        __modelName: () => { compute: () => string };
                    };
                };
            };
        };
    } = ...

    Type Declaration

      • (
            client: any,
        ): {
            $extends: {
                extArgs: {
                    client: {};
                    model: {
                        $allModels: {
                            exists(): <T>(
                                this: T,
                                where: Args<T, "findFirst">["where"],
                            ) => Promise<boolean>;
                        };
                    };
                    query: {};
                    result: {
                        [key: Uncapitalize<string>]: {
                            __modelName: () => { compute: () => string };
                        };
                    };
                };
            };
        }
      • Parameters

        • client: any

        Returns {
            $extends: {
                extArgs: {
                    client: {};
                    model: {
                        $allModels: {
                            exists(): <T>(
                                this: T,
                                where: Args<T, "findFirst">["where"],
                            ) => Promise<boolean>;
                        };
                    };
                    query: {};
                    result: {
                        [key: Uncapitalize<string>]: {
                            __modelName: () => { compute: () => string };
                        };
                    };
                };
            };
        }