@aeolus-fleet/core 0.26.1 → 0.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) hide show
  1. package/README.md +1 -1
  2. package/dist/adapters/http/request-credentials.d.ts +2 -9
  3. package/dist/adapters/http/request-credentials.js +8 -1
  4. package/dist/adapters/http/request-credentials.js.map +1 -1
  5. package/dist/adapters/http/server.js +2 -1
  6. package/dist/adapters/http/server.js.map +1 -1
  7. package/dist/adapters/mcp/mcp-endpoint.js +11 -1
  8. package/dist/adapters/mcp/mcp-endpoint.js.map +1 -1
  9. package/dist/adapters/prisma/generated/browser.d.ts +14 -0
  10. package/dist/adapters/prisma/generated/client.d.ts +14 -0
  11. package/dist/adapters/prisma/generated/commonInputTypes.d.ts +30 -0
  12. package/dist/adapters/prisma/generated/enums.d.ts +10 -0
  13. package/dist/adapters/prisma/generated/enums.js +10 -1
  14. package/dist/adapters/prisma/generated/enums.js.map +1 -1
  15. package/dist/adapters/prisma/generated/internal/class.d.ts +22 -0
  16. package/dist/adapters/prisma/generated/internal/class.js +4 -4
  17. package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
  18. package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +186 -1
  19. package/dist/adapters/prisma/generated/internal/prismaNamespace.js +27 -2
  20. package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
  21. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +27 -0
  22. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +27 -2
  23. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
  24. package/dist/adapters/prisma/generated/models/Delivery.d.ts +71 -1
  25. package/dist/adapters/prisma/generated/models/Fleet.d.ts +558 -0
  26. package/dist/adapters/prisma/generated/models/Lease.d.ts +172 -1
  27. package/dist/adapters/prisma/generated/models/NetworkSettings.d.ts +185 -21
  28. package/dist/adapters/prisma/generated/models/PluginConnection.d.ts +1180 -0
  29. package/dist/adapters/prisma/generated/models/PluginConnection.js +2 -0
  30. package/dist/adapters/prisma/generated/models/PluginConnection.js.map +1 -0
  31. package/dist/adapters/prisma/generated/models/ReachRefusal.d.ts +71 -1
  32. package/dist/adapters/prisma/generated/models/ScopeNamespace.d.ts +1220 -0
  33. package/dist/adapters/prisma/generated/models/ScopeNamespace.js +2 -0
  34. package/dist/adapters/prisma/generated/models/ScopeNamespace.js.map +1 -0
  35. package/dist/adapters/prisma/generated/models/Ship.d.ts +1269 -51
  36. package/dist/adapters/prisma/generated/models.d.ts +2 -0
  37. package/dist/adapters/prisma/health.js +27 -7
  38. package/dist/adapters/prisma/health.js.map +1 -1
  39. package/dist/adapters/prisma/history.js +18 -72
  40. package/dist/adapters/prisma/history.js.map +1 -1
  41. package/dist/adapters/prisma/messaging.js +31 -35
  42. package/dist/adapters/prisma/messaging.js.map +1 -1
  43. package/dist/adapters/prisma/network.js +45 -15
  44. package/dist/adapters/prisma/network.js.map +1 -1
  45. package/dist/adapters/prisma/overdue.js +4 -3
  46. package/dist/adapters/prisma/overdue.js.map +1 -1
  47. package/dist/adapters/prisma/plugin-connections.d.ts +4 -0
  48. package/dist/adapters/prisma/plugin-connections.js +20 -0
  49. package/dist/adapters/prisma/plugin-connections.js.map +1 -0
  50. package/dist/adapters/prisma/registry.js +68 -13
  51. package/dist/adapters/prisma/registry.js.map +1 -1
  52. package/dist/adapters/prisma/rows.d.ts +3 -0
  53. package/dist/adapters/prisma/rows.js +22 -7
  54. package/dist/adapters/prisma/rows.js.map +1 -1
  55. package/dist/adapters/prisma/scope-namespaces.d.ts +4 -0
  56. package/dist/adapters/prisma/scope-namespaces.js +39 -0
  57. package/dist/adapters/prisma/scope-namespaces.js.map +1 -0
  58. package/dist/adapters/prisma/unit-of-work.d.ts +3 -1
  59. package/dist/adapters/prisma/unit-of-work.js +4 -0
  60. package/dist/adapters/prisma/unit-of-work.js.map +1 -1
  61. package/dist/adapters/rest/rest-api.js +2 -2
  62. package/dist/adapters/rest/rest-api.js.map +1 -1
  63. package/dist/adapters/trpc/console.d.ts +1 -1
  64. package/dist/adapters/trpc/console.js +6 -4
  65. package/dist/adapters/trpc/console.js.map +1 -1
  66. package/dist/adapters/trpc/context.d.ts +28 -4
  67. package/dist/adapters/trpc/fleet.d.ts +243 -90
  68. package/dist/adapters/trpc/fleet.js +146 -57
  69. package/dist/adapters/trpc/fleet.js.map +1 -1
  70. package/dist/adapters/trpc/router.d.ts +366 -86
  71. package/dist/adapters/trpc/ship-contract.js +5 -0
  72. package/dist/adapters/trpc/ship-contract.js.map +1 -1
  73. package/dist/adapters/trpc/ship-protocol.js +7 -5
  74. package/dist/adapters/trpc/ship-protocol.js.map +1 -1
  75. package/dist/adapters/trpc/ship.d.ts +156 -3
  76. package/dist/adapters/trpc/ship.js +89 -8
  77. package/dist/adapters/trpc/ship.js.map +1 -1
  78. package/dist/adapters/trpc/trpc.d.ts +13 -9
  79. package/dist/adapters/trpc/trpc.js +90 -26
  80. package/dist/adapters/trpc/trpc.js.map +1 -1
  81. package/dist/domain/messaging/check-inbox.d.ts +5 -5
  82. package/dist/domain/messaging/check-inbox.js +9 -7
  83. package/dist/domain/messaging/check-inbox.js.map +1 -1
  84. package/dist/domain/messaging/delivery.d.ts +8 -2
  85. package/dist/domain/messaging/delivery.js +14 -9
  86. package/dist/domain/messaging/delivery.js.map +1 -1
  87. package/dist/domain/messaging/dismiss-delivery.d.ts +9 -4
  88. package/dist/domain/messaging/dismiss-delivery.js +26 -19
  89. package/dist/domain/messaging/dismiss-delivery.js.map +1 -1
  90. package/dist/domain/messaging/hand-over-delivery.d.ts +1 -0
  91. package/dist/domain/messaging/hand-over-delivery.js +1 -0
  92. package/dist/domain/messaging/hand-over-delivery.js.map +1 -1
  93. package/dist/domain/messaging/message.d.ts +11 -5
  94. package/dist/domain/messaging/message.js +11 -4
  95. package/dist/domain/messaging/message.js.map +1 -1
  96. package/dist/domain/messaging/overdue.d.ts +2 -0
  97. package/dist/domain/messaging/overdue.js +3 -0
  98. package/dist/domain/messaging/overdue.js.map +1 -1
  99. package/dist/domain/messaging/ping-ship.d.ts +3 -3
  100. package/dist/domain/messaging/ping-ship.js +6 -2
  101. package/dist/domain/messaging/ping-ship.js.map +1 -1
  102. package/dist/domain/messaging/ports.d.ts +11 -3
  103. package/dist/domain/messaging/push-receive-deliveries.d.ts +4 -1
  104. package/dist/domain/messaging/push-receive-deliveries.js +5 -3
  105. package/dist/domain/messaging/push-receive-deliveries.js.map +1 -1
  106. package/dist/domain/messaging/receive-deliveries.d.ts +23 -0
  107. package/dist/domain/messaging/receive-deliveries.js +6 -3
  108. package/dist/domain/messaging/receive-deliveries.js.map +1 -1
  109. package/dist/domain/messaging/receive-reply.d.ts +32 -0
  110. package/dist/domain/messaging/receive-reply.js +25 -0
  111. package/dist/domain/messaging/receive-reply.js.map +1 -0
  112. package/dist/domain/messaging/resend-delivery.d.ts +5 -2
  113. package/dist/domain/messaging/resend-delivery.js +8 -4
  114. package/dist/domain/messaging/resend-delivery.js.map +1 -1
  115. package/dist/domain/messaging/send-message.d.ts +9 -2
  116. package/dist/domain/messaging/send-message.js +12 -2
  117. package/dist/domain/messaging/send-message.js.map +1 -1
  118. package/dist/domain/messaging/send-request.d.ts +3 -1
  119. package/dist/domain/messaging/send-request.js +4 -2
  120. package/dist/domain/messaging/send-request.js.map +1 -1
  121. package/dist/domain/registry/assign-label.d.ts +2 -1
  122. package/dist/domain/registry/assign-label.js +3 -2
  123. package/dist/domain/registry/assign-label.js.map +1 -1
  124. package/dist/domain/registry/check-reach.d.ts +69 -6
  125. package/dist/domain/registry/check-reach.js +109 -12
  126. package/dist/domain/registry/check-reach.js.map +1 -1
  127. package/dist/domain/registry/commission-ship.d.ts +21 -8
  128. package/dist/domain/registry/commission-ship.js +55 -10
  129. package/dist/domain/registry/commission-ship.js.map +1 -1
  130. package/dist/domain/registry/connect-plugin.d.ts +30 -0
  131. package/dist/domain/registry/connect-plugin.js +35 -0
  132. package/dist/domain/registry/connect-plugin.js.map +1 -0
  133. package/dist/domain/registry/crew-request.d.ts +1 -1
  134. package/dist/domain/registry/declare-scopes.d.ts +38 -0
  135. package/dist/domain/registry/declare-scopes.js +34 -0
  136. package/dist/domain/registry/declare-scopes.js.map +1 -0
  137. package/dist/domain/registry/declared-network-rules.d.ts +2 -1
  138. package/dist/domain/registry/declared-network-rules.js +11 -5
  139. package/dist/domain/registry/declared-network-rules.js.map +1 -1
  140. package/dist/domain/registry/discover.d.ts +29 -0
  141. package/dist/domain/registry/discover.js +54 -0
  142. package/dist/domain/registry/discover.js.map +1 -0
  143. package/dist/domain/registry/explain-reach.d.ts +13 -12
  144. package/dist/domain/registry/explain-reach.js +35 -12
  145. package/dist/domain/registry/explain-reach.js.map +1 -1
  146. package/dist/domain/registry/get-ship.d.ts +11 -3
  147. package/dist/domain/registry/get-ship.js +8 -2
  148. package/dist/domain/registry/get-ship.js.map +1 -1
  149. package/dist/domain/registry/get-starting-prompt.d.ts +18 -2
  150. package/dist/domain/registry/get-starting-prompt.js +7 -7
  151. package/dist/domain/registry/get-starting-prompt.js.map +1 -1
  152. package/dist/domain/registry/grant-scopes.d.ts +34 -0
  153. package/dist/domain/registry/grant-scopes.js +35 -0
  154. package/dist/domain/registry/grant-scopes.js.map +1 -0
  155. package/dist/domain/registry/label.d.ts +12 -7
  156. package/dist/domain/registry/label.js +21 -4
  157. package/dist/domain/registry/label.js.map +1 -1
  158. package/dist/domain/registry/leases.d.ts +6 -3
  159. package/dist/domain/registry/leases.js +7 -5
  160. package/dist/domain/registry/leases.js.map +1 -1
  161. package/dist/domain/registry/list-fleet.d.ts +19 -6
  162. package/dist/domain/registry/list-fleet.js +18 -3
  163. package/dist/domain/registry/list-fleet.js.map +1 -1
  164. package/dist/domain/registry/list-scopes.d.ts +24 -0
  165. package/dist/domain/registry/list-scopes.js +22 -0
  166. package/dist/domain/registry/list-scopes.js.map +1 -0
  167. package/dist/domain/registry/managed-or-assigned.d.ts +25 -0
  168. package/dist/domain/registry/managed-or-assigned.js +23 -0
  169. package/dist/domain/registry/managed-or-assigned.js.map +1 -0
  170. package/dist/domain/registry/named-namespaces.d.ts +19 -0
  171. package/dist/domain/registry/named-namespaces.js +19 -0
  172. package/dist/domain/registry/named-namespaces.js.map +1 -0
  173. package/dist/domain/registry/network-settings.d.ts +95 -24
  174. package/dist/domain/registry/network-settings.js +146 -46
  175. package/dist/domain/registry/network-settings.js.map +1 -1
  176. package/dist/domain/registry/plugin-connection.d.ts +48 -0
  177. package/dist/domain/registry/plugin-connection.js +35 -0
  178. package/dist/domain/registry/plugin-connection.js.map +1 -0
  179. package/dist/domain/registry/ports.d.ts +75 -1
  180. package/dist/domain/registry/public.d.ts +3 -2
  181. package/dist/domain/registry/public.js +3 -2
  182. package/dist/domain/registry/public.js.map +1 -1
  183. package/dist/domain/registry/reach-refusal.d.ts +12 -4
  184. package/dist/domain/registry/read-assigned-crew-requests.d.ts +12 -3
  185. package/dist/domain/registry/read-assigned-crew-requests.js +8 -8
  186. package/dist/domain/registry/read-assigned-crew-requests.js.map +1 -1
  187. package/dist/domain/registry/read-built-in-rules.d.ts +20 -0
  188. package/dist/domain/registry/read-built-in-rules.js +24 -0
  189. package/dist/domain/registry/read-built-in-rules.js.map +1 -0
  190. package/dist/domain/registry/read-clear-requests.d.ts +5 -3
  191. package/dist/domain/registry/read-clear-requests.js +7 -5
  192. package/dist/domain/registry/read-clear-requests.js.map +1 -1
  193. package/dist/domain/registry/read-network-plugin.d.ts +23 -0
  194. package/dist/domain/registry/read-network-plugin.js +15 -0
  195. package/dist/domain/registry/read-network-plugin.js.map +1 -0
  196. package/dist/domain/registry/read-on-behalf.d.ts +20 -0
  197. package/dist/domain/registry/read-on-behalf.js +31 -0
  198. package/dist/domain/registry/read-on-behalf.js.map +1 -0
  199. package/dist/domain/registry/read-reach.d.ts +64 -0
  200. package/dist/domain/registry/read-reach.js +83 -0
  201. package/dist/domain/registry/read-reach.js.map +1 -0
  202. package/dist/domain/registry/recrew-ship.d.ts +3 -2
  203. package/dist/domain/registry/recrew-ship.js +8 -1
  204. package/dist/domain/registry/recrew-ship.js.map +1 -1
  205. package/dist/domain/registry/release-ship.d.ts +10 -5
  206. package/dist/domain/registry/release-ship.js +11 -8
  207. package/dist/domain/registry/release-ship.js.map +1 -1
  208. package/dist/domain/registry/remove-crew-request.d.ts +4 -3
  209. package/dist/domain/registry/remove-crew-request.js +6 -1
  210. package/dist/domain/registry/remove-crew-request.js.map +1 -1
  211. package/dist/domain/registry/rename-ship.d.ts +7 -5
  212. package/dist/domain/registry/rename-ship.js +9 -3
  213. package/dist/domain/registry/rename-ship.js.map +1 -1
  214. package/dist/domain/registry/request-crew.d.ts +5 -4
  215. package/dist/domain/registry/request-crew.js +6 -1
  216. package/dist/domain/registry/request-crew.js.map +1 -1
  217. package/dist/domain/registry/request-worktree-clear.d.ts +3 -2
  218. package/dist/domain/registry/request-worktree-clear.js +6 -1
  219. package/dist/domain/registry/request-worktree-clear.js.map +1 -1
  220. package/dist/domain/registry/retire-ship.d.ts +17 -7
  221. package/dist/domain/registry/retire-ship.js +48 -5
  222. package/dist/domain/registry/retire-ship.js.map +1 -1
  223. package/dist/domain/registry/scope-grant.d.ts +53 -0
  224. package/dist/domain/registry/scope-grant.js +74 -0
  225. package/dist/domain/registry/scope-grant.js.map +1 -0
  226. package/dist/domain/registry/scope-namespace.d.ts +68 -0
  227. package/dist/domain/registry/scope-namespace.js +82 -0
  228. package/dist/domain/registry/scope-namespace.js.map +1 -0
  229. package/dist/domain/registry/set-built-in-rule.d.ts +28 -0
  230. package/dist/domain/registry/set-built-in-rule.js +33 -0
  231. package/dist/domain/registry/set-built-in-rule.js.map +1 -0
  232. package/dist/domain/registry/set-network-rules.d.ts +3 -3
  233. package/dist/domain/registry/set-network-rules.js +2 -2
  234. package/dist/domain/registry/set-owner.d.ts +30 -0
  235. package/dist/domain/registry/set-owner.js +37 -0
  236. package/dist/domain/registry/set-owner.js.map +1 -0
  237. package/dist/domain/registry/set-statement.d.ts +27 -0
  238. package/dist/domain/registry/set-statement.js +28 -0
  239. package/dist/domain/registry/set-statement.js.map +1 -0
  240. package/dist/domain/registry/ship.d.ts +74 -10
  241. package/dist/domain/registry/ship.js +128 -10
  242. package/dist/domain/registry/ship.js.map +1 -1
  243. package/dist/domain/registry/statement.d.ts +32 -0
  244. package/dist/domain/registry/statement.js +39 -0
  245. package/dist/domain/registry/statement.js.map +1 -0
  246. package/dist/domain/registry/unassign-label.js +1 -1
  247. package/dist/domain/registry/unassign-label.js.map +1 -1
  248. package/dist/domain/registry/whoami.d.ts +5 -1
  249. package/dist/domain/registry/whoami.js +7 -4
  250. package/dist/domain/registry/whoami.js.map +1 -1
  251. package/dist/domain/shared/caller.d.ts +5 -2
  252. package/dist/domain/shared/caller.js.map +1 -1
  253. package/dist/domain/shared/delivery-way.d.ts +9 -5
  254. package/dist/domain/shared/delivery-way.js +17 -5
  255. package/dist/domain/shared/delivery-way.js.map +1 -1
  256. package/dist/domain/shared/errors.d.ts +1 -1
  257. package/dist/domain/shared/errors.js.map +1 -1
  258. package/dist/domain/shared/events-read.d.ts +16 -0
  259. package/dist/domain/shared/events-read.js +15 -0
  260. package/dist/domain/shared/events-read.js.map +1 -0
  261. package/dist/domain/shared/follow-fleet.d.ts +8 -2
  262. package/dist/domain/shared/follow-fleet.js +14 -4
  263. package/dist/domain/shared/follow-fleet.js.map +1 -1
  264. package/dist/domain/shared/health.d.ts +11 -2
  265. package/dist/domain/shared/health.js +11 -3
  266. package/dist/domain/shared/health.js.map +1 -1
  267. package/dist/domain/shared/history.d.ts +11 -42
  268. package/dist/domain/shared/history.js +9 -0
  269. package/dist/domain/shared/history.js.map +1 -1
  270. package/dist/domain/shared/read-fleet-events.d.ts +8 -2
  271. package/dist/domain/shared/read-fleet-events.js +10 -4
  272. package/dist/domain/shared/read-fleet-events.js.map +1 -1
  273. package/dist/domain/shared/read-health.d.ts +5 -1
  274. package/dist/domain/shared/read-health.js +13 -2
  275. package/dist/domain/shared/read-health.js.map +1 -1
  276. package/dist/domain/shared/read-inbox.d.ts +6 -3
  277. package/dist/domain/shared/read-inbox.js +14 -4
  278. package/dist/domain/shared/read-inbox.js.map +1 -1
  279. package/dist/domain/shared/read-message.d.ts +6 -2
  280. package/dist/domain/shared/read-message.js +6 -2
  281. package/dist/domain/shared/read-message.js.map +1 -1
  282. package/dist/domain/shared/read-needs-attention.d.ts +4 -1
  283. package/dist/domain/shared/read-needs-attention.js +8 -3
  284. package/dist/domain/shared/read-needs-attention.js.map +1 -1
  285. package/dist/domain/shared/read-sent-message.d.ts +31 -0
  286. package/dist/domain/shared/read-sent-message.js +28 -0
  287. package/dist/domain/shared/read-sent-message.js.map +1 -0
  288. package/dist/domain/shared/read-ship-messages.d.ts +6 -2
  289. package/dist/domain/shared/read-ship-messages.js +7 -2
  290. package/dist/domain/shared/read-ship-messages.js.map +1 -1
  291. package/dist/domain/shared/read-ship-timeline.d.ts +5 -2
  292. package/dist/domain/shared/read-ship-timeline.js +11 -6
  293. package/dist/domain/shared/read-ship-timeline.js.map +1 -1
  294. package/dist/domain/shared/read-ship-way.d.ts +11 -4
  295. package/dist/domain/shared/read-ship-way.js +9 -2
  296. package/dist/domain/shared/read-ship-way.js.map +1 -1
  297. package/dist/domain/shared/stuck.d.ts +10 -1
  298. package/dist/domain/shared/stuck.js +5 -3
  299. package/dist/domain/shared/stuck.js.map +1 -1
  300. package/dist/testing/container-images.d.ts +14 -0
  301. package/dist/testing/container-images.js +18 -0
  302. package/dist/testing/container-images.js.map +1 -0
  303. package/dist/testing/database.d.ts +14 -0
  304. package/dist/testing/database.js +48 -0
  305. package/dist/testing/database.js.map +1 -0
  306. package/dist/testing/fleet.d.ts +13 -0
  307. package/dist/testing/fleet.js +17 -0
  308. package/dist/testing/fleet.js.map +1 -0
  309. package/dist/testing/index.d.ts +12 -0
  310. package/dist/testing/index.js +12 -0
  311. package/dist/testing/index.js.map +1 -0
  312. package/dist/testing/keys.d.ts +1 -0
  313. package/dist/testing/keys.js +7 -0
  314. package/dist/testing/keys.js.map +1 -0
  315. package/dist/testing/migrate-lock.d.ts +12 -0
  316. package/dist/testing/migrate-lock.js +51 -0
  317. package/dist/testing/migrate-lock.js.map +1 -0
  318. package/dist/testing/migrated-template.d.ts +12 -0
  319. package/dist/testing/migrated-template.js +29 -0
  320. package/dist/testing/migrated-template.js.map +1 -0
  321. package/dist/testing/postgres-container.d.ts +16 -0
  322. package/dist/testing/postgres-container.js +30 -0
  323. package/dist/testing/postgres-container.js.map +1 -0
  324. package/dist/testing/postgres-global-setup.d.ts +15 -0
  325. package/dist/testing/postgres-global-setup.js +20 -0
  326. package/dist/testing/postgres-global-setup.js.map +1 -0
  327. package/dist/testing/prisma-cli.d.ts +5 -0
  328. package/dist/testing/prisma-cli.js +15 -0
  329. package/dist/testing/prisma-cli.js.map +1 -0
  330. package/dist/testing/result.d.ts +5 -0
  331. package/dist/testing/result.js +15 -0
  332. package/dist/testing/result.js.map +1 -0
  333. package/dist/wiring.d.ts +26 -4
  334. package/dist/wiring.js +51 -18
  335. package/dist/wiring.js.map +1 -1
  336. package/package.json +28 -2
  337. package/src/adapters/prisma/migrations/20261018100000_force_scope/migration.sql +8 -0
  338. package/src/adapters/prisma/migrations/20261018110000_forced_delivery/migration.sql +4 -0
  339. package/src/adapters/prisma/migrations/20261018120000_person_and_app_ships/migration.sql +3 -0
  340. package/src/adapters/prisma/migrations/20261018130000_owners/migration.sql +14 -0
  341. package/src/adapters/prisma/migrations/20261018140000_owners_on_reach_refusals/migration.sql +14 -0
  342. package/src/adapters/prisma/migrations/20261018150000_network_verbs/migration.sql +9 -0
  343. package/src/adapters/prisma/migrations/20261018160000_built_in_rules/migration.sql +13 -0
  344. package/src/adapters/prisma/migrations/20261018170000_network_rules_a_list/migration.sql +5 -0
  345. package/src/adapters/prisma/migrations/20261018180000_verb_on_reach_refusals/migration.sql +4 -0
  346. package/src/adapters/prisma/migrations/20261018200000_lease_statements/migration.sql +3 -0
  347. package/src/adapters/prisma/migrations/20261018210000_declare_and_grant_scopes/migration.sql +8 -0
  348. package/src/adapters/prisma/migrations/20261018220000_plugin_scopes/migration.sql +14 -0
  349. package/src/adapters/prisma/migrations/20261018230000_scope_namespaces/migration.sql +20 -0
  350. package/src/adapters/prisma/migrations/20261018240000_trierarch_plugin_crew_run/migration.sql +44 -0
  351. package/src/adapters/prisma/migrations/20261018250000_scope_catalogue/migration.sql +67 -0
  352. package/src/adapters/prisma/migrations/20261019090000_reach_refusal_asked_by/migration.sql +2 -0
  353. package/src/adapters/prisma/migrations/20261019100000_on_behalf_scope/migration.sql +61 -0
  354. package/src/adapters/prisma/migrations/20261019110000_events_fleet_id_occurred_at/migration.sql +2 -0
  355. package/src/adapters/prisma/migrations/20261019130000_plugin_connections/migration.sql +54 -0
  356. package/src/adapters/prisma/migrations/20261019150000_network_plugin_registered_at/migration.sql +23 -0
  357. package/src/adapters/prisma/migrations/20261019160000_lease_waker/migration.sql +4 -0
  358. package/src/adapters/prisma/schema.prisma +81 -7
  359. package/dist/domain/shared/read-no-ship-can-take.d.ts +0 -13
  360. package/dist/domain/shared/read-no-ship-can-take.js +0 -12
  361. package/dist/domain/shared/read-no-ship-can-take.js.map +0 -1
  362. package/dist/domain/shared/read-overdue.d.ts +0 -13
  363. package/dist/domain/shared/read-overdue.js +0 -12
  364. package/dist/domain/shared/read-overdue.js.map +0 -1
