@prenta/core 8.9.2 → 8.11.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 (294) hide show
  1. package/CHANGELOG.md +105 -0
  2. package/dist/actions.d.ts +25 -0
  3. package/dist/actions.d.ts.map +1 -1
  4. package/dist/actions.js +51 -4
  5. package/dist/actions.js.map +1 -1
  6. package/dist/ai/batch-links.d.ts +105 -0
  7. package/dist/ai/batch-links.d.ts.map +1 -0
  8. package/dist/ai/batch-links.js +667 -0
  9. package/dist/ai/batch-links.js.map +1 -0
  10. package/dist/ai/batch-list.d.ts +127 -4
  11. package/dist/ai/batch-list.d.ts.map +1 -1
  12. package/dist/ai/batch-list.js +250 -14
  13. package/dist/ai/batch-list.js.map +1 -1
  14. package/dist/ai/providers/http.d.ts +4 -0
  15. package/dist/ai/providers/http.d.ts.map +1 -1
  16. package/dist/ai/providers/http.js +9 -8
  17. package/dist/ai/providers/http.js.map +1 -1
  18. package/dist/ai/tasks/editor-text.d.ts +39 -0
  19. package/dist/ai/tasks/editor-text.d.ts.map +1 -0
  20. package/dist/ai/tasks/editor-text.js +45 -0
  21. package/dist/ai/tasks/editor-text.js.map +1 -0
  22. package/dist/ai/tasks/link-embeddings.d.ts +22 -0
  23. package/dist/ai/tasks/link-embeddings.d.ts.map +1 -1
  24. package/dist/ai/tasks/link-embeddings.js +24 -10
  25. package/dist/ai/tasks/link-embeddings.js.map +1 -1
  26. package/dist/ai/usage.d.ts +7 -0
  27. package/dist/ai/usage.d.ts.map +1 -1
  28. package/dist/ai/usage.js +11 -0
  29. package/dist/ai/usage.js.map +1 -1
  30. package/dist/api/guarded-db.d.ts +6 -0
  31. package/dist/api/guarded-db.d.ts.map +1 -1
  32. package/dist/api/guarded-db.js +13 -1
  33. package/dist/api/guarded-db.js.map +1 -1
  34. package/dist/api/handlers.d.ts.map +1 -1
  35. package/dist/api/handlers.js +2 -0
  36. package/dist/api/handlers.js.map +1 -1
  37. package/dist/api/openapi.d.ts.map +1 -1
  38. package/dist/api/openapi.js +103 -0
  39. package/dist/api/openapi.js.map +1 -1
  40. package/dist/api/route-helpers/forms.d.ts.map +1 -1
  41. package/dist/api/route-helpers/forms.js +7 -1
  42. package/dist/api/route-helpers/forms.js.map +1 -1
  43. package/dist/api/routes/ai-authoring.d.ts.map +1 -1
  44. package/dist/api/routes/ai-authoring.js +1 -0
  45. package/dist/api/routes/ai-authoring.js.map +1 -1
  46. package/dist/api/routes/ai-seo.d.ts.map +1 -1
  47. package/dist/api/routes/ai-seo.js +20 -18
  48. package/dist/api/routes/ai-seo.js.map +1 -1
  49. package/dist/api/routes/media.d.ts.map +1 -1
  50. package/dist/api/routes/media.js +3 -1
  51. package/dist/api/routes/media.js.map +1 -1
  52. package/dist/api/routes/scheduling.d.ts.map +1 -1
  53. package/dist/api/routes/scheduling.js +33 -2
  54. package/dist/api/routes/scheduling.js.map +1 -1
  55. package/dist/appearance/color.d.ts +17 -0
  56. package/dist/appearance/color.d.ts.map +1 -1
  57. package/dist/appearance/color.js +162 -1
  58. package/dist/appearance/color.js.map +1 -1
  59. package/dist/appearance/index.d.ts +3 -3
  60. package/dist/appearance/index.d.ts.map +1 -1
  61. package/dist/appearance/index.js +2 -2
  62. package/dist/appearance/index.js.map +1 -1
  63. package/dist/appearance/resolve.d.ts.map +1 -1
  64. package/dist/appearance/resolve.js +4 -2
  65. package/dist/appearance/resolve.js.map +1 -1
  66. package/dist/appearance/theme-tokens.d.ts +60 -11
  67. package/dist/appearance/theme-tokens.d.ts.map +1 -1
  68. package/dist/appearance/theme-tokens.js +184 -175
  69. package/dist/appearance/theme-tokens.js.map +1 -1
  70. package/dist/appearance/types.d.ts +16 -2
  71. package/dist/appearance/types.d.ts.map +1 -1
  72. package/dist/astro-site.d.ts +1 -11
  73. package/dist/astro-site.d.ts.map +1 -1
  74. package/dist/astro-site.js +4 -0
  75. package/dist/astro-site.js.map +1 -1
  76. package/dist/auth/team.d.ts +1 -0
  77. package/dist/auth/team.d.ts.map +1 -1
  78. package/dist/auth/team.js +1 -1
  79. package/dist/auth/team.js.map +1 -1
  80. package/dist/cache/http.d.ts +20 -0
  81. package/dist/cache/http.d.ts.map +1 -1
  82. package/dist/cache/http.js +42 -0
  83. package/dist/cache/http.js.map +1 -1
  84. package/dist/chrome/announcement.d.ts +30 -0
  85. package/dist/chrome/announcement.d.ts.map +1 -0
  86. package/dist/chrome/announcement.js +190 -0
  87. package/dist/chrome/announcement.js.map +1 -0
  88. package/dist/chrome/codegen.d.ts +17 -0
  89. package/dist/chrome/codegen.d.ts.map +1 -0
  90. package/dist/chrome/codegen.js +96 -0
  91. package/dist/chrome/codegen.js.map +1 -0
  92. package/dist/chrome/contract.d.ts +161 -0
  93. package/dist/chrome/contract.d.ts.map +1 -0
  94. package/dist/chrome/contract.js +2 -0
  95. package/dist/chrome/contract.js.map +1 -0
  96. package/dist/chrome/memory-store.d.ts +15 -0
  97. package/dist/chrome/memory-store.d.ts.map +1 -0
  98. package/dist/chrome/memory-store.js +54 -0
  99. package/dist/chrome/memory-store.js.map +1 -0
  100. package/dist/chrome/overrides.d.ts +25 -0
  101. package/dist/chrome/overrides.d.ts.map +1 -0
  102. package/dist/chrome/overrides.js +180 -0
  103. package/dist/chrome/overrides.js.map +1 -0
  104. package/dist/chrome/parse.d.ts +36 -0
  105. package/dist/chrome/parse.d.ts.map +1 -0
  106. package/dist/chrome/parse.js +277 -0
  107. package/dist/chrome/parse.js.map +1 -0
  108. package/dist/chrome/prisma-store.d.ts +11 -0
  109. package/dist/chrome/prisma-store.d.ts.map +1 -0
  110. package/dist/chrome/prisma-store.js +48 -0
  111. package/dist/chrome/prisma-store.js.map +1 -0
  112. package/dist/chrome/public.d.ts +22 -0
  113. package/dist/chrome/public.d.ts.map +1 -0
  114. package/dist/chrome/public.js +181 -0
  115. package/dist/chrome/public.js.map +1 -0
  116. package/dist/chrome/resolve.d.ts +36 -0
  117. package/dist/chrome/resolve.d.ts.map +1 -0
  118. package/dist/chrome/resolve.js +165 -0
  119. package/dist/chrome/resolve.js.map +1 -0
  120. package/dist/chrome/revalidate.d.ts +9 -0
  121. package/dist/chrome/revalidate.d.ts.map +1 -0
  122. package/dist/chrome/revalidate.js +51 -0
  123. package/dist/chrome/revalidate.js.map +1 -0
  124. package/dist/chrome/routes.d.ts +14 -0
  125. package/dist/chrome/routes.d.ts.map +1 -0
  126. package/dist/chrome/routes.js +349 -0
  127. package/dist/chrome/routes.js.map +1 -0
  128. package/dist/chrome/schema.d.ts +231 -0
  129. package/dist/chrome/schema.d.ts.map +1 -0
  130. package/dist/chrome/schema.js +73 -0
  131. package/dist/chrome/schema.js.map +1 -0
  132. package/dist/chrome/service.d.ts +76 -0
  133. package/dist/chrome/service.d.ts.map +1 -0
  134. package/dist/chrome/service.js +286 -0
  135. package/dist/chrome/service.js.map +1 -0
  136. package/dist/chrome/settings.d.ts +14 -0
  137. package/dist/chrome/settings.d.ts.map +1 -0
  138. package/dist/chrome/settings.js +142 -0
  139. package/dist/chrome/settings.js.map +1 -0
  140. package/dist/chrome/store.d.ts +48 -0
  141. package/dist/chrome/store.d.ts.map +1 -0
  142. package/dist/chrome/store.js +26 -0
  143. package/dist/chrome/store.js.map +1 -0
  144. package/dist/chrome/values.d.ts +98 -0
  145. package/dist/chrome/values.d.ts.map +1 -0
  146. package/dist/chrome/values.js +491 -0
  147. package/dist/chrome/values.js.map +1 -0
  148. package/dist/config/define.d.ts +2 -0
  149. package/dist/config/define.d.ts.map +1 -1
  150. package/dist/config/define.js +2 -0
  151. package/dist/config/define.js.map +1 -1
  152. package/dist/db/model-types.d.ts +62 -0
  153. package/dist/db/model-types.d.ts.map +1 -1
  154. package/dist/forms/attribution-settings.d.ts +23 -0
  155. package/dist/forms/attribution-settings.d.ts.map +1 -0
  156. package/dist/forms/attribution-settings.js +42 -0
  157. package/dist/forms/attribution-settings.js.map +1 -0
  158. package/dist/forms/attribution.d.ts +5 -1
  159. package/dist/forms/attribution.d.ts.map +1 -1
  160. package/dist/forms/attribution.js +6 -4
  161. package/dist/forms/attribution.js.map +1 -1
  162. package/dist/forms/client-validation.d.ts.map +1 -1
  163. package/dist/forms/client-validation.js +3 -0
  164. package/dist/forms/client-validation.js.map +1 -1
  165. package/dist/forms/form-model.d.ts +109 -0
  166. package/dist/forms/form-model.d.ts.map +1 -0
  167. package/dist/forms/form-model.js +192 -0
  168. package/dist/forms/form-model.js.map +1 -0
  169. package/dist/forms/index.d.ts +2 -2
  170. package/dist/forms/index.d.ts.map +1 -1
  171. package/dist/forms/index.js +1 -1
  172. package/dist/forms/index.js.map +1 -1
  173. package/dist/forms/service.d.ts +19 -1
  174. package/dist/forms/service.d.ts.map +1 -1
  175. package/dist/forms/service.js +152 -0
  176. package/dist/forms/service.js.map +1 -1
  177. package/dist/forms/spam.d.ts +0 -12
  178. package/dist/forms/spam.d.ts.map +1 -1
  179. package/dist/forms/spam.js +30 -0
  180. package/dist/forms/spam.js.map +1 -1
  181. package/dist/forms/submission.d.ts +7 -0
  182. package/dist/forms/submission.d.ts.map +1 -1
  183. package/dist/forms/submission.js +33 -0
  184. package/dist/forms/submission.js.map +1 -1
  185. package/dist/forms/types.d.ts +26 -1
  186. package/dist/forms/types.d.ts.map +1 -1
  187. package/dist/forms/types.js +9 -1
  188. package/dist/forms/types.js.map +1 -1
  189. package/dist/generated/browser.d.ts +35 -3
  190. package/dist/generated/client.d.ts +35 -3
  191. package/dist/generated/internal/class.d.ts +44 -0
  192. package/dist/generated/internal/class.js +4 -4
  193. package/dist/generated/internal/prismaNamespace.d.ts +403 -1
  194. package/dist/generated/internal/prismaNamespace.js +95 -1
  195. package/dist/generated/internal/prismaNamespaceBrowser.d.ts +102 -0
  196. package/dist/generated/internal/prismaNamespaceBrowser.js +95 -1
  197. package/dist/generated/models/ChromeRegion.d.ts +1203 -0
  198. package/dist/generated/models/ChromeRegion.js +1 -0
  199. package/dist/generated/models/Job.d.ts +732 -5
  200. package/dist/generated/models/JobEvent.d.ts +1339 -0
  201. package/dist/generated/models/JobEvent.js +1 -0
  202. package/dist/generated/models/JobReviewItem.d.ts +1470 -0
  203. package/dist/generated/models/JobReviewItem.js +1 -0
  204. package/dist/generated/models/SystemSetting.d.ts +952 -0
  205. package/dist/generated/models/SystemSetting.js +1 -0
  206. package/dist/generated/models.d.ts +4 -0
  207. package/dist/index.d.ts +12 -5
  208. package/dist/index.d.ts.map +1 -1
  209. package/dist/index.js +8 -3
  210. package/dist/index.js.map +1 -1
  211. package/dist/jobs/batch-ai.d.ts +53 -0
  212. package/dist/jobs/batch-ai.d.ts.map +1 -0
  213. package/dist/jobs/batch-ai.js +314 -0
  214. package/dist/jobs/batch-ai.js.map +1 -0
  215. package/dist/jobs/contract.d.ts +193 -0
  216. package/dist/jobs/contract.d.ts.map +1 -0
  217. package/dist/jobs/contract.js +2 -0
  218. package/dist/jobs/contract.js.map +1 -0
  219. package/dist/jobs/error-text.d.ts +23 -0
  220. package/dist/jobs/error-text.d.ts.map +1 -0
  221. package/dist/jobs/error-text.js +110 -0
  222. package/dist/jobs/error-text.js.map +1 -0
  223. package/dist/jobs/handlers.d.ts.map +1 -1
  224. package/dist/jobs/handlers.js +48 -7
  225. package/dist/jobs/handlers.js.map +1 -1
  226. package/dist/jobs/memory-store.d.ts +26 -2
  227. package/dist/jobs/memory-store.d.ts.map +1 -1
  228. package/dist/jobs/memory-store.js +157 -3
  229. package/dist/jobs/memory-store.js.map +1 -1
  230. package/dist/jobs/outcomes.d.ts +46 -0
  231. package/dist/jobs/outcomes.d.ts.map +1 -0
  232. package/dist/jobs/outcomes.js +251 -0
  233. package/dist/jobs/outcomes.js.map +1 -0
  234. package/dist/jobs/prisma-store.d.ts +14 -2
  235. package/dist/jobs/prisma-store.d.ts.map +1 -1
  236. package/dist/jobs/prisma-store.js +257 -15
  237. package/dist/jobs/prisma-store.js.map +1 -1
  238. package/dist/jobs/queue.d.ts +62 -2
  239. package/dist/jobs/queue.d.ts.map +1 -1
  240. package/dist/jobs/queue.js +412 -36
  241. package/dist/jobs/queue.js.map +1 -1
  242. package/dist/jobs/retention.d.ts +11 -0
  243. package/dist/jobs/retention.d.ts.map +1 -0
  244. package/dist/jobs/retention.js +18 -0
  245. package/dist/jobs/retention.js.map +1 -0
  246. package/dist/jobs/review.d.ts +111 -0
  247. package/dist/jobs/review.d.ts.map +1 -0
  248. package/dist/jobs/review.js +461 -0
  249. package/dist/jobs/review.js.map +1 -0
  250. package/dist/jobs/routes.d.ts.map +1 -1
  251. package/dist/jobs/routes.js +491 -16
  252. package/dist/jobs/routes.js.map +1 -1
  253. package/dist/jobs/serialize.d.ts +40 -0
  254. package/dist/jobs/serialize.d.ts.map +1 -0
  255. package/dist/jobs/serialize.js +275 -0
  256. package/dist/jobs/serialize.js.map +1 -0
  257. package/dist/jobs/types.d.ts +141 -2
  258. package/dist/jobs/types.d.ts.map +1 -1
  259. package/dist/jobs/worker-status.d.ts +27 -0
  260. package/dist/jobs/worker-status.d.ts.map +1 -0
  261. package/dist/jobs/worker-status.js +66 -0
  262. package/dist/jobs/worker-status.js.map +1 -0
  263. package/dist/media/optimize.d.ts.map +1 -1
  264. package/dist/media/optimize.js +4 -2
  265. package/dist/media/optimize.js.map +1 -1
  266. package/dist/next-site.d.ts +1 -0
  267. package/dist/next-site.d.ts.map +1 -1
  268. package/dist/next-site.js +3 -0
  269. package/dist/next-site.js.map +1 -1
  270. package/dist/seo/audit-runner.d.ts.map +1 -1
  271. package/dist/seo/audit-runner.js +23 -2
  272. package/dist/seo/audit-runner.js.map +1 -1
  273. package/dist/seo/issue-fix-link-insert.d.ts +11 -0
  274. package/dist/seo/issue-fix-link-insert.d.ts.map +1 -1
  275. package/dist/seo/issue-fix-link-insert.js +122 -8
  276. package/dist/seo/issue-fix-link-insert.js.map +1 -1
  277. package/dist/server-site.d.ts.map +1 -1
  278. package/dist/server-site.js +15 -0
  279. package/dist/server-site.js.map +1 -1
  280. package/dist/site.d.ts +8 -0
  281. package/dist/site.d.ts.map +1 -1
  282. package/dist/site.js +6 -0
  283. package/dist/site.js.map +1 -1
  284. package/dist/webhooks/index.d.ts +3 -1
  285. package/dist/webhooks/index.d.ts.map +1 -1
  286. package/dist/webhooks/index.js.map +1 -1
  287. package/package.json +6 -1
  288. package/prisma/migrations/0025_job_cancel_review/down.sql +60 -0
  289. package/prisma/migrations/0025_job_cancel_review/migration.sql +56 -0
  290. package/prisma/migrations/0026_job_creator_system_settings/down.sql +30 -0
  291. package/prisma/migrations/0026_job_creator_system_settings/migration.sql +14 -0
  292. package/prisma/migrations/0027_chrome_regions/down.sql +24 -0
  293. package/prisma/migrations/0027_chrome_regions/migration.sql +16 -0
  294. package/prisma/schema.prisma +105 -15
