@s-hirano-ist/s-database 1.5.1 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/prisma/schema.prisma +2 -2
- package/src/generated/client.d.ts +1 -0
- package/src/generated/client.js +5 -0
- package/src/generated/default.d.ts +1 -0
- package/src/generated/default.js +5 -0
- package/src/generated/edge.d.ts +1 -0
- package/src/generated/edge.js +220 -0
- package/src/generated/index-browser.js +251 -0
- package/src/generated/index.d.ts +8915 -0
- package/src/generated/index.js +220 -0
- package/src/generated/package.json +144 -0
- package/src/generated/query_compiler_bg.js +2 -0
- package/src/generated/query_compiler_bg.wasm +0 -0
- package/src/generated/query_compiler_bg.wasm-base64.js +2 -0
- package/src/generated/runtime/client.d.ts +3317 -0
- package/src/generated/runtime/client.js +86 -0
- package/src/generated/runtime/index-browser.d.ts +87 -0
- package/src/generated/runtime/index-browser.js +6 -0
- package/src/generated/runtime/wasm-compiler-edge.js +76 -0
- package/src/generated/schema.prisma +126 -0
- package/src/generated/wasm-edge-light-loader.mjs +5 -0
- package/src/generated/wasm-worker-loader.mjs +5 -0
- package/src/index.ts +2 -13
- package/src/generated/prisma/browser.ts +0 -44
- package/src/generated/prisma/client.ts +0 -66
- package/src/generated/prisma/commonInputTypes.ts +0 -360
- package/src/generated/prisma/enums.ts +0 -18
- package/src/generated/prisma/internal/class.ts +0 -230
- package/src/generated/prisma/internal/prismaNamespace.ts +0 -1167
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +0 -185
- package/src/generated/prisma/models/Article.ts +0 -1638
- package/src/generated/prisma/models/Book.ts +0 -1536
- package/src/generated/prisma/models/Category.ts +0 -1336
- package/src/generated/prisma/models/Image.ts +0 -1449
- package/src/generated/prisma/models/Note.ts +0 -1234
- package/src/generated/prisma/models.ts +0 -16
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
generator client {
|
|
2
|
+
provider = "prisma-client-js"
|
|
3
|
+
output = "../src/generated"
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
datasource db {
|
|
7
|
+
provider = "postgresql"
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
enum Status {
|
|
11
|
+
UNEXPORTED
|
|
12
|
+
LAST_UPDATED
|
|
13
|
+
EXPORTED
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
model Category {
|
|
17
|
+
id String @id
|
|
18
|
+
|
|
19
|
+
name String
|
|
20
|
+
|
|
21
|
+
Articles Article[]
|
|
22
|
+
|
|
23
|
+
createdAt DateTime @map("created_at")
|
|
24
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
25
|
+
|
|
26
|
+
userId String @map("user_id")
|
|
27
|
+
|
|
28
|
+
@@unique([name, userId])
|
|
29
|
+
@@map("categories")
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
model Article {
|
|
33
|
+
id String @id
|
|
34
|
+
|
|
35
|
+
title String
|
|
36
|
+
url String
|
|
37
|
+
quote String?
|
|
38
|
+
|
|
39
|
+
ogImageUrl String? @map("og_image_url")
|
|
40
|
+
ogTitle String? @map("og_title")
|
|
41
|
+
ogDescription String? @map("og_description")
|
|
42
|
+
|
|
43
|
+
Category Category @relation(fields: [categoryId], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
44
|
+
categoryId String @map("category_id")
|
|
45
|
+
|
|
46
|
+
status Status
|
|
47
|
+
|
|
48
|
+
userId String @map("user_id")
|
|
49
|
+
|
|
50
|
+
createdAt DateTime @map("created_at")
|
|
51
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
52
|
+
exportedAt DateTime? @map("exported_at")
|
|
53
|
+
|
|
54
|
+
@@unique([url, userId])
|
|
55
|
+
@@map("articles")
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
model Note {
|
|
59
|
+
id String @id
|
|
60
|
+
|
|
61
|
+
title String
|
|
62
|
+
markdown String
|
|
63
|
+
|
|
64
|
+
status Status
|
|
65
|
+
|
|
66
|
+
userId String @map("user_id")
|
|
67
|
+
|
|
68
|
+
createdAt DateTime @map("created_at")
|
|
69
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
70
|
+
exportedAt DateTime? @map("exported_at")
|
|
71
|
+
|
|
72
|
+
@@unique([title, userId])
|
|
73
|
+
@@map("notes")
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
model Image {
|
|
77
|
+
id String @id
|
|
78
|
+
|
|
79
|
+
path String
|
|
80
|
+
contentType String @map("content_type") // e.g.: image/jpeg, image/png
|
|
81
|
+
fileSize Int? @map("file_size") // byte
|
|
82
|
+
width Int? // pixel
|
|
83
|
+
height Int? // pixel
|
|
84
|
+
tags String[]
|
|
85
|
+
description String?
|
|
86
|
+
|
|
87
|
+
status Status
|
|
88
|
+
|
|
89
|
+
userId String @map("user_id")
|
|
90
|
+
|
|
91
|
+
createdAt DateTime @map("created_at")
|
|
92
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
93
|
+
exportedAt DateTime? @map("exported_at")
|
|
94
|
+
|
|
95
|
+
@@unique([path, userId])
|
|
96
|
+
@@map("images")
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
model Book {
|
|
100
|
+
id String @id
|
|
101
|
+
ISBN String @map("isbn")
|
|
102
|
+
title String
|
|
103
|
+
|
|
104
|
+
googleTitle String? @map("google_title")
|
|
105
|
+
googleSubTitle String? @map("google_subtitle")
|
|
106
|
+
googleAuthors String[] @map("google_authors")
|
|
107
|
+
googleDescription String? @map("google_description")
|
|
108
|
+
googleImgSrc String? @map("google_img_src")
|
|
109
|
+
googleHref String? @map("google_href")
|
|
110
|
+
|
|
111
|
+
markdown String?
|
|
112
|
+
|
|
113
|
+
rating Int? // 1-5
|
|
114
|
+
tags String[]
|
|
115
|
+
|
|
116
|
+
status Status
|
|
117
|
+
|
|
118
|
+
userId String @map("user_id")
|
|
119
|
+
|
|
120
|
+
createdAt DateTime @map("created_at")
|
|
121
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
122
|
+
exportedAt DateTime? @map("exported_at")
|
|
123
|
+
|
|
124
|
+
@@unique([ISBN, userId])
|
|
125
|
+
@@map("books")
|
|
126
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -48,18 +48,7 @@
|
|
|
48
48
|
* @see {@link https://www.prisma.io/docs | Prisma Documentation}
|
|
49
49
|
*/
|
|
50
50
|
|
|
51
|
-
export type {
|
|
52
|
-
Article,
|
|
53
|
-
Book,
|
|
54
|
-
Category,
|
|
55
|
-
Image,
|
|
56
|
-
Note,
|
|
57
|
-
} from "./generated/prisma/client";
|
|
51
|
+
export type { Article, Book, Category, Image, Note } from "./generated";
|
|
58
52
|
// Re-export everything from generated Prisma client
|
|
59
53
|
// Note: We use separate exports to maintain proper ESM compatibility
|
|
60
|
-
export {
|
|
61
|
-
$Enums,
|
|
62
|
-
Prisma,
|
|
63
|
-
PrismaClient,
|
|
64
|
-
Status,
|
|
65
|
-
} from "./generated/prisma/client";
|
|
54
|
+
export { $Enums, Prisma, PrismaClient, Status } from "./generated";
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// biome-ignore-all lint: generated file
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
/*
|
|
7
|
-
* This file should be your main import to use Prisma-related types and utilities in a browser.
|
|
8
|
-
* Use it to get access to models, enums, and input types.
|
|
9
|
-
*
|
|
10
|
-
* This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only.
|
|
11
|
-
* See `client.ts` for the standard, server-side entry point.
|
|
12
|
-
*
|
|
13
|
-
* 🟢 You can import this file directly.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
import * as Prisma from './internal/prismaNamespaceBrowser'
|
|
17
|
-
export { Prisma }
|
|
18
|
-
export * as $Enums from './enums'
|
|
19
|
-
export * from './enums';
|
|
20
|
-
/**
|
|
21
|
-
* Model Category
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
export type Category = Prisma.CategoryModel
|
|
25
|
-
/**
|
|
26
|
-
* Model Article
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
export type Article = Prisma.ArticleModel
|
|
30
|
-
/**
|
|
31
|
-
* Model Note
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
export type Note = Prisma.NoteModel
|
|
35
|
-
/**
|
|
36
|
-
* Model Image
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
|
-
export type Image = Prisma.ImageModel
|
|
40
|
-
/**
|
|
41
|
-
* Model Book
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export type Book = Prisma.BookModel
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// biome-ignore-all lint: generated file
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
/*
|
|
7
|
-
* This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
|
|
8
|
-
* If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead.
|
|
9
|
-
*
|
|
10
|
-
* 🟢 You can import this file directly.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import * as process from 'node:process'
|
|
14
|
-
import * as path from 'node:path'
|
|
15
|
-
import { fileURLToPath } from 'node:url'
|
|
16
|
-
globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url))
|
|
17
|
-
|
|
18
|
-
import * as runtime from "@prisma/client/runtime/client"
|
|
19
|
-
import * as $Enums from "./enums"
|
|
20
|
-
import * as $Class from "./internal/class"
|
|
21
|
-
import * as Prisma from "./internal/prismaNamespace"
|
|
22
|
-
|
|
23
|
-
export * as $Enums from './enums'
|
|
24
|
-
export * from "./enums"
|
|
25
|
-
/**
|
|
26
|
-
* ## Prisma Client
|
|
27
|
-
*
|
|
28
|
-
* Type-safe database client for TypeScript
|
|
29
|
-
* @example
|
|
30
|
-
* ```
|
|
31
|
-
* const prisma = new PrismaClient()
|
|
32
|
-
* // Fetch zero or more Categories
|
|
33
|
-
* const categories = await prisma.category.findMany()
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* Read more in our [docs](https://pris.ly/d/client).
|
|
37
|
-
*/
|
|
38
|
-
export const PrismaClient = $Class.getPrismaClientClass()
|
|
39
|
-
export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>
|
|
40
|
-
export { Prisma }
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Model Category
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export type Category = Prisma.CategoryModel
|
|
47
|
-
/**
|
|
48
|
-
* Model Article
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export type Article = Prisma.ArticleModel
|
|
52
|
-
/**
|
|
53
|
-
* Model Note
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
export type Note = Prisma.NoteModel
|
|
57
|
-
/**
|
|
58
|
-
* Model Image
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
export type Image = Prisma.ImageModel
|
|
62
|
-
/**
|
|
63
|
-
* Model Book
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
export type Book = Prisma.BookModel
|
|
@@ -1,360 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// biome-ignore-all lint: generated file
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
/*
|
|
7
|
-
* This file exports various common sort, input & filter types that are not directly linked to a particular model.
|
|
8
|
-
*
|
|
9
|
-
* 🟢 You can import this file directly.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
import type * as runtime from "@prisma/client/runtime/client"
|
|
13
|
-
import * as $Enums from "./enums"
|
|
14
|
-
import type * as Prisma from "./internal/prismaNamespace"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export type StringFilter<$PrismaModel = never> = {
|
|
18
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
19
|
-
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
20
|
-
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
21
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
22
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
23
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
24
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
25
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
26
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
27
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
28
|
-
mode?: Prisma.QueryMode
|
|
29
|
-
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export type DateTimeFilter<$PrismaModel = never> = {
|
|
33
|
-
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
34
|
-
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
35
|
-
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
36
|
-
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
37
|
-
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
38
|
-
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
39
|
-
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
40
|
-
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
44
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
45
|
-
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
46
|
-
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
47
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
48
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
49
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
50
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
51
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
52
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
53
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
54
|
-
mode?: Prisma.QueryMode
|
|
55
|
-
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
56
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
57
|
-
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
|
58
|
-
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
62
|
-
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
63
|
-
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
64
|
-
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
65
|
-
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
66
|
-
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
67
|
-
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
68
|
-
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
69
|
-
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
|
70
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
71
|
-
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
72
|
-
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export type StringNullableFilter<$PrismaModel = never> = {
|
|
76
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
77
|
-
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
78
|
-
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
79
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
80
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
81
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
82
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
83
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
84
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
85
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
86
|
-
mode?: Prisma.QueryMode
|
|
87
|
-
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export type EnumStatusFilter<$PrismaModel = never> = {
|
|
91
|
-
equals?: $Enums.Status | Prisma.EnumStatusFieldRefInput<$PrismaModel>
|
|
92
|
-
in?: $Enums.Status[] | Prisma.ListEnumStatusFieldRefInput<$PrismaModel>
|
|
93
|
-
notIn?: $Enums.Status[] | Prisma.ListEnumStatusFieldRefInput<$PrismaModel>
|
|
94
|
-
not?: Prisma.NestedEnumStatusFilter<$PrismaModel> | $Enums.Status
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export type DateTimeNullableFilter<$PrismaModel = never> = {
|
|
98
|
-
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
99
|
-
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
100
|
-
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
101
|
-
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
102
|
-
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
103
|
-
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
104
|
-
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
105
|
-
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export type SortOrderInput = {
|
|
109
|
-
sort: Prisma.SortOrder
|
|
110
|
-
nulls?: Prisma.NullsOrder
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
114
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
115
|
-
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
116
|
-
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
117
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
118
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
119
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
120
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
121
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
122
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
123
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
124
|
-
mode?: Prisma.QueryMode
|
|
125
|
-
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
126
|
-
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
127
|
-
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
128
|
-
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export type EnumStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
132
|
-
equals?: $Enums.Status | Prisma.EnumStatusFieldRefInput<$PrismaModel>
|
|
133
|
-
in?: $Enums.Status[] | Prisma.ListEnumStatusFieldRefInput<$PrismaModel>
|
|
134
|
-
notIn?: $Enums.Status[] | Prisma.ListEnumStatusFieldRefInput<$PrismaModel>
|
|
135
|
-
not?: Prisma.NestedEnumStatusWithAggregatesFilter<$PrismaModel> | $Enums.Status
|
|
136
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
137
|
-
_min?: Prisma.NestedEnumStatusFilter<$PrismaModel>
|
|
138
|
-
_max?: Prisma.NestedEnumStatusFilter<$PrismaModel>
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
142
|
-
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
143
|
-
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
144
|
-
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
145
|
-
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
146
|
-
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
147
|
-
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
148
|
-
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
149
|
-
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
|
|
150
|
-
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
151
|
-
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
152
|
-
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
export type IntNullableFilter<$PrismaModel = never> = {
|
|
156
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
|
157
|
-
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
158
|
-
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
159
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
160
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
161
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
162
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
163
|
-
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
167
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
|
168
|
-
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
169
|
-
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
170
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
171
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
172
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
173
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
174
|
-
not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
|
|
175
|
-
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
176
|
-
_avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>
|
|
177
|
-
_sum?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
178
|
-
_min?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
179
|
-
_max?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export type NestedStringFilter<$PrismaModel = never> = {
|
|
183
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
184
|
-
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
185
|
-
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
186
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
187
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
188
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
189
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
190
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
191
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
192
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
193
|
-
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
export type NestedDateTimeFilter<$PrismaModel = never> = {
|
|
197
|
-
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
198
|
-
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
199
|
-
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
200
|
-
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
201
|
-
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
202
|
-
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
203
|
-
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
204
|
-
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
208
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
209
|
-
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
210
|
-
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
211
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
212
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
213
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
214
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
215
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
216
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
217
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
218
|
-
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
219
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
220
|
-
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
|
221
|
-
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
export type NestedIntFilter<$PrismaModel = never> = {
|
|
225
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
226
|
-
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
227
|
-
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
228
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
229
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
230
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
231
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
232
|
-
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
236
|
-
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
237
|
-
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
238
|
-
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
239
|
-
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
240
|
-
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
241
|
-
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
242
|
-
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
243
|
-
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
|
244
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
245
|
-
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
246
|
-
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
250
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
251
|
-
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
252
|
-
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
253
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
254
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
255
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
256
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
257
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
258
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
259
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
260
|
-
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
export type NestedEnumStatusFilter<$PrismaModel = never> = {
|
|
264
|
-
equals?: $Enums.Status | Prisma.EnumStatusFieldRefInput<$PrismaModel>
|
|
265
|
-
in?: $Enums.Status[] | Prisma.ListEnumStatusFieldRefInput<$PrismaModel>
|
|
266
|
-
notIn?: $Enums.Status[] | Prisma.ListEnumStatusFieldRefInput<$PrismaModel>
|
|
267
|
-
not?: Prisma.NestedEnumStatusFilter<$PrismaModel> | $Enums.Status
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
|
|
271
|
-
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
272
|
-
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
273
|
-
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
274
|
-
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
275
|
-
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
276
|
-
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
277
|
-
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
278
|
-
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
282
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
283
|
-
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
284
|
-
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
285
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
286
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
287
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
288
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
289
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
290
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
291
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
292
|
-
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
293
|
-
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
294
|
-
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
295
|
-
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|
299
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
|
300
|
-
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
301
|
-
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
302
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
303
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
304
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
305
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
306
|
-
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
export type NestedEnumStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
310
|
-
equals?: $Enums.Status | Prisma.EnumStatusFieldRefInput<$PrismaModel>
|
|
311
|
-
in?: $Enums.Status[] | Prisma.ListEnumStatusFieldRefInput<$PrismaModel>
|
|
312
|
-
notIn?: $Enums.Status[] | Prisma.ListEnumStatusFieldRefInput<$PrismaModel>
|
|
313
|
-
not?: Prisma.NestedEnumStatusWithAggregatesFilter<$PrismaModel> | $Enums.Status
|
|
314
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
315
|
-
_min?: Prisma.NestedEnumStatusFilter<$PrismaModel>
|
|
316
|
-
_max?: Prisma.NestedEnumStatusFilter<$PrismaModel>
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
320
|
-
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
321
|
-
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
322
|
-
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
323
|
-
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
324
|
-
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
325
|
-
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
326
|
-
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
327
|
-
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
|
|
328
|
-
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
329
|
-
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
330
|
-
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
334
|
-
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
|
335
|
-
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
336
|
-
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
337
|
-
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
338
|
-
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
339
|
-
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
340
|
-
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
341
|
-
not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
|
|
342
|
-
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
343
|
-
_avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>
|
|
344
|
-
_sum?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
345
|
-
_min?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
346
|
-
_max?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
export type NestedFloatNullableFilter<$PrismaModel = never> = {
|
|
350
|
-
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
|
|
351
|
-
in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null
|
|
352
|
-
notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null
|
|
353
|
-
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
354
|
-
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
355
|
-
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
356
|
-
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
357
|
-
not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// biome-ignore-all lint: generated file
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
/*
|
|
7
|
-
* This file exports all enum related types from the schema.
|
|
8
|
-
*
|
|
9
|
-
* 🟢 You can import this file directly.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
export const Status = {
|
|
13
|
-
UNEXPORTED: 'UNEXPORTED',
|
|
14
|
-
LAST_UPDATED: 'LAST_UPDATED',
|
|
15
|
-
EXPORTED: 'EXPORTED'
|
|
16
|
-
} as const
|
|
17
|
-
|
|
18
|
-
export type Status = (typeof Status)[keyof typeof Status]
|