@allbluecn/database 0.4.0 → 0.4.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.
- package/desktop-init.ts +128 -0
- package/generated/browser.ts +494 -0
- package/generated/client.ts +518 -0
- package/generated/commonInputTypes.ts +1056 -0
- package/generated/enums.ts +93 -0
- package/generated/internal/class.ts +1144 -0
- package/generated/internal/prismaNamespace.ts +9603 -0
- package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
- package/generated/models/Account.ts +1648 -0
- package/generated/models/AgentConversation.ts +1651 -0
- package/generated/models/AgentMessage.ts +1409 -0
- package/generated/models/AiProvider.ts +1607 -0
- package/generated/models/AiProviderConfig.ts +1514 -0
- package/generated/models/AiUsageLog.ts +1863 -0
- package/generated/models/AnyHubApp.ts +1911 -0
- package/generated/models/AnyHubMarketApp.ts +2008 -0
- package/generated/models/AnyHubPermission.ts +1422 -0
- package/generated/models/AnyHubRecommendation.ts +1870 -0
- package/generated/models/AnyHubRecommender.ts +1471 -0
- package/generated/models/Artboard.ts +1811 -0
- package/generated/models/ArtboardExport.ts +1548 -0
- package/generated/models/ArticleFavorite.ts +1352 -0
- package/generated/models/AuditLog.ts +1533 -0
- package/generated/models/Block.ts +1650 -0
- package/generated/models/BlockComponent.ts +1734 -0
- package/generated/models/BlockInstance.ts +2043 -0
- package/generated/models/BookmarkCategory.ts +1670 -0
- package/generated/models/ChatInterrupt.ts +1699 -0
- package/generated/models/ChatMessage.ts +1438 -0
- package/generated/models/ChatRun.ts +1632 -0
- package/generated/models/ChatThread.ts +2133 -0
- package/generated/models/Comment.ts +2206 -0
- package/generated/models/CommentIgnore.ts +1430 -0
- package/generated/models/CommentReaction.ts +1472 -0
- package/generated/models/ComplianceExport.ts +1345 -0
- package/generated/models/Component.ts +2345 -0
- package/generated/models/ComponentInstance.ts +2102 -0
- package/generated/models/ComponentTag.ts +1281 -0
- package/generated/models/CustomRole.ts +1560 -0
- package/generated/models/DesignProject.ts +1643 -0
- package/generated/models/DictionaryTerm.ts +1642 -0
- package/generated/models/GenerationRun.ts +1543 -0
- package/generated/models/IndustryCompliance.ts +1797 -0
- package/generated/models/InvitationCode.ts +1417 -0
- package/generated/models/InvitationUse.ts +1424 -0
- package/generated/models/Invoice.ts +1710 -0
- package/generated/models/KnowledgeBase.ts +1671 -0
- package/generated/models/KnowledgeDocument.ts +2458 -0
- package/generated/models/KnowledgeShareRecord.ts +1352 -0
- package/generated/models/Label.ts +1482 -0
- package/generated/models/LegalRegulation.ts +1873 -0
- package/generated/models/LicenseActivation.ts +1415 -0
- package/generated/models/LicenseKey.ts +1884 -0
- package/generated/models/LoginLog.ts +1450 -0
- package/generated/models/MonitoringErrorReport.ts +1299 -0
- package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
- package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
- package/generated/models/MonitoringRequestLog.ts +1283 -0
- package/generated/models/PRD.ts +2805 -0
- package/generated/models/PRDPage.ts +2402 -0
- package/generated/models/PRDTag.ts +1430 -0
- package/generated/models/PRDVersion.ts +2121 -0
- package/generated/models/PageVersion.ts +1523 -0
- package/generated/models/PasswordResetToken.ts +1380 -0
- package/generated/models/Plan.ts +2069 -0
- package/generated/models/Project.ts +2148 -0
- package/generated/models/ProjectActivity.ts +1582 -0
- package/generated/models/ProjectMember.ts +1512 -0
- package/generated/models/ProviderEvent.ts +1227 -0
- package/generated/models/Reference.ts +1177 -0
- package/generated/models/Review.ts +1912 -0
- package/generated/models/ReviewComment.ts +1904 -0
- package/generated/models/RoleAssignment.ts +1430 -0
- package/generated/models/SequenceCounter.ts +1137 -0
- package/generated/models/Share.ts +1681 -0
- package/generated/models/ShareVersion.ts +1389 -0
- package/generated/models/SsoMapping.ts +1512 -0
- package/generated/models/SsoProvider.ts +1639 -0
- package/generated/models/Story.ts +5234 -0
- package/generated/models/StoryActivity.ts +1664 -0
- package/generated/models/StoryAttachment.ts +1467 -0
- package/generated/models/StoryComment.ts +1992 -0
- package/generated/models/StoryDependency.ts +1517 -0
- package/generated/models/StoryDocLink.ts +1430 -0
- package/generated/models/StoryFilterView.ts +1587 -0
- package/generated/models/StoryLabel.ts +1349 -0
- package/generated/models/StoryLink.ts +1415 -0
- package/generated/models/StoryPrdLink.ts +1430 -0
- package/generated/models/StoryReaction.ts +1472 -0
- package/generated/models/Subscription.ts +2147 -0
- package/generated/models/SystemSetting.ts +1217 -0
- package/generated/models/Tag.ts +1655 -0
- package/generated/models/TeamInvitation.ts +1526 -0
- package/generated/models/TeamMembership.ts +1436 -0
- package/generated/models/Template.ts +1391 -0
- package/generated/models/TemplateBlock.ts +1664 -0
- package/generated/models/ThirdPartyDependency.ts +1473 -0
- package/generated/models/UsageRecord.ts +1505 -0
- package/generated/models/User.ts +20998 -0
- package/generated/models/UserAgent.ts +1900 -0
- package/generated/models/UserSkill.ts +1456 -0
- package/generated/models/WebsiteBookmark.ts +2219 -0
- package/generated/models/Workspace.ts +2279 -0
- package/generated/models.ts +106 -0
- package/generated-sqlite/browser.ts +399 -0
- package/generated-sqlite/client.ts +423 -0
- package/generated-sqlite/commonInputTypes.ts +608 -0
- package/generated-sqlite/enums.ts +15 -0
- package/generated-sqlite/internal/class.ts +954 -0
- package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
- package/generated-sqlite/models/AgentConversation.ts +1647 -0
- package/generated-sqlite/models/AgentMessage.ts +1406 -0
- package/generated-sqlite/models/AiProvider.ts +1605 -0
- package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
- package/generated-sqlite/models/AiUsageLog.ts +1845 -0
- package/generated-sqlite/models/AnyHubApp.ts +1908 -0
- package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
- package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
- package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
- package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
- package/generated-sqlite/models/Artboard.ts +1808 -0
- package/generated-sqlite/models/ArtboardExport.ts +1545 -0
- package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
- package/generated-sqlite/models/AuditLog.ts +1287 -0
- package/generated-sqlite/models/Block.ts +1648 -0
- package/generated-sqlite/models/BlockComponent.ts +1730 -0
- package/generated-sqlite/models/BlockInstance.ts +2039 -0
- package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
- package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
- package/generated-sqlite/models/ChatMessage.ts +1435 -0
- package/generated-sqlite/models/ChatRun.ts +1629 -0
- package/generated-sqlite/models/ChatThread.ts +2129 -0
- package/generated-sqlite/models/Comment.ts +2201 -0
- package/generated-sqlite/models/CommentIgnore.ts +1426 -0
- package/generated-sqlite/models/ComplianceExport.ts +1343 -0
- package/generated-sqlite/models/Component.ts +2326 -0
- package/generated-sqlite/models/ComponentInstance.ts +2097 -0
- package/generated-sqlite/models/ComponentTag.ts +1278 -0
- package/generated-sqlite/models/CustomRole.ts +1209 -0
- package/generated-sqlite/models/DesignProject.ts +1640 -0
- package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
- package/generated-sqlite/models/GenerationRun.ts +1540 -0
- package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
- package/generated-sqlite/models/InvitationCode.ts +1415 -0
- package/generated-sqlite/models/InvitationUse.ts +1420 -0
- package/generated-sqlite/models/Invoice.ts +1707 -0
- package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
- package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
- package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
- package/generated-sqlite/models/LegalRegulation.ts +1870 -0
- package/generated-sqlite/models/LicenseActivation.ts +1203 -0
- package/generated-sqlite/models/LicenseKey.ts +1443 -0
- package/generated-sqlite/models/LoginLog.ts +1447 -0
- package/generated-sqlite/models/PRD.ts +2616 -0
- package/generated-sqlite/models/PRDPage.ts +2398 -0
- package/generated-sqlite/models/PRDTag.ts +1426 -0
- package/generated-sqlite/models/PRDVersion.ts +2117 -0
- package/generated-sqlite/models/PageVersion.ts +1528 -0
- package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
- package/generated-sqlite/models/Plan.ts +2060 -0
- package/generated-sqlite/models/Project.ts +1994 -0
- package/generated-sqlite/models/ProjectActivity.ts +1578 -0
- package/generated-sqlite/models/ProjectMember.ts +1508 -0
- package/generated-sqlite/models/ProviderEvent.ts +1225 -0
- package/generated-sqlite/models/Reference.ts +1175 -0
- package/generated-sqlite/models/Review.ts +1903 -0
- package/generated-sqlite/models/ReviewComment.ts +1899 -0
- package/generated-sqlite/models/RoleAssignment.ts +1125 -0
- package/generated-sqlite/models/Share.ts +1674 -0
- package/generated-sqlite/models/ShareVersion.ts +1385 -0
- package/generated-sqlite/models/SsoMapping.ts +1181 -0
- package/generated-sqlite/models/SsoProvider.ts +1266 -0
- package/generated-sqlite/models/Subscription.ts +2137 -0
- package/generated-sqlite/models/SystemSetting.ts +1215 -0
- package/generated-sqlite/models/Tag.ts +1652 -0
- package/generated-sqlite/models/TeamInvitation.ts +1523 -0
- package/generated-sqlite/models/TeamMembership.ts +1433 -0
- package/generated-sqlite/models/Template.ts +1389 -0
- package/generated-sqlite/models/TemplateBlock.ts +1660 -0
- package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
- package/generated-sqlite/models/UsageRecord.ts +1498 -0
- package/generated-sqlite/models/User.ts +13558 -0
- package/generated-sqlite/models/UserAgent.ts +1897 -0
- package/generated-sqlite/models/UserSkill.ts +1453 -0
- package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
- package/generated-sqlite/models/Workspace.ts +1824 -0
- package/generated-sqlite/models.ts +87 -0
- package/package.json +7 -3
- package/LICENSE +0 -661
|
@@ -0,0 +1,1640 @@
|
|
|
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 `DesignProject` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model DesignProject
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type DesignProjectModel = runtime.Types.Result.DefaultSelection<Prisma.$DesignProjectPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateDesignProject = {
|
|
22
|
+
_count: DesignProjectCountAggregateOutputType | null
|
|
23
|
+
_avg: DesignProjectAvgAggregateOutputType | null
|
|
24
|
+
_sum: DesignProjectSumAggregateOutputType | null
|
|
25
|
+
_min: DesignProjectMinAggregateOutputType | null
|
|
26
|
+
_max: DesignProjectMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type DesignProjectAvgAggregateOutputType = {
|
|
30
|
+
version: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type DesignProjectSumAggregateOutputType = {
|
|
34
|
+
version: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type DesignProjectMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
name: string | null
|
|
40
|
+
documentId: string | null
|
|
41
|
+
sketchName: string | null
|
|
42
|
+
version: number | null
|
|
43
|
+
userId: string | null
|
|
44
|
+
createdAt: Date | null
|
|
45
|
+
updatedAt: Date | null
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export type DesignProjectMaxAggregateOutputType = {
|
|
49
|
+
id: string | null
|
|
50
|
+
name: string | null
|
|
51
|
+
documentId: string | null
|
|
52
|
+
sketchName: string | null
|
|
53
|
+
version: number | null
|
|
54
|
+
userId: string | null
|
|
55
|
+
createdAt: Date | null
|
|
56
|
+
updatedAt: Date | null
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type DesignProjectCountAggregateOutputType = {
|
|
60
|
+
id: number
|
|
61
|
+
name: number
|
|
62
|
+
documentId: number
|
|
63
|
+
sketchName: number
|
|
64
|
+
version: number
|
|
65
|
+
userId: number
|
|
66
|
+
createdAt: number
|
|
67
|
+
updatedAt: number
|
|
68
|
+
_all: number
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
export type DesignProjectAvgAggregateInputType = {
|
|
73
|
+
version?: true
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export type DesignProjectSumAggregateInputType = {
|
|
77
|
+
version?: true
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export type DesignProjectMinAggregateInputType = {
|
|
81
|
+
id?: true
|
|
82
|
+
name?: true
|
|
83
|
+
documentId?: true
|
|
84
|
+
sketchName?: true
|
|
85
|
+
version?: true
|
|
86
|
+
userId?: true
|
|
87
|
+
createdAt?: true
|
|
88
|
+
updatedAt?: true
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export type DesignProjectMaxAggregateInputType = {
|
|
92
|
+
id?: true
|
|
93
|
+
name?: true
|
|
94
|
+
documentId?: true
|
|
95
|
+
sketchName?: true
|
|
96
|
+
version?: true
|
|
97
|
+
userId?: true
|
|
98
|
+
createdAt?: true
|
|
99
|
+
updatedAt?: true
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export type DesignProjectCountAggregateInputType = {
|
|
103
|
+
id?: true
|
|
104
|
+
name?: true
|
|
105
|
+
documentId?: true
|
|
106
|
+
sketchName?: true
|
|
107
|
+
version?: true
|
|
108
|
+
userId?: true
|
|
109
|
+
createdAt?: true
|
|
110
|
+
updatedAt?: true
|
|
111
|
+
_all?: true
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export type DesignProjectAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
115
|
+
/**
|
|
116
|
+
* Filter which DesignProject to aggregate.
|
|
117
|
+
*/
|
|
118
|
+
where?: Prisma.DesignProjectWhereInput
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
121
|
+
*
|
|
122
|
+
* Determine the order of DesignProjects to fetch.
|
|
123
|
+
*/
|
|
124
|
+
orderBy?: Prisma.DesignProjectOrderByWithRelationInput | Prisma.DesignProjectOrderByWithRelationInput[]
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
127
|
+
*
|
|
128
|
+
* Sets the start position
|
|
129
|
+
*/
|
|
130
|
+
cursor?: Prisma.DesignProjectWhereUniqueInput
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
133
|
+
*
|
|
134
|
+
* Take `±n` DesignProjects from the position of the cursor.
|
|
135
|
+
*/
|
|
136
|
+
take?: number
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
139
|
+
*
|
|
140
|
+
* Skip the first `n` DesignProjects.
|
|
141
|
+
*/
|
|
142
|
+
skip?: number
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Count returned DesignProjects
|
|
147
|
+
**/
|
|
148
|
+
_count?: true | DesignProjectCountAggregateInputType
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
151
|
+
*
|
|
152
|
+
* Select which fields to average
|
|
153
|
+
**/
|
|
154
|
+
_avg?: DesignProjectAvgAggregateInputType
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
157
|
+
*
|
|
158
|
+
* Select which fields to sum
|
|
159
|
+
**/
|
|
160
|
+
_sum?: DesignProjectSumAggregateInputType
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
163
|
+
*
|
|
164
|
+
* Select which fields to find the minimum value
|
|
165
|
+
**/
|
|
166
|
+
_min?: DesignProjectMinAggregateInputType
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
+
*
|
|
170
|
+
* Select which fields to find the maximum value
|
|
171
|
+
**/
|
|
172
|
+
_max?: DesignProjectMaxAggregateInputType
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export type GetDesignProjectAggregateType<T extends DesignProjectAggregateArgs> = {
|
|
176
|
+
[P in keyof T & keyof AggregateDesignProject]: P extends '_count' | 'count'
|
|
177
|
+
? T[P] extends true
|
|
178
|
+
? number
|
|
179
|
+
: Prisma.GetScalarType<T[P], AggregateDesignProject[P]>
|
|
180
|
+
: Prisma.GetScalarType<T[P], AggregateDesignProject[P]>
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
export type DesignProjectGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
187
|
+
where?: Prisma.DesignProjectWhereInput
|
|
188
|
+
orderBy?: Prisma.DesignProjectOrderByWithAggregationInput | Prisma.DesignProjectOrderByWithAggregationInput[]
|
|
189
|
+
by: Prisma.DesignProjectScalarFieldEnum[] | Prisma.DesignProjectScalarFieldEnum
|
|
190
|
+
having?: Prisma.DesignProjectScalarWhereWithAggregatesInput
|
|
191
|
+
take?: number
|
|
192
|
+
skip?: number
|
|
193
|
+
_count?: DesignProjectCountAggregateInputType | true
|
|
194
|
+
_avg?: DesignProjectAvgAggregateInputType
|
|
195
|
+
_sum?: DesignProjectSumAggregateInputType
|
|
196
|
+
_min?: DesignProjectMinAggregateInputType
|
|
197
|
+
_max?: DesignProjectMaxAggregateInputType
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export type DesignProjectGroupByOutputType = {
|
|
201
|
+
id: string
|
|
202
|
+
name: string
|
|
203
|
+
documentId: string | null
|
|
204
|
+
sketchName: string | null
|
|
205
|
+
version: number
|
|
206
|
+
userId: string
|
|
207
|
+
createdAt: Date
|
|
208
|
+
updatedAt: Date
|
|
209
|
+
_count: DesignProjectCountAggregateOutputType | null
|
|
210
|
+
_avg: DesignProjectAvgAggregateOutputType | null
|
|
211
|
+
_sum: DesignProjectSumAggregateOutputType | null
|
|
212
|
+
_min: DesignProjectMinAggregateOutputType | null
|
|
213
|
+
_max: DesignProjectMaxAggregateOutputType | null
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export type GetDesignProjectGroupByPayload<T extends DesignProjectGroupByArgs> = Prisma.PrismaPromise<
|
|
217
|
+
Array<
|
|
218
|
+
Prisma.PickEnumerable<DesignProjectGroupByOutputType, T['by']> &
|
|
219
|
+
{
|
|
220
|
+
[P in ((keyof T) & (keyof DesignProjectGroupByOutputType))]: P extends '_count'
|
|
221
|
+
? T[P] extends boolean
|
|
222
|
+
? number
|
|
223
|
+
: Prisma.GetScalarType<T[P], DesignProjectGroupByOutputType[P]>
|
|
224
|
+
: Prisma.GetScalarType<T[P], DesignProjectGroupByOutputType[P]>
|
|
225
|
+
}
|
|
226
|
+
>
|
|
227
|
+
>
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
export type DesignProjectWhereInput = {
|
|
232
|
+
AND?: Prisma.DesignProjectWhereInput | Prisma.DesignProjectWhereInput[]
|
|
233
|
+
OR?: Prisma.DesignProjectWhereInput[]
|
|
234
|
+
NOT?: Prisma.DesignProjectWhereInput | Prisma.DesignProjectWhereInput[]
|
|
235
|
+
id?: Prisma.StringFilter<"DesignProject"> | string
|
|
236
|
+
name?: Prisma.StringFilter<"DesignProject"> | string
|
|
237
|
+
documentId?: Prisma.StringNullableFilter<"DesignProject"> | string | null
|
|
238
|
+
sketchName?: Prisma.StringNullableFilter<"DesignProject"> | string | null
|
|
239
|
+
version?: Prisma.IntFilter<"DesignProject"> | number
|
|
240
|
+
userId?: Prisma.StringFilter<"DesignProject"> | string
|
|
241
|
+
createdAt?: Prisma.DateTimeFilter<"DesignProject"> | Date | string
|
|
242
|
+
updatedAt?: Prisma.DateTimeFilter<"DesignProject"> | Date | string
|
|
243
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
244
|
+
artboards?: Prisma.ArtboardListRelationFilter
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export type DesignProjectOrderByWithRelationInput = {
|
|
248
|
+
id?: Prisma.SortOrder
|
|
249
|
+
name?: Prisma.SortOrder
|
|
250
|
+
documentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
251
|
+
sketchName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
252
|
+
version?: Prisma.SortOrder
|
|
253
|
+
userId?: Prisma.SortOrder
|
|
254
|
+
createdAt?: Prisma.SortOrder
|
|
255
|
+
updatedAt?: Prisma.SortOrder
|
|
256
|
+
user?: Prisma.UserOrderByWithRelationInput
|
|
257
|
+
artboards?: Prisma.ArtboardOrderByRelationAggregateInput
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export type DesignProjectWhereUniqueInput = Prisma.AtLeast<{
|
|
261
|
+
id?: string
|
|
262
|
+
AND?: Prisma.DesignProjectWhereInput | Prisma.DesignProjectWhereInput[]
|
|
263
|
+
OR?: Prisma.DesignProjectWhereInput[]
|
|
264
|
+
NOT?: Prisma.DesignProjectWhereInput | Prisma.DesignProjectWhereInput[]
|
|
265
|
+
name?: Prisma.StringFilter<"DesignProject"> | string
|
|
266
|
+
documentId?: Prisma.StringNullableFilter<"DesignProject"> | string | null
|
|
267
|
+
sketchName?: Prisma.StringNullableFilter<"DesignProject"> | string | null
|
|
268
|
+
version?: Prisma.IntFilter<"DesignProject"> | number
|
|
269
|
+
userId?: Prisma.StringFilter<"DesignProject"> | string
|
|
270
|
+
createdAt?: Prisma.DateTimeFilter<"DesignProject"> | Date | string
|
|
271
|
+
updatedAt?: Prisma.DateTimeFilter<"DesignProject"> | Date | string
|
|
272
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
273
|
+
artboards?: Prisma.ArtboardListRelationFilter
|
|
274
|
+
}, "id">
|
|
275
|
+
|
|
276
|
+
export type DesignProjectOrderByWithAggregationInput = {
|
|
277
|
+
id?: Prisma.SortOrder
|
|
278
|
+
name?: Prisma.SortOrder
|
|
279
|
+
documentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
280
|
+
sketchName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
281
|
+
version?: Prisma.SortOrder
|
|
282
|
+
userId?: Prisma.SortOrder
|
|
283
|
+
createdAt?: Prisma.SortOrder
|
|
284
|
+
updatedAt?: Prisma.SortOrder
|
|
285
|
+
_count?: Prisma.DesignProjectCountOrderByAggregateInput
|
|
286
|
+
_avg?: Prisma.DesignProjectAvgOrderByAggregateInput
|
|
287
|
+
_max?: Prisma.DesignProjectMaxOrderByAggregateInput
|
|
288
|
+
_min?: Prisma.DesignProjectMinOrderByAggregateInput
|
|
289
|
+
_sum?: Prisma.DesignProjectSumOrderByAggregateInput
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export type DesignProjectScalarWhereWithAggregatesInput = {
|
|
293
|
+
AND?: Prisma.DesignProjectScalarWhereWithAggregatesInput | Prisma.DesignProjectScalarWhereWithAggregatesInput[]
|
|
294
|
+
OR?: Prisma.DesignProjectScalarWhereWithAggregatesInput[]
|
|
295
|
+
NOT?: Prisma.DesignProjectScalarWhereWithAggregatesInput | Prisma.DesignProjectScalarWhereWithAggregatesInput[]
|
|
296
|
+
id?: Prisma.StringWithAggregatesFilter<"DesignProject"> | string
|
|
297
|
+
name?: Prisma.StringWithAggregatesFilter<"DesignProject"> | string
|
|
298
|
+
documentId?: Prisma.StringNullableWithAggregatesFilter<"DesignProject"> | string | null
|
|
299
|
+
sketchName?: Prisma.StringNullableWithAggregatesFilter<"DesignProject"> | string | null
|
|
300
|
+
version?: Prisma.IntWithAggregatesFilter<"DesignProject"> | number
|
|
301
|
+
userId?: Prisma.StringWithAggregatesFilter<"DesignProject"> | string
|
|
302
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DesignProject"> | Date | string
|
|
303
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DesignProject"> | Date | string
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export type DesignProjectCreateInput = {
|
|
307
|
+
id?: string
|
|
308
|
+
name: string
|
|
309
|
+
documentId?: string | null
|
|
310
|
+
sketchName?: string | null
|
|
311
|
+
version?: number
|
|
312
|
+
createdAt?: Date | string
|
|
313
|
+
updatedAt?: Date | string
|
|
314
|
+
user: Prisma.UserCreateNestedOneWithoutDesignProjectsInput
|
|
315
|
+
artboards?: Prisma.ArtboardCreateNestedManyWithoutProjectInput
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export type DesignProjectUncheckedCreateInput = {
|
|
319
|
+
id?: string
|
|
320
|
+
name: string
|
|
321
|
+
documentId?: string | null
|
|
322
|
+
sketchName?: string | null
|
|
323
|
+
version?: number
|
|
324
|
+
userId: string
|
|
325
|
+
createdAt?: Date | string
|
|
326
|
+
updatedAt?: Date | string
|
|
327
|
+
artboards?: Prisma.ArtboardUncheckedCreateNestedManyWithoutProjectInput
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export type DesignProjectUpdateInput = {
|
|
331
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
332
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
333
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
334
|
+
sketchName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
335
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
336
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
337
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
338
|
+
user?: Prisma.UserUpdateOneRequiredWithoutDesignProjectsNestedInput
|
|
339
|
+
artboards?: Prisma.ArtboardUpdateManyWithoutProjectNestedInput
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type DesignProjectUncheckedUpdateInput = {
|
|
343
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
344
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
345
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
346
|
+
sketchName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
347
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
348
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
349
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
350
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
351
|
+
artboards?: Prisma.ArtboardUncheckedUpdateManyWithoutProjectNestedInput
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type DesignProjectCreateManyInput = {
|
|
355
|
+
id?: string
|
|
356
|
+
name: string
|
|
357
|
+
documentId?: string | null
|
|
358
|
+
sketchName?: string | null
|
|
359
|
+
version?: number
|
|
360
|
+
userId: string
|
|
361
|
+
createdAt?: Date | string
|
|
362
|
+
updatedAt?: Date | string
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export type DesignProjectUpdateManyMutationInput = {
|
|
366
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
367
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
368
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
369
|
+
sketchName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
370
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
371
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
372
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export type DesignProjectUncheckedUpdateManyInput = {
|
|
376
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
377
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
378
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
379
|
+
sketchName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
380
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
381
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
382
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
383
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export type DesignProjectListRelationFilter = {
|
|
387
|
+
every?: Prisma.DesignProjectWhereInput
|
|
388
|
+
some?: Prisma.DesignProjectWhereInput
|
|
389
|
+
none?: Prisma.DesignProjectWhereInput
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export type DesignProjectOrderByRelationAggregateInput = {
|
|
393
|
+
_count?: Prisma.SortOrder
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export type DesignProjectCountOrderByAggregateInput = {
|
|
397
|
+
id?: Prisma.SortOrder
|
|
398
|
+
name?: Prisma.SortOrder
|
|
399
|
+
documentId?: Prisma.SortOrder
|
|
400
|
+
sketchName?: Prisma.SortOrder
|
|
401
|
+
version?: Prisma.SortOrder
|
|
402
|
+
userId?: Prisma.SortOrder
|
|
403
|
+
createdAt?: Prisma.SortOrder
|
|
404
|
+
updatedAt?: Prisma.SortOrder
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
export type DesignProjectAvgOrderByAggregateInput = {
|
|
408
|
+
version?: Prisma.SortOrder
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
export type DesignProjectMaxOrderByAggregateInput = {
|
|
412
|
+
id?: Prisma.SortOrder
|
|
413
|
+
name?: Prisma.SortOrder
|
|
414
|
+
documentId?: Prisma.SortOrder
|
|
415
|
+
sketchName?: Prisma.SortOrder
|
|
416
|
+
version?: Prisma.SortOrder
|
|
417
|
+
userId?: Prisma.SortOrder
|
|
418
|
+
createdAt?: Prisma.SortOrder
|
|
419
|
+
updatedAt?: Prisma.SortOrder
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export type DesignProjectMinOrderByAggregateInput = {
|
|
423
|
+
id?: Prisma.SortOrder
|
|
424
|
+
name?: Prisma.SortOrder
|
|
425
|
+
documentId?: Prisma.SortOrder
|
|
426
|
+
sketchName?: Prisma.SortOrder
|
|
427
|
+
version?: Prisma.SortOrder
|
|
428
|
+
userId?: Prisma.SortOrder
|
|
429
|
+
createdAt?: Prisma.SortOrder
|
|
430
|
+
updatedAt?: Prisma.SortOrder
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export type DesignProjectSumOrderByAggregateInput = {
|
|
434
|
+
version?: Prisma.SortOrder
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export type DesignProjectScalarRelationFilter = {
|
|
438
|
+
is?: Prisma.DesignProjectWhereInput
|
|
439
|
+
isNot?: Prisma.DesignProjectWhereInput
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export type DesignProjectCreateNestedManyWithoutUserInput = {
|
|
443
|
+
create?: Prisma.XOR<Prisma.DesignProjectCreateWithoutUserInput, Prisma.DesignProjectUncheckedCreateWithoutUserInput> | Prisma.DesignProjectCreateWithoutUserInput[] | Prisma.DesignProjectUncheckedCreateWithoutUserInput[]
|
|
444
|
+
connectOrCreate?: Prisma.DesignProjectCreateOrConnectWithoutUserInput | Prisma.DesignProjectCreateOrConnectWithoutUserInput[]
|
|
445
|
+
createMany?: Prisma.DesignProjectCreateManyUserInputEnvelope
|
|
446
|
+
connect?: Prisma.DesignProjectWhereUniqueInput | Prisma.DesignProjectWhereUniqueInput[]
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export type DesignProjectUncheckedCreateNestedManyWithoutUserInput = {
|
|
450
|
+
create?: Prisma.XOR<Prisma.DesignProjectCreateWithoutUserInput, Prisma.DesignProjectUncheckedCreateWithoutUserInput> | Prisma.DesignProjectCreateWithoutUserInput[] | Prisma.DesignProjectUncheckedCreateWithoutUserInput[]
|
|
451
|
+
connectOrCreate?: Prisma.DesignProjectCreateOrConnectWithoutUserInput | Prisma.DesignProjectCreateOrConnectWithoutUserInput[]
|
|
452
|
+
createMany?: Prisma.DesignProjectCreateManyUserInputEnvelope
|
|
453
|
+
connect?: Prisma.DesignProjectWhereUniqueInput | Prisma.DesignProjectWhereUniqueInput[]
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export type DesignProjectUpdateManyWithoutUserNestedInput = {
|
|
457
|
+
create?: Prisma.XOR<Prisma.DesignProjectCreateWithoutUserInput, Prisma.DesignProjectUncheckedCreateWithoutUserInput> | Prisma.DesignProjectCreateWithoutUserInput[] | Prisma.DesignProjectUncheckedCreateWithoutUserInput[]
|
|
458
|
+
connectOrCreate?: Prisma.DesignProjectCreateOrConnectWithoutUserInput | Prisma.DesignProjectCreateOrConnectWithoutUserInput[]
|
|
459
|
+
upsert?: Prisma.DesignProjectUpsertWithWhereUniqueWithoutUserInput | Prisma.DesignProjectUpsertWithWhereUniqueWithoutUserInput[]
|
|
460
|
+
createMany?: Prisma.DesignProjectCreateManyUserInputEnvelope
|
|
461
|
+
set?: Prisma.DesignProjectWhereUniqueInput | Prisma.DesignProjectWhereUniqueInput[]
|
|
462
|
+
disconnect?: Prisma.DesignProjectWhereUniqueInput | Prisma.DesignProjectWhereUniqueInput[]
|
|
463
|
+
delete?: Prisma.DesignProjectWhereUniqueInput | Prisma.DesignProjectWhereUniqueInput[]
|
|
464
|
+
connect?: Prisma.DesignProjectWhereUniqueInput | Prisma.DesignProjectWhereUniqueInput[]
|
|
465
|
+
update?: Prisma.DesignProjectUpdateWithWhereUniqueWithoutUserInput | Prisma.DesignProjectUpdateWithWhereUniqueWithoutUserInput[]
|
|
466
|
+
updateMany?: Prisma.DesignProjectUpdateManyWithWhereWithoutUserInput | Prisma.DesignProjectUpdateManyWithWhereWithoutUserInput[]
|
|
467
|
+
deleteMany?: Prisma.DesignProjectScalarWhereInput | Prisma.DesignProjectScalarWhereInput[]
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type DesignProjectUncheckedUpdateManyWithoutUserNestedInput = {
|
|
471
|
+
create?: Prisma.XOR<Prisma.DesignProjectCreateWithoutUserInput, Prisma.DesignProjectUncheckedCreateWithoutUserInput> | Prisma.DesignProjectCreateWithoutUserInput[] | Prisma.DesignProjectUncheckedCreateWithoutUserInput[]
|
|
472
|
+
connectOrCreate?: Prisma.DesignProjectCreateOrConnectWithoutUserInput | Prisma.DesignProjectCreateOrConnectWithoutUserInput[]
|
|
473
|
+
upsert?: Prisma.DesignProjectUpsertWithWhereUniqueWithoutUserInput | Prisma.DesignProjectUpsertWithWhereUniqueWithoutUserInput[]
|
|
474
|
+
createMany?: Prisma.DesignProjectCreateManyUserInputEnvelope
|
|
475
|
+
set?: Prisma.DesignProjectWhereUniqueInput | Prisma.DesignProjectWhereUniqueInput[]
|
|
476
|
+
disconnect?: Prisma.DesignProjectWhereUniqueInput | Prisma.DesignProjectWhereUniqueInput[]
|
|
477
|
+
delete?: Prisma.DesignProjectWhereUniqueInput | Prisma.DesignProjectWhereUniqueInput[]
|
|
478
|
+
connect?: Prisma.DesignProjectWhereUniqueInput | Prisma.DesignProjectWhereUniqueInput[]
|
|
479
|
+
update?: Prisma.DesignProjectUpdateWithWhereUniqueWithoutUserInput | Prisma.DesignProjectUpdateWithWhereUniqueWithoutUserInput[]
|
|
480
|
+
updateMany?: Prisma.DesignProjectUpdateManyWithWhereWithoutUserInput | Prisma.DesignProjectUpdateManyWithWhereWithoutUserInput[]
|
|
481
|
+
deleteMany?: Prisma.DesignProjectScalarWhereInput | Prisma.DesignProjectScalarWhereInput[]
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export type DesignProjectCreateNestedOneWithoutArtboardsInput = {
|
|
485
|
+
create?: Prisma.XOR<Prisma.DesignProjectCreateWithoutArtboardsInput, Prisma.DesignProjectUncheckedCreateWithoutArtboardsInput>
|
|
486
|
+
connectOrCreate?: Prisma.DesignProjectCreateOrConnectWithoutArtboardsInput
|
|
487
|
+
connect?: Prisma.DesignProjectWhereUniqueInput
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export type DesignProjectUpdateOneRequiredWithoutArtboardsNestedInput = {
|
|
491
|
+
create?: Prisma.XOR<Prisma.DesignProjectCreateWithoutArtboardsInput, Prisma.DesignProjectUncheckedCreateWithoutArtboardsInput>
|
|
492
|
+
connectOrCreate?: Prisma.DesignProjectCreateOrConnectWithoutArtboardsInput
|
|
493
|
+
upsert?: Prisma.DesignProjectUpsertWithoutArtboardsInput
|
|
494
|
+
connect?: Prisma.DesignProjectWhereUniqueInput
|
|
495
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DesignProjectUpdateToOneWithWhereWithoutArtboardsInput, Prisma.DesignProjectUpdateWithoutArtboardsInput>, Prisma.DesignProjectUncheckedUpdateWithoutArtboardsInput>
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export type DesignProjectCreateWithoutUserInput = {
|
|
499
|
+
id?: string
|
|
500
|
+
name: string
|
|
501
|
+
documentId?: string | null
|
|
502
|
+
sketchName?: string | null
|
|
503
|
+
version?: number
|
|
504
|
+
createdAt?: Date | string
|
|
505
|
+
updatedAt?: Date | string
|
|
506
|
+
artboards?: Prisma.ArtboardCreateNestedManyWithoutProjectInput
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export type DesignProjectUncheckedCreateWithoutUserInput = {
|
|
510
|
+
id?: string
|
|
511
|
+
name: string
|
|
512
|
+
documentId?: string | null
|
|
513
|
+
sketchName?: string | null
|
|
514
|
+
version?: number
|
|
515
|
+
createdAt?: Date | string
|
|
516
|
+
updatedAt?: Date | string
|
|
517
|
+
artboards?: Prisma.ArtboardUncheckedCreateNestedManyWithoutProjectInput
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
export type DesignProjectCreateOrConnectWithoutUserInput = {
|
|
521
|
+
where: Prisma.DesignProjectWhereUniqueInput
|
|
522
|
+
create: Prisma.XOR<Prisma.DesignProjectCreateWithoutUserInput, Prisma.DesignProjectUncheckedCreateWithoutUserInput>
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export type DesignProjectCreateManyUserInputEnvelope = {
|
|
526
|
+
data: Prisma.DesignProjectCreateManyUserInput | Prisma.DesignProjectCreateManyUserInput[]
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export type DesignProjectUpsertWithWhereUniqueWithoutUserInput = {
|
|
530
|
+
where: Prisma.DesignProjectWhereUniqueInput
|
|
531
|
+
update: Prisma.XOR<Prisma.DesignProjectUpdateWithoutUserInput, Prisma.DesignProjectUncheckedUpdateWithoutUserInput>
|
|
532
|
+
create: Prisma.XOR<Prisma.DesignProjectCreateWithoutUserInput, Prisma.DesignProjectUncheckedCreateWithoutUserInput>
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
export type DesignProjectUpdateWithWhereUniqueWithoutUserInput = {
|
|
536
|
+
where: Prisma.DesignProjectWhereUniqueInput
|
|
537
|
+
data: Prisma.XOR<Prisma.DesignProjectUpdateWithoutUserInput, Prisma.DesignProjectUncheckedUpdateWithoutUserInput>
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export type DesignProjectUpdateManyWithWhereWithoutUserInput = {
|
|
541
|
+
where: Prisma.DesignProjectScalarWhereInput
|
|
542
|
+
data: Prisma.XOR<Prisma.DesignProjectUpdateManyMutationInput, Prisma.DesignProjectUncheckedUpdateManyWithoutUserInput>
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export type DesignProjectScalarWhereInput = {
|
|
546
|
+
AND?: Prisma.DesignProjectScalarWhereInput | Prisma.DesignProjectScalarWhereInput[]
|
|
547
|
+
OR?: Prisma.DesignProjectScalarWhereInput[]
|
|
548
|
+
NOT?: Prisma.DesignProjectScalarWhereInput | Prisma.DesignProjectScalarWhereInput[]
|
|
549
|
+
id?: Prisma.StringFilter<"DesignProject"> | string
|
|
550
|
+
name?: Prisma.StringFilter<"DesignProject"> | string
|
|
551
|
+
documentId?: Prisma.StringNullableFilter<"DesignProject"> | string | null
|
|
552
|
+
sketchName?: Prisma.StringNullableFilter<"DesignProject"> | string | null
|
|
553
|
+
version?: Prisma.IntFilter<"DesignProject"> | number
|
|
554
|
+
userId?: Prisma.StringFilter<"DesignProject"> | string
|
|
555
|
+
createdAt?: Prisma.DateTimeFilter<"DesignProject"> | Date | string
|
|
556
|
+
updatedAt?: Prisma.DateTimeFilter<"DesignProject"> | Date | string
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export type DesignProjectCreateWithoutArtboardsInput = {
|
|
560
|
+
id?: string
|
|
561
|
+
name: string
|
|
562
|
+
documentId?: string | null
|
|
563
|
+
sketchName?: string | null
|
|
564
|
+
version?: number
|
|
565
|
+
createdAt?: Date | string
|
|
566
|
+
updatedAt?: Date | string
|
|
567
|
+
user: Prisma.UserCreateNestedOneWithoutDesignProjectsInput
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export type DesignProjectUncheckedCreateWithoutArtboardsInput = {
|
|
571
|
+
id?: string
|
|
572
|
+
name: string
|
|
573
|
+
documentId?: string | null
|
|
574
|
+
sketchName?: string | null
|
|
575
|
+
version?: number
|
|
576
|
+
userId: string
|
|
577
|
+
createdAt?: Date | string
|
|
578
|
+
updatedAt?: Date | string
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
export type DesignProjectCreateOrConnectWithoutArtboardsInput = {
|
|
582
|
+
where: Prisma.DesignProjectWhereUniqueInput
|
|
583
|
+
create: Prisma.XOR<Prisma.DesignProjectCreateWithoutArtboardsInput, Prisma.DesignProjectUncheckedCreateWithoutArtboardsInput>
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export type DesignProjectUpsertWithoutArtboardsInput = {
|
|
587
|
+
update: Prisma.XOR<Prisma.DesignProjectUpdateWithoutArtboardsInput, Prisma.DesignProjectUncheckedUpdateWithoutArtboardsInput>
|
|
588
|
+
create: Prisma.XOR<Prisma.DesignProjectCreateWithoutArtboardsInput, Prisma.DesignProjectUncheckedCreateWithoutArtboardsInput>
|
|
589
|
+
where?: Prisma.DesignProjectWhereInput
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export type DesignProjectUpdateToOneWithWhereWithoutArtboardsInput = {
|
|
593
|
+
where?: Prisma.DesignProjectWhereInput
|
|
594
|
+
data: Prisma.XOR<Prisma.DesignProjectUpdateWithoutArtboardsInput, Prisma.DesignProjectUncheckedUpdateWithoutArtboardsInput>
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export type DesignProjectUpdateWithoutArtboardsInput = {
|
|
598
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
599
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
600
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
601
|
+
sketchName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
602
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
603
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
604
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
605
|
+
user?: Prisma.UserUpdateOneRequiredWithoutDesignProjectsNestedInput
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export type DesignProjectUncheckedUpdateWithoutArtboardsInput = {
|
|
609
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
610
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
611
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
612
|
+
sketchName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
613
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
614
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
615
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
616
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export type DesignProjectCreateManyUserInput = {
|
|
620
|
+
id?: string
|
|
621
|
+
name: string
|
|
622
|
+
documentId?: string | null
|
|
623
|
+
sketchName?: string | null
|
|
624
|
+
version?: number
|
|
625
|
+
createdAt?: Date | string
|
|
626
|
+
updatedAt?: Date | string
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
export type DesignProjectUpdateWithoutUserInput = {
|
|
630
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
631
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
632
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
633
|
+
sketchName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
634
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
635
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
636
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
637
|
+
artboards?: Prisma.ArtboardUpdateManyWithoutProjectNestedInput
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export type DesignProjectUncheckedUpdateWithoutUserInput = {
|
|
641
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
642
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
643
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
644
|
+
sketchName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
645
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
646
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
647
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
648
|
+
artboards?: Prisma.ArtboardUncheckedUpdateManyWithoutProjectNestedInput
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export type DesignProjectUncheckedUpdateManyWithoutUserInput = {
|
|
652
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
653
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
654
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
655
|
+
sketchName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
656
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
657
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
658
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Count Type DesignProjectCountOutputType
|
|
664
|
+
*/
|
|
665
|
+
|
|
666
|
+
export type DesignProjectCountOutputType = {
|
|
667
|
+
artboards: number
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export type DesignProjectCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
671
|
+
artboards?: boolean | DesignProjectCountOutputTypeCountArtboardsArgs
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* DesignProjectCountOutputType without action
|
|
676
|
+
*/
|
|
677
|
+
export type DesignProjectCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
678
|
+
/**
|
|
679
|
+
* Select specific fields to fetch from the DesignProjectCountOutputType
|
|
680
|
+
*/
|
|
681
|
+
select?: Prisma.DesignProjectCountOutputTypeSelect<ExtArgs> | null
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* DesignProjectCountOutputType without action
|
|
686
|
+
*/
|
|
687
|
+
export type DesignProjectCountOutputTypeCountArtboardsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
688
|
+
where?: Prisma.ArtboardWhereInput
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
export type DesignProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
693
|
+
id?: boolean
|
|
694
|
+
name?: boolean
|
|
695
|
+
documentId?: boolean
|
|
696
|
+
sketchName?: boolean
|
|
697
|
+
version?: boolean
|
|
698
|
+
userId?: boolean
|
|
699
|
+
createdAt?: boolean
|
|
700
|
+
updatedAt?: boolean
|
|
701
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
702
|
+
artboards?: boolean | Prisma.DesignProject$artboardsArgs<ExtArgs>
|
|
703
|
+
_count?: boolean | Prisma.DesignProjectCountOutputTypeDefaultArgs<ExtArgs>
|
|
704
|
+
}, ExtArgs["result"]["designProject"]>
|
|
705
|
+
|
|
706
|
+
export type DesignProjectSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
707
|
+
id?: boolean
|
|
708
|
+
name?: boolean
|
|
709
|
+
documentId?: boolean
|
|
710
|
+
sketchName?: boolean
|
|
711
|
+
version?: boolean
|
|
712
|
+
userId?: boolean
|
|
713
|
+
createdAt?: boolean
|
|
714
|
+
updatedAt?: boolean
|
|
715
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
716
|
+
}, ExtArgs["result"]["designProject"]>
|
|
717
|
+
|
|
718
|
+
export type DesignProjectSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
719
|
+
id?: boolean
|
|
720
|
+
name?: boolean
|
|
721
|
+
documentId?: boolean
|
|
722
|
+
sketchName?: boolean
|
|
723
|
+
version?: boolean
|
|
724
|
+
userId?: boolean
|
|
725
|
+
createdAt?: boolean
|
|
726
|
+
updatedAt?: boolean
|
|
727
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
728
|
+
}, ExtArgs["result"]["designProject"]>
|
|
729
|
+
|
|
730
|
+
export type DesignProjectSelectScalar = {
|
|
731
|
+
id?: boolean
|
|
732
|
+
name?: boolean
|
|
733
|
+
documentId?: boolean
|
|
734
|
+
sketchName?: boolean
|
|
735
|
+
version?: boolean
|
|
736
|
+
userId?: boolean
|
|
737
|
+
createdAt?: boolean
|
|
738
|
+
updatedAt?: boolean
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
export type DesignProjectOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "documentId" | "sketchName" | "version" | "userId" | "createdAt" | "updatedAt", ExtArgs["result"]["designProject"]>
|
|
742
|
+
export type DesignProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
743
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
744
|
+
artboards?: boolean | Prisma.DesignProject$artboardsArgs<ExtArgs>
|
|
745
|
+
_count?: boolean | Prisma.DesignProjectCountOutputTypeDefaultArgs<ExtArgs>
|
|
746
|
+
}
|
|
747
|
+
export type DesignProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
748
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
749
|
+
}
|
|
750
|
+
export type DesignProjectIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
751
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
export type $DesignProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
755
|
+
name: "DesignProject"
|
|
756
|
+
objects: {
|
|
757
|
+
user: Prisma.$UserPayload<ExtArgs>
|
|
758
|
+
artboards: Prisma.$ArtboardPayload<ExtArgs>[]
|
|
759
|
+
}
|
|
760
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
761
|
+
id: string
|
|
762
|
+
name: string
|
|
763
|
+
documentId: string | null
|
|
764
|
+
sketchName: string | null
|
|
765
|
+
version: number
|
|
766
|
+
userId: string
|
|
767
|
+
createdAt: Date
|
|
768
|
+
updatedAt: Date
|
|
769
|
+
}, ExtArgs["result"]["designProject"]>
|
|
770
|
+
composites: {}
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
export type DesignProjectGetPayload<S extends boolean | null | undefined | DesignProjectDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DesignProjectPayload, S>
|
|
774
|
+
|
|
775
|
+
export type DesignProjectCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
776
|
+
Omit<DesignProjectFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
777
|
+
select?: DesignProjectCountAggregateInputType | true
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
export interface DesignProjectDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
781
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DesignProject'], meta: { name: 'DesignProject' } }
|
|
782
|
+
/**
|
|
783
|
+
* Find zero or one DesignProject that matches the filter.
|
|
784
|
+
* @param {DesignProjectFindUniqueArgs} args - Arguments to find a DesignProject
|
|
785
|
+
* @example
|
|
786
|
+
* // Get one DesignProject
|
|
787
|
+
* const designProject = await prisma.designProject.findUnique({
|
|
788
|
+
* where: {
|
|
789
|
+
* // ... provide filter here
|
|
790
|
+
* }
|
|
791
|
+
* })
|
|
792
|
+
*/
|
|
793
|
+
findUnique<T extends DesignProjectFindUniqueArgs>(args: Prisma.SelectSubset<T, DesignProjectFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DesignProjectClient<runtime.Types.Result.GetResult<Prisma.$DesignProjectPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Find one DesignProject that matches the filter or throw an error with `error.code='P2025'`
|
|
797
|
+
* if no matches were found.
|
|
798
|
+
* @param {DesignProjectFindUniqueOrThrowArgs} args - Arguments to find a DesignProject
|
|
799
|
+
* @example
|
|
800
|
+
* // Get one DesignProject
|
|
801
|
+
* const designProject = await prisma.designProject.findUniqueOrThrow({
|
|
802
|
+
* where: {
|
|
803
|
+
* // ... provide filter here
|
|
804
|
+
* }
|
|
805
|
+
* })
|
|
806
|
+
*/
|
|
807
|
+
findUniqueOrThrow<T extends DesignProjectFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DesignProjectFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DesignProjectClient<runtime.Types.Result.GetResult<Prisma.$DesignProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Find the first DesignProject that matches the filter.
|
|
811
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
812
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
813
|
+
* @param {DesignProjectFindFirstArgs} args - Arguments to find a DesignProject
|
|
814
|
+
* @example
|
|
815
|
+
* // Get one DesignProject
|
|
816
|
+
* const designProject = await prisma.designProject.findFirst({
|
|
817
|
+
* where: {
|
|
818
|
+
* // ... provide filter here
|
|
819
|
+
* }
|
|
820
|
+
* })
|
|
821
|
+
*/
|
|
822
|
+
findFirst<T extends DesignProjectFindFirstArgs>(args?: Prisma.SelectSubset<T, DesignProjectFindFirstArgs<ExtArgs>>): Prisma.Prisma__DesignProjectClient<runtime.Types.Result.GetResult<Prisma.$DesignProjectPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Find the first DesignProject that matches the filter or
|
|
826
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
827
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
828
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
829
|
+
* @param {DesignProjectFindFirstOrThrowArgs} args - Arguments to find a DesignProject
|
|
830
|
+
* @example
|
|
831
|
+
* // Get one DesignProject
|
|
832
|
+
* const designProject = await prisma.designProject.findFirstOrThrow({
|
|
833
|
+
* where: {
|
|
834
|
+
* // ... provide filter here
|
|
835
|
+
* }
|
|
836
|
+
* })
|
|
837
|
+
*/
|
|
838
|
+
findFirstOrThrow<T extends DesignProjectFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DesignProjectFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DesignProjectClient<runtime.Types.Result.GetResult<Prisma.$DesignProjectPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* Find zero or more DesignProjects that matches the filter.
|
|
842
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
843
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
844
|
+
* @param {DesignProjectFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
845
|
+
* @example
|
|
846
|
+
* // Get all DesignProjects
|
|
847
|
+
* const designProjects = await prisma.designProject.findMany()
|
|
848
|
+
*
|
|
849
|
+
* // Get first 10 DesignProjects
|
|
850
|
+
* const designProjects = await prisma.designProject.findMany({ take: 10 })
|
|
851
|
+
*
|
|
852
|
+
* // Only select the `id`
|
|
853
|
+
* const designProjectWithIdOnly = await prisma.designProject.findMany({ select: { id: true } })
|
|
854
|
+
*
|
|
855
|
+
*/
|
|
856
|
+
findMany<T extends DesignProjectFindManyArgs>(args?: Prisma.SelectSubset<T, DesignProjectFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Create a DesignProject.
|
|
860
|
+
* @param {DesignProjectCreateArgs} args - Arguments to create a DesignProject.
|
|
861
|
+
* @example
|
|
862
|
+
* // Create one DesignProject
|
|
863
|
+
* const DesignProject = await prisma.designProject.create({
|
|
864
|
+
* data: {
|
|
865
|
+
* // ... data to create a DesignProject
|
|
866
|
+
* }
|
|
867
|
+
* })
|
|
868
|
+
*
|
|
869
|
+
*/
|
|
870
|
+
create<T extends DesignProjectCreateArgs>(args: Prisma.SelectSubset<T, DesignProjectCreateArgs<ExtArgs>>): Prisma.Prisma__DesignProjectClient<runtime.Types.Result.GetResult<Prisma.$DesignProjectPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* Create many DesignProjects.
|
|
874
|
+
* @param {DesignProjectCreateManyArgs} args - Arguments to create many DesignProjects.
|
|
875
|
+
* @example
|
|
876
|
+
* // Create many DesignProjects
|
|
877
|
+
* const designProject = await prisma.designProject.createMany({
|
|
878
|
+
* data: [
|
|
879
|
+
* // ... provide data here
|
|
880
|
+
* ]
|
|
881
|
+
* })
|
|
882
|
+
*
|
|
883
|
+
*/
|
|
884
|
+
createMany<T extends DesignProjectCreateManyArgs>(args?: Prisma.SelectSubset<T, DesignProjectCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Create many DesignProjects and returns the data saved in the database.
|
|
888
|
+
* @param {DesignProjectCreateManyAndReturnArgs} args - Arguments to create many DesignProjects.
|
|
889
|
+
* @example
|
|
890
|
+
* // Create many DesignProjects
|
|
891
|
+
* const designProject = await prisma.designProject.createManyAndReturn({
|
|
892
|
+
* data: [
|
|
893
|
+
* // ... provide data here
|
|
894
|
+
* ]
|
|
895
|
+
* })
|
|
896
|
+
*
|
|
897
|
+
* // Create many DesignProjects and only return the `id`
|
|
898
|
+
* const designProjectWithIdOnly = await prisma.designProject.createManyAndReturn({
|
|
899
|
+
* select: { id: true },
|
|
900
|
+
* data: [
|
|
901
|
+
* // ... provide data here
|
|
902
|
+
* ]
|
|
903
|
+
* })
|
|
904
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
905
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
906
|
+
*
|
|
907
|
+
*/
|
|
908
|
+
createManyAndReturn<T extends DesignProjectCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DesignProjectCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignProjectPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* Delete a DesignProject.
|
|
912
|
+
* @param {DesignProjectDeleteArgs} args - Arguments to delete one DesignProject.
|
|
913
|
+
* @example
|
|
914
|
+
* // Delete one DesignProject
|
|
915
|
+
* const DesignProject = await prisma.designProject.delete({
|
|
916
|
+
* where: {
|
|
917
|
+
* // ... filter to delete one DesignProject
|
|
918
|
+
* }
|
|
919
|
+
* })
|
|
920
|
+
*
|
|
921
|
+
*/
|
|
922
|
+
delete<T extends DesignProjectDeleteArgs>(args: Prisma.SelectSubset<T, DesignProjectDeleteArgs<ExtArgs>>): Prisma.Prisma__DesignProjectClient<runtime.Types.Result.GetResult<Prisma.$DesignProjectPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* Update one DesignProject.
|
|
926
|
+
* @param {DesignProjectUpdateArgs} args - Arguments to update one DesignProject.
|
|
927
|
+
* @example
|
|
928
|
+
* // Update one DesignProject
|
|
929
|
+
* const designProject = await prisma.designProject.update({
|
|
930
|
+
* where: {
|
|
931
|
+
* // ... provide filter here
|
|
932
|
+
* },
|
|
933
|
+
* data: {
|
|
934
|
+
* // ... provide data here
|
|
935
|
+
* }
|
|
936
|
+
* })
|
|
937
|
+
*
|
|
938
|
+
*/
|
|
939
|
+
update<T extends DesignProjectUpdateArgs>(args: Prisma.SelectSubset<T, DesignProjectUpdateArgs<ExtArgs>>): Prisma.Prisma__DesignProjectClient<runtime.Types.Result.GetResult<Prisma.$DesignProjectPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* Delete zero or more DesignProjects.
|
|
943
|
+
* @param {DesignProjectDeleteManyArgs} args - Arguments to filter DesignProjects to delete.
|
|
944
|
+
* @example
|
|
945
|
+
* // Delete a few DesignProjects
|
|
946
|
+
* const { count } = await prisma.designProject.deleteMany({
|
|
947
|
+
* where: {
|
|
948
|
+
* // ... provide filter here
|
|
949
|
+
* }
|
|
950
|
+
* })
|
|
951
|
+
*
|
|
952
|
+
*/
|
|
953
|
+
deleteMany<T extends DesignProjectDeleteManyArgs>(args?: Prisma.SelectSubset<T, DesignProjectDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* Update zero or more DesignProjects.
|
|
957
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
958
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
959
|
+
* @param {DesignProjectUpdateManyArgs} args - Arguments to update one or more rows.
|
|
960
|
+
* @example
|
|
961
|
+
* // Update many DesignProjects
|
|
962
|
+
* const designProject = await prisma.designProject.updateMany({
|
|
963
|
+
* where: {
|
|
964
|
+
* // ... provide filter here
|
|
965
|
+
* },
|
|
966
|
+
* data: {
|
|
967
|
+
* // ... provide data here
|
|
968
|
+
* }
|
|
969
|
+
* })
|
|
970
|
+
*
|
|
971
|
+
*/
|
|
972
|
+
updateMany<T extends DesignProjectUpdateManyArgs>(args: Prisma.SelectSubset<T, DesignProjectUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* Update zero or more DesignProjects and returns the data updated in the database.
|
|
976
|
+
* @param {DesignProjectUpdateManyAndReturnArgs} args - Arguments to update many DesignProjects.
|
|
977
|
+
* @example
|
|
978
|
+
* // Update many DesignProjects
|
|
979
|
+
* const designProject = await prisma.designProject.updateManyAndReturn({
|
|
980
|
+
* where: {
|
|
981
|
+
* // ... provide filter here
|
|
982
|
+
* },
|
|
983
|
+
* data: [
|
|
984
|
+
* // ... provide data here
|
|
985
|
+
* ]
|
|
986
|
+
* })
|
|
987
|
+
*
|
|
988
|
+
* // Update zero or more DesignProjects and only return the `id`
|
|
989
|
+
* const designProjectWithIdOnly = await prisma.designProject.updateManyAndReturn({
|
|
990
|
+
* select: { id: true },
|
|
991
|
+
* where: {
|
|
992
|
+
* // ... provide filter here
|
|
993
|
+
* },
|
|
994
|
+
* data: [
|
|
995
|
+
* // ... provide data here
|
|
996
|
+
* ]
|
|
997
|
+
* })
|
|
998
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
999
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1000
|
+
*
|
|
1001
|
+
*/
|
|
1002
|
+
updateManyAndReturn<T extends DesignProjectUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DesignProjectUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignProjectPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Create or update one DesignProject.
|
|
1006
|
+
* @param {DesignProjectUpsertArgs} args - Arguments to update or create a DesignProject.
|
|
1007
|
+
* @example
|
|
1008
|
+
* // Update or create a DesignProject
|
|
1009
|
+
* const designProject = await prisma.designProject.upsert({
|
|
1010
|
+
* create: {
|
|
1011
|
+
* // ... data to create a DesignProject
|
|
1012
|
+
* },
|
|
1013
|
+
* update: {
|
|
1014
|
+
* // ... in case it already exists, update
|
|
1015
|
+
* },
|
|
1016
|
+
* where: {
|
|
1017
|
+
* // ... the filter for the DesignProject we want to update
|
|
1018
|
+
* }
|
|
1019
|
+
* })
|
|
1020
|
+
*/
|
|
1021
|
+
upsert<T extends DesignProjectUpsertArgs>(args: Prisma.SelectSubset<T, DesignProjectUpsertArgs<ExtArgs>>): Prisma.Prisma__DesignProjectClient<runtime.Types.Result.GetResult<Prisma.$DesignProjectPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* Count the number of DesignProjects.
|
|
1026
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1027
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1028
|
+
* @param {DesignProjectCountArgs} args - Arguments to filter DesignProjects to count.
|
|
1029
|
+
* @example
|
|
1030
|
+
* // Count the number of DesignProjects
|
|
1031
|
+
* const count = await prisma.designProject.count({
|
|
1032
|
+
* where: {
|
|
1033
|
+
* // ... the filter for the DesignProjects we want to count
|
|
1034
|
+
* }
|
|
1035
|
+
* })
|
|
1036
|
+
**/
|
|
1037
|
+
count<T extends DesignProjectCountArgs>(
|
|
1038
|
+
args?: Prisma.Subset<T, DesignProjectCountArgs>,
|
|
1039
|
+
): Prisma.PrismaPromise<
|
|
1040
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1041
|
+
? T['select'] extends true
|
|
1042
|
+
? number
|
|
1043
|
+
: Prisma.GetScalarType<T['select'], DesignProjectCountAggregateOutputType>
|
|
1044
|
+
: number
|
|
1045
|
+
>
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* Allows you to perform aggregations operations on a DesignProject.
|
|
1049
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1050
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1051
|
+
* @param {DesignProjectAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1052
|
+
* @example
|
|
1053
|
+
* // Ordered by age ascending
|
|
1054
|
+
* // Where email contains prisma.io
|
|
1055
|
+
* // Limited to the 10 users
|
|
1056
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1057
|
+
* _avg: {
|
|
1058
|
+
* age: true,
|
|
1059
|
+
* },
|
|
1060
|
+
* where: {
|
|
1061
|
+
* email: {
|
|
1062
|
+
* contains: "prisma.io",
|
|
1063
|
+
* },
|
|
1064
|
+
* },
|
|
1065
|
+
* orderBy: {
|
|
1066
|
+
* age: "asc",
|
|
1067
|
+
* },
|
|
1068
|
+
* take: 10,
|
|
1069
|
+
* })
|
|
1070
|
+
**/
|
|
1071
|
+
aggregate<T extends DesignProjectAggregateArgs>(args: Prisma.Subset<T, DesignProjectAggregateArgs>): Prisma.PrismaPromise<GetDesignProjectAggregateType<T>>
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* Group by DesignProject.
|
|
1075
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1076
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1077
|
+
* @param {DesignProjectGroupByArgs} args - Group by arguments.
|
|
1078
|
+
* @example
|
|
1079
|
+
* // Group by city, order by createdAt, get count
|
|
1080
|
+
* const result = await prisma.user.groupBy({
|
|
1081
|
+
* by: ['city', 'createdAt'],
|
|
1082
|
+
* orderBy: {
|
|
1083
|
+
* createdAt: true
|
|
1084
|
+
* },
|
|
1085
|
+
* _count: {
|
|
1086
|
+
* _all: true
|
|
1087
|
+
* },
|
|
1088
|
+
* })
|
|
1089
|
+
*
|
|
1090
|
+
**/
|
|
1091
|
+
groupBy<
|
|
1092
|
+
T extends DesignProjectGroupByArgs,
|
|
1093
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1094
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1095
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1096
|
+
>,
|
|
1097
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1098
|
+
? { orderBy: DesignProjectGroupByArgs['orderBy'] }
|
|
1099
|
+
: { orderBy?: DesignProjectGroupByArgs['orderBy'] },
|
|
1100
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1101
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1102
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1103
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1104
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1105
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1106
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1107
|
+
? `Error: "by" must not be empty.`
|
|
1108
|
+
: HavingValid extends Prisma.False
|
|
1109
|
+
? {
|
|
1110
|
+
[P in HavingFields]: P extends ByFields
|
|
1111
|
+
? never
|
|
1112
|
+
: P extends string
|
|
1113
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1114
|
+
: [
|
|
1115
|
+
Error,
|
|
1116
|
+
'Field ',
|
|
1117
|
+
P,
|
|
1118
|
+
` in "having" needs to be provided in "by"`,
|
|
1119
|
+
]
|
|
1120
|
+
}[HavingFields]
|
|
1121
|
+
: 'take' extends Prisma.Keys<T>
|
|
1122
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1123
|
+
? ByValid extends Prisma.True
|
|
1124
|
+
? {}
|
|
1125
|
+
: {
|
|
1126
|
+
[P in OrderFields]: P extends ByFields
|
|
1127
|
+
? never
|
|
1128
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1129
|
+
}[OrderFields]
|
|
1130
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1131
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1132
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1133
|
+
? ByValid extends Prisma.True
|
|
1134
|
+
? {}
|
|
1135
|
+
: {
|
|
1136
|
+
[P in OrderFields]: P extends ByFields
|
|
1137
|
+
? never
|
|
1138
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1139
|
+
}[OrderFields]
|
|
1140
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1141
|
+
: ByValid extends Prisma.True
|
|
1142
|
+
? {}
|
|
1143
|
+
: {
|
|
1144
|
+
[P in OrderFields]: P extends ByFields
|
|
1145
|
+
? never
|
|
1146
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1147
|
+
}[OrderFields]
|
|
1148
|
+
>(args: Prisma.SubsetIntersection<T, DesignProjectGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDesignProjectGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1149
|
+
/**
|
|
1150
|
+
* Fields of the DesignProject model
|
|
1151
|
+
*/
|
|
1152
|
+
readonly fields: DesignProjectFieldRefs;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* The delegate class that acts as a "Promise-like" for DesignProject.
|
|
1157
|
+
* Why is this prefixed with `Prisma__`?
|
|
1158
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1159
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1160
|
+
*/
|
|
1161
|
+
export interface Prisma__DesignProjectClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1162
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1163
|
+
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1164
|
+
artboards<T extends Prisma.DesignProject$artboardsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DesignProject$artboardsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArtboardPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1165
|
+
/**
|
|
1166
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1167
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1168
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1169
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1170
|
+
*/
|
|
1171
|
+
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>
|
|
1172
|
+
/**
|
|
1173
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1174
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1175
|
+
* @returns A Promise for the completion of the callback.
|
|
1176
|
+
*/
|
|
1177
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1178
|
+
/**
|
|
1179
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1180
|
+
* resolved value cannot be modified from the callback.
|
|
1181
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1182
|
+
* @returns A Promise for the completion of the callback.
|
|
1183
|
+
*/
|
|
1184
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* Fields of the DesignProject model
|
|
1192
|
+
*/
|
|
1193
|
+
export interface DesignProjectFieldRefs {
|
|
1194
|
+
readonly id: Prisma.FieldRef<"DesignProject", 'String'>
|
|
1195
|
+
readonly name: Prisma.FieldRef<"DesignProject", 'String'>
|
|
1196
|
+
readonly documentId: Prisma.FieldRef<"DesignProject", 'String'>
|
|
1197
|
+
readonly sketchName: Prisma.FieldRef<"DesignProject", 'String'>
|
|
1198
|
+
readonly version: Prisma.FieldRef<"DesignProject", 'Int'>
|
|
1199
|
+
readonly userId: Prisma.FieldRef<"DesignProject", 'String'>
|
|
1200
|
+
readonly createdAt: Prisma.FieldRef<"DesignProject", 'DateTime'>
|
|
1201
|
+
readonly updatedAt: Prisma.FieldRef<"DesignProject", 'DateTime'>
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
// Custom InputTypes
|
|
1206
|
+
/**
|
|
1207
|
+
* DesignProject findUnique
|
|
1208
|
+
*/
|
|
1209
|
+
export type DesignProjectFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1210
|
+
/**
|
|
1211
|
+
* Select specific fields to fetch from the DesignProject
|
|
1212
|
+
*/
|
|
1213
|
+
select?: Prisma.DesignProjectSelect<ExtArgs> | null
|
|
1214
|
+
/**
|
|
1215
|
+
* Omit specific fields from the DesignProject
|
|
1216
|
+
*/
|
|
1217
|
+
omit?: Prisma.DesignProjectOmit<ExtArgs> | null
|
|
1218
|
+
/**
|
|
1219
|
+
* Choose, which related nodes to fetch as well
|
|
1220
|
+
*/
|
|
1221
|
+
include?: Prisma.DesignProjectInclude<ExtArgs> | null
|
|
1222
|
+
/**
|
|
1223
|
+
* Filter, which DesignProject to fetch.
|
|
1224
|
+
*/
|
|
1225
|
+
where: Prisma.DesignProjectWhereUniqueInput
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* DesignProject findUniqueOrThrow
|
|
1230
|
+
*/
|
|
1231
|
+
export type DesignProjectFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1232
|
+
/**
|
|
1233
|
+
* Select specific fields to fetch from the DesignProject
|
|
1234
|
+
*/
|
|
1235
|
+
select?: Prisma.DesignProjectSelect<ExtArgs> | null
|
|
1236
|
+
/**
|
|
1237
|
+
* Omit specific fields from the DesignProject
|
|
1238
|
+
*/
|
|
1239
|
+
omit?: Prisma.DesignProjectOmit<ExtArgs> | null
|
|
1240
|
+
/**
|
|
1241
|
+
* Choose, which related nodes to fetch as well
|
|
1242
|
+
*/
|
|
1243
|
+
include?: Prisma.DesignProjectInclude<ExtArgs> | null
|
|
1244
|
+
/**
|
|
1245
|
+
* Filter, which DesignProject to fetch.
|
|
1246
|
+
*/
|
|
1247
|
+
where: Prisma.DesignProjectWhereUniqueInput
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* DesignProject findFirst
|
|
1252
|
+
*/
|
|
1253
|
+
export type DesignProjectFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1254
|
+
/**
|
|
1255
|
+
* Select specific fields to fetch from the DesignProject
|
|
1256
|
+
*/
|
|
1257
|
+
select?: Prisma.DesignProjectSelect<ExtArgs> | null
|
|
1258
|
+
/**
|
|
1259
|
+
* Omit specific fields from the DesignProject
|
|
1260
|
+
*/
|
|
1261
|
+
omit?: Prisma.DesignProjectOmit<ExtArgs> | null
|
|
1262
|
+
/**
|
|
1263
|
+
* Choose, which related nodes to fetch as well
|
|
1264
|
+
*/
|
|
1265
|
+
include?: Prisma.DesignProjectInclude<ExtArgs> | null
|
|
1266
|
+
/**
|
|
1267
|
+
* Filter, which DesignProject to fetch.
|
|
1268
|
+
*/
|
|
1269
|
+
where?: Prisma.DesignProjectWhereInput
|
|
1270
|
+
/**
|
|
1271
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1272
|
+
*
|
|
1273
|
+
* Determine the order of DesignProjects to fetch.
|
|
1274
|
+
*/
|
|
1275
|
+
orderBy?: Prisma.DesignProjectOrderByWithRelationInput | Prisma.DesignProjectOrderByWithRelationInput[]
|
|
1276
|
+
/**
|
|
1277
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1278
|
+
*
|
|
1279
|
+
* Sets the position for searching for DesignProjects.
|
|
1280
|
+
*/
|
|
1281
|
+
cursor?: Prisma.DesignProjectWhereUniqueInput
|
|
1282
|
+
/**
|
|
1283
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1284
|
+
*
|
|
1285
|
+
* Take `±n` DesignProjects from the position of the cursor.
|
|
1286
|
+
*/
|
|
1287
|
+
take?: number
|
|
1288
|
+
/**
|
|
1289
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1290
|
+
*
|
|
1291
|
+
* Skip the first `n` DesignProjects.
|
|
1292
|
+
*/
|
|
1293
|
+
skip?: number
|
|
1294
|
+
/**
|
|
1295
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1296
|
+
*
|
|
1297
|
+
* Filter by unique combinations of DesignProjects.
|
|
1298
|
+
*/
|
|
1299
|
+
distinct?: Prisma.DesignProjectScalarFieldEnum | Prisma.DesignProjectScalarFieldEnum[]
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
/**
|
|
1303
|
+
* DesignProject findFirstOrThrow
|
|
1304
|
+
*/
|
|
1305
|
+
export type DesignProjectFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1306
|
+
/**
|
|
1307
|
+
* Select specific fields to fetch from the DesignProject
|
|
1308
|
+
*/
|
|
1309
|
+
select?: Prisma.DesignProjectSelect<ExtArgs> | null
|
|
1310
|
+
/**
|
|
1311
|
+
* Omit specific fields from the DesignProject
|
|
1312
|
+
*/
|
|
1313
|
+
omit?: Prisma.DesignProjectOmit<ExtArgs> | null
|
|
1314
|
+
/**
|
|
1315
|
+
* Choose, which related nodes to fetch as well
|
|
1316
|
+
*/
|
|
1317
|
+
include?: Prisma.DesignProjectInclude<ExtArgs> | null
|
|
1318
|
+
/**
|
|
1319
|
+
* Filter, which DesignProject to fetch.
|
|
1320
|
+
*/
|
|
1321
|
+
where?: Prisma.DesignProjectWhereInput
|
|
1322
|
+
/**
|
|
1323
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1324
|
+
*
|
|
1325
|
+
* Determine the order of DesignProjects to fetch.
|
|
1326
|
+
*/
|
|
1327
|
+
orderBy?: Prisma.DesignProjectOrderByWithRelationInput | Prisma.DesignProjectOrderByWithRelationInput[]
|
|
1328
|
+
/**
|
|
1329
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1330
|
+
*
|
|
1331
|
+
* Sets the position for searching for DesignProjects.
|
|
1332
|
+
*/
|
|
1333
|
+
cursor?: Prisma.DesignProjectWhereUniqueInput
|
|
1334
|
+
/**
|
|
1335
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1336
|
+
*
|
|
1337
|
+
* Take `±n` DesignProjects from the position of the cursor.
|
|
1338
|
+
*/
|
|
1339
|
+
take?: number
|
|
1340
|
+
/**
|
|
1341
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1342
|
+
*
|
|
1343
|
+
* Skip the first `n` DesignProjects.
|
|
1344
|
+
*/
|
|
1345
|
+
skip?: number
|
|
1346
|
+
/**
|
|
1347
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1348
|
+
*
|
|
1349
|
+
* Filter by unique combinations of DesignProjects.
|
|
1350
|
+
*/
|
|
1351
|
+
distinct?: Prisma.DesignProjectScalarFieldEnum | Prisma.DesignProjectScalarFieldEnum[]
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* DesignProject findMany
|
|
1356
|
+
*/
|
|
1357
|
+
export type DesignProjectFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1358
|
+
/**
|
|
1359
|
+
* Select specific fields to fetch from the DesignProject
|
|
1360
|
+
*/
|
|
1361
|
+
select?: Prisma.DesignProjectSelect<ExtArgs> | null
|
|
1362
|
+
/**
|
|
1363
|
+
* Omit specific fields from the DesignProject
|
|
1364
|
+
*/
|
|
1365
|
+
omit?: Prisma.DesignProjectOmit<ExtArgs> | null
|
|
1366
|
+
/**
|
|
1367
|
+
* Choose, which related nodes to fetch as well
|
|
1368
|
+
*/
|
|
1369
|
+
include?: Prisma.DesignProjectInclude<ExtArgs> | null
|
|
1370
|
+
/**
|
|
1371
|
+
* Filter, which DesignProjects to fetch.
|
|
1372
|
+
*/
|
|
1373
|
+
where?: Prisma.DesignProjectWhereInput
|
|
1374
|
+
/**
|
|
1375
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1376
|
+
*
|
|
1377
|
+
* Determine the order of DesignProjects to fetch.
|
|
1378
|
+
*/
|
|
1379
|
+
orderBy?: Prisma.DesignProjectOrderByWithRelationInput | Prisma.DesignProjectOrderByWithRelationInput[]
|
|
1380
|
+
/**
|
|
1381
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1382
|
+
*
|
|
1383
|
+
* Sets the position for listing DesignProjects.
|
|
1384
|
+
*/
|
|
1385
|
+
cursor?: Prisma.DesignProjectWhereUniqueInput
|
|
1386
|
+
/**
|
|
1387
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1388
|
+
*
|
|
1389
|
+
* Take `±n` DesignProjects from the position of the cursor.
|
|
1390
|
+
*/
|
|
1391
|
+
take?: number
|
|
1392
|
+
/**
|
|
1393
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1394
|
+
*
|
|
1395
|
+
* Skip the first `n` DesignProjects.
|
|
1396
|
+
*/
|
|
1397
|
+
skip?: number
|
|
1398
|
+
/**
|
|
1399
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1400
|
+
*
|
|
1401
|
+
* Filter by unique combinations of DesignProjects.
|
|
1402
|
+
*/
|
|
1403
|
+
distinct?: Prisma.DesignProjectScalarFieldEnum | Prisma.DesignProjectScalarFieldEnum[]
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* DesignProject create
|
|
1408
|
+
*/
|
|
1409
|
+
export type DesignProjectCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1410
|
+
/**
|
|
1411
|
+
* Select specific fields to fetch from the DesignProject
|
|
1412
|
+
*/
|
|
1413
|
+
select?: Prisma.DesignProjectSelect<ExtArgs> | null
|
|
1414
|
+
/**
|
|
1415
|
+
* Omit specific fields from the DesignProject
|
|
1416
|
+
*/
|
|
1417
|
+
omit?: Prisma.DesignProjectOmit<ExtArgs> | null
|
|
1418
|
+
/**
|
|
1419
|
+
* Choose, which related nodes to fetch as well
|
|
1420
|
+
*/
|
|
1421
|
+
include?: Prisma.DesignProjectInclude<ExtArgs> | null
|
|
1422
|
+
/**
|
|
1423
|
+
* The data needed to create a DesignProject.
|
|
1424
|
+
*/
|
|
1425
|
+
data: Prisma.XOR<Prisma.DesignProjectCreateInput, Prisma.DesignProjectUncheckedCreateInput>
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* DesignProject createMany
|
|
1430
|
+
*/
|
|
1431
|
+
export type DesignProjectCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1432
|
+
/**
|
|
1433
|
+
* The data used to create many DesignProjects.
|
|
1434
|
+
*/
|
|
1435
|
+
data: Prisma.DesignProjectCreateManyInput | Prisma.DesignProjectCreateManyInput[]
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* DesignProject createManyAndReturn
|
|
1440
|
+
*/
|
|
1441
|
+
export type DesignProjectCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1442
|
+
/**
|
|
1443
|
+
* Select specific fields to fetch from the DesignProject
|
|
1444
|
+
*/
|
|
1445
|
+
select?: Prisma.DesignProjectSelectCreateManyAndReturn<ExtArgs> | null
|
|
1446
|
+
/**
|
|
1447
|
+
* Omit specific fields from the DesignProject
|
|
1448
|
+
*/
|
|
1449
|
+
omit?: Prisma.DesignProjectOmit<ExtArgs> | null
|
|
1450
|
+
/**
|
|
1451
|
+
* The data used to create many DesignProjects.
|
|
1452
|
+
*/
|
|
1453
|
+
data: Prisma.DesignProjectCreateManyInput | Prisma.DesignProjectCreateManyInput[]
|
|
1454
|
+
/**
|
|
1455
|
+
* Choose, which related nodes to fetch as well
|
|
1456
|
+
*/
|
|
1457
|
+
include?: Prisma.DesignProjectIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* DesignProject update
|
|
1462
|
+
*/
|
|
1463
|
+
export type DesignProjectUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1464
|
+
/**
|
|
1465
|
+
* Select specific fields to fetch from the DesignProject
|
|
1466
|
+
*/
|
|
1467
|
+
select?: Prisma.DesignProjectSelect<ExtArgs> | null
|
|
1468
|
+
/**
|
|
1469
|
+
* Omit specific fields from the DesignProject
|
|
1470
|
+
*/
|
|
1471
|
+
omit?: Prisma.DesignProjectOmit<ExtArgs> | null
|
|
1472
|
+
/**
|
|
1473
|
+
* Choose, which related nodes to fetch as well
|
|
1474
|
+
*/
|
|
1475
|
+
include?: Prisma.DesignProjectInclude<ExtArgs> | null
|
|
1476
|
+
/**
|
|
1477
|
+
* The data needed to update a DesignProject.
|
|
1478
|
+
*/
|
|
1479
|
+
data: Prisma.XOR<Prisma.DesignProjectUpdateInput, Prisma.DesignProjectUncheckedUpdateInput>
|
|
1480
|
+
/**
|
|
1481
|
+
* Choose, which DesignProject to update.
|
|
1482
|
+
*/
|
|
1483
|
+
where: Prisma.DesignProjectWhereUniqueInput
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* DesignProject updateMany
|
|
1488
|
+
*/
|
|
1489
|
+
export type DesignProjectUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1490
|
+
/**
|
|
1491
|
+
* The data used to update DesignProjects.
|
|
1492
|
+
*/
|
|
1493
|
+
data: Prisma.XOR<Prisma.DesignProjectUpdateManyMutationInput, Prisma.DesignProjectUncheckedUpdateManyInput>
|
|
1494
|
+
/**
|
|
1495
|
+
* Filter which DesignProjects to update
|
|
1496
|
+
*/
|
|
1497
|
+
where?: Prisma.DesignProjectWhereInput
|
|
1498
|
+
/**
|
|
1499
|
+
* Limit how many DesignProjects to update.
|
|
1500
|
+
*/
|
|
1501
|
+
limit?: number
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* DesignProject updateManyAndReturn
|
|
1506
|
+
*/
|
|
1507
|
+
export type DesignProjectUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1508
|
+
/**
|
|
1509
|
+
* Select specific fields to fetch from the DesignProject
|
|
1510
|
+
*/
|
|
1511
|
+
select?: Prisma.DesignProjectSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1512
|
+
/**
|
|
1513
|
+
* Omit specific fields from the DesignProject
|
|
1514
|
+
*/
|
|
1515
|
+
omit?: Prisma.DesignProjectOmit<ExtArgs> | null
|
|
1516
|
+
/**
|
|
1517
|
+
* The data used to update DesignProjects.
|
|
1518
|
+
*/
|
|
1519
|
+
data: Prisma.XOR<Prisma.DesignProjectUpdateManyMutationInput, Prisma.DesignProjectUncheckedUpdateManyInput>
|
|
1520
|
+
/**
|
|
1521
|
+
* Filter which DesignProjects to update
|
|
1522
|
+
*/
|
|
1523
|
+
where?: Prisma.DesignProjectWhereInput
|
|
1524
|
+
/**
|
|
1525
|
+
* Limit how many DesignProjects to update.
|
|
1526
|
+
*/
|
|
1527
|
+
limit?: number
|
|
1528
|
+
/**
|
|
1529
|
+
* Choose, which related nodes to fetch as well
|
|
1530
|
+
*/
|
|
1531
|
+
include?: Prisma.DesignProjectIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* DesignProject upsert
|
|
1536
|
+
*/
|
|
1537
|
+
export type DesignProjectUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1538
|
+
/**
|
|
1539
|
+
* Select specific fields to fetch from the DesignProject
|
|
1540
|
+
*/
|
|
1541
|
+
select?: Prisma.DesignProjectSelect<ExtArgs> | null
|
|
1542
|
+
/**
|
|
1543
|
+
* Omit specific fields from the DesignProject
|
|
1544
|
+
*/
|
|
1545
|
+
omit?: Prisma.DesignProjectOmit<ExtArgs> | null
|
|
1546
|
+
/**
|
|
1547
|
+
* Choose, which related nodes to fetch as well
|
|
1548
|
+
*/
|
|
1549
|
+
include?: Prisma.DesignProjectInclude<ExtArgs> | null
|
|
1550
|
+
/**
|
|
1551
|
+
* The filter to search for the DesignProject to update in case it exists.
|
|
1552
|
+
*/
|
|
1553
|
+
where: Prisma.DesignProjectWhereUniqueInput
|
|
1554
|
+
/**
|
|
1555
|
+
* In case the DesignProject found by the `where` argument doesn't exist, create a new DesignProject with this data.
|
|
1556
|
+
*/
|
|
1557
|
+
create: Prisma.XOR<Prisma.DesignProjectCreateInput, Prisma.DesignProjectUncheckedCreateInput>
|
|
1558
|
+
/**
|
|
1559
|
+
* In case the DesignProject was found with the provided `where` argument, update it with this data.
|
|
1560
|
+
*/
|
|
1561
|
+
update: Prisma.XOR<Prisma.DesignProjectUpdateInput, Prisma.DesignProjectUncheckedUpdateInput>
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* DesignProject delete
|
|
1566
|
+
*/
|
|
1567
|
+
export type DesignProjectDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1568
|
+
/**
|
|
1569
|
+
* Select specific fields to fetch from the DesignProject
|
|
1570
|
+
*/
|
|
1571
|
+
select?: Prisma.DesignProjectSelect<ExtArgs> | null
|
|
1572
|
+
/**
|
|
1573
|
+
* Omit specific fields from the DesignProject
|
|
1574
|
+
*/
|
|
1575
|
+
omit?: Prisma.DesignProjectOmit<ExtArgs> | null
|
|
1576
|
+
/**
|
|
1577
|
+
* Choose, which related nodes to fetch as well
|
|
1578
|
+
*/
|
|
1579
|
+
include?: Prisma.DesignProjectInclude<ExtArgs> | null
|
|
1580
|
+
/**
|
|
1581
|
+
* Filter which DesignProject to delete.
|
|
1582
|
+
*/
|
|
1583
|
+
where: Prisma.DesignProjectWhereUniqueInput
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* DesignProject deleteMany
|
|
1588
|
+
*/
|
|
1589
|
+
export type DesignProjectDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1590
|
+
/**
|
|
1591
|
+
* Filter which DesignProjects to delete
|
|
1592
|
+
*/
|
|
1593
|
+
where?: Prisma.DesignProjectWhereInput
|
|
1594
|
+
/**
|
|
1595
|
+
* Limit how many DesignProjects to delete.
|
|
1596
|
+
*/
|
|
1597
|
+
limit?: number
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
/**
|
|
1601
|
+
* DesignProject.artboards
|
|
1602
|
+
*/
|
|
1603
|
+
export type DesignProject$artboardsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1604
|
+
/**
|
|
1605
|
+
* Select specific fields to fetch from the Artboard
|
|
1606
|
+
*/
|
|
1607
|
+
select?: Prisma.ArtboardSelect<ExtArgs> | null
|
|
1608
|
+
/**
|
|
1609
|
+
* Omit specific fields from the Artboard
|
|
1610
|
+
*/
|
|
1611
|
+
omit?: Prisma.ArtboardOmit<ExtArgs> | null
|
|
1612
|
+
/**
|
|
1613
|
+
* Choose, which related nodes to fetch as well
|
|
1614
|
+
*/
|
|
1615
|
+
include?: Prisma.ArtboardInclude<ExtArgs> | null
|
|
1616
|
+
where?: Prisma.ArtboardWhereInput
|
|
1617
|
+
orderBy?: Prisma.ArtboardOrderByWithRelationInput | Prisma.ArtboardOrderByWithRelationInput[]
|
|
1618
|
+
cursor?: Prisma.ArtboardWhereUniqueInput
|
|
1619
|
+
take?: number
|
|
1620
|
+
skip?: number
|
|
1621
|
+
distinct?: Prisma.ArtboardScalarFieldEnum | Prisma.ArtboardScalarFieldEnum[]
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
/**
|
|
1625
|
+
* DesignProject without action
|
|
1626
|
+
*/
|
|
1627
|
+
export type DesignProjectDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1628
|
+
/**
|
|
1629
|
+
* Select specific fields to fetch from the DesignProject
|
|
1630
|
+
*/
|
|
1631
|
+
select?: Prisma.DesignProjectSelect<ExtArgs> | null
|
|
1632
|
+
/**
|
|
1633
|
+
* Omit specific fields from the DesignProject
|
|
1634
|
+
*/
|
|
1635
|
+
omit?: Prisma.DesignProjectOmit<ExtArgs> | null
|
|
1636
|
+
/**
|
|
1637
|
+
* Choose, which related nodes to fetch as well
|
|
1638
|
+
*/
|
|
1639
|
+
include?: Prisma.DesignProjectInclude<ExtArgs> | null
|
|
1640
|
+
}
|