From b670406b48d36703640179c1ee9ef65451c34c25 Mon Sep 17 00:00:00 2001 From: justinsilvestre Date: Wed, 13 Dec 2023 17:00:21 +0100 Subject: [PATCH] Lint --- prisma/kanjisense/seedKanjisenseFigureReadings.ts | 1 - prisma/kanjisense/seedKanjisenseFigures.ts | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/prisma/kanjisense/seedKanjisenseFigureReadings.ts b/prisma/kanjisense/seedKanjisenseFigureReadings.ts index e7ff4d33..c9223e38 100644 --- a/prisma/kanjisense/seedKanjisenseFigureReadings.ts +++ b/prisma/kanjisense/seedKanjisenseFigureReadings.ts @@ -21,7 +21,6 @@ import { registerSeeded } from "../seedUtils"; import { executeAndLogTime } from "./executeAndLogTime"; import { findGuangyunEntriesByShinjitai } from "./findGuangyunEntriesByShinjitai"; -import { getAllCharactersAndVariantFigures } from "./getAllCharacters"; export async function seedKanjisenseFigureReadings( prisma: PrismaClient, diff --git a/prisma/kanjisense/seedKanjisenseFigures.ts b/prisma/kanjisense/seedKanjisenseFigures.ts index 647ad96c..7d0c1a5f 100644 --- a/prisma/kanjisense/seedKanjisenseFigures.ts +++ b/prisma/kanjisense/seedKanjisenseFigures.ts @@ -3,7 +3,6 @@ import { readFileSync } from "node:fs"; import { KanjiDbVariantType, KanjisenseFigureRelation, - Prisma, PrismaClient, } from "@prisma/client"; import yaml from "yaml"; @@ -705,15 +704,3 @@ function setReduce( } return acc; } - -function createFirstClassComponentsInput< - T extends - | Prisma.XOR< - Prisma.KanjisenseComponentUseCreateWithoutParentInput, - Prisma.KanjisenseComponentUseUncheckedCreateWithoutParentInput - > - | Prisma.KanjisenseComponentUseCreateWithoutParentInput[] - | Prisma.KanjisenseComponentUseUncheckedCreateWithoutParentInput[], ->(input: T): T { - return input; -}