@actuate-media/cms-core 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (431) hide show
  1. package/dist/__tests__/actions/document-crud.test.d.ts +2 -0
  2. package/dist/__tests__/actions/document-crud.test.d.ts.map +1 -0
  3. package/dist/__tests__/actions/document-crud.test.js +156 -0
  4. package/dist/__tests__/actions/document-crud.test.js.map +1 -0
  5. package/dist/__tests__/auth/password.test.d.ts +2 -0
  6. package/dist/__tests__/auth/password.test.d.ts.map +1 -0
  7. package/dist/__tests__/auth/password.test.js +102 -0
  8. package/dist/__tests__/auth/password.test.js.map +1 -0
  9. package/dist/__tests__/auth/session.test.d.ts +2 -0
  10. package/dist/__tests__/auth/session.test.d.ts.map +1 -0
  11. package/dist/__tests__/auth/session.test.js +66 -0
  12. package/dist/__tests__/auth/session.test.js.map +1 -0
  13. package/dist/__tests__/codegen/generate-types.test.d.ts +2 -0
  14. package/dist/__tests__/codegen/generate-types.test.d.ts.map +1 -0
  15. package/dist/__tests__/codegen/generate-types.test.js +173 -0
  16. package/dist/__tests__/codegen/generate-types.test.js.map +1 -0
  17. package/dist/__tests__/scheduling/scheduling.test.d.ts +2 -0
  18. package/dist/__tests__/scheduling/scheduling.test.d.ts.map +1 -0
  19. package/dist/__tests__/scheduling/scheduling.test.js +84 -0
  20. package/dist/__tests__/scheduling/scheduling.test.js.map +1 -0
  21. package/dist/__tests__/security/access.test.d.ts +2 -0
  22. package/dist/__tests__/security/access.test.d.ts.map +1 -0
  23. package/dist/__tests__/security/access.test.js +181 -0
  24. package/dist/__tests__/security/access.test.js.map +1 -0
  25. package/dist/__tests__/security/csrf.test.d.ts +2 -0
  26. package/dist/__tests__/security/csrf.test.d.ts.map +1 -0
  27. package/dist/__tests__/security/csrf.test.js +40 -0
  28. package/dist/__tests__/security/csrf.test.js.map +1 -0
  29. package/dist/__tests__/security/rate-limit.test.d.ts +2 -0
  30. package/dist/__tests__/security/rate-limit.test.d.ts.map +1 -0
  31. package/dist/__tests__/security/rate-limit.test.js +62 -0
  32. package/dist/__tests__/security/rate-limit.test.js.map +1 -0
  33. package/dist/__tests__/security/reauth.test.d.ts +2 -0
  34. package/dist/__tests__/security/reauth.test.d.ts.map +1 -0
  35. package/dist/__tests__/security/reauth.test.js +30 -0
  36. package/dist/__tests__/security/reauth.test.js.map +1 -0
  37. package/dist/__tests__/security/sanitize.test.d.ts +2 -0
  38. package/dist/__tests__/security/sanitize.test.d.ts.map +1 -0
  39. package/dist/__tests__/security/sanitize.test.js +75 -0
  40. package/dist/__tests__/security/sanitize.test.js.map +1 -0
  41. package/dist/__tests__/webhooks/webhooks.test.d.ts +2 -0
  42. package/dist/__tests__/webhooks/webhooks.test.d.ts.map +1 -0
  43. package/dist/__tests__/webhooks/webhooks.test.js +96 -0
  44. package/dist/__tests__/webhooks/webhooks.test.js.map +1 -0
  45. package/dist/a11y/index.d.ts +25 -0
  46. package/dist/a11y/index.d.ts.map +1 -0
  47. package/dist/a11y/index.js +88 -0
  48. package/dist/a11y/index.js.map +1 -0
  49. package/dist/actions.d.ts +42 -0
  50. package/dist/actions.d.ts.map +1 -0
  51. package/dist/actions.js +391 -0
  52. package/dist/actions.js.map +1 -0
  53. package/dist/api/handler-factory.d.ts +7 -0
  54. package/dist/api/handler-factory.d.ts.map +1 -0
  55. package/dist/api/handler-factory.js +120 -0
  56. package/dist/api/handler-factory.js.map +1 -0
  57. package/dist/api/handlers.d.ts +4 -0
  58. package/dist/api/handlers.d.ts.map +1 -0
  59. package/dist/api/handlers.js +2119 -0
  60. package/dist/api/handlers.js.map +1 -0
  61. package/dist/api/index.d.ts +23 -0
  62. package/dist/api/index.d.ts.map +1 -0
  63. package/dist/api/index.js +57 -0
  64. package/dist/api/index.js.map +1 -0
  65. package/dist/api/openapi.d.ts +3 -0
  66. package/dist/api/openapi.d.ts.map +1 -0
  67. package/dist/api/openapi.js +348 -0
  68. package/dist/api/openapi.js.map +1 -0
  69. package/dist/auth/index.d.ts +11 -0
  70. package/dist/auth/index.d.ts.map +1 -0
  71. package/dist/auth/index.js +9 -0
  72. package/dist/auth/index.js.map +1 -0
  73. package/dist/auth/oauth.d.ts +84 -0
  74. package/dist/auth/oauth.d.ts.map +1 -0
  75. package/dist/auth/oauth.js +201 -0
  76. package/dist/auth/oauth.js.map +1 -0
  77. package/dist/auth/password.d.ts +13 -0
  78. package/dist/auth/password.d.ts.map +1 -0
  79. package/dist/auth/password.js +47 -0
  80. package/dist/auth/password.js.map +1 -0
  81. package/dist/auth/providers/github.d.ts +9 -0
  82. package/dist/auth/providers/github.d.ts.map +1 -0
  83. package/dist/auth/providers/github.js +10 -0
  84. package/dist/auth/providers/github.js.map +1 -0
  85. package/dist/auth/providers/google.d.ts +9 -0
  86. package/dist/auth/providers/google.d.ts.map +1 -0
  87. package/dist/auth/providers/google.js +10 -0
  88. package/dist/auth/providers/google.js.map +1 -0
  89. package/dist/auth/providers/microsoft.d.ts +9 -0
  90. package/dist/auth/providers/microsoft.d.ts.map +1 -0
  91. package/dist/auth/providers/microsoft.js +11 -0
  92. package/dist/auth/providers/microsoft.js.map +1 -0
  93. package/dist/auth/session.d.ts +21 -0
  94. package/dist/auth/session.d.ts.map +1 -0
  95. package/dist/auth/session.js +35 -0
  96. package/dist/auth/session.js.map +1 -0
  97. package/dist/auth/totp.d.ts +5 -0
  98. package/dist/auth/totp.d.ts.map +1 -0
  99. package/dist/auth/totp.js +86 -0
  100. package/dist/auth/totp.js.map +1 -0
  101. package/dist/backup/index.d.ts +19 -0
  102. package/dist/backup/index.d.ts.map +1 -0
  103. package/dist/backup/index.js +22 -0
  104. package/dist/backup/index.js.map +1 -0
  105. package/dist/cache/index.d.ts +15 -0
  106. package/dist/cache/index.d.ts.map +1 -0
  107. package/dist/cache/index.js +32 -0
  108. package/dist/cache/index.js.map +1 -0
  109. package/dist/client.d.ts +30 -0
  110. package/dist/client.d.ts.map +1 -0
  111. package/dist/client.js +50 -0
  112. package/dist/client.js.map +1 -0
  113. package/dist/codegen/index.d.ts +4 -0
  114. package/dist/codegen/index.d.ts.map +1 -0
  115. package/dist/codegen/index.js +370 -0
  116. package/dist/codegen/index.js.map +1 -0
  117. package/dist/collections/index.d.ts +17 -0
  118. package/dist/collections/index.d.ts.map +1 -0
  119. package/dist/collections/index.js +29 -0
  120. package/dist/collections/index.js.map +1 -0
  121. package/dist/config/index.d.ts +6 -0
  122. package/dist/config/index.d.ts.map +1 -0
  123. package/dist/config/index.js +74 -0
  124. package/dist/config/index.js.map +1 -0
  125. package/dist/config/types.d.ts +307 -0
  126. package/dist/config/types.d.ts.map +1 -0
  127. package/dist/config/types.js +3 -0
  128. package/dist/config/types.js.map +1 -0
  129. package/dist/content/ai-api.d.ts +21 -0
  130. package/dist/content/ai-api.d.ts.map +1 -0
  131. package/dist/content/ai-api.js +19 -0
  132. package/dist/content/ai-api.js.map +1 -0
  133. package/dist/content/content-graph.d.ts +25 -0
  134. package/dist/content/content-graph.d.ts.map +1 -0
  135. package/dist/content/content-graph.js +40 -0
  136. package/dist/content/content-graph.js.map +1 -0
  137. package/dist/content/extract.d.ts +7 -0
  138. package/dist/content/extract.d.ts.map +1 -0
  139. package/dist/content/extract.js +33 -0
  140. package/dist/content/extract.js.map +1 -0
  141. package/dist/content/index.d.ts +8 -0
  142. package/dist/content/index.d.ts.map +1 -0
  143. package/dist/content/index.js +5 -0
  144. package/dist/content/index.js.map +1 -0
  145. package/dist/content/structured-data.d.ts +80 -0
  146. package/dist/content/structured-data.d.ts.map +1 -0
  147. package/dist/content/structured-data.js +295 -0
  148. package/dist/content/structured-data.js.map +1 -0
  149. package/dist/db/adapters/mysql.d.ts +5 -0
  150. package/dist/db/adapters/mysql.d.ts.map +1 -0
  151. package/dist/db/adapters/mysql.js +18 -0
  152. package/dist/db/adapters/mysql.js.map +1 -0
  153. package/dist/db/adapters/postgres.d.ts +7 -0
  154. package/dist/db/adapters/postgres.d.ts.map +1 -0
  155. package/dist/db/adapters/postgres.js +20 -0
  156. package/dist/db/adapters/postgres.js.map +1 -0
  157. package/dist/db/adapters/sqlite.d.ts +5 -0
  158. package/dist/db/adapters/sqlite.d.ts.map +1 -0
  159. package/dist/db/adapters/sqlite.js +19 -0
  160. package/dist/db/adapters/sqlite.js.map +1 -0
  161. package/dist/db/create-adapter.d.ts +11 -0
  162. package/dist/db/create-adapter.d.ts.map +1 -0
  163. package/dist/db/create-adapter.js +43 -0
  164. package/dist/db/create-adapter.js.map +1 -0
  165. package/dist/db/index.d.ts +9 -0
  166. package/dist/db/index.d.ts.map +1 -0
  167. package/dist/db/index.js +5 -0
  168. package/dist/db/index.js.map +1 -0
  169. package/dist/db.d.ts +20 -0
  170. package/dist/db.d.ts.map +1 -0
  171. package/dist/db.js +35 -0
  172. package/dist/db.js.map +1 -0
  173. package/dist/fields/index.d.ts +15 -0
  174. package/dist/fields/index.d.ts.map +1 -0
  175. package/dist/fields/index.js +87 -0
  176. package/dist/fields/index.js.map +1 -0
  177. package/dist/forms/analytics.d.ts +62 -0
  178. package/dist/forms/analytics.d.ts.map +1 -0
  179. package/dist/forms/analytics.js +95 -0
  180. package/dist/forms/analytics.js.map +1 -0
  181. package/dist/forms/attribution.d.ts +29 -0
  182. package/dist/forms/attribution.d.ts.map +1 -0
  183. package/dist/forms/attribution.js +216 -0
  184. package/dist/forms/attribution.js.map +1 -0
  185. package/dist/forms/index.d.ts +5 -0
  186. package/dist/forms/index.d.ts.map +1 -0
  187. package/dist/forms/index.js +3 -0
  188. package/dist/forms/index.js.map +1 -0
  189. package/dist/graphql/index.d.ts +11 -0
  190. package/dist/graphql/index.d.ts.map +1 -0
  191. package/dist/graphql/index.js +58 -0
  192. package/dist/graphql/index.js.map +1 -0
  193. package/dist/graphql/resolvers.d.ts +8 -0
  194. package/dist/graphql/resolvers.d.ts.map +1 -0
  195. package/dist/graphql/resolvers.js +93 -0
  196. package/dist/graphql/resolvers.js.map +1 -0
  197. package/dist/graphql/schema-builder.d.ts +3 -0
  198. package/dist/graphql/schema-builder.d.ts.map +1 -0
  199. package/dist/graphql/schema-builder.js +103 -0
  200. package/dist/graphql/schema-builder.js.map +1 -0
  201. package/dist/health/index.d.ts +27 -0
  202. package/dist/health/index.d.ts.map +1 -0
  203. package/dist/health/index.js +43 -0
  204. package/dist/health/index.js.map +1 -0
  205. package/dist/i18n/index.d.ts +22 -0
  206. package/dist/i18n/index.d.ts.map +1 -0
  207. package/dist/i18n/index.js +37 -0
  208. package/dist/i18n/index.js.map +1 -0
  209. package/dist/index.d.ts +73 -0
  210. package/dist/index.d.ts.map +1 -0
  211. package/dist/index.js +81 -0
  212. package/dist/index.js.map +1 -0
  213. package/dist/media/index.d.ts +3 -0
  214. package/dist/media/index.d.ts.map +1 -0
  215. package/dist/media/index.js +2 -0
  216. package/dist/media/index.js.map +1 -0
  217. package/dist/media/optimize.d.ts +40 -0
  218. package/dist/media/optimize.d.ts.map +1 -0
  219. package/dist/media/optimize.js +137 -0
  220. package/dist/media/optimize.js.map +1 -0
  221. package/dist/middleware.d.ts +7 -0
  222. package/dist/middleware.d.ts.map +1 -0
  223. package/dist/middleware.js +86 -0
  224. package/dist/middleware.js.map +1 -0
  225. package/dist/multisite/index.d.ts +20 -0
  226. package/dist/multisite/index.d.ts.map +1 -0
  227. package/dist/multisite/index.js +26 -0
  228. package/dist/multisite/index.js.map +1 -0
  229. package/dist/next/preview.d.ts +10 -0
  230. package/dist/next/preview.d.ts.map +1 -0
  231. package/dist/next/preview.js +17 -0
  232. package/dist/next/preview.js.map +1 -0
  233. package/dist/next.d.ts +9 -0
  234. package/dist/next.d.ts.map +1 -0
  235. package/dist/next.js +35 -0
  236. package/dist/next.js.map +1 -0
  237. package/dist/notifications/index.d.ts +20 -0
  238. package/dist/notifications/index.d.ts.map +1 -0
  239. package/dist/notifications/index.js +22 -0
  240. package/dist/notifications/index.js.map +1 -0
  241. package/dist/presence/index.d.ts +24 -0
  242. package/dist/presence/index.d.ts.map +1 -0
  243. package/dist/presence/index.js +99 -0
  244. package/dist/presence/index.js.map +1 -0
  245. package/dist/preview/index.d.ts +14 -0
  246. package/dist/preview/index.d.ts.map +1 -0
  247. package/dist/preview/index.js +45 -0
  248. package/dist/preview/index.js.map +1 -0
  249. package/dist/privacy/index.d.ts +33 -0
  250. package/dist/privacy/index.d.ts.map +1 -0
  251. package/dist/privacy/index.js +15 -0
  252. package/dist/privacy/index.js.map +1 -0
  253. package/dist/relationships/index.d.ts +13 -0
  254. package/dist/relationships/index.d.ts.map +1 -0
  255. package/dist/relationships/index.js +12 -0
  256. package/dist/relationships/index.js.map +1 -0
  257. package/dist/scheduling/index.d.ts +44 -0
  258. package/dist/scheduling/index.d.ts.map +1 -0
  259. package/dist/scheduling/index.js +119 -0
  260. package/dist/scheduling/index.js.map +1 -0
  261. package/dist/search/index.d.ts +25 -0
  262. package/dist/search/index.d.ts.map +1 -0
  263. package/dist/search/index.js +168 -0
  264. package/dist/search/index.js.map +1 -0
  265. package/dist/security/access.d.ts +26 -0
  266. package/dist/security/access.d.ts.map +1 -0
  267. package/dist/security/access.js +92 -0
  268. package/dist/security/access.js.map +1 -0
  269. package/dist/security/anomaly-detection.d.ts +17 -0
  270. package/dist/security/anomaly-detection.d.ts.map +1 -0
  271. package/dist/security/anomaly-detection.js +17 -0
  272. package/dist/security/anomaly-detection.js.map +1 -0
  273. package/dist/security/api-key-enhanced.d.ts +25 -0
  274. package/dist/security/api-key-enhanced.d.ts.map +1 -0
  275. package/dist/security/api-key-enhanced.js +25 -0
  276. package/dist/security/api-key-enhanced.js.map +1 -0
  277. package/dist/security/audit.d.ts +39 -0
  278. package/dist/security/audit.d.ts.map +1 -0
  279. package/dist/security/audit.js +40 -0
  280. package/dist/security/audit.js.map +1 -0
  281. package/dist/security/breach-check.d.ts +3 -0
  282. package/dist/security/breach-check.d.ts.map +1 -0
  283. package/dist/security/breach-check.js +27 -0
  284. package/dist/security/breach-check.js.map +1 -0
  285. package/dist/security/cors.d.ts +11 -0
  286. package/dist/security/cors.d.ts.map +1 -0
  287. package/dist/security/cors.js +33 -0
  288. package/dist/security/cors.js.map +1 -0
  289. package/dist/security/csp-nonces.d.ts +5 -0
  290. package/dist/security/csp-nonces.d.ts.map +1 -0
  291. package/dist/security/csp-nonces.js +24 -0
  292. package/dist/security/csp-nonces.js.map +1 -0
  293. package/dist/security/csrf.d.ts +5 -0
  294. package/dist/security/csrf.d.ts.map +1 -0
  295. package/dist/security/csrf.js +20 -0
  296. package/dist/security/csrf.js.map +1 -0
  297. package/dist/security/encrypted-fields.d.ts +5 -0
  298. package/dist/security/encrypted-fields.d.ts.map +1 -0
  299. package/dist/security/encrypted-fields.js +40 -0
  300. package/dist/security/encrypted-fields.js.map +1 -0
  301. package/dist/security/headers.d.ts +11 -0
  302. package/dist/security/headers.d.ts.map +1 -0
  303. package/dist/security/headers.js +32 -0
  304. package/dist/security/headers.js.map +1 -0
  305. package/dist/security/index.d.ts +31 -0
  306. package/dist/security/index.d.ts.map +1 -0
  307. package/dist/security/index.js +20 -0
  308. package/dist/security/index.js.map +1 -0
  309. package/dist/security/ip-allowlist.d.ts +3 -0
  310. package/dist/security/ip-allowlist.d.ts.map +1 -0
  311. package/dist/security/ip-allowlist.js +35 -0
  312. package/dist/security/ip-allowlist.js.map +1 -0
  313. package/dist/security/middleware.d.ts +20 -0
  314. package/dist/security/middleware.d.ts.map +1 -0
  315. package/dist/security/middleware.js +45 -0
  316. package/dist/security/middleware.js.map +1 -0
  317. package/dist/security/rate-limit.d.ts +24 -0
  318. package/dist/security/rate-limit.d.ts.map +1 -0
  319. package/dist/security/rate-limit.js +84 -0
  320. package/dist/security/rate-limit.js.map +1 -0
  321. package/dist/security/reauth.d.ts +15 -0
  322. package/dist/security/reauth.d.ts.map +1 -0
  323. package/dist/security/reauth.js +38 -0
  324. package/dist/security/reauth.js.map +1 -0
  325. package/dist/security/sanitize.d.ts +13 -0
  326. package/dist/security/sanitize.d.ts.map +1 -0
  327. package/dist/security/sanitize.js +34 -0
  328. package/dist/security/sanitize.js.map +1 -0
  329. package/dist/security/security-txt.d.ts +12 -0
  330. package/dist/security/security-txt.d.ts.map +1 -0
  331. package/dist/security/security-txt.js +19 -0
  332. package/dist/security/security-txt.js.map +1 -0
  333. package/dist/security/session-limits.d.ts +17 -0
  334. package/dist/security/session-limits.d.ts.map +1 -0
  335. package/dist/security/session-limits.js +14 -0
  336. package/dist/security/session-limits.js.map +1 -0
  337. package/dist/security/upload.d.ts +13 -0
  338. package/dist/security/upload.d.ts.map +1 -0
  339. package/dist/security/upload.js +34 -0
  340. package/dist/security/upload.js.map +1 -0
  341. package/dist/security/webhook.d.ts +12 -0
  342. package/dist/security/webhook.d.ts.map +1 -0
  343. package/dist/security/webhook.js +38 -0
  344. package/dist/security/webhook.js.map +1 -0
  345. package/dist/seo/analysis.d.ts +66 -0
  346. package/dist/seo/analysis.d.ts.map +1 -0
  347. package/dist/seo/analysis.js +594 -0
  348. package/dist/seo/analysis.js.map +1 -0
  349. package/dist/seo/index.d.ts +9 -0
  350. package/dist/seo/index.d.ts.map +1 -0
  351. package/dist/seo/index.js +5 -0
  352. package/dist/seo/index.js.map +1 -0
  353. package/dist/seo/llms-txt.d.ts +16 -0
  354. package/dist/seo/llms-txt.d.ts.map +1 -0
  355. package/dist/seo/llms-txt.js +70 -0
  356. package/dist/seo/llms-txt.js.map +1 -0
  357. package/dist/seo/meta-tags.d.ts +33 -0
  358. package/dist/seo/meta-tags.d.ts.map +1 -0
  359. package/dist/seo/meta-tags.js +159 -0
  360. package/dist/seo/meta-tags.js.map +1 -0
  361. package/dist/seo/title-templates.d.ts +17 -0
  362. package/dist/seo/title-templates.d.ts.map +1 -0
  363. package/dist/seo/title-templates.js +28 -0
  364. package/dist/seo/title-templates.js.map +1 -0
  365. package/dist/setup/index.d.ts +38 -0
  366. package/dist/setup/index.d.ts.map +1 -0
  367. package/dist/setup/index.js +77 -0
  368. package/dist/setup/index.js.map +1 -0
  369. package/dist/storage/index.d.ts +11 -0
  370. package/dist/storage/index.d.ts.map +1 -0
  371. package/dist/storage/index.js +11 -0
  372. package/dist/storage/index.js.map +1 -0
  373. package/dist/templates/index.d.ts +16 -0
  374. package/dist/templates/index.d.ts.map +1 -0
  375. package/dist/templates/index.js +23 -0
  376. package/dist/templates/index.js.map +1 -0
  377. package/dist/upgrade/changelog.d.ts +13 -0
  378. package/dist/upgrade/changelog.d.ts.map +1 -0
  379. package/dist/upgrade/changelog.js +54 -0
  380. package/dist/upgrade/changelog.js.map +1 -0
  381. package/dist/upgrade/index.d.ts +7 -0
  382. package/dist/upgrade/index.d.ts.map +1 -0
  383. package/dist/upgrade/index.js +4 -0
  384. package/dist/upgrade/index.js.map +1 -0
  385. package/dist/upgrade/upgrade-pr.d.ts +16 -0
  386. package/dist/upgrade/upgrade-pr.d.ts.map +1 -0
  387. package/dist/upgrade/upgrade-pr.js +38 -0
  388. package/dist/upgrade/upgrade-pr.js.map +1 -0
  389. package/dist/upgrade/version-check.d.ts +17 -0
  390. package/dist/upgrade/version-check.d.ts.map +1 -0
  391. package/dist/upgrade/version-check.js +30 -0
  392. package/dist/upgrade/version-check.js.map +1 -0
  393. package/dist/webhooks/index.d.ts +46 -0
  394. package/dist/webhooks/index.d.ts.map +1 -0
  395. package/dist/webhooks/index.js +245 -0
  396. package/dist/webhooks/index.js.map +1 -0
  397. package/dist/workflow/index.d.ts +8 -0
  398. package/dist/workflow/index.d.ts.map +1 -0
  399. package/dist/workflow/index.js +56 -0
  400. package/dist/workflow/index.js.map +1 -0
  401. package/dist/workflows/index.d.ts +30 -0
  402. package/dist/workflows/index.d.ts.map +1 -0
  403. package/dist/workflows/index.js +14 -0
  404. package/dist/workflows/index.js.map +1 -0
  405. package/generated/browser.ts +109 -0
  406. package/generated/client.ts +133 -0
  407. package/generated/commonInputTypes.ts +709 -0
  408. package/generated/enums.ts +125 -0
  409. package/generated/internal/class.ts +376 -0
  410. package/generated/internal/prismaNamespace.ts +2617 -0
  411. package/generated/internal/prismaNamespaceBrowser.ts +611 -0
  412. package/generated/models/ApiKey.ts +1550 -0
  413. package/generated/models/AuditLog.ts +1206 -0
  414. package/generated/models/BackupRecord.ts +1250 -0
  415. package/generated/models/ContentLock.ts +1472 -0
  416. package/generated/models/ContentTemplate.ts +1416 -0
  417. package/generated/models/Document.ts +3005 -0
  418. package/generated/models/Folder.ts +1904 -0
  419. package/generated/models/FormSubmission.ts +1200 -0
  420. package/generated/models/InAppNotification.ts +1457 -0
  421. package/generated/models/Media.ts +2340 -0
  422. package/generated/models/MediaUsage.ts +1472 -0
  423. package/generated/models/OAuthAccount.ts +1463 -0
  424. package/generated/models/Redirect.ts +1284 -0
  425. package/generated/models/Session.ts +1492 -0
  426. package/generated/models/Site.ts +1206 -0
  427. package/generated/models/User.ts +3513 -0
  428. package/generated/models/Version.ts +1511 -0
  429. package/generated/models/WorkflowState.ts +1514 -0
  430. package/generated/models.ts +29 -0
  431. package/package.json +83 -0
