From 1e634740392086f1d1aab8c4bbf9574535be7369 Mon Sep 17 00:00:00 2001 From: Vasily Zubarev Date: Fri, 21 Mar 2025 18:57:58 +0100 Subject: [PATCH] ci: fix docker and vercel --- components/settings/llm-settings-form.tsx | 1 + package-lock.json | 37 +---------------------- package.json | 4 +-- 3 files changed, 4 insertions(+), 38 deletions(-) diff --git a/components/settings/llm-settings-form.tsx b/components/settings/llm-settings-form.tsx index 80fc6dd..337c451 100644 --- a/components/settings/llm-settings-form.tsx +++ b/components/settings/llm-settings-form.tsx @@ -4,6 +4,7 @@ import { fieldsToJsonSchema } from "@/app/ai/schema" import { saveSettingsAction } from "@/app/settings/actions" import { FormInput, FormTextarea } from "@/components/forms/simple" import { Button } from "@/components/ui/button" +import { Field } from "@prisma/client" import { CircleCheckBig, Edit } from "lucide-react" import Link from "next/link" import { useActionState } from "react" diff --git a/package-lock.json b/package-lock.json index a0d2516..8b45746 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,6 +34,7 @@ "next-themes": "^0.4.4", "openai": "^4.85.4", "pdf2pic": "^3.1.4", + "prisma": "^6.5.0", "react": "^19.0.0", "react-day-picker": "^8.10.1", "react-dom": "^19.0.0", @@ -53,7 +54,6 @@ "eslint": "^9", "eslint-config-next": "15.1.7", "postcss": "^8", - "prisma": "^6.5.0", "tailwindcss": "^3.4.1", "ts-node": "^10.9.2", "typescript": "^5" @@ -135,7 +135,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -152,7 +151,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -169,7 +167,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -186,7 +183,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -203,7 +199,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -220,7 +215,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -237,7 +231,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -254,7 +247,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -271,7 +263,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -288,7 +279,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -305,7 +295,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -322,7 +311,6 @@ "cpu": [ "loong64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -339,7 +327,6 @@ "cpu": [ "mips64el" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -356,7 +343,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -373,7 +359,6 @@ "cpu": [ "riscv64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -390,7 +375,6 @@ "cpu": [ "s390x" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -407,7 +391,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -424,7 +407,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -441,7 +423,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -458,7 +439,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -475,7 +455,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -492,7 +471,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -509,7 +487,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -526,7 +503,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -543,7 +519,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1498,7 +1473,6 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/@prisma/config/-/config-6.5.0.tgz", "integrity": "sha512-sOH/2Go9Zer67DNFLZk6pYOHj+rumSb0VILgltkoxOjYnlLqUpHPAN826vnx8HigqnOCxj9LRhT6U7uLiIIWgw==", - "devOptional": true, "license": "Apache-2.0", "dependencies": { "esbuild": ">=0.12 <1", @@ -1509,14 +1483,12 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/@prisma/debug/-/debug-6.5.0.tgz", "integrity": "sha512-fc/nusYBlJMzDmDepdUtH9aBsJrda2JNErP9AzuHbgUEQY0/9zQYZdNlXmKoIWENtio+qarPNe/+DQtrX5kMcQ==", - "devOptional": true, "license": "Apache-2.0" }, "node_modules/@prisma/engines": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-6.5.0.tgz", "integrity": "sha512-FVPQYHgOllJklN9DUyujXvh3hFJCY0NX86sDmBErLvoZjy2OXGiZ5FNf3J/C4/RZZmCypZBYpBKEhx7b7rEsdw==", - "devOptional": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -1530,14 +1502,12 @@ "version": "6.5.0-73.173f8d54f8d52e692c7e27e72a88314ec7aeff60", "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-6.5.0-73.173f8d54f8d52e692c7e27e72a88314ec7aeff60.tgz", "integrity": "sha512-iK3EmiVGFDCmXjSpdsKGNqy9hOdLnvYBrJB61far/oP03hlIxrb04OWmDjNTwtmZ3UZdA5MCvI+f+3k2jPTflQ==", - "devOptional": true, "license": "Apache-2.0" }, "node_modules/@prisma/fetch-engine": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/@prisma/fetch-engine/-/fetch-engine-6.5.0.tgz", "integrity": "sha512-3LhYA+FXP6pqY8FLHCjewyE8pGXXJ7BxZw2rhPq+CZAhvflVzq4K8Qly3OrmOkn6wGlz79nyLQdknyCG2HBTuA==", - "devOptional": true, "license": "Apache-2.0", "dependencies": { "@prisma/debug": "6.5.0", @@ -1549,7 +1519,6 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-6.5.0.tgz", "integrity": "sha512-xYcvyJwNMg2eDptBYFqFLUCfgi+wZLcj6HDMsj0Qw0irvauG4IKmkbywnqwok0B+k+W+p+jThM2DKTSmoPCkzw==", - "devOptional": true, "license": "Apache-2.0", "dependencies": { "@prisma/debug": "6.5.0" @@ -3728,7 +3697,6 @@ "version": "4.4.0", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", - "devOptional": true, "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -4044,7 +4012,6 @@ "version": "0.25.1", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.1.tgz", "integrity": "sha512-BGO5LtrGC7vxnqucAe/rmvKdJllfGaYWdyABvyMoXQlfYMb2bbRuReWR5tEGE//4LcNJj9XrkovTqNYRFZHAMQ==", - "devOptional": true, "hasInstallScript": true, "license": "MIT", "bin": { @@ -4085,7 +4052,6 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/esbuild-register/-/esbuild-register-3.6.0.tgz", "integrity": "sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==", - "devOptional": true, "license": "MIT", "dependencies": { "debug": "^4.3.4" @@ -6676,7 +6642,6 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/prisma/-/prisma-6.5.0.tgz", "integrity": "sha512-yUGXmWqv5F4PByMSNbYFxke/WbnyTLjnJ5bKr8fLkcnY7U5rU9rUTh/+Fja+gOrRxEgtCbCtca94IeITj4j/pg==", - "devOptional": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/package.json b/package.json index f84d071..ac09098 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,8 @@ "sonner": "^2.0.1", "tailwind-merge": "^3.0.1", "tailwindcss-animate": "^1.0.7", - "zod": "^3.24.2" + "zod": "^3.24.2", + "prisma": "^6.5.0" }, "devDependencies": { "@eslint/eslintrc": "^3", @@ -56,7 +57,6 @@ "eslint": "^9", "eslint-config-next": "15.1.7", "postcss": "^8", - "prisma": "^6.5.0", "tailwindcss": "^3.4.1", "ts-node": "^10.9.2", "typescript": "^5"