@highstate/backend 0.9.18 → 0.9.20

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 (331) hide show
  1. package/dist/{chunk-OU5OQBLB.js → chunk-I7BWSAN6.js} +3 -28
  2. package/dist/{chunk-OU5OQBLB.js.map → chunk-I7BWSAN6.js.map} +1 -1
  3. package/dist/chunk-RC6Q3XQQ.js +1547 -0
  4. package/dist/chunk-RC6Q3XQQ.js.map +1 -0
  5. package/dist/chunk-VB4YL327.js +139 -0
  6. package/dist/chunk-VB4YL327.js.map +1 -0
  7. package/dist/database/local/prisma.config.js +26 -0
  8. package/dist/database/local/prisma.config.js.map +1 -0
  9. package/dist/highstate.manifest.json +2 -1
  10. package/dist/index.js +7590 -7289
  11. package/dist/index.js.map +1 -1
  12. package/dist/library/package-resolution-worker.js +1 -1
  13. package/dist/library/package-resolution-worker.js.map +1 -1
  14. package/dist/library/worker/main.js +35 -29
  15. package/dist/library/worker/main.js.map +1 -1
  16. package/dist/shared/index.js +2 -2
  17. package/package.json +18 -9
  18. package/prisma/backend/_schema/layout.prisma +7 -0
  19. package/prisma/backend/_schema/library.prisma +17 -0
  20. package/prisma/backend/_schema/project.prisma +101 -0
  21. package/prisma/backend/_schema/pulumi.prisma +17 -0
  22. package/prisma/backend/postgresql/main.prisma +17 -0
  23. package/prisma/backend/sqlite/main.prisma +17 -0
  24. package/prisma/backend/sqlite/migrations/20250817070609_initiial/migration.sql +34 -0
  25. package/prisma/backend/sqlite/migrations/20250817104948_add_fields/migration.sql +59 -0
  26. package/prisma/backend/sqlite/migrations/20250818082732_add_models/migration.sql +41 -0
  27. package/prisma/backend/sqlite/migrations/20250818083106_a/migration.sql +19 -0
  28. package/prisma/backend/sqlite/migrations/20250818101945_hi/migration.sql +1 -0
  29. package/prisma/backend/sqlite/migrations/20250819082315_a/migration.sql +5 -0
  30. package/prisma/backend/sqlite/migrations/migration_lock.toml +3 -0
  31. package/prisma/project/api-key.prisma +32 -0
  32. package/prisma/project/artifact.prisma +52 -0
  33. package/prisma/project/custom-status.prisma +46 -0
  34. package/prisma/project/evaluation.prisma +45 -0
  35. package/prisma/project/instance.prisma +157 -0
  36. package/prisma/project/layout.prisma +23 -0
  37. package/prisma/project/lock.prisma +18 -0
  38. package/prisma/project/main.prisma +17 -0
  39. package/prisma/project/migrations/20250816081310_initial/migration.sql +300 -0
  40. package/prisma/project/migrations/20250816082523_test/migration.sql +72 -0
  41. package/prisma/project/migrations/20250818065643_update/migration.sql +42 -0
  42. package/prisma/project/migrations/20250818070758_a/migration.sql +8 -0
  43. package/prisma/project/migrations/20250818070913_a/migration.sql +8 -0
  44. package/prisma/project/migrations/20250818082720_add_motels/migration.sql +11 -0
  45. package/prisma/project/migrations/20250818112523_hello/migration.sql +35 -0
  46. package/prisma/project/migrations/20250819082305_a/migration.sql +14 -0
  47. package/prisma/project/migrations/20250819165004_add_missing_fields/migration.sql +216 -0
  48. package/prisma/project/migrations/20250819171309_a/migration.sql +22 -0
  49. package/prisma/project/migrations/20250820113949_a/migration.sql +66 -0
  50. package/prisma/project/migrations/20250820144256_b/migration.sql +31 -0
  51. package/prisma/project/migrations/20250820145547_a/migration.sql +24 -0
  52. package/prisma/project/migrations/20250820182517_b/migration.sql +2 -0
  53. package/prisma/project/migrations/20250821172324_a/migration.sql +2 -0
  54. package/prisma/project/migrations/20250822081339_a/migration.sql +219 -0
  55. package/prisma/project/migrations/20250822083742_b/migration.sql +1 -0
  56. package/prisma/project/migrations/20250822105134_boom/migration.sql +1 -0
  57. package/prisma/project/migrations/20250822141028_b/migration.sql +1 -0
  58. package/prisma/project/migrations/20250822142342_b/migration.sql +16 -0
  59. package/prisma/project/migrations/20250824072720_a/migration.sql +1 -0
  60. package/prisma/project/migrations/20250824093656_b/migration.sql +21 -0
  61. package/prisma/project/migrations/20250825082518_a/migration.sql +1 -0
  62. package/prisma/project/migrations/20250825085343_b/migration.sql +1 -0
  63. package/prisma/project/migrations/20250825091312_a/migration.sql +1 -0
  64. package/prisma/project/migrations/20250903095431_hi/migration.sql +44 -0
  65. package/prisma/project/migrations/20250903174255_a/migration.sql +24 -0
  66. package/prisma/project/migrations/20250908095205_hi/migration.sql +18 -0
  67. package/prisma/project/migrations/20250909155857_hi/migration.sql +15 -0
  68. package/prisma/project/migrations/migration_lock.toml +3 -0
  69. package/prisma/project/model.prisma +37 -0
  70. package/prisma/project/operation.prisma +148 -0
  71. package/prisma/project/page.prisma +49 -0
  72. package/prisma/project/secret.prisma +54 -0
  73. package/prisma/project/service-account.prisma +42 -0
  74. package/prisma/project/terminal.prisma +107 -0
  75. package/prisma/project/trigger.prisma +37 -0
  76. package/prisma/project/unlock-method.prisma +46 -0
  77. package/prisma/project/worker.prisma +169 -0
  78. package/src/artifact/abstractions.ts +13 -13
  79. package/src/artifact/encryption.ts +30 -54
  80. package/src/artifact/factory.ts +6 -9
  81. package/src/artifact/local.ts +33 -46
  82. package/src/business/api-key.ts +24 -36
  83. package/src/business/artifact.test.ts +978 -0
  84. package/src/business/artifact.ts +136 -216
  85. package/src/business/evaluation.ts +328 -0
  86. package/src/business/index.ts +5 -2
  87. package/src/business/instance-lock.test.ts +1060 -0
  88. package/src/business/instance-lock.ts +387 -78
  89. package/src/business/instance-state.test.ts +735 -0
  90. package/src/business/instance-state.ts +582 -337
  91. package/src/business/operation.test.ts +439 -0
  92. package/src/business/operation.ts +174 -208
  93. package/src/business/project-model.ts +258 -0
  94. package/src/business/project-unlock.ts +168 -126
  95. package/src/business/project.ts +287 -179
  96. package/src/business/secret.test.ts +469 -130
  97. package/src/business/secret.ts +177 -217
  98. package/src/business/settings.test.ts +695 -0
  99. package/src/business/settings.ts +855 -0
  100. package/src/business/terminal-session.ts +90 -0
  101. package/src/business/unit-extra.test.ts +539 -0
  102. package/src/business/unit-extra.ts +160 -0
  103. package/src/business/worker.test.ts +356 -579
  104. package/src/business/worker.ts +238 -339
  105. package/src/common/codebase.ts +65 -0
  106. package/src/common/index.ts +3 -5
  107. package/src/common/logger.ts +5 -0
  108. package/src/common/utils.ts +4 -3
  109. package/src/config.ts +10 -11
  110. package/src/database/_generated/backend/postgresql/client.ts +72 -0
  111. package/src/database/_generated/backend/postgresql/commonInputTypes.ts +350 -0
  112. package/src/database/_generated/backend/postgresql/enums.ts +13 -0
  113. package/src/database/_generated/backend/postgresql/internal/class.ts +320 -0
  114. package/src/database/_generated/backend/postgresql/internal/prismaNamespace.ts +1238 -0
  115. package/src/database/_generated/backend/postgresql/models/Library.ts +1263 -0
  116. package/src/database/_generated/backend/postgresql/models/Project.ts +2175 -0
  117. package/src/database/_generated/backend/postgresql/models/ProjectModelStorage.ts +1263 -0
  118. package/src/database/_generated/backend/postgresql/models/ProjectSpace.ts +1602 -0
  119. package/src/database/_generated/backend/postgresql/models/PulumiBackend.ts +1263 -0
  120. package/src/database/_generated/backend/postgresql/models/UserWorkspaseLayout.ts +1065 -0
  121. package/src/database/_generated/backend/postgresql/models.ts +16 -0
  122. package/src/database/_generated/backend/postgresql/pjtg.ts +182 -0
  123. package/src/database/_generated/backend/sqlite/client.ts +72 -0
  124. package/src/database/_generated/backend/sqlite/commonInputTypes.ts +331 -0
  125. package/src/database/_generated/backend/sqlite/enums.ts +13 -0
  126. package/src/database/_generated/backend/sqlite/internal/class.ts +318 -0
  127. package/src/database/_generated/backend/sqlite/internal/prismaNamespace.ts +1207 -0
  128. package/src/database/_generated/backend/sqlite/models/Library.ts +1261 -0
  129. package/src/database/_generated/backend/sqlite/models/Project.ts +2169 -0
  130. package/src/database/_generated/backend/sqlite/models/ProjectModelStorage.ts +1261 -0
  131. package/src/database/_generated/backend/sqlite/models/ProjectSpace.ts +1599 -0
  132. package/src/database/_generated/backend/sqlite/models/PulumiBackend.ts +1261 -0
  133. package/src/database/_generated/backend/sqlite/models/UserWorkspaseLayout.ts +1063 -0
  134. package/src/database/_generated/backend/sqlite/models.ts +16 -0
  135. package/src/database/_generated/backend/sqlite/pjtg.ts +182 -0
  136. package/src/database/_generated/project/client.ts +204 -0
  137. package/src/database/_generated/project/commonInputTypes.ts +827 -0
  138. package/src/database/_generated/project/enums.ts +104 -0
  139. package/src/database/_generated/project/internal/class.ts +479 -0
  140. package/src/database/_generated/project/internal/prismaNamespace.ts +2974 -0
  141. package/src/database/_generated/project/models/ApiKey.ts +1506 -0
  142. package/src/database/_generated/project/models/Artifact.ts +2051 -0
  143. package/src/database/_generated/project/models/HubModel.ts +1125 -0
  144. package/src/database/_generated/project/models/InstanceCustomStatus.ts +1713 -0
  145. package/src/database/_generated/project/models/InstanceEvaluationState.ts +1312 -0
  146. package/src/database/_generated/project/models/InstanceLock.ts +1268 -0
  147. package/src/database/_generated/project/models/InstanceModel.ts +1125 -0
  148. package/src/database/_generated/project/models/InstanceOperationState.ts +1707 -0
  149. package/src/database/_generated/project/models/InstanceState.ts +4613 -0
  150. package/src/database/_generated/project/models/Operation.ts +1647 -0
  151. package/src/database/_generated/project/models/OperationLog.ts +1455 -0
  152. package/src/database/_generated/project/models/Page.ts +1838 -0
  153. package/src/database/_generated/project/models/Secret.ts +1692 -0
  154. package/src/database/_generated/project/models/ServiceAccount.ts +2165 -0
  155. package/src/database/_generated/project/models/Terminal.ts +2038 -0
  156. package/src/database/_generated/project/models/TerminalSession.ts +1454 -0
  157. package/src/database/_generated/project/models/TerminalSessionLog.ts +1280 -0
  158. package/src/database/_generated/project/models/Trigger.ts +1430 -0
  159. package/src/database/_generated/project/models/UnlockMethod.ts +1220 -0
  160. package/src/database/_generated/project/models/UserCompositeViewport.ts +1280 -0
  161. package/src/database/_generated/project/models/UserProjectViewport.ts +1059 -0
  162. package/src/database/_generated/project/models/Worker.ts +1459 -0
  163. package/src/database/_generated/project/models/WorkerUnitRegistration.ts +1524 -0
  164. package/src/database/_generated/project/models/WorkerVersion.ts +1974 -0
  165. package/src/database/_generated/project/models/WorkerVersionLog.ts +1318 -0
  166. package/src/database/_generated/project/models.ts +35 -0
  167. package/src/database/_generated/project/pjtg.ts +182 -0
  168. package/src/database/abstractions.ts +19 -0
  169. package/src/database/factory.ts +37 -0
  170. package/src/database/index.ts +6 -0
  171. package/src/database/local/backend.ts +134 -0
  172. package/src/database/local/index.ts +3 -0
  173. package/src/database/local/meta.ts +46 -0
  174. package/src/database/local/prisma.config.ts +25 -0
  175. package/src/database/local/project.ts +39 -0
  176. package/src/database/manager.ts +181 -0
  177. package/src/database/migrate.ts +35 -0
  178. package/src/database/prisma.ts +56 -0
  179. package/src/database/well-known.ts +38 -0
  180. package/src/index.ts +4 -4
  181. package/src/library/abstractions.ts +3 -5
  182. package/src/library/factory.ts +1 -1
  183. package/src/library/local.ts +81 -26
  184. package/src/library/package-resolution-worker.ts +1 -1
  185. package/src/library/worker/evaluator.ts +40 -23
  186. package/src/library/worker/loader.lite.ts +1 -1
  187. package/src/library/worker/main.ts +3 -10
  188. package/src/library/worker/protocol.ts +0 -1
  189. package/src/lock/index.ts +0 -1
  190. package/src/lock/manager.ts +0 -10
  191. package/src/orchestrator/manager.ts +190 -104
  192. package/src/orchestrator/operation-context.ts +357 -0
  193. package/src/orchestrator/operation-plan.destroy.test.md +357 -0
  194. package/src/orchestrator/operation-plan.destroy.test.ts +775 -0
  195. package/src/orchestrator/operation-plan.fixtures.ts +213 -0
  196. package/src/orchestrator/operation-plan.md +198 -0
  197. package/src/orchestrator/operation-plan.refresh.test.md +199 -0
  198. package/src/orchestrator/operation-plan.refresh.test.ts +367 -0
  199. package/src/orchestrator/operation-plan.ts +709 -0
  200. package/src/orchestrator/operation-plan.update.test.md +485 -0
  201. package/src/orchestrator/operation-plan.update.test.ts +1066 -0
  202. package/src/orchestrator/operation-workset.ts +233 -578
  203. package/src/orchestrator/operation.ts +440 -948
  204. package/src/orchestrator/plan-test-builder.ts +267 -0
  205. package/src/project-model/abstractions.ts +118 -0
  206. package/src/project-model/backends/codebase.ts +365 -0
  207. package/src/project-model/backends/database.ts +440 -0
  208. package/src/project-model/errors.ts +81 -0
  209. package/src/project-model/factory.ts +24 -0
  210. package/src/project-model/index.ts +4 -0
  211. package/src/project-model/utils.test.ts +544 -0
  212. package/src/project-model/utils.ts +242 -0
  213. package/src/pubsub/abstractions.ts +10 -1
  214. package/src/pubsub/factory.ts +4 -4
  215. package/src/pubsub/index.ts +1 -0
  216. package/src/pubsub/manager.ts +29 -13
  217. package/src/pubsub/memory.ts +31 -0
  218. package/src/runner/abstractions.ts +40 -41
  219. package/src/runner/artifact-env.ts +19 -8
  220. package/src/runner/factory.ts +6 -6
  221. package/src/runner/force-abort.ts +3 -6
  222. package/src/runner/local.ts +74 -67
  223. package/src/runner/pulumi.ts +23 -63
  224. package/src/services.ts +181 -123
  225. package/src/shared/models/backend/index.ts +3 -1
  226. package/src/shared/models/backend/library.ts +9 -1
  227. package/src/shared/models/backend/project.ts +43 -42
  228. package/src/shared/models/backend/pulumi.ts +14 -0
  229. package/src/shared/models/backend/unlock-method.ts +1 -1
  230. package/src/shared/models/backend/well-known.ts +58 -0
  231. package/src/shared/models/base.ts +40 -26
  232. package/src/shared/models/errors.ts +82 -1
  233. package/src/shared/models/index.ts +3 -2
  234. package/src/shared/models/prisma.ts +36 -0
  235. package/src/shared/models/project/api-key.ts +37 -59
  236. package/src/shared/models/project/artifact.ts +16 -76
  237. package/src/shared/models/project/custom-status.ts +12 -0
  238. package/src/shared/models/project/index.ts +8 -7
  239. package/src/shared/models/project/lock.ts +10 -78
  240. package/src/shared/models/project/model.ts +19 -1
  241. package/src/shared/models/project/operation.ts +235 -99
  242. package/src/shared/models/project/page.ts +37 -48
  243. package/src/shared/models/project/secret.ts +29 -89
  244. package/src/shared/models/project/service-account.ts +12 -17
  245. package/src/shared/models/project/state.ts +100 -407
  246. package/src/shared/models/project/terminal.ts +75 -88
  247. package/src/shared/models/project/trigger.ts +13 -49
  248. package/src/shared/models/project/unlock-method.ts +20 -26
  249. package/src/shared/models/project/worker.ts +89 -90
  250. package/src/shared/resolvers/graph-resolver.ts +21 -0
  251. package/src/shared/resolvers/index.ts +1 -1
  252. package/src/shared/resolvers/input-hash.ts +24 -14
  253. package/src/shared/resolvers/input.ts +9 -2
  254. package/src/shared/resolvers/registry.ts +5 -4
  255. package/src/shared/resolvers/state.ts +12 -1
  256. package/src/shared/resolvers/validation.ts +7 -3
  257. package/src/shared/utils/index.ts +1 -2
  258. package/src/shared/utils/promise-tracker.ts +30 -3
  259. package/src/terminal/abstractions.ts +1 -1
  260. package/src/terminal/docker.ts +3 -3
  261. package/src/terminal/manager.ts +102 -118
  262. package/src/test-utils/database.ts +119 -0
  263. package/src/test-utils/index.ts +2 -0
  264. package/src/test-utils/services.ts +134 -0
  265. package/src/unlock/abstractions.ts +5 -23
  266. package/src/unlock/memory.ts +9 -14
  267. package/src/worker/abstractions.ts +7 -4
  268. package/src/worker/docker.ts +14 -19
  269. package/src/worker/manager.ts +366 -97
  270. package/dist/chunk-NAAIDR4U.js +0 -8499
  271. package/dist/chunk-NAAIDR4U.js.map +0 -1
  272. package/dist/chunk-Y7DXREVO.js +0 -1745
  273. package/dist/chunk-Y7DXREVO.js.map +0 -1
  274. package/dist/magic-string.es-5ABAC4JN.js +0 -1292
  275. package/dist/magic-string.es-5ABAC4JN.js.map +0 -1
  276. package/src/business/__traces__/secret/update-instance-secrets/create-and-delete-secrets-simultaneously.md +0 -356
  277. package/src/business/__traces__/secret/update-instance-secrets/create-new-secrets-for-instance.md +0 -274
  278. package/src/business/__traces__/secret/update-instance-secrets/delete-existing-secrets.md +0 -223
  279. package/src/business/__traces__/secret/update-instance-secrets/no-op-when-no-changes.md +0 -147
  280. package/src/business/__traces__/secret/update-instance-secrets/update-existing-secrets.md +0 -280
  281. package/src/business/__traces__/worker/update-unit-registrations/add-new-unit-registration-when-other-exists.md +0 -360
  282. package/src/business/__traces__/worker/update-unit-registrations/add-new-unit-registration.md +0 -215
  283. package/src/business/__traces__/worker/update-unit-registrations/create-multiple-workers-with-different-identities.md +0 -427
  284. package/src/business/__traces__/worker/update-unit-registrations/handle-nonexistent-registration-id-gracefully.md +0 -217
  285. package/src/business/__traces__/worker/update-unit-registrations/no-op-when-no-changes.md +0 -132
  286. package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-when-image-changes.md +0 -454
  287. package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-when-image-version-changes.md +0 -426
  288. package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-with-same-identity-reuses-service-account.md +0 -372
  289. package/src/business/__traces__/worker/update-unit-registrations/remove-one-of-multiple-unit-registrations.md +0 -383
  290. package/src/business/__traces__/worker/update-unit-registrations/remove-unit-registration.md +0 -245
  291. package/src/business/__traces__/worker/update-unit-registrations/update-existing-unit-registration-when-params-change.md +0 -174
  292. package/src/business/__traces__/worker/update-unit-registrations/update-params-and-image-simultaneously.md +0 -432
  293. package/src/business/__traces__/worker/update-unit-registrations/worker-with-multiple-registrations-not-deleted-when-one-removed.md +0 -220
  294. package/src/business/backend-unlock.ts +0 -10
  295. package/src/common/clock.ts +0 -18
  296. package/src/common/performance.ts +0 -44
  297. package/src/common/random.ts +0 -68
  298. package/src/common/test/index.ts +0 -2
  299. package/src/common/test/render.ts +0 -98
  300. package/src/common/test/tracer.ts +0 -359
  301. package/src/hotstate/abstractions.ts +0 -48
  302. package/src/hotstate/factory.ts +0 -17
  303. package/src/hotstate/index.ts +0 -3
  304. package/src/hotstate/manager.ts +0 -192
  305. package/src/hotstate/memory.ts +0 -100
  306. package/src/hotstate/validation.ts +0 -100
  307. package/src/lock/test.ts +0 -108
  308. package/src/project/abstractions.ts +0 -78
  309. package/src/project/evaluation.ts +0 -248
  310. package/src/project/factory.ts +0 -11
  311. package/src/project/index.ts +0 -3
  312. package/src/project/local.ts +0 -417
  313. package/src/pubsub/local.ts +0 -36
  314. package/src/pubsub/validation.ts +0 -33
  315. package/src/shared/utils/args.ts +0 -25
  316. package/src/state/abstractions.ts +0 -289
  317. package/src/state/encryption.ts +0 -98
  318. package/src/state/factory.ts +0 -20
  319. package/src/state/index.ts +0 -7
  320. package/src/state/local/backend.ts +0 -106
  321. package/src/state/local/collection.ts +0 -361
  322. package/src/state/local/index.ts +0 -2
  323. package/src/state/manager.ts +0 -890
  324. package/src/state/memory/backend.ts +0 -70
  325. package/src/state/memory/collection.ts +0 -270
  326. package/src/state/memory/index.ts +0 -2
  327. package/src/state/repository/index.ts +0 -2
  328. package/src/state/repository/repository.index.ts +0 -193
  329. package/src/state/repository/repository.ts +0 -507
  330. package/src/state/test.ts +0 -457
  331. /package/src/{state → database/local}/keyring.ts +0 -0
