@cerbos/orm-prisma 4.1.0 → 5.0.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.
Files changed (174) hide show
  1. package/README.md +598 -603
  2. package/lib/collections.d.ts +30 -0
  3. package/lib/collections.d.ts.map +1 -0
  4. package/lib/collections.js +421 -0
  5. package/lib/collections.js.map +1 -0
  6. package/lib/comparison.d.ts +24 -0
  7. package/lib/comparison.d.ts.map +1 -0
  8. package/lib/comparison.js +731 -0
  9. package/lib/comparison.js.map +1 -0
  10. package/lib/errors.d.ts +13 -0
  11. package/lib/errors.d.ts.map +1 -0
  12. package/lib/errors.js +17 -0
  13. package/lib/errors.js.map +1 -0
  14. package/lib/evaluate.d.ts +5 -0
  15. package/lib/evaluate.d.ts.map +1 -0
  16. package/lib/evaluate.js +118 -0
  17. package/lib/evaluate.js.map +1 -0
  18. package/lib/fields.d.ts +34 -0
  19. package/lib/fields.d.ts.map +1 -0
  20. package/lib/fields.js +253 -0
  21. package/lib/fields.js.map +1 -0
  22. package/lib/functions.d.ts +5 -0
  23. package/lib/functions.d.ts.map +1 -0
  24. package/lib/functions.js +408 -0
  25. package/lib/functions.js.map +1 -0
  26. package/lib/hierarchy.d.ts +6 -0
  27. package/lib/hierarchy.d.ts.map +1 -0
  28. package/lib/hierarchy.js +266 -0
  29. package/lib/hierarchy.js.map +1 -0
  30. package/lib/index.d.ts +23 -13
  31. package/lib/index.d.ts.map +1 -1
  32. package/lib/index.js +34 -2555
  33. package/lib/index.js.map +1 -1
  34. package/lib/literals.d.ts +20 -0
  35. package/lib/literals.d.ts.map +1 -0
  36. package/lib/literals.js +290 -0
  37. package/lib/literals.js.map +1 -0
  38. package/lib/mapping.d.ts +95 -0
  39. package/lib/mapping.d.ts.map +1 -0
  40. package/lib/mapping.js +316 -0
  41. package/lib/mapping.js.map +1 -0
  42. package/lib/narrowing.d.ts +12 -0
  43. package/lib/narrowing.d.ts.map +1 -0
  44. package/lib/narrowing.js +32 -0
  45. package/lib/narrowing.js.map +1 -0
  46. package/lib/plan.d.ts +49 -0
  47. package/lib/plan.d.ts.map +1 -0
  48. package/lib/plan.js +86 -0
  49. package/lib/plan.js.map +1 -0
  50. package/lib/presence.d.ts +25 -0
  51. package/lib/presence.d.ts.map +1 -0
  52. package/lib/presence.js +82 -0
  53. package/lib/presence.js.map +1 -0
  54. package/lib/regex.d.ts +33 -0
  55. package/lib/regex.d.ts.map +1 -0
  56. package/lib/regex.js +480 -0
  57. package/lib/regex.js.map +1 -0
  58. package/lib/relations.d.ts +58 -0
  59. package/lib/relations.d.ts.map +1 -0
  60. package/lib/relations.js +175 -0
  61. package/lib/relations.js.map +1 -0
  62. package/lib/rewrite.d.ts +36 -0
  63. package/lib/rewrite.d.ts.map +1 -0
  64. package/lib/rewrite.js +366 -0
  65. package/lib/rewrite.js.map +1 -0
  66. package/lib/solve.d.ts +20 -0
  67. package/lib/solve.d.ts.map +1 -0
  68. package/lib/solve.js +77 -0
  69. package/lib/solve.js.map +1 -0
  70. package/lib/strings.d.ts +12 -0
  71. package/lib/strings.d.ts.map +1 -0
  72. package/lib/strings.js +110 -0
  73. package/lib/strings.js.map +1 -0
  74. package/lib/ternary.d.ts +12 -0
  75. package/lib/ternary.d.ts.map +1 -0
  76. package/lib/ternary.js +192 -0
  77. package/lib/ternary.js.map +1 -0
  78. package/lib/timestamp.d.ts +45 -0
  79. package/lib/timestamp.d.ts.map +1 -0
  80. package/lib/timestamp.js +225 -0
  81. package/lib/timestamp.js.map +1 -0
  82. package/lib/translate.d.ts +20 -0
  83. package/lib/translate.d.ts.map +1 -0
  84. package/lib/translate.js +287 -0
  85. package/lib/translate.js.map +1 -0
  86. package/lib/types.d.ts +29 -0
  87. package/lib/types.d.ts.map +1 -0
  88. package/lib/types.js +980 -0
  89. package/lib/types.js.map +1 -0
  90. package/lib/value.d.ts +8 -0
  91. package/lib/value.d.ts.map +1 -0
  92. package/lib/value.js +7 -0
  93. package/lib/value.js.map +1 -0
  94. package/package.json +27 -17
  95. package/src/adversarial.test.ts +376 -1071
  96. package/src/collections.ts +738 -0
  97. package/src/comparison.ts +1157 -0
  98. package/src/corpus.ts +433 -250
  99. package/src/errors.ts +12 -0
  100. package/src/evaluate.ts +170 -0
  101. package/src/fields.ts +373 -0
  102. package/src/functions.ts +548 -0
  103. package/src/generated/prisma-adversarial/browser.ts +10 -0
  104. package/src/generated/prisma-adversarial/client.ts +10 -0
  105. package/src/generated/prisma-adversarial/commonInputTypes.ts +116 -127
  106. package/src/generated/prisma-adversarial/internal/class.ts +24 -4
  107. package/src/generated/prisma-adversarial/internal/prismaNamespace.ts +174 -3
  108. package/src/generated/prisma-adversarial/internal/prismaNamespaceBrowser.ts +23 -2
  109. package/src/generated/prisma-adversarial/models/AdversarialBoolListElement.ts +1272 -0
  110. package/src/generated/prisma-adversarial/models/AdversarialInner.ts +54 -54
  111. package/src/generated/prisma-adversarial/models/AdversarialNumberListElement.ts +1316 -0
  112. package/src/generated/prisma-adversarial/models/AdversarialParent.ts +66 -66
  113. package/src/generated/prisma-adversarial/models/AdversarialResource.ts +435 -87
  114. package/src/generated/prisma-adversarial/models.ts +2 -0
  115. package/src/generated/prisma-adversarial-mysql/browser.ts +64 -0
  116. package/src/generated/prisma-adversarial-mysql/client.ts +86 -0
  117. package/src/generated/prisma-adversarial-mysql/commonInputTypes.ts +349 -0
  118. package/src/generated/prisma-adversarial-mysql/enums.ts +15 -0
  119. package/src/generated/prisma-adversarial-mysql/internal/class.ts +284 -0
  120. package/src/generated/prisma-adversarial-mysql/internal/prismaNamespace.ts +1518 -0
  121. package/src/generated/prisma-adversarial-mysql/internal/prismaNamespaceBrowser.ts +274 -0
  122. package/src/generated/prisma-adversarial-mysql/models/AdversarialBoolListElement.ts +1157 -0
  123. package/src/generated/prisma-adversarial-mysql/models/AdversarialCategory.ts +1286 -0
  124. package/src/generated/prisma-adversarial-mysql/models/AdversarialInner.ts +1247 -0
  125. package/src/generated/prisma-adversarial-mysql/models/AdversarialLabel.ts +1157 -0
  126. package/src/generated/prisma-adversarial-mysql/models/AdversarialNumberListElement.ts +1201 -0
  127. package/src/generated/prisma-adversarial-mysql/models/AdversarialParent.ts +1352 -0
  128. package/src/generated/prisma-adversarial-mysql/models/AdversarialResource.ts +2021 -0
  129. package/src/generated/prisma-adversarial-mysql/models/AdversarialSubCategory.ts +1286 -0
  130. package/src/generated/prisma-adversarial-mysql/models/AdversarialTag.ts +1190 -0
  131. package/src/generated/prisma-adversarial-mysql/models.ts +20 -0
  132. package/src/generated/prisma-adversarial-mysql-v6/client.d.ts +1 -0
  133. package/src/generated/prisma-adversarial-mysql-v6/default.d.ts +1 -0
  134. package/src/generated/prisma-adversarial-mysql-v6/edge.d.ts +1 -0
  135. package/src/generated/prisma-adversarial-mysql-v6/index.d.ts +13822 -0
  136. package/src/generated/prisma-adversarial-mysql-v6/runtime/index-browser.d.ts +370 -0
  137. package/src/generated/prisma-adversarial-mysql-v6/runtime/library.d.ts +3982 -0
  138. package/src/generated/prisma-adversarial-mysql-v6/wasm.d.ts +1 -0
  139. package/src/generated/prisma-adversarial-pg/browser.ts +10 -0
  140. package/src/generated/prisma-adversarial-pg/client.ts +10 -0
  141. package/src/generated/prisma-adversarial-pg/commonInputTypes.ts +118 -129
  142. package/src/generated/prisma-adversarial-pg/internal/class.ts +24 -4
  143. package/src/generated/prisma-adversarial-pg/internal/prismaNamespace.ts +174 -3
  144. package/src/generated/prisma-adversarial-pg/internal/prismaNamespaceBrowser.ts +23 -2
  145. package/src/generated/prisma-adversarial-pg/models/AdversarialBoolListElement.ts +1275 -0
  146. package/src/generated/prisma-adversarial-pg/models/AdversarialInner.ts +54 -54
  147. package/src/generated/prisma-adversarial-pg/models/AdversarialNumberListElement.ts +1319 -0
  148. package/src/generated/prisma-adversarial-pg/models/AdversarialParent.ts +66 -66
  149. package/src/generated/prisma-adversarial-pg/models/AdversarialResource.ts +435 -87
  150. package/src/generated/prisma-adversarial-pg/models.ts +2 -0
  151. package/src/generated/prisma-adversarial-pg-v6/index.d.ts +3476 -388
  152. package/src/generated/prisma-adversarial-v6/index.d.ts +3465 -383
  153. package/src/hierarchy.ts +405 -0
  154. package/src/index.ts +66 -3646
  155. package/src/literals.ts +363 -0
  156. package/src/mapping.ts +474 -0
  157. package/src/narrowing.ts +33 -0
  158. package/src/plan.ts +125 -0
  159. package/src/presence.ts +114 -0
  160. package/src/regex.ts +596 -0
  161. package/src/relations.ts +226 -0
  162. package/src/rewrite.ts +524 -0
  163. package/src/solve.ts +96 -0
  164. package/src/strings.ts +152 -0
  165. package/src/ternary.ts +359 -0
  166. package/src/test-setup.adversarial-url.ts +6 -3
  167. package/src/test-setup.adversarial.mysql.v6.ts +13 -0
  168. package/src/test-setup.adversarial.mysql.v7.ts +12 -0
  169. package/src/test-setup.adversarial.v7.ts +1 -0
  170. package/src/timestamp.ts +308 -0
  171. package/src/translate.ts +419 -0
  172. package/src/translator.test.ts +497 -1317
  173. package/src/types.ts +1310 -0
  174. package/src/value.ts +16 -0
