@creeperhost/modlens-mcp 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.
Files changed (382) hide show
  1. package/README.md +938 -0
  2. package/dist/access-flags.d.ts +58 -0
  3. package/dist/access-flags.d.ts.map +1 -0
  4. package/dist/access-flags.js +79 -0
  5. package/dist/access-flags.js.map +1 -0
  6. package/dist/access-flags.test.d.ts +2 -0
  7. package/dist/access-flags.test.d.ts.map +1 -0
  8. package/dist/access-flags.test.js +189 -0
  9. package/dist/access-flags.test.js.map +1 -0
  10. package/dist/batch-ingest.d.ts +2 -0
  11. package/dist/batch-ingest.d.ts.map +1 -0
  12. package/dist/batch-ingest.js +54 -0
  13. package/dist/batch-ingest.js.map +1 -0
  14. package/dist/batch-resolve-mixins.d.ts +2 -0
  15. package/dist/batch-resolve-mixins.d.ts.map +1 -0
  16. package/dist/batch-resolve-mixins.js +36 -0
  17. package/dist/batch-resolve-mixins.js.map +1 -0
  18. package/dist/cache.d.ts +16 -0
  19. package/dist/cache.d.ts.map +1 -0
  20. package/dist/cache.js +36 -0
  21. package/dist/cache.js.map +1 -0
  22. package/dist/cli.d.ts +2 -0
  23. package/dist/cli.d.ts.map +1 -0
  24. package/dist/cli.js +1318 -0
  25. package/dist/cli.js.map +1 -0
  26. package/dist/curseforge.d.ts +53 -0
  27. package/dist/curseforge.d.ts.map +1 -0
  28. package/dist/curseforge.js +104 -0
  29. package/dist/curseforge.js.map +1 -0
  30. package/dist/db-backend.d.ts +17 -0
  31. package/dist/db-backend.d.ts.map +1 -0
  32. package/dist/db-backend.js +40 -0
  33. package/dist/db-backend.js.map +1 -0
  34. package/dist/db.d.ts +11 -0
  35. package/dist/db.d.ts.map +1 -0
  36. package/dist/db.js +55 -0
  37. package/dist/db.js.map +1 -0
  38. package/dist/embed-queue.d.ts +12 -0
  39. package/dist/embed-queue.d.ts.map +1 -0
  40. package/dist/embed-queue.js +103 -0
  41. package/dist/embed-queue.js.map +1 -0
  42. package/dist/embeddings.d.ts +21 -0
  43. package/dist/embeddings.d.ts.map +1 -0
  44. package/dist/embeddings.js +55 -0
  45. package/dist/embeddings.js.map +1 -0
  46. package/dist/env-path.d.ts +19 -0
  47. package/dist/env-path.d.ts.map +1 -0
  48. package/dist/env-path.js +40 -0
  49. package/dist/env-path.js.map +1 -0
  50. package/dist/fetch-utils.d.ts +24 -0
  51. package/dist/fetch-utils.d.ts.map +1 -0
  52. package/dist/fetch-utils.js +73 -0
  53. package/dist/fetch-utils.js.map +1 -0
  54. package/dist/fetch-utils.test.d.ts +2 -0
  55. package/dist/fetch-utils.test.d.ts.map +1 -0
  56. package/dist/fetch-utils.test.js +133 -0
  57. package/dist/fetch-utils.test.js.map +1 -0
  58. package/dist/generated/sqlite/browser.d.ts +55 -0
  59. package/dist/generated/sqlite/browser.d.ts.map +1 -0
  60. package/dist/generated/sqlite/browser.js +18 -0
  61. package/dist/generated/sqlite/browser.js.map +1 -0
  62. package/dist/generated/sqlite/client.d.ts +72 -0
  63. package/dist/generated/sqlite/client.d.ts.map +1 -0
  64. package/dist/generated/sqlite/client.js +33 -0
  65. package/dist/generated/sqlite/client.js.map +1 -0
  66. package/dist/generated/sqlite/commonInputTypes.d.ts +387 -0
  67. package/dist/generated/sqlite/commonInputTypes.d.ts.map +1 -0
  68. package/dist/generated/sqlite/commonInputTypes.js +11 -0
  69. package/dist/generated/sqlite/commonInputTypes.js.map +1 -0
  70. package/dist/generated/sqlite/enums.d.ts +2 -0
  71. package/dist/generated/sqlite/enums.d.ts.map +1 -0
  72. package/dist/generated/sqlite/enums.js +11 -0
  73. package/dist/generated/sqlite/enums.js.map +1 -0
  74. package/dist/generated/sqlite/internal/class.d.ts +226 -0
  75. package/dist/generated/sqlite/internal/class.d.ts.map +1 -0
  76. package/dist/generated/sqlite/internal/class.js +84 -0
  77. package/dist/generated/sqlite/internal/class.js.map +1 -0
  78. package/dist/generated/sqlite/internal/prismaNamespace.d.ts +1344 -0
  79. package/dist/generated/sqlite/internal/prismaNamespace.d.ts.map +1 -0
  80. package/dist/generated/sqlite/internal/prismaNamespace.js +220 -0
  81. package/dist/generated/sqlite/internal/prismaNamespace.js.map +1 -0
  82. package/dist/generated/sqlite/internal/prismaNamespaceBrowser.d.ts +204 -0
  83. package/dist/generated/sqlite/internal/prismaNamespaceBrowser.d.ts.map +1 -0
  84. package/dist/generated/sqlite/internal/prismaNamespaceBrowser.js +191 -0
  85. package/dist/generated/sqlite/internal/prismaNamespaceBrowser.js.map +1 -0
  86. package/dist/generated/sqlite/models/DocEntry.d.ts +1223 -0
  87. package/dist/generated/sqlite/models/DocEntry.d.ts.map +1 -0
  88. package/dist/generated/sqlite/models/DocEntry.js +2 -0
  89. package/dist/generated/sqlite/models/DocEntry.js.map +1 -0
  90. package/dist/generated/sqlite/models/McSourceFile.d.ts +1289 -0
  91. package/dist/generated/sqlite/models/McSourceFile.d.ts.map +1 -0
  92. package/dist/generated/sqlite/models/McSourceFile.js +2 -0
  93. package/dist/generated/sqlite/models/McSourceFile.js.map +1 -0
  94. package/dist/generated/sqlite/models/McVersion.d.ts +1315 -0
  95. package/dist/generated/sqlite/models/McVersion.d.ts.map +1 -0
  96. package/dist/generated/sqlite/models/McVersion.js +2 -0
  97. package/dist/generated/sqlite/models/McVersion.js.map +1 -0
  98. package/dist/generated/sqlite/models/McVersionDiff.d.ts +1061 -0
  99. package/dist/generated/sqlite/models/McVersionDiff.d.ts.map +1 -0
  100. package/dist/generated/sqlite/models/McVersionDiff.js +2 -0
  101. package/dist/generated/sqlite/models/McVersionDiff.js.map +1 -0
  102. package/dist/generated/sqlite/models/Mod.d.ts +2396 -0
  103. package/dist/generated/sqlite/models/Mod.d.ts.map +1 -0
  104. package/dist/generated/sqlite/models/Mod.js +2 -0
  105. package/dist/generated/sqlite/models/Mod.js.map +1 -0
  106. package/dist/generated/sqlite/models/ModClass.d.ts +1254 -0
  107. package/dist/generated/sqlite/models/ModClass.d.ts.map +1 -0
  108. package/dist/generated/sqlite/models/ModClass.js +2 -0
  109. package/dist/generated/sqlite/models/ModClass.js.map +1 -0
  110. package/dist/generated/sqlite/models/ModSourceFile.d.ts +1283 -0
  111. package/dist/generated/sqlite/models/ModSourceFile.d.ts.map +1 -0
  112. package/dist/generated/sqlite/models/ModSourceFile.js +2 -0
  113. package/dist/generated/sqlite/models/ModSourceFile.js.map +1 -0
  114. package/dist/generated/sqlite/models/ModTag.d.ts +1278 -0
  115. package/dist/generated/sqlite/models/ModTag.d.ts.map +1 -0
  116. package/dist/generated/sqlite/models/ModTag.js +2 -0
  117. package/dist/generated/sqlite/models/ModTag.js.map +1 -0
  118. package/dist/generated/sqlite/models/ModVersionDiff.d.ts +1073 -0
  119. package/dist/generated/sqlite/models/ModVersionDiff.d.ts.map +1 -0
  120. package/dist/generated/sqlite/models/ModVersionDiff.js +2 -0
  121. package/dist/generated/sqlite/models/ModVersionDiff.js.map +1 -0
  122. package/dist/generated/sqlite/models/Primer.d.ts +1319 -0
  123. package/dist/generated/sqlite/models/Primer.d.ts.map +1 -0
  124. package/dist/generated/sqlite/models/Primer.js +2 -0
  125. package/dist/generated/sqlite/models/Primer.js.map +1 -0
  126. package/dist/generated/sqlite/models.d.ts +12 -0
  127. package/dist/generated/sqlite/models.d.ts.map +1 -0
  128. package/dist/generated/sqlite/models.js +2 -0
  129. package/dist/generated/sqlite/models.js.map +1 -0
  130. package/dist/jar.d.ts +7 -0
  131. package/dist/jar.d.ts.map +1 -0
  132. package/dist/jar.js +52 -0
  133. package/dist/jar.js.map +1 -0
  134. package/dist/java-tools.d.ts +46 -0
  135. package/dist/java-tools.d.ts.map +1 -0
  136. package/dist/java-tools.js +263 -0
  137. package/dist/java-tools.js.map +1 -0
  138. package/dist/launcher.d.ts +3 -0
  139. package/dist/launcher.d.ts.map +1 -0
  140. package/dist/launcher.js +105 -0
  141. package/dist/launcher.js.map +1 -0
  142. package/dist/mappings.d.ts +95 -0
  143. package/dist/mappings.d.ts.map +1 -0
  144. package/dist/mappings.js +1094 -0
  145. package/dist/mappings.js.map +1 -0
  146. package/dist/mappings.test.d.ts +2 -0
  147. package/dist/mappings.test.d.ts.map +1 -0
  148. package/dist/mappings.test.js +161 -0
  149. package/dist/mappings.test.js.map +1 -0
  150. package/dist/minecraft.d.ts +21 -0
  151. package/dist/minecraft.d.ts.map +1 -0
  152. package/dist/minecraft.js +70 -0
  153. package/dist/minecraft.js.map +1 -0
  154. package/dist/modpacks-ch.d.ts +224 -0
  155. package/dist/modpacks-ch.d.ts.map +1 -0
  156. package/dist/modpacks-ch.js +146 -0
  157. package/dist/modpacks-ch.js.map +1 -0
  158. package/dist/modrinth.d.ts +67 -0
  159. package/dist/modrinth.d.ts.map +1 -0
  160. package/dist/modrinth.js +88 -0
  161. package/dist/modrinth.js.map +1 -0
  162. package/dist/platform-adapter.d.ts +23 -0
  163. package/dist/platform-adapter.d.ts.map +1 -0
  164. package/dist/platform-adapter.js +2 -0
  165. package/dist/platform-adapter.js.map +1 -0
  166. package/dist/platform.d.ts +47 -0
  167. package/dist/platform.d.ts.map +1 -0
  168. package/dist/platform.js +175 -0
  169. package/dist/platform.js.map +1 -0
  170. package/dist/processor.d.ts +51 -0
  171. package/dist/processor.d.ts.map +1 -0
  172. package/dist/processor.js +655 -0
  173. package/dist/processor.js.map +1 -0
  174. package/dist/processor.test.d.ts +2 -0
  175. package/dist/processor.test.d.ts.map +1 -0
  176. package/dist/processor.test.js +629 -0
  177. package/dist/processor.test.js.map +1 -0
  178. package/dist/repositories/embeddings-sqlite.d.ts +38 -0
  179. package/dist/repositories/embeddings-sqlite.d.ts.map +1 -0
  180. package/dist/repositories/embeddings-sqlite.js +208 -0
  181. package/dist/repositories/embeddings-sqlite.js.map +1 -0
  182. package/dist/repositories/embeddings.d.ts +40 -0
  183. package/dist/repositories/embeddings.d.ts.map +1 -0
  184. package/dist/repositories/embeddings.js +136 -0
  185. package/dist/repositories/embeddings.js.map +1 -0
  186. package/dist/repositories/index.d.ts +2 -0
  187. package/dist/repositories/index.d.ts.map +1 -0
  188. package/dist/repositories/index.js +15 -0
  189. package/dist/repositories/index.js.map +1 -0
  190. package/dist/repositories/mcVersion.d.ts +16 -0
  191. package/dist/repositories/mcVersion.d.ts.map +1 -0
  192. package/dist/repositories/mcVersion.js +52 -0
  193. package/dist/repositories/mcVersion.js.map +1 -0
  194. package/dist/repositories/mod.d.ts +241 -0
  195. package/dist/repositories/mod.d.ts.map +1 -0
  196. package/dist/repositories/mod.js +342 -0
  197. package/dist/repositories/mod.js.map +1 -0
  198. package/dist/repositories/packs.d.ts +44 -0
  199. package/dist/repositories/packs.d.ts.map +1 -0
  200. package/dist/repositories/packs.js +138 -0
  201. package/dist/repositories/packs.js.map +1 -0
  202. package/dist/search-adapter.d.ts +34 -0
  203. package/dist/search-adapter.d.ts.map +1 -0
  204. package/dist/search-adapter.js +195 -0
  205. package/dist/search-adapter.js.map +1 -0
  206. package/dist/search.d.ts +6 -0
  207. package/dist/search.d.ts.map +1 -0
  208. package/dist/search.js +54 -0
  209. package/dist/search.js.map +1 -0
  210. package/dist/search.test.d.ts +2 -0
  211. package/dist/search.test.d.ts.map +1 -0
  212. package/dist/search.test.js +71 -0
  213. package/dist/search.test.js.map +1 -0
  214. package/dist/security.d.ts +98 -0
  215. package/dist/security.d.ts.map +1 -0
  216. package/dist/security.js +446 -0
  217. package/dist/security.js.map +1 -0
  218. package/dist/security.test.d.ts +2 -0
  219. package/dist/security.test.d.ts.map +1 -0
  220. package/dist/security.test.js +687 -0
  221. package/dist/security.test.js.map +1 -0
  222. package/dist/server.d.ts +2 -0
  223. package/dist/server.d.ts.map +1 -0
  224. package/dist/server.js +1465 -0
  225. package/dist/server.js.map +1 -0
  226. package/dist/setup.d.ts +2 -0
  227. package/dist/setup.d.ts.map +1 -0
  228. package/dist/setup.js +1113 -0
  229. package/dist/setup.js.map +1 -0
  230. package/dist/tools/bytecode.d.ts +129 -0
  231. package/dist/tools/bytecode.d.ts.map +1 -0
  232. package/dist/tools/bytecode.js +679 -0
  233. package/dist/tools/bytecode.js.map +1 -0
  234. package/dist/tools/catalog.d.ts +54 -0
  235. package/dist/tools/catalog.d.ts.map +1 -0
  236. package/dist/tools/catalog.js +249 -0
  237. package/dist/tools/catalog.js.map +1 -0
  238. package/dist/tools/compat-check.d.ts +23 -0
  239. package/dist/tools/compat-check.d.ts.map +1 -0
  240. package/dist/tools/compat-check.js +250 -0
  241. package/dist/tools/compat-check.js.map +1 -0
  242. package/dist/tools/compat-check.test.d.ts +2 -0
  243. package/dist/tools/compat-check.test.d.ts.map +1 -0
  244. package/dist/tools/compat-check.test.js +179 -0
  245. package/dist/tools/compat-check.test.js.map +1 -0
  246. package/dist/tools/diagnostics.d.ts +10 -0
  247. package/dist/tools/diagnostics.d.ts.map +1 -0
  248. package/dist/tools/diagnostics.js +133 -0
  249. package/dist/tools/diagnostics.js.map +1 -0
  250. package/dist/tools/diagnostics.test.d.ts +2 -0
  251. package/dist/tools/diagnostics.test.d.ts.map +1 -0
  252. package/dist/tools/diagnostics.test.js +168 -0
  253. package/dist/tools/diagnostics.test.js.map +1 -0
  254. package/dist/tools/docs.d.ts +19 -0
  255. package/dist/tools/docs.d.ts.map +1 -0
  256. package/dist/tools/docs.js +230 -0
  257. package/dist/tools/docs.js.map +1 -0
  258. package/dist/tools/embed-registry.d.ts +125 -0
  259. package/dist/tools/embed-registry.d.ts.map +1 -0
  260. package/dist/tools/embed-registry.js +560 -0
  261. package/dist/tools/embed-registry.js.map +1 -0
  262. package/dist/tools/gradle.d.ts +16 -0
  263. package/dist/tools/gradle.d.ts.map +1 -0
  264. package/dist/tools/gradle.js +182 -0
  265. package/dist/tools/gradle.js.map +1 -0
  266. package/dist/tools/graphify.d.ts +144 -0
  267. package/dist/tools/graphify.d.ts.map +1 -0
  268. package/dist/tools/graphify.js +798 -0
  269. package/dist/tools/graphify.js.map +1 -0
  270. package/dist/tools/graphify.test.d.ts +2 -0
  271. package/dist/tools/graphify.test.d.ts.map +1 -0
  272. package/dist/tools/graphify.test.js +39 -0
  273. package/dist/tools/graphify.test.js.map +1 -0
  274. package/dist/tools/ingest.d.ts +85 -0
  275. package/dist/tools/ingest.d.ts.map +1 -0
  276. package/dist/tools/ingest.js +477 -0
  277. package/dist/tools/ingest.js.map +1 -0
  278. package/dist/tools/ingest.test.d.ts +2 -0
  279. package/dist/tools/ingest.test.d.ts.map +1 -0
  280. package/dist/tools/ingest.test.js +340 -0
  281. package/dist/tools/ingest.test.js.map +1 -0
  282. package/dist/tools/kubejs.d.ts +37 -0
  283. package/dist/tools/kubejs.d.ts.map +1 -0
  284. package/dist/tools/kubejs.js +245 -0
  285. package/dist/tools/kubejs.js.map +1 -0
  286. package/dist/tools/mappings.d.ts +17 -0
  287. package/dist/tools/mappings.d.ts.map +1 -0
  288. package/dist/tools/mappings.js +85 -0
  289. package/dist/tools/mappings.js.map +1 -0
  290. package/dist/tools/mc-fts.d.ts +101 -0
  291. package/dist/tools/mc-fts.d.ts.map +1 -0
  292. package/dist/tools/mc-fts.js +279 -0
  293. package/dist/tools/mc-fts.js.map +1 -0
  294. package/dist/tools/mcmeta.d.ts +41 -0
  295. package/dist/tools/mcmeta.d.ts.map +1 -0
  296. package/dist/tools/mcmeta.js +365 -0
  297. package/dist/tools/mcmeta.js.map +1 -0
  298. package/dist/tools/mixin-scan.d.ts +113 -0
  299. package/dist/tools/mixin-scan.d.ts.map +1 -0
  300. package/dist/tools/mixin-scan.js +433 -0
  301. package/dist/tools/mixin-scan.js.map +1 -0
  302. package/dist/tools/mod-data.d.ts +83 -0
  303. package/dist/tools/mod-data.d.ts.map +1 -0
  304. package/dist/tools/mod-data.js +630 -0
  305. package/dist/tools/mod-data.js.map +1 -0
  306. package/dist/tools/mod-tags.d.ts +59 -0
  307. package/dist/tools/mod-tags.d.ts.map +1 -0
  308. package/dist/tools/mod-tags.js +279 -0
  309. package/dist/tools/mod-tags.js.map +1 -0
  310. package/dist/tools/mod-tags.test.d.ts +2 -0
  311. package/dist/tools/mod-tags.test.d.ts.map +1 -0
  312. package/dist/tools/mod-tags.test.js +75 -0
  313. package/dist/tools/mod-tags.test.js.map +1 -0
  314. package/dist/tools/modpacks-ch.d.ts +257 -0
  315. package/dist/tools/modpacks-ch.d.ts.map +1 -0
  316. package/dist/tools/modpacks-ch.js +516 -0
  317. package/dist/tools/modpacks-ch.js.map +1 -0
  318. package/dist/tools/packtools.d.ts +113 -0
  319. package/dist/tools/packtools.d.ts.map +1 -0
  320. package/dist/tools/packtools.js +809 -0
  321. package/dist/tools/packtools.js.map +1 -0
  322. package/dist/tools/packtools.test.d.ts +2 -0
  323. package/dist/tools/packtools.test.d.ts.map +1 -0
  324. package/dist/tools/packtools.test.js +99 -0
  325. package/dist/tools/packtools.test.js.map +1 -0
  326. package/dist/tools/platform.d.ts +68 -0
  327. package/dist/tools/platform.d.ts.map +1 -0
  328. package/dist/tools/platform.js +452 -0
  329. package/dist/tools/platform.js.map +1 -0
  330. package/dist/tools/primers.d.ts +36 -0
  331. package/dist/tools/primers.d.ts.map +1 -0
  332. package/dist/tools/primers.js +451 -0
  333. package/dist/tools/primers.js.map +1 -0
  334. package/dist/tools/reports.d.ts +19 -0
  335. package/dist/tools/reports.d.ts.map +1 -0
  336. package/dist/tools/reports.js +573 -0
  337. package/dist/tools/reports.js.map +1 -0
  338. package/dist/tools/source.d.ts +10 -0
  339. package/dist/tools/source.d.ts.map +1 -0
  340. package/dist/tools/source.js +101 -0
  341. package/dist/tools/source.js.map +1 -0
  342. package/dist/tools/vanilla-data.d.ts +127 -0
  343. package/dist/tools/vanilla-data.d.ts.map +1 -0
  344. package/dist/tools/vanilla-data.js +824 -0
  345. package/dist/tools/vanilla-data.js.map +1 -0
  346. package/dist/tools/vanilla.d.ts +171 -0
  347. package/dist/tools/vanilla.d.ts.map +1 -0
  348. package/dist/tools/vanilla.js +612 -0
  349. package/dist/tools/vanilla.js.map +1 -0
  350. package/dist/tools/version-diff.d.ts +113 -0
  351. package/dist/tools/version-diff.d.ts.map +1 -0
  352. package/dist/tools/version-diff.js +519 -0
  353. package/dist/tools/version-diff.js.map +1 -0
  354. package/dist/tools/version-diff.test.d.ts +2 -0
  355. package/dist/tools/version-diff.test.d.ts.map +1 -0
  356. package/dist/tools/version-diff.test.js +102 -0
  357. package/dist/tools/version-diff.test.js.map +1 -0
  358. package/dist/validate.d.ts +19 -0
  359. package/dist/validate.d.ts.map +1 -0
  360. package/dist/validate.js +54 -0
  361. package/dist/validate.js.map +1 -0
  362. package/dist/validate.test.d.ts +2 -0
  363. package/dist/validate.test.d.ts.map +1 -0
  364. package/dist/validate.test.js +73 -0
  365. package/dist/validate.test.js.map +1 -0
  366. package/package.json +62 -0
  367. package/prisma/backends/schema.sqlite.prisma +215 -0
  368. package/prisma/backends/template.db +0 -0
  369. package/prisma/schema.prisma +303 -0
  370. package/scripts/backup.mjs +151 -0
  371. package/scripts/build-template-db.mjs +38 -0
  372. package/scripts/check-atm10.mjs +27 -0
  373. package/scripts/check-sync.mjs +13 -0
  374. package/scripts/create-fts-index.mjs +50 -0
  375. package/scripts/enable-pgvector.mjs +90 -0
  376. package/scripts/enable-sqlite-vec.mjs +158 -0
  377. package/scripts/migrate-backend.mjs +188 -0
  378. package/scripts/migrate-embed-provenance.mjs +80 -0
  379. package/scripts/migrate-metadata-source.mjs +62 -0
  380. package/scripts/migrate-mod-source-files.mjs +67 -0
  381. package/scripts/post-update.mjs +77 -0
  382. package/scripts/verify-atm10.mjs +63 -0
