@s-hirano-ist/s-database 1.0.0 → 1.1.1

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.
Files changed (44) hide show
  1. package/package.json +13 -15
  2. package/prisma/schema.prisma +2 -4
  3. package/src/generated/prisma/browser.ts +44 -0
  4. package/src/generated/prisma/client.ts +66 -0
  5. package/src/generated/prisma/commonInputTypes.ts +360 -0
  6. package/src/generated/prisma/enums.ts +17 -0
  7. package/src/generated/prisma/internal/class.ts +230 -0
  8. package/src/generated/prisma/internal/prismaNamespace.ts +1167 -0
  9. package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +185 -0
  10. package/src/generated/prisma/models/Article.ts +1638 -0
  11. package/src/generated/prisma/models/Book.ts +1536 -0
  12. package/src/generated/prisma/models/Category.ts +1336 -0
  13. package/src/generated/prisma/models/Image.ts +1449 -0
  14. package/src/generated/prisma/models/Note.ts +1234 -0
  15. package/src/generated/prisma/models.ts +16 -0
  16. package/src/index.ts +4 -0
  17. package/dist/index.d.ts +0 -3
  18. package/dist/index.d.ts.map +0 -1
  19. package/dist/index.js +0 -4
  20. package/dist/index.js.map +0 -1
  21. package/src/generated/client.d.ts +0 -1
  22. package/src/generated/client.js +0 -5
  23. package/src/generated/default.d.ts +0 -1
  24. package/src/generated/default.js +0 -5
  25. package/src/generated/edge.d.ts +0 -1
  26. package/src/generated/edge.js +0 -265
  27. package/src/generated/index-browser.js +0 -251
  28. package/src/generated/index.d.ts +0 -8913
  29. package/src/generated/index.js +0 -280
  30. package/src/generated/package.json +0 -183
  31. package/src/generated/runtime/edge-esm.js +0 -35
  32. package/src/generated/runtime/edge.js +0 -35
  33. package/src/generated/runtime/index-browser.d.ts +0 -370
  34. package/src/generated/runtime/index-browser.js +0 -17
  35. package/src/generated/runtime/library.d.ts +0 -3982
  36. package/src/generated/runtime/library.js +0 -147
  37. package/src/generated/runtime/react-native.js +0 -84
  38. package/src/generated/runtime/wasm-compiler-edge.js +0 -85
  39. package/src/generated/runtime/wasm-engine-edge.js +0 -37
  40. package/src/generated/schema.prisma +0 -127
  41. package/src/generated/wasm-edge-light-loader.mjs +0 -5
  42. package/src/generated/wasm-worker-loader.mjs +0 -5
  43. package/src/generated/wasm.d.ts +0 -1
  44. package/src/generated/wasm.js +0 -265
package/package.json CHANGED
@@ -1,24 +1,23 @@
1
1
  {
2
2
  "name": "@s-hirano-ist/s-database",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "Prisma database schema and client for s-private project",
5
5
  "type": "module",
6
- "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
6
+ "main": "./src/index.ts",
7
+ "types": "./src/index.ts",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./dist/index.d.ts",
11
- "default": "./dist/index.js"
10
+ "types": "./src/index.ts",
11
+ "default": "./src/index.ts"
12
12
  },
13
- "./generated": "./src/generated/index.js",
14
- "./generated/*": "./src/generated/*"
13
+ "./generated": "./src/generated/prisma/client.ts",
14
+ "./generated/*": "./src/generated/prisma/*"
15
15
  },
16
16
  "publishConfig": {
17
17
  "access": "public"
18
18
  },
19
19
  "files": [
20
- "dist",
21
- "src/generated",
20
+ "src",
22
21
  "prisma",
23
22
  "README.md",
24
23
  "LICENSE"
@@ -30,20 +29,19 @@
30
29
  },
31
30
  "license": "AGPL-3.0",
32
31
  "dependencies": {
33
- "@prisma/client": "6.19.0",
32
+ "@prisma/client": "7.1.0",
34
33
  "@prisma/extension-accelerate": "3.0.0"
35
34
  },
36
35
  "devDependencies": {
37
- "prisma": "6.19.0",
36
+ "prisma": "7.1.0",
38
37
  "typescript": "5.9.3"
39
38
  },
40
39
  "scripts": {
41
- "prisma:generate": "prisma generate --no-engine",
40
+ "prisma:generate": "prisma generate",
42
41
  "prisma:migrate": "prisma migrate dev",
43
42
  "prisma:deploy": "prisma migrate deploy",
44
43
  "prisma:studio": "prisma studio",
45
- "build": "tsc",
46
- "postinstall": "pnpm prisma:generate",
47
- "clean": "rm -rf dist"
44
+ "build": "tsc --noEmit",
45
+ "postinstall": "pnpm prisma:generate"
48
46
  }
49
47
  }
@@ -1,12 +1,10 @@
1
1
  generator client {
2
- provider = "prisma-client-js"
3
- output = "../src/generated"
2
+ provider = "prisma-client"
3
+ output = "../src/generated/prisma"
4
4
  }
5
5
 
6
6
  datasource db {
7
7
  provider = "postgresql"
8
- url = env("DATABASE_URL") // uses connection pooling
9
- // directUrl = env("POSTGRES_DIRECT_URL") // uses a direct connection // not needed for prisma postgresql database
10
8
  }
11
9
 
12
10
  enum Status {
@@ -0,0 +1,44 @@
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
@@ -0,0 +1,66 @@
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
@@ -0,0 +1,360 @@
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
+
@@ -0,0 +1,17 @@
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
+ EXPORTED: 'EXPORTED'
15
+ } as const
16
+
17
+ export type Status = (typeof Status)[keyof typeof Status]