@@ -0,0 +1,1206 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ // @ts-nocheck
6
+ /*
7
+ * This file exports the `Site` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import type * as runtime from "@prisma/client/runtime/client"
12
+ import type * as $Enums from "../enums"
13
+ import type * as Prisma from "../internal/prismaNamespace"
14
+
15
+ /**
16
+ * Model Site
17
+ *
18
+ */
19
+ export type SiteModel = runtime.Types.Result.DefaultSelection<Prisma.$SitePayload>
20
+
21
+ export type AggregateSite = {
22
+ _count: SiteCountAggregateOutputType | null
23
+ _min: SiteMinAggregateOutputType | null
24
+ _max: SiteMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type SiteMinAggregateOutputType = {
28
+ id: string | null
29
+ domain: string | null
30
+ name: string | null
31
+ isDefault: boolean | null
32
+ createdAt: Date | null
33
+ updatedAt: Date | null
34
+ }
35
+
36
+ export type SiteMaxAggregateOutputType = {
37
+ id: string | null
38
+ domain: string | null
39
+ name: string | null
40
+ isDefault: boolean | null
41
+ createdAt: Date | null
42
+ updatedAt: Date | null
43
+ }
44
+
45
+ export type SiteCountAggregateOutputType = {
46
+ id: number
47
+ domain: number
48
+ name: number
49
+ configOverrides: number
50
+ isDefault: number
51
+ createdAt: number
52
+ updatedAt: number
53
+ _all: number
54
+ }
55
+
56
+
57
+ export type SiteMinAggregateInputType = {
58
+ id?: true
59
+ domain?: true
60
+ name?: true
61
+ isDefault?: true
62
+ createdAt?: true
63
+ updatedAt?: true
64
+ }
65
+
66
+ export type SiteMaxAggregateInputType = {
67
+ id?: true
68
+ domain?: true
69
+ name?: true
70
+ isDefault?: true
71
+ createdAt?: true
72
+ updatedAt?: true
73
+ }
74
+
75
+ export type SiteCountAggregateInputType = {
76
+ id?: true
77
+ domain?: true
78
+ name?: true
79
+ configOverrides?: true
80
+ isDefault?: true
81
+ createdAt?: true
82
+ updatedAt?: true
83
+ _all?: true
84
+ }
85
+
86
+ export type SiteAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
87
+ /**
88
+ * Filter which Site to aggregate.
89
+ */
90
+ where?: Prisma.SiteWhereInput
91
+ /**
92
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
93
+ *
94
+ * Determine the order of Sites to fetch.
95
+ */
96
+ orderBy?: Prisma.SiteOrderByWithRelationInput | Prisma.SiteOrderByWithRelationInput[]
97
+ /**
98
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
99
+ *
100
+ * Sets the start position
101
+ */
102
+ cursor?: Prisma.SiteWhereUniqueInput
103
+ /**
104
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105
+ *
106
+ * Take `±n` Sites from the position of the cursor.
107
+ */
108
+ take?: number
109
+ /**
110
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
111
+ *
112
+ * Skip the first `n` Sites.
113
+ */
114
+ skip?: number
115
+ /**
116
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
117
+ *
118
+ * Count returned Sites
119
+ **/
120
+ _count?: true | SiteCountAggregateInputType
121
+ /**
122
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
123
+ *
124
+ * Select which fields to find the minimum value
125
+ **/
126
+ _min?: SiteMinAggregateInputType
127
+ /**
128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
129
+ *
130
+ * Select which fields to find the maximum value
131
+ **/
132
+ _max?: SiteMaxAggregateInputType
133
+ }
134
+
135
+ export type GetSiteAggregateType<T extends SiteAggregateArgs> = {
136
+ [P in keyof T & keyof AggregateSite]: P extends '_count' | 'count'
137
+ ? T[P] extends true
138
+ ? number
139
+ : Prisma.GetScalarType<T[P], AggregateSite[P]>
140
+ : Prisma.GetScalarType<T[P], AggregateSite[P]>
141
+ }
142
+
143
+
144
+
145
+
146
+ export type SiteGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
147
+ where?: Prisma.SiteWhereInput
148
+ orderBy?: Prisma.SiteOrderByWithAggregationInput | Prisma.SiteOrderByWithAggregationInput[]
149
+ by: Prisma.SiteScalarFieldEnum[] | Prisma.SiteScalarFieldEnum
150
+ having?: Prisma.SiteScalarWhereWithAggregatesInput
151
+ take?: number
152
+ skip?: number
153
+ _count?: SiteCountAggregateInputType | true
154
+ _min?: SiteMinAggregateInputType
155
+ _max?: SiteMaxAggregateInputType
156
+ }
157
+
158
+ export type SiteGroupByOutputType = {
159
+ id: string
160
+ domain: string
161
+ name: string
162
+ configOverrides: runtime.JsonValue | null
163
+ isDefault: boolean
164
+ createdAt: Date
165
+ updatedAt: Date
166
+ _count: SiteCountAggregateOutputType | null
167
+ _min: SiteMinAggregateOutputType | null
168
+ _max: SiteMaxAggregateOutputType | null
169
+ }
170
+
171
+ type GetSiteGroupByPayload<T extends SiteGroupByArgs> = Prisma.PrismaPromise<
172
+ Array<
173
+ Prisma.PickEnumerable<SiteGroupByOutputType, T['by']> &
174
+ {
175
+ [P in ((keyof T) & (keyof SiteGroupByOutputType))]: P extends '_count'
176
+ ? T[P] extends boolean
177
+ ? number
178
+ : Prisma.GetScalarType<T[P], SiteGroupByOutputType[P]>
179
+ : Prisma.GetScalarType<T[P], SiteGroupByOutputType[P]>
180
+ }
181
+ >
182
+ >
183
+
184
+
185
+
186
+ export type SiteWhereInput = {
187
+ AND?: Prisma.SiteWhereInput | Prisma.SiteWhereInput[]
188
+ OR?: Prisma.SiteWhereInput[]
189
+ NOT?: Prisma.SiteWhereInput | Prisma.SiteWhereInput[]
190
+ id?: Prisma.StringFilter<"Site"> | string
191
+ domain?: Prisma.StringFilter<"Site"> | string
192
+ name?: Prisma.StringFilter<"Site"> | string
193
+ configOverrides?: Prisma.JsonNullableFilter<"Site">
194
+ isDefault?: Prisma.BoolFilter<"Site"> | boolean
195
+ createdAt?: Prisma.DateTimeFilter<"Site"> | Date | string
196
+ updatedAt?: Prisma.DateTimeFilter<"Site"> | Date | string
197
+ }
198
+
199
+ export type SiteOrderByWithRelationInput = {
200
+ id?: Prisma.SortOrder
201
+ domain?: Prisma.SortOrder
202
+ name?: Prisma.SortOrder
203
+ configOverrides?: Prisma.SortOrderInput | Prisma.SortOrder
204
+ isDefault?: Prisma.SortOrder
205
+ createdAt?: Prisma.SortOrder
206
+ updatedAt?: Prisma.SortOrder
207
+ _relevance?: Prisma.SiteOrderByRelevanceInput
208
+ }
209
+
210
+ export type SiteWhereUniqueInput = Prisma.AtLeast<{
211
+ id?: string
212
+ domain?: string
213
+ AND?: Prisma.SiteWhereInput | Prisma.SiteWhereInput[]
214
+ OR?: Prisma.SiteWhereInput[]
215
+ NOT?: Prisma.SiteWhereInput | Prisma.SiteWhereInput[]
216
+ name?: Prisma.StringFilter<"Site"> | string
217
+ configOverrides?: Prisma.JsonNullableFilter<"Site">
218
+ isDefault?: Prisma.BoolFilter<"Site"> | boolean
219
+ createdAt?: Prisma.DateTimeFilter<"Site"> | Date | string
220
+ updatedAt?: Prisma.DateTimeFilter<"Site"> | Date | string
221
+ }, "id" | "domain">
222
+
223
+ export type SiteOrderByWithAggregationInput = {
224
+ id?: Prisma.SortOrder
225
+ domain?: Prisma.SortOrder
226
+ name?: Prisma.SortOrder
227
+ configOverrides?: Prisma.SortOrderInput | Prisma.SortOrder
228
+ isDefault?: Prisma.SortOrder
229
+ createdAt?: Prisma.SortOrder
230
+ updatedAt?: Prisma.SortOrder
231
+ _count?: Prisma.SiteCountOrderByAggregateInput
232
+ _max?: Prisma.SiteMaxOrderByAggregateInput
233
+ _min?: Prisma.SiteMinOrderByAggregateInput
234
+ }
235
+
236
+ export type SiteScalarWhereWithAggregatesInput = {
237
+ AND?: Prisma.SiteScalarWhereWithAggregatesInput | Prisma.SiteScalarWhereWithAggregatesInput[]
238
+ OR?: Prisma.SiteScalarWhereWithAggregatesInput[]
239
+ NOT?: Prisma.SiteScalarWhereWithAggregatesInput | Prisma.SiteScalarWhereWithAggregatesInput[]
240
+ id?: Prisma.StringWithAggregatesFilter<"Site"> | string
241
+ domain?: Prisma.StringWithAggregatesFilter<"Site"> | string
242
+ name?: Prisma.StringWithAggregatesFilter<"Site"> | string
243
+ configOverrides?: Prisma.JsonNullableWithAggregatesFilter<"Site">
244
+ isDefault?: Prisma.BoolWithAggregatesFilter<"Site"> | boolean
245
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Site"> | Date | string
246
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Site"> | Date | string
247
+ }
248
+
249
+ export type SiteCreateInput = {
250
+ id?: string
251
+ domain: string
252
+ name: string
253
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
254
+ isDefault?: boolean
255
+ createdAt?: Date | string
256
+ updatedAt?: Date | string
257
+ }
258
+
259
+ export type SiteUncheckedCreateInput = {
260
+ id?: string
261
+ domain: string
262
+ name: string
263
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
264
+ isDefault?: boolean
265
+ createdAt?: Date | string
266
+ updatedAt?: Date | string
267
+ }
268
+
269
+ export type SiteUpdateInput = {
270
+ id?: Prisma.StringFieldUpdateOperationsInput | string
271
+ domain?: Prisma.StringFieldUpdateOperationsInput | string
272
+ name?: Prisma.StringFieldUpdateOperationsInput | string
273
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
274
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
275
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
276
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
277
+ }
278
+
279
+ export type SiteUncheckedUpdateInput = {
280
+ id?: Prisma.StringFieldUpdateOperationsInput | string
281
+ domain?: Prisma.StringFieldUpdateOperationsInput | string
282
+ name?: Prisma.StringFieldUpdateOperationsInput | string
283
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
284
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
285
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
286
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
287
+ }
288
+
289
+ export type SiteCreateManyInput = {
290
+ id?: string
291
+ domain: string
292
+ name: string
293
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
294
+ isDefault?: boolean
295
+ createdAt?: Date | string
296
+ updatedAt?: Date | string
297
+ }
298
+
299
+ export type SiteUpdateManyMutationInput = {
300
+ id?: Prisma.StringFieldUpdateOperationsInput | string
301
+ domain?: Prisma.StringFieldUpdateOperationsInput | string
302
+ name?: Prisma.StringFieldUpdateOperationsInput | string
303
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
304
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
305
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
306
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
307
+ }
308
+
309
+ export type SiteUncheckedUpdateManyInput = {
310
+ id?: Prisma.StringFieldUpdateOperationsInput | string
311
+ domain?: Prisma.StringFieldUpdateOperationsInput | string
312
+ name?: Prisma.StringFieldUpdateOperationsInput | string
313
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
314
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
315
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
316
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
317
+ }
318
+
319
+ export type SiteOrderByRelevanceInput = {
320
+ fields: Prisma.SiteOrderByRelevanceFieldEnum | Prisma.SiteOrderByRelevanceFieldEnum[]
321
+ sort: Prisma.SortOrder
322
+ search: string
323
+ }
324
+
325
+ export type SiteCountOrderByAggregateInput = {
326
+ id?: Prisma.SortOrder
327
+ domain?: Prisma.SortOrder
328
+ name?: Prisma.SortOrder
329
+ configOverrides?: Prisma.SortOrder
330
+ isDefault?: Prisma.SortOrder
331
+ createdAt?: Prisma.SortOrder
332
+ updatedAt?: Prisma.SortOrder
333
+ }
334
+
335
+ export type SiteMaxOrderByAggregateInput = {
336
+ id?: Prisma.SortOrder
337
+ domain?: Prisma.SortOrder
338
+ name?: Prisma.SortOrder
339
+ isDefault?: Prisma.SortOrder
340
+ createdAt?: Prisma.SortOrder
341
+ updatedAt?: Prisma.SortOrder
342
+ }
343
+
344
+ export type SiteMinOrderByAggregateInput = {
345
+ id?: Prisma.SortOrder
346
+ domain?: Prisma.SortOrder
347
+ name?: Prisma.SortOrder
348
+ isDefault?: Prisma.SortOrder
349
+ createdAt?: Prisma.SortOrder
350
+ updatedAt?: Prisma.SortOrder
351
+ }
352
+
353
+
354
+
355
+ export type SiteSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
356
+ id?: boolean
357
+ domain?: boolean
358
+ name?: boolean
359
+ configOverrides?: boolean
360
+ isDefault?: boolean
361
+ createdAt?: boolean
362
+ updatedAt?: boolean
363
+ }, ExtArgs["result"]["site"]>
364
+
365
+ export type SiteSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
366
+ id?: boolean
367
+ domain?: boolean
368
+ name?: boolean
369
+ configOverrides?: boolean
370
+ isDefault?: boolean
371
+ createdAt?: boolean
372
+ updatedAt?: boolean
373
+ }, ExtArgs["result"]["site"]>
374
+
375
+ export type SiteSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
376
+ id?: boolean
377
+ domain?: boolean
378
+ name?: boolean
379
+ configOverrides?: boolean
380
+ isDefault?: boolean
381
+ createdAt?: boolean
382
+ updatedAt?: boolean
383
+ }, ExtArgs["result"]["site"]>
384
+
385
+ export type SiteSelectScalar = {
386
+ id?: boolean
387
+ domain?: boolean
388
+ name?: boolean
389
+ configOverrides?: boolean
390
+ isDefault?: boolean
391
+ createdAt?: boolean
392
+ updatedAt?: boolean
393
+ }
394
+
395
+ export type SiteOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "domain" | "name" | "configOverrides" | "isDefault" | "createdAt" | "updatedAt", ExtArgs["result"]["site"]>
396
+
397
+ export type $SitePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
398
+ name: "Site"
399
+ objects: {}
400
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
401
+ id: string
402
+ domain: string
403
+ name: string
404
+ configOverrides: runtime.JsonValue | null
405
+ isDefault: boolean
406
+ createdAt: Date
407
+ updatedAt: Date
408
+ }, ExtArgs["result"]["site"]>
409
+ composites: {}
410
+ }
411
+
412
+ export type SiteGetPayload<S extends boolean | null | undefined | SiteDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SitePayload, S>
413
+
414
+ export type SiteCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
415
+ Omit<SiteFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
416
+ select?: SiteCountAggregateInputType | true
417
+ }
418
+
419
+ export interface SiteDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
420
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Site'], meta: { name: 'Site' } }
421
+ /**
422
+ * Find zero or one Site that matches the filter.
423
+ * @param {SiteFindUniqueArgs} args - Arguments to find a Site
424
+ * @example
425
+ * // Get one Site
426
+ * const site = await prisma.site.findUnique({
427
+ * where: {
428
+ * // ... provide filter here
429
+ * }
430
+ * })
431
+ */
432
+ findUnique<T extends SiteFindUniqueArgs>(args: Prisma.SelectSubset<T, SiteFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
433
+
434
+ /**
435
+ * Find one Site that matches the filter or throw an error with `error.code='P2025'`
436
+ * if no matches were found.
437
+ * @param {SiteFindUniqueOrThrowArgs} args - Arguments to find a Site
438
+ * @example
439
+ * // Get one Site
440
+ * const site = await prisma.site.findUniqueOrThrow({
441
+ * where: {
442
+ * // ... provide filter here
443
+ * }
444
+ * })
445
+ */
446
+ findUniqueOrThrow<T extends SiteFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SiteFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
447
+
448
+ /**
449
+ * Find the first Site that matches the filter.
450
+ * Note, that providing `undefined` is treated as the value not being there.
451
+ * Read more here: https://pris.ly/d/null-undefined
452
+ * @param {SiteFindFirstArgs} args - Arguments to find a Site
453
+ * @example
454
+ * // Get one Site
455
+ * const site = await prisma.site.findFirst({
456
+ * where: {
457
+ * // ... provide filter here
458
+ * }
459
+ * })
460
+ */
461
+ findFirst<T extends SiteFindFirstArgs>(args?: Prisma.SelectSubset<T, SiteFindFirstArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
462
+
463
+ /**
464
+ * Find the first Site that matches the filter or
465
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
466
+ * Note, that providing `undefined` is treated as the value not being there.
467
+ * Read more here: https://pris.ly/d/null-undefined
468
+ * @param {SiteFindFirstOrThrowArgs} args - Arguments to find a Site
469
+ * @example
470
+ * // Get one Site
471
+ * const site = await prisma.site.findFirstOrThrow({
472
+ * where: {
473
+ * // ... provide filter here
474
+ * }
475
+ * })
476
+ */
477
+ findFirstOrThrow<T extends SiteFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SiteFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
478
+
479
+ /**
480
+ * Find zero or more Sites that matches the filter.
481
+ * Note, that providing `undefined` is treated as the value not being there.
482
+ * Read more here: https://pris.ly/d/null-undefined
483
+ * @param {SiteFindManyArgs} args - Arguments to filter and select certain fields only.
484
+ * @example
485
+ * // Get all Sites
486
+ * const sites = await prisma.site.findMany()
487
+ *
488
+ * // Get first 10 Sites
489
+ * const sites = await prisma.site.findMany({ take: 10 })
490
+ *
491
+ * // Only select the `id`
492
+ * const siteWithIdOnly = await prisma.site.findMany({ select: { id: true } })
493
+ *
494
+ */
495
+ findMany<T extends SiteFindManyArgs>(args?: Prisma.SelectSubset<T, SiteFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
496
+
497
+ /**
498
+ * Create a Site.
499
+ * @param {SiteCreateArgs} args - Arguments to create a Site.
500
+ * @example
501
+ * // Create one Site
502
+ * const Site = await prisma.site.create({
503
+ * data: {
504
+ * // ... data to create a Site
505
+ * }
506
+ * })
507
+ *
508
+ */
509
+ create<T extends SiteCreateArgs>(args: Prisma.SelectSubset<T, SiteCreateArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
510
+
511
+ /**
512
+ * Create many Sites.
513
+ * @param {SiteCreateManyArgs} args - Arguments to create many Sites.
514
+ * @example
515
+ * // Create many Sites
516
+ * const site = await prisma.site.createMany({
517
+ * data: [
518
+ * // ... provide data here
519
+ * ]
520
+ * })
521
+ *
522
+ */
523
+ createMany<T extends SiteCreateManyArgs>(args?: Prisma.SelectSubset<T, SiteCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
524
+
525
+ /**
526
+ * Create many Sites and returns the data saved in the database.
527
+ * @param {SiteCreateManyAndReturnArgs} args - Arguments to create many Sites.
528
+ * @example
529
+ * // Create many Sites
530
+ * const site = await prisma.site.createManyAndReturn({
531
+ * data: [
532
+ * // ... provide data here
533
+ * ]
534
+ * })
535
+ *
536
+ * // Create many Sites and only return the `id`
537
+ * const siteWithIdOnly = await prisma.site.createManyAndReturn({
538
+ * select: { id: true },
539
+ * data: [
540
+ * // ... provide data here
541
+ * ]
542
+ * })
543
+ * Note, that providing `undefined` is treated as the value not being there.
544
+ * Read more here: https://pris.ly/d/null-undefined
545
+ *
546
+ */
547
+ createManyAndReturn<T extends SiteCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SiteCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
548
+
549
+ /**
550
+ * Delete a Site.
551
+ * @param {SiteDeleteArgs} args - Arguments to delete one Site.
552
+ * @example
553
+ * // Delete one Site
554
+ * const Site = await prisma.site.delete({
555
+ * where: {
556
+ * // ... filter to delete one Site
557
+ * }
558
+ * })
559
+ *
560
+ */
561
+ delete<T extends SiteDeleteArgs>(args: Prisma.SelectSubset<T, SiteDeleteArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
562
+
563
+ /**
564
+ * Update one Site.
565
+ * @param {SiteUpdateArgs} args - Arguments to update one Site.
566
+ * @example
567
+ * // Update one Site
568
+ * const site = await prisma.site.update({
569
+ * where: {
570
+ * // ... provide filter here
571
+ * },
572
+ * data: {
573
+ * // ... provide data here
574
+ * }
575
+ * })
576
+ *
577
+ */
578
+ update<T extends SiteUpdateArgs>(args: Prisma.SelectSubset<T, SiteUpdateArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
579
+
580
+ /**
581
+ * Delete zero or more Sites.
582
+ * @param {SiteDeleteManyArgs} args - Arguments to filter Sites to delete.
583
+ * @example
584
+ * // Delete a few Sites
585
+ * const { count } = await prisma.site.deleteMany({
586
+ * where: {
587
+ * // ... provide filter here
588
+ * }
589
+ * })
590
+ *
591
+ */
592
+ deleteMany<T extends SiteDeleteManyArgs>(args?: Prisma.SelectSubset<T, SiteDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
593
+
594
+ /**
595
+ * Update zero or more Sites.
596
+ * Note, that providing `undefined` is treated as the value not being there.
597
+ * Read more here: https://pris.ly/d/null-undefined
598
+ * @param {SiteUpdateManyArgs} args - Arguments to update one or more rows.
599
+ * @example
600
+ * // Update many Sites
601
+ * const site = await prisma.site.updateMany({
602
+ * where: {
603
+ * // ... provide filter here
604
+ * },
605
+ * data: {
606
+ * // ... provide data here
607
+ * }
608
+ * })
609
+ *
610
+ */
611
+ updateMany<T extends SiteUpdateManyArgs>(args: Prisma.SelectSubset<T, SiteUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
612
+
613
+ /**
614
+ * Update zero or more Sites and returns the data updated in the database.
615
+ * @param {SiteUpdateManyAndReturnArgs} args - Arguments to update many Sites.
616
+ * @example
617
+ * // Update many Sites
618
+ * const site = await prisma.site.updateManyAndReturn({
619
+ * where: {
620
+ * // ... provide filter here
621
+ * },
622
+ * data: [
623
+ * // ... provide data here
624
+ * ]
625
+ * })
626
+ *
627
+ * // Update zero or more Sites and only return the `id`
628
+ * const siteWithIdOnly = await prisma.site.updateManyAndReturn({
629
+ * select: { id: true },
630
+ * where: {
631
+ * // ... provide filter here
632
+ * },
633
+ * data: [
634
+ * // ... provide data here
635
+ * ]
636
+ * })
637
+ * Note, that providing `undefined` is treated as the value not being there.
638
+ * Read more here: https://pris.ly/d/null-undefined
639
+ *
640
+ */
641
+ updateManyAndReturn<T extends SiteUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SiteUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
642
+
643
+ /**
644
+ * Create or update one Site.
645
+ * @param {SiteUpsertArgs} args - Arguments to update or create a Site.
646
+ * @example
647
+ * // Update or create a Site
648
+ * const site = await prisma.site.upsert({
649
+ * create: {
650
+ * // ... data to create a Site
651
+ * },
652
+ * update: {
653
+ * // ... in case it already exists, update
654
+ * },
655
+ * where: {
656
+ * // ... the filter for the Site we want to update
657
+ * }
658
+ * })
659
+ */
660
+ upsert<T extends SiteUpsertArgs>(args: Prisma.SelectSubset<T, SiteUpsertArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
661
+
662
+
663
+ /**
664
+ * Count the number of Sites.
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 {SiteCountArgs} args - Arguments to filter Sites to count.
668
+ * @example
669
+ * // Count the number of Sites
670
+ * const count = await prisma.site.count({
671
+ * where: {
672
+ * // ... the filter for the Sites we want to count
673
+ * }
674
+ * })
675
+ **/
676
+ count<T extends SiteCountArgs>(
677
+ args?: Prisma.Subset<T, SiteCountArgs>,
678
+ ): Prisma.PrismaPromise<
679
+ T extends runtime.Types.Utils.Record<'select', any>
680
+ ? T['select'] extends true
681
+ ? number
682
+ : Prisma.GetScalarType<T['select'], SiteCountAggregateOutputType>
683
+ : number
684
+ >
685
+
686
+ /**
687
+ * Allows you to perform aggregations operations on a Site.
688
+ * Note, that providing `undefined` is treated as the value not being there.
689
+ * Read more here: https://pris.ly/d/null-undefined
690
+ * @param {SiteAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
691
+ * @example
692
+ * // Ordered by age ascending
693
+ * // Where email contains prisma.io
694
+ * // Limited to the 10 users
695
+ * const aggregations = await prisma.user.aggregate({
696
+ * _avg: {
697
+ * age: true,
698
+ * },
699
+ * where: {
700
+ * email: {
701
+ * contains: "prisma.io",
702
+ * },
703
+ * },
704
+ * orderBy: {
705
+ * age: "asc",
706
+ * },
707
+ * take: 10,
708
+ * })
709
+ **/
710
+ aggregate<T extends SiteAggregateArgs>(args: Prisma.Subset<T, SiteAggregateArgs>): Prisma.PrismaPromise<GetSiteAggregateType<T>>
711
+
712
+ /**
713
+ * Group by Site.
714
+ * Note, that providing `undefined` is treated as the value not being there.
715
+ * Read more here: https://pris.ly/d/null-undefined
716
+ * @param {SiteGroupByArgs} args - Group by arguments.
717
+ * @example
718
+ * // Group by city, order by createdAt, get count
719
+ * const result = await prisma.user.groupBy({
720
+ * by: ['city', 'createdAt'],
721
+ * orderBy: {
722
+ * createdAt: true
723
+ * },
724
+ * _count: {
725
+ * _all: true
726
+ * },
727
+ * })
728
+ *
729
+ **/
730
+ groupBy<
731
+ T extends SiteGroupByArgs,
732
+ HasSelectOrTake extends Prisma.Or<
733
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
734
+ Prisma.Extends<'take', Prisma.Keys<T>>
735
+ >,
736
+ OrderByArg extends Prisma.True extends HasSelectOrTake
737
+ ? { orderBy: SiteGroupByArgs['orderBy'] }
738
+ : { orderBy?: SiteGroupByArgs['orderBy'] },
739
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
740
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
741
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
742
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
743
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
744
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
745
+ InputErrors extends ByEmpty extends Prisma.True
746
+ ? `Error: "by" must not be empty.`
747
+ : HavingValid extends Prisma.False
748
+ ? {
749
+ [P in HavingFields]: P extends ByFields
750
+ ? never
751
+ : P extends string
752
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
753
+ : [
754
+ Error,
755
+ 'Field ',
756
+ P,
757
+ ` in "having" needs to be provided in "by"`,
758
+ ]
759
+ }[HavingFields]
760
+ : 'take' extends Prisma.Keys<T>
761
+ ? 'orderBy' extends Prisma.Keys<T>
762
+ ? ByValid extends Prisma.True
763
+ ? {}
764
+ : {
765
+ [P in OrderFields]: P extends ByFields
766
+ ? never
767
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
768
+ }[OrderFields]
769
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
770
+ : 'skip' extends Prisma.Keys<T>
771
+ ? 'orderBy' extends Prisma.Keys<T>
772
+ ? ByValid extends Prisma.True
773
+ ? {}
774
+ : {
775
+ [P in OrderFields]: P extends ByFields
776
+ ? never
777
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
778
+ }[OrderFields]
779
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
780
+ : ByValid extends Prisma.True
781
+ ? {}
782
+ : {
783
+ [P in OrderFields]: P extends ByFields
784
+ ? never
785
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
786
+ }[OrderFields]
787
+ >(args: Prisma.SubsetIntersection<T, SiteGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSiteGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
788
+ /**
789
+ * Fields of the Site model
790
+ */
791
+ readonly fields: SiteFieldRefs;
792
+ }
793
+
794
+ /**
795
+ * The delegate class that acts as a "Promise-like" for Site.
796
+ * Why is this prefixed with `Prisma__`?
797
+ * Because we want to prevent naming conflicts as mentioned in
798
+ * https://github.com/prisma/prisma-client-js/issues/707
799
+ */
800
+ export interface Prisma__SiteClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
801
+ readonly [Symbol.toStringTag]: "PrismaPromise"
802
+ /**
803
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
804
+ * @param onfulfilled The callback to execute when the Promise is resolved.
805
+ * @param onrejected The callback to execute when the Promise is rejected.
806
+ * @returns A Promise for the completion of which ever callback is executed.
807
+ */
808
+ 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>
809
+ /**
810
+ * Attaches a callback for only the rejection of the Promise.
811
+ * @param onrejected The callback to execute when the Promise is rejected.
812
+ * @returns A Promise for the completion of the callback.
813
+ */
814
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
815
+ /**
816
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
817
+ * resolved value cannot be modified from the callback.
818
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
819
+ * @returns A Promise for the completion of the callback.
820
+ */
821
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
822
+ }
823
+
824
+
825
+
826
+
827
+ /**
828
+ * Fields of the Site model
829
+ */
830
+ export interface SiteFieldRefs {
831
+ readonly id: Prisma.FieldRef<"Site", 'String'>
832
+ readonly domain: Prisma.FieldRef<"Site", 'String'>
833
+ readonly name: Prisma.FieldRef<"Site", 'String'>
834
+ readonly configOverrides: Prisma.FieldRef<"Site", 'Json'>
835
+ readonly isDefault: Prisma.FieldRef<"Site", 'Boolean'>
836
+ readonly createdAt: Prisma.FieldRef<"Site", 'DateTime'>
837
+ readonly updatedAt: Prisma.FieldRef<"Site", 'DateTime'>
838
+ }
839
+
840
+
841
+ // Custom InputTypes
842
+ /**
843
+ * Site findUnique
844
+ */
845
+ export type SiteFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
846
+ /**
847
+ * Select specific fields to fetch from the Site
848
+ */
849
+ select?: Prisma.SiteSelect<ExtArgs> | null
850
+ /**
851
+ * Omit specific fields from the Site
852
+ */
853
+ omit?: Prisma.SiteOmit<ExtArgs> | null
854
+ /**
855
+ * Filter, which Site to fetch.
856
+ */
857
+ where: Prisma.SiteWhereUniqueInput
858
+ }
859
+
860
+ /**
861
+ * Site findUniqueOrThrow
862
+ */
863
+ export type SiteFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
864
+ /**
865
+ * Select specific fields to fetch from the Site
866
+ */
867
+ select?: Prisma.SiteSelect<ExtArgs> | null
868
+ /**
869
+ * Omit specific fields from the Site
870
+ */
871
+ omit?: Prisma.SiteOmit<ExtArgs> | null
872
+ /**
873
+ * Filter, which Site to fetch.
874
+ */
875
+ where: Prisma.SiteWhereUniqueInput
876
+ }
877
+
878
+ /**
879
+ * Site findFirst
880
+ */
881
+ export type SiteFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
882
+ /**
883
+ * Select specific fields to fetch from the Site
884
+ */
885
+ select?: Prisma.SiteSelect<ExtArgs> | null
886
+ /**
887
+ * Omit specific fields from the Site
888
+ */
889
+ omit?: Prisma.SiteOmit<ExtArgs> | null
890
+ /**
891
+ * Filter, which Site to fetch.
892
+ */
893
+ where?: Prisma.SiteWhereInput
894
+ /**
895
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
896
+ *
897
+ * Determine the order of Sites to fetch.
898
+ */
899
+ orderBy?: Prisma.SiteOrderByWithRelationInput | Prisma.SiteOrderByWithRelationInput[]
900
+ /**
901
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
902
+ *
903
+ * Sets the position for searching for Sites.
904
+ */
905
+ cursor?: Prisma.SiteWhereUniqueInput
906
+ /**
907
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
908
+ *
909
+ * Take `±n` Sites from the position of the cursor.
910
+ */
911
+ take?: number
912
+ /**
913
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
914
+ *
915
+ * Skip the first `n` Sites.
916
+ */
917
+ skip?: number
918
+ /**
919
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
920
+ *
921
+ * Filter by unique combinations of Sites.
922
+ */
923
+ distinct?: Prisma.SiteScalarFieldEnum | Prisma.SiteScalarFieldEnum[]
924
+ }
925
+
926
+ /**
927
+ * Site findFirstOrThrow
928
+ */
929
+ export type SiteFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
930
+ /**
931
+ * Select specific fields to fetch from the Site
932
+ */
933
+ select?: Prisma.SiteSelect<ExtArgs> | null
934
+ /**
935
+ * Omit specific fields from the Site
936
+ */
937
+ omit?: Prisma.SiteOmit<ExtArgs> | null
938
+ /**
939
+ * Filter, which Site to fetch.
940
+ */
941
+ where?: Prisma.SiteWhereInput
942
+ /**
943
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
944
+ *
945
+ * Determine the order of Sites to fetch.
946
+ */
947
+ orderBy?: Prisma.SiteOrderByWithRelationInput | Prisma.SiteOrderByWithRelationInput[]
948
+ /**
949
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
950
+ *
951
+ * Sets the position for searching for Sites.
952
+ */
953
+ cursor?: Prisma.SiteWhereUniqueInput
954
+ /**
955
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
956
+ *
957
+ * Take `±n` Sites from the position of the cursor.
958
+ */
959
+ take?: number
960
+ /**
961
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
962
+ *
963
+ * Skip the first `n` Sites.
964
+ */
965
+ skip?: number
966
+ /**
967
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
968
+ *
969
+ * Filter by unique combinations of Sites.
970
+ */
971
+ distinct?: Prisma.SiteScalarFieldEnum | Prisma.SiteScalarFieldEnum[]
972
+ }
973
+
974
+ /**
975
+ * Site findMany
976
+ */
977
+ export type SiteFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
978
+ /**
979
+ * Select specific fields to fetch from the Site
980
+ */
981
+ select?: Prisma.SiteSelect<ExtArgs> | null
982
+ /**
983
+ * Omit specific fields from the Site
984
+ */
985
+ omit?: Prisma.SiteOmit<ExtArgs> | null
986
+ /**
987
+ * Filter, which Sites to fetch.
988
+ */
989
+ where?: Prisma.SiteWhereInput
990
+ /**
991
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
992
+ *
993
+ * Determine the order of Sites to fetch.
994
+ */
995
+ orderBy?: Prisma.SiteOrderByWithRelationInput | Prisma.SiteOrderByWithRelationInput[]
996
+ /**
997
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
998
+ *
999
+ * Sets the position for listing Sites.
1000
+ */
1001
+ cursor?: Prisma.SiteWhereUniqueInput
1002
+ /**
1003
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1004
+ *
1005
+ * Take `±n` Sites from the position of the cursor.
1006
+ */
1007
+ take?: number
1008
+ /**
1009
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1010
+ *
1011
+ * Skip the first `n` Sites.
1012
+ */
1013
+ skip?: number
1014
+ /**
1015
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1016
+ *
1017
+ * Filter by unique combinations of Sites.
1018
+ */
1019
+ distinct?: Prisma.SiteScalarFieldEnum | Prisma.SiteScalarFieldEnum[]
1020
+ }
1021
+
1022
+ /**
1023
+ * Site create
1024
+ */
1025
+ export type SiteCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1026
+ /**
1027
+ * Select specific fields to fetch from the Site
1028
+ */
1029
+ select?: Prisma.SiteSelect<ExtArgs> | null
1030
+ /**
1031
+ * Omit specific fields from the Site
1032
+ */
1033
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1034
+ /**
1035
+ * The data needed to create a Site.
1036
+ */
1037
+ data: Prisma.XOR<Prisma.SiteCreateInput, Prisma.SiteUncheckedCreateInput>
1038
+ }
1039
+
1040
+ /**
1041
+ * Site createMany
1042
+ */
1043
+ export type SiteCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1044
+ /**
1045
+ * The data used to create many Sites.
1046
+ */
1047
+ data: Prisma.SiteCreateManyInput | Prisma.SiteCreateManyInput[]
1048
+ skipDuplicates?: boolean
1049
+ }
1050
+
1051
+ /**
1052
+ * Site createManyAndReturn
1053
+ */
1054
+ export type SiteCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1055
+ /**
1056
+ * Select specific fields to fetch from the Site
1057
+ */
1058
+ select?: Prisma.SiteSelectCreateManyAndReturn<ExtArgs> | null
1059
+ /**
1060
+ * Omit specific fields from the Site
1061
+ */
1062
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1063
+ /**
1064
+ * The data used to create many Sites.
1065
+ */
1066
+ data: Prisma.SiteCreateManyInput | Prisma.SiteCreateManyInput[]
1067
+ skipDuplicates?: boolean
1068
+ }
1069
+
1070
+ /**
1071
+ * Site update
1072
+ */
1073
+ export type SiteUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1074
+ /**
1075
+ * Select specific fields to fetch from the Site
1076
+ */
1077
+ select?: Prisma.SiteSelect<ExtArgs> | null
1078
+ /**
1079
+ * Omit specific fields from the Site
1080
+ */
1081
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1082
+ /**
1083
+ * The data needed to update a Site.
1084
+ */
1085
+ data: Prisma.XOR<Prisma.SiteUpdateInput, Prisma.SiteUncheckedUpdateInput>
1086
+ /**
1087
+ * Choose, which Site to update.
1088
+ */
1089
+ where: Prisma.SiteWhereUniqueInput
1090
+ }
1091
+
1092
+ /**
1093
+ * Site updateMany
1094
+ */
1095
+ export type SiteUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1096
+ /**
1097
+ * The data used to update Sites.
1098
+ */
1099
+ data: Prisma.XOR<Prisma.SiteUpdateManyMutationInput, Prisma.SiteUncheckedUpdateManyInput>
1100
+ /**
1101
+ * Filter which Sites to update
1102
+ */
1103
+ where?: Prisma.SiteWhereInput
1104
+ /**
1105
+ * Limit how many Sites to update.
1106
+ */
1107
+ limit?: number
1108
+ }
1109
+
1110
+ /**
1111
+ * Site updateManyAndReturn
1112
+ */
1113
+ export type SiteUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1114
+ /**
1115
+ * Select specific fields to fetch from the Site
1116
+ */
1117
+ select?: Prisma.SiteSelectUpdateManyAndReturn<ExtArgs> | null
1118
+ /**
1119
+ * Omit specific fields from the Site
1120
+ */
1121
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1122
+ /**
1123
+ * The data used to update Sites.
1124
+ */
1125
+ data: Prisma.XOR<Prisma.SiteUpdateManyMutationInput, Prisma.SiteUncheckedUpdateManyInput>
1126
+ /**
1127
+ * Filter which Sites to update
1128
+ */
1129
+ where?: Prisma.SiteWhereInput
1130
+ /**
1131
+ * Limit how many Sites to update.
1132
+ */
1133
+ limit?: number
1134
+ }
1135
+
1136
+ /**
1137
+ * Site upsert
1138
+ */
1139
+ export type SiteUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1140
+ /**
1141
+ * Select specific fields to fetch from the Site
1142
+ */
1143
+ select?: Prisma.SiteSelect<ExtArgs> | null
1144
+ /**
1145
+ * Omit specific fields from the Site
1146
+ */
1147
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1148
+ /**
1149
+ * The filter to search for the Site to update in case it exists.
1150
+ */
1151
+ where: Prisma.SiteWhereUniqueInput
1152
+ /**
1153
+ * In case the Site found by the `where` argument doesn't exist, create a new Site with this data.
1154
+ */
1155
+ create: Prisma.XOR<Prisma.SiteCreateInput, Prisma.SiteUncheckedCreateInput>
1156
+ /**
1157
+ * In case the Site was found with the provided `where` argument, update it with this data.
1158
+ */
1159
+ update: Prisma.XOR<Prisma.SiteUpdateInput, Prisma.SiteUncheckedUpdateInput>
1160
+ }
1161
+
1162
+ /**
1163
+ * Site delete
1164
+ */
1165
+ export type SiteDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1166
+ /**
1167
+ * Select specific fields to fetch from the Site
1168
+ */
1169
+ select?: Prisma.SiteSelect<ExtArgs> | null
1170
+ /**
1171
+ * Omit specific fields from the Site
1172
+ */
1173
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1174
+ /**
1175
+ * Filter which Site to delete.
1176
+ */
1177
+ where: Prisma.SiteWhereUniqueInput
1178
+ }
1179
+
1180
+ /**
1181
+ * Site deleteMany
1182
+ */
1183
+ export type SiteDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1184
+ /**
1185
+ * Filter which Sites to delete
1186
+ */
1187
+ where?: Prisma.SiteWhereInput
1188
+ /**
1189
+ * Limit how many Sites to delete.
1190
+ */
1191
+ limit?: number
1192
+ }
1193
+
1194
+ /**
1195
+ * Site without action
1196
+ */
1197
+ export type SiteDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1198
+ /**
1199
+ * Select specific fields to fetch from the Site
1200
+ */
1201
+ select?: Prisma.SiteSelect<ExtArgs> | null
1202
+ /**
1203
+ * Omit specific fields from the Site
1204
+ */
1205
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1206
+ }