Initial working commit
Some checks failed
Automated Container Build / build-and-push (push) Failing after 7s
Some checks failed
Automated Container Build / build-and-push (push) Failing after 7s
This commit is contained in:
parent
666ceb7325
commit
b7ce314f01
105 changed files with 35510 additions and 11 deletions
222
src/generated/prisma/internal/prismaNamespaceBrowser.ts
Normal file
222
src/generated/prisma/internal/prismaNamespaceBrowser.ts
Normal file
|
|
@ -0,0 +1,222 @@
|
|||
|
||||
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
||||
/* eslint-disable */
|
||||
// biome-ignore-all lint: generated file
|
||||
// @ts-nocheck
|
||||
/*
|
||||
* WARNING: This is an internal file that is subject to change!
|
||||
*
|
||||
* 🛑 Under no circumstances should you import this file directly! 🛑
|
||||
*
|
||||
* All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
|
||||
* While this enables partial backward compatibility, it is not part of the stable public API.
|
||||
*
|
||||
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
|
||||
* model files in the `model` directory!
|
||||
*/
|
||||
|
||||
import * as runtime from "@prisma/client/runtime/index-browser"
|
||||
|
||||
export type * from '../models'
|
||||
export type * from './prismaNamespace'
|
||||
|
||||
export const Decimal = runtime.Decimal
|
||||
|
||||
|
||||
export const NullTypes = {
|
||||
DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
|
||||
JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
|
||||
AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
|
||||
}
|
||||
/**
|
||||
* 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 = runtime.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 = runtime.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 = runtime.AnyNull
|
||||
|
||||
|
||||
export const ModelName = {
|
||||
Class: 'Class',
|
||||
Deck: 'Deck',
|
||||
Flashcard: 'Flashcard',
|
||||
QuizSet: 'QuizSet',
|
||||
Question: 'Question',
|
||||
AnswerOption: 'AnswerOption',
|
||||
StudyProgress: 'StudyProgress',
|
||||
QuizAttempt: 'QuizAttempt',
|
||||
ShareLink: 'ShareLink',
|
||||
AuthSecurity: 'AuthSecurity',
|
||||
Setting: 'Setting'
|
||||
} as const
|
||||
|
||||
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
||||
|
||||
/*
|
||||
* Enums
|
||||
*/
|
||||
|
||||
export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
||||
Serializable: 'Serializable'
|
||||
} as const)
|
||||
|
||||
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
||||
|
||||
|
||||
export const ClassScalarFieldEnum = {
|
||||
id: 'id',
|
||||
slug: 'slug',
|
||||
name: 'name',
|
||||
sortOrder: 'sortOrder',
|
||||
createdAt: 'createdAt'
|
||||
} as const
|
||||
|
||||
export type ClassScalarFieldEnum = (typeof ClassScalarFieldEnum)[keyof typeof ClassScalarFieldEnum]
|
||||
|
||||
|
||||
export const DeckScalarFieldEnum = {
|
||||
id: 'id',
|
||||
classId: 'classId',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
sortOrder: 'sortOrder',
|
||||
createdAt: 'createdAt'
|
||||
} as const
|
||||
|
||||
export type DeckScalarFieldEnum = (typeof DeckScalarFieldEnum)[keyof typeof DeckScalarFieldEnum]
|
||||
|
||||
|
||||
export const FlashcardScalarFieldEnum = {
|
||||
id: 'id',
|
||||
deckId: 'deckId',
|
||||
front: 'front',
|
||||
back: 'back',
|
||||
sortOrder: 'sortOrder'
|
||||
} as const
|
||||
|
||||
export type FlashcardScalarFieldEnum = (typeof FlashcardScalarFieldEnum)[keyof typeof FlashcardScalarFieldEnum]
|
||||
|
||||
|
||||
export const QuizSetScalarFieldEnum = {
|
||||
id: 'id',
|
||||
classId: 'classId',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
sortOrder: 'sortOrder',
|
||||
createdAt: 'createdAt'
|
||||
} as const
|
||||
|
||||
export type QuizSetScalarFieldEnum = (typeof QuizSetScalarFieldEnum)[keyof typeof QuizSetScalarFieldEnum]
|
||||
|
||||
|
||||
export const QuestionScalarFieldEnum = {
|
||||
id: 'id',
|
||||
quizSetId: 'quizSetId',
|
||||
type: 'type',
|
||||
prompt: 'prompt',
|
||||
rationale: 'rationale',
|
||||
category: 'category',
|
||||
sortOrder: 'sortOrder'
|
||||
} as const
|
||||
|
||||
export type QuestionScalarFieldEnum = (typeof QuestionScalarFieldEnum)[keyof typeof QuestionScalarFieldEnum]
|
||||
|
||||
|
||||
export const AnswerOptionScalarFieldEnum = {
|
||||
id: 'id',
|
||||
questionId: 'questionId',
|
||||
text: 'text',
|
||||
isCorrect: 'isCorrect',
|
||||
sortOrder: 'sortOrder'
|
||||
} as const
|
||||
|
||||
export type AnswerOptionScalarFieldEnum = (typeof AnswerOptionScalarFieldEnum)[keyof typeof AnswerOptionScalarFieldEnum]
|
||||
|
||||
|
||||
export const StudyProgressScalarFieldEnum = {
|
||||
id: 'id',
|
||||
contentType: 'contentType',
|
||||
deckId: 'deckId',
|
||||
quizSetId: 'quizSetId',
|
||||
mode: 'mode',
|
||||
currentIndex: 'currentIndex',
|
||||
orderJson: 'orderJson',
|
||||
answersJson: 'answersJson',
|
||||
cardResultsJson: 'cardResultsJson',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type StudyProgressScalarFieldEnum = (typeof StudyProgressScalarFieldEnum)[keyof typeof StudyProgressScalarFieldEnum]
|
||||
|
||||
|
||||
export const QuizAttemptScalarFieldEnum = {
|
||||
id: 'id',
|
||||
quizSetId: 'quizSetId',
|
||||
score: 'score',
|
||||
maxScore: 'maxScore',
|
||||
answersJson: 'answersJson',
|
||||
isPartialRetake: 'isPartialRetake',
|
||||
completedAt: 'completedAt'
|
||||
} as const
|
||||
|
||||
export type QuizAttemptScalarFieldEnum = (typeof QuizAttemptScalarFieldEnum)[keyof typeof QuizAttemptScalarFieldEnum]
|
||||
|
||||
|
||||
export const ShareLinkScalarFieldEnum = {
|
||||
id: 'id',
|
||||
targetType: 'targetType',
|
||||
deckId: 'deckId',
|
||||
quizSetId: 'quizSetId',
|
||||
createdAt: 'createdAt'
|
||||
} as const
|
||||
|
||||
export type ShareLinkScalarFieldEnum = (typeof ShareLinkScalarFieldEnum)[keyof typeof ShareLinkScalarFieldEnum]
|
||||
|
||||
|
||||
export const AuthSecurityScalarFieldEnum = {
|
||||
id: 'id',
|
||||
failedAttempts: 'failedAttempts',
|
||||
lockedUntil: 'lockedUntil',
|
||||
lastAttemptAt: 'lastAttemptAt'
|
||||
} as const
|
||||
|
||||
export type AuthSecurityScalarFieldEnum = (typeof AuthSecurityScalarFieldEnum)[keyof typeof AuthSecurityScalarFieldEnum]
|
||||
|
||||
|
||||
export const SettingScalarFieldEnum = {
|
||||
key: 'key',
|
||||
value: 'value'
|
||||
} as const
|
||||
|
||||
export type SettingScalarFieldEnum = (typeof SettingScalarFieldEnum)[keyof typeof SettingScalarFieldEnum]
|
||||
|
||||
|
||||
export const SortOrder = {
|
||||
asc: 'asc',
|
||||
desc: 'desc'
|
||||
} as const
|
||||
|
||||
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
|
||||
|
||||
|
||||
export const NullsOrder = {
|
||||
first: 'first',
|
||||
last: 'last'
|
||||
} as const
|
||||
|
||||
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue