@allbluecn/database 0.11.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/index.ts +19 -17
  2. package/migrations/20261030000000_sync_overlay/migration.sql +152 -0
  3. package/package.json +29 -21
  4. package/pglite-init.ts +92 -0
  5. package/LICENSE +0 -661
  6. package/desktop-init.ts +0 -162
  7. package/generated-sqlite/browser.ts +0 -499
  8. package/generated-sqlite/client.ts +0 -523
  9. package/generated-sqlite/commonInputTypes.ts +0 -722
  10. package/generated-sqlite/enums.ts +0 -15
  11. package/generated-sqlite/internal/class.ts +0 -1154
  12. package/generated-sqlite/internal/prismaNamespace.ts +0 -9576
  13. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -1761
  14. package/generated-sqlite/models/AgentConversation.ts +0 -1647
  15. package/generated-sqlite/models/AgentMessage.ts +0 -1406
  16. package/generated-sqlite/models/AiProvider.ts +0 -1605
  17. package/generated-sqlite/models/AiProviderConfig.ts +0 -1610
  18. package/generated-sqlite/models/AiStreamChunk.ts +0 -1157
  19. package/generated-sqlite/models/AiUsageLog.ts +0 -1905
  20. package/generated-sqlite/models/AnyHubApp.ts +0 -1908
  21. package/generated-sqlite/models/AnyHubMarketApp.ts +0 -1997
  22. package/generated-sqlite/models/AnyHubPermission.ts +0 -1419
  23. package/generated-sqlite/models/AnyHubRecommendation.ts +0 -1867
  24. package/generated-sqlite/models/AnyHubRecommender.ts +0 -1467
  25. package/generated-sqlite/models/ArticleFavorite.ts +0 -1349
  26. package/generated-sqlite/models/AuditLog.ts +0 -1287
  27. package/generated-sqlite/models/Blob.ts +0 -1425
  28. package/generated-sqlite/models/Block.ts +0 -1648
  29. package/generated-sqlite/models/BlockComponent.ts +0 -1730
  30. package/generated-sqlite/models/BlockInstance.ts +0 -2039
  31. package/generated-sqlite/models/BookmarkCategory.ts +0 -1667
  32. package/generated-sqlite/models/BusinessAgentBinding.ts +0 -1549
  33. package/generated-sqlite/models/ChatInterrupt.ts +0 -1736
  34. package/generated-sqlite/models/ChatMessage.ts +0 -1464
  35. package/generated-sqlite/models/ChatPersistenceMeta.ts +0 -1119
  36. package/generated-sqlite/models/ChatRun.ts +0 -1802
  37. package/generated-sqlite/models/ChatThread.ts +0 -2417
  38. package/generated-sqlite/models/CodeSnippet.ts +0 -1552
  39. package/generated-sqlite/models/Comment.ts +0 -2201
  40. package/generated-sqlite/models/CommentIgnore.ts +0 -1426
  41. package/generated-sqlite/models/ComplianceExport.ts +0 -1343
  42. package/generated-sqlite/models/Component.ts +0 -2132
  43. package/generated-sqlite/models/ComponentInstance.ts +0 -2097
  44. package/generated-sqlite/models/CustomRole.ts +0 -1209
  45. package/generated-sqlite/models/Design.ts +0 -2497
  46. package/generated-sqlite/models/DesignPage.ts +0 -2398
  47. package/generated-sqlite/models/DesignVersion.ts +0 -2117
  48. package/generated-sqlite/models/DesktopSetting.ts +0 -1057
  49. package/generated-sqlite/models/DeveloperLog.ts +0 -1281
  50. package/generated-sqlite/models/DictionaryTerm.ts +0 -1639
  51. package/generated-sqlite/models/EmailLog.ts +0 -1343
  52. package/generated-sqlite/models/EmailPreference.ts +0 -1255
  53. package/generated-sqlite/models/EmailSubscriber.ts +0 -1231
  54. package/generated-sqlite/models/EmailVerificationToken.ts +0 -1377
  55. package/generated-sqlite/models/GenerationRun.ts +0 -1732
  56. package/generated-sqlite/models/HarnessPlugin.ts +0 -1666
  57. package/generated-sqlite/models/HarnessWorkspace.ts +0 -1647
  58. package/generated-sqlite/models/IndustryCompliance.ts +0 -1794
  59. package/generated-sqlite/models/InvitationCode.ts +0 -1471
  60. package/generated-sqlite/models/InvitationUse.ts +0 -1420
  61. package/generated-sqlite/models/Invoice.ts +0 -1707
  62. package/generated-sqlite/models/Iteration.ts +0 -1874
  63. package/generated-sqlite/models/IterationAutoSchedule.ts +0 -1483
  64. package/generated-sqlite/models/KnowledgeBase.ts +0 -2238
  65. package/generated-sqlite/models/KnowledgeDocument.ts +0 -2450
  66. package/generated-sqlite/models/KnowledgeShareRecord.ts +0 -1349
  67. package/generated-sqlite/models/LegalRegulation.ts +0 -1905
  68. package/generated-sqlite/models/LicenseActivation.ts +0 -1203
  69. package/generated-sqlite/models/LicenseKey.ts +0 -1443
  70. package/generated-sqlite/models/LoginLog.ts +0 -1447
  71. package/generated-sqlite/models/NotificationPreference.ts +0 -1313
  72. package/generated-sqlite/models/OAuthProviderConfig.ts +0 -1225
  73. package/generated-sqlite/models/PageVersion.ts +0 -1520
  74. package/generated-sqlite/models/PasswordResetToken.ts +0 -1377
  75. package/generated-sqlite/models/Plan.ts +0 -2250
  76. package/generated-sqlite/models/Project.ts +0 -2628
  77. package/generated-sqlite/models/ProjectActivity.ts +0 -1578
  78. package/generated-sqlite/models/ProjectKnowledgeBase.ts +0 -1426
  79. package/generated-sqlite/models/ProjectMember.ts +0 -1508
  80. package/generated-sqlite/models/ProviderEvent.ts +0 -1225
  81. package/generated-sqlite/models/Reference.ts +0 -1175
  82. package/generated-sqlite/models/Review.ts +0 -1903
  83. package/generated-sqlite/models/ReviewComment.ts +0 -1899
  84. package/generated-sqlite/models/RoleAssignment.ts +0 -1125
  85. package/generated-sqlite/models/SandboxInstance.ts +0 -1283
  86. package/generated-sqlite/models/Share.ts +0 -1674
  87. package/generated-sqlite/models/ShareVersion.ts +0 -1385
  88. package/generated-sqlite/models/SsoMapping.ts +0 -1181
  89. package/generated-sqlite/models/SsoProvider.ts +0 -1266
  90. package/generated-sqlite/models/Story.ts +0 -3263
  91. package/generated-sqlite/models/Subscription.ts +0 -2137
  92. package/generated-sqlite/models/SystemPromptTemplate.ts +0 -1581
  93. package/generated-sqlite/models/SystemPromptVersion.ts +0 -1456
  94. package/generated-sqlite/models/SystemSetting.ts +0 -1215
  95. package/generated-sqlite/models/TeamInvitation.ts +0 -1758
  96. package/generated-sqlite/models/TeamJoinRequest.ts +0 -1793
  97. package/generated-sqlite/models/TeamMembership.ts +0 -1433
  98. package/generated-sqlite/models/Template.ts +0 -1389
  99. package/generated-sqlite/models/TemplateBlock.ts +0 -1660
  100. package/generated-sqlite/models/ThirdPartyDependency.ts +0 -1471
  101. package/generated-sqlite/models/UsageRecord.ts +0 -1498
  102. package/generated-sqlite/models/User.ts +0 -21247
  103. package/generated-sqlite/models/UserAgent.ts +0 -2146
  104. package/generated-sqlite/models/UserSkill.ts +0 -1453
  105. package/generated-sqlite/models/WebsiteBookmark.ts +0 -2215
  106. package/generated-sqlite/models/Workspace.ts +0 -2341
  107. package/generated-sqlite/models/WorkspaceFile.ts +0 -1532
  108. package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +0 -1426
  109. package/generated-sqlite/models/WorkspaceQuickDoc.ts +0 -2025
  110. package/generated-sqlite/models.ts +0 -107
  111. package/schema.sqlite.prisma +0 -2045