@@ -0,0 +1,1203 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model ChromeRegion
5
+ * Site chrome for Appearance > Header & Footer, one row per region.
6
+ * `header` and `footer` hold the code-first schema the site sends on deploy
7
+ * (`schema`, with `source.commit`; variants and fields are ordered pairs
8
+ * because JSONB doesn't keep key order), the site-default `variant`, the saved
9
+ * field `values`, and the values a schema change dropped (`orphans`, each with
10
+ * `orphanedAt`, kept 30 days). `announcement` holds the announcement bar in
11
+ * `values`, and in `state` the schedule boundaries that already revalidated
12
+ * the site. Every write is conditional on `version`, so a save and a schema
13
+ * read can't overwrite each other. `updatedAt` is set by the code, not
14
+ * `@updatedAt`'s default: it moves only when the saved values change.
15
+ */
16
+ export type ChromeRegionModel = runtime.Types.Result.DefaultSelection<Prisma.$ChromeRegionPayload>;
17
+ export type AggregateChromeRegion = {
18
+ _count: ChromeRegionCountAggregateOutputType | null;
19
+ _avg: ChromeRegionAvgAggregateOutputType | null;
20
+ _sum: ChromeRegionSumAggregateOutputType | null;
21
+ _min: ChromeRegionMinAggregateOutputType | null;
22
+ _max: ChromeRegionMaxAggregateOutputType | null;
23
+ };
24
+ export type ChromeRegionAvgAggregateOutputType = {
25
+ version: number | null;
26
+ };
27
+ export type ChromeRegionSumAggregateOutputType = {
28
+ version: number | null;
29
+ };
30
+ export type ChromeRegionMinAggregateOutputType = {
31
+ region: string | null;
32
+ schemaHash: string | null;
33
+ variant: string | null;
34
+ version: number | null;
35
+ updatedById: string | null;
36
+ createdAt: Date | null;
37
+ updatedAt: Date | null;
38
+ };
39
+ export type ChromeRegionMaxAggregateOutputType = {
40
+ region: string | null;
41
+ schemaHash: string | null;
42
+ variant: string | null;
43
+ version: number | null;
44
+ updatedById: string | null;
45
+ createdAt: Date | null;
46
+ updatedAt: Date | null;
47
+ };
48
+ export type ChromeRegionCountAggregateOutputType = {
49
+ region: number;
50
+ schema: number;
51
+ schemaHash: number;
52
+ variant: number;
53
+ values: number;
54
+ orphans: number;
55
+ state: number;
56
+ version: number;
57
+ updatedById: number;
58
+ createdAt: number;
59
+ updatedAt: number;
60
+ _all: number;
61
+ };
62
+ export type ChromeRegionAvgAggregateInputType = {
63
+ version?: true;
64
+ };
65
+ export type ChromeRegionSumAggregateInputType = {
66
+ version?: true;
67
+ };
68
+ export type ChromeRegionMinAggregateInputType = {
69
+ region?: true;
70
+ schemaHash?: true;
71
+ variant?: true;
72
+ version?: true;
73
+ updatedById?: true;
74
+ createdAt?: true;
75
+ updatedAt?: true;
76
+ };
77
+ export type ChromeRegionMaxAggregateInputType = {
78
+ region?: true;
79
+ schemaHash?: true;
80
+ variant?: true;
81
+ version?: true;
82
+ updatedById?: true;
83
+ createdAt?: true;
84
+ updatedAt?: true;
85
+ };
86
+ export type ChromeRegionCountAggregateInputType = {
87
+ region?: true;
88
+ schema?: true;
89
+ schemaHash?: true;
90
+ variant?: true;
91
+ values?: true;
92
+ orphans?: true;
93
+ state?: true;
94
+ version?: true;
95
+ updatedById?: true;
96
+ createdAt?: true;
97
+ updatedAt?: true;
98
+ _all?: true;
99
+ };
100
+ export type ChromeRegionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
101
+ /**
102
+ * Filter which ChromeRegion to aggregate.
103
+ */
104
+ where?: Prisma.ChromeRegionWhereInput;
105
+ /**
106
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
107
+ *
108
+ * Determine the order of ChromeRegions to fetch.
109
+ */
110
+ orderBy?: Prisma.ChromeRegionOrderByWithRelationInput | Prisma.ChromeRegionOrderByWithRelationInput[];
111
+ /**
112
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
113
+ *
114
+ * Sets the start position
115
+ */
116
+ cursor?: Prisma.ChromeRegionWhereUniqueInput;
117
+ /**
118
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
119
+ *
120
+ * Take `±n` ChromeRegions from the position of the cursor.
121
+ */
122
+ take?: number;
123
+ /**
124
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
125
+ *
126
+ * Skip the first `n` ChromeRegions.
127
+ */
128
+ skip?: number;
129
+ /**
130
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
131
+ *
132
+ * Count returned ChromeRegions
133
+ **/
134
+ _count?: true | ChromeRegionCountAggregateInputType;
135
+ /**
136
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
137
+ *
138
+ * Select which fields to average
139
+ **/
140
+ _avg?: ChromeRegionAvgAggregateInputType;
141
+ /**
142
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
143
+ *
144
+ * Select which fields to sum
145
+ **/
146
+ _sum?: ChromeRegionSumAggregateInputType;
147
+ /**
148
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
149
+ *
150
+ * Select which fields to find the minimum value
151
+ **/
152
+ _min?: ChromeRegionMinAggregateInputType;
153
+ /**
154
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
155
+ *
156
+ * Select which fields to find the maximum value
157
+ **/
158
+ _max?: ChromeRegionMaxAggregateInputType;
159
+ };
160
+ export type GetChromeRegionAggregateType<T extends ChromeRegionAggregateArgs> = {
161
+ [P in keyof T & keyof AggregateChromeRegion]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateChromeRegion[P]> : Prisma.GetScalarType<T[P], AggregateChromeRegion[P]>;
162
+ };
163
+ export type ChromeRegionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
164
+ where?: Prisma.ChromeRegionWhereInput;
165
+ orderBy?: Prisma.ChromeRegionOrderByWithAggregationInput | Prisma.ChromeRegionOrderByWithAggregationInput[];
166
+ by: Prisma.ChromeRegionScalarFieldEnum[] | Prisma.ChromeRegionScalarFieldEnum;
167
+ having?: Prisma.ChromeRegionScalarWhereWithAggregatesInput;
168
+ take?: number;
169
+ skip?: number;
170
+ _count?: ChromeRegionCountAggregateInputType | true;
171
+ _avg?: ChromeRegionAvgAggregateInputType;
172
+ _sum?: ChromeRegionSumAggregateInputType;
173
+ _min?: ChromeRegionMinAggregateInputType;
174
+ _max?: ChromeRegionMaxAggregateInputType;
175
+ };
176
+ export type ChromeRegionGroupByOutputType = {
177
+ region: string;
178
+ schema: runtime.JsonValue | null;
179
+ schemaHash: string | null;
180
+ variant: string | null;
181
+ values: runtime.JsonValue;
182
+ orphans: runtime.JsonValue;
183
+ state: runtime.JsonValue | null;
184
+ version: number;
185
+ updatedById: string | null;
186
+ createdAt: Date;
187
+ updatedAt: Date;
188
+ _count: ChromeRegionCountAggregateOutputType | null;
189
+ _avg: ChromeRegionAvgAggregateOutputType | null;
190
+ _sum: ChromeRegionSumAggregateOutputType | null;
191
+ _min: ChromeRegionMinAggregateOutputType | null;
192
+ _max: ChromeRegionMaxAggregateOutputType | null;
193
+ };
194
+ export type GetChromeRegionGroupByPayload<T extends ChromeRegionGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ChromeRegionGroupByOutputType, T['by']> & {
195
+ [P in ((keyof T) & (keyof ChromeRegionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ChromeRegionGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ChromeRegionGroupByOutputType[P]>;
196
+ }>>;
197
+ export type ChromeRegionWhereInput = {
198
+ AND?: Prisma.ChromeRegionWhereInput | Prisma.ChromeRegionWhereInput[];
199
+ OR?: Prisma.ChromeRegionWhereInput[];
200
+ NOT?: Prisma.ChromeRegionWhereInput | Prisma.ChromeRegionWhereInput[];
201
+ region?: Prisma.StringFilter<"ChromeRegion"> | string;
202
+ schema?: Prisma.JsonNullableFilter<"ChromeRegion">;
203
+ schemaHash?: Prisma.StringNullableFilter<"ChromeRegion"> | string | null;
204
+ variant?: Prisma.StringNullableFilter<"ChromeRegion"> | string | null;
205
+ values?: Prisma.JsonFilter<"ChromeRegion">;
206
+ orphans?: Prisma.JsonFilter<"ChromeRegion">;
207
+ state?: Prisma.JsonNullableFilter<"ChromeRegion">;
208
+ version?: Prisma.IntFilter<"ChromeRegion"> | number;
209
+ updatedById?: Prisma.StringNullableFilter<"ChromeRegion"> | string | null;
210
+ createdAt?: Prisma.DateTimeFilter<"ChromeRegion"> | Date | string;
211
+ updatedAt?: Prisma.DateTimeFilter<"ChromeRegion"> | Date | string;
212
+ };
213
+ export type ChromeRegionOrderByWithRelationInput = {
214
+ region?: Prisma.SortOrder;
215
+ schema?: Prisma.SortOrderInput | Prisma.SortOrder;
216
+ schemaHash?: Prisma.SortOrderInput | Prisma.SortOrder;
217
+ variant?: Prisma.SortOrderInput | Prisma.SortOrder;
218
+ values?: Prisma.SortOrder;
219
+ orphans?: Prisma.SortOrder;
220
+ state?: Prisma.SortOrderInput | Prisma.SortOrder;
221
+ version?: Prisma.SortOrder;
222
+ updatedById?: Prisma.SortOrderInput | Prisma.SortOrder;
223
+ createdAt?: Prisma.SortOrder;
224
+ updatedAt?: Prisma.SortOrder;
225
+ _relevance?: Prisma.ChromeRegionOrderByRelevanceInput;
226
+ };
227
+ export type ChromeRegionWhereUniqueInput = Prisma.AtLeast<{
228
+ region?: string;
229
+ AND?: Prisma.ChromeRegionWhereInput | Prisma.ChromeRegionWhereInput[];
230
+ OR?: Prisma.ChromeRegionWhereInput[];
231
+ NOT?: Prisma.ChromeRegionWhereInput | Prisma.ChromeRegionWhereInput[];
232
+ schema?: Prisma.JsonNullableFilter<"ChromeRegion">;
233
+ schemaHash?: Prisma.StringNullableFilter<"ChromeRegion"> | string | null;
234
+ variant?: Prisma.StringNullableFilter<"ChromeRegion"> | string | null;
235
+ values?: Prisma.JsonFilter<"ChromeRegion">;
236
+ orphans?: Prisma.JsonFilter<"ChromeRegion">;
237
+ state?: Prisma.JsonNullableFilter<"ChromeRegion">;
238
+ version?: Prisma.IntFilter<"ChromeRegion"> | number;
239
+ updatedById?: Prisma.StringNullableFilter<"ChromeRegion"> | string | null;
240
+ createdAt?: Prisma.DateTimeFilter<"ChromeRegion"> | Date | string;
241
+ updatedAt?: Prisma.DateTimeFilter<"ChromeRegion"> | Date | string;
242
+ }, "region">;
243
+ export type ChromeRegionOrderByWithAggregationInput = {
244
+ region?: Prisma.SortOrder;
245
+ schema?: Prisma.SortOrderInput | Prisma.SortOrder;
246
+ schemaHash?: Prisma.SortOrderInput | Prisma.SortOrder;
247
+ variant?: Prisma.SortOrderInput | Prisma.SortOrder;
248
+ values?: Prisma.SortOrder;
249
+ orphans?: Prisma.SortOrder;
250
+ state?: Prisma.SortOrderInput | Prisma.SortOrder;
251
+ version?: Prisma.SortOrder;
252
+ updatedById?: Prisma.SortOrderInput | Prisma.SortOrder;
253
+ createdAt?: Prisma.SortOrder;
254
+ updatedAt?: Prisma.SortOrder;
255
+ _count?: Prisma.ChromeRegionCountOrderByAggregateInput;
256
+ _avg?: Prisma.ChromeRegionAvgOrderByAggregateInput;
257
+ _max?: Prisma.ChromeRegionMaxOrderByAggregateInput;
258
+ _min?: Prisma.ChromeRegionMinOrderByAggregateInput;
259
+ _sum?: Prisma.ChromeRegionSumOrderByAggregateInput;
260
+ };
261
+ export type ChromeRegionScalarWhereWithAggregatesInput = {
262
+ AND?: Prisma.ChromeRegionScalarWhereWithAggregatesInput | Prisma.ChromeRegionScalarWhereWithAggregatesInput[];
263
+ OR?: Prisma.ChromeRegionScalarWhereWithAggregatesInput[];
264
+ NOT?: Prisma.ChromeRegionScalarWhereWithAggregatesInput | Prisma.ChromeRegionScalarWhereWithAggregatesInput[];
265
+ region?: Prisma.StringWithAggregatesFilter<"ChromeRegion"> | string;
266
+ schema?: Prisma.JsonNullableWithAggregatesFilter<"ChromeRegion">;
267
+ schemaHash?: Prisma.StringNullableWithAggregatesFilter<"ChromeRegion"> | string | null;
268
+ variant?: Prisma.StringNullableWithAggregatesFilter<"ChromeRegion"> | string | null;
269
+ values?: Prisma.JsonWithAggregatesFilter<"ChromeRegion">;
270
+ orphans?: Prisma.JsonWithAggregatesFilter<"ChromeRegion">;
271
+ state?: Prisma.JsonNullableWithAggregatesFilter<"ChromeRegion">;
272
+ version?: Prisma.IntWithAggregatesFilter<"ChromeRegion"> | number;
273
+ updatedById?: Prisma.StringNullableWithAggregatesFilter<"ChromeRegion"> | string | null;
274
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"ChromeRegion"> | Date | string;
275
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ChromeRegion"> | Date | string;
276
+ };
277
+ export type ChromeRegionCreateInput = {
278
+ region: string;
279
+ schema?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
280
+ schemaHash?: string | null;
281
+ variant?: string | null;
282
+ values?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
283
+ orphans?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
284
+ state?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
285
+ version?: number;
286
+ updatedById?: string | null;
287
+ createdAt?: Date | string;
288
+ updatedAt?: Date | string;
289
+ };
290
+ export type ChromeRegionUncheckedCreateInput = {
291
+ region: string;
292
+ schema?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
293
+ schemaHash?: string | null;
294
+ variant?: string | null;
295
+ values?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
296
+ orphans?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
297
+ state?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
298
+ version?: number;
299
+ updatedById?: string | null;
300
+ createdAt?: Date | string;
301
+ updatedAt?: Date | string;
302
+ };
303
+ export type ChromeRegionUpdateInput = {
304
+ region?: Prisma.StringFieldUpdateOperationsInput | string;
305
+ schema?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
306
+ schemaHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
307
+ variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
308
+ values?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
309
+ orphans?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
310
+ state?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
311
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
312
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
313
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
314
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
315
+ };
316
+ export type ChromeRegionUncheckedUpdateInput = {
317
+ region?: Prisma.StringFieldUpdateOperationsInput | string;
318
+ schema?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
319
+ schemaHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
320
+ variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
321
+ values?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
322
+ orphans?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
323
+ state?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
324
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
325
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
326
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
327
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
328
+ };
329
+ export type ChromeRegionCreateManyInput = {
330
+ region: string;
331
+ schema?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
332
+ schemaHash?: string | null;
333
+ variant?: string | null;
334
+ values?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
335
+ orphans?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
336
+ state?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
337
+ version?: number;
338
+ updatedById?: string | null;
339
+ createdAt?: Date | string;
340
+ updatedAt?: Date | string;
341
+ };
342
+ export type ChromeRegionUpdateManyMutationInput = {
343
+ region?: Prisma.StringFieldUpdateOperationsInput | string;
344
+ schema?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
345
+ schemaHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
346
+ variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
347
+ values?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
348
+ orphans?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
349
+ state?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
350
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
351
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
352
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
353
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
354
+ };
355
+ export type ChromeRegionUncheckedUpdateManyInput = {
356
+ region?: Prisma.StringFieldUpdateOperationsInput | string;
357
+ schema?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
358
+ schemaHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
359
+ variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
360
+ values?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
361
+ orphans?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
362
+ state?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
363
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
364
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
365
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
366
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
367
+ };
368
+ export type ChromeRegionOrderByRelevanceInput = {
369
+ fields: Prisma.ChromeRegionOrderByRelevanceFieldEnum | Prisma.ChromeRegionOrderByRelevanceFieldEnum[];
370
+ sort: Prisma.SortOrder;
371
+ search: string;
372
+ };
373
+ export type ChromeRegionCountOrderByAggregateInput = {
374
+ region?: Prisma.SortOrder;
375
+ schema?: Prisma.SortOrder;
376
+ schemaHash?: Prisma.SortOrder;
377
+ variant?: Prisma.SortOrder;
378
+ values?: Prisma.SortOrder;
379
+ orphans?: Prisma.SortOrder;
380
+ state?: Prisma.SortOrder;
381
+ version?: Prisma.SortOrder;
382
+ updatedById?: Prisma.SortOrder;
383
+ createdAt?: Prisma.SortOrder;
384
+ updatedAt?: Prisma.SortOrder;
385
+ };
386
+ export type ChromeRegionAvgOrderByAggregateInput = {
387
+ version?: Prisma.SortOrder;
388
+ };
389
+ export type ChromeRegionMaxOrderByAggregateInput = {
390
+ region?: Prisma.SortOrder;
391
+ schemaHash?: Prisma.SortOrder;
392
+ variant?: Prisma.SortOrder;
393
+ version?: Prisma.SortOrder;
394
+ updatedById?: Prisma.SortOrder;
395
+ createdAt?: Prisma.SortOrder;
396
+ updatedAt?: Prisma.SortOrder;
397
+ };
398
+ export type ChromeRegionMinOrderByAggregateInput = {
399
+ region?: Prisma.SortOrder;
400
+ schemaHash?: Prisma.SortOrder;
401
+ variant?: Prisma.SortOrder;
402
+ version?: Prisma.SortOrder;
403
+ updatedById?: Prisma.SortOrder;
404
+ createdAt?: Prisma.SortOrder;
405
+ updatedAt?: Prisma.SortOrder;
406
+ };
407
+ export type ChromeRegionSumOrderByAggregateInput = {
408
+ version?: Prisma.SortOrder;
409
+ };
410
+ export type ChromeRegionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
411
+ region?: boolean;
412
+ schema?: boolean;
413
+ schemaHash?: boolean;
414
+ variant?: boolean;
415
+ values?: boolean;
416
+ orphans?: boolean;
417
+ state?: boolean;
418
+ version?: boolean;
419
+ updatedById?: boolean;
420
+ createdAt?: boolean;
421
+ updatedAt?: boolean;
422
+ }, ExtArgs["result"]["chromeRegion"]>;
423
+ export type ChromeRegionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
424
+ region?: boolean;
425
+ schema?: boolean;
426
+ schemaHash?: boolean;
427
+ variant?: boolean;
428
+ values?: boolean;
429
+ orphans?: boolean;
430
+ state?: boolean;
431
+ version?: boolean;
432
+ updatedById?: boolean;
433
+ createdAt?: boolean;
434
+ updatedAt?: boolean;
435
+ }, ExtArgs["result"]["chromeRegion"]>;
436
+ export type ChromeRegionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
437
+ region?: boolean;
438
+ schema?: boolean;
439
+ schemaHash?: boolean;
440
+ variant?: boolean;
441
+ values?: boolean;
442
+ orphans?: boolean;
443
+ state?: boolean;
444
+ version?: boolean;
445
+ updatedById?: boolean;
446
+ createdAt?: boolean;
447
+ updatedAt?: boolean;
448
+ }, ExtArgs["result"]["chromeRegion"]>;
449
+ export type ChromeRegionSelectScalar = {
450
+ region?: boolean;
451
+ schema?: boolean;
452
+ schemaHash?: boolean;
453
+ variant?: boolean;
454
+ values?: boolean;
455
+ orphans?: boolean;
456
+ state?: boolean;
457
+ version?: boolean;
458
+ updatedById?: boolean;
459
+ createdAt?: boolean;
460
+ updatedAt?: boolean;
461
+ };
462
+ export type ChromeRegionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"region" | "schema" | "schemaHash" | "variant" | "values" | "orphans" | "state" | "version" | "updatedById" | "createdAt" | "updatedAt", ExtArgs["result"]["chromeRegion"]>;
463
+ export type $ChromeRegionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
464
+ name: "ChromeRegion";
465
+ objects: {};
466
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
467
+ region: string;
468
+ schema: runtime.JsonValue | null;
469
+ schemaHash: string | null;
470
+ variant: string | null;
471
+ values: runtime.JsonValue;
472
+ orphans: runtime.JsonValue;
473
+ state: runtime.JsonValue | null;
474
+ version: number;
475
+ updatedById: string | null;
476
+ createdAt: Date;
477
+ updatedAt: Date;
478
+ }, ExtArgs["result"]["chromeRegion"]>;
479
+ composites: {};
480
+ };
481
+ export type ChromeRegionGetPayload<S extends boolean | null | undefined | ChromeRegionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ChromeRegionPayload, S>;
482
+ export type ChromeRegionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ChromeRegionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
483
+ select?: ChromeRegionCountAggregateInputType | true;
484
+ };
485
+ export interface ChromeRegionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
486
+ [K: symbol]: {
487
+ types: Prisma.TypeMap<ExtArgs>['model']['ChromeRegion'];
488
+ meta: {
489
+ name: 'ChromeRegion';
490
+ };
491
+ };
492
+ /**
493
+ * Find zero or one ChromeRegion that matches the filter.
494
+ * @param {ChromeRegionFindUniqueArgs} args - Arguments to find a ChromeRegion
495
+ * @example
496
+ * // Get one ChromeRegion
497
+ * const chromeRegion = await prisma.chromeRegion.findUnique({
498
+ * where: {
499
+ * // ... provide filter here
500
+ * }
501
+ * })
502
+ */
503
+ findUnique<T extends ChromeRegionFindUniqueArgs>(args: Prisma.SelectSubset<T, ChromeRegionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ChromeRegionClient<runtime.Types.Result.GetResult<Prisma.$ChromeRegionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
504
+ /**
505
+ * Find one ChromeRegion that matches the filter or throw an error with `error.code='P2025'`
506
+ * if no matches were found.
507
+ * @param {ChromeRegionFindUniqueOrThrowArgs} args - Arguments to find a ChromeRegion
508
+ * @example
509
+ * // Get one ChromeRegion
510
+ * const chromeRegion = await prisma.chromeRegion.findUniqueOrThrow({
511
+ * where: {
512
+ * // ... provide filter here
513
+ * }
514
+ * })
515
+ */
516
+ findUniqueOrThrow<T extends ChromeRegionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ChromeRegionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChromeRegionClient<runtime.Types.Result.GetResult<Prisma.$ChromeRegionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
517
+ /**
518
+ * Find the first ChromeRegion that matches the filter.
519
+ * Note, that providing `undefined` is treated as the value not being there.
520
+ * Read more here: https://pris.ly/d/null-undefined
521
+ * @param {ChromeRegionFindFirstArgs} args - Arguments to find a ChromeRegion
522
+ * @example
523
+ * // Get one ChromeRegion
524
+ * const chromeRegion = await prisma.chromeRegion.findFirst({
525
+ * where: {
526
+ * // ... provide filter here
527
+ * }
528
+ * })
529
+ */
530
+ findFirst<T extends ChromeRegionFindFirstArgs>(args?: Prisma.SelectSubset<T, ChromeRegionFindFirstArgs<ExtArgs>>): Prisma.Prisma__ChromeRegionClient<runtime.Types.Result.GetResult<Prisma.$ChromeRegionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
531
+ /**
532
+ * Find the first ChromeRegion that matches the filter or
533
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
534
+ * Note, that providing `undefined` is treated as the value not being there.
535
+ * Read more here: https://pris.ly/d/null-undefined
536
+ * @param {ChromeRegionFindFirstOrThrowArgs} args - Arguments to find a ChromeRegion
537
+ * @example
538
+ * // Get one ChromeRegion
539
+ * const chromeRegion = await prisma.chromeRegion.findFirstOrThrow({
540
+ * where: {
541
+ * // ... provide filter here
542
+ * }
543
+ * })
544
+ */
545
+ findFirstOrThrow<T extends ChromeRegionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ChromeRegionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChromeRegionClient<runtime.Types.Result.GetResult<Prisma.$ChromeRegionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
546
+ /**
547
+ * Find zero or more ChromeRegions that matches the filter.
548
+ * Note, that providing `undefined` is treated as the value not being there.
549
+ * Read more here: https://pris.ly/d/null-undefined
550
+ * @param {ChromeRegionFindManyArgs} args - Arguments to filter and select certain fields only.
551
+ * @example
552
+ * // Get all ChromeRegions
553
+ * const chromeRegions = await prisma.chromeRegion.findMany()
554
+ *
555
+ * // Get first 10 ChromeRegions
556
+ * const chromeRegions = await prisma.chromeRegion.findMany({ take: 10 })
557
+ *
558
+ * // Only select the `region`
559
+ * const chromeRegionWithRegionOnly = await prisma.chromeRegion.findMany({ select: { region: true } })
560
+ *
561
+ */
562
+ findMany<T extends ChromeRegionFindManyArgs>(args?: Prisma.SelectSubset<T, ChromeRegionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChromeRegionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
563
+ /**
564
+ * Create a ChromeRegion.
565
+ * @param {ChromeRegionCreateArgs} args - Arguments to create a ChromeRegion.
566
+ * @example
567
+ * // Create one ChromeRegion
568
+ * const ChromeRegion = await prisma.chromeRegion.create({
569
+ * data: {
570
+ * // ... data to create a ChromeRegion
571
+ * }
572
+ * })
573
+ *
574
+ */
575
+ create<T extends ChromeRegionCreateArgs>(args: Prisma.SelectSubset<T, ChromeRegionCreateArgs<ExtArgs>>): Prisma.Prisma__ChromeRegionClient<runtime.Types.Result.GetResult<Prisma.$ChromeRegionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
576
+ /**
577
+ * Create many ChromeRegions.
578
+ * @param {ChromeRegionCreateManyArgs} args - Arguments to create many ChromeRegions.
579
+ * @example
580
+ * // Create many ChromeRegions
581
+ * const chromeRegion = await prisma.chromeRegion.createMany({
582
+ * data: [
583
+ * // ... provide data here
584
+ * ]
585
+ * })
586
+ *
587
+ */
588
+ createMany<T extends ChromeRegionCreateManyArgs>(args?: Prisma.SelectSubset<T, ChromeRegionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
589
+ /**
590
+ * Create many ChromeRegions and returns the data saved in the database.
591
+ * @param {ChromeRegionCreateManyAndReturnArgs} args - Arguments to create many ChromeRegions.
592
+ * @example
593
+ * // Create many ChromeRegions
594
+ * const chromeRegion = await prisma.chromeRegion.createManyAndReturn({
595
+ * data: [
596
+ * // ... provide data here
597
+ * ]
598
+ * })
599
+ *
600
+ * // Create many ChromeRegions and only return the `region`
601
+ * const chromeRegionWithRegionOnly = await prisma.chromeRegion.createManyAndReturn({
602
+ * select: { region: true },
603
+ * data: [
604
+ * // ... provide data here
605
+ * ]
606
+ * })
607
+ * Note, that providing `undefined` is treated as the value not being there.
608
+ * Read more here: https://pris.ly/d/null-undefined
609
+ *
610
+ */
611
+ createManyAndReturn<T extends ChromeRegionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ChromeRegionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChromeRegionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
612
+ /**
613
+ * Delete a ChromeRegion.
614
+ * @param {ChromeRegionDeleteArgs} args - Arguments to delete one ChromeRegion.
615
+ * @example
616
+ * // Delete one ChromeRegion
617
+ * const ChromeRegion = await prisma.chromeRegion.delete({
618
+ * where: {
619
+ * // ... filter to delete one ChromeRegion
620
+ * }
621
+ * })
622
+ *
623
+ */
624
+ delete<T extends ChromeRegionDeleteArgs>(args: Prisma.SelectSubset<T, ChromeRegionDeleteArgs<ExtArgs>>): Prisma.Prisma__ChromeRegionClient<runtime.Types.Result.GetResult<Prisma.$ChromeRegionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
625
+ /**
626
+ * Update one ChromeRegion.
627
+ * @param {ChromeRegionUpdateArgs} args - Arguments to update one ChromeRegion.
628
+ * @example
629
+ * // Update one ChromeRegion
630
+ * const chromeRegion = await prisma.chromeRegion.update({
631
+ * where: {
632
+ * // ... provide filter here
633
+ * },
634
+ * data: {
635
+ * // ... provide data here
636
+ * }
637
+ * })
638
+ *
639
+ */
640
+ update<T extends ChromeRegionUpdateArgs>(args: Prisma.SelectSubset<T, ChromeRegionUpdateArgs<ExtArgs>>): Prisma.Prisma__ChromeRegionClient<runtime.Types.Result.GetResult<Prisma.$ChromeRegionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
641
+ /**
642
+ * Delete zero or more ChromeRegions.
643
+ * @param {ChromeRegionDeleteManyArgs} args - Arguments to filter ChromeRegions to delete.
644
+ * @example
645
+ * // Delete a few ChromeRegions
646
+ * const { count } = await prisma.chromeRegion.deleteMany({
647
+ * where: {
648
+ * // ... provide filter here
649
+ * }
650
+ * })
651
+ *
652
+ */
653
+ deleteMany<T extends ChromeRegionDeleteManyArgs>(args?: Prisma.SelectSubset<T, ChromeRegionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
654
+ /**
655
+ * Update zero or more ChromeRegions.
656
+ * Note, that providing `undefined` is treated as the value not being there.
657
+ * Read more here: https://pris.ly/d/null-undefined
658
+ * @param {ChromeRegionUpdateManyArgs} args - Arguments to update one or more rows.
659
+ * @example
660
+ * // Update many ChromeRegions
661
+ * const chromeRegion = await prisma.chromeRegion.updateMany({
662
+ * where: {
663
+ * // ... provide filter here
664
+ * },
665
+ * data: {
666
+ * // ... provide data here
667
+ * }
668
+ * })
669
+ *
670
+ */
671
+ updateMany<T extends ChromeRegionUpdateManyArgs>(args: Prisma.SelectSubset<T, ChromeRegionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
672
+ /**
673
+ * Update zero or more ChromeRegions and returns the data updated in the database.
674
+ * @param {ChromeRegionUpdateManyAndReturnArgs} args - Arguments to update many ChromeRegions.
675
+ * @example
676
+ * // Update many ChromeRegions
677
+ * const chromeRegion = await prisma.chromeRegion.updateManyAndReturn({
678
+ * where: {
679
+ * // ... provide filter here
680
+ * },
681
+ * data: [
682
+ * // ... provide data here
683
+ * ]
684
+ * })
685
+ *
686
+ * // Update zero or more ChromeRegions and only return the `region`
687
+ * const chromeRegionWithRegionOnly = await prisma.chromeRegion.updateManyAndReturn({
688
+ * select: { region: true },
689
+ * where: {
690
+ * // ... provide filter here
691
+ * },
692
+ * data: [
693
+ * // ... provide data here
694
+ * ]
695
+ * })
696
+ * Note, that providing `undefined` is treated as the value not being there.
697
+ * Read more here: https://pris.ly/d/null-undefined
698
+ *
699
+ */
700
+ updateManyAndReturn<T extends ChromeRegionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ChromeRegionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChromeRegionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
701
+ /**
702
+ * Create or update one ChromeRegion.
703
+ * @param {ChromeRegionUpsertArgs} args - Arguments to update or create a ChromeRegion.
704
+ * @example
705
+ * // Update or create a ChromeRegion
706
+ * const chromeRegion = await prisma.chromeRegion.upsert({
707
+ * create: {
708
+ * // ... data to create a ChromeRegion
709
+ * },
710
+ * update: {
711
+ * // ... in case it already exists, update
712
+ * },
713
+ * where: {
714
+ * // ... the filter for the ChromeRegion we want to update
715
+ * }
716
+ * })
717
+ */
718
+ upsert<T extends ChromeRegionUpsertArgs>(args: Prisma.SelectSubset<T, ChromeRegionUpsertArgs<ExtArgs>>): Prisma.Prisma__ChromeRegionClient<runtime.Types.Result.GetResult<Prisma.$ChromeRegionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
719
+ /**
720
+ * Count the number of ChromeRegions.
721
+ * Note, that providing `undefined` is treated as the value not being there.
722
+ * Read more here: https://pris.ly/d/null-undefined
723
+ * @param {ChromeRegionCountArgs} args - Arguments to filter ChromeRegions to count.
724
+ * @example
725
+ * // Count the number of ChromeRegions
726
+ * const count = await prisma.chromeRegion.count({
727
+ * where: {
728
+ * // ... the filter for the ChromeRegions we want to count
729
+ * }
730
+ * })
731
+ **/
732
+ count<T extends ChromeRegionCountArgs>(args?: Prisma.Subset<T, ChromeRegionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ChromeRegionCountAggregateOutputType> : number>;
733
+ /**
734
+ * Allows you to perform aggregations operations on a ChromeRegion.
735
+ * Note, that providing `undefined` is treated as the value not being there.
736
+ * Read more here: https://pris.ly/d/null-undefined
737
+ * @param {ChromeRegionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
738
+ * @example
739
+ * // Ordered by age ascending
740
+ * // Where email contains prisma.io
741
+ * // Limited to the 10 users
742
+ * const aggregations = await prisma.user.aggregate({
743
+ * _avg: {
744
+ * age: true,
745
+ * },
746
+ * where: {
747
+ * email: {
748
+ * contains: "prisma.io",
749
+ * },
750
+ * },
751
+ * orderBy: {
752
+ * age: "asc",
753
+ * },
754
+ * take: 10,
755
+ * })
756
+ **/
757
+ aggregate<T extends ChromeRegionAggregateArgs>(args: Prisma.Subset<T, ChromeRegionAggregateArgs>): Prisma.PrismaPromise<GetChromeRegionAggregateType<T>>;
758
+ /**
759
+ * Group by ChromeRegion.
760
+ * Note, that providing `undefined` is treated as the value not being there.
761
+ * Read more here: https://pris.ly/d/null-undefined
762
+ * @param {ChromeRegionGroupByArgs} args - Group by arguments.
763
+ * @example
764
+ * // Group by city, order by createdAt, get count
765
+ * const result = await prisma.user.groupBy({
766
+ * by: ['city', 'createdAt'],
767
+ * orderBy: {
768
+ * createdAt: true
769
+ * },
770
+ * _count: {
771
+ * _all: true
772
+ * },
773
+ * })
774
+ *
775
+ **/
776
+ groupBy<T extends ChromeRegionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
777
+ orderBy: ChromeRegionGroupByArgs['orderBy'];
778
+ } : {
779
+ orderBy?: ChromeRegionGroupByArgs['orderBy'];
780
+ }, 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 ? {
781
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
782
+ Error,
783
+ 'Field ',
784
+ P,
785
+ ` in "having" needs to be provided in "by"`
786
+ ];
787
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
788
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
789
+ }[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 ? {} : {
790
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
791
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
792
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
793
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, ChromeRegionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetChromeRegionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
794
+ /**
795
+ * Fields of the ChromeRegion model
796
+ */
797
+ readonly fields: ChromeRegionFieldRefs;
798
+ }
799
+ /**
800
+ * The delegate class that acts as a "Promise-like" for ChromeRegion.
801
+ * Why is this prefixed with `Prisma__`?
802
+ * Because we want to prevent naming conflicts as mentioned in
803
+ * https://github.com/prisma/prisma-client-js/issues/707
804
+ */
805
+ export interface Prisma__ChromeRegionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
806
+ readonly [Symbol.toStringTag]: "PrismaPromise";
807
+ /**
808
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
809
+ * @param onfulfilled The callback to execute when the Promise is resolved.
810
+ * @param onrejected The callback to execute when the Promise is rejected.
811
+ * @returns A Promise for the completion of which ever callback is executed.
812
+ */
813
+ 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>;
814
+ /**
815
+ * Attaches a callback for only the rejection of the Promise.
816
+ * @param onrejected The callback to execute when the Promise is rejected.
817
+ * @returns A Promise for the completion of the callback.
818
+ */
819
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
820
+ /**
821
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
822
+ * resolved value cannot be modified from the callback.
823
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
824
+ * @returns A Promise for the completion of the callback.
825
+ */
826
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
827
+ }
828
+ /**
829
+ * Fields of the ChromeRegion model
830
+ */
831
+ export interface ChromeRegionFieldRefs {
832
+ readonly region: Prisma.FieldRef<"ChromeRegion", 'String'>;
833
+ readonly schema: Prisma.FieldRef<"ChromeRegion", 'Json'>;
834
+ readonly schemaHash: Prisma.FieldRef<"ChromeRegion", 'String'>;
835
+ readonly variant: Prisma.FieldRef<"ChromeRegion", 'String'>;
836
+ readonly values: Prisma.FieldRef<"ChromeRegion", 'Json'>;
837
+ readonly orphans: Prisma.FieldRef<"ChromeRegion", 'Json'>;
838
+ readonly state: Prisma.FieldRef<"ChromeRegion", 'Json'>;
839
+ readonly version: Prisma.FieldRef<"ChromeRegion", 'Int'>;
840
+ readonly updatedById: Prisma.FieldRef<"ChromeRegion", 'String'>;
841
+ readonly createdAt: Prisma.FieldRef<"ChromeRegion", 'DateTime'>;
842
+ readonly updatedAt: Prisma.FieldRef<"ChromeRegion", 'DateTime'>;
843
+ }
844
+ /**
845
+ * ChromeRegion findUnique
846
+ */
847
+ export type ChromeRegionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
848
+ /**
849
+ * Select specific fields to fetch from the ChromeRegion
850
+ */
851
+ select?: Prisma.ChromeRegionSelect<ExtArgs> | null;
852
+ /**
853
+ * Omit specific fields from the ChromeRegion
854
+ */
855
+ omit?: Prisma.ChromeRegionOmit<ExtArgs> | null;
856
+ /**
857
+ * Filter, which ChromeRegion to fetch.
858
+ */
859
+ where: Prisma.ChromeRegionWhereUniqueInput;
860
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
861
+ };
862
+ /**
863
+ * ChromeRegion findUniqueOrThrow
864
+ */
865
+ export type ChromeRegionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
866
+ /**
867
+ * Select specific fields to fetch from the ChromeRegion
868
+ */
869
+ select?: Prisma.ChromeRegionSelect<ExtArgs> | null;
870
+ /**
871
+ * Omit specific fields from the ChromeRegion
872
+ */
873
+ omit?: Prisma.ChromeRegionOmit<ExtArgs> | null;
874
+ /**
875
+ * Filter, which ChromeRegion to fetch.
876
+ */
877
+ where: Prisma.ChromeRegionWhereUniqueInput;
878
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
879
+ };
880
+ /**
881
+ * ChromeRegion findFirst
882
+ */
883
+ export type ChromeRegionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
884
+ /**
885
+ * Select specific fields to fetch from the ChromeRegion
886
+ */
887
+ select?: Prisma.ChromeRegionSelect<ExtArgs> | null;
888
+ /**
889
+ * Omit specific fields from the ChromeRegion
890
+ */
891
+ omit?: Prisma.ChromeRegionOmit<ExtArgs> | null;
892
+ /**
893
+ * Filter, which ChromeRegion to fetch.
894
+ */
895
+ where?: Prisma.ChromeRegionWhereInput;
896
+ /**
897
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
898
+ *
899
+ * Determine the order of ChromeRegions to fetch.
900
+ */
901
+ orderBy?: Prisma.ChromeRegionOrderByWithRelationInput | Prisma.ChromeRegionOrderByWithRelationInput[];
902
+ /**
903
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
904
+ *
905
+ * Sets the position for searching for ChromeRegions.
906
+ */
907
+ cursor?: Prisma.ChromeRegionWhereUniqueInput;
908
+ /**
909
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
910
+ *
911
+ * Take `±n` ChromeRegions from the position of the cursor.
912
+ */
913
+ take?: number;
914
+ /**
915
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
916
+ *
917
+ * Skip the first `n` ChromeRegions.
918
+ */
919
+ skip?: number;
920
+ /**
921
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
922
+ *
923
+ * Filter by unique combinations of ChromeRegions.
924
+ */
925
+ distinct?: Prisma.ChromeRegionScalarFieldEnum | Prisma.ChromeRegionScalarFieldEnum[];
926
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
927
+ };
928
+ /**
929
+ * ChromeRegion findFirstOrThrow
930
+ */
931
+ export type ChromeRegionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
932
+ /**
933
+ * Select specific fields to fetch from the ChromeRegion
934
+ */
935
+ select?: Prisma.ChromeRegionSelect<ExtArgs> | null;
936
+ /**
937
+ * Omit specific fields from the ChromeRegion
938
+ */
939
+ omit?: Prisma.ChromeRegionOmit<ExtArgs> | null;
940
+ /**
941
+ * Filter, which ChromeRegion to fetch.
942
+ */
943
+ where?: Prisma.ChromeRegionWhereInput;
944
+ /**
945
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
946
+ *
947
+ * Determine the order of ChromeRegions to fetch.
948
+ */
949
+ orderBy?: Prisma.ChromeRegionOrderByWithRelationInput | Prisma.ChromeRegionOrderByWithRelationInput[];
950
+ /**
951
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
952
+ *
953
+ * Sets the position for searching for ChromeRegions.
954
+ */
955
+ cursor?: Prisma.ChromeRegionWhereUniqueInput;
956
+ /**
957
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
958
+ *
959
+ * Take `±n` ChromeRegions from the position of the cursor.
960
+ */
961
+ take?: number;
962
+ /**
963
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
964
+ *
965
+ * Skip the first `n` ChromeRegions.
966
+ */
967
+ skip?: number;
968
+ /**
969
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
970
+ *
971
+ * Filter by unique combinations of ChromeRegions.
972
+ */
973
+ distinct?: Prisma.ChromeRegionScalarFieldEnum | Prisma.ChromeRegionScalarFieldEnum[];
974
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
975
+ };
976
+ /**
977
+ * ChromeRegion findMany
978
+ */
979
+ export type ChromeRegionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
980
+ /**
981
+ * Select specific fields to fetch from the ChromeRegion
982
+ */
983
+ select?: Prisma.ChromeRegionSelect<ExtArgs> | null;
984
+ /**
985
+ * Omit specific fields from the ChromeRegion
986
+ */
987
+ omit?: Prisma.ChromeRegionOmit<ExtArgs> | null;
988
+ /**
989
+ * Filter, which ChromeRegions to fetch.
990
+ */
991
+ where?: Prisma.ChromeRegionWhereInput;
992
+ /**
993
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
994
+ *
995
+ * Determine the order of ChromeRegions to fetch.
996
+ */
997
+ orderBy?: Prisma.ChromeRegionOrderByWithRelationInput | Prisma.ChromeRegionOrderByWithRelationInput[];
998
+ /**
999
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1000
+ *
1001
+ * Sets the position for listing ChromeRegions.
1002
+ */
1003
+ cursor?: Prisma.ChromeRegionWhereUniqueInput;
1004
+ /**
1005
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1006
+ *
1007
+ * Take `±n` ChromeRegions from the position of the cursor.
1008
+ */
1009
+ take?: number;
1010
+ /**
1011
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1012
+ *
1013
+ * Skip the first `n` ChromeRegions.
1014
+ */
1015
+ skip?: number;
1016
+ /**
1017
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1018
+ *
1019
+ * Filter by unique combinations of ChromeRegions.
1020
+ */
1021
+ distinct?: Prisma.ChromeRegionScalarFieldEnum | Prisma.ChromeRegionScalarFieldEnum[];
1022
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1023
+ };
1024
+ /**
1025
+ * ChromeRegion create
1026
+ */
1027
+ export type ChromeRegionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1028
+ /**
1029
+ * Select specific fields to fetch from the ChromeRegion
1030
+ */
1031
+ select?: Prisma.ChromeRegionSelect<ExtArgs> | null;
1032
+ /**
1033
+ * Omit specific fields from the ChromeRegion
1034
+ */
1035
+ omit?: Prisma.ChromeRegionOmit<ExtArgs> | null;
1036
+ /**
1037
+ * The data needed to create a ChromeRegion.
1038
+ */
1039
+ data: Prisma.XOR<Prisma.ChromeRegionCreateInput, Prisma.ChromeRegionUncheckedCreateInput>;
1040
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1041
+ };
1042
+ /**
1043
+ * ChromeRegion createMany
1044
+ */
1045
+ export type ChromeRegionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1046
+ /**
1047
+ * The data used to create many ChromeRegions.
1048
+ */
1049
+ data: Prisma.ChromeRegionCreateManyInput | Prisma.ChromeRegionCreateManyInput[];
1050
+ skipDuplicates?: boolean;
1051
+ };
1052
+ /**
1053
+ * ChromeRegion createManyAndReturn
1054
+ */
1055
+ export type ChromeRegionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1056
+ /**
1057
+ * Select specific fields to fetch from the ChromeRegion
1058
+ */
1059
+ select?: Prisma.ChromeRegionSelectCreateManyAndReturn<ExtArgs> | null;
1060
+ /**
1061
+ * Omit specific fields from the ChromeRegion
1062
+ */
1063
+ omit?: Prisma.ChromeRegionOmit<ExtArgs> | null;
1064
+ /**
1065
+ * The data used to create many ChromeRegions.
1066
+ */
1067
+ data: Prisma.ChromeRegionCreateManyInput | Prisma.ChromeRegionCreateManyInput[];
1068
+ skipDuplicates?: boolean;
1069
+ };
1070
+ /**
1071
+ * ChromeRegion update
1072
+ */
1073
+ export type ChromeRegionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1074
+ /**
1075
+ * Select specific fields to fetch from the ChromeRegion
1076
+ */
1077
+ select?: Prisma.ChromeRegionSelect<ExtArgs> | null;
1078
+ /**
1079
+ * Omit specific fields from the ChromeRegion
1080
+ */
1081
+ omit?: Prisma.ChromeRegionOmit<ExtArgs> | null;
1082
+ /**
1083
+ * The data needed to update a ChromeRegion.
1084
+ */
1085
+ data: Prisma.XOR<Prisma.ChromeRegionUpdateInput, Prisma.ChromeRegionUncheckedUpdateInput>;
1086
+ /**
1087
+ * Choose, which ChromeRegion to update.
1088
+ */
1089
+ where: Prisma.ChromeRegionWhereUniqueInput;
1090
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1091
+ };
1092
+ /**
1093
+ * ChromeRegion updateMany
1094
+ */
1095
+ export type ChromeRegionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1096
+ /**
1097
+ * The data used to update ChromeRegions.
1098
+ */
1099
+ data: Prisma.XOR<Prisma.ChromeRegionUpdateManyMutationInput, Prisma.ChromeRegionUncheckedUpdateManyInput>;
1100
+ /**
1101
+ * Filter which ChromeRegions to update
1102
+ */
1103
+ where?: Prisma.ChromeRegionWhereInput;
1104
+ /**
1105
+ * Limit how many ChromeRegions to update.
1106
+ */
1107
+ limit?: number;
1108
+ };
1109
+ /**
1110
+ * ChromeRegion updateManyAndReturn
1111
+ */
1112
+ export type ChromeRegionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1113
+ /**
1114
+ * Select specific fields to fetch from the ChromeRegion
1115
+ */
1116
+ select?: Prisma.ChromeRegionSelectUpdateManyAndReturn<ExtArgs> | null;
1117
+ /**
1118
+ * Omit specific fields from the ChromeRegion
1119
+ */
1120
+ omit?: Prisma.ChromeRegionOmit<ExtArgs> | null;
1121
+ /**
1122
+ * The data used to update ChromeRegions.
1123
+ */
1124
+ data: Prisma.XOR<Prisma.ChromeRegionUpdateManyMutationInput, Prisma.ChromeRegionUncheckedUpdateManyInput>;
1125
+ /**
1126
+ * Filter which ChromeRegions to update
1127
+ */
1128
+ where?: Prisma.ChromeRegionWhereInput;
1129
+ /**
1130
+ * Limit how many ChromeRegions to update.
1131
+ */
1132
+ limit?: number;
1133
+ };
1134
+ /**
1135
+ * ChromeRegion upsert
1136
+ */
1137
+ export type ChromeRegionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1138
+ /**
1139
+ * Select specific fields to fetch from the ChromeRegion
1140
+ */
1141
+ select?: Prisma.ChromeRegionSelect<ExtArgs> | null;
1142
+ /**
1143
+ * Omit specific fields from the ChromeRegion
1144
+ */
1145
+ omit?: Prisma.ChromeRegionOmit<ExtArgs> | null;
1146
+ /**
1147
+ * The filter to search for the ChromeRegion to update in case it exists.
1148
+ */
1149
+ where: Prisma.ChromeRegionWhereUniqueInput;
1150
+ /**
1151
+ * In case the ChromeRegion found by the `where` argument doesn't exist, create a new ChromeRegion with this data.
1152
+ */
1153
+ create: Prisma.XOR<Prisma.ChromeRegionCreateInput, Prisma.ChromeRegionUncheckedCreateInput>;
1154
+ /**
1155
+ * In case the ChromeRegion was found with the provided `where` argument, update it with this data.
1156
+ */
1157
+ update: Prisma.XOR<Prisma.ChromeRegionUpdateInput, Prisma.ChromeRegionUncheckedUpdateInput>;
1158
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1159
+ };
1160
+ /**
1161
+ * ChromeRegion delete
1162
+ */
1163
+ export type ChromeRegionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1164
+ /**
1165
+ * Select specific fields to fetch from the ChromeRegion
1166
+ */
1167
+ select?: Prisma.ChromeRegionSelect<ExtArgs> | null;
1168
+ /**
1169
+ * Omit specific fields from the ChromeRegion
1170
+ */
1171
+ omit?: Prisma.ChromeRegionOmit<ExtArgs> | null;
1172
+ /**
1173
+ * Filter which ChromeRegion to delete.
1174
+ */
1175
+ where: Prisma.ChromeRegionWhereUniqueInput;
1176
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1177
+ };
1178
+ /**
1179
+ * ChromeRegion deleteMany
1180
+ */
1181
+ export type ChromeRegionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1182
+ /**
1183
+ * Filter which ChromeRegions to delete
1184
+ */
1185
+ where?: Prisma.ChromeRegionWhereInput;
1186
+ /**
1187
+ * Limit how many ChromeRegions to delete.
1188
+ */
1189
+ limit?: number;
1190
+ };
1191
+ /**
1192
+ * ChromeRegion without action
1193
+ */
1194
+ export type ChromeRegionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1195
+ /**
1196
+ * Select specific fields to fetch from the ChromeRegion
1197
+ */
1198
+ select?: Prisma.ChromeRegionSelect<ExtArgs> | null;
1199
+ /**
1200
+ * Omit specific fields from the ChromeRegion
1201
+ */
1202
+ omit?: Prisma.ChromeRegionOmit<ExtArgs> | null;
1203
+ };