From 7401a2d20832ba0c6869eeeee3719d4f5f3723f4 Mon Sep 17 00:00:00 2001 From: Lucian Buzzo Date: Fri, 8 Dec 2023 17:52:18 +0000 Subject: [PATCH] chore: cleanup imports in expression file Signed-off-by: Lucian Buzzo --- src/expressions.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/expressions.ts b/src/expressions.ts index 81c0cc4..e1fb72d 100644 --- a/src/expressions.ts +++ b/src/expressions.ts @@ -1,9 +1,8 @@ -import { Prisma, PrismaClient } from "@prisma/client"; -import { Dictionary, get } from "lodash"; +import { PrismaClient } from "@prisma/client"; import random from "lodash/random"; import matches from "lodash/matches"; import { Parser } from "node-sql-parser"; -import { escapeIdentifier, escapeLiteral } from "./escape"; +import { escapeLiteral } from "./escape"; import { defineDmmfProperty } from "@prisma/client/runtime/library"; // This is black magic to get the runtime data model from the Prisma client @@ -29,7 +28,7 @@ const deepFind = (obj: any, subObj: any): any => { type Token = { astFragment: any; }; -type Tokens = Dictionary; +type Tokens = Record; export type Expression = | string