@@ -1,2132 +0,0 @@
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 `Component` 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.ts"
13
- import type * as Prisma from "../internal/prismaNamespace.ts"
14
-
15
- /**
16
- * Model Component
17
- *
18
- */
19
- export type ComponentModel = runtime.Types.Result.DefaultSelection<Prisma.$ComponentPayload>
20
-
21
- export type AggregateComponent = {
22
- _count: ComponentCountAggregateOutputType | null
23
- _avg: ComponentAvgAggregateOutputType | null
24
- _sum: ComponentSumAggregateOutputType | null
25
- _min: ComponentMinAggregateOutputType | null
26
- _max: ComponentMaxAggregateOutputType | null
27
- }
28
-
29
- export type ComponentAvgAggregateOutputType = {
30
- defaultWidth: number | null
31
- defaultHeight: number | null
32
- version: number | null
33
- sortOrder: number | null
34
- }
35
-
36
- export type ComponentSumAggregateOutputType = {
37
- defaultWidth: number | null
38
- defaultHeight: number | null
39
- version: number | null
40
- sortOrder: number | null
41
- }
42
-
43
- export type ComponentMinAggregateOutputType = {
44
- id: string | null
45
- name: string | null
46
- description: string | null
47
- type: string | null
48
- category: string | null
49
- subCategory: string | null
50
- path: string | null
51
- defaultWidth: number | null
52
- defaultHeight: number | null
53
- prototypeKey: string | null
54
- preview: string | null
55
- version: number | null
56
- sortOrder: number | null
57
- source: string | null
58
- sourceId: string | null
59
- isHidden: boolean | null
60
- isDeleted: boolean | null
61
- createdAt: Date | null
62
- updatedAt: Date | null
63
- }
64
-
65
- export type ComponentMaxAggregateOutputType = {
66
- id: string | null
67
- name: string | null
68
- description: string | null
69
- type: string | null
70
- category: string | null
71
- subCategory: string | null
72
- path: string | null
73
- defaultWidth: number | null
74
- defaultHeight: number | null
75
- prototypeKey: string | null
76
- preview: string | null
77
- version: number | null
78
- sortOrder: number | null
79
- source: string | null
80
- sourceId: string | null
81
- isHidden: boolean | null
82
- isDeleted: boolean | null
83
- createdAt: Date | null
84
- updatedAt: Date | null
85
- }
86
-
87
- export type ComponentCountAggregateOutputType = {
88
- id: number
89
- name: number
90
- description: number
91
- type: number
92
- category: number
93
- subCategory: number
94
- path: number
95
- defaultWidth: number
96
- defaultHeight: number
97
- prototypeKey: number
98
- config: number
99
- defaultProps: number
100
- defaultStyle: number
101
- preview: number
102
- version: number
103
- sortOrder: number
104
- source: number
105
- sourceId: number
106
- isHidden: number
107
- isDeleted: number
108
- createdAt: number
109
- updatedAt: number
110
- tags: number
111
- _all: number
112
- }
113
-
114
-
115
- export type ComponentAvgAggregateInputType = {
116
- defaultWidth?: true
117
- defaultHeight?: true
118
- version?: true
119
- sortOrder?: true
120
- }
121
-
122
- export type ComponentSumAggregateInputType = {
123
- defaultWidth?: true
124
- defaultHeight?: true
125
- version?: true
126
- sortOrder?: true
127
- }
128
-
129
- export type ComponentMinAggregateInputType = {
130
- id?: true
131
- name?: true
132
- description?: true
133
- type?: true
134
- category?: true
135
- subCategory?: true
136
- path?: true
137
- defaultWidth?: true
138
- defaultHeight?: true
139
- prototypeKey?: true
140
- preview?: true
141
- version?: true
142
- sortOrder?: true
143
- source?: true
144
- sourceId?: true
145
- isHidden?: true
146
- isDeleted?: true
147
- createdAt?: true
148
- updatedAt?: true
149
- }
150
-
151
- export type ComponentMaxAggregateInputType = {
152
- id?: true
153
- name?: true
154
- description?: true
155
- type?: true
156
- category?: true
157
- subCategory?: true
158
- path?: true
159
- defaultWidth?: true
160
- defaultHeight?: true
161
- prototypeKey?: true
162
- preview?: true
163
- version?: true
164
- sortOrder?: true
165
- source?: true
166
- sourceId?: true
167
- isHidden?: true
168
- isDeleted?: true
169
- createdAt?: true
170
- updatedAt?: true
171
- }
172
-
173
- export type ComponentCountAggregateInputType = {
174
- id?: true
175
- name?: true
176
- description?: true
177
- type?: true
178
- category?: true
179
- subCategory?: true
180
- path?: true
181
- defaultWidth?: true
182
- defaultHeight?: true
183
- prototypeKey?: true
184
- config?: true
185
- defaultProps?: true
186
- defaultStyle?: true
187
- preview?: true
188
- version?: true
189
- sortOrder?: true
190
- source?: true
191
- sourceId?: true
192
- isHidden?: true
193
- isDeleted?: true
194
- createdAt?: true
195
- updatedAt?: true
196
- tags?: true
197
- _all?: true
198
- }
199
-
200
- export type ComponentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
201
- /**
202
- * Filter which Component to aggregate.
203
- */
204
- where?: Prisma.ComponentWhereInput
205
- /**
206
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
207
- *
208
- * Determine the order of Components to fetch.
209
- */
210
- orderBy?: Prisma.ComponentOrderByWithRelationInput | Prisma.ComponentOrderByWithRelationInput[]
211
- /**
212
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
213
- *
214
- * Sets the start position
215
- */
216
- cursor?: Prisma.ComponentWhereUniqueInput
217
- /**
218
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
219
- *
220
- * Take `±n` Components from the position of the cursor.
221
- */
222
- take?: number
223
- /**
224
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
225
- *
226
- * Skip the first `n` Components.
227
- */
228
- skip?: number
229
- /**
230
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
231
- *
232
- * Count returned Components
233
- **/
234
- _count?: true | ComponentCountAggregateInputType
235
- /**
236
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
237
- *
238
- * Select which fields to average
239
- **/
240
- _avg?: ComponentAvgAggregateInputType
241
- /**
242
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
243
- *
244
- * Select which fields to sum
245
- **/
246
- _sum?: ComponentSumAggregateInputType
247
- /**
248
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
249
- *
250
- * Select which fields to find the minimum value
251
- **/
252
- _min?: ComponentMinAggregateInputType
253
- /**
254
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
255
- *
256
- * Select which fields to find the maximum value
257
- **/
258
- _max?: ComponentMaxAggregateInputType
259
- }
260
-
261
- export type GetComponentAggregateType<T extends ComponentAggregateArgs> = {
262
- [P in keyof T & keyof AggregateComponent]: P extends '_count' | 'count'
263
- ? T[P] extends true
264
- ? number
265
- : Prisma.GetScalarType<T[P], AggregateComponent[P]>
266
- : Prisma.GetScalarType<T[P], AggregateComponent[P]>
267
- }
268
-
269
-
270
-
271
-
272
- export type ComponentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
273
- where?: Prisma.ComponentWhereInput
274
- orderBy?: Prisma.ComponentOrderByWithAggregationInput | Prisma.ComponentOrderByWithAggregationInput[]
275
- by: Prisma.ComponentScalarFieldEnum[] | Prisma.ComponentScalarFieldEnum
276
- having?: Prisma.ComponentScalarWhereWithAggregatesInput
277
- take?: number
278
- skip?: number
279
- _count?: ComponentCountAggregateInputType | true
280
- _avg?: ComponentAvgAggregateInputType
281
- _sum?: ComponentSumAggregateInputType
282
- _min?: ComponentMinAggregateInputType
283
- _max?: ComponentMaxAggregateInputType
284
- }
285
-
286
- export type ComponentGroupByOutputType = {
287
- id: string
288
- name: string
289
- description: string | null
290
- type: string
291
- category: string | null
292
- subCategory: string | null
293
- path: string | null
294
- defaultWidth: number
295
- defaultHeight: number
296
- prototypeKey: string | null
297
- config: runtime.JsonValue
298
- defaultProps: runtime.JsonValue | null
299
- defaultStyle: runtime.JsonValue | null
300
- preview: string | null
301
- version: number
302
- sortOrder: number
303
- source: string
304
- sourceId: string | null
305
- isHidden: boolean
306
- isDeleted: boolean
307
- createdAt: Date
308
- updatedAt: Date
309
- tags: runtime.JsonValue
310
- _count: ComponentCountAggregateOutputType | null
311
- _avg: ComponentAvgAggregateOutputType | null
312
- _sum: ComponentSumAggregateOutputType | null
313
- _min: ComponentMinAggregateOutputType | null
314
- _max: ComponentMaxAggregateOutputType | null
315
- }
316
-
317
- export type GetComponentGroupByPayload<T extends ComponentGroupByArgs> = Prisma.PrismaPromise<
318
- Array<
319
- Prisma.PickEnumerable<ComponentGroupByOutputType, T['by']> &
320
- {
321
- [P in ((keyof T) & (keyof ComponentGroupByOutputType))]: P extends '_count'
322
- ? T[P] extends boolean
323
- ? number
324
- : Prisma.GetScalarType<T[P], ComponentGroupByOutputType[P]>
325
- : Prisma.GetScalarType<T[P], ComponentGroupByOutputType[P]>
326
- }
327
- >
328
- >
329
-
330
-
331
-
332
- export type ComponentWhereInput = {
333
- AND?: Prisma.ComponentWhereInput | Prisma.ComponentWhereInput[]
334
- OR?: Prisma.ComponentWhereInput[]
335
- NOT?: Prisma.ComponentWhereInput | Prisma.ComponentWhereInput[]
336
- id?: Prisma.StringFilter<"Component"> | string
337
- name?: Prisma.StringFilter<"Component"> | string
338
- description?: Prisma.StringNullableFilter<"Component"> | string | null
339
- type?: Prisma.StringFilter<"Component"> | string
340
- category?: Prisma.StringNullableFilter<"Component"> | string | null
341
- subCategory?: Prisma.StringNullableFilter<"Component"> | string | null
342
- path?: Prisma.StringNullableFilter<"Component"> | string | null
343
- defaultWidth?: Prisma.IntFilter<"Component"> | number
344
- defaultHeight?: Prisma.IntFilter<"Component"> | number
345
- prototypeKey?: Prisma.StringNullableFilter<"Component"> | string | null
346
- config?: Prisma.JsonFilter<"Component">
347
- defaultProps?: Prisma.JsonNullableFilter<"Component">
348
- defaultStyle?: Prisma.JsonNullableFilter<"Component">
349
- preview?: Prisma.StringNullableFilter<"Component"> | string | null
350
- version?: Prisma.IntFilter<"Component"> | number
351
- sortOrder?: Prisma.IntFilter<"Component"> | number
352
- source?: Prisma.StringFilter<"Component"> | string
353
- sourceId?: Prisma.StringNullableFilter<"Component"> | string | null
354
- isHidden?: Prisma.BoolFilter<"Component"> | boolean
355
- isDeleted?: Prisma.BoolFilter<"Component"> | boolean
356
- createdAt?: Prisma.DateTimeFilter<"Component"> | Date | string
357
- updatedAt?: Prisma.DateTimeFilter<"Component"> | Date | string
358
- tags?: Prisma.JsonFilter<"Component">
359
- blockItems?: Prisma.BlockComponentListRelationFilter
360
- instances?: Prisma.ComponentInstanceListRelationFilter
361
- }
362
-
363
- export type ComponentOrderByWithRelationInput = {
364
- id?: Prisma.SortOrder
365
- name?: Prisma.SortOrder
366
- description?: Prisma.SortOrderInput | Prisma.SortOrder
367
- type?: Prisma.SortOrder
368
- category?: Prisma.SortOrderInput | Prisma.SortOrder
369
- subCategory?: Prisma.SortOrderInput | Prisma.SortOrder
370
- path?: Prisma.SortOrderInput | Prisma.SortOrder
371
- defaultWidth?: Prisma.SortOrder
372
- defaultHeight?: Prisma.SortOrder
373
- prototypeKey?: Prisma.SortOrderInput | Prisma.SortOrder
374
- config?: Prisma.SortOrder
375
- defaultProps?: Prisma.SortOrderInput | Prisma.SortOrder
376
- defaultStyle?: Prisma.SortOrderInput | Prisma.SortOrder
377
- preview?: Prisma.SortOrderInput | Prisma.SortOrder
378
- version?: Prisma.SortOrder
379
- sortOrder?: Prisma.SortOrder
380
- source?: Prisma.SortOrder
381
- sourceId?: Prisma.SortOrderInput | Prisma.SortOrder
382
- isHidden?: Prisma.SortOrder
383
- isDeleted?: Prisma.SortOrder
384
- createdAt?: Prisma.SortOrder
385
- updatedAt?: Prisma.SortOrder
386
- tags?: Prisma.SortOrder
387
- blockItems?: Prisma.BlockComponentOrderByRelationAggregateInput
388
- instances?: Prisma.ComponentInstanceOrderByRelationAggregateInput
389
- }
390
-
391
- export type ComponentWhereUniqueInput = Prisma.AtLeast<{
392
- id?: string
393
- AND?: Prisma.ComponentWhereInput | Prisma.ComponentWhereInput[]
394
- OR?: Prisma.ComponentWhereInput[]
395
- NOT?: Prisma.ComponentWhereInput | Prisma.ComponentWhereInput[]
396
- name?: Prisma.StringFilter<"Component"> | string
397
- description?: Prisma.StringNullableFilter<"Component"> | string | null
398
- type?: Prisma.StringFilter<"Component"> | string
399
- category?: Prisma.StringNullableFilter<"Component"> | string | null
400
- subCategory?: Prisma.StringNullableFilter<"Component"> | string | null
401
- path?: Prisma.StringNullableFilter<"Component"> | string | null
402
- defaultWidth?: Prisma.IntFilter<"Component"> | number
403
- defaultHeight?: Prisma.IntFilter<"Component"> | number
404
- prototypeKey?: Prisma.StringNullableFilter<"Component"> | string | null
405
- config?: Prisma.JsonFilter<"Component">
406
- defaultProps?: Prisma.JsonNullableFilter<"Component">
407
- defaultStyle?: Prisma.JsonNullableFilter<"Component">
408
- preview?: Prisma.StringNullableFilter<"Component"> | string | null
409
- version?: Prisma.IntFilter<"Component"> | number
410
- sortOrder?: Prisma.IntFilter<"Component"> | number
411
- source?: Prisma.StringFilter<"Component"> | string
412
- sourceId?: Prisma.StringNullableFilter<"Component"> | string | null
413
- isHidden?: Prisma.BoolFilter<"Component"> | boolean
414
- isDeleted?: Prisma.BoolFilter<"Component"> | boolean
415
- createdAt?: Prisma.DateTimeFilter<"Component"> | Date | string
416
- updatedAt?: Prisma.DateTimeFilter<"Component"> | Date | string
417
- tags?: Prisma.JsonFilter<"Component">
418
- blockItems?: Prisma.BlockComponentListRelationFilter
419
- instances?: Prisma.ComponentInstanceListRelationFilter
420
- }, "id">
421
-
422
- export type ComponentOrderByWithAggregationInput = {
423
- id?: Prisma.SortOrder
424
- name?: Prisma.SortOrder
425
- description?: Prisma.SortOrderInput | Prisma.SortOrder
426
- type?: Prisma.SortOrder
427
- category?: Prisma.SortOrderInput | Prisma.SortOrder
428
- subCategory?: Prisma.SortOrderInput | Prisma.SortOrder
429
- path?: Prisma.SortOrderInput | Prisma.SortOrder
430
- defaultWidth?: Prisma.SortOrder
431
- defaultHeight?: Prisma.SortOrder
432
- prototypeKey?: Prisma.SortOrderInput | Prisma.SortOrder
433
- config?: Prisma.SortOrder
434
- defaultProps?: Prisma.SortOrderInput | Prisma.SortOrder
435
- defaultStyle?: Prisma.SortOrderInput | Prisma.SortOrder
436
- preview?: Prisma.SortOrderInput | Prisma.SortOrder
437
- version?: Prisma.SortOrder
438
- sortOrder?: Prisma.SortOrder
439
- source?: Prisma.SortOrder
440
- sourceId?: Prisma.SortOrderInput | Prisma.SortOrder
441
- isHidden?: Prisma.SortOrder
442
- isDeleted?: Prisma.SortOrder
443
- createdAt?: Prisma.SortOrder
444
- updatedAt?: Prisma.SortOrder
445
- tags?: Prisma.SortOrder
446
- _count?: Prisma.ComponentCountOrderByAggregateInput
447
- _avg?: Prisma.ComponentAvgOrderByAggregateInput
448
- _max?: Prisma.ComponentMaxOrderByAggregateInput
449
- _min?: Prisma.ComponentMinOrderByAggregateInput
450
- _sum?: Prisma.ComponentSumOrderByAggregateInput
451
- }
452
-
453
- export type ComponentScalarWhereWithAggregatesInput = {
454
- AND?: Prisma.ComponentScalarWhereWithAggregatesInput | Prisma.ComponentScalarWhereWithAggregatesInput[]
455
- OR?: Prisma.ComponentScalarWhereWithAggregatesInput[]
456
- NOT?: Prisma.ComponentScalarWhereWithAggregatesInput | Prisma.ComponentScalarWhereWithAggregatesInput[]
457
- id?: Prisma.StringWithAggregatesFilter<"Component"> | string
458
- name?: Prisma.StringWithAggregatesFilter<"Component"> | string
459
- description?: Prisma.StringNullableWithAggregatesFilter<"Component"> | string | null
460
- type?: Prisma.StringWithAggregatesFilter<"Component"> | string
461
- category?: Prisma.StringNullableWithAggregatesFilter<"Component"> | string | null
462
- subCategory?: Prisma.StringNullableWithAggregatesFilter<"Component"> | string | null
463
- path?: Prisma.StringNullableWithAggregatesFilter<"Component"> | string | null
464
- defaultWidth?: Prisma.IntWithAggregatesFilter<"Component"> | number
465
- defaultHeight?: Prisma.IntWithAggregatesFilter<"Component"> | number
466
- prototypeKey?: Prisma.StringNullableWithAggregatesFilter<"Component"> | string | null
467
- config?: Prisma.JsonWithAggregatesFilter<"Component">
468
- defaultProps?: Prisma.JsonNullableWithAggregatesFilter<"Component">
469
- defaultStyle?: Prisma.JsonNullableWithAggregatesFilter<"Component">
470
- preview?: Prisma.StringNullableWithAggregatesFilter<"Component"> | string | null
471
- version?: Prisma.IntWithAggregatesFilter<"Component"> | number
472
- sortOrder?: Prisma.IntWithAggregatesFilter<"Component"> | number
473
- source?: Prisma.StringWithAggregatesFilter<"Component"> | string
474
- sourceId?: Prisma.StringNullableWithAggregatesFilter<"Component"> | string | null
475
- isHidden?: Prisma.BoolWithAggregatesFilter<"Component"> | boolean
476
- isDeleted?: Prisma.BoolWithAggregatesFilter<"Component"> | boolean
477
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"Component"> | Date | string
478
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Component"> | Date | string
479
- tags?: Prisma.JsonWithAggregatesFilter<"Component">
480
- }
481
-
482
- export type ComponentCreateInput = {
483
- id?: string
484
- name: string
485
- description?: string | null
486
- type: string
487
- category?: string | null
488
- subCategory?: string | null
489
- path?: string | null
490
- defaultWidth?: number
491
- defaultHeight?: number
492
- prototypeKey?: string | null
493
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
494
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
495
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
496
- preview?: string | null
497
- version?: number
498
- sortOrder?: number
499
- source?: string
500
- sourceId?: string | null
501
- isHidden?: boolean
502
- isDeleted?: boolean
503
- createdAt?: Date | string
504
- updatedAt?: Date | string
505
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
506
- blockItems?: Prisma.BlockComponentCreateNestedManyWithoutComponentInput
507
- instances?: Prisma.ComponentInstanceCreateNestedManyWithoutComponentInput
508
- }
509
-
510
- export type ComponentUncheckedCreateInput = {
511
- id?: string
512
- name: string
513
- description?: string | null
514
- type: string
515
- category?: string | null
516
- subCategory?: string | null
517
- path?: string | null
518
- defaultWidth?: number
519
- defaultHeight?: number
520
- prototypeKey?: string | null
521
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
522
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
523
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
524
- preview?: string | null
525
- version?: number
526
- sortOrder?: number
527
- source?: string
528
- sourceId?: string | null
529
- isHidden?: boolean
530
- isDeleted?: boolean
531
- createdAt?: Date | string
532
- updatedAt?: Date | string
533
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
534
- blockItems?: Prisma.BlockComponentUncheckedCreateNestedManyWithoutComponentInput
535
- instances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutComponentInput
536
- }
537
-
538
- export type ComponentUpdateInput = {
539
- id?: Prisma.StringFieldUpdateOperationsInput | string
540
- name?: Prisma.StringFieldUpdateOperationsInput | string
541
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
542
- type?: Prisma.StringFieldUpdateOperationsInput | string
543
- category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
544
- subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
545
- path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
546
- defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
547
- defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
548
- prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
549
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
550
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
551
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
552
- preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
553
- version?: Prisma.IntFieldUpdateOperationsInput | number
554
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
555
- source?: Prisma.StringFieldUpdateOperationsInput | string
556
- sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
557
- isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
558
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
559
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
560
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
561
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
562
- blockItems?: Prisma.BlockComponentUpdateManyWithoutComponentNestedInput
563
- instances?: Prisma.ComponentInstanceUpdateManyWithoutComponentNestedInput
564
- }
565
-
566
- export type ComponentUncheckedUpdateInput = {
567
- id?: Prisma.StringFieldUpdateOperationsInput | string
568
- name?: Prisma.StringFieldUpdateOperationsInput | string
569
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
570
- type?: Prisma.StringFieldUpdateOperationsInput | string
571
- category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
572
- subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
573
- path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
574
- defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
575
- defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
576
- prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
577
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
578
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
579
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
580
- preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
581
- version?: Prisma.IntFieldUpdateOperationsInput | number
582
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
583
- source?: Prisma.StringFieldUpdateOperationsInput | string
584
- sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
585
- isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
586
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
587
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
588
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
589
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
590
- blockItems?: Prisma.BlockComponentUncheckedUpdateManyWithoutComponentNestedInput
591
- instances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutComponentNestedInput
592
- }
593
-
594
- export type ComponentCreateManyInput = {
595
- id?: string
596
- name: string
597
- description?: string | null
598
- type: string
599
- category?: string | null
600
- subCategory?: string | null
601
- path?: string | null
602
- defaultWidth?: number
603
- defaultHeight?: number
604
- prototypeKey?: string | null
605
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
606
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
607
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
608
- preview?: string | null
609
- version?: number
610
- sortOrder?: number
611
- source?: string
612
- sourceId?: string | null
613
- isHidden?: boolean
614
- isDeleted?: boolean
615
- createdAt?: Date | string
616
- updatedAt?: Date | string
617
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
618
- }
619
-
620
- export type ComponentUpdateManyMutationInput = {
621
- id?: Prisma.StringFieldUpdateOperationsInput | string
622
- name?: Prisma.StringFieldUpdateOperationsInput | string
623
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
624
- type?: Prisma.StringFieldUpdateOperationsInput | string
625
- category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
626
- subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
627
- path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
628
- defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
629
- defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
630
- prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
631
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
632
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
633
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
634
- preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
635
- version?: Prisma.IntFieldUpdateOperationsInput | number
636
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
637
- source?: Prisma.StringFieldUpdateOperationsInput | string
638
- sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
639
- isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
640
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
641
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
642
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
643
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
644
- }
645
-
646
- export type ComponentUncheckedUpdateManyInput = {
647
- id?: Prisma.StringFieldUpdateOperationsInput | string
648
- name?: Prisma.StringFieldUpdateOperationsInput | string
649
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
650
- type?: Prisma.StringFieldUpdateOperationsInput | string
651
- category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
652
- subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
653
- path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
654
- defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
655
- defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
656
- prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
657
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
658
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
659
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
660
- preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
661
- version?: Prisma.IntFieldUpdateOperationsInput | number
662
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
663
- source?: Prisma.StringFieldUpdateOperationsInput | string
664
- sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
665
- isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
666
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
667
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
668
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
669
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
670
- }
671
-
672
- export type ComponentCountOrderByAggregateInput = {
673
- id?: Prisma.SortOrder
674
- name?: Prisma.SortOrder
675
- description?: Prisma.SortOrder
676
- type?: Prisma.SortOrder
677
- category?: Prisma.SortOrder
678
- subCategory?: Prisma.SortOrder
679
- path?: Prisma.SortOrder
680
- defaultWidth?: Prisma.SortOrder
681
- defaultHeight?: Prisma.SortOrder
682
- prototypeKey?: Prisma.SortOrder
683
- config?: Prisma.SortOrder
684
- defaultProps?: Prisma.SortOrder
685
- defaultStyle?: Prisma.SortOrder
686
- preview?: Prisma.SortOrder
687
- version?: Prisma.SortOrder
688
- sortOrder?: Prisma.SortOrder
689
- source?: Prisma.SortOrder
690
- sourceId?: Prisma.SortOrder
691
- isHidden?: Prisma.SortOrder
692
- isDeleted?: Prisma.SortOrder
693
- createdAt?: Prisma.SortOrder
694
- updatedAt?: Prisma.SortOrder
695
- tags?: Prisma.SortOrder
696
- }
697
-
698
- export type ComponentAvgOrderByAggregateInput = {
699
- defaultWidth?: Prisma.SortOrder
700
- defaultHeight?: Prisma.SortOrder
701
- version?: Prisma.SortOrder
702
- sortOrder?: Prisma.SortOrder
703
- }
704
-
705
- export type ComponentMaxOrderByAggregateInput = {
706
- id?: Prisma.SortOrder
707
- name?: Prisma.SortOrder
708
- description?: Prisma.SortOrder
709
- type?: Prisma.SortOrder
710
- category?: Prisma.SortOrder
711
- subCategory?: Prisma.SortOrder
712
- path?: Prisma.SortOrder
713
- defaultWidth?: Prisma.SortOrder
714
- defaultHeight?: Prisma.SortOrder
715
- prototypeKey?: Prisma.SortOrder
716
- preview?: Prisma.SortOrder
717
- version?: Prisma.SortOrder
718
- sortOrder?: Prisma.SortOrder
719
- source?: Prisma.SortOrder
720
- sourceId?: Prisma.SortOrder
721
- isHidden?: Prisma.SortOrder
722
- isDeleted?: Prisma.SortOrder
723
- createdAt?: Prisma.SortOrder
724
- updatedAt?: Prisma.SortOrder
725
- }
726
-
727
- export type ComponentMinOrderByAggregateInput = {
728
- id?: Prisma.SortOrder
729
- name?: Prisma.SortOrder
730
- description?: Prisma.SortOrder
731
- type?: Prisma.SortOrder
732
- category?: Prisma.SortOrder
733
- subCategory?: Prisma.SortOrder
734
- path?: Prisma.SortOrder
735
- defaultWidth?: Prisma.SortOrder
736
- defaultHeight?: Prisma.SortOrder
737
- prototypeKey?: Prisma.SortOrder
738
- preview?: Prisma.SortOrder
739
- version?: Prisma.SortOrder
740
- sortOrder?: Prisma.SortOrder
741
- source?: Prisma.SortOrder
742
- sourceId?: Prisma.SortOrder
743
- isHidden?: Prisma.SortOrder
744
- isDeleted?: Prisma.SortOrder
745
- createdAt?: Prisma.SortOrder
746
- updatedAt?: Prisma.SortOrder
747
- }
748
-
749
- export type ComponentSumOrderByAggregateInput = {
750
- defaultWidth?: Prisma.SortOrder
751
- defaultHeight?: Prisma.SortOrder
752
- version?: Prisma.SortOrder
753
- sortOrder?: Prisma.SortOrder
754
- }
755
-
756
- export type ComponentScalarRelationFilter = {
757
- is?: Prisma.ComponentWhereInput
758
- isNot?: Prisma.ComponentWhereInput
759
- }
760
-
761
- export type ComponentNullableScalarRelationFilter = {
762
- is?: Prisma.ComponentWhereInput | null
763
- isNot?: Prisma.ComponentWhereInput | null
764
- }
765
-
766
- export type ComponentCreateNestedOneWithoutBlockItemsInput = {
767
- create?: Prisma.XOR<Prisma.ComponentCreateWithoutBlockItemsInput, Prisma.ComponentUncheckedCreateWithoutBlockItemsInput>
768
- connectOrCreate?: Prisma.ComponentCreateOrConnectWithoutBlockItemsInput
769
- connect?: Prisma.ComponentWhereUniqueInput
770
- }
771
-
772
- export type ComponentUpdateOneRequiredWithoutBlockItemsNestedInput = {
773
- create?: Prisma.XOR<Prisma.ComponentCreateWithoutBlockItemsInput, Prisma.ComponentUncheckedCreateWithoutBlockItemsInput>
774
- connectOrCreate?: Prisma.ComponentCreateOrConnectWithoutBlockItemsInput
775
- upsert?: Prisma.ComponentUpsertWithoutBlockItemsInput
776
- connect?: Prisma.ComponentWhereUniqueInput
777
- update?: Prisma.XOR<Prisma.XOR<Prisma.ComponentUpdateToOneWithWhereWithoutBlockItemsInput, Prisma.ComponentUpdateWithoutBlockItemsInput>, Prisma.ComponentUncheckedUpdateWithoutBlockItemsInput>
778
- }
779
-
780
- export type ComponentCreateNestedOneWithoutInstancesInput = {
781
- create?: Prisma.XOR<Prisma.ComponentCreateWithoutInstancesInput, Prisma.ComponentUncheckedCreateWithoutInstancesInput>
782
- connectOrCreate?: Prisma.ComponentCreateOrConnectWithoutInstancesInput
783
- connect?: Prisma.ComponentWhereUniqueInput
784
- }
785
-
786
- export type ComponentUpdateOneWithoutInstancesNestedInput = {
787
- create?: Prisma.XOR<Prisma.ComponentCreateWithoutInstancesInput, Prisma.ComponentUncheckedCreateWithoutInstancesInput>
788
- connectOrCreate?: Prisma.ComponentCreateOrConnectWithoutInstancesInput
789
- upsert?: Prisma.ComponentUpsertWithoutInstancesInput
790
- disconnect?: Prisma.ComponentWhereInput | boolean
791
- delete?: Prisma.ComponentWhereInput | boolean
792
- connect?: Prisma.ComponentWhereUniqueInput
793
- update?: Prisma.XOR<Prisma.XOR<Prisma.ComponentUpdateToOneWithWhereWithoutInstancesInput, Prisma.ComponentUpdateWithoutInstancesInput>, Prisma.ComponentUncheckedUpdateWithoutInstancesInput>
794
- }
795
-
796
- export type ComponentCreateWithoutBlockItemsInput = {
797
- id?: string
798
- name: string
799
- description?: string | null
800
- type: string
801
- category?: string | null
802
- subCategory?: string | null
803
- path?: string | null
804
- defaultWidth?: number
805
- defaultHeight?: number
806
- prototypeKey?: string | null
807
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
808
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
809
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
810
- preview?: string | null
811
- version?: number
812
- sortOrder?: number
813
- source?: string
814
- sourceId?: string | null
815
- isHidden?: boolean
816
- isDeleted?: boolean
817
- createdAt?: Date | string
818
- updatedAt?: Date | string
819
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
820
- instances?: Prisma.ComponentInstanceCreateNestedManyWithoutComponentInput
821
- }
822
-
823
- export type ComponentUncheckedCreateWithoutBlockItemsInput = {
824
- id?: string
825
- name: string
826
- description?: string | null
827
- type: string
828
- category?: string | null
829
- subCategory?: string | null
830
- path?: string | null
831
- defaultWidth?: number
832
- defaultHeight?: number
833
- prototypeKey?: string | null
834
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
835
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
836
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
837
- preview?: string | null
838
- version?: number
839
- sortOrder?: number
840
- source?: string
841
- sourceId?: string | null
842
- isHidden?: boolean
843
- isDeleted?: boolean
844
- createdAt?: Date | string
845
- updatedAt?: Date | string
846
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
847
- instances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutComponentInput
848
- }
849
-
850
- export type ComponentCreateOrConnectWithoutBlockItemsInput = {
851
- where: Prisma.ComponentWhereUniqueInput
852
- create: Prisma.XOR<Prisma.ComponentCreateWithoutBlockItemsInput, Prisma.ComponentUncheckedCreateWithoutBlockItemsInput>
853
- }
854
-
855
- export type ComponentUpsertWithoutBlockItemsInput = {
856
- update: Prisma.XOR<Prisma.ComponentUpdateWithoutBlockItemsInput, Prisma.ComponentUncheckedUpdateWithoutBlockItemsInput>
857
- create: Prisma.XOR<Prisma.ComponentCreateWithoutBlockItemsInput, Prisma.ComponentUncheckedCreateWithoutBlockItemsInput>
858
- where?: Prisma.ComponentWhereInput
859
- }
860
-
861
- export type ComponentUpdateToOneWithWhereWithoutBlockItemsInput = {
862
- where?: Prisma.ComponentWhereInput
863
- data: Prisma.XOR<Prisma.ComponentUpdateWithoutBlockItemsInput, Prisma.ComponentUncheckedUpdateWithoutBlockItemsInput>
864
- }
865
-
866
- export type ComponentUpdateWithoutBlockItemsInput = {
867
- id?: Prisma.StringFieldUpdateOperationsInput | string
868
- name?: Prisma.StringFieldUpdateOperationsInput | string
869
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
870
- type?: Prisma.StringFieldUpdateOperationsInput | string
871
- category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
872
- subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
873
- path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
874
- defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
875
- defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
876
- prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
877
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
878
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
879
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
880
- preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
881
- version?: Prisma.IntFieldUpdateOperationsInput | number
882
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
883
- source?: Prisma.StringFieldUpdateOperationsInput | string
884
- sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
885
- isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
886
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
887
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
888
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
889
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
890
- instances?: Prisma.ComponentInstanceUpdateManyWithoutComponentNestedInput
891
- }
892
-
893
- export type ComponentUncheckedUpdateWithoutBlockItemsInput = {
894
- id?: Prisma.StringFieldUpdateOperationsInput | string
895
- name?: Prisma.StringFieldUpdateOperationsInput | string
896
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
897
- type?: Prisma.StringFieldUpdateOperationsInput | string
898
- category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
899
- subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
900
- path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
901
- defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
902
- defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
903
- prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
904
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
905
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
906
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
907
- preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
908
- version?: Prisma.IntFieldUpdateOperationsInput | number
909
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
910
- source?: Prisma.StringFieldUpdateOperationsInput | string
911
- sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
912
- isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
913
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
914
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
915
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
916
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
917
- instances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutComponentNestedInput
918
- }
919
-
920
- export type ComponentCreateWithoutInstancesInput = {
921
- id?: string
922
- name: string
923
- description?: string | null
924
- type: string
925
- category?: string | null
926
- subCategory?: string | null
927
- path?: string | null
928
- defaultWidth?: number
929
- defaultHeight?: number
930
- prototypeKey?: string | null
931
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
932
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
933
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
934
- preview?: string | null
935
- version?: number
936
- sortOrder?: number
937
- source?: string
938
- sourceId?: string | null
939
- isHidden?: boolean
940
- isDeleted?: boolean
941
- createdAt?: Date | string
942
- updatedAt?: Date | string
943
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
944
- blockItems?: Prisma.BlockComponentCreateNestedManyWithoutComponentInput
945
- }
946
-
947
- export type ComponentUncheckedCreateWithoutInstancesInput = {
948
- id?: string
949
- name: string
950
- description?: string | null
951
- type: string
952
- category?: string | null
953
- subCategory?: string | null
954
- path?: string | null
955
- defaultWidth?: number
956
- defaultHeight?: number
957
- prototypeKey?: string | null
958
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
959
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
960
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
961
- preview?: string | null
962
- version?: number
963
- sortOrder?: number
964
- source?: string
965
- sourceId?: string | null
966
- isHidden?: boolean
967
- isDeleted?: boolean
968
- createdAt?: Date | string
969
- updatedAt?: Date | string
970
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
971
- blockItems?: Prisma.BlockComponentUncheckedCreateNestedManyWithoutComponentInput
972
- }
973
-
974
- export type ComponentCreateOrConnectWithoutInstancesInput = {
975
- where: Prisma.ComponentWhereUniqueInput
976
- create: Prisma.XOR<Prisma.ComponentCreateWithoutInstancesInput, Prisma.ComponentUncheckedCreateWithoutInstancesInput>
977
- }
978
-
979
- export type ComponentUpsertWithoutInstancesInput = {
980
- update: Prisma.XOR<Prisma.ComponentUpdateWithoutInstancesInput, Prisma.ComponentUncheckedUpdateWithoutInstancesInput>
981
- create: Prisma.XOR<Prisma.ComponentCreateWithoutInstancesInput, Prisma.ComponentUncheckedCreateWithoutInstancesInput>
982
- where?: Prisma.ComponentWhereInput
983
- }
984
-
985
- export type ComponentUpdateToOneWithWhereWithoutInstancesInput = {
986
- where?: Prisma.ComponentWhereInput
987
- data: Prisma.XOR<Prisma.ComponentUpdateWithoutInstancesInput, Prisma.ComponentUncheckedUpdateWithoutInstancesInput>
988
- }
989
-
990
- export type ComponentUpdateWithoutInstancesInput = {
991
- id?: Prisma.StringFieldUpdateOperationsInput | string
992
- name?: Prisma.StringFieldUpdateOperationsInput | string
993
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
994
- type?: Prisma.StringFieldUpdateOperationsInput | string
995
- category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
996
- subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
997
- path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
998
- defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
999
- defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
1000
- prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1001
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1002
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1003
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1004
- preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1005
- version?: Prisma.IntFieldUpdateOperationsInput | number
1006
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1007
- source?: Prisma.StringFieldUpdateOperationsInput | string
1008
- sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1009
- isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
1010
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1011
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1012
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1013
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1014
- blockItems?: Prisma.BlockComponentUpdateManyWithoutComponentNestedInput
1015
- }
1016
-
1017
- export type ComponentUncheckedUpdateWithoutInstancesInput = {
1018
- id?: Prisma.StringFieldUpdateOperationsInput | string
1019
- name?: Prisma.StringFieldUpdateOperationsInput | string
1020
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1021
- type?: Prisma.StringFieldUpdateOperationsInput | string
1022
- category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1023
- subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1024
- path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1025
- defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
1026
- defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
1027
- prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1028
- config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1029
- defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1030
- defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1031
- preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1032
- version?: Prisma.IntFieldUpdateOperationsInput | number
1033
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1034
- source?: Prisma.StringFieldUpdateOperationsInput | string
1035
- sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1036
- isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
1037
- isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1038
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1039
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1040
- tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1041
- blockItems?: Prisma.BlockComponentUncheckedUpdateManyWithoutComponentNestedInput
1042
- }
1043
-
1044
-
1045
- /**
1046
- * Count Type ComponentCountOutputType
1047
- */
1048
-
1049
- export type ComponentCountOutputType = {
1050
- blockItems: number
1051
- instances: number
1052
- }
1053
-
1054
- export type ComponentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1055
- blockItems?: boolean | ComponentCountOutputTypeCountBlockItemsArgs
1056
- instances?: boolean | ComponentCountOutputTypeCountInstancesArgs
1057
- }
1058
-
1059
- /**
1060
- * ComponentCountOutputType without action
1061
- */
1062
- export type ComponentCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1063
- /**
1064
- * Select specific fields to fetch from the ComponentCountOutputType
1065
- */
1066
- select?: Prisma.ComponentCountOutputTypeSelect<ExtArgs> | null
1067
- }
1068
-
1069
- /**
1070
- * ComponentCountOutputType without action
1071
- */
1072
- export type ComponentCountOutputTypeCountBlockItemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1073
- where?: Prisma.BlockComponentWhereInput
1074
- }
1075
-
1076
- /**
1077
- * ComponentCountOutputType without action
1078
- */
1079
- export type ComponentCountOutputTypeCountInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1080
- where?: Prisma.ComponentInstanceWhereInput
1081
- }
1082
-
1083
-
1084
- export type ComponentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1085
- id?: boolean
1086
- name?: boolean
1087
- description?: boolean
1088
- type?: boolean
1089
- category?: boolean
1090
- subCategory?: boolean
1091
- path?: boolean
1092
- defaultWidth?: boolean
1093
- defaultHeight?: boolean
1094
- prototypeKey?: boolean
1095
- config?: boolean
1096
- defaultProps?: boolean
1097
- defaultStyle?: boolean
1098
- preview?: boolean
1099
- version?: boolean
1100
- sortOrder?: boolean
1101
- source?: boolean
1102
- sourceId?: boolean
1103
- isHidden?: boolean
1104
- isDeleted?: boolean
1105
- createdAt?: boolean
1106
- updatedAt?: boolean
1107
- tags?: boolean
1108
- blockItems?: boolean | Prisma.Component$blockItemsArgs<ExtArgs>
1109
- instances?: boolean | Prisma.Component$instancesArgs<ExtArgs>
1110
- _count?: boolean | Prisma.ComponentCountOutputTypeDefaultArgs<ExtArgs>
1111
- }, ExtArgs["result"]["component"]>
1112
-
1113
- export type ComponentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1114
- id?: boolean
1115
- name?: boolean
1116
- description?: boolean
1117
- type?: boolean
1118
- category?: boolean
1119
- subCategory?: boolean
1120
- path?: boolean
1121
- defaultWidth?: boolean
1122
- defaultHeight?: boolean
1123
- prototypeKey?: boolean
1124
- config?: boolean
1125
- defaultProps?: boolean
1126
- defaultStyle?: boolean
1127
- preview?: boolean
1128
- version?: boolean
1129
- sortOrder?: boolean
1130
- source?: boolean
1131
- sourceId?: boolean
1132
- isHidden?: boolean
1133
- isDeleted?: boolean
1134
- createdAt?: boolean
1135
- updatedAt?: boolean
1136
- tags?: boolean
1137
- }, ExtArgs["result"]["component"]>
1138
-
1139
- export type ComponentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1140
- id?: boolean
1141
- name?: boolean
1142
- description?: boolean
1143
- type?: boolean
1144
- category?: boolean
1145
- subCategory?: boolean
1146
- path?: boolean
1147
- defaultWidth?: boolean
1148
- defaultHeight?: boolean
1149
- prototypeKey?: boolean
1150
- config?: boolean
1151
- defaultProps?: boolean
1152
- defaultStyle?: boolean
1153
- preview?: boolean
1154
- version?: boolean
1155
- sortOrder?: boolean
1156
- source?: boolean
1157
- sourceId?: boolean
1158
- isHidden?: boolean
1159
- isDeleted?: boolean
1160
- createdAt?: boolean
1161
- updatedAt?: boolean
1162
- tags?: boolean
1163
- }, ExtArgs["result"]["component"]>
1164
-
1165
- export type ComponentSelectScalar = {
1166
- id?: boolean
1167
- name?: boolean
1168
- description?: boolean
1169
- type?: boolean
1170
- category?: boolean
1171
- subCategory?: boolean
1172
- path?: boolean
1173
- defaultWidth?: boolean
1174
- defaultHeight?: boolean
1175
- prototypeKey?: boolean
1176
- config?: boolean
1177
- defaultProps?: boolean
1178
- defaultStyle?: boolean
1179
- preview?: boolean
1180
- version?: boolean
1181
- sortOrder?: boolean
1182
- source?: boolean
1183
- sourceId?: boolean
1184
- isHidden?: boolean
1185
- isDeleted?: boolean
1186
- createdAt?: boolean
1187
- updatedAt?: boolean
1188
- tags?: boolean
1189
- }
1190
-
1191
- export type ComponentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "type" | "category" | "subCategory" | "path" | "defaultWidth" | "defaultHeight" | "prototypeKey" | "config" | "defaultProps" | "defaultStyle" | "preview" | "version" | "sortOrder" | "source" | "sourceId" | "isHidden" | "isDeleted" | "createdAt" | "updatedAt" | "tags", ExtArgs["result"]["component"]>
1192
- export type ComponentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1193
- blockItems?: boolean | Prisma.Component$blockItemsArgs<ExtArgs>
1194
- instances?: boolean | Prisma.Component$instancesArgs<ExtArgs>
1195
- _count?: boolean | Prisma.ComponentCountOutputTypeDefaultArgs<ExtArgs>
1196
- }
1197
- export type ComponentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
1198
- export type ComponentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
1199
-
1200
- export type $ComponentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1201
- name: "Component"
1202
- objects: {
1203
- blockItems: Prisma.$BlockComponentPayload<ExtArgs>[]
1204
- instances: Prisma.$ComponentInstancePayload<ExtArgs>[]
1205
- }
1206
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1207
- id: string
1208
- name: string
1209
- description: string | null
1210
- type: string
1211
- category: string | null
1212
- subCategory: string | null
1213
- path: string | null
1214
- defaultWidth: number
1215
- defaultHeight: number
1216
- prototypeKey: string | null
1217
- config: runtime.JsonValue
1218
- defaultProps: runtime.JsonValue | null
1219
- defaultStyle: runtime.JsonValue | null
1220
- preview: string | null
1221
- version: number
1222
- sortOrder: number
1223
- source: string
1224
- sourceId: string | null
1225
- isHidden: boolean
1226
- isDeleted: boolean
1227
- createdAt: Date
1228
- updatedAt: Date
1229
- tags: runtime.JsonValue
1230
- }, ExtArgs["result"]["component"]>
1231
- composites: {}
1232
- }
1233
-
1234
- export type ComponentGetPayload<S extends boolean | null | undefined | ComponentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ComponentPayload, S>
1235
-
1236
- export type ComponentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1237
- Omit<ComponentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1238
- select?: ComponentCountAggregateInputType | true
1239
- }
1240
-
1241
- export interface ComponentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1242
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Component'], meta: { name: 'Component' } }
1243
- /**
1244
- * Find zero or one Component that matches the filter.
1245
- * @param {ComponentFindUniqueArgs} args - Arguments to find a Component
1246
- * @example
1247
- * // Get one Component
1248
- * const component = await prisma.component.findUnique({
1249
- * where: {
1250
- * // ... provide filter here
1251
- * }
1252
- * })
1253
- */
1254
- findUnique<T extends ComponentFindUniqueArgs>(args: Prisma.SelectSubset<T, ComponentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ComponentClient<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1255
-
1256
- /**
1257
- * Find one Component that matches the filter or throw an error with `error.code='P2025'`
1258
- * if no matches were found.
1259
- * @param {ComponentFindUniqueOrThrowArgs} args - Arguments to find a Component
1260
- * @example
1261
- * // Get one Component
1262
- * const component = await prisma.component.findUniqueOrThrow({
1263
- * where: {
1264
- * // ... provide filter here
1265
- * }
1266
- * })
1267
- */
1268
- findUniqueOrThrow<T extends ComponentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ComponentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ComponentClient<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1269
-
1270
- /**
1271
- * Find the first Component that matches the filter.
1272
- * Note, that providing `undefined` is treated as the value not being there.
1273
- * Read more here: https://pris.ly/d/null-undefined
1274
- * @param {ComponentFindFirstArgs} args - Arguments to find a Component
1275
- * @example
1276
- * // Get one Component
1277
- * const component = await prisma.component.findFirst({
1278
- * where: {
1279
- * // ... provide filter here
1280
- * }
1281
- * })
1282
- */
1283
- findFirst<T extends ComponentFindFirstArgs>(args?: Prisma.SelectSubset<T, ComponentFindFirstArgs<ExtArgs>>): Prisma.Prisma__ComponentClient<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1284
-
1285
- /**
1286
- * Find the first Component that matches the filter or
1287
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1288
- * Note, that providing `undefined` is treated as the value not being there.
1289
- * Read more here: https://pris.ly/d/null-undefined
1290
- * @param {ComponentFindFirstOrThrowArgs} args - Arguments to find a Component
1291
- * @example
1292
- * // Get one Component
1293
- * const component = await prisma.component.findFirstOrThrow({
1294
- * where: {
1295
- * // ... provide filter here
1296
- * }
1297
- * })
1298
- */
1299
- findFirstOrThrow<T extends ComponentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ComponentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ComponentClient<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1300
-
1301
- /**
1302
- * Find zero or more Components that matches the filter.
1303
- * Note, that providing `undefined` is treated as the value not being there.
1304
- * Read more here: https://pris.ly/d/null-undefined
1305
- * @param {ComponentFindManyArgs} args - Arguments to filter and select certain fields only.
1306
- * @example
1307
- * // Get all Components
1308
- * const components = await prisma.component.findMany()
1309
- *
1310
- * // Get first 10 Components
1311
- * const components = await prisma.component.findMany({ take: 10 })
1312
- *
1313
- * // Only select the `id`
1314
- * const componentWithIdOnly = await prisma.component.findMany({ select: { id: true } })
1315
- *
1316
- */
1317
- findMany<T extends ComponentFindManyArgs>(args?: Prisma.SelectSubset<T, ComponentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1318
-
1319
- /**
1320
- * Create a Component.
1321
- * @param {ComponentCreateArgs} args - Arguments to create a Component.
1322
- * @example
1323
- * // Create one Component
1324
- * const Component = await prisma.component.create({
1325
- * data: {
1326
- * // ... data to create a Component
1327
- * }
1328
- * })
1329
- *
1330
- */
1331
- create<T extends ComponentCreateArgs>(args: Prisma.SelectSubset<T, ComponentCreateArgs<ExtArgs>>): Prisma.Prisma__ComponentClient<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1332
-
1333
- /**
1334
- * Create many Components.
1335
- * @param {ComponentCreateManyArgs} args - Arguments to create many Components.
1336
- * @example
1337
- * // Create many Components
1338
- * const component = await prisma.component.createMany({
1339
- * data: [
1340
- * // ... provide data here
1341
- * ]
1342
- * })
1343
- *
1344
- */
1345
- createMany<T extends ComponentCreateManyArgs>(args?: Prisma.SelectSubset<T, ComponentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1346
-
1347
- /**
1348
- * Create many Components and returns the data saved in the database.
1349
- * @param {ComponentCreateManyAndReturnArgs} args - Arguments to create many Components.
1350
- * @example
1351
- * // Create many Components
1352
- * const component = await prisma.component.createManyAndReturn({
1353
- * data: [
1354
- * // ... provide data here
1355
- * ]
1356
- * })
1357
- *
1358
- * // Create many Components and only return the `id`
1359
- * const componentWithIdOnly = await prisma.component.createManyAndReturn({
1360
- * select: { id: true },
1361
- * data: [
1362
- * // ... provide data here
1363
- * ]
1364
- * })
1365
- * Note, that providing `undefined` is treated as the value not being there.
1366
- * Read more here: https://pris.ly/d/null-undefined
1367
- *
1368
- */
1369
- createManyAndReturn<T extends ComponentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ComponentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1370
-
1371
- /**
1372
- * Delete a Component.
1373
- * @param {ComponentDeleteArgs} args - Arguments to delete one Component.
1374
- * @example
1375
- * // Delete one Component
1376
- * const Component = await prisma.component.delete({
1377
- * where: {
1378
- * // ... filter to delete one Component
1379
- * }
1380
- * })
1381
- *
1382
- */
1383
- delete<T extends ComponentDeleteArgs>(args: Prisma.SelectSubset<T, ComponentDeleteArgs<ExtArgs>>): Prisma.Prisma__ComponentClient<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1384
-
1385
- /**
1386
- * Update one Component.
1387
- * @param {ComponentUpdateArgs} args - Arguments to update one Component.
1388
- * @example
1389
- * // Update one Component
1390
- * const component = await prisma.component.update({
1391
- * where: {
1392
- * // ... provide filter here
1393
- * },
1394
- * data: {
1395
- * // ... provide data here
1396
- * }
1397
- * })
1398
- *
1399
- */
1400
- update<T extends ComponentUpdateArgs>(args: Prisma.SelectSubset<T, ComponentUpdateArgs<ExtArgs>>): Prisma.Prisma__ComponentClient<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1401
-
1402
- /**
1403
- * Delete zero or more Components.
1404
- * @param {ComponentDeleteManyArgs} args - Arguments to filter Components to delete.
1405
- * @example
1406
- * // Delete a few Components
1407
- * const { count } = await prisma.component.deleteMany({
1408
- * where: {
1409
- * // ... provide filter here
1410
- * }
1411
- * })
1412
- *
1413
- */
1414
- deleteMany<T extends ComponentDeleteManyArgs>(args?: Prisma.SelectSubset<T, ComponentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1415
-
1416
- /**
1417
- * Update zero or more Components.
1418
- * Note, that providing `undefined` is treated as the value not being there.
1419
- * Read more here: https://pris.ly/d/null-undefined
1420
- * @param {ComponentUpdateManyArgs} args - Arguments to update one or more rows.
1421
- * @example
1422
- * // Update many Components
1423
- * const component = await prisma.component.updateMany({
1424
- * where: {
1425
- * // ... provide filter here
1426
- * },
1427
- * data: {
1428
- * // ... provide data here
1429
- * }
1430
- * })
1431
- *
1432
- */
1433
- updateMany<T extends ComponentUpdateManyArgs>(args: Prisma.SelectSubset<T, ComponentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1434
-
1435
- /**
1436
- * Update zero or more Components and returns the data updated in the database.
1437
- * @param {ComponentUpdateManyAndReturnArgs} args - Arguments to update many Components.
1438
- * @example
1439
- * // Update many Components
1440
- * const component = await prisma.component.updateManyAndReturn({
1441
- * where: {
1442
- * // ... provide filter here
1443
- * },
1444
- * data: [
1445
- * // ... provide data here
1446
- * ]
1447
- * })
1448
- *
1449
- * // Update zero or more Components and only return the `id`
1450
- * const componentWithIdOnly = await prisma.component.updateManyAndReturn({
1451
- * select: { id: true },
1452
- * where: {
1453
- * // ... provide filter here
1454
- * },
1455
- * data: [
1456
- * // ... provide data here
1457
- * ]
1458
- * })
1459
- * Note, that providing `undefined` is treated as the value not being there.
1460
- * Read more here: https://pris.ly/d/null-undefined
1461
- *
1462
- */
1463
- updateManyAndReturn<T extends ComponentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ComponentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1464
-
1465
- /**
1466
- * Create or update one Component.
1467
- * @param {ComponentUpsertArgs} args - Arguments to update or create a Component.
1468
- * @example
1469
- * // Update or create a Component
1470
- * const component = await prisma.component.upsert({
1471
- * create: {
1472
- * // ... data to create a Component
1473
- * },
1474
- * update: {
1475
- * // ... in case it already exists, update
1476
- * },
1477
- * where: {
1478
- * // ... the filter for the Component we want to update
1479
- * }
1480
- * })
1481
- */
1482
- upsert<T extends ComponentUpsertArgs>(args: Prisma.SelectSubset<T, ComponentUpsertArgs<ExtArgs>>): Prisma.Prisma__ComponentClient<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1483
-
1484
-
1485
- /**
1486
- * Count the number of Components.
1487
- * Note, that providing `undefined` is treated as the value not being there.
1488
- * Read more here: https://pris.ly/d/null-undefined
1489
- * @param {ComponentCountArgs} args - Arguments to filter Components to count.
1490
- * @example
1491
- * // Count the number of Components
1492
- * const count = await prisma.component.count({
1493
- * where: {
1494
- * // ... the filter for the Components we want to count
1495
- * }
1496
- * })
1497
- **/
1498
- count<T extends ComponentCountArgs>(
1499
- args?: Prisma.Subset<T, ComponentCountArgs>,
1500
- ): Prisma.PrismaPromise<
1501
- T extends runtime.Types.Utils.Record<'select', any>
1502
- ? T['select'] extends true
1503
- ? number
1504
- : Prisma.GetScalarType<T['select'], ComponentCountAggregateOutputType>
1505
- : number
1506
- >
1507
-
1508
- /**
1509
- * Allows you to perform aggregations operations on a Component.
1510
- * Note, that providing `undefined` is treated as the value not being there.
1511
- * Read more here: https://pris.ly/d/null-undefined
1512
- * @param {ComponentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1513
- * @example
1514
- * // Ordered by age ascending
1515
- * // Where email contains prisma.io
1516
- * // Limited to the 10 users
1517
- * const aggregations = await prisma.user.aggregate({
1518
- * _avg: {
1519
- * age: true,
1520
- * },
1521
- * where: {
1522
- * email: {
1523
- * contains: "prisma.io",
1524
- * },
1525
- * },
1526
- * orderBy: {
1527
- * age: "asc",
1528
- * },
1529
- * take: 10,
1530
- * })
1531
- **/
1532
- aggregate<T extends ComponentAggregateArgs>(args: Prisma.Subset<T, ComponentAggregateArgs>): Prisma.PrismaPromise<GetComponentAggregateType<T>>
1533
-
1534
- /**
1535
- * Group by Component.
1536
- * Note, that providing `undefined` is treated as the value not being there.
1537
- * Read more here: https://pris.ly/d/null-undefined
1538
- * @param {ComponentGroupByArgs} args - Group by arguments.
1539
- * @example
1540
- * // Group by city, order by createdAt, get count
1541
- * const result = await prisma.user.groupBy({
1542
- * by: ['city', 'createdAt'],
1543
- * orderBy: {
1544
- * createdAt: true
1545
- * },
1546
- * _count: {
1547
- * _all: true
1548
- * },
1549
- * })
1550
- *
1551
- **/
1552
- groupBy<
1553
- T extends ComponentGroupByArgs,
1554
- HasSelectOrTake extends Prisma.Or<
1555
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1556
- Prisma.Extends<'take', Prisma.Keys<T>>
1557
- >,
1558
- OrderByArg extends Prisma.True extends HasSelectOrTake
1559
- ? { orderBy: ComponentGroupByArgs['orderBy'] }
1560
- : { orderBy?: ComponentGroupByArgs['orderBy'] },
1561
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1562
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1563
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1564
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1565
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1566
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1567
- InputErrors extends ByEmpty extends Prisma.True
1568
- ? `Error: "by" must not be empty.`
1569
- : HavingValid extends Prisma.False
1570
- ? {
1571
- [P in HavingFields]: P extends ByFields
1572
- ? never
1573
- : P extends string
1574
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1575
- : [
1576
- Error,
1577
- 'Field ',
1578
- P,
1579
- ` in "having" needs to be provided in "by"`,
1580
- ]
1581
- }[HavingFields]
1582
- : 'take' extends Prisma.Keys<T>
1583
- ? 'orderBy' extends Prisma.Keys<T>
1584
- ? ByValid extends Prisma.True
1585
- ? {}
1586
- : {
1587
- [P in OrderFields]: P extends ByFields
1588
- ? never
1589
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1590
- }[OrderFields]
1591
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1592
- : 'skip' extends Prisma.Keys<T>
1593
- ? 'orderBy' extends Prisma.Keys<T>
1594
- ? ByValid extends Prisma.True
1595
- ? {}
1596
- : {
1597
- [P in OrderFields]: P extends ByFields
1598
- ? never
1599
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1600
- }[OrderFields]
1601
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1602
- : ByValid extends Prisma.True
1603
- ? {}
1604
- : {
1605
- [P in OrderFields]: P extends ByFields
1606
- ? never
1607
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1608
- }[OrderFields]
1609
- >(args: Prisma.SubsetIntersection<T, ComponentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetComponentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1610
- /**
1611
- * Fields of the Component model
1612
- */
1613
- readonly fields: ComponentFieldRefs;
1614
- }
1615
-
1616
- /**
1617
- * The delegate class that acts as a "Promise-like" for Component.
1618
- * Why is this prefixed with `Prisma__`?
1619
- * Because we want to prevent naming conflicts as mentioned in
1620
- * https://github.com/prisma/prisma-client-js/issues/707
1621
- */
1622
- export interface Prisma__ComponentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1623
- readonly [Symbol.toStringTag]: "PrismaPromise"
1624
- blockItems<T extends Prisma.Component$blockItemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Component$blockItemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1625
- instances<T extends Prisma.Component$instancesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Component$instancesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentInstancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1626
- /**
1627
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1628
- * @param onfulfilled The callback to execute when the Promise is resolved.
1629
- * @param onrejected The callback to execute when the Promise is rejected.
1630
- * @returns A Promise for the completion of which ever callback is executed.
1631
- */
1632
- 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>
1633
- /**
1634
- * Attaches a callback for only the rejection of the Promise.
1635
- * @param onrejected The callback to execute when the Promise is rejected.
1636
- * @returns A Promise for the completion of the callback.
1637
- */
1638
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1639
- /**
1640
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1641
- * resolved value cannot be modified from the callback.
1642
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1643
- * @returns A Promise for the completion of the callback.
1644
- */
1645
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1646
- }
1647
-
1648
-
1649
-
1650
-
1651
- /**
1652
- * Fields of the Component model
1653
- */
1654
- export interface ComponentFieldRefs {
1655
- readonly id: Prisma.FieldRef<"Component", 'String'>
1656
- readonly name: Prisma.FieldRef<"Component", 'String'>
1657
- readonly description: Prisma.FieldRef<"Component", 'String'>
1658
- readonly type: Prisma.FieldRef<"Component", 'String'>
1659
- readonly category: Prisma.FieldRef<"Component", 'String'>
1660
- readonly subCategory: Prisma.FieldRef<"Component", 'String'>
1661
- readonly path: Prisma.FieldRef<"Component", 'String'>
1662
- readonly defaultWidth: Prisma.FieldRef<"Component", 'Int'>
1663
- readonly defaultHeight: Prisma.FieldRef<"Component", 'Int'>
1664
- readonly prototypeKey: Prisma.FieldRef<"Component", 'String'>
1665
- readonly config: Prisma.FieldRef<"Component", 'Json'>
1666
- readonly defaultProps: Prisma.FieldRef<"Component", 'Json'>
1667
- readonly defaultStyle: Prisma.FieldRef<"Component", 'Json'>
1668
- readonly preview: Prisma.FieldRef<"Component", 'String'>
1669
- readonly version: Prisma.FieldRef<"Component", 'Int'>
1670
- readonly sortOrder: Prisma.FieldRef<"Component", 'Int'>
1671
- readonly source: Prisma.FieldRef<"Component", 'String'>
1672
- readonly sourceId: Prisma.FieldRef<"Component", 'String'>
1673
- readonly isHidden: Prisma.FieldRef<"Component", 'Boolean'>
1674
- readonly isDeleted: Prisma.FieldRef<"Component", 'Boolean'>
1675
- readonly createdAt: Prisma.FieldRef<"Component", 'DateTime'>
1676
- readonly updatedAt: Prisma.FieldRef<"Component", 'DateTime'>
1677
- readonly tags: Prisma.FieldRef<"Component", 'Json'>
1678
- }
1679
-
1680
-
1681
- // Custom InputTypes
1682
- /**
1683
- * Component findUnique
1684
- */
1685
- export type ComponentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1686
- /**
1687
- * Select specific fields to fetch from the Component
1688
- */
1689
- select?: Prisma.ComponentSelect<ExtArgs> | null
1690
- /**
1691
- * Omit specific fields from the Component
1692
- */
1693
- omit?: Prisma.ComponentOmit<ExtArgs> | null
1694
- /**
1695
- * Choose, which related nodes to fetch as well
1696
- */
1697
- include?: Prisma.ComponentInclude<ExtArgs> | null
1698
- /**
1699
- * Filter, which Component to fetch.
1700
- */
1701
- where: Prisma.ComponentWhereUniqueInput
1702
- }
1703
-
1704
- /**
1705
- * Component findUniqueOrThrow
1706
- */
1707
- export type ComponentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1708
- /**
1709
- * Select specific fields to fetch from the Component
1710
- */
1711
- select?: Prisma.ComponentSelect<ExtArgs> | null
1712
- /**
1713
- * Omit specific fields from the Component
1714
- */
1715
- omit?: Prisma.ComponentOmit<ExtArgs> | null
1716
- /**
1717
- * Choose, which related nodes to fetch as well
1718
- */
1719
- include?: Prisma.ComponentInclude<ExtArgs> | null
1720
- /**
1721
- * Filter, which Component to fetch.
1722
- */
1723
- where: Prisma.ComponentWhereUniqueInput
1724
- }
1725
-
1726
- /**
1727
- * Component findFirst
1728
- */
1729
- export type ComponentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1730
- /**
1731
- * Select specific fields to fetch from the Component
1732
- */
1733
- select?: Prisma.ComponentSelect<ExtArgs> | null
1734
- /**
1735
- * Omit specific fields from the Component
1736
- */
1737
- omit?: Prisma.ComponentOmit<ExtArgs> | null
1738
- /**
1739
- * Choose, which related nodes to fetch as well
1740
- */
1741
- include?: Prisma.ComponentInclude<ExtArgs> | null
1742
- /**
1743
- * Filter, which Component to fetch.
1744
- */
1745
- where?: Prisma.ComponentWhereInput
1746
- /**
1747
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1748
- *
1749
- * Determine the order of Components to fetch.
1750
- */
1751
- orderBy?: Prisma.ComponentOrderByWithRelationInput | Prisma.ComponentOrderByWithRelationInput[]
1752
- /**
1753
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1754
- *
1755
- * Sets the position for searching for Components.
1756
- */
1757
- cursor?: Prisma.ComponentWhereUniqueInput
1758
- /**
1759
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1760
- *
1761
- * Take `±n` Components from the position of the cursor.
1762
- */
1763
- take?: number
1764
- /**
1765
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1766
- *
1767
- * Skip the first `n` Components.
1768
- */
1769
- skip?: number
1770
- /**
1771
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1772
- *
1773
- * Filter by unique combinations of Components.
1774
- */
1775
- distinct?: Prisma.ComponentScalarFieldEnum | Prisma.ComponentScalarFieldEnum[]
1776
- }
1777
-
1778
- /**
1779
- * Component findFirstOrThrow
1780
- */
1781
- export type ComponentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1782
- /**
1783
- * Select specific fields to fetch from the Component
1784
- */
1785
- select?: Prisma.ComponentSelect<ExtArgs> | null
1786
- /**
1787
- * Omit specific fields from the Component
1788
- */
1789
- omit?: Prisma.ComponentOmit<ExtArgs> | null
1790
- /**
1791
- * Choose, which related nodes to fetch as well
1792
- */
1793
- include?: Prisma.ComponentInclude<ExtArgs> | null
1794
- /**
1795
- * Filter, which Component to fetch.
1796
- */
1797
- where?: Prisma.ComponentWhereInput
1798
- /**
1799
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1800
- *
1801
- * Determine the order of Components to fetch.
1802
- */
1803
- orderBy?: Prisma.ComponentOrderByWithRelationInput | Prisma.ComponentOrderByWithRelationInput[]
1804
- /**
1805
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1806
- *
1807
- * Sets the position for searching for Components.
1808
- */
1809
- cursor?: Prisma.ComponentWhereUniqueInput
1810
- /**
1811
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1812
- *
1813
- * Take `±n` Components from the position of the cursor.
1814
- */
1815
- take?: number
1816
- /**
1817
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1818
- *
1819
- * Skip the first `n` Components.
1820
- */
1821
- skip?: number
1822
- /**
1823
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1824
- *
1825
- * Filter by unique combinations of Components.
1826
- */
1827
- distinct?: Prisma.ComponentScalarFieldEnum | Prisma.ComponentScalarFieldEnum[]
1828
- }
1829
-
1830
- /**
1831
- * Component findMany
1832
- */
1833
- export type ComponentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1834
- /**
1835
- * Select specific fields to fetch from the Component
1836
- */
1837
- select?: Prisma.ComponentSelect<ExtArgs> | null
1838
- /**
1839
- * Omit specific fields from the Component
1840
- */
1841
- omit?: Prisma.ComponentOmit<ExtArgs> | null
1842
- /**
1843
- * Choose, which related nodes to fetch as well
1844
- */
1845
- include?: Prisma.ComponentInclude<ExtArgs> | null
1846
- /**
1847
- * Filter, which Components to fetch.
1848
- */
1849
- where?: Prisma.ComponentWhereInput
1850
- /**
1851
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1852
- *
1853
- * Determine the order of Components to fetch.
1854
- */
1855
- orderBy?: Prisma.ComponentOrderByWithRelationInput | Prisma.ComponentOrderByWithRelationInput[]
1856
- /**
1857
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1858
- *
1859
- * Sets the position for listing Components.
1860
- */
1861
- cursor?: Prisma.ComponentWhereUniqueInput
1862
- /**
1863
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1864
- *
1865
- * Take `±n` Components from the position of the cursor.
1866
- */
1867
- take?: number
1868
- /**
1869
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1870
- *
1871
- * Skip the first `n` Components.
1872
- */
1873
- skip?: number
1874
- /**
1875
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1876
- *
1877
- * Filter by unique combinations of Components.
1878
- */
1879
- distinct?: Prisma.ComponentScalarFieldEnum | Prisma.ComponentScalarFieldEnum[]
1880
- }
1881
-
1882
- /**
1883
- * Component create
1884
- */
1885
- export type ComponentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1886
- /**
1887
- * Select specific fields to fetch from the Component
1888
- */
1889
- select?: Prisma.ComponentSelect<ExtArgs> | null
1890
- /**
1891
- * Omit specific fields from the Component
1892
- */
1893
- omit?: Prisma.ComponentOmit<ExtArgs> | null
1894
- /**
1895
- * Choose, which related nodes to fetch as well
1896
- */
1897
- include?: Prisma.ComponentInclude<ExtArgs> | null
1898
- /**
1899
- * The data needed to create a Component.
1900
- */
1901
- data: Prisma.XOR<Prisma.ComponentCreateInput, Prisma.ComponentUncheckedCreateInput>
1902
- }
1903
-
1904
- /**
1905
- * Component createMany
1906
- */
1907
- export type ComponentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1908
- /**
1909
- * The data used to create many Components.
1910
- */
1911
- data: Prisma.ComponentCreateManyInput | Prisma.ComponentCreateManyInput[]
1912
- }
1913
-
1914
- /**
1915
- * Component createManyAndReturn
1916
- */
1917
- export type ComponentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1918
- /**
1919
- * Select specific fields to fetch from the Component
1920
- */
1921
- select?: Prisma.ComponentSelectCreateManyAndReturn<ExtArgs> | null
1922
- /**
1923
- * Omit specific fields from the Component
1924
- */
1925
- omit?: Prisma.ComponentOmit<ExtArgs> | null
1926
- /**
1927
- * The data used to create many Components.
1928
- */
1929
- data: Prisma.ComponentCreateManyInput | Prisma.ComponentCreateManyInput[]
1930
- }
1931
-
1932
- /**
1933
- * Component update
1934
- */
1935
- export type ComponentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1936
- /**
1937
- * Select specific fields to fetch from the Component
1938
- */
1939
- select?: Prisma.ComponentSelect<ExtArgs> | null
1940
- /**
1941
- * Omit specific fields from the Component
1942
- */
1943
- omit?: Prisma.ComponentOmit<ExtArgs> | null
1944
- /**
1945
- * Choose, which related nodes to fetch as well
1946
- */
1947
- include?: Prisma.ComponentInclude<ExtArgs> | null
1948
- /**
1949
- * The data needed to update a Component.
1950
- */
1951
- data: Prisma.XOR<Prisma.ComponentUpdateInput, Prisma.ComponentUncheckedUpdateInput>
1952
- /**
1953
- * Choose, which Component to update.
1954
- */
1955
- where: Prisma.ComponentWhereUniqueInput
1956
- }
1957
-
1958
- /**
1959
- * Component updateMany
1960
- */
1961
- export type ComponentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1962
- /**
1963
- * The data used to update Components.
1964
- */
1965
- data: Prisma.XOR<Prisma.ComponentUpdateManyMutationInput, Prisma.ComponentUncheckedUpdateManyInput>
1966
- /**
1967
- * Filter which Components to update
1968
- */
1969
- where?: Prisma.ComponentWhereInput
1970
- /**
1971
- * Limit how many Components to update.
1972
- */
1973
- limit?: number
1974
- }
1975
-
1976
- /**
1977
- * Component updateManyAndReturn
1978
- */
1979
- export type ComponentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1980
- /**
1981
- * Select specific fields to fetch from the Component
1982
- */
1983
- select?: Prisma.ComponentSelectUpdateManyAndReturn<ExtArgs> | null
1984
- /**
1985
- * Omit specific fields from the Component
1986
- */
1987
- omit?: Prisma.ComponentOmit<ExtArgs> | null
1988
- /**
1989
- * The data used to update Components.
1990
- */
1991
- data: Prisma.XOR<Prisma.ComponentUpdateManyMutationInput, Prisma.ComponentUncheckedUpdateManyInput>
1992
- /**
1993
- * Filter which Components to update
1994
- */
1995
- where?: Prisma.ComponentWhereInput
1996
- /**
1997
- * Limit how many Components to update.
1998
- */
1999
- limit?: number
2000
- }
2001
-
2002
- /**
2003
- * Component upsert
2004
- */
2005
- export type ComponentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2006
- /**
2007
- * Select specific fields to fetch from the Component
2008
- */
2009
- select?: Prisma.ComponentSelect<ExtArgs> | null
2010
- /**
2011
- * Omit specific fields from the Component
2012
- */
2013
- omit?: Prisma.ComponentOmit<ExtArgs> | null
2014
- /**
2015
- * Choose, which related nodes to fetch as well
2016
- */
2017
- include?: Prisma.ComponentInclude<ExtArgs> | null
2018
- /**
2019
- * The filter to search for the Component to update in case it exists.
2020
- */
2021
- where: Prisma.ComponentWhereUniqueInput
2022
- /**
2023
- * In case the Component found by the `where` argument doesn't exist, create a new Component with this data.
2024
- */
2025
- create: Prisma.XOR<Prisma.ComponentCreateInput, Prisma.ComponentUncheckedCreateInput>
2026
- /**
2027
- * In case the Component was found with the provided `where` argument, update it with this data.
2028
- */
2029
- update: Prisma.XOR<Prisma.ComponentUpdateInput, Prisma.ComponentUncheckedUpdateInput>
2030
- }
2031
-
2032
- /**
2033
- * Component delete
2034
- */
2035
- export type ComponentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2036
- /**
2037
- * Select specific fields to fetch from the Component
2038
- */
2039
- select?: Prisma.ComponentSelect<ExtArgs> | null
2040
- /**
2041
- * Omit specific fields from the Component
2042
- */
2043
- omit?: Prisma.ComponentOmit<ExtArgs> | null
2044
- /**
2045
- * Choose, which related nodes to fetch as well
2046
- */
2047
- include?: Prisma.ComponentInclude<ExtArgs> | null
2048
- /**
2049
- * Filter which Component to delete.
2050
- */
2051
- where: Prisma.ComponentWhereUniqueInput
2052
- }
2053
-
2054
- /**
2055
- * Component deleteMany
2056
- */
2057
- export type ComponentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2058
- /**
2059
- * Filter which Components to delete
2060
- */
2061
- where?: Prisma.ComponentWhereInput
2062
- /**
2063
- * Limit how many Components to delete.
2064
- */
2065
- limit?: number
2066
- }
2067
-
2068
- /**
2069
- * Component.blockItems
2070
- */
2071
- export type Component$blockItemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2072
- /**
2073
- * Select specific fields to fetch from the BlockComponent
2074
- */
2075
- select?: Prisma.BlockComponentSelect<ExtArgs> | null
2076
- /**
2077
- * Omit specific fields from the BlockComponent
2078
- */
2079
- omit?: Prisma.BlockComponentOmit<ExtArgs> | null
2080
- /**
2081
- * Choose, which related nodes to fetch as well
2082
- */
2083
- include?: Prisma.BlockComponentInclude<ExtArgs> | null
2084
- where?: Prisma.BlockComponentWhereInput
2085
- orderBy?: Prisma.BlockComponentOrderByWithRelationInput | Prisma.BlockComponentOrderByWithRelationInput[]
2086
- cursor?: Prisma.BlockComponentWhereUniqueInput
2087
- take?: number
2088
- skip?: number
2089
- distinct?: Prisma.BlockComponentScalarFieldEnum | Prisma.BlockComponentScalarFieldEnum[]
2090
- }
2091
-
2092
- /**
2093
- * Component.instances
2094
- */
2095
- export type Component$instancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2096
- /**
2097
- * Select specific fields to fetch from the ComponentInstance
2098
- */
2099
- select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
2100
- /**
2101
- * Omit specific fields from the ComponentInstance
2102
- */
2103
- omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
2104
- /**
2105
- * Choose, which related nodes to fetch as well
2106
- */
2107
- include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
2108
- where?: Prisma.ComponentInstanceWhereInput
2109
- orderBy?: Prisma.ComponentInstanceOrderByWithRelationInput | Prisma.ComponentInstanceOrderByWithRelationInput[]
2110
- cursor?: Prisma.ComponentInstanceWhereUniqueInput
2111
- take?: number
2112
- skip?: number
2113
- distinct?: Prisma.ComponentInstanceScalarFieldEnum | Prisma.ComponentInstanceScalarFieldEnum[]
2114
- }
2115
-
2116
- /**
2117
- * Component without action
2118
- */
2119
- export type ComponentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2120
- /**
2121
- * Select specific fields to fetch from the Component
2122
- */
2123
- select?: Prisma.ComponentSelect<ExtArgs> | null
2124
- /**
2125
- * Omit specific fields from the Component
2126
- */
2127
- omit?: Prisma.ComponentOmit<ExtArgs> | null
2128
- /**
2129
- * Choose, which related nodes to fetch as well
2130
- */
2131
- include?: Prisma.ComponentInclude<ExtArgs> | null
2132
- }