Skip to content

Commit

Permalink
chore: cleanup imports in expression file
Browse files Browse the repository at this point in the history
Signed-off-by: Lucian Buzzo <[email protected]>
  • Loading branch information
LucianBuzzo committed Dec 8, 2023
1 parent 63b18f1 commit 7401a2d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/expressions.ts
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -29,7 +28,7 @@ const deepFind = (obj: any, subObj: any): any => {
type Token = {
astFragment: any;
};
type Tokens = Dictionary<Token>;
type Tokens = Record<string, Token>;

export type Expression<ContextKeys extends string = string> =
| string
Expand Down

0 comments on commit 7401a2d

Please sign in to comment.