@@ -0,0 +1,2169 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ /**
6
+ * This file exports the `Project` model and its related types.
7
+ *
8
+ * 🟢 You can import this file directly.
9
+ */
10
+
11
+ import type * as PJTG from '../pjtg.ts';
12
+ import * as runtime from "@prisma/client/runtime/client"
13
+ import type * as $Enums from "../enums.ts"
14
+ import type * as Prisma from "../internal/prismaNamespace.ts"
15
+
16
+ /**
17
+ * Model Project
18
+ *
19
+ */
20
+ export type ProjectModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjectPayload>
21
+
22
+ export type AggregateProject = {
23
+ _count: ProjectCountAggregateOutputType | null
24
+ _avg: ProjectAvgAggregateOutputType | null
25
+ _sum: ProjectSumAggregateOutputType | null
26
+ _min: ProjectMinAggregateOutputType | null
27
+ _max: ProjectMaxAggregateOutputType | null
28
+ }
29
+
30
+ export type ProjectAvgAggregateOutputType = {
31
+ databaseVersion: number | null
32
+ }
33
+
34
+ export type ProjectSumAggregateOutputType = {
35
+ databaseVersion: number | null
36
+ }
37
+
38
+ export type ProjectMinAggregateOutputType = {
39
+ id: string | null
40
+ name: string | null
41
+ spaceId: string | null
42
+ modelStorageId: string | null
43
+ libraryId: string | null
44
+ pulumiBackendId: string | null
45
+ encryptedMasterKey: string | null
46
+ databaseVersion: number | null
47
+ createdAt: Date | null
48
+ updatedAt: Date | null
49
+ }
50
+
51
+ export type ProjectMaxAggregateOutputType = {
52
+ id: string | null
53
+ name: string | null
54
+ spaceId: string | null
55
+ modelStorageId: string | null
56
+ libraryId: string | null
57
+ pulumiBackendId: string | null
58
+ encryptedMasterKey: string | null
59
+ databaseVersion: number | null
60
+ createdAt: Date | null
61
+ updatedAt: Date | null
62
+ }
63
+
64
+ export type ProjectCountAggregateOutputType = {
65
+ id: number
66
+ meta: number
67
+ name: number
68
+ spaceId: number
69
+ modelStorageId: number
70
+ libraryId: number
71
+ pulumiBackendId: number
72
+ encryptedMasterKey: number
73
+ unlockSuite: number
74
+ databaseVersion: number
75
+ createdAt: number
76
+ updatedAt: number
77
+ _all: number
78
+ }
79
+
80
+
81
+ export type ProjectAvgAggregateInputType = {
82
+ databaseVersion?: true
83
+ }
84
+
85
+ export type ProjectSumAggregateInputType = {
86
+ databaseVersion?: true
87
+ }
88
+
89
+ export type ProjectMinAggregateInputType = {
90
+ id?: true
91
+ name?: true
92
+ spaceId?: true
93
+ modelStorageId?: true
94
+ libraryId?: true
95
+ pulumiBackendId?: true
96
+ encryptedMasterKey?: true
97
+ databaseVersion?: true
98
+ createdAt?: true
99
+ updatedAt?: true
100
+ }
101
+
102
+ export type ProjectMaxAggregateInputType = {
103
+ id?: true
104
+ name?: true
105
+ spaceId?: true
106
+ modelStorageId?: true
107
+ libraryId?: true
108
+ pulumiBackendId?: true
109
+ encryptedMasterKey?: true
110
+ databaseVersion?: true
111
+ createdAt?: true
112
+ updatedAt?: true
113
+ }
114
+
115
+ export type ProjectCountAggregateInputType = {
116
+ id?: true
117
+ meta?: true
118
+ name?: true
119
+ spaceId?: true
120
+ modelStorageId?: true
121
+ libraryId?: true
122
+ pulumiBackendId?: true
123
+ encryptedMasterKey?: true
124
+ unlockSuite?: true
125
+ databaseVersion?: true
126
+ createdAt?: true
127
+ updatedAt?: true
128
+ _all?: true
129
+ }
130
+
131
+ export type ProjectAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
132
+ /**
133
+ * Filter which Project to aggregate.
134
+ */
135
+ where?: Prisma.ProjectWhereInput
136
+ /**
137
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
138
+ *
139
+ * Determine the order of Projects to fetch.
140
+ */
141
+ orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
142
+ /**
143
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
144
+ *
145
+ * Sets the start position
146
+ */
147
+ cursor?: Prisma.ProjectWhereUniqueInput
148
+ /**
149
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
150
+ *
151
+ * Take `±n` Projects from the position of the cursor.
152
+ */
153
+ take?: number
154
+ /**
155
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
156
+ *
157
+ * Skip the first `n` Projects.
158
+ */
159
+ skip?: number
160
+ /**
161
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
162
+ *
163
+ * Count returned Projects
164
+ **/
165
+ _count?: true | ProjectCountAggregateInputType
166
+ /**
167
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
168
+ *
169
+ * Select which fields to average
170
+ **/
171
+ _avg?: ProjectAvgAggregateInputType
172
+ /**
173
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
174
+ *
175
+ * Select which fields to sum
176
+ **/
177
+ _sum?: ProjectSumAggregateInputType
178
+ /**
179
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
180
+ *
181
+ * Select which fields to find the minimum value
182
+ **/
183
+ _min?: ProjectMinAggregateInputType
184
+ /**
185
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
186
+ *
187
+ * Select which fields to find the maximum value
188
+ **/
189
+ _max?: ProjectMaxAggregateInputType
190
+ }
191
+
192
+ export type GetProjectAggregateType<T extends ProjectAggregateArgs> = {
193
+ [P in keyof T & keyof AggregateProject]: P extends '_count' | 'count'
194
+ ? T[P] extends true
195
+ ? number
196
+ : Prisma.GetScalarType<T[P], AggregateProject[P]>
197
+ : Prisma.GetScalarType<T[P], AggregateProject[P]>
198
+ }
199
+
200
+
201
+
202
+
203
+ export type ProjectGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
204
+ where?: Prisma.ProjectWhereInput
205
+ orderBy?: Prisma.ProjectOrderByWithAggregationInput | Prisma.ProjectOrderByWithAggregationInput[]
206
+ by: Prisma.ProjectScalarFieldEnum[] | Prisma.ProjectScalarFieldEnum
207
+ having?: Prisma.ProjectScalarWhereWithAggregatesInput
208
+ take?: number
209
+ skip?: number
210
+ _count?: ProjectCountAggregateInputType | true
211
+ _avg?: ProjectAvgAggregateInputType
212
+ _sum?: ProjectSumAggregateInputType
213
+ _min?: ProjectMinAggregateInputType
214
+ _max?: ProjectMaxAggregateInputType
215
+ }
216
+
217
+ export type ProjectGroupByOutputType = {
218
+ id: string
219
+ meta: PrismaJson.CommonObjectMeta
220
+ name: string
221
+ spaceId: string
222
+ modelStorageId: string
223
+ libraryId: string
224
+ pulumiBackendId: string
225
+ encryptedMasterKey: string
226
+ unlockSuite: PrismaJson.ProjectUnlockSuite
227
+ databaseVersion: number
228
+ createdAt: Date
229
+ updatedAt: Date
230
+ _count: ProjectCountAggregateOutputType | null
231
+ _avg: ProjectAvgAggregateOutputType | null
232
+ _sum: ProjectSumAggregateOutputType | null
233
+ _min: ProjectMinAggregateOutputType | null
234
+ _max: ProjectMaxAggregateOutputType | null
235
+ }
236
+
237
+ type GetProjectGroupByPayload<T extends ProjectGroupByArgs> = Prisma.PrismaPromise<
238
+ Array<
239
+ Prisma.PickEnumerable<ProjectGroupByOutputType, T['by']> &
240
+ {
241
+ [P in ((keyof T) & (keyof ProjectGroupByOutputType))]: P extends '_count'
242
+ ? T[P] extends boolean
243
+ ? number
244
+ : Prisma.GetScalarType<T[P], ProjectGroupByOutputType[P]>
245
+ : Prisma.GetScalarType<T[P], ProjectGroupByOutputType[P]>
246
+ }
247
+ >
248
+ >
249
+
250
+
251
+
252
+ export type ProjectWhereInput = {
253
+ AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
254
+ OR?: Prisma.ProjectWhereInput[]
255
+ NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
256
+ id?: Prisma.StringFilter<"Project"> | string
257
+ meta?: Prisma.JsonFilter<"Project">
258
+ name?: Prisma.StringFilter<"Project"> | string
259
+ spaceId?: Prisma.StringFilter<"Project"> | string
260
+ modelStorageId?: Prisma.StringFilter<"Project"> | string
261
+ libraryId?: Prisma.StringFilter<"Project"> | string
262
+ pulumiBackendId?: Prisma.StringFilter<"Project"> | string
263
+ encryptedMasterKey?: Prisma.StringFilter<"Project"> | string
264
+ unlockSuite?: Prisma.JsonFilter<"Project">
265
+ databaseVersion?: Prisma.IntFilter<"Project"> | number
266
+ createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
267
+ updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
268
+ space?: Prisma.XOR<Prisma.ProjectSpaceScalarRelationFilter, Prisma.ProjectSpaceWhereInput>
269
+ modelStorage?: Prisma.XOR<Prisma.ProjectModelStorageScalarRelationFilter, Prisma.ProjectModelStorageWhereInput>
270
+ library?: Prisma.XOR<Prisma.LibraryScalarRelationFilter, Prisma.LibraryWhereInput>
271
+ pulumiBackend?: Prisma.XOR<Prisma.PulumiBackendScalarRelationFilter, Prisma.PulumiBackendWhereInput>
272
+ }
273
+
274
+ export type ProjectOrderByWithRelationInput = {
275
+ id?: Prisma.SortOrder
276
+ meta?: Prisma.SortOrder
277
+ name?: Prisma.SortOrder
278
+ spaceId?: Prisma.SortOrder
279
+ modelStorageId?: Prisma.SortOrder
280
+ libraryId?: Prisma.SortOrder
281
+ pulumiBackendId?: Prisma.SortOrder
282
+ encryptedMasterKey?: Prisma.SortOrder
283
+ unlockSuite?: Prisma.SortOrder
284
+ databaseVersion?: Prisma.SortOrder
285
+ createdAt?: Prisma.SortOrder
286
+ updatedAt?: Prisma.SortOrder
287
+ space?: Prisma.ProjectSpaceOrderByWithRelationInput
288
+ modelStorage?: Prisma.ProjectModelStorageOrderByWithRelationInput
289
+ library?: Prisma.LibraryOrderByWithRelationInput
290
+ pulumiBackend?: Prisma.PulumiBackendOrderByWithRelationInput
291
+ }
292
+
293
+ export type ProjectWhereUniqueInput = Prisma.AtLeast<{
294
+ id?: string
295
+ spaceId_name?: Prisma.ProjectSpaceIdNameCompoundUniqueInput
296
+ AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
297
+ OR?: Prisma.ProjectWhereInput[]
298
+ NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
299
+ meta?: Prisma.JsonFilter<"Project">
300
+ name?: Prisma.StringFilter<"Project"> | string
301
+ spaceId?: Prisma.StringFilter<"Project"> | string
302
+ modelStorageId?: Prisma.StringFilter<"Project"> | string
303
+ libraryId?: Prisma.StringFilter<"Project"> | string
304
+ pulumiBackendId?: Prisma.StringFilter<"Project"> | string
305
+ encryptedMasterKey?: Prisma.StringFilter<"Project"> | string
306
+ unlockSuite?: Prisma.JsonFilter<"Project">
307
+ databaseVersion?: Prisma.IntFilter<"Project"> | number
308
+ createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
309
+ updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
310
+ space?: Prisma.XOR<Prisma.ProjectSpaceScalarRelationFilter, Prisma.ProjectSpaceWhereInput>
311
+ modelStorage?: Prisma.XOR<Prisma.ProjectModelStorageScalarRelationFilter, Prisma.ProjectModelStorageWhereInput>
312
+ library?: Prisma.XOR<Prisma.LibraryScalarRelationFilter, Prisma.LibraryWhereInput>
313
+ pulumiBackend?: Prisma.XOR<Prisma.PulumiBackendScalarRelationFilter, Prisma.PulumiBackendWhereInput>
314
+ }, "id" | "spaceId_name">
315
+
316
+ export type ProjectOrderByWithAggregationInput = {
317
+ id?: Prisma.SortOrder
318
+ meta?: Prisma.SortOrder
319
+ name?: Prisma.SortOrder
320
+ spaceId?: Prisma.SortOrder
321
+ modelStorageId?: Prisma.SortOrder
322
+ libraryId?: Prisma.SortOrder
323
+ pulumiBackendId?: Prisma.SortOrder
324
+ encryptedMasterKey?: Prisma.SortOrder
325
+ unlockSuite?: Prisma.SortOrder
326
+ databaseVersion?: Prisma.SortOrder
327
+ createdAt?: Prisma.SortOrder
328
+ updatedAt?: Prisma.SortOrder
329
+ _count?: Prisma.ProjectCountOrderByAggregateInput
330
+ _avg?: Prisma.ProjectAvgOrderByAggregateInput
331
+ _max?: Prisma.ProjectMaxOrderByAggregateInput
332
+ _min?: Prisma.ProjectMinOrderByAggregateInput
333
+ _sum?: Prisma.ProjectSumOrderByAggregateInput
334
+ }
335
+
336
+ export type ProjectScalarWhereWithAggregatesInput = {
337
+ AND?: Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[]
338
+ OR?: Prisma.ProjectScalarWhereWithAggregatesInput[]
339
+ NOT?: Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[]
340
+ id?: Prisma.StringWithAggregatesFilter<"Project"> | string
341
+ meta?: Prisma.JsonWithAggregatesFilter<"Project">
342
+ name?: Prisma.StringWithAggregatesFilter<"Project"> | string
343
+ spaceId?: Prisma.StringWithAggregatesFilter<"Project"> | string
344
+ modelStorageId?: Prisma.StringWithAggregatesFilter<"Project"> | string
345
+ libraryId?: Prisma.StringWithAggregatesFilter<"Project"> | string
346
+ pulumiBackendId?: Prisma.StringWithAggregatesFilter<"Project"> | string
347
+ encryptedMasterKey?: Prisma.StringWithAggregatesFilter<"Project"> | string
348
+ unlockSuite?: Prisma.JsonWithAggregatesFilter<"Project">
349
+ databaseVersion?: Prisma.IntWithAggregatesFilter<"Project"> | number
350
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string
351
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string
352
+ }
353
+
354
+ export type ProjectCreateInput = {
355
+ id?: string
356
+ meta: PrismaJson.CommonObjectMeta
357
+ name: string
358
+ encryptedMasterKey: string
359
+ unlockSuite: PrismaJson.ProjectUnlockSuite
360
+ databaseVersion: number
361
+ createdAt?: Date | string
362
+ updatedAt?: Date | string
363
+ space: Prisma.ProjectSpaceCreateNestedOneWithoutProjectsInput
364
+ modelStorage: Prisma.ProjectModelStorageCreateNestedOneWithoutProjectsInput
365
+ library: Prisma.LibraryCreateNestedOneWithoutProjectsInput
366
+ pulumiBackend: Prisma.PulumiBackendCreateNestedOneWithoutProjectsInput
367
+ }
368
+
369
+ export type ProjectUncheckedCreateInput = {
370
+ id?: string
371
+ meta: PrismaJson.CommonObjectMeta
372
+ name: string
373
+ spaceId: string
374
+ modelStorageId: string
375
+ libraryId: string
376
+ pulumiBackendId: string
377
+ encryptedMasterKey: string
378
+ unlockSuite: PrismaJson.ProjectUnlockSuite
379
+ databaseVersion: number
380
+ createdAt?: Date | string
381
+ updatedAt?: Date | string
382
+ }
383
+
384
+ export type ProjectUpdateInput = {
385
+ id?: Prisma.StringFieldUpdateOperationsInput | string
386
+ meta?: PrismaJson.CommonObjectMeta
387
+ name?: Prisma.StringFieldUpdateOperationsInput | string
388
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
389
+ unlockSuite?: PrismaJson.ProjectUnlockSuite
390
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
391
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
392
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
393
+ space?: Prisma.ProjectSpaceUpdateOneRequiredWithoutProjectsNestedInput
394
+ modelStorage?: Prisma.ProjectModelStorageUpdateOneRequiredWithoutProjectsNestedInput
395
+ library?: Prisma.LibraryUpdateOneRequiredWithoutProjectsNestedInput
396
+ pulumiBackend?: Prisma.PulumiBackendUpdateOneRequiredWithoutProjectsNestedInput
397
+ }
398
+
399
+ export type ProjectUncheckedUpdateInput = {
400
+ id?: Prisma.StringFieldUpdateOperationsInput | string
401
+ meta?: PrismaJson.CommonObjectMeta
402
+ name?: Prisma.StringFieldUpdateOperationsInput | string
403
+ spaceId?: Prisma.StringFieldUpdateOperationsInput | string
404
+ modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
405
+ libraryId?: Prisma.StringFieldUpdateOperationsInput | string
406
+ pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
407
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
408
+ unlockSuite?: PrismaJson.ProjectUnlockSuite
409
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
410
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
411
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
412
+ }
413
+
414
+ export type ProjectCreateManyInput = {
415
+ id?: string
416
+ meta: PrismaJson.CommonObjectMeta
417
+ name: string
418
+ spaceId: string
419
+ modelStorageId: string
420
+ libraryId: string
421
+ pulumiBackendId: string
422
+ encryptedMasterKey: string
423
+ unlockSuite: PrismaJson.ProjectUnlockSuite
424
+ databaseVersion: number
425
+ createdAt?: Date | string
426
+ updatedAt?: Date | string
427
+ }
428
+
429
+ export type ProjectUpdateManyMutationInput = {
430
+ id?: Prisma.StringFieldUpdateOperationsInput | string
431
+ meta?: PrismaJson.CommonObjectMeta
432
+ name?: Prisma.StringFieldUpdateOperationsInput | string
433
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
434
+ unlockSuite?: PrismaJson.ProjectUnlockSuite
435
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
436
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
437
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
438
+ }
439
+
440
+ export type ProjectUncheckedUpdateManyInput = {
441
+ id?: Prisma.StringFieldUpdateOperationsInput | string
442
+ meta?: PrismaJson.CommonObjectMeta
443
+ name?: Prisma.StringFieldUpdateOperationsInput | string
444
+ spaceId?: Prisma.StringFieldUpdateOperationsInput | string
445
+ modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
446
+ libraryId?: Prisma.StringFieldUpdateOperationsInput | string
447
+ pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
448
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
449
+ unlockSuite?: PrismaJson.ProjectUnlockSuite
450
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
451
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
452
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
453
+ }
454
+
455
+ export type ProjectListRelationFilter = {
456
+ every?: Prisma.ProjectWhereInput
457
+ some?: Prisma.ProjectWhereInput
458
+ none?: Prisma.ProjectWhereInput
459
+ }
460
+
461
+ export type ProjectOrderByRelationAggregateInput = {
462
+ _count?: Prisma.SortOrder
463
+ }
464
+
465
+ export type ProjectSpaceIdNameCompoundUniqueInput = {
466
+ spaceId: string
467
+ name: string
468
+ }
469
+
470
+ export type ProjectCountOrderByAggregateInput = {
471
+ id?: Prisma.SortOrder
472
+ meta?: Prisma.SortOrder
473
+ name?: Prisma.SortOrder
474
+ spaceId?: Prisma.SortOrder
475
+ modelStorageId?: Prisma.SortOrder
476
+ libraryId?: Prisma.SortOrder
477
+ pulumiBackendId?: Prisma.SortOrder
478
+ encryptedMasterKey?: Prisma.SortOrder
479
+ unlockSuite?: Prisma.SortOrder
480
+ databaseVersion?: Prisma.SortOrder
481
+ createdAt?: Prisma.SortOrder
482
+ updatedAt?: Prisma.SortOrder
483
+ }
484
+
485
+ export type ProjectAvgOrderByAggregateInput = {
486
+ databaseVersion?: Prisma.SortOrder
487
+ }
488
+
489
+ export type ProjectMaxOrderByAggregateInput = {
490
+ id?: Prisma.SortOrder
491
+ name?: Prisma.SortOrder
492
+ spaceId?: Prisma.SortOrder
493
+ modelStorageId?: Prisma.SortOrder
494
+ libraryId?: Prisma.SortOrder
495
+ pulumiBackendId?: Prisma.SortOrder
496
+ encryptedMasterKey?: Prisma.SortOrder
497
+ databaseVersion?: Prisma.SortOrder
498
+ createdAt?: Prisma.SortOrder
499
+ updatedAt?: Prisma.SortOrder
500
+ }
501
+
502
+ export type ProjectMinOrderByAggregateInput = {
503
+ id?: Prisma.SortOrder
504
+ name?: Prisma.SortOrder
505
+ spaceId?: Prisma.SortOrder
506
+ modelStorageId?: Prisma.SortOrder
507
+ libraryId?: Prisma.SortOrder
508
+ pulumiBackendId?: Prisma.SortOrder
509
+ encryptedMasterKey?: Prisma.SortOrder
510
+ databaseVersion?: Prisma.SortOrder
511
+ createdAt?: Prisma.SortOrder
512
+ updatedAt?: Prisma.SortOrder
513
+ }
514
+
515
+ export type ProjectSumOrderByAggregateInput = {
516
+ databaseVersion?: Prisma.SortOrder
517
+ }
518
+
519
+ export type ProjectCreateNestedManyWithoutLibraryInput = {
520
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutLibraryInput, Prisma.ProjectUncheckedCreateWithoutLibraryInput> | Prisma.ProjectCreateWithoutLibraryInput[] | Prisma.ProjectUncheckedCreateWithoutLibraryInput[]
521
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutLibraryInput | Prisma.ProjectCreateOrConnectWithoutLibraryInput[]
522
+ createMany?: Prisma.ProjectCreateManyLibraryInputEnvelope
523
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
524
+ }
525
+
526
+ export type ProjectUncheckedCreateNestedManyWithoutLibraryInput = {
527
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutLibraryInput, Prisma.ProjectUncheckedCreateWithoutLibraryInput> | Prisma.ProjectCreateWithoutLibraryInput[] | Prisma.ProjectUncheckedCreateWithoutLibraryInput[]
528
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutLibraryInput | Prisma.ProjectCreateOrConnectWithoutLibraryInput[]
529
+ createMany?: Prisma.ProjectCreateManyLibraryInputEnvelope
530
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
531
+ }
532
+
533
+ export type ProjectUpdateManyWithoutLibraryNestedInput = {
534
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutLibraryInput, Prisma.ProjectUncheckedCreateWithoutLibraryInput> | Prisma.ProjectCreateWithoutLibraryInput[] | Prisma.ProjectUncheckedCreateWithoutLibraryInput[]
535
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutLibraryInput | Prisma.ProjectCreateOrConnectWithoutLibraryInput[]
536
+ upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutLibraryInput | Prisma.ProjectUpsertWithWhereUniqueWithoutLibraryInput[]
537
+ createMany?: Prisma.ProjectCreateManyLibraryInputEnvelope
538
+ set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
539
+ disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
540
+ delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
541
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
542
+ update?: Prisma.ProjectUpdateWithWhereUniqueWithoutLibraryInput | Prisma.ProjectUpdateWithWhereUniqueWithoutLibraryInput[]
543
+ updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutLibraryInput | Prisma.ProjectUpdateManyWithWhereWithoutLibraryInput[]
544
+ deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
545
+ }
546
+
547
+ export type ProjectUncheckedUpdateManyWithoutLibraryNestedInput = {
548
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutLibraryInput, Prisma.ProjectUncheckedCreateWithoutLibraryInput> | Prisma.ProjectCreateWithoutLibraryInput[] | Prisma.ProjectUncheckedCreateWithoutLibraryInput[]
549
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutLibraryInput | Prisma.ProjectCreateOrConnectWithoutLibraryInput[]
550
+ upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutLibraryInput | Prisma.ProjectUpsertWithWhereUniqueWithoutLibraryInput[]
551
+ createMany?: Prisma.ProjectCreateManyLibraryInputEnvelope
552
+ set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
553
+ disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
554
+ delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
555
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
556
+ update?: Prisma.ProjectUpdateWithWhereUniqueWithoutLibraryInput | Prisma.ProjectUpdateWithWhereUniqueWithoutLibraryInput[]
557
+ updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutLibraryInput | Prisma.ProjectUpdateManyWithWhereWithoutLibraryInput[]
558
+ deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
559
+ }
560
+
561
+ export type IntFieldUpdateOperationsInput = {
562
+ set?: number
563
+ increment?: number
564
+ decrement?: number
565
+ multiply?: number
566
+ divide?: number
567
+ }
568
+
569
+ export type DateTimeFieldUpdateOperationsInput = {
570
+ set?: Date | string
571
+ }
572
+
573
+ export type ProjectCreateNestedManyWithoutSpaceInput = {
574
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutSpaceInput, Prisma.ProjectUncheckedCreateWithoutSpaceInput> | Prisma.ProjectCreateWithoutSpaceInput[] | Prisma.ProjectUncheckedCreateWithoutSpaceInput[]
575
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutSpaceInput | Prisma.ProjectCreateOrConnectWithoutSpaceInput[]
576
+ createMany?: Prisma.ProjectCreateManySpaceInputEnvelope
577
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
578
+ }
579
+
580
+ export type ProjectUncheckedCreateNestedManyWithoutSpaceInput = {
581
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutSpaceInput, Prisma.ProjectUncheckedCreateWithoutSpaceInput> | Prisma.ProjectCreateWithoutSpaceInput[] | Prisma.ProjectUncheckedCreateWithoutSpaceInput[]
582
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutSpaceInput | Prisma.ProjectCreateOrConnectWithoutSpaceInput[]
583
+ createMany?: Prisma.ProjectCreateManySpaceInputEnvelope
584
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
585
+ }
586
+
587
+ export type ProjectUpdateManyWithoutSpaceNestedInput = {
588
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutSpaceInput, Prisma.ProjectUncheckedCreateWithoutSpaceInput> | Prisma.ProjectCreateWithoutSpaceInput[] | Prisma.ProjectUncheckedCreateWithoutSpaceInput[]
589
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutSpaceInput | Prisma.ProjectCreateOrConnectWithoutSpaceInput[]
590
+ upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutSpaceInput | Prisma.ProjectUpsertWithWhereUniqueWithoutSpaceInput[]
591
+ createMany?: Prisma.ProjectCreateManySpaceInputEnvelope
592
+ set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
593
+ disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
594
+ delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
595
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
596
+ update?: Prisma.ProjectUpdateWithWhereUniqueWithoutSpaceInput | Prisma.ProjectUpdateWithWhereUniqueWithoutSpaceInput[]
597
+ updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutSpaceInput | Prisma.ProjectUpdateManyWithWhereWithoutSpaceInput[]
598
+ deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
599
+ }
600
+
601
+ export type ProjectUncheckedUpdateManyWithoutSpaceNestedInput = {
602
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutSpaceInput, Prisma.ProjectUncheckedCreateWithoutSpaceInput> | Prisma.ProjectCreateWithoutSpaceInput[] | Prisma.ProjectUncheckedCreateWithoutSpaceInput[]
603
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutSpaceInput | Prisma.ProjectCreateOrConnectWithoutSpaceInput[]
604
+ upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutSpaceInput | Prisma.ProjectUpsertWithWhereUniqueWithoutSpaceInput[]
605
+ createMany?: Prisma.ProjectCreateManySpaceInputEnvelope
606
+ set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
607
+ disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
608
+ delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
609
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
610
+ update?: Prisma.ProjectUpdateWithWhereUniqueWithoutSpaceInput | Prisma.ProjectUpdateWithWhereUniqueWithoutSpaceInput[]
611
+ updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutSpaceInput | Prisma.ProjectUpdateManyWithWhereWithoutSpaceInput[]
612
+ deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
613
+ }
614
+
615
+ export type ProjectCreateNestedManyWithoutModelStorageInput = {
616
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutModelStorageInput, Prisma.ProjectUncheckedCreateWithoutModelStorageInput> | Prisma.ProjectCreateWithoutModelStorageInput[] | Prisma.ProjectUncheckedCreateWithoutModelStorageInput[]
617
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutModelStorageInput | Prisma.ProjectCreateOrConnectWithoutModelStorageInput[]
618
+ createMany?: Prisma.ProjectCreateManyModelStorageInputEnvelope
619
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
620
+ }
621
+
622
+ export type ProjectUncheckedCreateNestedManyWithoutModelStorageInput = {
623
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutModelStorageInput, Prisma.ProjectUncheckedCreateWithoutModelStorageInput> | Prisma.ProjectCreateWithoutModelStorageInput[] | Prisma.ProjectUncheckedCreateWithoutModelStorageInput[]
624
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutModelStorageInput | Prisma.ProjectCreateOrConnectWithoutModelStorageInput[]
625
+ createMany?: Prisma.ProjectCreateManyModelStorageInputEnvelope
626
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
627
+ }
628
+
629
+ export type ProjectUpdateManyWithoutModelStorageNestedInput = {
630
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutModelStorageInput, Prisma.ProjectUncheckedCreateWithoutModelStorageInput> | Prisma.ProjectCreateWithoutModelStorageInput[] | Prisma.ProjectUncheckedCreateWithoutModelStorageInput[]
631
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutModelStorageInput | Prisma.ProjectCreateOrConnectWithoutModelStorageInput[]
632
+ upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutModelStorageInput | Prisma.ProjectUpsertWithWhereUniqueWithoutModelStorageInput[]
633
+ createMany?: Prisma.ProjectCreateManyModelStorageInputEnvelope
634
+ set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
635
+ disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
636
+ delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
637
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
638
+ update?: Prisma.ProjectUpdateWithWhereUniqueWithoutModelStorageInput | Prisma.ProjectUpdateWithWhereUniqueWithoutModelStorageInput[]
639
+ updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutModelStorageInput | Prisma.ProjectUpdateManyWithWhereWithoutModelStorageInput[]
640
+ deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
641
+ }
642
+
643
+ export type ProjectUncheckedUpdateManyWithoutModelStorageNestedInput = {
644
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutModelStorageInput, Prisma.ProjectUncheckedCreateWithoutModelStorageInput> | Prisma.ProjectCreateWithoutModelStorageInput[] | Prisma.ProjectUncheckedCreateWithoutModelStorageInput[]
645
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutModelStorageInput | Prisma.ProjectCreateOrConnectWithoutModelStorageInput[]
646
+ upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutModelStorageInput | Prisma.ProjectUpsertWithWhereUniqueWithoutModelStorageInput[]
647
+ createMany?: Prisma.ProjectCreateManyModelStorageInputEnvelope
648
+ set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
649
+ disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
650
+ delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
651
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
652
+ update?: Prisma.ProjectUpdateWithWhereUniqueWithoutModelStorageInput | Prisma.ProjectUpdateWithWhereUniqueWithoutModelStorageInput[]
653
+ updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutModelStorageInput | Prisma.ProjectUpdateManyWithWhereWithoutModelStorageInput[]
654
+ deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
655
+ }
656
+
657
+ export type ProjectCreateNestedManyWithoutPulumiBackendInput = {
658
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutPulumiBackendInput, Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput> | Prisma.ProjectCreateWithoutPulumiBackendInput[] | Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput[]
659
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput | Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput[]
660
+ createMany?: Prisma.ProjectCreateManyPulumiBackendInputEnvelope
661
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
662
+ }
663
+
664
+ export type ProjectUncheckedCreateNestedManyWithoutPulumiBackendInput = {
665
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutPulumiBackendInput, Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput> | Prisma.ProjectCreateWithoutPulumiBackendInput[] | Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput[]
666
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput | Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput[]
667
+ createMany?: Prisma.ProjectCreateManyPulumiBackendInputEnvelope
668
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
669
+ }
670
+
671
+ export type ProjectUpdateManyWithoutPulumiBackendNestedInput = {
672
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutPulumiBackendInput, Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput> | Prisma.ProjectCreateWithoutPulumiBackendInput[] | Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput[]
673
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput | Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput[]
674
+ upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutPulumiBackendInput | Prisma.ProjectUpsertWithWhereUniqueWithoutPulumiBackendInput[]
675
+ createMany?: Prisma.ProjectCreateManyPulumiBackendInputEnvelope
676
+ set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
677
+ disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
678
+ delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
679
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
680
+ update?: Prisma.ProjectUpdateWithWhereUniqueWithoutPulumiBackendInput | Prisma.ProjectUpdateWithWhereUniqueWithoutPulumiBackendInput[]
681
+ updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutPulumiBackendInput | Prisma.ProjectUpdateManyWithWhereWithoutPulumiBackendInput[]
682
+ deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
683
+ }
684
+
685
+ export type ProjectUncheckedUpdateManyWithoutPulumiBackendNestedInput = {
686
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutPulumiBackendInput, Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput> | Prisma.ProjectCreateWithoutPulumiBackendInput[] | Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput[]
687
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput | Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput[]
688
+ upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutPulumiBackendInput | Prisma.ProjectUpsertWithWhereUniqueWithoutPulumiBackendInput[]
689
+ createMany?: Prisma.ProjectCreateManyPulumiBackendInputEnvelope
690
+ set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
691
+ disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
692
+ delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
693
+ connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
694
+ update?: Prisma.ProjectUpdateWithWhereUniqueWithoutPulumiBackendInput | Prisma.ProjectUpdateWithWhereUniqueWithoutPulumiBackendInput[]
695
+ updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutPulumiBackendInput | Prisma.ProjectUpdateManyWithWhereWithoutPulumiBackendInput[]
696
+ deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
697
+ }
698
+
699
+ export type ProjectCreateWithoutLibraryInput = {
700
+ id?: string
701
+ meta: PrismaJson.CommonObjectMeta
702
+ name: string
703
+ encryptedMasterKey: string
704
+ unlockSuite: PrismaJson.ProjectUnlockSuite
705
+ databaseVersion: number
706
+ createdAt?: Date | string
707
+ updatedAt?: Date | string
708
+ space: Prisma.ProjectSpaceCreateNestedOneWithoutProjectsInput
709
+ modelStorage: Prisma.ProjectModelStorageCreateNestedOneWithoutProjectsInput
710
+ pulumiBackend: Prisma.PulumiBackendCreateNestedOneWithoutProjectsInput
711
+ }
712
+
713
+ export type ProjectUncheckedCreateWithoutLibraryInput = {
714
+ id?: string
715
+ meta: PrismaJson.CommonObjectMeta
716
+ name: string
717
+ spaceId: string
718
+ modelStorageId: string
719
+ pulumiBackendId: string
720
+ encryptedMasterKey: string
721
+ unlockSuite: PrismaJson.ProjectUnlockSuite
722
+ databaseVersion: number
723
+ createdAt?: Date | string
724
+ updatedAt?: Date | string
725
+ }
726
+
727
+ export type ProjectCreateOrConnectWithoutLibraryInput = {
728
+ where: Prisma.ProjectWhereUniqueInput
729
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutLibraryInput, Prisma.ProjectUncheckedCreateWithoutLibraryInput>
730
+ }
731
+
732
+ export type ProjectCreateManyLibraryInputEnvelope = {
733
+ data: Prisma.ProjectCreateManyLibraryInput | Prisma.ProjectCreateManyLibraryInput[]
734
+ }
735
+
736
+ export type ProjectUpsertWithWhereUniqueWithoutLibraryInput = {
737
+ where: Prisma.ProjectWhereUniqueInput
738
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutLibraryInput, Prisma.ProjectUncheckedUpdateWithoutLibraryInput>
739
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutLibraryInput, Prisma.ProjectUncheckedCreateWithoutLibraryInput>
740
+ }
741
+
742
+ export type ProjectUpdateWithWhereUniqueWithoutLibraryInput = {
743
+ where: Prisma.ProjectWhereUniqueInput
744
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutLibraryInput, Prisma.ProjectUncheckedUpdateWithoutLibraryInput>
745
+ }
746
+
747
+ export type ProjectUpdateManyWithWhereWithoutLibraryInput = {
748
+ where: Prisma.ProjectScalarWhereInput
749
+ data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyWithoutLibraryInput>
750
+ }
751
+
752
+ export type ProjectScalarWhereInput = {
753
+ AND?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
754
+ OR?: Prisma.ProjectScalarWhereInput[]
755
+ NOT?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
756
+ id?: Prisma.StringFilter<"Project"> | string
757
+ meta?: Prisma.JsonFilter<"Project">
758
+ name?: Prisma.StringFilter<"Project"> | string
759
+ spaceId?: Prisma.StringFilter<"Project"> | string
760
+ modelStorageId?: Prisma.StringFilter<"Project"> | string
761
+ libraryId?: Prisma.StringFilter<"Project"> | string
762
+ pulumiBackendId?: Prisma.StringFilter<"Project"> | string
763
+ encryptedMasterKey?: Prisma.StringFilter<"Project"> | string
764
+ unlockSuite?: Prisma.JsonFilter<"Project">
765
+ databaseVersion?: Prisma.IntFilter<"Project"> | number
766
+ createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
767
+ updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
768
+ }
769
+
770
+ export type ProjectCreateWithoutSpaceInput = {
771
+ id?: string
772
+ meta: PrismaJson.CommonObjectMeta
773
+ name: string
774
+ encryptedMasterKey: string
775
+ unlockSuite: PrismaJson.ProjectUnlockSuite
776
+ databaseVersion: number
777
+ createdAt?: Date | string
778
+ updatedAt?: Date | string
779
+ modelStorage: Prisma.ProjectModelStorageCreateNestedOneWithoutProjectsInput
780
+ library: Prisma.LibraryCreateNestedOneWithoutProjectsInput
781
+ pulumiBackend: Prisma.PulumiBackendCreateNestedOneWithoutProjectsInput
782
+ }
783
+
784
+ export type ProjectUncheckedCreateWithoutSpaceInput = {
785
+ id?: string
786
+ meta: PrismaJson.CommonObjectMeta
787
+ name: string
788
+ modelStorageId: string
789
+ libraryId: string
790
+ pulumiBackendId: string
791
+ encryptedMasterKey: string
792
+ unlockSuite: PrismaJson.ProjectUnlockSuite
793
+ databaseVersion: number
794
+ createdAt?: Date | string
795
+ updatedAt?: Date | string
796
+ }
797
+
798
+ export type ProjectCreateOrConnectWithoutSpaceInput = {
799
+ where: Prisma.ProjectWhereUniqueInput
800
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutSpaceInput, Prisma.ProjectUncheckedCreateWithoutSpaceInput>
801
+ }
802
+
803
+ export type ProjectCreateManySpaceInputEnvelope = {
804
+ data: Prisma.ProjectCreateManySpaceInput | Prisma.ProjectCreateManySpaceInput[]
805
+ }
806
+
807
+ export type ProjectUpsertWithWhereUniqueWithoutSpaceInput = {
808
+ where: Prisma.ProjectWhereUniqueInput
809
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutSpaceInput, Prisma.ProjectUncheckedUpdateWithoutSpaceInput>
810
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutSpaceInput, Prisma.ProjectUncheckedCreateWithoutSpaceInput>
811
+ }
812
+
813
+ export type ProjectUpdateWithWhereUniqueWithoutSpaceInput = {
814
+ where: Prisma.ProjectWhereUniqueInput
815
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutSpaceInput, Prisma.ProjectUncheckedUpdateWithoutSpaceInput>
816
+ }
817
+
818
+ export type ProjectUpdateManyWithWhereWithoutSpaceInput = {
819
+ where: Prisma.ProjectScalarWhereInput
820
+ data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyWithoutSpaceInput>
821
+ }
822
+
823
+ export type ProjectCreateWithoutModelStorageInput = {
824
+ id?: string
825
+ meta: PrismaJson.CommonObjectMeta
826
+ name: string
827
+ encryptedMasterKey: string
828
+ unlockSuite: PrismaJson.ProjectUnlockSuite
829
+ databaseVersion: number
830
+ createdAt?: Date | string
831
+ updatedAt?: Date | string
832
+ space: Prisma.ProjectSpaceCreateNestedOneWithoutProjectsInput
833
+ library: Prisma.LibraryCreateNestedOneWithoutProjectsInput
834
+ pulumiBackend: Prisma.PulumiBackendCreateNestedOneWithoutProjectsInput
835
+ }
836
+
837
+ export type ProjectUncheckedCreateWithoutModelStorageInput = {
838
+ id?: string
839
+ meta: PrismaJson.CommonObjectMeta
840
+ name: string
841
+ spaceId: string
842
+ libraryId: string
843
+ pulumiBackendId: string
844
+ encryptedMasterKey: string
845
+ unlockSuite: PrismaJson.ProjectUnlockSuite
846
+ databaseVersion: number
847
+ createdAt?: Date | string
848
+ updatedAt?: Date | string
849
+ }
850
+
851
+ export type ProjectCreateOrConnectWithoutModelStorageInput = {
852
+ where: Prisma.ProjectWhereUniqueInput
853
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutModelStorageInput, Prisma.ProjectUncheckedCreateWithoutModelStorageInput>
854
+ }
855
+
856
+ export type ProjectCreateManyModelStorageInputEnvelope = {
857
+ data: Prisma.ProjectCreateManyModelStorageInput | Prisma.ProjectCreateManyModelStorageInput[]
858
+ }
859
+
860
+ export type ProjectUpsertWithWhereUniqueWithoutModelStorageInput = {
861
+ where: Prisma.ProjectWhereUniqueInput
862
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutModelStorageInput, Prisma.ProjectUncheckedUpdateWithoutModelStorageInput>
863
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutModelStorageInput, Prisma.ProjectUncheckedCreateWithoutModelStorageInput>
864
+ }
865
+
866
+ export type ProjectUpdateWithWhereUniqueWithoutModelStorageInput = {
867
+ where: Prisma.ProjectWhereUniqueInput
868
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutModelStorageInput, Prisma.ProjectUncheckedUpdateWithoutModelStorageInput>
869
+ }
870
+
871
+ export type ProjectUpdateManyWithWhereWithoutModelStorageInput = {
872
+ where: Prisma.ProjectScalarWhereInput
873
+ data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyWithoutModelStorageInput>
874
+ }
875
+
876
+ export type ProjectCreateWithoutPulumiBackendInput = {
877
+ id?: string
878
+ meta: PrismaJson.CommonObjectMeta
879
+ name: string
880
+ encryptedMasterKey: string
881
+ unlockSuite: PrismaJson.ProjectUnlockSuite
882
+ databaseVersion: number
883
+ createdAt?: Date | string
884
+ updatedAt?: Date | string
885
+ space: Prisma.ProjectSpaceCreateNestedOneWithoutProjectsInput
886
+ modelStorage: Prisma.ProjectModelStorageCreateNestedOneWithoutProjectsInput
887
+ library: Prisma.LibraryCreateNestedOneWithoutProjectsInput
888
+ }
889
+
890
+ export type ProjectUncheckedCreateWithoutPulumiBackendInput = {
891
+ id?: string
892
+ meta: PrismaJson.CommonObjectMeta
893
+ name: string
894
+ spaceId: string
895
+ modelStorageId: string
896
+ libraryId: string
897
+ encryptedMasterKey: string
898
+ unlockSuite: PrismaJson.ProjectUnlockSuite
899
+ databaseVersion: number
900
+ createdAt?: Date | string
901
+ updatedAt?: Date | string
902
+ }
903
+
904
+ export type ProjectCreateOrConnectWithoutPulumiBackendInput = {
905
+ where: Prisma.ProjectWhereUniqueInput
906
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutPulumiBackendInput, Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput>
907
+ }
908
+
909
+ export type ProjectCreateManyPulumiBackendInputEnvelope = {
910
+ data: Prisma.ProjectCreateManyPulumiBackendInput | Prisma.ProjectCreateManyPulumiBackendInput[]
911
+ }
912
+
913
+ export type ProjectUpsertWithWhereUniqueWithoutPulumiBackendInput = {
914
+ where: Prisma.ProjectWhereUniqueInput
915
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutPulumiBackendInput, Prisma.ProjectUncheckedUpdateWithoutPulumiBackendInput>
916
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutPulumiBackendInput, Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput>
917
+ }
918
+
919
+ export type ProjectUpdateWithWhereUniqueWithoutPulumiBackendInput = {
920
+ where: Prisma.ProjectWhereUniqueInput
921
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutPulumiBackendInput, Prisma.ProjectUncheckedUpdateWithoutPulumiBackendInput>
922
+ }
923
+
924
+ export type ProjectUpdateManyWithWhereWithoutPulumiBackendInput = {
925
+ where: Prisma.ProjectScalarWhereInput
926
+ data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyWithoutPulumiBackendInput>
927
+ }
928
+
929
+ export type ProjectCreateManyLibraryInput = {
930
+ id?: string
931
+ meta: PrismaJson.CommonObjectMeta
932
+ name: string
933
+ spaceId: string
934
+ modelStorageId: string
935
+ pulumiBackendId: string
936
+ encryptedMasterKey: string
937
+ unlockSuite: PrismaJson.ProjectUnlockSuite
938
+ databaseVersion: number
939
+ createdAt?: Date | string
940
+ updatedAt?: Date | string
941
+ }
942
+
943
+ export type ProjectUpdateWithoutLibraryInput = {
944
+ id?: Prisma.StringFieldUpdateOperationsInput | string
945
+ meta?: PrismaJson.CommonObjectMeta
946
+ name?: Prisma.StringFieldUpdateOperationsInput | string
947
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
948
+ unlockSuite?: PrismaJson.ProjectUnlockSuite
949
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
950
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
951
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
952
+ space?: Prisma.ProjectSpaceUpdateOneRequiredWithoutProjectsNestedInput
953
+ modelStorage?: Prisma.ProjectModelStorageUpdateOneRequiredWithoutProjectsNestedInput
954
+ pulumiBackend?: Prisma.PulumiBackendUpdateOneRequiredWithoutProjectsNestedInput
955
+ }
956
+
957
+ export type ProjectUncheckedUpdateWithoutLibraryInput = {
958
+ id?: Prisma.StringFieldUpdateOperationsInput | string
959
+ meta?: PrismaJson.CommonObjectMeta
960
+ name?: Prisma.StringFieldUpdateOperationsInput | string
961
+ spaceId?: Prisma.StringFieldUpdateOperationsInput | string
962
+ modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
963
+ pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
964
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
965
+ unlockSuite?: PrismaJson.ProjectUnlockSuite
966
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
967
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
968
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
969
+ }
970
+
971
+ export type ProjectUncheckedUpdateManyWithoutLibraryInput = {
972
+ id?: Prisma.StringFieldUpdateOperationsInput | string
973
+ meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
974
+ name?: Prisma.StringFieldUpdateOperationsInput | string
975
+ spaceId?: Prisma.StringFieldUpdateOperationsInput | string
976
+ modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
977
+ pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
978
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
979
+ unlockSuite?: Prisma.JsonNullValueInput | runtime.InputJsonValue
980
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
981
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
982
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
983
+ }
984
+
985
+ export type ProjectCreateManySpaceInput = {
986
+ id?: string
987
+ meta: PrismaJson.CommonObjectMeta
988
+ name: string
989
+ modelStorageId: string
990
+ libraryId: string
991
+ pulumiBackendId: string
992
+ encryptedMasterKey: string
993
+ unlockSuite: PrismaJson.ProjectUnlockSuite
994
+ databaseVersion: number
995
+ createdAt?: Date | string
996
+ updatedAt?: Date | string
997
+ }
998
+
999
+ export type ProjectUpdateWithoutSpaceInput = {
1000
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1001
+ meta?: PrismaJson.CommonObjectMeta
1002
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1003
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
1004
+ unlockSuite?: PrismaJson.ProjectUnlockSuite
1005
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1006
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1007
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1008
+ modelStorage?: Prisma.ProjectModelStorageUpdateOneRequiredWithoutProjectsNestedInput
1009
+ library?: Prisma.LibraryUpdateOneRequiredWithoutProjectsNestedInput
1010
+ pulumiBackend?: Prisma.PulumiBackendUpdateOneRequiredWithoutProjectsNestedInput
1011
+ }
1012
+
1013
+ export type ProjectUncheckedUpdateWithoutSpaceInput = {
1014
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1015
+ meta?: PrismaJson.CommonObjectMeta
1016
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1017
+ modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
1018
+ libraryId?: Prisma.StringFieldUpdateOperationsInput | string
1019
+ pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
1020
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
1021
+ unlockSuite?: PrismaJson.ProjectUnlockSuite
1022
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1023
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1024
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1025
+ }
1026
+
1027
+ export type ProjectUncheckedUpdateManyWithoutSpaceInput = {
1028
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1029
+ meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1030
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1031
+ modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
1032
+ libraryId?: Prisma.StringFieldUpdateOperationsInput | string
1033
+ pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
1034
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
1035
+ unlockSuite?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1036
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1037
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1038
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1039
+ }
1040
+
1041
+ export type ProjectCreateManyModelStorageInput = {
1042
+ id?: string
1043
+ meta: PrismaJson.CommonObjectMeta
1044
+ name: string
1045
+ spaceId: string
1046
+ libraryId: string
1047
+ pulumiBackendId: string
1048
+ encryptedMasterKey: string
1049
+ unlockSuite: PrismaJson.ProjectUnlockSuite
1050
+ databaseVersion: number
1051
+ createdAt?: Date | string
1052
+ updatedAt?: Date | string
1053
+ }
1054
+
1055
+ export type ProjectUpdateWithoutModelStorageInput = {
1056
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1057
+ meta?: PrismaJson.CommonObjectMeta
1058
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1059
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
1060
+ unlockSuite?: PrismaJson.ProjectUnlockSuite
1061
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1062
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1063
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1064
+ space?: Prisma.ProjectSpaceUpdateOneRequiredWithoutProjectsNestedInput
1065
+ library?: Prisma.LibraryUpdateOneRequiredWithoutProjectsNestedInput
1066
+ pulumiBackend?: Prisma.PulumiBackendUpdateOneRequiredWithoutProjectsNestedInput
1067
+ }
1068
+
1069
+ export type ProjectUncheckedUpdateWithoutModelStorageInput = {
1070
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1071
+ meta?: PrismaJson.CommonObjectMeta
1072
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1073
+ spaceId?: Prisma.StringFieldUpdateOperationsInput | string
1074
+ libraryId?: Prisma.StringFieldUpdateOperationsInput | string
1075
+ pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
1076
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
1077
+ unlockSuite?: PrismaJson.ProjectUnlockSuite
1078
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1079
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1080
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1081
+ }
1082
+
1083
+ export type ProjectUncheckedUpdateManyWithoutModelStorageInput = {
1084
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1085
+ meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1086
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1087
+ spaceId?: Prisma.StringFieldUpdateOperationsInput | string
1088
+ libraryId?: Prisma.StringFieldUpdateOperationsInput | string
1089
+ pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
1090
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
1091
+ unlockSuite?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1092
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1093
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1094
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1095
+ }
1096
+
1097
+ export type ProjectCreateManyPulumiBackendInput = {
1098
+ id?: string
1099
+ meta: PrismaJson.CommonObjectMeta
1100
+ name: string
1101
+ spaceId: string
1102
+ modelStorageId: string
1103
+ libraryId: string
1104
+ encryptedMasterKey: string
1105
+ unlockSuite: PrismaJson.ProjectUnlockSuite
1106
+ databaseVersion: number
1107
+ createdAt?: Date | string
1108
+ updatedAt?: Date | string
1109
+ }
1110
+
1111
+ export type ProjectUpdateWithoutPulumiBackendInput = {
1112
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1113
+ meta?: PrismaJson.CommonObjectMeta
1114
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1115
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
1116
+ unlockSuite?: PrismaJson.ProjectUnlockSuite
1117
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1118
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1119
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1120
+ space?: Prisma.ProjectSpaceUpdateOneRequiredWithoutProjectsNestedInput
1121
+ modelStorage?: Prisma.ProjectModelStorageUpdateOneRequiredWithoutProjectsNestedInput
1122
+ library?: Prisma.LibraryUpdateOneRequiredWithoutProjectsNestedInput
1123
+ }
1124
+
1125
+ export type ProjectUncheckedUpdateWithoutPulumiBackendInput = {
1126
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1127
+ meta?: PrismaJson.CommonObjectMeta
1128
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1129
+ spaceId?: Prisma.StringFieldUpdateOperationsInput | string
1130
+ modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
1131
+ libraryId?: Prisma.StringFieldUpdateOperationsInput | string
1132
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
1133
+ unlockSuite?: PrismaJson.ProjectUnlockSuite
1134
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1135
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1136
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1137
+ }
1138
+
1139
+ export type ProjectUncheckedUpdateManyWithoutPulumiBackendInput = {
1140
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1141
+ meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1142
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1143
+ spaceId?: Prisma.StringFieldUpdateOperationsInput | string
1144
+ modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
1145
+ libraryId?: Prisma.StringFieldUpdateOperationsInput | string
1146
+ encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
1147
+ unlockSuite?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1148
+ databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1149
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1150
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1151
+ }
1152
+
1153
+
1154
+
1155
+ export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1156
+ id?: boolean
1157
+ meta?: boolean
1158
+ name?: boolean
1159
+ spaceId?: boolean
1160
+ modelStorageId?: boolean
1161
+ libraryId?: boolean
1162
+ pulumiBackendId?: boolean
1163
+ encryptedMasterKey?: boolean
1164
+ unlockSuite?: boolean
1165
+ databaseVersion?: boolean
1166
+ createdAt?: boolean
1167
+ updatedAt?: boolean
1168
+ space?: boolean | Prisma.ProjectSpaceDefaultArgs<ExtArgs>
1169
+ modelStorage?: boolean | Prisma.ProjectModelStorageDefaultArgs<ExtArgs>
1170
+ library?: boolean | Prisma.LibraryDefaultArgs<ExtArgs>
1171
+ pulumiBackend?: boolean | Prisma.PulumiBackendDefaultArgs<ExtArgs>
1172
+ }, ExtArgs["result"]["project"]>
1173
+
1174
+ export type ProjectSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1175
+ id?: boolean
1176
+ meta?: boolean
1177
+ name?: boolean
1178
+ spaceId?: boolean
1179
+ modelStorageId?: boolean
1180
+ libraryId?: boolean
1181
+ pulumiBackendId?: boolean
1182
+ encryptedMasterKey?: boolean
1183
+ unlockSuite?: boolean
1184
+ databaseVersion?: boolean
1185
+ createdAt?: boolean
1186
+ updatedAt?: boolean
1187
+ space?: boolean | Prisma.ProjectSpaceDefaultArgs<ExtArgs>
1188
+ modelStorage?: boolean | Prisma.ProjectModelStorageDefaultArgs<ExtArgs>
1189
+ library?: boolean | Prisma.LibraryDefaultArgs<ExtArgs>
1190
+ pulumiBackend?: boolean | Prisma.PulumiBackendDefaultArgs<ExtArgs>
1191
+ }, ExtArgs["result"]["project"]>
1192
+
1193
+ export type ProjectSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1194
+ id?: boolean
1195
+ meta?: boolean
1196
+ name?: boolean
1197
+ spaceId?: boolean
1198
+ modelStorageId?: boolean
1199
+ libraryId?: boolean
1200
+ pulumiBackendId?: boolean
1201
+ encryptedMasterKey?: boolean
1202
+ unlockSuite?: boolean
1203
+ databaseVersion?: boolean
1204
+ createdAt?: boolean
1205
+ updatedAt?: boolean
1206
+ space?: boolean | Prisma.ProjectSpaceDefaultArgs<ExtArgs>
1207
+ modelStorage?: boolean | Prisma.ProjectModelStorageDefaultArgs<ExtArgs>
1208
+ library?: boolean | Prisma.LibraryDefaultArgs<ExtArgs>
1209
+ pulumiBackend?: boolean | Prisma.PulumiBackendDefaultArgs<ExtArgs>
1210
+ }, ExtArgs["result"]["project"]>
1211
+
1212
+ export type ProjectSelectScalar = {
1213
+ id?: boolean
1214
+ meta?: boolean
1215
+ name?: boolean
1216
+ spaceId?: boolean
1217
+ modelStorageId?: boolean
1218
+ libraryId?: boolean
1219
+ pulumiBackendId?: boolean
1220
+ encryptedMasterKey?: boolean
1221
+ unlockSuite?: boolean
1222
+ databaseVersion?: boolean
1223
+ createdAt?: boolean
1224
+ updatedAt?: boolean
1225
+ }
1226
+
1227
+ export type ProjectOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "meta" | "name" | "spaceId" | "modelStorageId" | "libraryId" | "pulumiBackendId" | "encryptedMasterKey" | "unlockSuite" | "databaseVersion" | "createdAt" | "updatedAt", ExtArgs["result"]["project"]>
1228
+ export type ProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1229
+ space?: boolean | Prisma.ProjectSpaceDefaultArgs<ExtArgs>
1230
+ modelStorage?: boolean | Prisma.ProjectModelStorageDefaultArgs<ExtArgs>
1231
+ library?: boolean | Prisma.LibraryDefaultArgs<ExtArgs>
1232
+ pulumiBackend?: boolean | Prisma.PulumiBackendDefaultArgs<ExtArgs>
1233
+ }
1234
+ export type ProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1235
+ space?: boolean | Prisma.ProjectSpaceDefaultArgs<ExtArgs>
1236
+ modelStorage?: boolean | Prisma.ProjectModelStorageDefaultArgs<ExtArgs>
1237
+ library?: boolean | Prisma.LibraryDefaultArgs<ExtArgs>
1238
+ pulumiBackend?: boolean | Prisma.PulumiBackendDefaultArgs<ExtArgs>
1239
+ }
1240
+ export type ProjectIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1241
+ space?: boolean | Prisma.ProjectSpaceDefaultArgs<ExtArgs>
1242
+ modelStorage?: boolean | Prisma.ProjectModelStorageDefaultArgs<ExtArgs>
1243
+ library?: boolean | Prisma.LibraryDefaultArgs<ExtArgs>
1244
+ pulumiBackend?: boolean | Prisma.PulumiBackendDefaultArgs<ExtArgs>
1245
+ }
1246
+
1247
+ export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1248
+ name: "Project"
1249
+ objects: {
1250
+ /**
1251
+ * The project space this project belongs to.
1252
+ */
1253
+ space: Prisma.$ProjectSpacePayload<ExtArgs>
1254
+ /**
1255
+ * The project model storage this project uses.
1256
+ */
1257
+ modelStorage: Prisma.$ProjectModelStoragePayload<ExtArgs>
1258
+ /**
1259
+ * The library used by this project.
1260
+ */
1261
+ library: Prisma.$LibraryPayload<ExtArgs>
1262
+ /**
1263
+ * The Pulumi backend used by this project.
1264
+ */
1265
+ pulumiBackend: Prisma.$PulumiBackendPayload<ExtArgs>
1266
+ }
1267
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1268
+ /**
1269
+ * The CUIDv2 of the project.
1270
+ */
1271
+ id: string
1272
+ /**
1273
+ * Project meta managed by the backend.
1274
+ *
1275
+ * [CommonObjectMeta]
1276
+ */
1277
+ meta: PrismaJson.CommonObjectMeta
1278
+ /**
1279
+ * The name of the project within the space.
1280
+ */
1281
+ name: string
1282
+ /**
1283
+ * The ID of the project space this project belongs to.
1284
+ */
1285
+ spaceId: string
1286
+ /**
1287
+ * The ID of the project model storage this project uses.
1288
+ */
1289
+ modelStorageId: string
1290
+ /**
1291
+ * The ID of the library used by this project.
1292
+ */
1293
+ libraryId: string
1294
+ /**
1295
+ * The ID of the Pulumi backend used by this project.
1296
+ */
1297
+ pulumiBackendId: string
1298
+ /**
1299
+ * Encrypted project master key in AGE format.
1300
+ */
1301
+ encryptedMasterKey: string
1302
+ /**
1303
+ * The unlock suite for this project.
1304
+ *
1305
+ * [ProjectUnlockSuite]
1306
+ */
1307
+ unlockSuite: PrismaJson.ProjectUnlockSuite
1308
+ /**
1309
+ * The current version of the project database.
1310
+ * This is used to determine if the project needs to be migrated.
1311
+ */
1312
+ databaseVersion: number
1313
+ /**
1314
+ * The date and time when the project was created.
1315
+ */
1316
+ createdAt: Date
1317
+ /**
1318
+ * The date and time when the project was last updated.
1319
+ */
1320
+ updatedAt: Date
1321
+ }, ExtArgs["result"]["project"]>
1322
+ composites: {}
1323
+ }
1324
+
1325
+ export type ProjectGetPayload<S extends boolean | null | undefined | ProjectDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjectPayload, S>
1326
+
1327
+ export type ProjectCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1328
+ Omit<ProjectFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1329
+ select?: ProjectCountAggregateInputType | true
1330
+ }
1331
+
1332
+ export interface ProjectDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1333
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Project'], meta: { name: 'Project' } }
1334
+ /**
1335
+ * Find zero or one Project that matches the filter.
1336
+ * @param {ProjectFindUniqueArgs} args - Arguments to find a Project
1337
+ * @example
1338
+ * // Get one Project
1339
+ * const project = await prisma.project.findUnique({
1340
+ * where: {
1341
+ * // ... provide filter here
1342
+ * }
1343
+ * })
1344
+ */
1345
+ findUnique<T extends ProjectFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjectFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1346
+
1347
+ /**
1348
+ * Find one Project that matches the filter or throw an error with `error.code='P2025'`
1349
+ * if no matches were found.
1350
+ * @param {ProjectFindUniqueOrThrowArgs} args - Arguments to find a Project
1351
+ * @example
1352
+ * // Get one Project
1353
+ * const project = await prisma.project.findUniqueOrThrow({
1354
+ * where: {
1355
+ * // ... provide filter here
1356
+ * }
1357
+ * })
1358
+ */
1359
+ findUniqueOrThrow<T extends ProjectFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjectFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1360
+
1361
+ /**
1362
+ * Find the first Project that matches the filter.
1363
+ * Note, that providing `undefined` is treated as the value not being there.
1364
+ * Read more here: https://pris.ly/d/null-undefined
1365
+ * @param {ProjectFindFirstArgs} args - Arguments to find a Project
1366
+ * @example
1367
+ * // Get one Project
1368
+ * const project = await prisma.project.findFirst({
1369
+ * where: {
1370
+ * // ... provide filter here
1371
+ * }
1372
+ * })
1373
+ */
1374
+ findFirst<T extends ProjectFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjectFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1375
+
1376
+ /**
1377
+ * Find the first Project that matches the filter or
1378
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1379
+ * Note, that providing `undefined` is treated as the value not being there.
1380
+ * Read more here: https://pris.ly/d/null-undefined
1381
+ * @param {ProjectFindFirstOrThrowArgs} args - Arguments to find a Project
1382
+ * @example
1383
+ * // Get one Project
1384
+ * const project = await prisma.project.findFirstOrThrow({
1385
+ * where: {
1386
+ * // ... provide filter here
1387
+ * }
1388
+ * })
1389
+ */
1390
+ findFirstOrThrow<T extends ProjectFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjectFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1391
+
1392
+ /**
1393
+ * Find zero or more Projects that matches the filter.
1394
+ * Note, that providing `undefined` is treated as the value not being there.
1395
+ * Read more here: https://pris.ly/d/null-undefined
1396
+ * @param {ProjectFindManyArgs} args - Arguments to filter and select certain fields only.
1397
+ * @example
1398
+ * // Get all Projects
1399
+ * const projects = await prisma.project.findMany()
1400
+ *
1401
+ * // Get first 10 Projects
1402
+ * const projects = await prisma.project.findMany({ take: 10 })
1403
+ *
1404
+ * // Only select the `id`
1405
+ * const projectWithIdOnly = await prisma.project.findMany({ select: { id: true } })
1406
+ *
1407
+ */
1408
+ findMany<T extends ProjectFindManyArgs>(args?: Prisma.SelectSubset<T, ProjectFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1409
+
1410
+ /**
1411
+ * Create a Project.
1412
+ * @param {ProjectCreateArgs} args - Arguments to create a Project.
1413
+ * @example
1414
+ * // Create one Project
1415
+ * const Project = await prisma.project.create({
1416
+ * data: {
1417
+ * // ... data to create a Project
1418
+ * }
1419
+ * })
1420
+ *
1421
+ */
1422
+ create<T extends ProjectCreateArgs>(args: Prisma.SelectSubset<T, ProjectCreateArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1423
+
1424
+ /**
1425
+ * Create many Projects.
1426
+ * @param {ProjectCreateManyArgs} args - Arguments to create many Projects.
1427
+ * @example
1428
+ * // Create many Projects
1429
+ * const project = await prisma.project.createMany({
1430
+ * data: [
1431
+ * // ... provide data here
1432
+ * ]
1433
+ * })
1434
+ *
1435
+ */
1436
+ createMany<T extends ProjectCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjectCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1437
+
1438
+ /**
1439
+ * Create many Projects and returns the data saved in the database.
1440
+ * @param {ProjectCreateManyAndReturnArgs} args - Arguments to create many Projects.
1441
+ * @example
1442
+ * // Create many Projects
1443
+ * const project = await prisma.project.createManyAndReturn({
1444
+ * data: [
1445
+ * // ... provide data here
1446
+ * ]
1447
+ * })
1448
+ *
1449
+ * // Create many Projects and only return the `id`
1450
+ * const projectWithIdOnly = await prisma.project.createManyAndReturn({
1451
+ * select: { id: true },
1452
+ * data: [
1453
+ * // ... provide data here
1454
+ * ]
1455
+ * })
1456
+ * Note, that providing `undefined` is treated as the value not being there.
1457
+ * Read more here: https://pris.ly/d/null-undefined
1458
+ *
1459
+ */
1460
+ createManyAndReturn<T extends ProjectCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjectCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1461
+
1462
+ /**
1463
+ * Delete a Project.
1464
+ * @param {ProjectDeleteArgs} args - Arguments to delete one Project.
1465
+ * @example
1466
+ * // Delete one Project
1467
+ * const Project = await prisma.project.delete({
1468
+ * where: {
1469
+ * // ... filter to delete one Project
1470
+ * }
1471
+ * })
1472
+ *
1473
+ */
1474
+ delete<T extends ProjectDeleteArgs>(args: Prisma.SelectSubset<T, ProjectDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1475
+
1476
+ /**
1477
+ * Update one Project.
1478
+ * @param {ProjectUpdateArgs} args - Arguments to update one Project.
1479
+ * @example
1480
+ * // Update one Project
1481
+ * const project = await prisma.project.update({
1482
+ * where: {
1483
+ * // ... provide filter here
1484
+ * },
1485
+ * data: {
1486
+ * // ... provide data here
1487
+ * }
1488
+ * })
1489
+ *
1490
+ */
1491
+ update<T extends ProjectUpdateArgs>(args: Prisma.SelectSubset<T, ProjectUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1492
+
1493
+ /**
1494
+ * Delete zero or more Projects.
1495
+ * @param {ProjectDeleteManyArgs} args - Arguments to filter Projects to delete.
1496
+ * @example
1497
+ * // Delete a few Projects
1498
+ * const { count } = await prisma.project.deleteMany({
1499
+ * where: {
1500
+ * // ... provide filter here
1501
+ * }
1502
+ * })
1503
+ *
1504
+ */
1505
+ deleteMany<T extends ProjectDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjectDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1506
+
1507
+ /**
1508
+ * Update zero or more Projects.
1509
+ * Note, that providing `undefined` is treated as the value not being there.
1510
+ * Read more here: https://pris.ly/d/null-undefined
1511
+ * @param {ProjectUpdateManyArgs} args - Arguments to update one or more rows.
1512
+ * @example
1513
+ * // Update many Projects
1514
+ * const project = await prisma.project.updateMany({
1515
+ * where: {
1516
+ * // ... provide filter here
1517
+ * },
1518
+ * data: {
1519
+ * // ... provide data here
1520
+ * }
1521
+ * })
1522
+ *
1523
+ */
1524
+ updateMany<T extends ProjectUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjectUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1525
+
1526
+ /**
1527
+ * Update zero or more Projects and returns the data updated in the database.
1528
+ * @param {ProjectUpdateManyAndReturnArgs} args - Arguments to update many Projects.
1529
+ * @example
1530
+ * // Update many Projects
1531
+ * const project = await prisma.project.updateManyAndReturn({
1532
+ * where: {
1533
+ * // ... provide filter here
1534
+ * },
1535
+ * data: [
1536
+ * // ... provide data here
1537
+ * ]
1538
+ * })
1539
+ *
1540
+ * // Update zero or more Projects and only return the `id`
1541
+ * const projectWithIdOnly = await prisma.project.updateManyAndReturn({
1542
+ * select: { id: true },
1543
+ * where: {
1544
+ * // ... provide filter here
1545
+ * },
1546
+ * data: [
1547
+ * // ... provide data here
1548
+ * ]
1549
+ * })
1550
+ * Note, that providing `undefined` is treated as the value not being there.
1551
+ * Read more here: https://pris.ly/d/null-undefined
1552
+ *
1553
+ */
1554
+ updateManyAndReturn<T extends ProjectUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjectUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1555
+
1556
+ /**
1557
+ * Create or update one Project.
1558
+ * @param {ProjectUpsertArgs} args - Arguments to update or create a Project.
1559
+ * @example
1560
+ * // Update or create a Project
1561
+ * const project = await prisma.project.upsert({
1562
+ * create: {
1563
+ * // ... data to create a Project
1564
+ * },
1565
+ * update: {
1566
+ * // ... in case it already exists, update
1567
+ * },
1568
+ * where: {
1569
+ * // ... the filter for the Project we want to update
1570
+ * }
1571
+ * })
1572
+ */
1573
+ upsert<T extends ProjectUpsertArgs>(args: Prisma.SelectSubset<T, ProjectUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1574
+
1575
+
1576
+ /**
1577
+ * Count the number of Projects.
1578
+ * Note, that providing `undefined` is treated as the value not being there.
1579
+ * Read more here: https://pris.ly/d/null-undefined
1580
+ * @param {ProjectCountArgs} args - Arguments to filter Projects to count.
1581
+ * @example
1582
+ * // Count the number of Projects
1583
+ * const count = await prisma.project.count({
1584
+ * where: {
1585
+ * // ... the filter for the Projects we want to count
1586
+ * }
1587
+ * })
1588
+ **/
1589
+ count<T extends ProjectCountArgs>(
1590
+ args?: Prisma.Subset<T, ProjectCountArgs>,
1591
+ ): Prisma.PrismaPromise<
1592
+ T extends runtime.Types.Utils.Record<'select', any>
1593
+ ? T['select'] extends true
1594
+ ? number
1595
+ : Prisma.GetScalarType<T['select'], ProjectCountAggregateOutputType>
1596
+ : number
1597
+ >
1598
+
1599
+ /**
1600
+ * Allows you to perform aggregations operations on a Project.
1601
+ * Note, that providing `undefined` is treated as the value not being there.
1602
+ * Read more here: https://pris.ly/d/null-undefined
1603
+ * @param {ProjectAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1604
+ * @example
1605
+ * // Ordered by age ascending
1606
+ * // Where email contains prisma.io
1607
+ * // Limited to the 10 users
1608
+ * const aggregations = await prisma.user.aggregate({
1609
+ * _avg: {
1610
+ * age: true,
1611
+ * },
1612
+ * where: {
1613
+ * email: {
1614
+ * contains: "prisma.io",
1615
+ * },
1616
+ * },
1617
+ * orderBy: {
1618
+ * age: "asc",
1619
+ * },
1620
+ * take: 10,
1621
+ * })
1622
+ **/
1623
+ aggregate<T extends ProjectAggregateArgs>(args: Prisma.Subset<T, ProjectAggregateArgs>): Prisma.PrismaPromise<GetProjectAggregateType<T>>
1624
+
1625
+ /**
1626
+ * Group by Project.
1627
+ * Note, that providing `undefined` is treated as the value not being there.
1628
+ * Read more here: https://pris.ly/d/null-undefined
1629
+ * @param {ProjectGroupByArgs} args - Group by arguments.
1630
+ * @example
1631
+ * // Group by city, order by createdAt, get count
1632
+ * const result = await prisma.user.groupBy({
1633
+ * by: ['city', 'createdAt'],
1634
+ * orderBy: {
1635
+ * createdAt: true
1636
+ * },
1637
+ * _count: {
1638
+ * _all: true
1639
+ * },
1640
+ * })
1641
+ *
1642
+ **/
1643
+ groupBy<
1644
+ T extends ProjectGroupByArgs,
1645
+ HasSelectOrTake extends Prisma.Or<
1646
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1647
+ Prisma.Extends<'take', Prisma.Keys<T>>
1648
+ >,
1649
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1650
+ ? { orderBy: ProjectGroupByArgs['orderBy'] }
1651
+ : { orderBy?: ProjectGroupByArgs['orderBy'] },
1652
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1653
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1654
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1655
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1656
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1657
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1658
+ InputErrors extends ByEmpty extends Prisma.True
1659
+ ? `Error: "by" must not be empty.`
1660
+ : HavingValid extends Prisma.False
1661
+ ? {
1662
+ [P in HavingFields]: P extends ByFields
1663
+ ? never
1664
+ : P extends string
1665
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1666
+ : [
1667
+ Error,
1668
+ 'Field ',
1669
+ P,
1670
+ ` in "having" needs to be provided in "by"`,
1671
+ ]
1672
+ }[HavingFields]
1673
+ : 'take' extends Prisma.Keys<T>
1674
+ ? 'orderBy' extends Prisma.Keys<T>
1675
+ ? ByValid extends Prisma.True
1676
+ ? {}
1677
+ : {
1678
+ [P in OrderFields]: P extends ByFields
1679
+ ? never
1680
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1681
+ }[OrderFields]
1682
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1683
+ : 'skip' extends Prisma.Keys<T>
1684
+ ? 'orderBy' extends Prisma.Keys<T>
1685
+ ? ByValid extends Prisma.True
1686
+ ? {}
1687
+ : {
1688
+ [P in OrderFields]: P extends ByFields
1689
+ ? never
1690
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1691
+ }[OrderFields]
1692
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1693
+ : ByValid extends Prisma.True
1694
+ ? {}
1695
+ : {
1696
+ [P in OrderFields]: P extends ByFields
1697
+ ? never
1698
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1699
+ }[OrderFields]
1700
+ >(args: Prisma.SubsetIntersection<T, ProjectGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjectGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1701
+ /**
1702
+ * Fields of the Project model
1703
+ */
1704
+ readonly fields: ProjectFieldRefs;
1705
+ }
1706
+
1707
+ /**
1708
+ * The delegate class that acts as a "Promise-like" for Project.
1709
+ * Why is this prefixed with `Prisma__`?
1710
+ * Because we want to prevent naming conflicts as mentioned in
1711
+ * https://github.com/prisma/prisma-client-js/issues/707
1712
+ */
1713
+ export interface Prisma__ProjectClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1714
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1715
+ space<T extends Prisma.ProjectSpaceDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjectSpaceDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjectSpaceClient<runtime.Types.Result.GetResult<Prisma.$ProjectSpacePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1716
+ modelStorage<T extends Prisma.ProjectModelStorageDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjectModelStorageDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjectModelStorageClient<runtime.Types.Result.GetResult<Prisma.$ProjectModelStoragePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1717
+ library<T extends Prisma.LibraryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LibraryDefaultArgs<ExtArgs>>): Prisma.Prisma__LibraryClient<runtime.Types.Result.GetResult<Prisma.$LibraryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1718
+ pulumiBackend<T extends Prisma.PulumiBackendDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PulumiBackendDefaultArgs<ExtArgs>>): Prisma.Prisma__PulumiBackendClient<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1719
+ /**
1720
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1721
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1722
+ * @param onrejected The callback to execute when the Promise is rejected.
1723
+ * @returns A Promise for the completion of which ever callback is executed.
1724
+ */
1725
+ 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>
1726
+ /**
1727
+ * Attaches a callback for only the rejection of the Promise.
1728
+ * @param onrejected The callback to execute when the Promise is rejected.
1729
+ * @returns A Promise for the completion of the callback.
1730
+ */
1731
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1732
+ /**
1733
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1734
+ * resolved value cannot be modified from the callback.
1735
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1736
+ * @returns A Promise for the completion of the callback.
1737
+ */
1738
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1739
+ }
1740
+
1741
+
1742
+
1743
+
1744
+ /**
1745
+ * Fields of the Project model
1746
+ */
1747
+ export interface ProjectFieldRefs {
1748
+ readonly id: Prisma.FieldRef<"Project", 'String'>
1749
+ readonly meta: Prisma.FieldRef<"Project", 'Json'>
1750
+ readonly name: Prisma.FieldRef<"Project", 'String'>
1751
+ readonly spaceId: Prisma.FieldRef<"Project", 'String'>
1752
+ readonly modelStorageId: Prisma.FieldRef<"Project", 'String'>
1753
+ readonly libraryId: Prisma.FieldRef<"Project", 'String'>
1754
+ readonly pulumiBackendId: Prisma.FieldRef<"Project", 'String'>
1755
+ readonly encryptedMasterKey: Prisma.FieldRef<"Project", 'String'>
1756
+ readonly unlockSuite: Prisma.FieldRef<"Project", 'Json'>
1757
+ readonly databaseVersion: Prisma.FieldRef<"Project", 'Int'>
1758
+ readonly createdAt: Prisma.FieldRef<"Project", 'DateTime'>
1759
+ readonly updatedAt: Prisma.FieldRef<"Project", 'DateTime'>
1760
+ }
1761
+
1762
+
1763
+ // Custom InputTypes
1764
+ /**
1765
+ * Project findUnique
1766
+ */
1767
+ export type ProjectFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1768
+ /**
1769
+ * Select specific fields to fetch from the Project
1770
+ */
1771
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1772
+ /**
1773
+ * Omit specific fields from the Project
1774
+ */
1775
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1776
+ /**
1777
+ * Choose, which related nodes to fetch as well
1778
+ */
1779
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1780
+ /**
1781
+ * Filter, which Project to fetch.
1782
+ */
1783
+ where: Prisma.ProjectWhereUniqueInput
1784
+ }
1785
+
1786
+ /**
1787
+ * Project findUniqueOrThrow
1788
+ */
1789
+ export type ProjectFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1790
+ /**
1791
+ * Select specific fields to fetch from the Project
1792
+ */
1793
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1794
+ /**
1795
+ * Omit specific fields from the Project
1796
+ */
1797
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1798
+ /**
1799
+ * Choose, which related nodes to fetch as well
1800
+ */
1801
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1802
+ /**
1803
+ * Filter, which Project to fetch.
1804
+ */
1805
+ where: Prisma.ProjectWhereUniqueInput
1806
+ }
1807
+
1808
+ /**
1809
+ * Project findFirst
1810
+ */
1811
+ export type ProjectFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1812
+ /**
1813
+ * Select specific fields to fetch from the Project
1814
+ */
1815
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1816
+ /**
1817
+ * Omit specific fields from the Project
1818
+ */
1819
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1820
+ /**
1821
+ * Choose, which related nodes to fetch as well
1822
+ */
1823
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1824
+ /**
1825
+ * Filter, which Project to fetch.
1826
+ */
1827
+ where?: Prisma.ProjectWhereInput
1828
+ /**
1829
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1830
+ *
1831
+ * Determine the order of Projects to fetch.
1832
+ */
1833
+ orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
1834
+ /**
1835
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1836
+ *
1837
+ * Sets the position for searching for Projects.
1838
+ */
1839
+ cursor?: Prisma.ProjectWhereUniqueInput
1840
+ /**
1841
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1842
+ *
1843
+ * Take `±n` Projects from the position of the cursor.
1844
+ */
1845
+ take?: number
1846
+ /**
1847
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1848
+ *
1849
+ * Skip the first `n` Projects.
1850
+ */
1851
+ skip?: number
1852
+ /**
1853
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1854
+ *
1855
+ * Filter by unique combinations of Projects.
1856
+ */
1857
+ distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
1858
+ }
1859
+
1860
+ /**
1861
+ * Project findFirstOrThrow
1862
+ */
1863
+ export type ProjectFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1864
+ /**
1865
+ * Select specific fields to fetch from the Project
1866
+ */
1867
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1868
+ /**
1869
+ * Omit specific fields from the Project
1870
+ */
1871
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1872
+ /**
1873
+ * Choose, which related nodes to fetch as well
1874
+ */
1875
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1876
+ /**
1877
+ * Filter, which Project to fetch.
1878
+ */
1879
+ where?: Prisma.ProjectWhereInput
1880
+ /**
1881
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1882
+ *
1883
+ * Determine the order of Projects to fetch.
1884
+ */
1885
+ orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
1886
+ /**
1887
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1888
+ *
1889
+ * Sets the position for searching for Projects.
1890
+ */
1891
+ cursor?: Prisma.ProjectWhereUniqueInput
1892
+ /**
1893
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1894
+ *
1895
+ * Take `±n` Projects from the position of the cursor.
1896
+ */
1897
+ take?: number
1898
+ /**
1899
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1900
+ *
1901
+ * Skip the first `n` Projects.
1902
+ */
1903
+ skip?: number
1904
+ /**
1905
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1906
+ *
1907
+ * Filter by unique combinations of Projects.
1908
+ */
1909
+ distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
1910
+ }
1911
+
1912
+ /**
1913
+ * Project findMany
1914
+ */
1915
+ export type ProjectFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1916
+ /**
1917
+ * Select specific fields to fetch from the Project
1918
+ */
1919
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1920
+ /**
1921
+ * Omit specific fields from the Project
1922
+ */
1923
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1924
+ /**
1925
+ * Choose, which related nodes to fetch as well
1926
+ */
1927
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1928
+ /**
1929
+ * Filter, which Projects to fetch.
1930
+ */
1931
+ where?: Prisma.ProjectWhereInput
1932
+ /**
1933
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1934
+ *
1935
+ * Determine the order of Projects to fetch.
1936
+ */
1937
+ orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
1938
+ /**
1939
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1940
+ *
1941
+ * Sets the position for listing Projects.
1942
+ */
1943
+ cursor?: Prisma.ProjectWhereUniqueInput
1944
+ /**
1945
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1946
+ *
1947
+ * Take `±n` Projects from the position of the cursor.
1948
+ */
1949
+ take?: number
1950
+ /**
1951
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1952
+ *
1953
+ * Skip the first `n` Projects.
1954
+ */
1955
+ skip?: number
1956
+ distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
1957
+ }
1958
+
1959
+ /**
1960
+ * Project create
1961
+ */
1962
+ export type ProjectCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1963
+ /**
1964
+ * Select specific fields to fetch from the Project
1965
+ */
1966
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1967
+ /**
1968
+ * Omit specific fields from the Project
1969
+ */
1970
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1971
+ /**
1972
+ * Choose, which related nodes to fetch as well
1973
+ */
1974
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1975
+ /**
1976
+ * The data needed to create a Project.
1977
+ */
1978
+ data: Prisma.XOR<Prisma.ProjectCreateInput, Prisma.ProjectUncheckedCreateInput>
1979
+ }
1980
+
1981
+ /**
1982
+ * Project createMany
1983
+ */
1984
+ export type ProjectCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1985
+ /**
1986
+ * The data used to create many Projects.
1987
+ */
1988
+ data: Prisma.ProjectCreateManyInput | Prisma.ProjectCreateManyInput[]
1989
+ }
1990
+
1991
+ /**
1992
+ * Project createManyAndReturn
1993
+ */
1994
+ export type ProjectCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1995
+ /**
1996
+ * Select specific fields to fetch from the Project
1997
+ */
1998
+ select?: Prisma.ProjectSelectCreateManyAndReturn<ExtArgs> | null
1999
+ /**
2000
+ * Omit specific fields from the Project
2001
+ */
2002
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
2003
+ /**
2004
+ * The data used to create many Projects.
2005
+ */
2006
+ data: Prisma.ProjectCreateManyInput | Prisma.ProjectCreateManyInput[]
2007
+ /**
2008
+ * Choose, which related nodes to fetch as well
2009
+ */
2010
+ include?: Prisma.ProjectIncludeCreateManyAndReturn<ExtArgs> | null
2011
+ }
2012
+
2013
+ /**
2014
+ * Project update
2015
+ */
2016
+ export type ProjectUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2017
+ /**
2018
+ * Select specific fields to fetch from the Project
2019
+ */
2020
+ select?: Prisma.ProjectSelect<ExtArgs> | null
2021
+ /**
2022
+ * Omit specific fields from the Project
2023
+ */
2024
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
2025
+ /**
2026
+ * Choose, which related nodes to fetch as well
2027
+ */
2028
+ include?: Prisma.ProjectInclude<ExtArgs> | null
2029
+ /**
2030
+ * The data needed to update a Project.
2031
+ */
2032
+ data: Prisma.XOR<Prisma.ProjectUpdateInput, Prisma.ProjectUncheckedUpdateInput>
2033
+ /**
2034
+ * Choose, which Project to update.
2035
+ */
2036
+ where: Prisma.ProjectWhereUniqueInput
2037
+ }
2038
+
2039
+ /**
2040
+ * Project updateMany
2041
+ */
2042
+ export type ProjectUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2043
+ /**
2044
+ * The data used to update Projects.
2045
+ */
2046
+ data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyInput>
2047
+ /**
2048
+ * Filter which Projects to update
2049
+ */
2050
+ where?: Prisma.ProjectWhereInput
2051
+ /**
2052
+ * Limit how many Projects to update.
2053
+ */
2054
+ limit?: number
2055
+ }
2056
+
2057
+ /**
2058
+ * Project updateManyAndReturn
2059
+ */
2060
+ export type ProjectUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2061
+ /**
2062
+ * Select specific fields to fetch from the Project
2063
+ */
2064
+ select?: Prisma.ProjectSelectUpdateManyAndReturn<ExtArgs> | null
2065
+ /**
2066
+ * Omit specific fields from the Project
2067
+ */
2068
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
2069
+ /**
2070
+ * The data used to update Projects.
2071
+ */
2072
+ data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyInput>
2073
+ /**
2074
+ * Filter which Projects to update
2075
+ */
2076
+ where?: Prisma.ProjectWhereInput
2077
+ /**
2078
+ * Limit how many Projects to update.
2079
+ */
2080
+ limit?: number
2081
+ /**
2082
+ * Choose, which related nodes to fetch as well
2083
+ */
2084
+ include?: Prisma.ProjectIncludeUpdateManyAndReturn<ExtArgs> | null
2085
+ }
2086
+
2087
+ /**
2088
+ * Project upsert
2089
+ */
2090
+ export type ProjectUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2091
+ /**
2092
+ * Select specific fields to fetch from the Project
2093
+ */
2094
+ select?: Prisma.ProjectSelect<ExtArgs> | null
2095
+ /**
2096
+ * Omit specific fields from the Project
2097
+ */
2098
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
2099
+ /**
2100
+ * Choose, which related nodes to fetch as well
2101
+ */
2102
+ include?: Prisma.ProjectInclude<ExtArgs> | null
2103
+ /**
2104
+ * The filter to search for the Project to update in case it exists.
2105
+ */
2106
+ where: Prisma.ProjectWhereUniqueInput
2107
+ /**
2108
+ * In case the Project found by the `where` argument doesn't exist, create a new Project with this data.
2109
+ */
2110
+ create: Prisma.XOR<Prisma.ProjectCreateInput, Prisma.ProjectUncheckedCreateInput>
2111
+ /**
2112
+ * In case the Project was found with the provided `where` argument, update it with this data.
2113
+ */
2114
+ update: Prisma.XOR<Prisma.ProjectUpdateInput, Prisma.ProjectUncheckedUpdateInput>
2115
+ }
2116
+
2117
+ /**
2118
+ * Project delete
2119
+ */
2120
+ export type ProjectDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2121
+ /**
2122
+ * Select specific fields to fetch from the Project
2123
+ */
2124
+ select?: Prisma.ProjectSelect<ExtArgs> | null
2125
+ /**
2126
+ * Omit specific fields from the Project
2127
+ */
2128
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
2129
+ /**
2130
+ * Choose, which related nodes to fetch as well
2131
+ */
2132
+ include?: Prisma.ProjectInclude<ExtArgs> | null
2133
+ /**
2134
+ * Filter which Project to delete.
2135
+ */
2136
+ where: Prisma.ProjectWhereUniqueInput
2137
+ }
2138
+
2139
+ /**
2140
+ * Project deleteMany
2141
+ */
2142
+ export type ProjectDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2143
+ /**
2144
+ * Filter which Projects to delete
2145
+ */
2146
+ where?: Prisma.ProjectWhereInput
2147
+ /**
2148
+ * Limit how many Projects to delete.
2149
+ */
2150
+ limit?: number
2151
+ }
2152
+
2153
+ /**
2154
+ * Project without action
2155
+ */
2156
+ export type ProjectDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2157
+ /**
2158
+ * Select specific fields to fetch from the Project
2159
+ */
2160
+ select?: Prisma.ProjectSelect<ExtArgs> | null
2161
+ /**
2162
+ * Omit specific fields from the Project
2163
+ */
2164
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
2165
+ /**
2166
+ * Choose, which related nodes to fetch as well
2167
+ */
2168
+ include?: Prisma.ProjectInclude<ExtArgs> | null
2169
+ }