@@ -0,0 +1,1180 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model PluginConnection
5
+ * A plugin argo connected (decision 0034): its ship reads every ship of the
6
+ * fleet, whatever the rules, until a release or a retire of the ship ends it.
7
+ */
8
+ export type PluginConnectionModel = runtime.Types.Result.DefaultSelection<Prisma.$PluginConnectionPayload>;
9
+ export type AggregatePluginConnection = {
10
+ _count: PluginConnectionCountAggregateOutputType | null;
11
+ _min: PluginConnectionMinAggregateOutputType | null;
12
+ _max: PluginConnectionMaxAggregateOutputType | null;
13
+ };
14
+ export type PluginConnectionMinAggregateOutputType = {
15
+ fleetId: string | null;
16
+ shipId: string | null;
17
+ connectedAt: Date | null;
18
+ };
19
+ export type PluginConnectionMaxAggregateOutputType = {
20
+ fleetId: string | null;
21
+ shipId: string | null;
22
+ connectedAt: Date | null;
23
+ };
24
+ export type PluginConnectionCountAggregateOutputType = {
25
+ fleetId: number;
26
+ shipId: number;
27
+ connectedAt: number;
28
+ _all: number;
29
+ };
30
+ export type PluginConnectionMinAggregateInputType = {
31
+ fleetId?: true;
32
+ shipId?: true;
33
+ connectedAt?: true;
34
+ };
35
+ export type PluginConnectionMaxAggregateInputType = {
36
+ fleetId?: true;
37
+ shipId?: true;
38
+ connectedAt?: true;
39
+ };
40
+ export type PluginConnectionCountAggregateInputType = {
41
+ fleetId?: true;
42
+ shipId?: true;
43
+ connectedAt?: true;
44
+ _all?: true;
45
+ };
46
+ export type PluginConnectionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
47
+ /**
48
+ * Filter which PluginConnection to aggregate.
49
+ */
50
+ where?: Prisma.PluginConnectionWhereInput;
51
+ /**
52
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
53
+ *
54
+ * Determine the order of PluginConnections to fetch.
55
+ */
56
+ orderBy?: Prisma.PluginConnectionOrderByWithRelationInput | Prisma.PluginConnectionOrderByWithRelationInput[];
57
+ /**
58
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
59
+ *
60
+ * Sets the start position
61
+ */
62
+ cursor?: Prisma.PluginConnectionWhereUniqueInput;
63
+ /**
64
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
65
+ *
66
+ * Take `±n` PluginConnections from the position of the cursor.
67
+ */
68
+ take?: number;
69
+ /**
70
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
71
+ *
72
+ * Skip the first `n` PluginConnections.
73
+ */
74
+ skip?: number;
75
+ /**
76
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
77
+ *
78
+ * Count returned PluginConnections
79
+ **/
80
+ _count?: true | PluginConnectionCountAggregateInputType;
81
+ /**
82
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
83
+ *
84
+ * Select which fields to find the minimum value
85
+ **/
86
+ _min?: PluginConnectionMinAggregateInputType;
87
+ /**
88
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
89
+ *
90
+ * Select which fields to find the maximum value
91
+ **/
92
+ _max?: PluginConnectionMaxAggregateInputType;
93
+ };
94
+ export type GetPluginConnectionAggregateType<T extends PluginConnectionAggregateArgs> = {
95
+ [P in keyof T & keyof AggregatePluginConnection]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePluginConnection[P]> : Prisma.GetScalarType<T[P], AggregatePluginConnection[P]>;
96
+ };
97
+ export type PluginConnectionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
98
+ where?: Prisma.PluginConnectionWhereInput;
99
+ orderBy?: Prisma.PluginConnectionOrderByWithAggregationInput | Prisma.PluginConnectionOrderByWithAggregationInput[];
100
+ by: Prisma.PluginConnectionScalarFieldEnum[] | Prisma.PluginConnectionScalarFieldEnum;
101
+ having?: Prisma.PluginConnectionScalarWhereWithAggregatesInput;
102
+ take?: number;
103
+ skip?: number;
104
+ _count?: PluginConnectionCountAggregateInputType | true;
105
+ _min?: PluginConnectionMinAggregateInputType;
106
+ _max?: PluginConnectionMaxAggregateInputType;
107
+ };
108
+ export type PluginConnectionGroupByOutputType = {
109
+ fleetId: string;
110
+ shipId: string;
111
+ connectedAt: Date;
112
+ _count: PluginConnectionCountAggregateOutputType | null;
113
+ _min: PluginConnectionMinAggregateOutputType | null;
114
+ _max: PluginConnectionMaxAggregateOutputType | null;
115
+ };
116
+ export type GetPluginConnectionGroupByPayload<T extends PluginConnectionGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PluginConnectionGroupByOutputType, T['by']> & {
117
+ [P in ((keyof T) & (keyof PluginConnectionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PluginConnectionGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PluginConnectionGroupByOutputType[P]>;
118
+ }>>;
119
+ export type PluginConnectionWhereInput = {
120
+ AND?: Prisma.PluginConnectionWhereInput | Prisma.PluginConnectionWhereInput[];
121
+ OR?: Prisma.PluginConnectionWhereInput[];
122
+ NOT?: Prisma.PluginConnectionWhereInput | Prisma.PluginConnectionWhereInput[];
123
+ fleetId?: Prisma.StringFilter<"PluginConnection"> | string;
124
+ shipId?: Prisma.StringFilter<"PluginConnection"> | string;
125
+ connectedAt?: Prisma.DateTimeFilter<"PluginConnection"> | Date | string;
126
+ fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
127
+ ship?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
128
+ };
129
+ export type PluginConnectionOrderByWithRelationInput = {
130
+ fleetId?: Prisma.SortOrder;
131
+ shipId?: Prisma.SortOrder;
132
+ connectedAt?: Prisma.SortOrder;
133
+ fleet?: Prisma.FleetOrderByWithRelationInput;
134
+ ship?: Prisma.ShipOrderByWithRelationInput;
135
+ };
136
+ export type PluginConnectionWhereUniqueInput = Prisma.AtLeast<{
137
+ fleetId_shipId?: Prisma.PluginConnectionFleetIdShipIdCompoundUniqueInput;
138
+ AND?: Prisma.PluginConnectionWhereInput | Prisma.PluginConnectionWhereInput[];
139
+ OR?: Prisma.PluginConnectionWhereInput[];
140
+ NOT?: Prisma.PluginConnectionWhereInput | Prisma.PluginConnectionWhereInput[];
141
+ fleetId?: Prisma.StringFilter<"PluginConnection"> | string;
142
+ shipId?: Prisma.StringFilter<"PluginConnection"> | string;
143
+ connectedAt?: Prisma.DateTimeFilter<"PluginConnection"> | Date | string;
144
+ fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
145
+ ship?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
146
+ }, "fleetId_shipId">;
147
+ export type PluginConnectionOrderByWithAggregationInput = {
148
+ fleetId?: Prisma.SortOrder;
149
+ shipId?: Prisma.SortOrder;
150
+ connectedAt?: Prisma.SortOrder;
151
+ _count?: Prisma.PluginConnectionCountOrderByAggregateInput;
152
+ _max?: Prisma.PluginConnectionMaxOrderByAggregateInput;
153
+ _min?: Prisma.PluginConnectionMinOrderByAggregateInput;
154
+ };
155
+ export type PluginConnectionScalarWhereWithAggregatesInput = {
156
+ AND?: Prisma.PluginConnectionScalarWhereWithAggregatesInput | Prisma.PluginConnectionScalarWhereWithAggregatesInput[];
157
+ OR?: Prisma.PluginConnectionScalarWhereWithAggregatesInput[];
158
+ NOT?: Prisma.PluginConnectionScalarWhereWithAggregatesInput | Prisma.PluginConnectionScalarWhereWithAggregatesInput[];
159
+ fleetId?: Prisma.StringWithAggregatesFilter<"PluginConnection"> | string;
160
+ shipId?: Prisma.StringWithAggregatesFilter<"PluginConnection"> | string;
161
+ connectedAt?: Prisma.DateTimeWithAggregatesFilter<"PluginConnection"> | Date | string;
162
+ };
163
+ export type PluginConnectionCreateInput = {
164
+ connectedAt: Date | string;
165
+ fleet: Prisma.FleetCreateNestedOneWithoutPluginConnectionsInput;
166
+ ship: Prisma.ShipCreateNestedOneWithoutPluginConnectionInput;
167
+ };
168
+ export type PluginConnectionUncheckedCreateInput = {
169
+ fleetId: string;
170
+ shipId: string;
171
+ connectedAt: Date | string;
172
+ };
173
+ export type PluginConnectionUpdateInput = {
174
+ connectedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
175
+ fleet?: Prisma.FleetUpdateOneRequiredWithoutPluginConnectionsNestedInput;
176
+ ship?: Prisma.ShipUpdateOneRequiredWithoutPluginConnectionNestedInput;
177
+ };
178
+ export type PluginConnectionUncheckedUpdateInput = {
179
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
180
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
181
+ connectedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
182
+ };
183
+ export type PluginConnectionCreateManyInput = {
184
+ fleetId: string;
185
+ shipId: string;
186
+ connectedAt: Date | string;
187
+ };
188
+ export type PluginConnectionUpdateManyMutationInput = {
189
+ connectedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
190
+ };
191
+ export type PluginConnectionUncheckedUpdateManyInput = {
192
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
193
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
194
+ connectedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
195
+ };
196
+ export type PluginConnectionListRelationFilter = {
197
+ every?: Prisma.PluginConnectionWhereInput;
198
+ some?: Prisma.PluginConnectionWhereInput;
199
+ none?: Prisma.PluginConnectionWhereInput;
200
+ };
201
+ export type PluginConnectionOrderByRelationAggregateInput = {
202
+ _count?: Prisma.SortOrder;
203
+ };
204
+ export type PluginConnectionNullableScalarRelationFilter = {
205
+ is?: Prisma.PluginConnectionWhereInput | null;
206
+ isNot?: Prisma.PluginConnectionWhereInput | null;
207
+ };
208
+ export type PluginConnectionFleetIdShipIdCompoundUniqueInput = {
209
+ fleetId: string;
210
+ shipId: string;
211
+ };
212
+ export type PluginConnectionCountOrderByAggregateInput = {
213
+ fleetId?: Prisma.SortOrder;
214
+ shipId?: Prisma.SortOrder;
215
+ connectedAt?: Prisma.SortOrder;
216
+ };
217
+ export type PluginConnectionMaxOrderByAggregateInput = {
218
+ fleetId?: Prisma.SortOrder;
219
+ shipId?: Prisma.SortOrder;
220
+ connectedAt?: Prisma.SortOrder;
221
+ };
222
+ export type PluginConnectionMinOrderByAggregateInput = {
223
+ fleetId?: Prisma.SortOrder;
224
+ shipId?: Prisma.SortOrder;
225
+ connectedAt?: Prisma.SortOrder;
226
+ };
227
+ export type PluginConnectionCreateNestedManyWithoutFleetInput = {
228
+ create?: Prisma.XOR<Prisma.PluginConnectionCreateWithoutFleetInput, Prisma.PluginConnectionUncheckedCreateWithoutFleetInput> | Prisma.PluginConnectionCreateWithoutFleetInput[] | Prisma.PluginConnectionUncheckedCreateWithoutFleetInput[];
229
+ connectOrCreate?: Prisma.PluginConnectionCreateOrConnectWithoutFleetInput | Prisma.PluginConnectionCreateOrConnectWithoutFleetInput[];
230
+ createMany?: Prisma.PluginConnectionCreateManyFleetInputEnvelope;
231
+ connect?: Prisma.PluginConnectionWhereUniqueInput | Prisma.PluginConnectionWhereUniqueInput[];
232
+ };
233
+ export type PluginConnectionUncheckedCreateNestedManyWithoutFleetInput = {
234
+ create?: Prisma.XOR<Prisma.PluginConnectionCreateWithoutFleetInput, Prisma.PluginConnectionUncheckedCreateWithoutFleetInput> | Prisma.PluginConnectionCreateWithoutFleetInput[] | Prisma.PluginConnectionUncheckedCreateWithoutFleetInput[];
235
+ connectOrCreate?: Prisma.PluginConnectionCreateOrConnectWithoutFleetInput | Prisma.PluginConnectionCreateOrConnectWithoutFleetInput[];
236
+ createMany?: Prisma.PluginConnectionCreateManyFleetInputEnvelope;
237
+ connect?: Prisma.PluginConnectionWhereUniqueInput | Prisma.PluginConnectionWhereUniqueInput[];
238
+ };
239
+ export type PluginConnectionUpdateManyWithoutFleetNestedInput = {
240
+ create?: Prisma.XOR<Prisma.PluginConnectionCreateWithoutFleetInput, Prisma.PluginConnectionUncheckedCreateWithoutFleetInput> | Prisma.PluginConnectionCreateWithoutFleetInput[] | Prisma.PluginConnectionUncheckedCreateWithoutFleetInput[];
241
+ connectOrCreate?: Prisma.PluginConnectionCreateOrConnectWithoutFleetInput | Prisma.PluginConnectionCreateOrConnectWithoutFleetInput[];
242
+ upsert?: Prisma.PluginConnectionUpsertWithWhereUniqueWithoutFleetInput | Prisma.PluginConnectionUpsertWithWhereUniqueWithoutFleetInput[];
243
+ createMany?: Prisma.PluginConnectionCreateManyFleetInputEnvelope;
244
+ set?: Prisma.PluginConnectionWhereUniqueInput | Prisma.PluginConnectionWhereUniqueInput[];
245
+ disconnect?: Prisma.PluginConnectionWhereUniqueInput | Prisma.PluginConnectionWhereUniqueInput[];
246
+ delete?: Prisma.PluginConnectionWhereUniqueInput | Prisma.PluginConnectionWhereUniqueInput[];
247
+ connect?: Prisma.PluginConnectionWhereUniqueInput | Prisma.PluginConnectionWhereUniqueInput[];
248
+ update?: Prisma.PluginConnectionUpdateWithWhereUniqueWithoutFleetInput | Prisma.PluginConnectionUpdateWithWhereUniqueWithoutFleetInput[];
249
+ updateMany?: Prisma.PluginConnectionUpdateManyWithWhereWithoutFleetInput | Prisma.PluginConnectionUpdateManyWithWhereWithoutFleetInput[];
250
+ deleteMany?: Prisma.PluginConnectionScalarWhereInput | Prisma.PluginConnectionScalarWhereInput[];
251
+ };
252
+ export type PluginConnectionUncheckedUpdateManyWithoutFleetNestedInput = {
253
+ create?: Prisma.XOR<Prisma.PluginConnectionCreateWithoutFleetInput, Prisma.PluginConnectionUncheckedCreateWithoutFleetInput> | Prisma.PluginConnectionCreateWithoutFleetInput[] | Prisma.PluginConnectionUncheckedCreateWithoutFleetInput[];
254
+ connectOrCreate?: Prisma.PluginConnectionCreateOrConnectWithoutFleetInput | Prisma.PluginConnectionCreateOrConnectWithoutFleetInput[];
255
+ upsert?: Prisma.PluginConnectionUpsertWithWhereUniqueWithoutFleetInput | Prisma.PluginConnectionUpsertWithWhereUniqueWithoutFleetInput[];
256
+ createMany?: Prisma.PluginConnectionCreateManyFleetInputEnvelope;
257
+ set?: Prisma.PluginConnectionWhereUniqueInput | Prisma.PluginConnectionWhereUniqueInput[];
258
+ disconnect?: Prisma.PluginConnectionWhereUniqueInput | Prisma.PluginConnectionWhereUniqueInput[];
259
+ delete?: Prisma.PluginConnectionWhereUniqueInput | Prisma.PluginConnectionWhereUniqueInput[];
260
+ connect?: Prisma.PluginConnectionWhereUniqueInput | Prisma.PluginConnectionWhereUniqueInput[];
261
+ update?: Prisma.PluginConnectionUpdateWithWhereUniqueWithoutFleetInput | Prisma.PluginConnectionUpdateWithWhereUniqueWithoutFleetInput[];
262
+ updateMany?: Prisma.PluginConnectionUpdateManyWithWhereWithoutFleetInput | Prisma.PluginConnectionUpdateManyWithWhereWithoutFleetInput[];
263
+ deleteMany?: Prisma.PluginConnectionScalarWhereInput | Prisma.PluginConnectionScalarWhereInput[];
264
+ };
265
+ export type PluginConnectionCreateNestedOneWithoutShipInput = {
266
+ create?: Prisma.XOR<Prisma.PluginConnectionCreateWithoutShipInput, Prisma.PluginConnectionUncheckedCreateWithoutShipInput>;
267
+ connectOrCreate?: Prisma.PluginConnectionCreateOrConnectWithoutShipInput;
268
+ connect?: Prisma.PluginConnectionWhereUniqueInput;
269
+ };
270
+ export type PluginConnectionUncheckedCreateNestedOneWithoutShipInput = {
271
+ create?: Prisma.XOR<Prisma.PluginConnectionCreateWithoutShipInput, Prisma.PluginConnectionUncheckedCreateWithoutShipInput>;
272
+ connectOrCreate?: Prisma.PluginConnectionCreateOrConnectWithoutShipInput;
273
+ connect?: Prisma.PluginConnectionWhereUniqueInput;
274
+ };
275
+ export type PluginConnectionUpdateOneWithoutShipNestedInput = {
276
+ create?: Prisma.XOR<Prisma.PluginConnectionCreateWithoutShipInput, Prisma.PluginConnectionUncheckedCreateWithoutShipInput>;
277
+ connectOrCreate?: Prisma.PluginConnectionCreateOrConnectWithoutShipInput;
278
+ upsert?: Prisma.PluginConnectionUpsertWithoutShipInput;
279
+ disconnect?: Prisma.PluginConnectionWhereInput | boolean;
280
+ delete?: Prisma.PluginConnectionWhereInput | boolean;
281
+ connect?: Prisma.PluginConnectionWhereUniqueInput;
282
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PluginConnectionUpdateToOneWithWhereWithoutShipInput, Prisma.PluginConnectionUpdateWithoutShipInput>, Prisma.PluginConnectionUncheckedUpdateWithoutShipInput>;
283
+ };
284
+ export type PluginConnectionUncheckedUpdateOneWithoutShipNestedInput = {
285
+ create?: Prisma.XOR<Prisma.PluginConnectionCreateWithoutShipInput, Prisma.PluginConnectionUncheckedCreateWithoutShipInput>;
286
+ connectOrCreate?: Prisma.PluginConnectionCreateOrConnectWithoutShipInput;
287
+ upsert?: Prisma.PluginConnectionUpsertWithoutShipInput;
288
+ disconnect?: Prisma.PluginConnectionWhereInput | boolean;
289
+ delete?: Prisma.PluginConnectionWhereInput | boolean;
290
+ connect?: Prisma.PluginConnectionWhereUniqueInput;
291
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PluginConnectionUpdateToOneWithWhereWithoutShipInput, Prisma.PluginConnectionUpdateWithoutShipInput>, Prisma.PluginConnectionUncheckedUpdateWithoutShipInput>;
292
+ };
293
+ export type PluginConnectionCreateWithoutFleetInput = {
294
+ connectedAt: Date | string;
295
+ ship: Prisma.ShipCreateNestedOneWithoutPluginConnectionInput;
296
+ };
297
+ export type PluginConnectionUncheckedCreateWithoutFleetInput = {
298
+ shipId: string;
299
+ connectedAt: Date | string;
300
+ };
301
+ export type PluginConnectionCreateOrConnectWithoutFleetInput = {
302
+ where: Prisma.PluginConnectionWhereUniqueInput;
303
+ create: Prisma.XOR<Prisma.PluginConnectionCreateWithoutFleetInput, Prisma.PluginConnectionUncheckedCreateWithoutFleetInput>;
304
+ };
305
+ export type PluginConnectionCreateManyFleetInputEnvelope = {
306
+ data: Prisma.PluginConnectionCreateManyFleetInput | Prisma.PluginConnectionCreateManyFleetInput[];
307
+ skipDuplicates?: boolean;
308
+ };
309
+ export type PluginConnectionUpsertWithWhereUniqueWithoutFleetInput = {
310
+ where: Prisma.PluginConnectionWhereUniqueInput;
311
+ update: Prisma.XOR<Prisma.PluginConnectionUpdateWithoutFleetInput, Prisma.PluginConnectionUncheckedUpdateWithoutFleetInput>;
312
+ create: Prisma.XOR<Prisma.PluginConnectionCreateWithoutFleetInput, Prisma.PluginConnectionUncheckedCreateWithoutFleetInput>;
313
+ };
314
+ export type PluginConnectionUpdateWithWhereUniqueWithoutFleetInput = {
315
+ where: Prisma.PluginConnectionWhereUniqueInput;
316
+ data: Prisma.XOR<Prisma.PluginConnectionUpdateWithoutFleetInput, Prisma.PluginConnectionUncheckedUpdateWithoutFleetInput>;
317
+ };
318
+ export type PluginConnectionUpdateManyWithWhereWithoutFleetInput = {
319
+ where: Prisma.PluginConnectionScalarWhereInput;
320
+ data: Prisma.XOR<Prisma.PluginConnectionUpdateManyMutationInput, Prisma.PluginConnectionUncheckedUpdateManyWithoutFleetInput>;
321
+ };
322
+ export type PluginConnectionScalarWhereInput = {
323
+ AND?: Prisma.PluginConnectionScalarWhereInput | Prisma.PluginConnectionScalarWhereInput[];
324
+ OR?: Prisma.PluginConnectionScalarWhereInput[];
325
+ NOT?: Prisma.PluginConnectionScalarWhereInput | Prisma.PluginConnectionScalarWhereInput[];
326
+ fleetId?: Prisma.StringFilter<"PluginConnection"> | string;
327
+ shipId?: Prisma.StringFilter<"PluginConnection"> | string;
328
+ connectedAt?: Prisma.DateTimeFilter<"PluginConnection"> | Date | string;
329
+ };
330
+ export type PluginConnectionCreateWithoutShipInput = {
331
+ connectedAt: Date | string;
332
+ fleet: Prisma.FleetCreateNestedOneWithoutPluginConnectionsInput;
333
+ };
334
+ export type PluginConnectionUncheckedCreateWithoutShipInput = {
335
+ connectedAt: Date | string;
336
+ };
337
+ export type PluginConnectionCreateOrConnectWithoutShipInput = {
338
+ where: Prisma.PluginConnectionWhereUniqueInput;
339
+ create: Prisma.XOR<Prisma.PluginConnectionCreateWithoutShipInput, Prisma.PluginConnectionUncheckedCreateWithoutShipInput>;
340
+ };
341
+ export type PluginConnectionUpsertWithoutShipInput = {
342
+ update: Prisma.XOR<Prisma.PluginConnectionUpdateWithoutShipInput, Prisma.PluginConnectionUncheckedUpdateWithoutShipInput>;
343
+ create: Prisma.XOR<Prisma.PluginConnectionCreateWithoutShipInput, Prisma.PluginConnectionUncheckedCreateWithoutShipInput>;
344
+ where?: Prisma.PluginConnectionWhereInput;
345
+ };
346
+ export type PluginConnectionUpdateToOneWithWhereWithoutShipInput = {
347
+ where?: Prisma.PluginConnectionWhereInput;
348
+ data: Prisma.XOR<Prisma.PluginConnectionUpdateWithoutShipInput, Prisma.PluginConnectionUncheckedUpdateWithoutShipInput>;
349
+ };
350
+ export type PluginConnectionUpdateWithoutShipInput = {
351
+ connectedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
352
+ fleet?: Prisma.FleetUpdateOneRequiredWithoutPluginConnectionsNestedInput;
353
+ };
354
+ export type PluginConnectionUncheckedUpdateWithoutShipInput = {
355
+ connectedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
356
+ };
357
+ export type PluginConnectionCreateManyFleetInput = {
358
+ shipId: string;
359
+ connectedAt: Date | string;
360
+ };
361
+ export type PluginConnectionUpdateWithoutFleetInput = {
362
+ connectedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
363
+ ship?: Prisma.ShipUpdateOneRequiredWithoutPluginConnectionNestedInput;
364
+ };
365
+ export type PluginConnectionUncheckedUpdateWithoutFleetInput = {
366
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
367
+ connectedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
368
+ };
369
+ export type PluginConnectionUncheckedUpdateManyWithoutFleetInput = {
370
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
371
+ connectedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
372
+ };
373
+ export type PluginConnectionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
374
+ fleetId?: boolean;
375
+ shipId?: boolean;
376
+ connectedAt?: boolean;
377
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
378
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
379
+ }, ExtArgs["result"]["pluginConnection"]>;
380
+ export type PluginConnectionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
381
+ fleetId?: boolean;
382
+ shipId?: boolean;
383
+ connectedAt?: boolean;
384
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
385
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
386
+ }, ExtArgs["result"]["pluginConnection"]>;
387
+ export type PluginConnectionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
388
+ fleetId?: boolean;
389
+ shipId?: boolean;
390
+ connectedAt?: boolean;
391
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
392
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
393
+ }, ExtArgs["result"]["pluginConnection"]>;
394
+ export type PluginConnectionSelectScalar = {
395
+ fleetId?: boolean;
396
+ shipId?: boolean;
397
+ connectedAt?: boolean;
398
+ };
399
+ export type PluginConnectionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "shipId" | "connectedAt", ExtArgs["result"]["pluginConnection"]>;
400
+ export type PluginConnectionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
401
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
402
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
403
+ };
404
+ export type PluginConnectionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
405
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
406
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
407
+ };
408
+ export type PluginConnectionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
409
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
410
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
411
+ };
412
+ export type $PluginConnectionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
413
+ name: "PluginConnection";
414
+ objects: {
415
+ fleet: Prisma.$FleetPayload<ExtArgs>;
416
+ ship: Prisma.$ShipPayload<ExtArgs>;
417
+ };
418
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
419
+ fleetId: string;
420
+ shipId: string;
421
+ connectedAt: Date;
422
+ }, ExtArgs["result"]["pluginConnection"]>;
423
+ composites: {};
424
+ };
425
+ export type PluginConnectionGetPayload<S extends boolean | null | undefined | PluginConnectionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PluginConnectionPayload, S>;
426
+ export type PluginConnectionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PluginConnectionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
427
+ select?: PluginConnectionCountAggregateInputType | true;
428
+ };
429
+ export interface PluginConnectionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
430
+ [K: symbol]: {
431
+ types: Prisma.TypeMap<ExtArgs>['model']['PluginConnection'];
432
+ meta: {
433
+ name: 'PluginConnection';
434
+ };
435
+ };
436
+ /**
437
+ * Find zero or one PluginConnection that matches the filter.
438
+ * @param {PluginConnectionFindUniqueArgs} args - Arguments to find a PluginConnection
439
+ * @example
440
+ * // Get one PluginConnection
441
+ * const pluginConnection = await prisma.pluginConnection.findUnique({
442
+ * where: {
443
+ * // ... provide filter here
444
+ * }
445
+ * })
446
+ */
447
+ findUnique<T extends PluginConnectionFindUniqueArgs>(args: Prisma.SelectSubset<T, PluginConnectionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PluginConnectionClient<runtime.Types.Result.GetResult<Prisma.$PluginConnectionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
448
+ /**
449
+ * Find one PluginConnection that matches the filter or throw an error with `error.code='P2025'`
450
+ * if no matches were found.
451
+ * @param {PluginConnectionFindUniqueOrThrowArgs} args - Arguments to find a PluginConnection
452
+ * @example
453
+ * // Get one PluginConnection
454
+ * const pluginConnection = await prisma.pluginConnection.findUniqueOrThrow({
455
+ * where: {
456
+ * // ... provide filter here
457
+ * }
458
+ * })
459
+ */
460
+ findUniqueOrThrow<T extends PluginConnectionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PluginConnectionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PluginConnectionClient<runtime.Types.Result.GetResult<Prisma.$PluginConnectionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
461
+ /**
462
+ * Find the first PluginConnection that matches the filter.
463
+ * Note, that providing `undefined` is treated as the value not being there.
464
+ * Read more here: https://pris.ly/d/null-undefined
465
+ * @param {PluginConnectionFindFirstArgs} args - Arguments to find a PluginConnection
466
+ * @example
467
+ * // Get one PluginConnection
468
+ * const pluginConnection = await prisma.pluginConnection.findFirst({
469
+ * where: {
470
+ * // ... provide filter here
471
+ * }
472
+ * })
473
+ */
474
+ findFirst<T extends PluginConnectionFindFirstArgs>(args?: Prisma.SelectSubset<T, PluginConnectionFindFirstArgs<ExtArgs>>): Prisma.Prisma__PluginConnectionClient<runtime.Types.Result.GetResult<Prisma.$PluginConnectionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
475
+ /**
476
+ * Find the first PluginConnection that matches the filter or
477
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
478
+ * Note, that providing `undefined` is treated as the value not being there.
479
+ * Read more here: https://pris.ly/d/null-undefined
480
+ * @param {PluginConnectionFindFirstOrThrowArgs} args - Arguments to find a PluginConnection
481
+ * @example
482
+ * // Get one PluginConnection
483
+ * const pluginConnection = await prisma.pluginConnection.findFirstOrThrow({
484
+ * where: {
485
+ * // ... provide filter here
486
+ * }
487
+ * })
488
+ */
489
+ findFirstOrThrow<T extends PluginConnectionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PluginConnectionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PluginConnectionClient<runtime.Types.Result.GetResult<Prisma.$PluginConnectionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
490
+ /**
491
+ * Find zero or more PluginConnections that matches the filter.
492
+ * Note, that providing `undefined` is treated as the value not being there.
493
+ * Read more here: https://pris.ly/d/null-undefined
494
+ * @param {PluginConnectionFindManyArgs} args - Arguments to filter and select certain fields only.
495
+ * @example
496
+ * // Get all PluginConnections
497
+ * const pluginConnections = await prisma.pluginConnection.findMany()
498
+ *
499
+ * // Get first 10 PluginConnections
500
+ * const pluginConnections = await prisma.pluginConnection.findMany({ take: 10 })
501
+ *
502
+ * // Only select the `fleetId`
503
+ * const pluginConnectionWithFleetIdOnly = await prisma.pluginConnection.findMany({ select: { fleetId: true } })
504
+ *
505
+ */
506
+ findMany<T extends PluginConnectionFindManyArgs>(args?: Prisma.SelectSubset<T, PluginConnectionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PluginConnectionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
507
+ /**
508
+ * Create a PluginConnection.
509
+ * @param {PluginConnectionCreateArgs} args - Arguments to create a PluginConnection.
510
+ * @example
511
+ * // Create one PluginConnection
512
+ * const PluginConnection = await prisma.pluginConnection.create({
513
+ * data: {
514
+ * // ... data to create a PluginConnection
515
+ * }
516
+ * })
517
+ *
518
+ */
519
+ create<T extends PluginConnectionCreateArgs>(args: Prisma.SelectSubset<T, PluginConnectionCreateArgs<ExtArgs>>): Prisma.Prisma__PluginConnectionClient<runtime.Types.Result.GetResult<Prisma.$PluginConnectionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
520
+ /**
521
+ * Create many PluginConnections.
522
+ * @param {PluginConnectionCreateManyArgs} args - Arguments to create many PluginConnections.
523
+ * @example
524
+ * // Create many PluginConnections
525
+ * const pluginConnection = await prisma.pluginConnection.createMany({
526
+ * data: [
527
+ * // ... provide data here
528
+ * ]
529
+ * })
530
+ *
531
+ */
532
+ createMany<T extends PluginConnectionCreateManyArgs>(args?: Prisma.SelectSubset<T, PluginConnectionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
533
+ /**
534
+ * Create many PluginConnections and returns the data saved in the database.
535
+ * @param {PluginConnectionCreateManyAndReturnArgs} args - Arguments to create many PluginConnections.
536
+ * @example
537
+ * // Create many PluginConnections
538
+ * const pluginConnection = await prisma.pluginConnection.createManyAndReturn({
539
+ * data: [
540
+ * // ... provide data here
541
+ * ]
542
+ * })
543
+ *
544
+ * // Create many PluginConnections and only return the `fleetId`
545
+ * const pluginConnectionWithFleetIdOnly = await prisma.pluginConnection.createManyAndReturn({
546
+ * select: { fleetId: true },
547
+ * data: [
548
+ * // ... provide data here
549
+ * ]
550
+ * })
551
+ * Note, that providing `undefined` is treated as the value not being there.
552
+ * Read more here: https://pris.ly/d/null-undefined
553
+ *
554
+ */
555
+ createManyAndReturn<T extends PluginConnectionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PluginConnectionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PluginConnectionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
556
+ /**
557
+ * Delete a PluginConnection.
558
+ * @param {PluginConnectionDeleteArgs} args - Arguments to delete one PluginConnection.
559
+ * @example
560
+ * // Delete one PluginConnection
561
+ * const PluginConnection = await prisma.pluginConnection.delete({
562
+ * where: {
563
+ * // ... filter to delete one PluginConnection
564
+ * }
565
+ * })
566
+ *
567
+ */
568
+ delete<T extends PluginConnectionDeleteArgs>(args: Prisma.SelectSubset<T, PluginConnectionDeleteArgs<ExtArgs>>): Prisma.Prisma__PluginConnectionClient<runtime.Types.Result.GetResult<Prisma.$PluginConnectionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
569
+ /**
570
+ * Update one PluginConnection.
571
+ * @param {PluginConnectionUpdateArgs} args - Arguments to update one PluginConnection.
572
+ * @example
573
+ * // Update one PluginConnection
574
+ * const pluginConnection = await prisma.pluginConnection.update({
575
+ * where: {
576
+ * // ... provide filter here
577
+ * },
578
+ * data: {
579
+ * // ... provide data here
580
+ * }
581
+ * })
582
+ *
583
+ */
584
+ update<T extends PluginConnectionUpdateArgs>(args: Prisma.SelectSubset<T, PluginConnectionUpdateArgs<ExtArgs>>): Prisma.Prisma__PluginConnectionClient<runtime.Types.Result.GetResult<Prisma.$PluginConnectionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
585
+ /**
586
+ * Delete zero or more PluginConnections.
587
+ * @param {PluginConnectionDeleteManyArgs} args - Arguments to filter PluginConnections to delete.
588
+ * @example
589
+ * // Delete a few PluginConnections
590
+ * const { count } = await prisma.pluginConnection.deleteMany({
591
+ * where: {
592
+ * // ... provide filter here
593
+ * }
594
+ * })
595
+ *
596
+ */
597
+ deleteMany<T extends PluginConnectionDeleteManyArgs>(args?: Prisma.SelectSubset<T, PluginConnectionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
598
+ /**
599
+ * Update zero or more PluginConnections.
600
+ * Note, that providing `undefined` is treated as the value not being there.
601
+ * Read more here: https://pris.ly/d/null-undefined
602
+ * @param {PluginConnectionUpdateManyArgs} args - Arguments to update one or more rows.
603
+ * @example
604
+ * // Update many PluginConnections
605
+ * const pluginConnection = await prisma.pluginConnection.updateMany({
606
+ * where: {
607
+ * // ... provide filter here
608
+ * },
609
+ * data: {
610
+ * // ... provide data here
611
+ * }
612
+ * })
613
+ *
614
+ */
615
+ updateMany<T extends PluginConnectionUpdateManyArgs>(args: Prisma.SelectSubset<T, PluginConnectionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
616
+ /**
617
+ * Update zero or more PluginConnections and returns the data updated in the database.
618
+ * @param {PluginConnectionUpdateManyAndReturnArgs} args - Arguments to update many PluginConnections.
619
+ * @example
620
+ * // Update many PluginConnections
621
+ * const pluginConnection = await prisma.pluginConnection.updateManyAndReturn({
622
+ * where: {
623
+ * // ... provide filter here
624
+ * },
625
+ * data: [
626
+ * // ... provide data here
627
+ * ]
628
+ * })
629
+ *
630
+ * // Update zero or more PluginConnections and only return the `fleetId`
631
+ * const pluginConnectionWithFleetIdOnly = await prisma.pluginConnection.updateManyAndReturn({
632
+ * select: { fleetId: true },
633
+ * where: {
634
+ * // ... provide filter here
635
+ * },
636
+ * data: [
637
+ * // ... provide data here
638
+ * ]
639
+ * })
640
+ * Note, that providing `undefined` is treated as the value not being there.
641
+ * Read more here: https://pris.ly/d/null-undefined
642
+ *
643
+ */
644
+ updateManyAndReturn<T extends PluginConnectionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PluginConnectionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PluginConnectionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
645
+ /**
646
+ * Create or update one PluginConnection.
647
+ * @param {PluginConnectionUpsertArgs} args - Arguments to update or create a PluginConnection.
648
+ * @example
649
+ * // Update or create a PluginConnection
650
+ * const pluginConnection = await prisma.pluginConnection.upsert({
651
+ * create: {
652
+ * // ... data to create a PluginConnection
653
+ * },
654
+ * update: {
655
+ * // ... in case it already exists, update
656
+ * },
657
+ * where: {
658
+ * // ... the filter for the PluginConnection we want to update
659
+ * }
660
+ * })
661
+ */
662
+ upsert<T extends PluginConnectionUpsertArgs>(args: Prisma.SelectSubset<T, PluginConnectionUpsertArgs<ExtArgs>>): Prisma.Prisma__PluginConnectionClient<runtime.Types.Result.GetResult<Prisma.$PluginConnectionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
663
+ /**
664
+ * Count the number of PluginConnections.
665
+ * Note, that providing `undefined` is treated as the value not being there.
666
+ * Read more here: https://pris.ly/d/null-undefined
667
+ * @param {PluginConnectionCountArgs} args - Arguments to filter PluginConnections to count.
668
+ * @example
669
+ * // Count the number of PluginConnections
670
+ * const count = await prisma.pluginConnection.count({
671
+ * where: {
672
+ * // ... the filter for the PluginConnections we want to count
673
+ * }
674
+ * })
675
+ **/
676
+ count<T extends PluginConnectionCountArgs>(args?: Prisma.Subset<T, PluginConnectionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PluginConnectionCountAggregateOutputType> : number>;
677
+ /**
678
+ * Allows you to perform aggregations operations on a PluginConnection.
679
+ * Note, that providing `undefined` is treated as the value not being there.
680
+ * Read more here: https://pris.ly/d/null-undefined
681
+ * @param {PluginConnectionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
682
+ * @example
683
+ * // Ordered by age ascending
684
+ * // Where email contains prisma.io
685
+ * // Limited to the 10 users
686
+ * const aggregations = await prisma.user.aggregate({
687
+ * _avg: {
688
+ * age: true,
689
+ * },
690
+ * where: {
691
+ * email: {
692
+ * contains: "prisma.io",
693
+ * },
694
+ * },
695
+ * orderBy: {
696
+ * age: "asc",
697
+ * },
698
+ * take: 10,
699
+ * })
700
+ **/
701
+ aggregate<T extends PluginConnectionAggregateArgs>(args: Prisma.Subset<T, PluginConnectionAggregateArgs>): Prisma.PrismaPromise<GetPluginConnectionAggregateType<T>>;
702
+ /**
703
+ * Group by PluginConnection.
704
+ * Note, that providing `undefined` is treated as the value not being there.
705
+ * Read more here: https://pris.ly/d/null-undefined
706
+ * @param {PluginConnectionGroupByArgs} args - Group by arguments.
707
+ * @example
708
+ * // Group by city, order by createdAt, get count
709
+ * const result = await prisma.user.groupBy({
710
+ * by: ['city', 'createdAt'],
711
+ * orderBy: {
712
+ * createdAt: true
713
+ * },
714
+ * _count: {
715
+ * _all: true
716
+ * },
717
+ * })
718
+ *
719
+ **/
720
+ groupBy<T extends PluginConnectionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
721
+ orderBy: PluginConnectionGroupByArgs['orderBy'];
722
+ } : {
723
+ orderBy?: PluginConnectionGroupByArgs['orderBy'];
724
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
725
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
726
+ Error,
727
+ 'Field ',
728
+ P,
729
+ ` in "having" needs to be provided in "by"`
730
+ ];
731
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
732
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
733
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
734
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
735
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
736
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
737
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, PluginConnectionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPluginConnectionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
738
+ /**
739
+ * Fields of the PluginConnection model
740
+ */
741
+ readonly fields: PluginConnectionFieldRefs;
742
+ }
743
+ /**
744
+ * The delegate class that acts as a "Promise-like" for PluginConnection.
745
+ * Why is this prefixed with `Prisma__`?
746
+ * Because we want to prevent naming conflicts as mentioned in
747
+ * https://github.com/prisma/prisma-client-js/issues/707
748
+ */
749
+ export interface Prisma__PluginConnectionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
750
+ readonly [Symbol.toStringTag]: "PrismaPromise";
751
+ fleet<T extends Prisma.FleetDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FleetDefaultArgs<ExtArgs>>): Prisma.Prisma__FleetClient<runtime.Types.Result.GetResult<Prisma.$FleetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
752
+ ship<T extends Prisma.ShipDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ShipDefaultArgs<ExtArgs>>): Prisma.Prisma__ShipClient<runtime.Types.Result.GetResult<Prisma.$ShipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
753
+ /**
754
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
755
+ * @param onfulfilled The callback to execute when the Promise is resolved.
756
+ * @param onrejected The callback to execute when the Promise is rejected.
757
+ * @returns A Promise for the completion of which ever callback is executed.
758
+ */
759
+ 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>;
760
+ /**
761
+ * Attaches a callback for only the rejection of the Promise.
762
+ * @param onrejected The callback to execute when the Promise is rejected.
763
+ * @returns A Promise for the completion of the callback.
764
+ */
765
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
766
+ /**
767
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
768
+ * resolved value cannot be modified from the callback.
769
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
770
+ * @returns A Promise for the completion of the callback.
771
+ */
772
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
773
+ }
774
+ /**
775
+ * Fields of the PluginConnection model
776
+ */
777
+ export interface PluginConnectionFieldRefs {
778
+ readonly fleetId: Prisma.FieldRef<"PluginConnection", 'String'>;
779
+ readonly shipId: Prisma.FieldRef<"PluginConnection", 'String'>;
780
+ readonly connectedAt: Prisma.FieldRef<"PluginConnection", 'DateTime'>;
781
+ }
782
+ /**
783
+ * PluginConnection findUnique
784
+ */
785
+ export type PluginConnectionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
786
+ /**
787
+ * Select specific fields to fetch from the PluginConnection
788
+ */
789
+ select?: Prisma.PluginConnectionSelect<ExtArgs> | null;
790
+ /**
791
+ * Omit specific fields from the PluginConnection
792
+ */
793
+ omit?: Prisma.PluginConnectionOmit<ExtArgs> | null;
794
+ /**
795
+ * Choose, which related nodes to fetch as well
796
+ */
797
+ include?: Prisma.PluginConnectionInclude<ExtArgs> | null;
798
+ /**
799
+ * Filter, which PluginConnection to fetch.
800
+ */
801
+ where: Prisma.PluginConnectionWhereUniqueInput;
802
+ };
803
+ /**
804
+ * PluginConnection findUniqueOrThrow
805
+ */
806
+ export type PluginConnectionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
807
+ /**
808
+ * Select specific fields to fetch from the PluginConnection
809
+ */
810
+ select?: Prisma.PluginConnectionSelect<ExtArgs> | null;
811
+ /**
812
+ * Omit specific fields from the PluginConnection
813
+ */
814
+ omit?: Prisma.PluginConnectionOmit<ExtArgs> | null;
815
+ /**
816
+ * Choose, which related nodes to fetch as well
817
+ */
818
+ include?: Prisma.PluginConnectionInclude<ExtArgs> | null;
819
+ /**
820
+ * Filter, which PluginConnection to fetch.
821
+ */
822
+ where: Prisma.PluginConnectionWhereUniqueInput;
823
+ };
824
+ /**
825
+ * PluginConnection findFirst
826
+ */
827
+ export type PluginConnectionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
828
+ /**
829
+ * Select specific fields to fetch from the PluginConnection
830
+ */
831
+ select?: Prisma.PluginConnectionSelect<ExtArgs> | null;
832
+ /**
833
+ * Omit specific fields from the PluginConnection
834
+ */
835
+ omit?: Prisma.PluginConnectionOmit<ExtArgs> | null;
836
+ /**
837
+ * Choose, which related nodes to fetch as well
838
+ */
839
+ include?: Prisma.PluginConnectionInclude<ExtArgs> | null;
840
+ /**
841
+ * Filter, which PluginConnection to fetch.
842
+ */
843
+ where?: Prisma.PluginConnectionWhereInput;
844
+ /**
845
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
846
+ *
847
+ * Determine the order of PluginConnections to fetch.
848
+ */
849
+ orderBy?: Prisma.PluginConnectionOrderByWithRelationInput | Prisma.PluginConnectionOrderByWithRelationInput[];
850
+ /**
851
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
852
+ *
853
+ * Sets the position for searching for PluginConnections.
854
+ */
855
+ cursor?: Prisma.PluginConnectionWhereUniqueInput;
856
+ /**
857
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
858
+ *
859
+ * Take `±n` PluginConnections from the position of the cursor.
860
+ */
861
+ take?: number;
862
+ /**
863
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
864
+ *
865
+ * Skip the first `n` PluginConnections.
866
+ */
867
+ skip?: number;
868
+ /**
869
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
870
+ *
871
+ * Filter by unique combinations of PluginConnections.
872
+ */
873
+ distinct?: Prisma.PluginConnectionScalarFieldEnum | Prisma.PluginConnectionScalarFieldEnum[];
874
+ };
875
+ /**
876
+ * PluginConnection findFirstOrThrow
877
+ */
878
+ export type PluginConnectionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
879
+ /**
880
+ * Select specific fields to fetch from the PluginConnection
881
+ */
882
+ select?: Prisma.PluginConnectionSelect<ExtArgs> | null;
883
+ /**
884
+ * Omit specific fields from the PluginConnection
885
+ */
886
+ omit?: Prisma.PluginConnectionOmit<ExtArgs> | null;
887
+ /**
888
+ * Choose, which related nodes to fetch as well
889
+ */
890
+ include?: Prisma.PluginConnectionInclude<ExtArgs> | null;
891
+ /**
892
+ * Filter, which PluginConnection to fetch.
893
+ */
894
+ where?: Prisma.PluginConnectionWhereInput;
895
+ /**
896
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
897
+ *
898
+ * Determine the order of PluginConnections to fetch.
899
+ */
900
+ orderBy?: Prisma.PluginConnectionOrderByWithRelationInput | Prisma.PluginConnectionOrderByWithRelationInput[];
901
+ /**
902
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
903
+ *
904
+ * Sets the position for searching for PluginConnections.
905
+ */
906
+ cursor?: Prisma.PluginConnectionWhereUniqueInput;
907
+ /**
908
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
909
+ *
910
+ * Take `±n` PluginConnections from the position of the cursor.
911
+ */
912
+ take?: number;
913
+ /**
914
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
915
+ *
916
+ * Skip the first `n` PluginConnections.
917
+ */
918
+ skip?: number;
919
+ /**
920
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
921
+ *
922
+ * Filter by unique combinations of PluginConnections.
923
+ */
924
+ distinct?: Prisma.PluginConnectionScalarFieldEnum | Prisma.PluginConnectionScalarFieldEnum[];
925
+ };
926
+ /**
927
+ * PluginConnection findMany
928
+ */
929
+ export type PluginConnectionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
930
+ /**
931
+ * Select specific fields to fetch from the PluginConnection
932
+ */
933
+ select?: Prisma.PluginConnectionSelect<ExtArgs> | null;
934
+ /**
935
+ * Omit specific fields from the PluginConnection
936
+ */
937
+ omit?: Prisma.PluginConnectionOmit<ExtArgs> | null;
938
+ /**
939
+ * Choose, which related nodes to fetch as well
940
+ */
941
+ include?: Prisma.PluginConnectionInclude<ExtArgs> | null;
942
+ /**
943
+ * Filter, which PluginConnections to fetch.
944
+ */
945
+ where?: Prisma.PluginConnectionWhereInput;
946
+ /**
947
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
948
+ *
949
+ * Determine the order of PluginConnections to fetch.
950
+ */
951
+ orderBy?: Prisma.PluginConnectionOrderByWithRelationInput | Prisma.PluginConnectionOrderByWithRelationInput[];
952
+ /**
953
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
954
+ *
955
+ * Sets the position for listing PluginConnections.
956
+ */
957
+ cursor?: Prisma.PluginConnectionWhereUniqueInput;
958
+ /**
959
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
960
+ *
961
+ * Take `±n` PluginConnections from the position of the cursor.
962
+ */
963
+ take?: number;
964
+ /**
965
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
966
+ *
967
+ * Skip the first `n` PluginConnections.
968
+ */
969
+ skip?: number;
970
+ /**
971
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
972
+ *
973
+ * Filter by unique combinations of PluginConnections.
974
+ */
975
+ distinct?: Prisma.PluginConnectionScalarFieldEnum | Prisma.PluginConnectionScalarFieldEnum[];
976
+ };
977
+ /**
978
+ * PluginConnection create
979
+ */
980
+ export type PluginConnectionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
981
+ /**
982
+ * Select specific fields to fetch from the PluginConnection
983
+ */
984
+ select?: Prisma.PluginConnectionSelect<ExtArgs> | null;
985
+ /**
986
+ * Omit specific fields from the PluginConnection
987
+ */
988
+ omit?: Prisma.PluginConnectionOmit<ExtArgs> | null;
989
+ /**
990
+ * Choose, which related nodes to fetch as well
991
+ */
992
+ include?: Prisma.PluginConnectionInclude<ExtArgs> | null;
993
+ /**
994
+ * The data needed to create a PluginConnection.
995
+ */
996
+ data: Prisma.XOR<Prisma.PluginConnectionCreateInput, Prisma.PluginConnectionUncheckedCreateInput>;
997
+ };
998
+ /**
999
+ * PluginConnection createMany
1000
+ */
1001
+ export type PluginConnectionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1002
+ /**
1003
+ * The data used to create many PluginConnections.
1004
+ */
1005
+ data: Prisma.PluginConnectionCreateManyInput | Prisma.PluginConnectionCreateManyInput[];
1006
+ skipDuplicates?: boolean;
1007
+ };
1008
+ /**
1009
+ * PluginConnection createManyAndReturn
1010
+ */
1011
+ export type PluginConnectionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1012
+ /**
1013
+ * Select specific fields to fetch from the PluginConnection
1014
+ */
1015
+ select?: Prisma.PluginConnectionSelectCreateManyAndReturn<ExtArgs> | null;
1016
+ /**
1017
+ * Omit specific fields from the PluginConnection
1018
+ */
1019
+ omit?: Prisma.PluginConnectionOmit<ExtArgs> | null;
1020
+ /**
1021
+ * The data used to create many PluginConnections.
1022
+ */
1023
+ data: Prisma.PluginConnectionCreateManyInput | Prisma.PluginConnectionCreateManyInput[];
1024
+ skipDuplicates?: boolean;
1025
+ /**
1026
+ * Choose, which related nodes to fetch as well
1027
+ */
1028
+ include?: Prisma.PluginConnectionIncludeCreateManyAndReturn<ExtArgs> | null;
1029
+ };
1030
+ /**
1031
+ * PluginConnection update
1032
+ */
1033
+ export type PluginConnectionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1034
+ /**
1035
+ * Select specific fields to fetch from the PluginConnection
1036
+ */
1037
+ select?: Prisma.PluginConnectionSelect<ExtArgs> | null;
1038
+ /**
1039
+ * Omit specific fields from the PluginConnection
1040
+ */
1041
+ omit?: Prisma.PluginConnectionOmit<ExtArgs> | null;
1042
+ /**
1043
+ * Choose, which related nodes to fetch as well
1044
+ */
1045
+ include?: Prisma.PluginConnectionInclude<ExtArgs> | null;
1046
+ /**
1047
+ * The data needed to update a PluginConnection.
1048
+ */
1049
+ data: Prisma.XOR<Prisma.PluginConnectionUpdateInput, Prisma.PluginConnectionUncheckedUpdateInput>;
1050
+ /**
1051
+ * Choose, which PluginConnection to update.
1052
+ */
1053
+ where: Prisma.PluginConnectionWhereUniqueInput;
1054
+ };
1055
+ /**
1056
+ * PluginConnection updateMany
1057
+ */
1058
+ export type PluginConnectionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1059
+ /**
1060
+ * The data used to update PluginConnections.
1061
+ */
1062
+ data: Prisma.XOR<Prisma.PluginConnectionUpdateManyMutationInput, Prisma.PluginConnectionUncheckedUpdateManyInput>;
1063
+ /**
1064
+ * Filter which PluginConnections to update
1065
+ */
1066
+ where?: Prisma.PluginConnectionWhereInput;
1067
+ /**
1068
+ * Limit how many PluginConnections to update.
1069
+ */
1070
+ limit?: number;
1071
+ };
1072
+ /**
1073
+ * PluginConnection updateManyAndReturn
1074
+ */
1075
+ export type PluginConnectionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1076
+ /**
1077
+ * Select specific fields to fetch from the PluginConnection
1078
+ */
1079
+ select?: Prisma.PluginConnectionSelectUpdateManyAndReturn<ExtArgs> | null;
1080
+ /**
1081
+ * Omit specific fields from the PluginConnection
1082
+ */
1083
+ omit?: Prisma.PluginConnectionOmit<ExtArgs> | null;
1084
+ /**
1085
+ * The data used to update PluginConnections.
1086
+ */
1087
+ data: Prisma.XOR<Prisma.PluginConnectionUpdateManyMutationInput, Prisma.PluginConnectionUncheckedUpdateManyInput>;
1088
+ /**
1089
+ * Filter which PluginConnections to update
1090
+ */
1091
+ where?: Prisma.PluginConnectionWhereInput;
1092
+ /**
1093
+ * Limit how many PluginConnections to update.
1094
+ */
1095
+ limit?: number;
1096
+ /**
1097
+ * Choose, which related nodes to fetch as well
1098
+ */
1099
+ include?: Prisma.PluginConnectionIncludeUpdateManyAndReturn<ExtArgs> | null;
1100
+ };
1101
+ /**
1102
+ * PluginConnection upsert
1103
+ */
1104
+ export type PluginConnectionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1105
+ /**
1106
+ * Select specific fields to fetch from the PluginConnection
1107
+ */
1108
+ select?: Prisma.PluginConnectionSelect<ExtArgs> | null;
1109
+ /**
1110
+ * Omit specific fields from the PluginConnection
1111
+ */
1112
+ omit?: Prisma.PluginConnectionOmit<ExtArgs> | null;
1113
+ /**
1114
+ * Choose, which related nodes to fetch as well
1115
+ */
1116
+ include?: Prisma.PluginConnectionInclude<ExtArgs> | null;
1117
+ /**
1118
+ * The filter to search for the PluginConnection to update in case it exists.
1119
+ */
1120
+ where: Prisma.PluginConnectionWhereUniqueInput;
1121
+ /**
1122
+ * In case the PluginConnection found by the `where` argument doesn't exist, create a new PluginConnection with this data.
1123
+ */
1124
+ create: Prisma.XOR<Prisma.PluginConnectionCreateInput, Prisma.PluginConnectionUncheckedCreateInput>;
1125
+ /**
1126
+ * In case the PluginConnection was found with the provided `where` argument, update it with this data.
1127
+ */
1128
+ update: Prisma.XOR<Prisma.PluginConnectionUpdateInput, Prisma.PluginConnectionUncheckedUpdateInput>;
1129
+ };
1130
+ /**
1131
+ * PluginConnection delete
1132
+ */
1133
+ export type PluginConnectionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1134
+ /**
1135
+ * Select specific fields to fetch from the PluginConnection
1136
+ */
1137
+ select?: Prisma.PluginConnectionSelect<ExtArgs> | null;
1138
+ /**
1139
+ * Omit specific fields from the PluginConnection
1140
+ */
1141
+ omit?: Prisma.PluginConnectionOmit<ExtArgs> | null;
1142
+ /**
1143
+ * Choose, which related nodes to fetch as well
1144
+ */
1145
+ include?: Prisma.PluginConnectionInclude<ExtArgs> | null;
1146
+ /**
1147
+ * Filter which PluginConnection to delete.
1148
+ */
1149
+ where: Prisma.PluginConnectionWhereUniqueInput;
1150
+ };
1151
+ /**
1152
+ * PluginConnection deleteMany
1153
+ */
1154
+ export type PluginConnectionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1155
+ /**
1156
+ * Filter which PluginConnections to delete
1157
+ */
1158
+ where?: Prisma.PluginConnectionWhereInput;
1159
+ /**
1160
+ * Limit how many PluginConnections to delete.
1161
+ */
1162
+ limit?: number;
1163
+ };
1164
+ /**
1165
+ * PluginConnection without action
1166
+ */
1167
+ export type PluginConnectionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1168
+ /**
1169
+ * Select specific fields to fetch from the PluginConnection
1170
+ */
1171
+ select?: Prisma.PluginConnectionSelect<ExtArgs> | null;
1172
+ /**
1173
+ * Omit specific fields from the PluginConnection
1174
+ */
1175
+ omit?: Prisma.PluginConnectionOmit<ExtArgs> | null;
1176
+ /**
1177
+ * Choose, which related nodes to fetch as well
1178
+ */
1179
+ include?: Prisma.PluginConnectionInclude<ExtArgs> | null;
1180
+ };