diff --git a/.env b/.env
deleted file mode 100644
index ba1f745..0000000
--- a/.env
+++ /dev/null
@@ -1,16 +0,0 @@
-# When adding additional environment variables, the schema in "/src/env.js"
-# should be updated accordingly.
-
-# Next Auth
-# You can generate a new secret on the command line with:
-# npx auth secret
-# https://next-auth.js.org/configuration/options#secret
-AUTH_SECRET="86P6sWgmTY/b7rU5KN/wwXbRCk0FOeNathdlFpoFv1k=" # Generated by create-t3-app.
-
-# Next Auth Discord Provider
-AUTH_DISCORD_ID="hackrobot"
-AUTH_DISCORD_SECRET="Xiao4669805"
-
-# Prisma
-# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
-DATABASE_URL="file:./db.sqlite"
diff --git a/.env.example b/.env.example
deleted file mode 100644
index 6dc5614..0000000
--- a/.env.example
+++ /dev/null
@@ -1,24 +0,0 @@
-# Since the ".env" file is gitignored, you can use the ".env.example" file to
-# build a new ".env" file when you clone the repo. Keep this file up-to-date
-# when you add new variables to `.env`.
-
-# This file will be committed to version control, so make sure not to have any
-# secrets in it. If you are cloning this repo, create a copy of this file named
-# ".env" and populate it with your secrets.
-
-# When adding additional environment variables, the schema in "/src/env.js"
-# should be updated accordingly.
-
-# Next Auth
-# You can generate a new secret on the command line with:
-# npx auth secret
-# https://next-auth.js.org/configuration/options#secret
-AUTH_SECRET=""
-
-# Next Auth Discord Provider
-AUTH_DISCORD_ID=""
-AUTH_DISCORD_SECRET=""
-
-# Prisma
-# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
-DATABASE_URL="file:./db.sqlite"
diff --git a/.gitignore b/.gitignore
index 6dc30a6..5ef6a52 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,20 +3,19 @@
# dependencies
/node_modules
/.pnp
-.pnp.js
+.pnp.*
+.yarn/*
+!.yarn/patches
+!.yarn/plugins
+!.yarn/releases
+!.yarn/versions
# testing
/coverage
-# database
-/prisma/db.sqlite
-/prisma/db.sqlite-journal
-db.sqlite
-
# next.js
/.next/
/out/
-next-env.d.ts
# production
/build
@@ -31,16 +30,12 @@ yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
-# local env files
-# do not commit any .env files to git, except for the .env.example file. https://create.t3.gg/en/usage/env-variables#using-environment-variables
-# .env
-.env*.local
+# env files (can opt-in for committing if needed)
+.env*
# vercel
.vercel
# typescript
*.tsbuildinfo
-
-# idea files
-.idea
\ No newline at end of file
+next-env.d.ts
diff --git a/README.md b/README.md
index 67943c7..e215bc4 100644
--- a/README.md
+++ b/README.md
@@ -1,29 +1,36 @@
-# Create T3 App
+This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
-This is a [T3 Stack](https://create.t3.gg/) project bootstrapped with `create-t3-app`.
+## Getting Started
-## What's next? How do I make an app with this?
+First, run the development server:
-We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.
+```bash
+npm run dev
+# or
+yarn dev
+# or
+pnpm dev
+# or
+bun dev
+```
-If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our [Discord](https://t3.gg/discord) and ask for help.
+Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
-- [Next.js](https://nextjs.org)
-- [NextAuth.js](https://next-auth.js.org)
-- [Prisma](https://prisma.io)
-- [Drizzle](https://orm.drizzle.team)
-- [Tailwind CSS](https://tailwindcss.com)
-- [tRPC](https://trpc.io)
+You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
+
+This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
## Learn More
-To learn more about the [T3 Stack](https://create.t3.gg/), take a look at the following resources:
+To learn more about Next.js, take a look at the following resources:
-- [Documentation](https://create.t3.gg/)
-- [Learn the T3 Stack](https://create.t3.gg/en/faq#what-learning-resources-are-currently-available) — Check out these awesome tutorials
+- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
+- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
-You can check out the [create-t3-app GitHub repository](https://github.com/t3-oss/create-t3-app) — your feedback and contributions are welcome!
+You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
-## How do I deploy this?
+## Deploy on Vercel
-Follow our deployment guides for [Vercel](https://create.t3.gg/en/deployment/vercel), [Netlify](https://create.t3.gg/en/deployment/netlify) and [Docker](https://create.t3.gg/en/deployment/docker) for more information.
+The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
+
+Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
diff --git a/app/favicon.ico b/app/favicon.ico
new file mode 100644
index 0000000..718d6fe
Binary files /dev/null and b/app/favicon.ico differ
diff --git a/src/styles/globals.css b/app/globals.css
similarity index 65%
rename from src/styles/globals.css
rename to app/globals.css
index e2353a3..dc98be7 100644
--- a/src/styles/globals.css
+++ b/app/globals.css
@@ -3,116 +3,113 @@
@custom-variant dark (&:is(.dark *));
-@theme {
- --font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif,
- "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
-}
-
@theme inline {
+ --color-background: var(--background);
+ --color-foreground: var(--foreground);
+ --font-sans: var(--font-geist-sans);
+ --font-mono: var(--font-geist-mono);
+ --color-sidebar-ring: var(--sidebar-ring);
+ --color-sidebar-border: var(--sidebar-border);
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
+ --color-sidebar-accent: var(--sidebar-accent);
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
+ --color-sidebar-primary: var(--sidebar-primary);
+ --color-sidebar-foreground: var(--sidebar-foreground);
+ --color-sidebar: var(--sidebar);
+ --color-chart-5: var(--chart-5);
+ --color-chart-4: var(--chart-4);
+ --color-chart-3: var(--chart-3);
+ --color-chart-2: var(--chart-2);
+ --color-chart-1: var(--chart-1);
+ --color-ring: var(--ring);
+ --color-input: var(--input);
+ --color-border: var(--border);
+ --color-destructive: var(--destructive);
+ --color-accent-foreground: var(--accent-foreground);
+ --color-accent: var(--accent);
+ --color-muted-foreground: var(--muted-foreground);
+ --color-muted: var(--muted);
+ --color-secondary-foreground: var(--secondary-foreground);
+ --color-secondary: var(--secondary);
+ --color-primary-foreground: var(--primary-foreground);
+ --color-primary: var(--primary);
+ --color-popover-foreground: var(--popover-foreground);
+ --color-popover: var(--popover);
+ --color-card-foreground: var(--card-foreground);
+ --color-card: var(--card);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
- --color-background: var(--background);
- --color-foreground: var(--foreground);
- --color-card: var(--card);
- --color-card-foreground: var(--card-foreground);
- --color-popover: var(--popover);
- --color-popover-foreground: var(--popover-foreground);
- --color-primary: var(--primary);
- --color-primary-foreground: var(--primary-foreground);
- --color-secondary: var(--secondary);
- --color-secondary-foreground: var(--secondary-foreground);
- --color-muted: var(--muted);
- --color-muted-foreground: var(--muted-foreground);
- --color-accent: var(--accent);
- --color-accent-foreground: var(--accent-foreground);
- --color-destructive: var(--destructive);
- --color-border: var(--border);
- --color-input: var(--input);
- --color-ring: var(--ring);
- --color-chart-1: var(--chart-1);
- --color-chart-2: var(--chart-2);
- --color-chart-3: var(--chart-3);
- --color-chart-4: var(--chart-4);
- --color-chart-5: var(--chart-5);
- --color-sidebar: var(--sidebar);
- --color-sidebar-foreground: var(--sidebar-foreground);
- --color-sidebar-primary: var(--sidebar-primary);
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
- --color-sidebar-accent: var(--sidebar-accent);
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
- --color-sidebar-border: var(--sidebar-border);
- --color-sidebar-ring: var(--sidebar-ring);
}
:root {
--radius: 0.625rem;
+ --background: oklch(1 0 0);
+ --foreground: oklch(0.145 0 0);
--card: oklch(1 0 0);
- --card-foreground: oklch(0.141 0.005 285.823);
+ --card-foreground: oklch(0.145 0 0);
--popover: oklch(1 0 0);
- --popover-foreground: oklch(0.141 0.005 285.823);
- --primary: oklch(0.21 0.006 285.885);
+ --popover-foreground: oklch(0.145 0 0);
+ --primary: oklch(0.205 0 0);
--primary-foreground: oklch(0.985 0 0);
- --secondary: oklch(0.967 0.001 286.375);
- --secondary-foreground: oklch(0.21 0.006 285.885);
- --muted: oklch(0.967 0.001 286.375);
- --muted-foreground: oklch(0.552 0.016 285.938);
- --accent: oklch(0.967 0.001 286.375);
- --accent-foreground: oklch(0.21 0.006 285.885);
+ --secondary: oklch(0.97 0 0);
+ --secondary-foreground: oklch(0.205 0 0);
+ --muted: oklch(0.97 0 0);
+ --muted-foreground: oklch(0.556 0 0);
+ --accent: oklch(0.97 0 0);
+ --accent-foreground: oklch(0.205 0 0);
--destructive: oklch(0.577 0.245 27.325);
- --border: oklch(0.92 0.004 286.32);
- --input: oklch(0.92 0.004 286.32);
- --ring: oklch(0.705 0.015 286.067);
+ --border: oklch(0.922 0 0);
+ --input: oklch(0.922 0 0);
+ --ring: oklch(0.708 0 0);
--chart-1: oklch(0.646 0.222 41.116);
--chart-2: oklch(0.6 0.118 184.704);
--chart-3: oklch(0.398 0.07 227.392);
--chart-4: oklch(0.828 0.189 84.429);
--chart-5: oklch(0.769 0.188 70.08);
--sidebar: oklch(0.985 0 0);
- --sidebar-foreground: oklch(0.141 0.005 285.823);
- --sidebar-primary: oklch(0.21 0.006 285.885);
+ --sidebar-foreground: oklch(0.145 0 0);
+ --sidebar-primary: oklch(0.205 0 0);
--sidebar-primary-foreground: oklch(0.985 0 0);
- --sidebar-accent: oklch(0.967 0.001 286.375);
- --sidebar-accent-foreground: oklch(0.21 0.006 285.885);
- --sidebar-border: oklch(0.92 0.004 286.32);
- --sidebar-ring: oklch(0.705 0.015 286.067);
- --background: oklch(1 0 0);
- --foreground: oklch(0.141 0.005 285.823);
+ --sidebar-accent: oklch(0.97 0 0);
+ --sidebar-accent-foreground: oklch(0.205 0 0);
+ --sidebar-border: oklch(0.922 0 0);
+ --sidebar-ring: oklch(0.708 0 0);
}
.dark {
- --background: oklch(0.141 0.005 285.823);
+ --background: oklch(0.145 0 0);
--foreground: oklch(0.985 0 0);
- --card: oklch(0.21 0.006 285.885);
+ --card: oklch(0.205 0 0);
--card-foreground: oklch(0.985 0 0);
- --popover: oklch(0.21 0.006 285.885);
+ --popover: oklch(0.205 0 0);
--popover-foreground: oklch(0.985 0 0);
- --primary: oklch(0.92 0.004 286.32);
- --primary-foreground: oklch(0.21 0.006 285.885);
- --secondary: oklch(0.274 0.006 286.033);
+ --primary: oklch(0.922 0 0);
+ --primary-foreground: oklch(0.205 0 0);
+ --secondary: oklch(0.269 0 0);
--secondary-foreground: oklch(0.985 0 0);
- --muted: oklch(0.274 0.006 286.033);
- --muted-foreground: oklch(0.705 0.015 286.067);
- --accent: oklch(0.274 0.006 286.033);
+ --muted: oklch(0.269 0 0);
+ --muted-foreground: oklch(0.708 0 0);
+ --accent: oklch(0.269 0 0);
--accent-foreground: oklch(0.985 0 0);
--destructive: oklch(0.704 0.191 22.216);
--border: oklch(1 0 0 / 10%);
--input: oklch(1 0 0 / 15%);
- --ring: oklch(0.552 0.016 285.938);
+ --ring: oklch(0.556 0 0);
--chart-1: oklch(0.488 0.243 264.376);
--chart-2: oklch(0.696 0.17 162.48);
--chart-3: oklch(0.769 0.188 70.08);
--chart-4: oklch(0.627 0.265 303.9);
--chart-5: oklch(0.645 0.246 16.439);
- --sidebar: oklch(0.21 0.006 285.885);
+ --sidebar: oklch(0.205 0 0);
--sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.488 0.243 264.376);
--sidebar-primary-foreground: oklch(0.985 0 0);
- --sidebar-accent: oklch(0.274 0.006 286.033);
+ --sidebar-accent: oklch(0.269 0 0);
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(1 0 0 / 10%);
- --sidebar-ring: oklch(0.552 0.016 285.938);
+ --sidebar-ring: oklch(0.556 0 0);
}
@layer base {
diff --git a/app/layout.tsx b/app/layout.tsx
new file mode 100644
index 0000000..f7fa87e
--- /dev/null
+++ b/app/layout.tsx
@@ -0,0 +1,34 @@
+import type { Metadata } from "next";
+import { Geist, Geist_Mono } from "next/font/google";
+import "./globals.css";
+
+const geistSans = Geist({
+ variable: "--font-geist-sans",
+ subsets: ["latin"],
+});
+
+const geistMono = Geist_Mono({
+ variable: "--font-geist-mono",
+ subsets: ["latin"],
+});
+
+export const metadata: Metadata = {
+ title: "Create Next App",
+ description: "Generated by create next app",
+};
+
+export default function RootLayout({
+ children,
+}: Readonly<{
+ children: React.ReactNode;
+}>) {
+ return (
+
+
+ {children}
+
+
+ );
+}
diff --git a/app/page.tsx b/app/page.tsx
new file mode 100644
index 0000000..295f8fd
--- /dev/null
+++ b/app/page.tsx
@@ -0,0 +1,65 @@
+import Image from "next/image";
+
+export default function Home() {
+ return (
+
+
+
+
+
+ To get started, edit the page.tsx file.
+
+
+ Looking for a starting point or more instructions? Head over to{" "}
+
+ Templates
+ {" "}
+ or the{" "}
+
+ Learning
+ {" "}
+ center.
+
+
+
+
+
+ );
+}
diff --git a/components.json b/components.json
index 2d3bd8a..b7b9791 100644
--- a/components.json
+++ b/components.json
@@ -5,18 +5,18 @@
"tsx": true,
"tailwind": {
"config": "",
- "css": "src/styles/globals.css",
- "baseColor": "zinc",
+ "css": "app/globals.css",
+ "baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"iconLibrary": "lucide",
"aliases": {
- "components": "~/components",
- "utils": "~/lib/utils",
- "ui": "~/components/ui",
- "lib": "~/lib",
- "hooks": "~/hooks"
+ "components": "@/components",
+ "utils": "@/lib/utils",
+ "ui": "@/components/ui",
+ "lib": "@/lib",
+ "hooks": "@/hooks"
},
"registries": {}
}
diff --git a/src/components/ui/button.tsx b/components/ui/button.tsx
similarity index 98%
rename from src/components/ui/button.tsx
rename to components/ui/button.tsx
index ede3d0e..21409a0 100644
--- a/src/components/ui/button.tsx
+++ b/components/ui/button.tsx
@@ -2,7 +2,7 @@ import * as React from "react"
import { Slot } from "@radix-ui/react-slot"
import { cva, type VariantProps } from "class-variance-authority"
-import { cn } from "~/lib/utils"
+import { cn } from "@/lib/utils"
const buttonVariants = cva(
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
diff --git a/eslint.config.js b/eslint.config.js
deleted file mode 100644
index 18540a3..0000000
--- a/eslint.config.js
+++ /dev/null
@@ -1,48 +0,0 @@
-import { FlatCompat } from "@eslint/eslintrc";
-import tseslint from "typescript-eslint";
-
-const compat = new FlatCompat({
- baseDirectory: import.meta.dirname,
-});
-
-export default tseslint.config(
- {
- ignores: [".next"],
- },
- ...compat.extends("next/core-web-vitals"),
- {
- files: ["**/*.ts", "**/*.tsx"],
- extends: [
- ...tseslint.configs.recommended,
- ...tseslint.configs.recommendedTypeChecked,
- ...tseslint.configs.stylisticTypeChecked,
- ],
- rules: {
- "@typescript-eslint/array-type": "off",
- "@typescript-eslint/consistent-type-definitions": "off",
- "@typescript-eslint/consistent-type-imports": [
- "warn",
- { prefer: "type-imports", fixStyle: "inline-type-imports" },
- ],
- "@typescript-eslint/no-unused-vars": [
- "warn",
- { argsIgnorePattern: "^_" },
- ],
- "@typescript-eslint/require-await": "off",
- "@typescript-eslint/no-misused-promises": [
- "error",
- { checksVoidReturn: { attributes: false } },
- ],
- },
- },
- {
- linterOptions: {
- reportUnusedDisableDirectives: true,
- },
- languageOptions: {
- parserOptions: {
- projectService: true,
- },
- },
- },
-);
diff --git a/eslint.config.mjs b/eslint.config.mjs
new file mode 100644
index 0000000..05e726d
--- /dev/null
+++ b/eslint.config.mjs
@@ -0,0 +1,18 @@
+import { defineConfig, globalIgnores } from "eslint/config";
+import nextVitals from "eslint-config-next/core-web-vitals";
+import nextTs from "eslint-config-next/typescript";
+
+const eslintConfig = defineConfig([
+ ...nextVitals,
+ ...nextTs,
+ // Override default ignores of eslint-config-next.
+ globalIgnores([
+ // Default ignores of eslint-config-next:
+ ".next/**",
+ "out/**",
+ "build/**",
+ "next-env.d.ts",
+ ]),
+]);
+
+export default eslintConfig;
diff --git a/generated/prisma/client.d.ts b/generated/prisma/client.d.ts
deleted file mode 100644
index bc20c6c..0000000
--- a/generated/prisma/client.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "./index"
\ No newline at end of file
diff --git a/generated/prisma/client.js b/generated/prisma/client.js
deleted file mode 100644
index 6ac8a81..0000000
--- a/generated/prisma/client.js
+++ /dev/null
@@ -1,5 +0,0 @@
-
-/* !!! This is code generated by Prisma. Do not edit directly. !!!
-/* eslint-disable */
-// biome-ignore-all lint: generated file
-module.exports = { ...require('.') }
\ No newline at end of file
diff --git a/generated/prisma/default.d.ts b/generated/prisma/default.d.ts
deleted file mode 100644
index bc20c6c..0000000
--- a/generated/prisma/default.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "./index"
\ No newline at end of file
diff --git a/generated/prisma/default.js b/generated/prisma/default.js
deleted file mode 100644
index eb55675..0000000
--- a/generated/prisma/default.js
+++ /dev/null
@@ -1,5 +0,0 @@
-
-/* !!! This is code generated by Prisma. Do not edit directly. !!!
-/* eslint-disable */
-// biome-ignore-all lint: generated file
-module.exports = { ...require('#main-entry-point') }
\ No newline at end of file
diff --git a/generated/prisma/edge.d.ts b/generated/prisma/edge.d.ts
deleted file mode 100644
index 274b8fa..0000000
--- a/generated/prisma/edge.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "./default"
\ No newline at end of file
diff --git a/generated/prisma/edge.js b/generated/prisma/edge.js
deleted file mode 100644
index f53ecaa..0000000
--- a/generated/prisma/edge.js
+++ /dev/null
@@ -1,228 +0,0 @@
-
-/* !!! This is code generated by Prisma. Do not edit directly. !!!
-/* eslint-disable */
-// biome-ignore-all lint: generated file
-
-Object.defineProperty(exports, "__esModule", { value: true });
-
-const {
- PrismaClientKnownRequestError,
- PrismaClientUnknownRequestError,
- PrismaClientRustPanicError,
- PrismaClientInitializationError,
- PrismaClientValidationError,
- getPrismaClient,
- sqltag,
- empty,
- join,
- raw,
- skip,
- Decimal,
- Debug,
- objectEnumValues,
- makeStrictEnum,
- Extensions,
- warnOnce,
- defineDmmfProperty,
- Public,
- getRuntime,
- createParam,
-} = require('./runtime/edge.js')
-
-
-const Prisma = {}
-
-exports.Prisma = Prisma
-exports.$Enums = {}
-
-/**
- * Prisma Client JS version: 6.19.0
- * Query Engine version: 2ba551f319ab1df4bc874a89965d8b3641056773
- */
-Prisma.prismaVersion = {
- client: "6.19.0",
- engine: "2ba551f319ab1df4bc874a89965d8b3641056773"
-}
-
-Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
-Prisma.PrismaClientUnknownRequestError = PrismaClientUnknownRequestError
-Prisma.PrismaClientRustPanicError = PrismaClientRustPanicError
-Prisma.PrismaClientInitializationError = PrismaClientInitializationError
-Prisma.PrismaClientValidationError = PrismaClientValidationError
-Prisma.Decimal = Decimal
-
-/**
- * Re-export of sql-template-tag
- */
-Prisma.sql = sqltag
-Prisma.empty = empty
-Prisma.join = join
-Prisma.raw = raw
-Prisma.validator = Public.validator
-
-/**
-* Extensions
-*/
-Prisma.getExtensionContext = Extensions.getExtensionContext
-Prisma.defineExtension = Extensions.defineExtension
-
-/**
- * Shorthand utilities for JSON filtering
- */
-Prisma.DbNull = objectEnumValues.instances.DbNull
-Prisma.JsonNull = objectEnumValues.instances.JsonNull
-Prisma.AnyNull = objectEnumValues.instances.AnyNull
-
-Prisma.NullTypes = {
- DbNull: objectEnumValues.classes.DbNull,
- JsonNull: objectEnumValues.classes.JsonNull,
- AnyNull: objectEnumValues.classes.AnyNull
-}
-
-
-
-
-
-/**
- * Enums
- */
-exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
- Serializable: 'Serializable'
-});
-
-exports.Prisma.PostScalarFieldEnum = {
- id: 'id',
- name: 'name',
- createdAt: 'createdAt',
- updatedAt: 'updatedAt',
- createdById: 'createdById'
-};
-
-exports.Prisma.AccountScalarFieldEnum = {
- id: 'id',
- userId: 'userId',
- type: 'type',
- provider: 'provider',
- providerAccountId: 'providerAccountId',
- refresh_token: 'refresh_token',
- access_token: 'access_token',
- expires_at: 'expires_at',
- token_type: 'token_type',
- scope: 'scope',
- id_token: 'id_token',
- session_state: 'session_state',
- refresh_token_expires_in: 'refresh_token_expires_in'
-};
-
-exports.Prisma.SessionScalarFieldEnum = {
- id: 'id',
- sessionToken: 'sessionToken',
- userId: 'userId',
- expires: 'expires'
-};
-
-exports.Prisma.UserScalarFieldEnum = {
- id: 'id',
- name: 'name',
- email: 'email',
- emailVerified: 'emailVerified',
- image: 'image'
-};
-
-exports.Prisma.VerificationTokenScalarFieldEnum = {
- identifier: 'identifier',
- token: 'token',
- expires: 'expires'
-};
-
-exports.Prisma.SortOrder = {
- asc: 'asc',
- desc: 'desc'
-};
-
-exports.Prisma.NullsOrder = {
- first: 'first',
- last: 'last'
-};
-
-
-exports.Prisma.ModelName = {
- Post: 'Post',
- Account: 'Account',
- Session: 'Session',
- User: 'User',
- VerificationToken: 'VerificationToken'
-};
-/**
- * Create the Client
- */
-const config = {
- "generator": {
- "name": "client",
- "provider": {
- "fromEnvVar": null,
- "value": "prisma-client-js"
- },
- "output": {
- "value": "C:\\Users\\admin\\Desktop\\web3next\\generated\\prisma",
- "fromEnvVar": null
- },
- "config": {
- "engineType": "library"
- },
- "binaryTargets": [
- {
- "fromEnvVar": null,
- "value": "windows",
- "native": true
- }
- ],
- "previewFeatures": [],
- "sourceFilePath": "C:\\Users\\admin\\Desktop\\web3next\\prisma\\schema.prisma",
- "isCustomOutput": true
- },
- "relativeEnvPaths": {
- "rootEnvPath": null,
- "schemaEnvPath": "../../.env"
- },
- "relativePath": "../../prisma",
- "clientVersion": "6.19.0",
- "engineVersion": "2ba551f319ab1df4bc874a89965d8b3641056773",
- "datasourceNames": [
- "db"
- ],
- "activeProvider": "sqlite",
- "postinstall": false,
- "inlineDatasources": {
- "db": {
- "url": {
- "fromEnvVar": "DATABASE_URL",
- "value": null
- }
- }
- },
- "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\ngenerator client {\n provider = \"prisma-client-js\"\n output = \"../generated/prisma\"\n}\n\ndatasource db {\n provider = \"sqlite\"\n // NOTE: When using mysql or sqlserver, uncomment the @db.Text annotations in model Account below\n // Further reading:\n // https://next-auth.js.org/adapters/prisma#create-the-prisma-schema\n // https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#string\n url = env(\"DATABASE_URL\")\n}\n\nmodel Post {\n id Int @id @default(autoincrement())\n name String\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n createdBy User @relation(fields: [createdById], references: [id])\n createdById String\n\n @@index([name])\n}\n\n// Necessary for Next auth\nmodel Account {\n id String @id @default(cuid())\n userId String\n type String\n provider String\n providerAccountId String\n refresh_token String? // @db.Text\n access_token String? // @db.Text\n expires_at Int?\n token_type String?\n scope String?\n id_token String? // @db.Text\n session_state String?\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n refresh_token_expires_in Int?\n\n @@unique([provider, providerAccountId])\n}\n\nmodel Session {\n id String @id @default(cuid())\n sessionToken String @unique\n userId String\n expires DateTime\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n}\n\nmodel User {\n id String @id @default(cuid())\n name String?\n email String? @unique\n emailVerified DateTime?\n image String?\n accounts Account[]\n sessions Session[]\n posts Post[]\n}\n\nmodel VerificationToken {\n identifier String\n token String @unique\n expires DateTime\n\n @@unique([identifier, token])\n}\n",
- "inlineSchemaHash": "2379fe619003a4532e1317ec33324f5549ff669a85866549ae71a5b6c8c7fc10",
- "copyEngine": true
-}
-config.dirname = '/'
-
-config.runtimeDataModel = JSON.parse("{\"models\":{\"Post\":{\"dbName\":null,\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"nativeType\":null,\"default\":{\"name\":\"autoincrement\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"nativeType\":null,\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"createdBy\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"PostToUser\",\"relationFromFields\":[\"createdById\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"createdById\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Account\":{\"dbName\":null,\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":null,\"default\":{\"name\":\"cuid\",\"args\":[1]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"type\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"provider\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"providerAccountId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"refresh_token\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"access_token\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"expires_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"token_type\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"scope\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"id_token\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"session_state\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"AccountToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"refresh_token_expires_in\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"provider\",\"providerAccountId\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"provider\",\"providerAccountId\"]}],\"isGenerated\":false},\"Session\":{\"dbName\":null,\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":null,\"default\":{\"name\":\"cuid\",\"args\":[1]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sessionToken\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"expires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"nativeType\":null,\"relationName\":\"SessionToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"User\":{\"dbName\":null,\"schema\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"nativeType\":null,\"default\":{\"name\":\"cuid\",\"args\":[1]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"email\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"emailVerified\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"image\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"accounts\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Account\",\"nativeType\":null,\"relationName\":\"AccountToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sessions\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Session\",\"nativeType\":null,\"relationName\":\"SessionToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"posts\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Post\",\"nativeType\":null,\"relationName\":\"PostToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"VerificationToken\":{\"dbName\":null,\"schema\":null,\"fields\":[{\"name\":\"identifier\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"token\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"expires\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"nativeType\":null,\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[[\"identifier\",\"token\"]],\"uniqueIndexes\":[{\"name\":null,\"fields\":[\"identifier\",\"token\"]}],\"isGenerated\":false}},\"enums\":{},\"types\":{}}")
-defineDmmfProperty(exports.Prisma, config.runtimeDataModel)
-config.engineWasm = undefined
-config.compilerWasm = undefined
-
-config.injectableEdgeEnv = () => ({
- parsed: {
- DATABASE_URL: typeof globalThis !== 'undefined' && globalThis['DATABASE_URL'] || typeof process !== 'undefined' && process.env && process.env.DATABASE_URL || undefined
- }
-})
-
-if (typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined) {
- Debug.enable(typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined)
-}
-
-const PrismaClient = getPrismaClient(config)
-exports.PrismaClient = PrismaClient
-Object.assign(exports, Prisma)
-
diff --git a/generated/prisma/index-browser.js b/generated/prisma/index-browser.js
deleted file mode 100644
index 8725c4e..0000000
--- a/generated/prisma/index-browser.js
+++ /dev/null
@@ -1,214 +0,0 @@
-
-/* !!! This is code generated by Prisma. Do not edit directly. !!!
-/* eslint-disable */
-// biome-ignore-all lint: generated file
-
-Object.defineProperty(exports, "__esModule", { value: true });
-
-const {
- Decimal,
- objectEnumValues,
- makeStrictEnum,
- Public,
- getRuntime,
- skip
-} = require('./runtime/index-browser.js')
-
-
-const Prisma = {}
-
-exports.Prisma = Prisma
-exports.$Enums = {}
-
-/**
- * Prisma Client JS version: 6.19.0
- * Query Engine version: 2ba551f319ab1df4bc874a89965d8b3641056773
- */
-Prisma.prismaVersion = {
- client: "6.19.0",
- engine: "2ba551f319ab1df4bc874a89965d8b3641056773"
-}
-
-Prisma.PrismaClientKnownRequestError = () => {
- const runtimeName = getRuntime().prettyName;
- throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
-In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
-)};
-Prisma.PrismaClientUnknownRequestError = () => {
- const runtimeName = getRuntime().prettyName;
- throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
-In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
-)}
-Prisma.PrismaClientRustPanicError = () => {
- const runtimeName = getRuntime().prettyName;
- throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
-In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
-)}
-Prisma.PrismaClientInitializationError = () => {
- const runtimeName = getRuntime().prettyName;
- throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
-In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
-)}
-Prisma.PrismaClientValidationError = () => {
- const runtimeName = getRuntime().prettyName;
- throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
-In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
-)}
-Prisma.Decimal = Decimal
-
-/**
- * Re-export of sql-template-tag
- */
-Prisma.sql = () => {
- const runtimeName = getRuntime().prettyName;
- throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
-In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
-)}
-Prisma.empty = () => {
- const runtimeName = getRuntime().prettyName;
- throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
-In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
-)}
-Prisma.join = () => {
- const runtimeName = getRuntime().prettyName;
- throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
-In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
-)}
-Prisma.raw = () => {
- const runtimeName = getRuntime().prettyName;
- throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
-In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
-)}
-Prisma.validator = Public.validator
-
-/**
-* Extensions
-*/
-Prisma.getExtensionContext = () => {
- const runtimeName = getRuntime().prettyName;
- throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
-In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
-)}
-Prisma.defineExtension = () => {
- const runtimeName = getRuntime().prettyName;
- throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
-In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
-)}
-
-/**
- * Shorthand utilities for JSON filtering
- */
-Prisma.DbNull = objectEnumValues.instances.DbNull
-Prisma.JsonNull = objectEnumValues.instances.JsonNull
-Prisma.AnyNull = objectEnumValues.instances.AnyNull
-
-Prisma.NullTypes = {
- DbNull: objectEnumValues.classes.DbNull,
- JsonNull: objectEnumValues.classes.JsonNull,
- AnyNull: objectEnumValues.classes.AnyNull
-}
-
-
-
-/**
- * Enums
- */
-
-exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
- Serializable: 'Serializable'
-});
-
-exports.Prisma.PostScalarFieldEnum = {
- id: 'id',
- name: 'name',
- createdAt: 'createdAt',
- updatedAt: 'updatedAt',
- createdById: 'createdById'
-};
-
-exports.Prisma.AccountScalarFieldEnum = {
- id: 'id',
- userId: 'userId',
- type: 'type',
- provider: 'provider',
- providerAccountId: 'providerAccountId',
- refresh_token: 'refresh_token',
- access_token: 'access_token',
- expires_at: 'expires_at',
- token_type: 'token_type',
- scope: 'scope',
- id_token: 'id_token',
- session_state: 'session_state',
- refresh_token_expires_in: 'refresh_token_expires_in'
-};
-
-exports.Prisma.SessionScalarFieldEnum = {
- id: 'id',
- sessionToken: 'sessionToken',
- userId: 'userId',
- expires: 'expires'
-};
-
-exports.Prisma.UserScalarFieldEnum = {
- id: 'id',
- name: 'name',
- email: 'email',
- emailVerified: 'emailVerified',
- image: 'image'
-};
-
-exports.Prisma.VerificationTokenScalarFieldEnum = {
- identifier: 'identifier',
- token: 'token',
- expires: 'expires'
-};
-
-exports.Prisma.SortOrder = {
- asc: 'asc',
- desc: 'desc'
-};
-
-exports.Prisma.NullsOrder = {
- first: 'first',
- last: 'last'
-};
-
-
-exports.Prisma.ModelName = {
- Post: 'Post',
- Account: 'Account',
- Session: 'Session',
- User: 'User',
- VerificationToken: 'VerificationToken'
-};
-
-/**
- * This is a stub Prisma Client that will error at runtime if called.
- */
-class PrismaClient {
- constructor() {
- return new Proxy(this, {
- get(target, prop) {
- let message
- const runtime = getRuntime()
- if (runtime.isEdge) {
- message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
-- Use Prisma Accelerate: https://pris.ly/d/accelerate
-- Use Driver Adapters: https://pris.ly/d/driver-adapters
-`;
- } else {
- message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
- }
-
- message += `
-If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
-
- throw new Error(message)
- }
- })
- }
-}
-
-exports.PrismaClient = PrismaClient
-
-Object.assign(exports, Prisma)
diff --git a/generated/prisma/index.d.ts b/generated/prisma/index.d.ts
deleted file mode 100644
index a6dc46f..0000000
--- a/generated/prisma/index.d.ts
+++ /dev/null
@@ -1,8671 +0,0 @@
-
-/**
- * Client
-**/
-
-import * as runtime from './runtime/library.js';
-import $Types = runtime.Types // general types
-import $Public = runtime.Types.Public
-import $Utils = runtime.Types.Utils
-import $Extensions = runtime.Types.Extensions
-import $Result = runtime.Types.Result
-
-export type PrismaPromise = $Public.PrismaPromise
-
-
-/**
- * Model Post
- *
- */
-export type Post = $Result.DefaultSelection
-/**
- * Model Account
- *
- */
-export type Account = $Result.DefaultSelection
-/**
- * Model Session
- *
- */
-export type Session = $Result.DefaultSelection
-/**
- * Model User
- *
- */
-export type User = $Result.DefaultSelection
-/**
- * Model VerificationToken
- *
- */
-export type VerificationToken = $Result.DefaultSelection
-
-/**
- * ## Prisma Client ʲˢ
- *
- * Type-safe database client for TypeScript & Node.js
- * @example
- * ```
- * const prisma = new PrismaClient()
- * // Fetch zero or more Posts
- * const posts = await prisma.post.findMany()
- * ```
- *
- *
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
- */
-export class PrismaClient<
- ClientOptions extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions,
- const U = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array ? Prisma.GetEvents : never : never,
- ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs
-> {
- [K: symbol]: { types: Prisma.TypeMap['other'] }
-
- /**
- * ## Prisma Client ʲˢ
- *
- * Type-safe database client for TypeScript & Node.js
- * @example
- * ```
- * const prisma = new PrismaClient()
- * // Fetch zero or more Posts
- * const posts = await prisma.post.findMany()
- * ```
- *
- *
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
- */
-
- constructor(optionsArg ?: Prisma.Subset);
- $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
-
- /**
- * Connect with the database
- */
- $connect(): $Utils.JsPromise;
-
- /**
- * Disconnect from the database
- */
- $disconnect(): $Utils.JsPromise;
-
-/**
- * Executes a prepared raw query and returns the number of affected rows.
- * @example
- * ```
- * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
- * ```
- *
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
- */
- $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise;
-
- /**
- * Executes a raw query and returns the number of affected rows.
- * Susceptible to SQL injections, see documentation.
- * @example
- * ```
- * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
- * ```
- *
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
- */
- $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise;
-
- /**
- * Performs a prepared raw query and returns the `SELECT` data.
- * @example
- * ```
- * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
- * ```
- *
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
- */
- $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise;
-
- /**
- * Performs a raw query and returns the `SELECT` data.
- * Susceptible to SQL injections, see documentation.
- * @example
- * ```
- * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
- * ```
- *
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
- */
- $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise;
-
-
- /**
- * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
- * @example
- * ```
- * const [george, bob, alice] = await prisma.$transaction([
- * prisma.user.create({ data: { name: 'George' } }),
- * prisma.user.create({ data: { name: 'Bob' } }),
- * prisma.user.create({ data: { name: 'Alice' } }),
- * ])
- * ```
- *
- * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions).
- */
- $transaction[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise>
-
- $transaction(fn: (prisma: Omit) => $Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise
-
-
- $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, $Utils.Call, {
- extArgs: ExtArgs
- }>>
-
- /**
- * `prisma.post`: Exposes CRUD operations for the **Post** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more Posts
- * const posts = await prisma.post.findMany()
- * ```
- */
- get post(): Prisma.PostDelegate;
-
- /**
- * `prisma.account`: Exposes CRUD operations for the **Account** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more Accounts
- * const accounts = await prisma.account.findMany()
- * ```
- */
- get account(): Prisma.AccountDelegate;
-
- /**
- * `prisma.session`: Exposes CRUD operations for the **Session** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more Sessions
- * const sessions = await prisma.session.findMany()
- * ```
- */
- get session(): Prisma.SessionDelegate;
-
- /**
- * `prisma.user`: Exposes CRUD operations for the **User** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more Users
- * const users = await prisma.user.findMany()
- * ```
- */
- get user(): Prisma.UserDelegate;
-
- /**
- * `prisma.verificationToken`: Exposes CRUD operations for the **VerificationToken** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more VerificationTokens
- * const verificationTokens = await prisma.verificationToken.findMany()
- * ```
- */
- get verificationToken(): Prisma.VerificationTokenDelegate;
-}
-
-export namespace Prisma {
- export import DMMF = runtime.DMMF
-
- export type PrismaPromise = $Public.PrismaPromise
-
- /**
- * Validator
- */
- export import validator = runtime.Public.validator
-
- /**
- * Prisma Errors
- */
- export import PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
- export import PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
- export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
- export import PrismaClientInitializationError = runtime.PrismaClientInitializationError
- export import PrismaClientValidationError = runtime.PrismaClientValidationError
-
- /**
- * Re-export of sql-template-tag
- */
- export import sql = runtime.sqltag
- export import empty = runtime.empty
- export import join = runtime.join
- export import raw = runtime.raw
- export import Sql = runtime.Sql
-
-
-
- /**
- * Decimal.js
- */
- export import Decimal = runtime.Decimal
-
- export type DecimalJsLike = runtime.DecimalJsLike
-
- /**
- * Metrics
- */
- export type Metrics = runtime.Metrics
- export type Metric = runtime.Metric
- export type MetricHistogram = runtime.MetricHistogram
- export type MetricHistogramBucket = runtime.MetricHistogramBucket
-
- /**
- * Extensions
- */
- export import Extension = $Extensions.UserArgs
- export import getExtensionContext = runtime.Extensions.getExtensionContext
- export import Args = $Public.Args
- export import Payload = $Public.Payload
- export import Result = $Public.Result
- export import Exact = $Public.Exact
-
- /**
- * Prisma Client JS version: 6.19.0
- * Query Engine version: 2ba551f319ab1df4bc874a89965d8b3641056773
- */
- export type PrismaVersion = {
- client: string
- }
-
- export const prismaVersion: PrismaVersion
-
- /**
- * Utility Types
- */
-
-
- export import Bytes = runtime.Bytes
- export import JsonObject = runtime.JsonObject
- export import JsonArray = runtime.JsonArray
- export import JsonValue = runtime.JsonValue
- export import InputJsonObject = runtime.InputJsonObject
- export import InputJsonArray = runtime.InputJsonArray
- export import InputJsonValue = runtime.InputJsonValue
-
- /**
- * Types of the values used to represent different kinds of `null` values when working with JSON fields.
- *
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
- */
- namespace NullTypes {
- /**
- * Type of `Prisma.DbNull`.
- *
- * You cannot use other instances of this class. Please use the `Prisma.DbNull` value.
- *
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
- */
- class DbNull {
- private DbNull: never
- private constructor()
- }
-
- /**
- * Type of `Prisma.JsonNull`.
- *
- * You cannot use other instances of this class. Please use the `Prisma.JsonNull` value.
- *
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
- */
- class JsonNull {
- private JsonNull: never
- private constructor()
- }
-
- /**
- * Type of `Prisma.AnyNull`.
- *
- * You cannot use other instances of this class. Please use the `Prisma.AnyNull` value.
- *
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
- */
- class AnyNull {
- private AnyNull: never
- private constructor()
- }
- }
-
- /**
- * Helper for filtering JSON entries that have `null` on the database (empty on the db)
- *
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
- */
- export const DbNull: NullTypes.DbNull
-
- /**
- * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
- *
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
- */
- export const JsonNull: NullTypes.JsonNull
-
- /**
- * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
- *
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
- */
- export const AnyNull: NullTypes.AnyNull
-
- type SelectAndInclude = {
- select: any
- include: any
- }
-
- type SelectAndOmit = {
- select: any
- omit: any
- }
-
- /**
- * Get the type of the value, that the Promise holds.
- */
- export type PromiseType> = T extends PromiseLike ? U : T;
-
- /**
- * Get the return type of a function which returns a Promise.
- */
- export type PromiseReturnType $Utils.JsPromise> = PromiseType>
-
- /**
- * From T, pick a set of properties whose keys are in the union K
- */
- type Prisma__Pick = {
- [P in K]: T[P];
- };
-
-
- export type Enumerable = T | Array;
-
- export type RequiredKeys = {
- [K in keyof T]-?: {} extends Prisma__Pick ? never : K
- }[keyof T]
-
- export type TruthyKeys = keyof {
- [K in keyof T as T[K] extends false | undefined | null ? never : K]: K
- }
-
- export type TrueKeys = TruthyKeys>>
-
- /**
- * Subset
- * @desc From `T` pick properties that exist in `U`. Simple version of Intersection
- */
- export type Subset = {
- [key in keyof T]: key extends keyof U ? T[key] : never;
- };
-
- /**
- * SelectSubset
- * @desc From `T` pick properties that exist in `U`. Simple version of Intersection.
- * Additionally, it validates, if both select and include are present. If the case, it errors.
- */
- export type SelectSubset = {
- [key in keyof T]: key extends keyof U ? T[key] : never
- } &
- (T extends SelectAndInclude
- ? 'Please either choose `select` or `include`.'
- : T extends SelectAndOmit
- ? 'Please either choose `select` or `omit`.'
- : {})
-
- /**
- * Subset + Intersection
- * @desc From `T` pick properties that exist in `U` and intersect `K`
- */
- export type SubsetIntersection = {
- [key in keyof T]: key extends keyof U ? T[key] : never
- } &
- K
-
- type Without = { [P in Exclude]?: never };
-
- /**
- * XOR is needed to have a real mutually exclusive union type
- * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types
- */
- type XOR =
- T extends object ?
- U extends object ?
- (Without & U) | (Without & T)
- : U : T
-
-
- /**
- * Is T a Record?
- */
- type IsObject = T extends Array
- ? False
- : T extends Date
- ? False
- : T extends Uint8Array
- ? False
- : T extends BigInt
- ? False
- : T extends object
- ? True
- : False
-
-
- /**
- * If it's T[], return T
- */
- export type UnEnumerate = T extends Array ? U : T
-
- /**
- * From ts-toolbelt
- */
-
- type __Either = Omit &
- {
- // Merge all but K
- [P in K]: Prisma__Pick // With K possibilities
- }[K]
-
- type EitherStrict = Strict<__Either>
-
- type EitherLoose = ComputeRaw<__Either>
-
- type _Either<
- O extends object,
- K extends Key,
- strict extends Boolean
- > = {
- 1: EitherStrict
- 0: EitherLoose
- }[strict]
-
- type Either<
- O extends object,
- K extends Key,
- strict extends Boolean = 1
- > = O extends unknown ? _Either : never
-
- export type Union = any
-
- type PatchUndefined = {
- [K in keyof O]: O[K] extends undefined ? At : O[K]
- } & {}
-
- /** Helper Types for "Merge" **/
- export type IntersectOf = (
- U extends unknown ? (k: U) => void : never
- ) extends (k: infer I) => void
- ? I
- : never
-
- export type Overwrite = {
- [K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
- } & {};
-
- type _Merge = IntersectOf;
- }>>;
-
- type Key = string | number | symbol;
- type AtBasic = K extends keyof O ? O[K] : never;
- type AtStrict = O[K & keyof O];
- type AtLoose = O extends unknown ? AtStrict : never;
- export type At = {
- 1: AtStrict;
- 0: AtLoose;
- }[strict];
-
- export type ComputeRaw = A extends Function ? A : {
- [K in keyof A]: A[K];
- } & {};
-
- export type OptionalFlat = {
- [K in keyof O]?: O[K];
- } & {};
-
- type _Record = {
- [P in K]: T;
- };
-
- // cause typescript not to expand types and preserve names
- type NoExpand = T extends unknown ? T : never;
-
- // this type assumes the passed object is entirely optional
- type AtLeast = NoExpand<
- O extends unknown
- ? | (K extends keyof O ? { [P in K]: O[P] } & O : O)
- | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O
- : never>;
-
- type _Strict = U extends unknown ? U & OptionalFlat<_Record, keyof U>, never>> : never;
-
- export type Strict = ComputeRaw<_Strict>;
- /** End Helper Types for "Merge" **/
-
- export type Merge = ComputeRaw<_Merge>>;
-
- /**
- A [[Boolean]]
- */
- export type Boolean = True | False
-
- // /**
- // 1
- // */
- export type True = 1
-
- /**
- 0
- */
- export type False = 0
-
- export type Not = {
- 0: 1
- 1: 0
- }[B]
-
- export type Extends = [A1] extends [never]
- ? 0 // anything `never` is false
- : A1 extends A2
- ? 1
- : 0
-
- export type Has = Not<
- Extends, U1>
- >
-
- export type Or = {
- 0: {
- 0: 0
- 1: 1
- }
- 1: {
- 0: 1
- 1: 1
- }
- }[B1][B2]
-
- export type Keys = U extends unknown ? keyof U : never
-
- type Cast = A extends B ? A : B;
-
- export const type: unique symbol;
-
-
-
- /**
- * Used by group by
- */
-
- export type GetScalarType = O extends object ? {
- [P in keyof T]: P extends keyof O
- ? O[P]
- : never
- } : never
-
- type FieldPaths<
- T,
- U = Omit
- > = IsObject extends True ? U : T
-
- type GetHavingFields = {
- [K in keyof T]: Or<
- Or, Extends<'AND', K>>,
- Extends<'NOT', K>
- > extends True
- ? // infer is only needed to not hit TS limit
- // based on the brilliant idea of Pierre-Antoine Mills
- // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437
- T[K] extends infer TK
- ? GetHavingFields extends object ? Merge> : never>
- : never
- : {} extends FieldPaths
- ? never
- : K
- }[keyof T]
-
- /**
- * Convert tuple to union
- */
- type _TupleToUnion = T extends (infer E)[] ? E : never
- type TupleToUnion = _TupleToUnion
- type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T
-
- /**
- * Like `Pick`, but additionally can also accept an array of keys
- */
- type PickEnumerable | keyof T> = Prisma__Pick>
-
- /**
- * Exclude all keys with underscores
- */
- type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T
-
-
- export type FieldRef = runtime.FieldRef
-
- type FieldRefInputType = Model extends never ? never : FieldRef
-
-
- export const ModelName: {
- Post: 'Post',
- Account: 'Account',
- Session: 'Session',
- User: 'User',
- VerificationToken: 'VerificationToken'
- };
-
- export type ModelName = (typeof ModelName)[keyof typeof ModelName]
-
-
- export type Datasources = {
- db?: Datasource
- }
-
- interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs }, $Utils.Record> {
- returns: Prisma.TypeMap
- }
-
- export type TypeMap = {
- globalOmitOptions: {
- omit: GlobalOmitOptions
- }
- meta: {
- modelProps: "post" | "account" | "session" | "user" | "verificationToken"
- txIsolationLevel: Prisma.TransactionIsolationLevel
- }
- model: {
- Post: {
- payload: Prisma.$PostPayload
- fields: Prisma.PostFieldRefs
- operations: {
- findUnique: {
- args: Prisma.PostFindUniqueArgs
- result: $Utils.PayloadToResult | null
- }
- findUniqueOrThrow: {
- args: Prisma.PostFindUniqueOrThrowArgs
- result: $Utils.PayloadToResult
- }
- findFirst: {
- args: Prisma.PostFindFirstArgs
- result: $Utils.PayloadToResult | null
- }
- findFirstOrThrow: {
- args: Prisma.PostFindFirstOrThrowArgs
- result: $Utils.PayloadToResult
- }
- findMany: {
- args: Prisma.PostFindManyArgs
- result: $Utils.PayloadToResult[]
- }
- create: {
- args: Prisma.PostCreateArgs
- result: $Utils.PayloadToResult
- }
- createMany: {
- args: Prisma.PostCreateManyArgs
- result: BatchPayload
- }
- createManyAndReturn: {
- args: Prisma.PostCreateManyAndReturnArgs
- result: $Utils.PayloadToResult[]
- }
- delete: {
- args: Prisma.PostDeleteArgs
- result: $Utils.PayloadToResult
- }
- update: {
- args: Prisma.PostUpdateArgs
- result: $Utils.PayloadToResult
- }
- deleteMany: {
- args: Prisma.PostDeleteManyArgs
- result: BatchPayload
- }
- updateMany: {
- args: Prisma.PostUpdateManyArgs
- result: BatchPayload
- }
- updateManyAndReturn: {
- args: Prisma.PostUpdateManyAndReturnArgs
- result: $Utils.PayloadToResult[]
- }
- upsert: {
- args: Prisma.PostUpsertArgs
- result: $Utils.PayloadToResult
- }
- aggregate: {
- args: Prisma.PostAggregateArgs
- result: $Utils.Optional
- }
- groupBy: {
- args: Prisma.PostGroupByArgs
- result: $Utils.Optional[]
- }
- count: {
- args: Prisma.PostCountArgs
- result: $Utils.Optional | number
- }
- }
- }
- Account: {
- payload: Prisma.$AccountPayload
- fields: Prisma.AccountFieldRefs
- operations: {
- findUnique: {
- args: Prisma.AccountFindUniqueArgs
- result: $Utils.PayloadToResult | null
- }
- findUniqueOrThrow: {
- args: Prisma.AccountFindUniqueOrThrowArgs
- result: $Utils.PayloadToResult
- }
- findFirst: {
- args: Prisma.AccountFindFirstArgs
- result: $Utils.PayloadToResult | null
- }
- findFirstOrThrow: {
- args: Prisma.AccountFindFirstOrThrowArgs
- result: $Utils.PayloadToResult
- }
- findMany: {
- args: Prisma.AccountFindManyArgs
- result: $Utils.PayloadToResult[]
- }
- create: {
- args: Prisma.AccountCreateArgs
- result: $Utils.PayloadToResult
- }
- createMany: {
- args: Prisma.AccountCreateManyArgs
- result: BatchPayload
- }
- createManyAndReturn: {
- args: Prisma.AccountCreateManyAndReturnArgs
- result: $Utils.PayloadToResult[]
- }
- delete: {
- args: Prisma.AccountDeleteArgs
- result: $Utils.PayloadToResult
- }
- update: {
- args: Prisma.AccountUpdateArgs
- result: $Utils.PayloadToResult
- }
- deleteMany: {
- args: Prisma.AccountDeleteManyArgs
- result: BatchPayload
- }
- updateMany: {
- args: Prisma.AccountUpdateManyArgs
- result: BatchPayload
- }
- updateManyAndReturn: {
- args: Prisma.AccountUpdateManyAndReturnArgs
- result: $Utils.PayloadToResult[]
- }
- upsert: {
- args: Prisma.AccountUpsertArgs
- result: $Utils.PayloadToResult
- }
- aggregate: {
- args: Prisma.AccountAggregateArgs
- result: $Utils.Optional
- }
- groupBy: {
- args: Prisma.AccountGroupByArgs
- result: $Utils.Optional[]
- }
- count: {
- args: Prisma.AccountCountArgs
- result: $Utils.Optional | number
- }
- }
- }
- Session: {
- payload: Prisma.$SessionPayload
- fields: Prisma.SessionFieldRefs
- operations: {
- findUnique: {
- args: Prisma.SessionFindUniqueArgs
- result: $Utils.PayloadToResult | null
- }
- findUniqueOrThrow: {
- args: Prisma.SessionFindUniqueOrThrowArgs
- result: $Utils.PayloadToResult
- }
- findFirst: {
- args: Prisma.SessionFindFirstArgs
- result: $Utils.PayloadToResult | null
- }
- findFirstOrThrow: {
- args: Prisma.SessionFindFirstOrThrowArgs
- result: $Utils.PayloadToResult
- }
- findMany: {
- args: Prisma.SessionFindManyArgs
- result: $Utils.PayloadToResult[]
- }
- create: {
- args: Prisma.SessionCreateArgs
- result: $Utils.PayloadToResult
- }
- createMany: {
- args: Prisma.SessionCreateManyArgs
- result: BatchPayload
- }
- createManyAndReturn: {
- args: Prisma.SessionCreateManyAndReturnArgs
- result: $Utils.PayloadToResult[]
- }
- delete: {
- args: Prisma.SessionDeleteArgs
- result: $Utils.PayloadToResult
- }
- update: {
- args: Prisma.SessionUpdateArgs
- result: $Utils.PayloadToResult
- }
- deleteMany: {
- args: Prisma.SessionDeleteManyArgs
- result: BatchPayload
- }
- updateMany: {
- args: Prisma.SessionUpdateManyArgs
- result: BatchPayload
- }
- updateManyAndReturn: {
- args: Prisma.SessionUpdateManyAndReturnArgs
- result: $Utils.PayloadToResult[]
- }
- upsert: {
- args: Prisma.SessionUpsertArgs
- result: $Utils.PayloadToResult
- }
- aggregate: {
- args: Prisma.SessionAggregateArgs
- result: $Utils.Optional
- }
- groupBy: {
- args: Prisma.SessionGroupByArgs
- result: $Utils.Optional[]
- }
- count: {
- args: Prisma.SessionCountArgs
- result: $Utils.Optional | number
- }
- }
- }
- User: {
- payload: Prisma.$UserPayload
- fields: Prisma.UserFieldRefs
- operations: {
- findUnique: {
- args: Prisma.UserFindUniqueArgs
- result: $Utils.PayloadToResult | null
- }
- findUniqueOrThrow: {
- args: Prisma.UserFindUniqueOrThrowArgs
- result: $Utils.PayloadToResult
- }
- findFirst: {
- args: Prisma.UserFindFirstArgs
- result: $Utils.PayloadToResult | null
- }
- findFirstOrThrow: {
- args: Prisma.UserFindFirstOrThrowArgs
- result: $Utils.PayloadToResult
- }
- findMany: {
- args: Prisma.UserFindManyArgs
- result: $Utils.PayloadToResult[]
- }
- create: {
- args: Prisma.UserCreateArgs
- result: $Utils.PayloadToResult
- }
- createMany: {
- args: Prisma.UserCreateManyArgs
- result: BatchPayload
- }
- createManyAndReturn: {
- args: Prisma.UserCreateManyAndReturnArgs
- result: $Utils.PayloadToResult[]
- }
- delete: {
- args: Prisma.UserDeleteArgs
- result: $Utils.PayloadToResult
- }
- update: {
- args: Prisma.UserUpdateArgs
- result: $Utils.PayloadToResult
- }
- deleteMany: {
- args: Prisma.UserDeleteManyArgs
- result: BatchPayload
- }
- updateMany: {
- args: Prisma.UserUpdateManyArgs
- result: BatchPayload
- }
- updateManyAndReturn: {
- args: Prisma.UserUpdateManyAndReturnArgs
- result: $Utils.PayloadToResult[]
- }
- upsert: {
- args: Prisma.UserUpsertArgs
- result: $Utils.PayloadToResult
- }
- aggregate: {
- args: Prisma.UserAggregateArgs
- result: $Utils.Optional
- }
- groupBy: {
- args: Prisma.UserGroupByArgs