@@ -15,4 +15,6 @@ export type * from './models/AdversarialSubCategory.js'
15
15
  export type * from './models/AdversarialLabel.js'
16
16
  export type * from './models/AdversarialParent.js'
17
17
  export type * from './models/AdversarialInner.js'
18
+ export type * from './models/AdversarialNumberListElement.js'
19
+ export type * from './models/AdversarialBoolListElement.js'
18
20
  export type * from './commonInputTypes.js'
@@ -0,0 +1,64 @@
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.js'
17
+ export { Prisma }
18
+ export * as $Enums from './enums.js'
19
+ export * from './enums.js';
20
+ /**
21
+ * Model AdversarialResource
22
+ *
23
+ */
24
+ export type AdversarialResource = Prisma.AdversarialResourceModel
25
+ /**
26
+ * Model AdversarialTag
27
+ *
28
+ */
29
+ export type AdversarialTag = Prisma.AdversarialTagModel
30
+ /**
31
+ * Model AdversarialCategory
32
+ *
33
+ */
34
+ export type AdversarialCategory = Prisma.AdversarialCategoryModel
35
+ /**
36
+ * Model AdversarialSubCategory
37
+ *
38
+ */
39
+ export type AdversarialSubCategory = Prisma.AdversarialSubCategoryModel
40
+ /**
41
+ * Model AdversarialLabel
42
+ *
43
+ */
44
+ export type AdversarialLabel = Prisma.AdversarialLabelModel
45
+ /**
46
+ * Model AdversarialParent
47
+ *
48
+ */
49
+ export type AdversarialParent = Prisma.AdversarialParentModel
50
+ /**
51
+ * Model AdversarialInner
52
+ *
53
+ */
54
+ export type AdversarialInner = Prisma.AdversarialInnerModel
55
+ /**
56
+ * Model AdversarialNumberListElement
57
+ *
58
+ */
59
+ export type AdversarialNumberListElement = Prisma.AdversarialNumberListElementModel
60
+ /**
61
+ * Model AdversarialBoolListElement
62
+ *
63
+ */
64
+ export type AdversarialBoolListElement = Prisma.AdversarialBoolListElementModel
@@ -0,0 +1,86 @@
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
+
16
+ import * as runtime from "@prisma/client/runtime/client"
17
+ import * as $Enums from "./enums.js"
18
+ import * as $Class from "./internal/class.js"
19
+ import * as Prisma from "./internal/prismaNamespace.js"
20
+
21
+ export * as $Enums from './enums.js'
22
+ export * from "./enums.js"
23
+ /**
24
+ * ## Prisma Client
25
+ *
26
+ * Type-safe database client for TypeScript
27
+ * @example
28
+ * ```
29
+ * const prisma = new PrismaClient({
30
+ * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
31
+ * })
32
+ * // Fetch zero or more AdversarialResources
33
+ * const adversarialResources = await prisma.adversarialResource.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 AdversarialResource
44
+ *
45
+ */
46
+ export type AdversarialResource = Prisma.AdversarialResourceModel
47
+ /**
48
+ * Model AdversarialTag
49
+ *
50
+ */
51
+ export type AdversarialTag = Prisma.AdversarialTagModel
52
+ /**
53
+ * Model AdversarialCategory
54
+ *
55
+ */
56
+ export type AdversarialCategory = Prisma.AdversarialCategoryModel
57
+ /**
58
+ * Model AdversarialSubCategory
59
+ *
60
+ */
61
+ export type AdversarialSubCategory = Prisma.AdversarialSubCategoryModel
62
+ /**
63
+ * Model AdversarialLabel
64
+ *
65
+ */
66
+ export type AdversarialLabel = Prisma.AdversarialLabelModel
67
+ /**
68
+ * Model AdversarialParent
69
+ *
70
+ */
71
+ export type AdversarialParent = Prisma.AdversarialParentModel
72
+ /**
73
+ * Model AdversarialInner
74
+ *
75
+ */
76
+ export type AdversarialInner = Prisma.AdversarialInnerModel
77
+ /**
78
+ * Model AdversarialNumberListElement
79
+ *
80
+ */
81
+ export type AdversarialNumberListElement = Prisma.AdversarialNumberListElementModel
82
+ /**
83
+ * Model AdversarialBoolListElement
84
+ *
85
+ */
86
+ export type AdversarialBoolListElement = Prisma.AdversarialBoolListElementModel
@@ -0,0 +1,349 @@
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.js"
14
+ import type * as Prisma from "./internal/prismaNamespace.js"
15
+
16
+
17
+ export type StringFilter<$PrismaModel = never> = {
18
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
19
+ in?: string[]
20
+ notIn?: string[]
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
+ search?: string
29
+ not?: Prisma.NestedStringFilter<$PrismaModel> | string
30
+ }
31
+
32
+ export type BoolNullableFilter<$PrismaModel = never> = {
33
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null
34
+ not?: Prisma.NestedBoolNullableFilter<$PrismaModel> | boolean | null
35
+ }
36
+
37
+ export type StringNullableFilter<$PrismaModel = never> = {
38
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
39
+ in?: string[] | null
40
+ notIn?: string[] | null
41
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
42
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
43
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
44
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
45
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
46
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
47
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
48
+ search?: string
49
+ not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
50
+ }
51
+
52
+ export type IntNullableFilter<$PrismaModel = never> = {
53
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
54
+ in?: number[] | null
55
+ notIn?: number[] | null
56
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
57
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
58
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
59
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
60
+ not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
61
+ }
62
+
63
+ export type FloatNullableFilter<$PrismaModel = never> = {
64
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
65
+ in?: number[] | null
66
+ notIn?: number[] | null
67
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
68
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
69
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
70
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
71
+ not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null
72
+ }
73
+
74
+ export type DateTimeNullableFilter<$PrismaModel = never> = {
75
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
76
+ in?: Date[] | string[] | null
77
+ notIn?: Date[] | string[] | null
78
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
79
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
80
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
81
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
82
+ not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
83
+ }
84
+
85
+ export type SortOrderInput = {
86
+ sort: Prisma.SortOrder
87
+ nulls?: Prisma.NullsOrder
88
+ }
89
+
90
+ export type StringWithAggregatesFilter<$PrismaModel = never> = {
91
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
92
+ in?: string[]
93
+ notIn?: string[]
94
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
95
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
96
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
97
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
98
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
99
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
100
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
101
+ search?: string
102
+ not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
103
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
104
+ _min?: Prisma.NestedStringFilter<$PrismaModel>
105
+ _max?: Prisma.NestedStringFilter<$PrismaModel>
106
+ }
107
+
108
+ export type BoolNullableWithAggregatesFilter<$PrismaModel = never> = {
109
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null
110
+ not?: Prisma.NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null
111
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
112
+ _min?: Prisma.NestedBoolNullableFilter<$PrismaModel>
113
+ _max?: Prisma.NestedBoolNullableFilter<$PrismaModel>
114
+ }
115
+
116
+ export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
117
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
118
+ in?: string[] | null
119
+ notIn?: string[] | null
120
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
121
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
122
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
123
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
124
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
125
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
126
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
127
+ search?: string
128
+ not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
129
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
130
+ _min?: Prisma.NestedStringNullableFilter<$PrismaModel>
131
+ _max?: Prisma.NestedStringNullableFilter<$PrismaModel>
132
+ }
133
+
134
+ export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
135
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
136
+ in?: number[] | null
137
+ notIn?: number[] | null
138
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
139
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
140
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
141
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
142
+ not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
143
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
144
+ _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>
145
+ _sum?: Prisma.NestedIntNullableFilter<$PrismaModel>
146
+ _min?: Prisma.NestedIntNullableFilter<$PrismaModel>
147
+ _max?: Prisma.NestedIntNullableFilter<$PrismaModel>
148
+ }
149
+
150
+ export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = {
151
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
152
+ in?: number[] | null
153
+ notIn?: number[] | null
154
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
155
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
156
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
157
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
158
+ not?: Prisma.NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null
159
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
160
+ _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>
161
+ _sum?: Prisma.NestedFloatNullableFilter<$PrismaModel>
162
+ _min?: Prisma.NestedFloatNullableFilter<$PrismaModel>
163
+ _max?: Prisma.NestedFloatNullableFilter<$PrismaModel>
164
+ }
165
+
166
+ export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
167
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
168
+ in?: Date[] | string[] | null
169
+ notIn?: Date[] | string[] | null
170
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
171
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
172
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
173
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
174
+ not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
175
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
176
+ _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
177
+ _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
178
+ }
179
+
180
+ export type NestedStringFilter<$PrismaModel = never> = {
181
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
182
+ in?: string[]
183
+ notIn?: string[]
184
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
185
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
186
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
187
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
188
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
189
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
190
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
191
+ search?: string
192
+ not?: Prisma.NestedStringFilter<$PrismaModel> | string
193
+ }
194
+
195
+ export type NestedBoolNullableFilter<$PrismaModel = never> = {
196
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null
197
+ not?: Prisma.NestedBoolNullableFilter<$PrismaModel> | boolean | null
198
+ }
199
+
200
+ export type NestedStringNullableFilter<$PrismaModel = never> = {
201
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
202
+ in?: string[] | null
203
+ notIn?: string[] | null
204
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
205
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
206
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
207
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
208
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
209
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
210
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
211
+ search?: string
212
+ not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
213
+ }
214
+
215
+ export type NestedIntNullableFilter<$PrismaModel = never> = {
216
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
217
+ in?: number[] | null
218
+ notIn?: number[] | null
219
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
220
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
221
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
222
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
223
+ not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
224
+ }
225
+
226
+ export type NestedFloatNullableFilter<$PrismaModel = never> = {
227
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
228
+ in?: number[] | null
229
+ notIn?: number[] | null
230
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
231
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
232
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
233
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
234
+ not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null
235
+ }
236
+
237
+ export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
238
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
239
+ in?: Date[] | string[] | null
240
+ notIn?: Date[] | string[] | null
241
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
242
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
243
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
244
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
245
+ not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
246
+ }
247
+
248
+ export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
249
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
250
+ in?: string[]
251
+ notIn?: string[]
252
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
253
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
254
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
255
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
256
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
257
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
258
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
259
+ search?: string
260
+ not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
261
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
262
+ _min?: Prisma.NestedStringFilter<$PrismaModel>
263
+ _max?: Prisma.NestedStringFilter<$PrismaModel>
264
+ }
265
+
266
+ export type NestedIntFilter<$PrismaModel = never> = {
267
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
268
+ in?: number[]
269
+ notIn?: number[]
270
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
271
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
272
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
273
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
274
+ not?: Prisma.NestedIntFilter<$PrismaModel> | number
275
+ }
276
+
277
+ export type NestedBoolNullableWithAggregatesFilter<$PrismaModel = never> = {
278
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null
279
+ not?: Prisma.NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null
280
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
281
+ _min?: Prisma.NestedBoolNullableFilter<$PrismaModel>
282
+ _max?: Prisma.NestedBoolNullableFilter<$PrismaModel>
283
+ }
284
+
285
+ export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
286
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
287
+ in?: string[] | null
288
+ notIn?: string[] | null
289
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
290
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
291
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
292
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
293
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
294
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
295
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
296
+ search?: string
297
+ not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
298
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
299
+ _min?: Prisma.NestedStringNullableFilter<$PrismaModel>
300
+ _max?: Prisma.NestedStringNullableFilter<$PrismaModel>
301
+ }
302
+
303
+ export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
304
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
305
+ in?: number[] | null
306
+ notIn?: number[] | null
307
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
308
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
309
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
310
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
311
+ not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
312
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
313
+ _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>
314
+ _sum?: Prisma.NestedIntNullableFilter<$PrismaModel>
315
+ _min?: Prisma.NestedIntNullableFilter<$PrismaModel>
316
+ _max?: Prisma.NestedIntNullableFilter<$PrismaModel>
317
+ }
318
+
319
+ export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = {
320
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
321
+ in?: number[] | null
322
+ notIn?: number[] | null
323
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
324
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
325
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
326
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
327
+ not?: Prisma.NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null
328
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
329
+ _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>
330
+ _sum?: Prisma.NestedFloatNullableFilter<$PrismaModel>
331
+ _min?: Prisma.NestedFloatNullableFilter<$PrismaModel>
332
+ _max?: Prisma.NestedFloatNullableFilter<$PrismaModel>
333
+ }
334
+
335
+ export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
336
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
337
+ in?: Date[] | string[] | null
338
+ notIn?: Date[] | string[] | null
339
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
340
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
341
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
342
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
343
+ not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
344
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
345
+ _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
346
+ _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
347
+ }
348
+
349
+
@@ -0,0 +1,15 @@
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
+
13
+
14
+ // This file is empty because there are no enums in the schema.
15
+ export {}