@@ -0,0 +1,1254 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model ModClass
5
+ *
6
+ */
7
+ export type ModClassModel = runtime.Types.Result.DefaultSelection<Prisma.$ModClassPayload>;
8
+ export type AggregateModClass = {
9
+ _count: ModClassCountAggregateOutputType | null;
10
+ _avg: ModClassAvgAggregateOutputType | null;
11
+ _sum: ModClassSumAggregateOutputType | null;
12
+ _min: ModClassMinAggregateOutputType | null;
13
+ _max: ModClassMaxAggregateOutputType | null;
14
+ };
15
+ export type ModClassAvgAggregateOutputType = {
16
+ id: number | null;
17
+ modId: number | null;
18
+ accessFlags: number | null;
19
+ };
20
+ export type ModClassSumAggregateOutputType = {
21
+ id: number | null;
22
+ modId: number | null;
23
+ accessFlags: number | null;
24
+ };
25
+ export type ModClassMinAggregateOutputType = {
26
+ id: number | null;
27
+ modId: number | null;
28
+ className: string | null;
29
+ superClass: string | null;
30
+ interfaces: string | null;
31
+ accessFlags: number | null;
32
+ };
33
+ export type ModClassMaxAggregateOutputType = {
34
+ id: number | null;
35
+ modId: number | null;
36
+ className: string | null;
37
+ superClass: string | null;
38
+ interfaces: string | null;
39
+ accessFlags: number | null;
40
+ };
41
+ export type ModClassCountAggregateOutputType = {
42
+ id: number;
43
+ modId: number;
44
+ className: number;
45
+ superClass: number;
46
+ interfaces: number;
47
+ accessFlags: number;
48
+ _all: number;
49
+ };
50
+ export type ModClassAvgAggregateInputType = {
51
+ id?: true;
52
+ modId?: true;
53
+ accessFlags?: true;
54
+ };
55
+ export type ModClassSumAggregateInputType = {
56
+ id?: true;
57
+ modId?: true;
58
+ accessFlags?: true;
59
+ };
60
+ export type ModClassMinAggregateInputType = {
61
+ id?: true;
62
+ modId?: true;
63
+ className?: true;
64
+ superClass?: true;
65
+ interfaces?: true;
66
+ accessFlags?: true;
67
+ };
68
+ export type ModClassMaxAggregateInputType = {
69
+ id?: true;
70
+ modId?: true;
71
+ className?: true;
72
+ superClass?: true;
73
+ interfaces?: true;
74
+ accessFlags?: true;
75
+ };
76
+ export type ModClassCountAggregateInputType = {
77
+ id?: true;
78
+ modId?: true;
79
+ className?: true;
80
+ superClass?: true;
81
+ interfaces?: true;
82
+ accessFlags?: true;
83
+ _all?: true;
84
+ };
85
+ export type ModClassAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
86
+ /**
87
+ * Filter which ModClass to aggregate.
88
+ */
89
+ where?: Prisma.ModClassWhereInput;
90
+ /**
91
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
92
+ *
93
+ * Determine the order of ModClasses to fetch.
94
+ */
95
+ orderBy?: Prisma.ModClassOrderByWithRelationInput | Prisma.ModClassOrderByWithRelationInput[];
96
+ /**
97
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
98
+ *
99
+ * Sets the start position
100
+ */
101
+ cursor?: Prisma.ModClassWhereUniqueInput;
102
+ /**
103
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
104
+ *
105
+ * Take `±n` ModClasses from the position of the cursor.
106
+ */
107
+ take?: number;
108
+ /**
109
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
110
+ *
111
+ * Skip the first `n` ModClasses.
112
+ */
113
+ skip?: number;
114
+ /**
115
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
116
+ *
117
+ * Count returned ModClasses
118
+ **/
119
+ _count?: true | ModClassCountAggregateInputType;
120
+ /**
121
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
122
+ *
123
+ * Select which fields to average
124
+ **/
125
+ _avg?: ModClassAvgAggregateInputType;
126
+ /**
127
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
128
+ *
129
+ * Select which fields to sum
130
+ **/
131
+ _sum?: ModClassSumAggregateInputType;
132
+ /**
133
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
134
+ *
135
+ * Select which fields to find the minimum value
136
+ **/
137
+ _min?: ModClassMinAggregateInputType;
138
+ /**
139
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
140
+ *
141
+ * Select which fields to find the maximum value
142
+ **/
143
+ _max?: ModClassMaxAggregateInputType;
144
+ };
145
+ export type GetModClassAggregateType<T extends ModClassAggregateArgs> = {
146
+ [P in keyof T & keyof AggregateModClass]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateModClass[P]> : Prisma.GetScalarType<T[P], AggregateModClass[P]>;
147
+ };
148
+ export type ModClassGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
149
+ where?: Prisma.ModClassWhereInput;
150
+ orderBy?: Prisma.ModClassOrderByWithAggregationInput | Prisma.ModClassOrderByWithAggregationInput[];
151
+ by: Prisma.ModClassScalarFieldEnum[] | Prisma.ModClassScalarFieldEnum;
152
+ having?: Prisma.ModClassScalarWhereWithAggregatesInput;
153
+ take?: number;
154
+ skip?: number;
155
+ _count?: ModClassCountAggregateInputType | true;
156
+ _avg?: ModClassAvgAggregateInputType;
157
+ _sum?: ModClassSumAggregateInputType;
158
+ _min?: ModClassMinAggregateInputType;
159
+ _max?: ModClassMaxAggregateInputType;
160
+ };
161
+ export type ModClassGroupByOutputType = {
162
+ id: number;
163
+ modId: number;
164
+ className: string;
165
+ superClass: string | null;
166
+ interfaces: string;
167
+ accessFlags: number;
168
+ _count: ModClassCountAggregateOutputType | null;
169
+ _avg: ModClassAvgAggregateOutputType | null;
170
+ _sum: ModClassSumAggregateOutputType | null;
171
+ _min: ModClassMinAggregateOutputType | null;
172
+ _max: ModClassMaxAggregateOutputType | null;
173
+ };
174
+ type GetModClassGroupByPayload<T extends ModClassGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ModClassGroupByOutputType, T['by']> & {
175
+ [P in ((keyof T) & (keyof ModClassGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ModClassGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ModClassGroupByOutputType[P]>;
176
+ }>>;
177
+ export type ModClassWhereInput = {
178
+ AND?: Prisma.ModClassWhereInput | Prisma.ModClassWhereInput[];
179
+ OR?: Prisma.ModClassWhereInput[];
180
+ NOT?: Prisma.ModClassWhereInput | Prisma.ModClassWhereInput[];
181
+ id?: Prisma.IntFilter<"ModClass"> | number;
182
+ modId?: Prisma.IntFilter<"ModClass"> | number;
183
+ className?: Prisma.StringFilter<"ModClass"> | string;
184
+ superClass?: Prisma.StringNullableFilter<"ModClass"> | string | null;
185
+ interfaces?: Prisma.StringFilter<"ModClass"> | string;
186
+ accessFlags?: Prisma.IntFilter<"ModClass"> | number;
187
+ mod?: Prisma.XOR<Prisma.ModScalarRelationFilter, Prisma.ModWhereInput>;
188
+ };
189
+ export type ModClassOrderByWithRelationInput = {
190
+ id?: Prisma.SortOrder;
191
+ modId?: Prisma.SortOrder;
192
+ className?: Prisma.SortOrder;
193
+ superClass?: Prisma.SortOrderInput | Prisma.SortOrder;
194
+ interfaces?: Prisma.SortOrder;
195
+ accessFlags?: Prisma.SortOrder;
196
+ mod?: Prisma.ModOrderByWithRelationInput;
197
+ };
198
+ export type ModClassWhereUniqueInput = Prisma.AtLeast<{
199
+ id?: number;
200
+ modId_className?: Prisma.ModClassModIdClassNameCompoundUniqueInput;
201
+ AND?: Prisma.ModClassWhereInput | Prisma.ModClassWhereInput[];
202
+ OR?: Prisma.ModClassWhereInput[];
203
+ NOT?: Prisma.ModClassWhereInput | Prisma.ModClassWhereInput[];
204
+ modId?: Prisma.IntFilter<"ModClass"> | number;
205
+ className?: Prisma.StringFilter<"ModClass"> | string;
206
+ superClass?: Prisma.StringNullableFilter<"ModClass"> | string | null;
207
+ interfaces?: Prisma.StringFilter<"ModClass"> | string;
208
+ accessFlags?: Prisma.IntFilter<"ModClass"> | number;
209
+ mod?: Prisma.XOR<Prisma.ModScalarRelationFilter, Prisma.ModWhereInput>;
210
+ }, "id" | "modId_className">;
211
+ export type ModClassOrderByWithAggregationInput = {
212
+ id?: Prisma.SortOrder;
213
+ modId?: Prisma.SortOrder;
214
+ className?: Prisma.SortOrder;
215
+ superClass?: Prisma.SortOrderInput | Prisma.SortOrder;
216
+ interfaces?: Prisma.SortOrder;
217
+ accessFlags?: Prisma.SortOrder;
218
+ _count?: Prisma.ModClassCountOrderByAggregateInput;
219
+ _avg?: Prisma.ModClassAvgOrderByAggregateInput;
220
+ _max?: Prisma.ModClassMaxOrderByAggregateInput;
221
+ _min?: Prisma.ModClassMinOrderByAggregateInput;
222
+ _sum?: Prisma.ModClassSumOrderByAggregateInput;
223
+ };
224
+ export type ModClassScalarWhereWithAggregatesInput = {
225
+ AND?: Prisma.ModClassScalarWhereWithAggregatesInput | Prisma.ModClassScalarWhereWithAggregatesInput[];
226
+ OR?: Prisma.ModClassScalarWhereWithAggregatesInput[];
227
+ NOT?: Prisma.ModClassScalarWhereWithAggregatesInput | Prisma.ModClassScalarWhereWithAggregatesInput[];
228
+ id?: Prisma.IntWithAggregatesFilter<"ModClass"> | number;
229
+ modId?: Prisma.IntWithAggregatesFilter<"ModClass"> | number;
230
+ className?: Prisma.StringWithAggregatesFilter<"ModClass"> | string;
231
+ superClass?: Prisma.StringNullableWithAggregatesFilter<"ModClass"> | string | null;
232
+ interfaces?: Prisma.StringWithAggregatesFilter<"ModClass"> | string;
233
+ accessFlags?: Prisma.IntWithAggregatesFilter<"ModClass"> | number;
234
+ };
235
+ export type ModClassCreateInput = {
236
+ className: string;
237
+ superClass?: string | null;
238
+ interfaces?: string;
239
+ accessFlags?: number;
240
+ mod: Prisma.ModCreateNestedOneWithoutClassesInput;
241
+ };
242
+ export type ModClassUncheckedCreateInput = {
243
+ id?: number;
244
+ modId: number;
245
+ className: string;
246
+ superClass?: string | null;
247
+ interfaces?: string;
248
+ accessFlags?: number;
249
+ };
250
+ export type ModClassUpdateInput = {
251
+ className?: Prisma.StringFieldUpdateOperationsInput | string;
252
+ superClass?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
253
+ interfaces?: Prisma.StringFieldUpdateOperationsInput | string;
254
+ accessFlags?: Prisma.IntFieldUpdateOperationsInput | number;
255
+ mod?: Prisma.ModUpdateOneRequiredWithoutClassesNestedInput;
256
+ };
257
+ export type ModClassUncheckedUpdateInput = {
258
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
259
+ modId?: Prisma.IntFieldUpdateOperationsInput | number;
260
+ className?: Prisma.StringFieldUpdateOperationsInput | string;
261
+ superClass?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
262
+ interfaces?: Prisma.StringFieldUpdateOperationsInput | string;
263
+ accessFlags?: Prisma.IntFieldUpdateOperationsInput | number;
264
+ };
265
+ export type ModClassCreateManyInput = {
266
+ id?: number;
267
+ modId: number;
268
+ className: string;
269
+ superClass?: string | null;
270
+ interfaces?: string;
271
+ accessFlags?: number;
272
+ };
273
+ export type ModClassUpdateManyMutationInput = {
274
+ className?: Prisma.StringFieldUpdateOperationsInput | string;
275
+ superClass?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
276
+ interfaces?: Prisma.StringFieldUpdateOperationsInput | string;
277
+ accessFlags?: Prisma.IntFieldUpdateOperationsInput | number;
278
+ };
279
+ export type ModClassUncheckedUpdateManyInput = {
280
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
281
+ modId?: Prisma.IntFieldUpdateOperationsInput | number;
282
+ className?: Prisma.StringFieldUpdateOperationsInput | string;
283
+ superClass?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
284
+ interfaces?: Prisma.StringFieldUpdateOperationsInput | string;
285
+ accessFlags?: Prisma.IntFieldUpdateOperationsInput | number;
286
+ };
287
+ export type ModClassListRelationFilter = {
288
+ every?: Prisma.ModClassWhereInput;
289
+ some?: Prisma.ModClassWhereInput;
290
+ none?: Prisma.ModClassWhereInput;
291
+ };
292
+ export type ModClassOrderByRelationAggregateInput = {
293
+ _count?: Prisma.SortOrder;
294
+ };
295
+ export type ModClassModIdClassNameCompoundUniqueInput = {
296
+ modId: number;
297
+ className: string;
298
+ };
299
+ export type ModClassCountOrderByAggregateInput = {
300
+ id?: Prisma.SortOrder;
301
+ modId?: Prisma.SortOrder;
302
+ className?: Prisma.SortOrder;
303
+ superClass?: Prisma.SortOrder;
304
+ interfaces?: Prisma.SortOrder;
305
+ accessFlags?: Prisma.SortOrder;
306
+ };
307
+ export type ModClassAvgOrderByAggregateInput = {
308
+ id?: Prisma.SortOrder;
309
+ modId?: Prisma.SortOrder;
310
+ accessFlags?: Prisma.SortOrder;
311
+ };
312
+ export type ModClassMaxOrderByAggregateInput = {
313
+ id?: Prisma.SortOrder;
314
+ modId?: Prisma.SortOrder;
315
+ className?: Prisma.SortOrder;
316
+ superClass?: Prisma.SortOrder;
317
+ interfaces?: Prisma.SortOrder;
318
+ accessFlags?: Prisma.SortOrder;
319
+ };
320
+ export type ModClassMinOrderByAggregateInput = {
321
+ id?: Prisma.SortOrder;
322
+ modId?: Prisma.SortOrder;
323
+ className?: Prisma.SortOrder;
324
+ superClass?: Prisma.SortOrder;
325
+ interfaces?: Prisma.SortOrder;
326
+ accessFlags?: Prisma.SortOrder;
327
+ };
328
+ export type ModClassSumOrderByAggregateInput = {
329
+ id?: Prisma.SortOrder;
330
+ modId?: Prisma.SortOrder;
331
+ accessFlags?: Prisma.SortOrder;
332
+ };
333
+ export type ModClassCreateNestedManyWithoutModInput = {
334
+ create?: Prisma.XOR<Prisma.ModClassCreateWithoutModInput, Prisma.ModClassUncheckedCreateWithoutModInput> | Prisma.ModClassCreateWithoutModInput[] | Prisma.ModClassUncheckedCreateWithoutModInput[];
335
+ connectOrCreate?: Prisma.ModClassCreateOrConnectWithoutModInput | Prisma.ModClassCreateOrConnectWithoutModInput[];
336
+ createMany?: Prisma.ModClassCreateManyModInputEnvelope;
337
+ connect?: Prisma.ModClassWhereUniqueInput | Prisma.ModClassWhereUniqueInput[];
338
+ };
339
+ export type ModClassUncheckedCreateNestedManyWithoutModInput = {
340
+ create?: Prisma.XOR<Prisma.ModClassCreateWithoutModInput, Prisma.ModClassUncheckedCreateWithoutModInput> | Prisma.ModClassCreateWithoutModInput[] | Prisma.ModClassUncheckedCreateWithoutModInput[];
341
+ connectOrCreate?: Prisma.ModClassCreateOrConnectWithoutModInput | Prisma.ModClassCreateOrConnectWithoutModInput[];
342
+ createMany?: Prisma.ModClassCreateManyModInputEnvelope;
343
+ connect?: Prisma.ModClassWhereUniqueInput | Prisma.ModClassWhereUniqueInput[];
344
+ };
345
+ export type ModClassUpdateManyWithoutModNestedInput = {
346
+ create?: Prisma.XOR<Prisma.ModClassCreateWithoutModInput, Prisma.ModClassUncheckedCreateWithoutModInput> | Prisma.ModClassCreateWithoutModInput[] | Prisma.ModClassUncheckedCreateWithoutModInput[];
347
+ connectOrCreate?: Prisma.ModClassCreateOrConnectWithoutModInput | Prisma.ModClassCreateOrConnectWithoutModInput[];
348
+ upsert?: Prisma.ModClassUpsertWithWhereUniqueWithoutModInput | Prisma.ModClassUpsertWithWhereUniqueWithoutModInput[];
349
+ createMany?: Prisma.ModClassCreateManyModInputEnvelope;
350
+ set?: Prisma.ModClassWhereUniqueInput | Prisma.ModClassWhereUniqueInput[];
351
+ disconnect?: Prisma.ModClassWhereUniqueInput | Prisma.ModClassWhereUniqueInput[];
352
+ delete?: Prisma.ModClassWhereUniqueInput | Prisma.ModClassWhereUniqueInput[];
353
+ connect?: Prisma.ModClassWhereUniqueInput | Prisma.ModClassWhereUniqueInput[];
354
+ update?: Prisma.ModClassUpdateWithWhereUniqueWithoutModInput | Prisma.ModClassUpdateWithWhereUniqueWithoutModInput[];
355
+ updateMany?: Prisma.ModClassUpdateManyWithWhereWithoutModInput | Prisma.ModClassUpdateManyWithWhereWithoutModInput[];
356
+ deleteMany?: Prisma.ModClassScalarWhereInput | Prisma.ModClassScalarWhereInput[];
357
+ };
358
+ export type ModClassUncheckedUpdateManyWithoutModNestedInput = {
359
+ create?: Prisma.XOR<Prisma.ModClassCreateWithoutModInput, Prisma.ModClassUncheckedCreateWithoutModInput> | Prisma.ModClassCreateWithoutModInput[] | Prisma.ModClassUncheckedCreateWithoutModInput[];
360
+ connectOrCreate?: Prisma.ModClassCreateOrConnectWithoutModInput | Prisma.ModClassCreateOrConnectWithoutModInput[];
361
+ upsert?: Prisma.ModClassUpsertWithWhereUniqueWithoutModInput | Prisma.ModClassUpsertWithWhereUniqueWithoutModInput[];
362
+ createMany?: Prisma.ModClassCreateManyModInputEnvelope;
363
+ set?: Prisma.ModClassWhereUniqueInput | Prisma.ModClassWhereUniqueInput[];
364
+ disconnect?: Prisma.ModClassWhereUniqueInput | Prisma.ModClassWhereUniqueInput[];
365
+ delete?: Prisma.ModClassWhereUniqueInput | Prisma.ModClassWhereUniqueInput[];
366
+ connect?: Prisma.ModClassWhereUniqueInput | Prisma.ModClassWhereUniqueInput[];
367
+ update?: Prisma.ModClassUpdateWithWhereUniqueWithoutModInput | Prisma.ModClassUpdateWithWhereUniqueWithoutModInput[];
368
+ updateMany?: Prisma.ModClassUpdateManyWithWhereWithoutModInput | Prisma.ModClassUpdateManyWithWhereWithoutModInput[];
369
+ deleteMany?: Prisma.ModClassScalarWhereInput | Prisma.ModClassScalarWhereInput[];
370
+ };
371
+ export type ModClassCreateWithoutModInput = {
372
+ className: string;
373
+ superClass?: string | null;
374
+ interfaces?: string;
375
+ accessFlags?: number;
376
+ };
377
+ export type ModClassUncheckedCreateWithoutModInput = {
378
+ id?: number;
379
+ className: string;
380
+ superClass?: string | null;
381
+ interfaces?: string;
382
+ accessFlags?: number;
383
+ };
384
+ export type ModClassCreateOrConnectWithoutModInput = {
385
+ where: Prisma.ModClassWhereUniqueInput;
386
+ create: Prisma.XOR<Prisma.ModClassCreateWithoutModInput, Prisma.ModClassUncheckedCreateWithoutModInput>;
387
+ };
388
+ export type ModClassCreateManyModInputEnvelope = {
389
+ data: Prisma.ModClassCreateManyModInput | Prisma.ModClassCreateManyModInput[];
390
+ };
391
+ export type ModClassUpsertWithWhereUniqueWithoutModInput = {
392
+ where: Prisma.ModClassWhereUniqueInput;
393
+ update: Prisma.XOR<Prisma.ModClassUpdateWithoutModInput, Prisma.ModClassUncheckedUpdateWithoutModInput>;
394
+ create: Prisma.XOR<Prisma.ModClassCreateWithoutModInput, Prisma.ModClassUncheckedCreateWithoutModInput>;
395
+ };
396
+ export type ModClassUpdateWithWhereUniqueWithoutModInput = {
397
+ where: Prisma.ModClassWhereUniqueInput;
398
+ data: Prisma.XOR<Prisma.ModClassUpdateWithoutModInput, Prisma.ModClassUncheckedUpdateWithoutModInput>;
399
+ };
400
+ export type ModClassUpdateManyWithWhereWithoutModInput = {
401
+ where: Prisma.ModClassScalarWhereInput;
402
+ data: Prisma.XOR<Prisma.ModClassUpdateManyMutationInput, Prisma.ModClassUncheckedUpdateManyWithoutModInput>;
403
+ };
404
+ export type ModClassScalarWhereInput = {
405
+ AND?: Prisma.ModClassScalarWhereInput | Prisma.ModClassScalarWhereInput[];
406
+ OR?: Prisma.ModClassScalarWhereInput[];
407
+ NOT?: Prisma.ModClassScalarWhereInput | Prisma.ModClassScalarWhereInput[];
408
+ id?: Prisma.IntFilter<"ModClass"> | number;
409
+ modId?: Prisma.IntFilter<"ModClass"> | number;
410
+ className?: Prisma.StringFilter<"ModClass"> | string;
411
+ superClass?: Prisma.StringNullableFilter<"ModClass"> | string | null;
412
+ interfaces?: Prisma.StringFilter<"ModClass"> | string;
413
+ accessFlags?: Prisma.IntFilter<"ModClass"> | number;
414
+ };
415
+ export type ModClassCreateManyModInput = {
416
+ id?: number;
417
+ className: string;
418
+ superClass?: string | null;
419
+ interfaces?: string;
420
+ accessFlags?: number;
421
+ };
422
+ export type ModClassUpdateWithoutModInput = {
423
+ className?: Prisma.StringFieldUpdateOperationsInput | string;
424
+ superClass?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
425
+ interfaces?: Prisma.StringFieldUpdateOperationsInput | string;
426
+ accessFlags?: Prisma.IntFieldUpdateOperationsInput | number;
427
+ };
428
+ export type ModClassUncheckedUpdateWithoutModInput = {
429
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
430
+ className?: Prisma.StringFieldUpdateOperationsInput | string;
431
+ superClass?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
432
+ interfaces?: Prisma.StringFieldUpdateOperationsInput | string;
433
+ accessFlags?: Prisma.IntFieldUpdateOperationsInput | number;
434
+ };
435
+ export type ModClassUncheckedUpdateManyWithoutModInput = {
436
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
437
+ className?: Prisma.StringFieldUpdateOperationsInput | string;
438
+ superClass?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
439
+ interfaces?: Prisma.StringFieldUpdateOperationsInput | string;
440
+ accessFlags?: Prisma.IntFieldUpdateOperationsInput | number;
441
+ };
442
+ export type ModClassSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
443
+ id?: boolean;
444
+ modId?: boolean;
445
+ className?: boolean;
446
+ superClass?: boolean;
447
+ interfaces?: boolean;
448
+ accessFlags?: boolean;
449
+ mod?: boolean | Prisma.ModDefaultArgs<ExtArgs>;
450
+ }, ExtArgs["result"]["modClass"]>;
451
+ export type ModClassSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
452
+ id?: boolean;
453
+ modId?: boolean;
454
+ className?: boolean;
455
+ superClass?: boolean;
456
+ interfaces?: boolean;
457
+ accessFlags?: boolean;
458
+ mod?: boolean | Prisma.ModDefaultArgs<ExtArgs>;
459
+ }, ExtArgs["result"]["modClass"]>;
460
+ export type ModClassSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
461
+ id?: boolean;
462
+ modId?: boolean;
463
+ className?: boolean;
464
+ superClass?: boolean;
465
+ interfaces?: boolean;
466
+ accessFlags?: boolean;
467
+ mod?: boolean | Prisma.ModDefaultArgs<ExtArgs>;
468
+ }, ExtArgs["result"]["modClass"]>;
469
+ export type ModClassSelectScalar = {
470
+ id?: boolean;
471
+ modId?: boolean;
472
+ className?: boolean;
473
+ superClass?: boolean;
474
+ interfaces?: boolean;
475
+ accessFlags?: boolean;
476
+ };
477
+ export type ModClassOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "modId" | "className" | "superClass" | "interfaces" | "accessFlags", ExtArgs["result"]["modClass"]>;
478
+ export type ModClassInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
479
+ mod?: boolean | Prisma.ModDefaultArgs<ExtArgs>;
480
+ };
481
+ export type ModClassIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
482
+ mod?: boolean | Prisma.ModDefaultArgs<ExtArgs>;
483
+ };
484
+ export type ModClassIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
485
+ mod?: boolean | Prisma.ModDefaultArgs<ExtArgs>;
486
+ };
487
+ export type $ModClassPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
488
+ name: "ModClass";
489
+ objects: {
490
+ mod: Prisma.$ModPayload<ExtArgs>;
491
+ };
492
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
493
+ id: number;
494
+ modId: number;
495
+ className: string;
496
+ superClass: string | null;
497
+ interfaces: string;
498
+ accessFlags: number;
499
+ }, ExtArgs["result"]["modClass"]>;
500
+ composites: {};
501
+ };
502
+ export type ModClassGetPayload<S extends boolean | null | undefined | ModClassDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ModClassPayload, S>;
503
+ export type ModClassCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ModClassFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
504
+ select?: ModClassCountAggregateInputType | true;
505
+ };
506
+ export interface ModClassDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
507
+ [K: symbol]: {
508
+ types: Prisma.TypeMap<ExtArgs>['model']['ModClass'];
509
+ meta: {
510
+ name: 'ModClass';
511
+ };
512
+ };
513
+ /**
514
+ * Find zero or one ModClass that matches the filter.
515
+ * @param {ModClassFindUniqueArgs} args - Arguments to find a ModClass
516
+ * @example
517
+ * // Get one ModClass
518
+ * const modClass = await prisma.modClass.findUnique({
519
+ * where: {
520
+ * // ... provide filter here
521
+ * }
522
+ * })
523
+ */
524
+ findUnique<T extends ModClassFindUniqueArgs>(args: Prisma.SelectSubset<T, ModClassFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ModClassClient<runtime.Types.Result.GetResult<Prisma.$ModClassPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
525
+ /**
526
+ * Find one ModClass that matches the filter or throw an error with `error.code='P2025'`
527
+ * if no matches were found.
528
+ * @param {ModClassFindUniqueOrThrowArgs} args - Arguments to find a ModClass
529
+ * @example
530
+ * // Get one ModClass
531
+ * const modClass = await prisma.modClass.findUniqueOrThrow({
532
+ * where: {
533
+ * // ... provide filter here
534
+ * }
535
+ * })
536
+ */
537
+ findUniqueOrThrow<T extends ModClassFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ModClassFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModClassClient<runtime.Types.Result.GetResult<Prisma.$ModClassPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
538
+ /**
539
+ * Find the first ModClass that matches the filter.
540
+ * Note, that providing `undefined` is treated as the value not being there.
541
+ * Read more here: https://pris.ly/d/null-undefined
542
+ * @param {ModClassFindFirstArgs} args - Arguments to find a ModClass
543
+ * @example
544
+ * // Get one ModClass
545
+ * const modClass = await prisma.modClass.findFirst({
546
+ * where: {
547
+ * // ... provide filter here
548
+ * }
549
+ * })
550
+ */
551
+ findFirst<T extends ModClassFindFirstArgs>(args?: Prisma.SelectSubset<T, ModClassFindFirstArgs<ExtArgs>>): Prisma.Prisma__ModClassClient<runtime.Types.Result.GetResult<Prisma.$ModClassPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
552
+ /**
553
+ * Find the first ModClass that matches the filter or
554
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
555
+ * Note, that providing `undefined` is treated as the value not being there.
556
+ * Read more here: https://pris.ly/d/null-undefined
557
+ * @param {ModClassFindFirstOrThrowArgs} args - Arguments to find a ModClass
558
+ * @example
559
+ * // Get one ModClass
560
+ * const modClass = await prisma.modClass.findFirstOrThrow({
561
+ * where: {
562
+ * // ... provide filter here
563
+ * }
564
+ * })
565
+ */
566
+ findFirstOrThrow<T extends ModClassFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ModClassFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModClassClient<runtime.Types.Result.GetResult<Prisma.$ModClassPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
567
+ /**
568
+ * Find zero or more ModClasses that matches the filter.
569
+ * Note, that providing `undefined` is treated as the value not being there.
570
+ * Read more here: https://pris.ly/d/null-undefined
571
+ * @param {ModClassFindManyArgs} args - Arguments to filter and select certain fields only.
572
+ * @example
573
+ * // Get all ModClasses
574
+ * const modClasses = await prisma.modClass.findMany()
575
+ *
576
+ * // Get first 10 ModClasses
577
+ * const modClasses = await prisma.modClass.findMany({ take: 10 })
578
+ *
579
+ * // Only select the `id`
580
+ * const modClassWithIdOnly = await prisma.modClass.findMany({ select: { id: true } })
581
+ *
582
+ */
583
+ findMany<T extends ModClassFindManyArgs>(args?: Prisma.SelectSubset<T, ModClassFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModClassPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
584
+ /**
585
+ * Create a ModClass.
586
+ * @param {ModClassCreateArgs} args - Arguments to create a ModClass.
587
+ * @example
588
+ * // Create one ModClass
589
+ * const ModClass = await prisma.modClass.create({
590
+ * data: {
591
+ * // ... data to create a ModClass
592
+ * }
593
+ * })
594
+ *
595
+ */
596
+ create<T extends ModClassCreateArgs>(args: Prisma.SelectSubset<T, ModClassCreateArgs<ExtArgs>>): Prisma.Prisma__ModClassClient<runtime.Types.Result.GetResult<Prisma.$ModClassPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
597
+ /**
598
+ * Create many ModClasses.
599
+ * @param {ModClassCreateManyArgs} args - Arguments to create many ModClasses.
600
+ * @example
601
+ * // Create many ModClasses
602
+ * const modClass = await prisma.modClass.createMany({
603
+ * data: [
604
+ * // ... provide data here
605
+ * ]
606
+ * })
607
+ *
608
+ */
609
+ createMany<T extends ModClassCreateManyArgs>(args?: Prisma.SelectSubset<T, ModClassCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
610
+ /**
611
+ * Create many ModClasses and returns the data saved in the database.
612
+ * @param {ModClassCreateManyAndReturnArgs} args - Arguments to create many ModClasses.
613
+ * @example
614
+ * // Create many ModClasses
615
+ * const modClass = await prisma.modClass.createManyAndReturn({
616
+ * data: [
617
+ * // ... provide data here
618
+ * ]
619
+ * })
620
+ *
621
+ * // Create many ModClasses and only return the `id`
622
+ * const modClassWithIdOnly = await prisma.modClass.createManyAndReturn({
623
+ * select: { id: true },
624
+ * data: [
625
+ * // ... provide data here
626
+ * ]
627
+ * })
628
+ * Note, that providing `undefined` is treated as the value not being there.
629
+ * Read more here: https://pris.ly/d/null-undefined
630
+ *
631
+ */
632
+ createManyAndReturn<T extends ModClassCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ModClassCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModClassPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
633
+ /**
634
+ * Delete a ModClass.
635
+ * @param {ModClassDeleteArgs} args - Arguments to delete one ModClass.
636
+ * @example
637
+ * // Delete one ModClass
638
+ * const ModClass = await prisma.modClass.delete({
639
+ * where: {
640
+ * // ... filter to delete one ModClass
641
+ * }
642
+ * })
643
+ *
644
+ */
645
+ delete<T extends ModClassDeleteArgs>(args: Prisma.SelectSubset<T, ModClassDeleteArgs<ExtArgs>>): Prisma.Prisma__ModClassClient<runtime.Types.Result.GetResult<Prisma.$ModClassPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
646
+ /**
647
+ * Update one ModClass.
648
+ * @param {ModClassUpdateArgs} args - Arguments to update one ModClass.
649
+ * @example
650
+ * // Update one ModClass
651
+ * const modClass = await prisma.modClass.update({
652
+ * where: {
653
+ * // ... provide filter here
654
+ * },
655
+ * data: {
656
+ * // ... provide data here
657
+ * }
658
+ * })
659
+ *
660
+ */
661
+ update<T extends ModClassUpdateArgs>(args: Prisma.SelectSubset<T, ModClassUpdateArgs<ExtArgs>>): Prisma.Prisma__ModClassClient<runtime.Types.Result.GetResult<Prisma.$ModClassPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
662
+ /**
663
+ * Delete zero or more ModClasses.
664
+ * @param {ModClassDeleteManyArgs} args - Arguments to filter ModClasses to delete.
665
+ * @example
666
+ * // Delete a few ModClasses
667
+ * const { count } = await prisma.modClass.deleteMany({
668
+ * where: {
669
+ * // ... provide filter here
670
+ * }
671
+ * })
672
+ *
673
+ */
674
+ deleteMany<T extends ModClassDeleteManyArgs>(args?: Prisma.SelectSubset<T, ModClassDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
675
+ /**
676
+ * Update zero or more ModClasses.
677
+ * Note, that providing `undefined` is treated as the value not being there.
678
+ * Read more here: https://pris.ly/d/null-undefined
679
+ * @param {ModClassUpdateManyArgs} args - Arguments to update one or more rows.
680
+ * @example
681
+ * // Update many ModClasses
682
+ * const modClass = await prisma.modClass.updateMany({
683
+ * where: {
684
+ * // ... provide filter here
685
+ * },
686
+ * data: {
687
+ * // ... provide data here
688
+ * }
689
+ * })
690
+ *
691
+ */
692
+ updateMany<T extends ModClassUpdateManyArgs>(args: Prisma.SelectSubset<T, ModClassUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
693
+ /**
694
+ * Update zero or more ModClasses and returns the data updated in the database.
695
+ * @param {ModClassUpdateManyAndReturnArgs} args - Arguments to update many ModClasses.
696
+ * @example
697
+ * // Update many ModClasses
698
+ * const modClass = await prisma.modClass.updateManyAndReturn({
699
+ * where: {
700
+ * // ... provide filter here
701
+ * },
702
+ * data: [
703
+ * // ... provide data here
704
+ * ]
705
+ * })
706
+ *
707
+ * // Update zero or more ModClasses and only return the `id`
708
+ * const modClassWithIdOnly = await prisma.modClass.updateManyAndReturn({
709
+ * select: { id: true },
710
+ * where: {
711
+ * // ... provide filter here
712
+ * },
713
+ * data: [
714
+ * // ... provide data here
715
+ * ]
716
+ * })
717
+ * Note, that providing `undefined` is treated as the value not being there.
718
+ * Read more here: https://pris.ly/d/null-undefined
719
+ *
720
+ */
721
+ updateManyAndReturn<T extends ModClassUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ModClassUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModClassPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
722
+ /**
723
+ * Create or update one ModClass.
724
+ * @param {ModClassUpsertArgs} args - Arguments to update or create a ModClass.
725
+ * @example
726
+ * // Update or create a ModClass
727
+ * const modClass = await prisma.modClass.upsert({
728
+ * create: {
729
+ * // ... data to create a ModClass
730
+ * },
731
+ * update: {
732
+ * // ... in case it already exists, update
733
+ * },
734
+ * where: {
735
+ * // ... the filter for the ModClass we want to update
736
+ * }
737
+ * })
738
+ */
739
+ upsert<T extends ModClassUpsertArgs>(args: Prisma.SelectSubset<T, ModClassUpsertArgs<ExtArgs>>): Prisma.Prisma__ModClassClient<runtime.Types.Result.GetResult<Prisma.$ModClassPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
740
+ /**
741
+ * Count the number of ModClasses.
742
+ * Note, that providing `undefined` is treated as the value not being there.
743
+ * Read more here: https://pris.ly/d/null-undefined
744
+ * @param {ModClassCountArgs} args - Arguments to filter ModClasses to count.
745
+ * @example
746
+ * // Count the number of ModClasses
747
+ * const count = await prisma.modClass.count({
748
+ * where: {
749
+ * // ... the filter for the ModClasses we want to count
750
+ * }
751
+ * })
752
+ **/
753
+ count<T extends ModClassCountArgs>(args?: Prisma.Subset<T, ModClassCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ModClassCountAggregateOutputType> : number>;
754
+ /**
755
+ * Allows you to perform aggregations operations on a ModClass.
756
+ * Note, that providing `undefined` is treated as the value not being there.
757
+ * Read more here: https://pris.ly/d/null-undefined
758
+ * @param {ModClassAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
759
+ * @example
760
+ * // Ordered by age ascending
761
+ * // Where email contains prisma.io
762
+ * // Limited to the 10 users
763
+ * const aggregations = await prisma.user.aggregate({
764
+ * _avg: {
765
+ * age: true,
766
+ * },
767
+ * where: {
768
+ * email: {
769
+ * contains: "prisma.io",
770
+ * },
771
+ * },
772
+ * orderBy: {
773
+ * age: "asc",
774
+ * },
775
+ * take: 10,
776
+ * })
777
+ **/
778
+ aggregate<T extends ModClassAggregateArgs>(args: Prisma.Subset<T, ModClassAggregateArgs>): Prisma.PrismaPromise<GetModClassAggregateType<T>>;
779
+ /**
780
+ * Group by ModClass.
781
+ * Note, that providing `undefined` is treated as the value not being there.
782
+ * Read more here: https://pris.ly/d/null-undefined
783
+ * @param {ModClassGroupByArgs} args - Group by arguments.
784
+ * @example
785
+ * // Group by city, order by createdAt, get count
786
+ * const result = await prisma.user.groupBy({
787
+ * by: ['city', 'createdAt'],
788
+ * orderBy: {
789
+ * createdAt: true
790
+ * },
791
+ * _count: {
792
+ * _all: true
793
+ * },
794
+ * })
795
+ *
796
+ **/
797
+ groupBy<T extends ModClassGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
798
+ orderBy: ModClassGroupByArgs['orderBy'];
799
+ } : {
800
+ orderBy?: ModClassGroupByArgs['orderBy'];
801
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
802
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
803
+ Error,
804
+ 'Field ',
805
+ P,
806
+ ` in "having" needs to be provided in "by"`
807
+ ];
808
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
809
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
810
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
811
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
812
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
813
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
814
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, ModClassGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetModClassGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
815
+ /**
816
+ * Fields of the ModClass model
817
+ */
818
+ readonly fields: ModClassFieldRefs;
819
+ }
820
+ /**
821
+ * The delegate class that acts as a "Promise-like" for ModClass.
822
+ * Why is this prefixed with `Prisma__`?
823
+ * Because we want to prevent naming conflicts as mentioned in
824
+ * https://github.com/prisma/prisma-client-js/issues/707
825
+ */
826
+ export interface Prisma__ModClassClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
827
+ readonly [Symbol.toStringTag]: "PrismaPromise";
828
+ mod<T extends Prisma.ModDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ModDefaultArgs<ExtArgs>>): Prisma.Prisma__ModClient<runtime.Types.Result.GetResult<Prisma.$ModPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
829
+ /**
830
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
831
+ * @param onfulfilled The callback to execute when the Promise is resolved.
832
+ * @param onrejected The callback to execute when the Promise is rejected.
833
+ * @returns A Promise for the completion of which ever callback is executed.
834
+ */
835
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
836
+ /**
837
+ * Attaches a callback for only the rejection of the Promise.
838
+ * @param onrejected The callback to execute when the Promise is rejected.
839
+ * @returns A Promise for the completion of the callback.
840
+ */
841
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
842
+ /**
843
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
844
+ * resolved value cannot be modified from the callback.
845
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
846
+ * @returns A Promise for the completion of the callback.
847
+ */
848
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
849
+ }
850
+ /**
851
+ * Fields of the ModClass model
852
+ */
853
+ export interface ModClassFieldRefs {
854
+ readonly id: Prisma.FieldRef<"ModClass", 'Int'>;
855
+ readonly modId: Prisma.FieldRef<"ModClass", 'Int'>;
856
+ readonly className: Prisma.FieldRef<"ModClass", 'String'>;
857
+ readonly superClass: Prisma.FieldRef<"ModClass", 'String'>;
858
+ readonly interfaces: Prisma.FieldRef<"ModClass", 'String'>;
859
+ readonly accessFlags: Prisma.FieldRef<"ModClass", 'Int'>;
860
+ }
861
+ /**
862
+ * ModClass findUnique
863
+ */
864
+ export type ModClassFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
865
+ /**
866
+ * Select specific fields to fetch from the ModClass
867
+ */
868
+ select?: Prisma.ModClassSelect<ExtArgs> | null;
869
+ /**
870
+ * Omit specific fields from the ModClass
871
+ */
872
+ omit?: Prisma.ModClassOmit<ExtArgs> | null;
873
+ /**
874
+ * Choose, which related nodes to fetch as well
875
+ */
876
+ include?: Prisma.ModClassInclude<ExtArgs> | null;
877
+ /**
878
+ * Filter, which ModClass to fetch.
879
+ */
880
+ where: Prisma.ModClassWhereUniqueInput;
881
+ };
882
+ /**
883
+ * ModClass findUniqueOrThrow
884
+ */
885
+ export type ModClassFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
886
+ /**
887
+ * Select specific fields to fetch from the ModClass
888
+ */
889
+ select?: Prisma.ModClassSelect<ExtArgs> | null;
890
+ /**
891
+ * Omit specific fields from the ModClass
892
+ */
893
+ omit?: Prisma.ModClassOmit<ExtArgs> | null;
894
+ /**
895
+ * Choose, which related nodes to fetch as well
896
+ */
897
+ include?: Prisma.ModClassInclude<ExtArgs> | null;
898
+ /**
899
+ * Filter, which ModClass to fetch.
900
+ */
901
+ where: Prisma.ModClassWhereUniqueInput;
902
+ };
903
+ /**
904
+ * ModClass findFirst
905
+ */
906
+ export type ModClassFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
907
+ /**
908
+ * Select specific fields to fetch from the ModClass
909
+ */
910
+ select?: Prisma.ModClassSelect<ExtArgs> | null;
911
+ /**
912
+ * Omit specific fields from the ModClass
913
+ */
914
+ omit?: Prisma.ModClassOmit<ExtArgs> | null;
915
+ /**
916
+ * Choose, which related nodes to fetch as well
917
+ */
918
+ include?: Prisma.ModClassInclude<ExtArgs> | null;
919
+ /**
920
+ * Filter, which ModClass to fetch.
921
+ */
922
+ where?: Prisma.ModClassWhereInput;
923
+ /**
924
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
925
+ *
926
+ * Determine the order of ModClasses to fetch.
927
+ */
928
+ orderBy?: Prisma.ModClassOrderByWithRelationInput | Prisma.ModClassOrderByWithRelationInput[];
929
+ /**
930
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
931
+ *
932
+ * Sets the position for searching for ModClasses.
933
+ */
934
+ cursor?: Prisma.ModClassWhereUniqueInput;
935
+ /**
936
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
937
+ *
938
+ * Take `±n` ModClasses from the position of the cursor.
939
+ */
940
+ take?: number;
941
+ /**
942
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
943
+ *
944
+ * Skip the first `n` ModClasses.
945
+ */
946
+ skip?: number;
947
+ /**
948
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
949
+ *
950
+ * Filter by unique combinations of ModClasses.
951
+ */
952
+ distinct?: Prisma.ModClassScalarFieldEnum | Prisma.ModClassScalarFieldEnum[];
953
+ };
954
+ /**
955
+ * ModClass findFirstOrThrow
956
+ */
957
+ export type ModClassFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
958
+ /**
959
+ * Select specific fields to fetch from the ModClass
960
+ */
961
+ select?: Prisma.ModClassSelect<ExtArgs> | null;
962
+ /**
963
+ * Omit specific fields from the ModClass
964
+ */
965
+ omit?: Prisma.ModClassOmit<ExtArgs> | null;
966
+ /**
967
+ * Choose, which related nodes to fetch as well
968
+ */
969
+ include?: Prisma.ModClassInclude<ExtArgs> | null;
970
+ /**
971
+ * Filter, which ModClass to fetch.
972
+ */
973
+ where?: Prisma.ModClassWhereInput;
974
+ /**
975
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
976
+ *
977
+ * Determine the order of ModClasses to fetch.
978
+ */
979
+ orderBy?: Prisma.ModClassOrderByWithRelationInput | Prisma.ModClassOrderByWithRelationInput[];
980
+ /**
981
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
982
+ *
983
+ * Sets the position for searching for ModClasses.
984
+ */
985
+ cursor?: Prisma.ModClassWhereUniqueInput;
986
+ /**
987
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
988
+ *
989
+ * Take `±n` ModClasses from the position of the cursor.
990
+ */
991
+ take?: number;
992
+ /**
993
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
994
+ *
995
+ * Skip the first `n` ModClasses.
996
+ */
997
+ skip?: number;
998
+ /**
999
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1000
+ *
1001
+ * Filter by unique combinations of ModClasses.
1002
+ */
1003
+ distinct?: Prisma.ModClassScalarFieldEnum | Prisma.ModClassScalarFieldEnum[];
1004
+ };
1005
+ /**
1006
+ * ModClass findMany
1007
+ */
1008
+ export type ModClassFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1009
+ /**
1010
+ * Select specific fields to fetch from the ModClass
1011
+ */
1012
+ select?: Prisma.ModClassSelect<ExtArgs> | null;
1013
+ /**
1014
+ * Omit specific fields from the ModClass
1015
+ */
1016
+ omit?: Prisma.ModClassOmit<ExtArgs> | null;
1017
+ /**
1018
+ * Choose, which related nodes to fetch as well
1019
+ */
1020
+ include?: Prisma.ModClassInclude<ExtArgs> | null;
1021
+ /**
1022
+ * Filter, which ModClasses to fetch.
1023
+ */
1024
+ where?: Prisma.ModClassWhereInput;
1025
+ /**
1026
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1027
+ *
1028
+ * Determine the order of ModClasses to fetch.
1029
+ */
1030
+ orderBy?: Prisma.ModClassOrderByWithRelationInput | Prisma.ModClassOrderByWithRelationInput[];
1031
+ /**
1032
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1033
+ *
1034
+ * Sets the position for listing ModClasses.
1035
+ */
1036
+ cursor?: Prisma.ModClassWhereUniqueInput;
1037
+ /**
1038
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1039
+ *
1040
+ * Take `±n` ModClasses from the position of the cursor.
1041
+ */
1042
+ take?: number;
1043
+ /**
1044
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1045
+ *
1046
+ * Skip the first `n` ModClasses.
1047
+ */
1048
+ skip?: number;
1049
+ distinct?: Prisma.ModClassScalarFieldEnum | Prisma.ModClassScalarFieldEnum[];
1050
+ };
1051
+ /**
1052
+ * ModClass create
1053
+ */
1054
+ export type ModClassCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1055
+ /**
1056
+ * Select specific fields to fetch from the ModClass
1057
+ */
1058
+ select?: Prisma.ModClassSelect<ExtArgs> | null;
1059
+ /**
1060
+ * Omit specific fields from the ModClass
1061
+ */
1062
+ omit?: Prisma.ModClassOmit<ExtArgs> | null;
1063
+ /**
1064
+ * Choose, which related nodes to fetch as well
1065
+ */
1066
+ include?: Prisma.ModClassInclude<ExtArgs> | null;
1067
+ /**
1068
+ * The data needed to create a ModClass.
1069
+ */
1070
+ data: Prisma.XOR<Prisma.ModClassCreateInput, Prisma.ModClassUncheckedCreateInput>;
1071
+ };
1072
+ /**
1073
+ * ModClass createMany
1074
+ */
1075
+ export type ModClassCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1076
+ /**
1077
+ * The data used to create many ModClasses.
1078
+ */
1079
+ data: Prisma.ModClassCreateManyInput | Prisma.ModClassCreateManyInput[];
1080
+ };
1081
+ /**
1082
+ * ModClass createManyAndReturn
1083
+ */
1084
+ export type ModClassCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1085
+ /**
1086
+ * Select specific fields to fetch from the ModClass
1087
+ */
1088
+ select?: Prisma.ModClassSelectCreateManyAndReturn<ExtArgs> | null;
1089
+ /**
1090
+ * Omit specific fields from the ModClass
1091
+ */
1092
+ omit?: Prisma.ModClassOmit<ExtArgs> | null;
1093
+ /**
1094
+ * The data used to create many ModClasses.
1095
+ */
1096
+ data: Prisma.ModClassCreateManyInput | Prisma.ModClassCreateManyInput[];
1097
+ /**
1098
+ * Choose, which related nodes to fetch as well
1099
+ */
1100
+ include?: Prisma.ModClassIncludeCreateManyAndReturn<ExtArgs> | null;
1101
+ };
1102
+ /**
1103
+ * ModClass update
1104
+ */
1105
+ export type ModClassUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1106
+ /**
1107
+ * Select specific fields to fetch from the ModClass
1108
+ */
1109
+ select?: Prisma.ModClassSelect<ExtArgs> | null;
1110
+ /**
1111
+ * Omit specific fields from the ModClass
1112
+ */
1113
+ omit?: Prisma.ModClassOmit<ExtArgs> | null;
1114
+ /**
1115
+ * Choose, which related nodes to fetch as well
1116
+ */
1117
+ include?: Prisma.ModClassInclude<ExtArgs> | null;
1118
+ /**
1119
+ * The data needed to update a ModClass.
1120
+ */
1121
+ data: Prisma.XOR<Prisma.ModClassUpdateInput, Prisma.ModClassUncheckedUpdateInput>;
1122
+ /**
1123
+ * Choose, which ModClass to update.
1124
+ */
1125
+ where: Prisma.ModClassWhereUniqueInput;
1126
+ };
1127
+ /**
1128
+ * ModClass updateMany
1129
+ */
1130
+ export type ModClassUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1131
+ /**
1132
+ * The data used to update ModClasses.
1133
+ */
1134
+ data: Prisma.XOR<Prisma.ModClassUpdateManyMutationInput, Prisma.ModClassUncheckedUpdateManyInput>;
1135
+ /**
1136
+ * Filter which ModClasses to update
1137
+ */
1138
+ where?: Prisma.ModClassWhereInput;
1139
+ /**
1140
+ * Limit how many ModClasses to update.
1141
+ */
1142
+ limit?: number;
1143
+ };
1144
+ /**
1145
+ * ModClass updateManyAndReturn
1146
+ */
1147
+ export type ModClassUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1148
+ /**
1149
+ * Select specific fields to fetch from the ModClass
1150
+ */
1151
+ select?: Prisma.ModClassSelectUpdateManyAndReturn<ExtArgs> | null;
1152
+ /**
1153
+ * Omit specific fields from the ModClass
1154
+ */
1155
+ omit?: Prisma.ModClassOmit<ExtArgs> | null;
1156
+ /**
1157
+ * The data used to update ModClasses.
1158
+ */
1159
+ data: Prisma.XOR<Prisma.ModClassUpdateManyMutationInput, Prisma.ModClassUncheckedUpdateManyInput>;
1160
+ /**
1161
+ * Filter which ModClasses to update
1162
+ */
1163
+ where?: Prisma.ModClassWhereInput;
1164
+ /**
1165
+ * Limit how many ModClasses to update.
1166
+ */
1167
+ limit?: number;
1168
+ /**
1169
+ * Choose, which related nodes to fetch as well
1170
+ */
1171
+ include?: Prisma.ModClassIncludeUpdateManyAndReturn<ExtArgs> | null;
1172
+ };
1173
+ /**
1174
+ * ModClass upsert
1175
+ */
1176
+ export type ModClassUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1177
+ /**
1178
+ * Select specific fields to fetch from the ModClass
1179
+ */
1180
+ select?: Prisma.ModClassSelect<ExtArgs> | null;
1181
+ /**
1182
+ * Omit specific fields from the ModClass
1183
+ */
1184
+ omit?: Prisma.ModClassOmit<ExtArgs> | null;
1185
+ /**
1186
+ * Choose, which related nodes to fetch as well
1187
+ */
1188
+ include?: Prisma.ModClassInclude<ExtArgs> | null;
1189
+ /**
1190
+ * The filter to search for the ModClass to update in case it exists.
1191
+ */
1192
+ where: Prisma.ModClassWhereUniqueInput;
1193
+ /**
1194
+ * In case the ModClass found by the `where` argument doesn't exist, create a new ModClass with this data.
1195
+ */
1196
+ create: Prisma.XOR<Prisma.ModClassCreateInput, Prisma.ModClassUncheckedCreateInput>;
1197
+ /**
1198
+ * In case the ModClass was found with the provided `where` argument, update it with this data.
1199
+ */
1200
+ update: Prisma.XOR<Prisma.ModClassUpdateInput, Prisma.ModClassUncheckedUpdateInput>;
1201
+ };
1202
+ /**
1203
+ * ModClass delete
1204
+ */
1205
+ export type ModClassDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1206
+ /**
1207
+ * Select specific fields to fetch from the ModClass
1208
+ */
1209
+ select?: Prisma.ModClassSelect<ExtArgs> | null;
1210
+ /**
1211
+ * Omit specific fields from the ModClass
1212
+ */
1213
+ omit?: Prisma.ModClassOmit<ExtArgs> | null;
1214
+ /**
1215
+ * Choose, which related nodes to fetch as well
1216
+ */
1217
+ include?: Prisma.ModClassInclude<ExtArgs> | null;
1218
+ /**
1219
+ * Filter which ModClass to delete.
1220
+ */
1221
+ where: Prisma.ModClassWhereUniqueInput;
1222
+ };
1223
+ /**
1224
+ * ModClass deleteMany
1225
+ */
1226
+ export type ModClassDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1227
+ /**
1228
+ * Filter which ModClasses to delete
1229
+ */
1230
+ where?: Prisma.ModClassWhereInput;
1231
+ /**
1232
+ * Limit how many ModClasses to delete.
1233
+ */
1234
+ limit?: number;
1235
+ };
1236
+ /**
1237
+ * ModClass without action
1238
+ */
1239
+ export type ModClassDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1240
+ /**
1241
+ * Select specific fields to fetch from the ModClass
1242
+ */
1243
+ select?: Prisma.ModClassSelect<ExtArgs> | null;
1244
+ /**
1245
+ * Omit specific fields from the ModClass
1246
+ */
1247
+ omit?: Prisma.ModClassOmit<ExtArgs> | null;
1248
+ /**
1249
+ * Choose, which related nodes to fetch as well
1250
+ */
1251
+ include?: Prisma.ModClassInclude<ExtArgs> | null;
1252
+ };
1253
+ export {};
1254
+ //# sourceMappingURL=ModClass.d.ts.map