@allbluecn/database 0.9.1 → 0.9.3
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/cf-env-stub.ts +4 -0
- package/cf-env.ts +25 -0
- package/cloudflare-workers.d.ts +6 -0
- package/desktop-init.ts +2 -2
- package/dist/cf-env-stub.d.ts +1 -0
- package/dist/cf-env-stub.js +4 -0
- package/dist/cf-env.d.ts +1 -0
- package/dist/cf-env.js +8 -0
- package/dist/lib/share-utils.js +3 -3
- package/generated/browser.ts +143 -38
- package/generated/client.ts +143 -38
- package/generated/commonInputTypes.ts +34 -0
- package/generated/enums.ts +14 -0
- package/generated/internal/class.ts +290 -80
- package/generated/internal/prismaNamespace.ts +3756 -1797
- package/generated/internal/prismaNamespaceBrowser.ts +478 -108
- package/generated/models/AgentConversation.ts +89 -89
- package/generated/models/AiProvider.ts +3 -3
- package/generated/models/AiStreamChunk.ts +3 -3
- package/generated/models/AiTask.ts +2481 -0
- package/generated/models/AiTaskRun.ts +1564 -0
- package/generated/models/AnyHubMarketApp.ts +8 -8
- package/generated/models/AuditLog.ts +6 -6
- package/generated/models/BlockInstance.ts +17 -17
- package/generated/models/Bug.ts +5116 -0
- package/generated/models/BugActivity.ts +1765 -0
- package/generated/models/BugComment.ts +1992 -0
- package/generated/models/BugCommentReaction.ts +1472 -0
- package/generated/models/BugEvent.ts +1339 -0
- package/generated/models/BugFilterView.ts +1438 -0
- package/generated/models/BugFixRun.ts +1479 -0
- package/generated/models/BugLabel.ts +1349 -0
- package/generated/models/BugProjectSettings.ts +1403 -0
- package/generated/models/BugReproRun.ts +1582 -0
- package/generated/models/ChatPersistenceMeta.ts +3 -3
- package/generated/models/CollabClient.ts +1199 -0
- package/generated/models/CollabDocument.ts +1121 -0
- package/generated/models/CollabUpdate.ts +1149 -0
- package/generated/models/Comment.ts +99 -99
- package/generated/models/Component.ts +7 -201
- package/generated/models/ComponentInstance.ts +17 -17
- package/generated/models/CustomRole.ts +8 -8
- package/generated/models/Design.ts +2682 -0
- package/generated/models/DesignPage.ts +2402 -0
- package/generated/models/DesignVersion.ts +2121 -0
- package/generated/models/DesktopSetting.ts +3 -3
- package/generated/models/Iteration.ts +148 -0
- package/generated/models/Label.ts +118 -0
- package/generated/models/LicenseKey.ts +16 -16
- package/generated/models/NotificationPreference.ts +5 -5
- package/generated/models/PageVersion.ts +49 -49
- package/generated/models/Plan.ts +5 -5
- package/generated/models/Project.ts +2240 -67
- package/generated/models/ProjectAccessToken.ts +1705 -0
- package/generated/models/ProjectWebhook.ts +1409 -0
- package/generated/models/Review.ts +118 -118
- package/generated/models/Share.ts +83 -83
- package/generated/models/ShareVersion.ts +15 -15
- package/generated/models/SsoProvider.ts +8 -8
- package/generated/models/Story.ts +973 -87
- package/generated/models/StoryDesignLink.ts +1430 -0
- package/generated/models/StoryFilterView.ts +12 -12
- package/generated/models/SystemPromptVersion.ts +6 -6
- package/generated/models/TestAutomationArtifact.ts +1790 -0
- package/generated/models/TestCase.ts +3645 -0
- package/generated/models/TestCaseFilterView.ts +1587 -0
- package/generated/models/TestCaseFolder.ts +1795 -0
- package/generated/models/TestExecRun.ts +1673 -0
- package/generated/models/TestGenerationRun.ts +1952 -0
- package/generated/models/TestPlan.ts +1950 -0
- package/generated/models/TestPlanCase.ts +1430 -0
- package/generated/models/TestRun.ts +1979 -0
- package/generated/models/TestRunCase.ts +2772 -0
- package/generated/models/ThirdPartyDependency.ts +19 -15
- package/generated/models/User.ts +13573 -3351
- package/generated/models/Workspace.ts +204 -0
- package/generated/models.ts +31 -10
- package/generated-sqlite/browser.ts +6 -36
- package/generated-sqlite/client.ts +6 -36
- package/generated-sqlite/internal/class.ts +16 -76
- package/generated-sqlite/internal/prismaNamespace.ts +127 -659
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +21 -103
- package/generated-sqlite/models/AgentConversation.ts +89 -89
- package/generated-sqlite/models/AiProvider.ts +3 -3
- package/generated-sqlite/models/AiStreamChunk.ts +3 -3
- package/generated-sqlite/models/AnyHubMarketApp.ts +8 -8
- package/generated-sqlite/models/BlockInstance.ts +17 -17
- package/generated-sqlite/models/ChatPersistenceMeta.ts +3 -3
- package/generated-sqlite/models/Comment.ts +99 -99
- package/generated-sqlite/models/Component.ts +7 -201
- package/generated-sqlite/models/ComponentInstance.ts +17 -17
- package/generated-sqlite/models/Design.ts +2497 -0
- package/generated-sqlite/models/DesignPage.ts +2398 -0
- package/generated-sqlite/models/DesignVersion.ts +2117 -0
- package/generated-sqlite/models/DesktopSetting.ts +3 -3
- package/generated-sqlite/models/KnowledgeBase.ts +240 -1
- package/generated-sqlite/models/NotificationPreference.ts +5 -5
- package/generated-sqlite/models/PageVersion.ts +49 -49
- package/generated-sqlite/models/Review.ts +118 -118
- package/generated-sqlite/models/Share.ts +83 -83
- package/generated-sqlite/models/ShareVersion.ts +15 -15
- package/generated-sqlite/models/SystemPromptVersion.ts +6 -6
- package/generated-sqlite/models/User.ts +1310 -2016
- package/generated-sqlite/models/Workspace.ts +164 -0
- package/generated-sqlite/models.ts +3 -9
- package/index.ts +31 -3
- package/migrations/20260924084200_add_prd_kind_drop_design_sketch/migration.sql +24 -0
- package/migrations/20260924123118_drop_user_sketch_api_token/migration.sql +8 -0
- package/migrations/20260925011516_rename_prd_tables/migration.sql +189 -0
- package/migrations/20260925064226_rename_prd_columns/migration.sql +193 -0
- package/migrations/20260925080000_rename_prd_embeddings/migration.sql +43 -0
- package/migrations/20261002184838_bug_module_init/migration.sql +297 -0
- package/migrations/20261004234209_testcase_module_init/migration.sql +290 -0
- package/migrations/20261005090000_testcase_plan_cases/migration.sql +34 -0
- package/migrations/20261006151229_add_missing_fk_indexes_auth_billing/migration.sql +50 -0
- package/migrations/20261006152058_add_missing_fk_indexes_story_bug_test/migration.sql +59 -0
- package/migrations/20261006152153_add_missing_fk_indexes_design_misc/migration.sql +50 -0
- package/migrations/20261006184250_explicit_on_delete_core/migration.sql +33 -0
- package/migrations/20261006184604_explicit_on_delete_rest/migration.sql +117 -0
- package/migrations/20261006184932_json_column_defaults/migration.sql +74 -0
- package/migrations/20261006191724_revert_version_token_cascade/migration.sql +21 -0
- package/migrations/20261007025537_dependency_category_enum/migration.sql +22 -0
- package/migrations/20261007112656_collab_init/migration.sql +45 -0
- package/migrations/20261007122530_collab_client_clientid_bigint/migration.sql +10 -0
- package/migrations/20261009194853_remove_tag_module/migration.sql +24 -0
- package/migrations/20261009222043_ai_task_init/migration.sql +67 -0
- package/migrations/20261019202531_ui_alignment_board_order/migration.sql +35 -0
- package/package.json +17 -6
- package/schema.prisma +777 -222
- package/schema.sqlite.prisma +140 -196
- package/src/lib/share-utils.ts +2 -2
- package/generated/models/Artboard.ts +0 -1811
- package/generated/models/ArtboardExport.ts +0 -1548
- package/generated/models/ComponentTag.ts +0 -1281
- package/generated/models/DesignProject.ts +0 -1643
- package/generated/models/PRD.ts +0 -2805
- package/generated/models/PRDPage.ts +0 -2402
- package/generated/models/PRDTag.ts +0 -1430
- package/generated/models/PRDVersion.ts +0 -2121
- package/generated/models/StoryPrdLink.ts +0 -1430
- package/generated/models/Tag.ts +0 -1655
- package/generated-sqlite/models/Artboard.ts +0 -1808
- package/generated-sqlite/models/ArtboardExport.ts +0 -1545
- package/generated-sqlite/models/ComponentTag.ts +0 -1278
- package/generated-sqlite/models/DesignProject.ts +0 -1640
- package/generated-sqlite/models/PRD.ts +0 -2616
- package/generated-sqlite/models/PRDPage.ts +0 -2398
- package/generated-sqlite/models/PRDTag.ts +0 -1426
- package/generated-sqlite/models/PRDVersion.ts +0 -2117
- package/generated-sqlite/models/Tag.ts +0 -1652
|
@@ -0,0 +1,1705 @@
|
|
|
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 `ProjectAccessToken` 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 ProjectAccessToken
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type ProjectAccessTokenModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjectAccessTokenPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateProjectAccessToken = {
|
|
22
|
+
_count: ProjectAccessTokenCountAggregateOutputType | null
|
|
23
|
+
_min: ProjectAccessTokenMinAggregateOutputType | null
|
|
24
|
+
_max: ProjectAccessTokenMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type ProjectAccessTokenMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
projectId: string | null
|
|
30
|
+
name: string | null
|
|
31
|
+
scope: string | null
|
|
32
|
+
tokenHash: string | null
|
|
33
|
+
tokenPrefix: string | null
|
|
34
|
+
lastUsedAt: Date | null
|
|
35
|
+
revokedAt: Date | null
|
|
36
|
+
createdById: string | null
|
|
37
|
+
createdAt: Date | null
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export type ProjectAccessTokenMaxAggregateOutputType = {
|
|
41
|
+
id: string | null
|
|
42
|
+
projectId: string | null
|
|
43
|
+
name: string | null
|
|
44
|
+
scope: string | null
|
|
45
|
+
tokenHash: string | null
|
|
46
|
+
tokenPrefix: string | null
|
|
47
|
+
lastUsedAt: Date | null
|
|
48
|
+
revokedAt: Date | null
|
|
49
|
+
createdById: string | null
|
|
50
|
+
createdAt: Date | null
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export type ProjectAccessTokenCountAggregateOutputType = {
|
|
54
|
+
id: number
|
|
55
|
+
projectId: number
|
|
56
|
+
name: number
|
|
57
|
+
scope: number
|
|
58
|
+
tokenHash: number
|
|
59
|
+
tokenPrefix: number
|
|
60
|
+
config: number
|
|
61
|
+
lastUsedAt: number
|
|
62
|
+
revokedAt: number
|
|
63
|
+
createdById: number
|
|
64
|
+
createdAt: number
|
|
65
|
+
_all: number
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
export type ProjectAccessTokenMinAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
projectId?: true
|
|
72
|
+
name?: true
|
|
73
|
+
scope?: true
|
|
74
|
+
tokenHash?: true
|
|
75
|
+
tokenPrefix?: true
|
|
76
|
+
lastUsedAt?: true
|
|
77
|
+
revokedAt?: true
|
|
78
|
+
createdById?: true
|
|
79
|
+
createdAt?: true
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export type ProjectAccessTokenMaxAggregateInputType = {
|
|
83
|
+
id?: true
|
|
84
|
+
projectId?: true
|
|
85
|
+
name?: true
|
|
86
|
+
scope?: true
|
|
87
|
+
tokenHash?: true
|
|
88
|
+
tokenPrefix?: true
|
|
89
|
+
lastUsedAt?: true
|
|
90
|
+
revokedAt?: true
|
|
91
|
+
createdById?: true
|
|
92
|
+
createdAt?: true
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export type ProjectAccessTokenCountAggregateInputType = {
|
|
96
|
+
id?: true
|
|
97
|
+
projectId?: true
|
|
98
|
+
name?: true
|
|
99
|
+
scope?: true
|
|
100
|
+
tokenHash?: true
|
|
101
|
+
tokenPrefix?: true
|
|
102
|
+
config?: true
|
|
103
|
+
lastUsedAt?: true
|
|
104
|
+
revokedAt?: true
|
|
105
|
+
createdById?: true
|
|
106
|
+
createdAt?: true
|
|
107
|
+
_all?: true
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export type ProjectAccessTokenAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
111
|
+
/**
|
|
112
|
+
* Filter which ProjectAccessToken to aggregate.
|
|
113
|
+
*/
|
|
114
|
+
where?: Prisma.ProjectAccessTokenWhereInput
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
117
|
+
*
|
|
118
|
+
* Determine the order of ProjectAccessTokens to fetch.
|
|
119
|
+
*/
|
|
120
|
+
orderBy?: Prisma.ProjectAccessTokenOrderByWithRelationInput | Prisma.ProjectAccessTokenOrderByWithRelationInput[]
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
123
|
+
*
|
|
124
|
+
* Sets the start position
|
|
125
|
+
*/
|
|
126
|
+
cursor?: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
129
|
+
*
|
|
130
|
+
* Take `±n` ProjectAccessTokens from the position of the cursor.
|
|
131
|
+
*/
|
|
132
|
+
take?: number
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
135
|
+
*
|
|
136
|
+
* Skip the first `n` ProjectAccessTokens.
|
|
137
|
+
*/
|
|
138
|
+
skip?: number
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
+
*
|
|
142
|
+
* Count returned ProjectAccessTokens
|
|
143
|
+
**/
|
|
144
|
+
_count?: true | ProjectAccessTokenCountAggregateInputType
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
+
*
|
|
148
|
+
* Select which fields to find the minimum value
|
|
149
|
+
**/
|
|
150
|
+
_min?: ProjectAccessTokenMinAggregateInputType
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
+
*
|
|
154
|
+
* Select which fields to find the maximum value
|
|
155
|
+
**/
|
|
156
|
+
_max?: ProjectAccessTokenMaxAggregateInputType
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export type GetProjectAccessTokenAggregateType<T extends ProjectAccessTokenAggregateArgs> = {
|
|
160
|
+
[P in keyof T & keyof AggregateProjectAccessToken]: P extends '_count' | 'count'
|
|
161
|
+
? T[P] extends true
|
|
162
|
+
? number
|
|
163
|
+
: Prisma.GetScalarType<T[P], AggregateProjectAccessToken[P]>
|
|
164
|
+
: Prisma.GetScalarType<T[P], AggregateProjectAccessToken[P]>
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
export type ProjectAccessTokenGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
171
|
+
where?: Prisma.ProjectAccessTokenWhereInput
|
|
172
|
+
orderBy?: Prisma.ProjectAccessTokenOrderByWithAggregationInput | Prisma.ProjectAccessTokenOrderByWithAggregationInput[]
|
|
173
|
+
by: Prisma.ProjectAccessTokenScalarFieldEnum[] | Prisma.ProjectAccessTokenScalarFieldEnum
|
|
174
|
+
having?: Prisma.ProjectAccessTokenScalarWhereWithAggregatesInput
|
|
175
|
+
take?: number
|
|
176
|
+
skip?: number
|
|
177
|
+
_count?: ProjectAccessTokenCountAggregateInputType | true
|
|
178
|
+
_min?: ProjectAccessTokenMinAggregateInputType
|
|
179
|
+
_max?: ProjectAccessTokenMaxAggregateInputType
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export type ProjectAccessTokenGroupByOutputType = {
|
|
183
|
+
id: string
|
|
184
|
+
projectId: string
|
|
185
|
+
name: string
|
|
186
|
+
scope: string
|
|
187
|
+
tokenHash: string
|
|
188
|
+
tokenPrefix: string
|
|
189
|
+
config: runtime.JsonValue | null
|
|
190
|
+
lastUsedAt: Date | null
|
|
191
|
+
revokedAt: Date | null
|
|
192
|
+
createdById: string
|
|
193
|
+
createdAt: Date
|
|
194
|
+
_count: ProjectAccessTokenCountAggregateOutputType | null
|
|
195
|
+
_min: ProjectAccessTokenMinAggregateOutputType | null
|
|
196
|
+
_max: ProjectAccessTokenMaxAggregateOutputType | null
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export type GetProjectAccessTokenGroupByPayload<T extends ProjectAccessTokenGroupByArgs> = Prisma.PrismaPromise<
|
|
200
|
+
Array<
|
|
201
|
+
Prisma.PickEnumerable<ProjectAccessTokenGroupByOutputType, T['by']> &
|
|
202
|
+
{
|
|
203
|
+
[P in ((keyof T) & (keyof ProjectAccessTokenGroupByOutputType))]: P extends '_count'
|
|
204
|
+
? T[P] extends boolean
|
|
205
|
+
? number
|
|
206
|
+
: Prisma.GetScalarType<T[P], ProjectAccessTokenGroupByOutputType[P]>
|
|
207
|
+
: Prisma.GetScalarType<T[P], ProjectAccessTokenGroupByOutputType[P]>
|
|
208
|
+
}
|
|
209
|
+
>
|
|
210
|
+
>
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
export type ProjectAccessTokenWhereInput = {
|
|
215
|
+
AND?: Prisma.ProjectAccessTokenWhereInput | Prisma.ProjectAccessTokenWhereInput[]
|
|
216
|
+
OR?: Prisma.ProjectAccessTokenWhereInput[]
|
|
217
|
+
NOT?: Prisma.ProjectAccessTokenWhereInput | Prisma.ProjectAccessTokenWhereInput[]
|
|
218
|
+
id?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
219
|
+
projectId?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
220
|
+
name?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
221
|
+
scope?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
222
|
+
tokenHash?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
223
|
+
tokenPrefix?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
224
|
+
config?: Prisma.JsonNullableFilter<"ProjectAccessToken">
|
|
225
|
+
lastUsedAt?: Prisma.DateTimeNullableFilter<"ProjectAccessToken"> | Date | string | null
|
|
226
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"ProjectAccessToken"> | Date | string | null
|
|
227
|
+
createdById?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
228
|
+
createdAt?: Prisma.DateTimeFilter<"ProjectAccessToken"> | Date | string
|
|
229
|
+
project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
|
|
230
|
+
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export type ProjectAccessTokenOrderByWithRelationInput = {
|
|
234
|
+
id?: Prisma.SortOrder
|
|
235
|
+
projectId?: Prisma.SortOrder
|
|
236
|
+
name?: Prisma.SortOrder
|
|
237
|
+
scope?: Prisma.SortOrder
|
|
238
|
+
tokenHash?: Prisma.SortOrder
|
|
239
|
+
tokenPrefix?: Prisma.SortOrder
|
|
240
|
+
config?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
241
|
+
lastUsedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
242
|
+
revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
243
|
+
createdById?: Prisma.SortOrder
|
|
244
|
+
createdAt?: Prisma.SortOrder
|
|
245
|
+
project?: Prisma.ProjectOrderByWithRelationInput
|
|
246
|
+
createdBy?: Prisma.UserOrderByWithRelationInput
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export type ProjectAccessTokenWhereUniqueInput = Prisma.AtLeast<{
|
|
250
|
+
id?: string
|
|
251
|
+
tokenHash?: string
|
|
252
|
+
AND?: Prisma.ProjectAccessTokenWhereInput | Prisma.ProjectAccessTokenWhereInput[]
|
|
253
|
+
OR?: Prisma.ProjectAccessTokenWhereInput[]
|
|
254
|
+
NOT?: Prisma.ProjectAccessTokenWhereInput | Prisma.ProjectAccessTokenWhereInput[]
|
|
255
|
+
projectId?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
256
|
+
name?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
257
|
+
scope?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
258
|
+
tokenPrefix?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
259
|
+
config?: Prisma.JsonNullableFilter<"ProjectAccessToken">
|
|
260
|
+
lastUsedAt?: Prisma.DateTimeNullableFilter<"ProjectAccessToken"> | Date | string | null
|
|
261
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"ProjectAccessToken"> | Date | string | null
|
|
262
|
+
createdById?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
263
|
+
createdAt?: Prisma.DateTimeFilter<"ProjectAccessToken"> | Date | string
|
|
264
|
+
project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
|
|
265
|
+
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
266
|
+
}, "id" | "tokenHash">
|
|
267
|
+
|
|
268
|
+
export type ProjectAccessTokenOrderByWithAggregationInput = {
|
|
269
|
+
id?: Prisma.SortOrder
|
|
270
|
+
projectId?: Prisma.SortOrder
|
|
271
|
+
name?: Prisma.SortOrder
|
|
272
|
+
scope?: Prisma.SortOrder
|
|
273
|
+
tokenHash?: Prisma.SortOrder
|
|
274
|
+
tokenPrefix?: Prisma.SortOrder
|
|
275
|
+
config?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
276
|
+
lastUsedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
277
|
+
revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
278
|
+
createdById?: Prisma.SortOrder
|
|
279
|
+
createdAt?: Prisma.SortOrder
|
|
280
|
+
_count?: Prisma.ProjectAccessTokenCountOrderByAggregateInput
|
|
281
|
+
_max?: Prisma.ProjectAccessTokenMaxOrderByAggregateInput
|
|
282
|
+
_min?: Prisma.ProjectAccessTokenMinOrderByAggregateInput
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export type ProjectAccessTokenScalarWhereWithAggregatesInput = {
|
|
286
|
+
AND?: Prisma.ProjectAccessTokenScalarWhereWithAggregatesInput | Prisma.ProjectAccessTokenScalarWhereWithAggregatesInput[]
|
|
287
|
+
OR?: Prisma.ProjectAccessTokenScalarWhereWithAggregatesInput[]
|
|
288
|
+
NOT?: Prisma.ProjectAccessTokenScalarWhereWithAggregatesInput | Prisma.ProjectAccessTokenScalarWhereWithAggregatesInput[]
|
|
289
|
+
id?: Prisma.StringWithAggregatesFilter<"ProjectAccessToken"> | string
|
|
290
|
+
projectId?: Prisma.StringWithAggregatesFilter<"ProjectAccessToken"> | string
|
|
291
|
+
name?: Prisma.StringWithAggregatesFilter<"ProjectAccessToken"> | string
|
|
292
|
+
scope?: Prisma.StringWithAggregatesFilter<"ProjectAccessToken"> | string
|
|
293
|
+
tokenHash?: Prisma.StringWithAggregatesFilter<"ProjectAccessToken"> | string
|
|
294
|
+
tokenPrefix?: Prisma.StringWithAggregatesFilter<"ProjectAccessToken"> | string
|
|
295
|
+
config?: Prisma.JsonNullableWithAggregatesFilter<"ProjectAccessToken">
|
|
296
|
+
lastUsedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ProjectAccessToken"> | Date | string | null
|
|
297
|
+
revokedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ProjectAccessToken"> | Date | string | null
|
|
298
|
+
createdById?: Prisma.StringWithAggregatesFilter<"ProjectAccessToken"> | string
|
|
299
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProjectAccessToken"> | Date | string
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export type ProjectAccessTokenCreateInput = {
|
|
303
|
+
id?: string
|
|
304
|
+
name: string
|
|
305
|
+
scope: string
|
|
306
|
+
tokenHash: string
|
|
307
|
+
tokenPrefix: string
|
|
308
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
309
|
+
lastUsedAt?: Date | string | null
|
|
310
|
+
revokedAt?: Date | string | null
|
|
311
|
+
createdAt?: Date | string
|
|
312
|
+
project: Prisma.ProjectCreateNestedOneWithoutAccessTokensInput
|
|
313
|
+
createdBy: Prisma.UserCreateNestedOneWithoutProjectAccessTokensInput
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export type ProjectAccessTokenUncheckedCreateInput = {
|
|
317
|
+
id?: string
|
|
318
|
+
projectId: string
|
|
319
|
+
name: string
|
|
320
|
+
scope: string
|
|
321
|
+
tokenHash: string
|
|
322
|
+
tokenPrefix: string
|
|
323
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
324
|
+
lastUsedAt?: Date | string | null
|
|
325
|
+
revokedAt?: Date | string | null
|
|
326
|
+
createdById: string
|
|
327
|
+
createdAt?: Date | string
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export type ProjectAccessTokenUpdateInput = {
|
|
331
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
332
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
333
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string
|
|
334
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
335
|
+
tokenPrefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
336
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
337
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
338
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
339
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
340
|
+
project?: Prisma.ProjectUpdateOneRequiredWithoutAccessTokensNestedInput
|
|
341
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutProjectAccessTokensNestedInput
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export type ProjectAccessTokenUncheckedUpdateInput = {
|
|
345
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
346
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
347
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
348
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string
|
|
349
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
350
|
+
tokenPrefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
351
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
352
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
353
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
354
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
355
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export type ProjectAccessTokenCreateManyInput = {
|
|
359
|
+
id?: string
|
|
360
|
+
projectId: string
|
|
361
|
+
name: string
|
|
362
|
+
scope: string
|
|
363
|
+
tokenHash: string
|
|
364
|
+
tokenPrefix: string
|
|
365
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
366
|
+
lastUsedAt?: Date | string | null
|
|
367
|
+
revokedAt?: Date | string | null
|
|
368
|
+
createdById: string
|
|
369
|
+
createdAt?: Date | string
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
export type ProjectAccessTokenUpdateManyMutationInput = {
|
|
373
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
374
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
375
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string
|
|
376
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
377
|
+
tokenPrefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
378
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
379
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
380
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
381
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export type ProjectAccessTokenUncheckedUpdateManyInput = {
|
|
385
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
386
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
387
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
388
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string
|
|
389
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
390
|
+
tokenPrefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
391
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
392
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
393
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
394
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
395
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export type ProjectAccessTokenListRelationFilter = {
|
|
399
|
+
every?: Prisma.ProjectAccessTokenWhereInput
|
|
400
|
+
some?: Prisma.ProjectAccessTokenWhereInput
|
|
401
|
+
none?: Prisma.ProjectAccessTokenWhereInput
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export type ProjectAccessTokenOrderByRelationAggregateInput = {
|
|
405
|
+
_count?: Prisma.SortOrder
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export type ProjectAccessTokenCountOrderByAggregateInput = {
|
|
409
|
+
id?: Prisma.SortOrder
|
|
410
|
+
projectId?: Prisma.SortOrder
|
|
411
|
+
name?: Prisma.SortOrder
|
|
412
|
+
scope?: Prisma.SortOrder
|
|
413
|
+
tokenHash?: Prisma.SortOrder
|
|
414
|
+
tokenPrefix?: Prisma.SortOrder
|
|
415
|
+
config?: Prisma.SortOrder
|
|
416
|
+
lastUsedAt?: Prisma.SortOrder
|
|
417
|
+
revokedAt?: Prisma.SortOrder
|
|
418
|
+
createdById?: Prisma.SortOrder
|
|
419
|
+
createdAt?: Prisma.SortOrder
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export type ProjectAccessTokenMaxOrderByAggregateInput = {
|
|
423
|
+
id?: Prisma.SortOrder
|
|
424
|
+
projectId?: Prisma.SortOrder
|
|
425
|
+
name?: Prisma.SortOrder
|
|
426
|
+
scope?: Prisma.SortOrder
|
|
427
|
+
tokenHash?: Prisma.SortOrder
|
|
428
|
+
tokenPrefix?: Prisma.SortOrder
|
|
429
|
+
lastUsedAt?: Prisma.SortOrder
|
|
430
|
+
revokedAt?: Prisma.SortOrder
|
|
431
|
+
createdById?: Prisma.SortOrder
|
|
432
|
+
createdAt?: Prisma.SortOrder
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export type ProjectAccessTokenMinOrderByAggregateInput = {
|
|
436
|
+
id?: Prisma.SortOrder
|
|
437
|
+
projectId?: Prisma.SortOrder
|
|
438
|
+
name?: Prisma.SortOrder
|
|
439
|
+
scope?: Prisma.SortOrder
|
|
440
|
+
tokenHash?: Prisma.SortOrder
|
|
441
|
+
tokenPrefix?: Prisma.SortOrder
|
|
442
|
+
lastUsedAt?: Prisma.SortOrder
|
|
443
|
+
revokedAt?: Prisma.SortOrder
|
|
444
|
+
createdById?: Prisma.SortOrder
|
|
445
|
+
createdAt?: Prisma.SortOrder
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export type ProjectAccessTokenCreateNestedManyWithoutCreatedByInput = {
|
|
449
|
+
create?: Prisma.XOR<Prisma.ProjectAccessTokenCreateWithoutCreatedByInput, Prisma.ProjectAccessTokenUncheckedCreateWithoutCreatedByInput> | Prisma.ProjectAccessTokenCreateWithoutCreatedByInput[] | Prisma.ProjectAccessTokenUncheckedCreateWithoutCreatedByInput[]
|
|
450
|
+
connectOrCreate?: Prisma.ProjectAccessTokenCreateOrConnectWithoutCreatedByInput | Prisma.ProjectAccessTokenCreateOrConnectWithoutCreatedByInput[]
|
|
451
|
+
createMany?: Prisma.ProjectAccessTokenCreateManyCreatedByInputEnvelope
|
|
452
|
+
connect?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export type ProjectAccessTokenUncheckedCreateNestedManyWithoutCreatedByInput = {
|
|
456
|
+
create?: Prisma.XOR<Prisma.ProjectAccessTokenCreateWithoutCreatedByInput, Prisma.ProjectAccessTokenUncheckedCreateWithoutCreatedByInput> | Prisma.ProjectAccessTokenCreateWithoutCreatedByInput[] | Prisma.ProjectAccessTokenUncheckedCreateWithoutCreatedByInput[]
|
|
457
|
+
connectOrCreate?: Prisma.ProjectAccessTokenCreateOrConnectWithoutCreatedByInput | Prisma.ProjectAccessTokenCreateOrConnectWithoutCreatedByInput[]
|
|
458
|
+
createMany?: Prisma.ProjectAccessTokenCreateManyCreatedByInputEnvelope
|
|
459
|
+
connect?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export type ProjectAccessTokenUpdateManyWithoutCreatedByNestedInput = {
|
|
463
|
+
create?: Prisma.XOR<Prisma.ProjectAccessTokenCreateWithoutCreatedByInput, Prisma.ProjectAccessTokenUncheckedCreateWithoutCreatedByInput> | Prisma.ProjectAccessTokenCreateWithoutCreatedByInput[] | Prisma.ProjectAccessTokenUncheckedCreateWithoutCreatedByInput[]
|
|
464
|
+
connectOrCreate?: Prisma.ProjectAccessTokenCreateOrConnectWithoutCreatedByInput | Prisma.ProjectAccessTokenCreateOrConnectWithoutCreatedByInput[]
|
|
465
|
+
upsert?: Prisma.ProjectAccessTokenUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.ProjectAccessTokenUpsertWithWhereUniqueWithoutCreatedByInput[]
|
|
466
|
+
createMany?: Prisma.ProjectAccessTokenCreateManyCreatedByInputEnvelope
|
|
467
|
+
set?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
468
|
+
disconnect?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
469
|
+
delete?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
470
|
+
connect?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
471
|
+
update?: Prisma.ProjectAccessTokenUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.ProjectAccessTokenUpdateWithWhereUniqueWithoutCreatedByInput[]
|
|
472
|
+
updateMany?: Prisma.ProjectAccessTokenUpdateManyWithWhereWithoutCreatedByInput | Prisma.ProjectAccessTokenUpdateManyWithWhereWithoutCreatedByInput[]
|
|
473
|
+
deleteMany?: Prisma.ProjectAccessTokenScalarWhereInput | Prisma.ProjectAccessTokenScalarWhereInput[]
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export type ProjectAccessTokenUncheckedUpdateManyWithoutCreatedByNestedInput = {
|
|
477
|
+
create?: Prisma.XOR<Prisma.ProjectAccessTokenCreateWithoutCreatedByInput, Prisma.ProjectAccessTokenUncheckedCreateWithoutCreatedByInput> | Prisma.ProjectAccessTokenCreateWithoutCreatedByInput[] | Prisma.ProjectAccessTokenUncheckedCreateWithoutCreatedByInput[]
|
|
478
|
+
connectOrCreate?: Prisma.ProjectAccessTokenCreateOrConnectWithoutCreatedByInput | Prisma.ProjectAccessTokenCreateOrConnectWithoutCreatedByInput[]
|
|
479
|
+
upsert?: Prisma.ProjectAccessTokenUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.ProjectAccessTokenUpsertWithWhereUniqueWithoutCreatedByInput[]
|
|
480
|
+
createMany?: Prisma.ProjectAccessTokenCreateManyCreatedByInputEnvelope
|
|
481
|
+
set?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
482
|
+
disconnect?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
483
|
+
delete?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
484
|
+
connect?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
485
|
+
update?: Prisma.ProjectAccessTokenUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.ProjectAccessTokenUpdateWithWhereUniqueWithoutCreatedByInput[]
|
|
486
|
+
updateMany?: Prisma.ProjectAccessTokenUpdateManyWithWhereWithoutCreatedByInput | Prisma.ProjectAccessTokenUpdateManyWithWhereWithoutCreatedByInput[]
|
|
487
|
+
deleteMany?: Prisma.ProjectAccessTokenScalarWhereInput | Prisma.ProjectAccessTokenScalarWhereInput[]
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export type ProjectAccessTokenCreateNestedManyWithoutProjectInput = {
|
|
491
|
+
create?: Prisma.XOR<Prisma.ProjectAccessTokenCreateWithoutProjectInput, Prisma.ProjectAccessTokenUncheckedCreateWithoutProjectInput> | Prisma.ProjectAccessTokenCreateWithoutProjectInput[] | Prisma.ProjectAccessTokenUncheckedCreateWithoutProjectInput[]
|
|
492
|
+
connectOrCreate?: Prisma.ProjectAccessTokenCreateOrConnectWithoutProjectInput | Prisma.ProjectAccessTokenCreateOrConnectWithoutProjectInput[]
|
|
493
|
+
createMany?: Prisma.ProjectAccessTokenCreateManyProjectInputEnvelope
|
|
494
|
+
connect?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export type ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput = {
|
|
498
|
+
create?: Prisma.XOR<Prisma.ProjectAccessTokenCreateWithoutProjectInput, Prisma.ProjectAccessTokenUncheckedCreateWithoutProjectInput> | Prisma.ProjectAccessTokenCreateWithoutProjectInput[] | Prisma.ProjectAccessTokenUncheckedCreateWithoutProjectInput[]
|
|
499
|
+
connectOrCreate?: Prisma.ProjectAccessTokenCreateOrConnectWithoutProjectInput | Prisma.ProjectAccessTokenCreateOrConnectWithoutProjectInput[]
|
|
500
|
+
createMany?: Prisma.ProjectAccessTokenCreateManyProjectInputEnvelope
|
|
501
|
+
connect?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export type ProjectAccessTokenUpdateManyWithoutProjectNestedInput = {
|
|
505
|
+
create?: Prisma.XOR<Prisma.ProjectAccessTokenCreateWithoutProjectInput, Prisma.ProjectAccessTokenUncheckedCreateWithoutProjectInput> | Prisma.ProjectAccessTokenCreateWithoutProjectInput[] | Prisma.ProjectAccessTokenUncheckedCreateWithoutProjectInput[]
|
|
506
|
+
connectOrCreate?: Prisma.ProjectAccessTokenCreateOrConnectWithoutProjectInput | Prisma.ProjectAccessTokenCreateOrConnectWithoutProjectInput[]
|
|
507
|
+
upsert?: Prisma.ProjectAccessTokenUpsertWithWhereUniqueWithoutProjectInput | Prisma.ProjectAccessTokenUpsertWithWhereUniqueWithoutProjectInput[]
|
|
508
|
+
createMany?: Prisma.ProjectAccessTokenCreateManyProjectInputEnvelope
|
|
509
|
+
set?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
510
|
+
disconnect?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
511
|
+
delete?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
512
|
+
connect?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
513
|
+
update?: Prisma.ProjectAccessTokenUpdateWithWhereUniqueWithoutProjectInput | Prisma.ProjectAccessTokenUpdateWithWhereUniqueWithoutProjectInput[]
|
|
514
|
+
updateMany?: Prisma.ProjectAccessTokenUpdateManyWithWhereWithoutProjectInput | Prisma.ProjectAccessTokenUpdateManyWithWhereWithoutProjectInput[]
|
|
515
|
+
deleteMany?: Prisma.ProjectAccessTokenScalarWhereInput | Prisma.ProjectAccessTokenScalarWhereInput[]
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export type ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput = {
|
|
519
|
+
create?: Prisma.XOR<Prisma.ProjectAccessTokenCreateWithoutProjectInput, Prisma.ProjectAccessTokenUncheckedCreateWithoutProjectInput> | Prisma.ProjectAccessTokenCreateWithoutProjectInput[] | Prisma.ProjectAccessTokenUncheckedCreateWithoutProjectInput[]
|
|
520
|
+
connectOrCreate?: Prisma.ProjectAccessTokenCreateOrConnectWithoutProjectInput | Prisma.ProjectAccessTokenCreateOrConnectWithoutProjectInput[]
|
|
521
|
+
upsert?: Prisma.ProjectAccessTokenUpsertWithWhereUniqueWithoutProjectInput | Prisma.ProjectAccessTokenUpsertWithWhereUniqueWithoutProjectInput[]
|
|
522
|
+
createMany?: Prisma.ProjectAccessTokenCreateManyProjectInputEnvelope
|
|
523
|
+
set?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
524
|
+
disconnect?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
525
|
+
delete?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
526
|
+
connect?: Prisma.ProjectAccessTokenWhereUniqueInput | Prisma.ProjectAccessTokenWhereUniqueInput[]
|
|
527
|
+
update?: Prisma.ProjectAccessTokenUpdateWithWhereUniqueWithoutProjectInput | Prisma.ProjectAccessTokenUpdateWithWhereUniqueWithoutProjectInput[]
|
|
528
|
+
updateMany?: Prisma.ProjectAccessTokenUpdateManyWithWhereWithoutProjectInput | Prisma.ProjectAccessTokenUpdateManyWithWhereWithoutProjectInput[]
|
|
529
|
+
deleteMany?: Prisma.ProjectAccessTokenScalarWhereInput | Prisma.ProjectAccessTokenScalarWhereInput[]
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export type ProjectAccessTokenCreateWithoutCreatedByInput = {
|
|
533
|
+
id?: string
|
|
534
|
+
name: string
|
|
535
|
+
scope: string
|
|
536
|
+
tokenHash: string
|
|
537
|
+
tokenPrefix: string
|
|
538
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
539
|
+
lastUsedAt?: Date | string | null
|
|
540
|
+
revokedAt?: Date | string | null
|
|
541
|
+
createdAt?: Date | string
|
|
542
|
+
project: Prisma.ProjectCreateNestedOneWithoutAccessTokensInput
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export type ProjectAccessTokenUncheckedCreateWithoutCreatedByInput = {
|
|
546
|
+
id?: string
|
|
547
|
+
projectId: string
|
|
548
|
+
name: string
|
|
549
|
+
scope: string
|
|
550
|
+
tokenHash: string
|
|
551
|
+
tokenPrefix: string
|
|
552
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
553
|
+
lastUsedAt?: Date | string | null
|
|
554
|
+
revokedAt?: Date | string | null
|
|
555
|
+
createdAt?: Date | string
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export type ProjectAccessTokenCreateOrConnectWithoutCreatedByInput = {
|
|
559
|
+
where: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
560
|
+
create: Prisma.XOR<Prisma.ProjectAccessTokenCreateWithoutCreatedByInput, Prisma.ProjectAccessTokenUncheckedCreateWithoutCreatedByInput>
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export type ProjectAccessTokenCreateManyCreatedByInputEnvelope = {
|
|
564
|
+
data: Prisma.ProjectAccessTokenCreateManyCreatedByInput | Prisma.ProjectAccessTokenCreateManyCreatedByInput[]
|
|
565
|
+
skipDuplicates?: boolean
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export type ProjectAccessTokenUpsertWithWhereUniqueWithoutCreatedByInput = {
|
|
569
|
+
where: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
570
|
+
update: Prisma.XOR<Prisma.ProjectAccessTokenUpdateWithoutCreatedByInput, Prisma.ProjectAccessTokenUncheckedUpdateWithoutCreatedByInput>
|
|
571
|
+
create: Prisma.XOR<Prisma.ProjectAccessTokenCreateWithoutCreatedByInput, Prisma.ProjectAccessTokenUncheckedCreateWithoutCreatedByInput>
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export type ProjectAccessTokenUpdateWithWhereUniqueWithoutCreatedByInput = {
|
|
575
|
+
where: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
576
|
+
data: Prisma.XOR<Prisma.ProjectAccessTokenUpdateWithoutCreatedByInput, Prisma.ProjectAccessTokenUncheckedUpdateWithoutCreatedByInput>
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export type ProjectAccessTokenUpdateManyWithWhereWithoutCreatedByInput = {
|
|
580
|
+
where: Prisma.ProjectAccessTokenScalarWhereInput
|
|
581
|
+
data: Prisma.XOR<Prisma.ProjectAccessTokenUpdateManyMutationInput, Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutCreatedByInput>
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export type ProjectAccessTokenScalarWhereInput = {
|
|
585
|
+
AND?: Prisma.ProjectAccessTokenScalarWhereInput | Prisma.ProjectAccessTokenScalarWhereInput[]
|
|
586
|
+
OR?: Prisma.ProjectAccessTokenScalarWhereInput[]
|
|
587
|
+
NOT?: Prisma.ProjectAccessTokenScalarWhereInput | Prisma.ProjectAccessTokenScalarWhereInput[]
|
|
588
|
+
id?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
589
|
+
projectId?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
590
|
+
name?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
591
|
+
scope?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
592
|
+
tokenHash?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
593
|
+
tokenPrefix?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
594
|
+
config?: Prisma.JsonNullableFilter<"ProjectAccessToken">
|
|
595
|
+
lastUsedAt?: Prisma.DateTimeNullableFilter<"ProjectAccessToken"> | Date | string | null
|
|
596
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"ProjectAccessToken"> | Date | string | null
|
|
597
|
+
createdById?: Prisma.StringFilter<"ProjectAccessToken"> | string
|
|
598
|
+
createdAt?: Prisma.DateTimeFilter<"ProjectAccessToken"> | Date | string
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export type ProjectAccessTokenCreateWithoutProjectInput = {
|
|
602
|
+
id?: string
|
|
603
|
+
name: string
|
|
604
|
+
scope: string
|
|
605
|
+
tokenHash: string
|
|
606
|
+
tokenPrefix: string
|
|
607
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
608
|
+
lastUsedAt?: Date | string | null
|
|
609
|
+
revokedAt?: Date | string | null
|
|
610
|
+
createdAt?: Date | string
|
|
611
|
+
createdBy: Prisma.UserCreateNestedOneWithoutProjectAccessTokensInput
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export type ProjectAccessTokenUncheckedCreateWithoutProjectInput = {
|
|
615
|
+
id?: string
|
|
616
|
+
name: string
|
|
617
|
+
scope: string
|
|
618
|
+
tokenHash: string
|
|
619
|
+
tokenPrefix: string
|
|
620
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
621
|
+
lastUsedAt?: Date | string | null
|
|
622
|
+
revokedAt?: Date | string | null
|
|
623
|
+
createdById: string
|
|
624
|
+
createdAt?: Date | string
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
export type ProjectAccessTokenCreateOrConnectWithoutProjectInput = {
|
|
628
|
+
where: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
629
|
+
create: Prisma.XOR<Prisma.ProjectAccessTokenCreateWithoutProjectInput, Prisma.ProjectAccessTokenUncheckedCreateWithoutProjectInput>
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
export type ProjectAccessTokenCreateManyProjectInputEnvelope = {
|
|
633
|
+
data: Prisma.ProjectAccessTokenCreateManyProjectInput | Prisma.ProjectAccessTokenCreateManyProjectInput[]
|
|
634
|
+
skipDuplicates?: boolean
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
export type ProjectAccessTokenUpsertWithWhereUniqueWithoutProjectInput = {
|
|
638
|
+
where: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
639
|
+
update: Prisma.XOR<Prisma.ProjectAccessTokenUpdateWithoutProjectInput, Prisma.ProjectAccessTokenUncheckedUpdateWithoutProjectInput>
|
|
640
|
+
create: Prisma.XOR<Prisma.ProjectAccessTokenCreateWithoutProjectInput, Prisma.ProjectAccessTokenUncheckedCreateWithoutProjectInput>
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
export type ProjectAccessTokenUpdateWithWhereUniqueWithoutProjectInput = {
|
|
644
|
+
where: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
645
|
+
data: Prisma.XOR<Prisma.ProjectAccessTokenUpdateWithoutProjectInput, Prisma.ProjectAccessTokenUncheckedUpdateWithoutProjectInput>
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
export type ProjectAccessTokenUpdateManyWithWhereWithoutProjectInput = {
|
|
649
|
+
where: Prisma.ProjectAccessTokenScalarWhereInput
|
|
650
|
+
data: Prisma.XOR<Prisma.ProjectAccessTokenUpdateManyMutationInput, Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectInput>
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
export type ProjectAccessTokenCreateManyCreatedByInput = {
|
|
654
|
+
id?: string
|
|
655
|
+
projectId: string
|
|
656
|
+
name: string
|
|
657
|
+
scope: string
|
|
658
|
+
tokenHash: string
|
|
659
|
+
tokenPrefix: string
|
|
660
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
661
|
+
lastUsedAt?: Date | string | null
|
|
662
|
+
revokedAt?: Date | string | null
|
|
663
|
+
createdAt?: Date | string
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export type ProjectAccessTokenUpdateWithoutCreatedByInput = {
|
|
667
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
668
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
669
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string
|
|
670
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
671
|
+
tokenPrefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
672
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
673
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
674
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
675
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
676
|
+
project?: Prisma.ProjectUpdateOneRequiredWithoutAccessTokensNestedInput
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
export type ProjectAccessTokenUncheckedUpdateWithoutCreatedByInput = {
|
|
680
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
681
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
682
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
683
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string
|
|
684
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
685
|
+
tokenPrefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
686
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
687
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
688
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
689
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export type ProjectAccessTokenUncheckedUpdateManyWithoutCreatedByInput = {
|
|
693
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
694
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
695
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
696
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string
|
|
697
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
698
|
+
tokenPrefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
699
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
700
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
701
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
702
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
export type ProjectAccessTokenCreateManyProjectInput = {
|
|
706
|
+
id?: string
|
|
707
|
+
name: string
|
|
708
|
+
scope: string
|
|
709
|
+
tokenHash: string
|
|
710
|
+
tokenPrefix: string
|
|
711
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
712
|
+
lastUsedAt?: Date | string | null
|
|
713
|
+
revokedAt?: Date | string | null
|
|
714
|
+
createdById: string
|
|
715
|
+
createdAt?: Date | string
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
export type ProjectAccessTokenUpdateWithoutProjectInput = {
|
|
719
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
720
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
721
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string
|
|
722
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
723
|
+
tokenPrefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
724
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
725
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
726
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
727
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
728
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutProjectAccessTokensNestedInput
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export type ProjectAccessTokenUncheckedUpdateWithoutProjectInput = {
|
|
732
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
733
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
734
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string
|
|
735
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
736
|
+
tokenPrefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
737
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
738
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
739
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
740
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
741
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
export type ProjectAccessTokenUncheckedUpdateManyWithoutProjectInput = {
|
|
745
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
746
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
747
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string
|
|
748
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
749
|
+
tokenPrefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
750
|
+
config?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
751
|
+
lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
752
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
753
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
754
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
export type ProjectAccessTokenSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
760
|
+
id?: boolean
|
|
761
|
+
projectId?: boolean
|
|
762
|
+
name?: boolean
|
|
763
|
+
scope?: boolean
|
|
764
|
+
tokenHash?: boolean
|
|
765
|
+
tokenPrefix?: boolean
|
|
766
|
+
config?: boolean
|
|
767
|
+
lastUsedAt?: boolean
|
|
768
|
+
revokedAt?: boolean
|
|
769
|
+
createdById?: boolean
|
|
770
|
+
createdAt?: boolean
|
|
771
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
772
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
773
|
+
}, ExtArgs["result"]["projectAccessToken"]>
|
|
774
|
+
|
|
775
|
+
export type ProjectAccessTokenSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
776
|
+
id?: boolean
|
|
777
|
+
projectId?: boolean
|
|
778
|
+
name?: boolean
|
|
779
|
+
scope?: boolean
|
|
780
|
+
tokenHash?: boolean
|
|
781
|
+
tokenPrefix?: boolean
|
|
782
|
+
config?: boolean
|
|
783
|
+
lastUsedAt?: boolean
|
|
784
|
+
revokedAt?: boolean
|
|
785
|
+
createdById?: boolean
|
|
786
|
+
createdAt?: boolean
|
|
787
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
788
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
789
|
+
}, ExtArgs["result"]["projectAccessToken"]>
|
|
790
|
+
|
|
791
|
+
export type ProjectAccessTokenSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
792
|
+
id?: boolean
|
|
793
|
+
projectId?: boolean
|
|
794
|
+
name?: boolean
|
|
795
|
+
scope?: boolean
|
|
796
|
+
tokenHash?: boolean
|
|
797
|
+
tokenPrefix?: boolean
|
|
798
|
+
config?: boolean
|
|
799
|
+
lastUsedAt?: boolean
|
|
800
|
+
revokedAt?: boolean
|
|
801
|
+
createdById?: boolean
|
|
802
|
+
createdAt?: boolean
|
|
803
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
804
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
805
|
+
}, ExtArgs["result"]["projectAccessToken"]>
|
|
806
|
+
|
|
807
|
+
export type ProjectAccessTokenSelectScalar = {
|
|
808
|
+
id?: boolean
|
|
809
|
+
projectId?: boolean
|
|
810
|
+
name?: boolean
|
|
811
|
+
scope?: boolean
|
|
812
|
+
tokenHash?: boolean
|
|
813
|
+
tokenPrefix?: boolean
|
|
814
|
+
config?: boolean
|
|
815
|
+
lastUsedAt?: boolean
|
|
816
|
+
revokedAt?: boolean
|
|
817
|
+
createdById?: boolean
|
|
818
|
+
createdAt?: boolean
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
export type ProjectAccessTokenOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "projectId" | "name" | "scope" | "tokenHash" | "tokenPrefix" | "config" | "lastUsedAt" | "revokedAt" | "createdById" | "createdAt", ExtArgs["result"]["projectAccessToken"]>
|
|
822
|
+
export type ProjectAccessTokenInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
823
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
824
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
825
|
+
}
|
|
826
|
+
export type ProjectAccessTokenIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
827
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
828
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
829
|
+
}
|
|
830
|
+
export type ProjectAccessTokenIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
831
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
832
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
export type $ProjectAccessTokenPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
836
|
+
name: "ProjectAccessToken"
|
|
837
|
+
objects: {
|
|
838
|
+
project: Prisma.$ProjectPayload<ExtArgs>
|
|
839
|
+
createdBy: Prisma.$UserPayload<ExtArgs>
|
|
840
|
+
}
|
|
841
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
842
|
+
id: string
|
|
843
|
+
projectId: string
|
|
844
|
+
name: string
|
|
845
|
+
scope: string
|
|
846
|
+
tokenHash: string
|
|
847
|
+
tokenPrefix: string
|
|
848
|
+
config: runtime.JsonValue | null
|
|
849
|
+
lastUsedAt: Date | null
|
|
850
|
+
revokedAt: Date | null
|
|
851
|
+
createdById: string
|
|
852
|
+
createdAt: Date
|
|
853
|
+
}, ExtArgs["result"]["projectAccessToken"]>
|
|
854
|
+
composites: {}
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
export type ProjectAccessTokenGetPayload<S extends boolean | null | undefined | ProjectAccessTokenDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload, S>
|
|
858
|
+
|
|
859
|
+
export type ProjectAccessTokenCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
860
|
+
Omit<ProjectAccessTokenFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
861
|
+
select?: ProjectAccessTokenCountAggregateInputType | true
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
export interface ProjectAccessTokenDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
865
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProjectAccessToken'], meta: { name: 'ProjectAccessToken' } }
|
|
866
|
+
/**
|
|
867
|
+
* Find zero or one ProjectAccessToken that matches the filter.
|
|
868
|
+
* @param {ProjectAccessTokenFindUniqueArgs} args - Arguments to find a ProjectAccessToken
|
|
869
|
+
* @example
|
|
870
|
+
* // Get one ProjectAccessToken
|
|
871
|
+
* const projectAccessToken = await prisma.projectAccessToken.findUnique({
|
|
872
|
+
* where: {
|
|
873
|
+
* // ... provide filter here
|
|
874
|
+
* }
|
|
875
|
+
* })
|
|
876
|
+
*/
|
|
877
|
+
findUnique<T extends ProjectAccessTokenFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjectAccessTokenFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjectAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* Find one ProjectAccessToken that matches the filter or throw an error with `error.code='P2025'`
|
|
881
|
+
* if no matches were found.
|
|
882
|
+
* @param {ProjectAccessTokenFindUniqueOrThrowArgs} args - Arguments to find a ProjectAccessToken
|
|
883
|
+
* @example
|
|
884
|
+
* // Get one ProjectAccessToken
|
|
885
|
+
* const projectAccessToken = await prisma.projectAccessToken.findUniqueOrThrow({
|
|
886
|
+
* where: {
|
|
887
|
+
* // ... provide filter here
|
|
888
|
+
* }
|
|
889
|
+
* })
|
|
890
|
+
*/
|
|
891
|
+
findUniqueOrThrow<T extends ProjectAccessTokenFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjectAccessTokenFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* Find the first ProjectAccessToken that matches the filter.
|
|
895
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
896
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
897
|
+
* @param {ProjectAccessTokenFindFirstArgs} args - Arguments to find a ProjectAccessToken
|
|
898
|
+
* @example
|
|
899
|
+
* // Get one ProjectAccessToken
|
|
900
|
+
* const projectAccessToken = await prisma.projectAccessToken.findFirst({
|
|
901
|
+
* where: {
|
|
902
|
+
* // ... provide filter here
|
|
903
|
+
* }
|
|
904
|
+
* })
|
|
905
|
+
*/
|
|
906
|
+
findFirst<T extends ProjectAccessTokenFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjectAccessTokenFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjectAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* Find the first ProjectAccessToken that matches the filter or
|
|
910
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
911
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
912
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
913
|
+
* @param {ProjectAccessTokenFindFirstOrThrowArgs} args - Arguments to find a ProjectAccessToken
|
|
914
|
+
* @example
|
|
915
|
+
* // Get one ProjectAccessToken
|
|
916
|
+
* const projectAccessToken = await prisma.projectAccessToken.findFirstOrThrow({
|
|
917
|
+
* where: {
|
|
918
|
+
* // ... provide filter here
|
|
919
|
+
* }
|
|
920
|
+
* })
|
|
921
|
+
*/
|
|
922
|
+
findFirstOrThrow<T extends ProjectAccessTokenFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjectAccessTokenFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* Find zero or more ProjectAccessTokens that matches the filter.
|
|
926
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
927
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
928
|
+
* @param {ProjectAccessTokenFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
929
|
+
* @example
|
|
930
|
+
* // Get all ProjectAccessTokens
|
|
931
|
+
* const projectAccessTokens = await prisma.projectAccessToken.findMany()
|
|
932
|
+
*
|
|
933
|
+
* // Get first 10 ProjectAccessTokens
|
|
934
|
+
* const projectAccessTokens = await prisma.projectAccessToken.findMany({ take: 10 })
|
|
935
|
+
*
|
|
936
|
+
* // Only select the `id`
|
|
937
|
+
* const projectAccessTokenWithIdOnly = await prisma.projectAccessToken.findMany({ select: { id: true } })
|
|
938
|
+
*
|
|
939
|
+
*/
|
|
940
|
+
findMany<T extends ProjectAccessTokenFindManyArgs>(args?: Prisma.SelectSubset<T, ProjectAccessTokenFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Create a ProjectAccessToken.
|
|
944
|
+
* @param {ProjectAccessTokenCreateArgs} args - Arguments to create a ProjectAccessToken.
|
|
945
|
+
* @example
|
|
946
|
+
* // Create one ProjectAccessToken
|
|
947
|
+
* const ProjectAccessToken = await prisma.projectAccessToken.create({
|
|
948
|
+
* data: {
|
|
949
|
+
* // ... data to create a ProjectAccessToken
|
|
950
|
+
* }
|
|
951
|
+
* })
|
|
952
|
+
*
|
|
953
|
+
*/
|
|
954
|
+
create<T extends ProjectAccessTokenCreateArgs>(args: Prisma.SelectSubset<T, ProjectAccessTokenCreateArgs<ExtArgs>>): Prisma.Prisma__ProjectAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Create many ProjectAccessTokens.
|
|
958
|
+
* @param {ProjectAccessTokenCreateManyArgs} args - Arguments to create many ProjectAccessTokens.
|
|
959
|
+
* @example
|
|
960
|
+
* // Create many ProjectAccessTokens
|
|
961
|
+
* const projectAccessToken = await prisma.projectAccessToken.createMany({
|
|
962
|
+
* data: [
|
|
963
|
+
* // ... provide data here
|
|
964
|
+
* ]
|
|
965
|
+
* })
|
|
966
|
+
*
|
|
967
|
+
*/
|
|
968
|
+
createMany<T extends ProjectAccessTokenCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjectAccessTokenCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* Create many ProjectAccessTokens and returns the data saved in the database.
|
|
972
|
+
* @param {ProjectAccessTokenCreateManyAndReturnArgs} args - Arguments to create many ProjectAccessTokens.
|
|
973
|
+
* @example
|
|
974
|
+
* // Create many ProjectAccessTokens
|
|
975
|
+
* const projectAccessToken = await prisma.projectAccessToken.createManyAndReturn({
|
|
976
|
+
* data: [
|
|
977
|
+
* // ... provide data here
|
|
978
|
+
* ]
|
|
979
|
+
* })
|
|
980
|
+
*
|
|
981
|
+
* // Create many ProjectAccessTokens and only return the `id`
|
|
982
|
+
* const projectAccessTokenWithIdOnly = await prisma.projectAccessToken.createManyAndReturn({
|
|
983
|
+
* select: { id: true },
|
|
984
|
+
* data: [
|
|
985
|
+
* // ... provide data here
|
|
986
|
+
* ]
|
|
987
|
+
* })
|
|
988
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
989
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
990
|
+
*
|
|
991
|
+
*/
|
|
992
|
+
createManyAndReturn<T extends ProjectAccessTokenCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjectAccessTokenCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* Delete a ProjectAccessToken.
|
|
996
|
+
* @param {ProjectAccessTokenDeleteArgs} args - Arguments to delete one ProjectAccessToken.
|
|
997
|
+
* @example
|
|
998
|
+
* // Delete one ProjectAccessToken
|
|
999
|
+
* const ProjectAccessToken = await prisma.projectAccessToken.delete({
|
|
1000
|
+
* where: {
|
|
1001
|
+
* // ... filter to delete one ProjectAccessToken
|
|
1002
|
+
* }
|
|
1003
|
+
* })
|
|
1004
|
+
*
|
|
1005
|
+
*/
|
|
1006
|
+
delete<T extends ProjectAccessTokenDeleteArgs>(args: Prisma.SelectSubset<T, ProjectAccessTokenDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjectAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* Update one ProjectAccessToken.
|
|
1010
|
+
* @param {ProjectAccessTokenUpdateArgs} args - Arguments to update one ProjectAccessToken.
|
|
1011
|
+
* @example
|
|
1012
|
+
* // Update one ProjectAccessToken
|
|
1013
|
+
* const projectAccessToken = await prisma.projectAccessToken.update({
|
|
1014
|
+
* where: {
|
|
1015
|
+
* // ... provide filter here
|
|
1016
|
+
* },
|
|
1017
|
+
* data: {
|
|
1018
|
+
* // ... provide data here
|
|
1019
|
+
* }
|
|
1020
|
+
* })
|
|
1021
|
+
*
|
|
1022
|
+
*/
|
|
1023
|
+
update<T extends ProjectAccessTokenUpdateArgs>(args: Prisma.SelectSubset<T, ProjectAccessTokenUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjectAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* Delete zero or more ProjectAccessTokens.
|
|
1027
|
+
* @param {ProjectAccessTokenDeleteManyArgs} args - Arguments to filter ProjectAccessTokens to delete.
|
|
1028
|
+
* @example
|
|
1029
|
+
* // Delete a few ProjectAccessTokens
|
|
1030
|
+
* const { count } = await prisma.projectAccessToken.deleteMany({
|
|
1031
|
+
* where: {
|
|
1032
|
+
* // ... provide filter here
|
|
1033
|
+
* }
|
|
1034
|
+
* })
|
|
1035
|
+
*
|
|
1036
|
+
*/
|
|
1037
|
+
deleteMany<T extends ProjectAccessTokenDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjectAccessTokenDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Update zero or more ProjectAccessTokens.
|
|
1041
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1042
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1043
|
+
* @param {ProjectAccessTokenUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1044
|
+
* @example
|
|
1045
|
+
* // Update many ProjectAccessTokens
|
|
1046
|
+
* const projectAccessToken = await prisma.projectAccessToken.updateMany({
|
|
1047
|
+
* where: {
|
|
1048
|
+
* // ... provide filter here
|
|
1049
|
+
* },
|
|
1050
|
+
* data: {
|
|
1051
|
+
* // ... provide data here
|
|
1052
|
+
* }
|
|
1053
|
+
* })
|
|
1054
|
+
*
|
|
1055
|
+
*/
|
|
1056
|
+
updateMany<T extends ProjectAccessTokenUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjectAccessTokenUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* Update zero or more ProjectAccessTokens and returns the data updated in the database.
|
|
1060
|
+
* @param {ProjectAccessTokenUpdateManyAndReturnArgs} args - Arguments to update many ProjectAccessTokens.
|
|
1061
|
+
* @example
|
|
1062
|
+
* // Update many ProjectAccessTokens
|
|
1063
|
+
* const projectAccessToken = await prisma.projectAccessToken.updateManyAndReturn({
|
|
1064
|
+
* where: {
|
|
1065
|
+
* // ... provide filter here
|
|
1066
|
+
* },
|
|
1067
|
+
* data: [
|
|
1068
|
+
* // ... provide data here
|
|
1069
|
+
* ]
|
|
1070
|
+
* })
|
|
1071
|
+
*
|
|
1072
|
+
* // Update zero or more ProjectAccessTokens and only return the `id`
|
|
1073
|
+
* const projectAccessTokenWithIdOnly = await prisma.projectAccessToken.updateManyAndReturn({
|
|
1074
|
+
* select: { id: true },
|
|
1075
|
+
* where: {
|
|
1076
|
+
* // ... provide filter here
|
|
1077
|
+
* },
|
|
1078
|
+
* data: [
|
|
1079
|
+
* // ... provide data here
|
|
1080
|
+
* ]
|
|
1081
|
+
* })
|
|
1082
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1083
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1084
|
+
*
|
|
1085
|
+
*/
|
|
1086
|
+
updateManyAndReturn<T extends ProjectAccessTokenUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjectAccessTokenUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* Create or update one ProjectAccessToken.
|
|
1090
|
+
* @param {ProjectAccessTokenUpsertArgs} args - Arguments to update or create a ProjectAccessToken.
|
|
1091
|
+
* @example
|
|
1092
|
+
* // Update or create a ProjectAccessToken
|
|
1093
|
+
* const projectAccessToken = await prisma.projectAccessToken.upsert({
|
|
1094
|
+
* create: {
|
|
1095
|
+
* // ... data to create a ProjectAccessToken
|
|
1096
|
+
* },
|
|
1097
|
+
* update: {
|
|
1098
|
+
* // ... in case it already exists, update
|
|
1099
|
+
* },
|
|
1100
|
+
* where: {
|
|
1101
|
+
* // ... the filter for the ProjectAccessToken we want to update
|
|
1102
|
+
* }
|
|
1103
|
+
* })
|
|
1104
|
+
*/
|
|
1105
|
+
upsert<T extends ProjectAccessTokenUpsertArgs>(args: Prisma.SelectSubset<T, ProjectAccessTokenUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjectAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* Count the number of ProjectAccessTokens.
|
|
1110
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1111
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1112
|
+
* @param {ProjectAccessTokenCountArgs} args - Arguments to filter ProjectAccessTokens to count.
|
|
1113
|
+
* @example
|
|
1114
|
+
* // Count the number of ProjectAccessTokens
|
|
1115
|
+
* const count = await prisma.projectAccessToken.count({
|
|
1116
|
+
* where: {
|
|
1117
|
+
* // ... the filter for the ProjectAccessTokens we want to count
|
|
1118
|
+
* }
|
|
1119
|
+
* })
|
|
1120
|
+
**/
|
|
1121
|
+
count<T extends ProjectAccessTokenCountArgs>(
|
|
1122
|
+
args?: Prisma.Subset<T, ProjectAccessTokenCountArgs>,
|
|
1123
|
+
): Prisma.PrismaPromise<
|
|
1124
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1125
|
+
? T['select'] extends true
|
|
1126
|
+
? number
|
|
1127
|
+
: Prisma.GetScalarType<T['select'], ProjectAccessTokenCountAggregateOutputType>
|
|
1128
|
+
: number
|
|
1129
|
+
>
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Allows you to perform aggregations operations on a ProjectAccessToken.
|
|
1133
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1134
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1135
|
+
* @param {ProjectAccessTokenAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1136
|
+
* @example
|
|
1137
|
+
* // Ordered by age ascending
|
|
1138
|
+
* // Where email contains prisma.io
|
|
1139
|
+
* // Limited to the 10 users
|
|
1140
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1141
|
+
* _avg: {
|
|
1142
|
+
* age: true,
|
|
1143
|
+
* },
|
|
1144
|
+
* where: {
|
|
1145
|
+
* email: {
|
|
1146
|
+
* contains: "prisma.io",
|
|
1147
|
+
* },
|
|
1148
|
+
* },
|
|
1149
|
+
* orderBy: {
|
|
1150
|
+
* age: "asc",
|
|
1151
|
+
* },
|
|
1152
|
+
* take: 10,
|
|
1153
|
+
* })
|
|
1154
|
+
**/
|
|
1155
|
+
aggregate<T extends ProjectAccessTokenAggregateArgs>(args: Prisma.Subset<T, ProjectAccessTokenAggregateArgs>): Prisma.PrismaPromise<GetProjectAccessTokenAggregateType<T>>
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* Group by ProjectAccessToken.
|
|
1159
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1160
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1161
|
+
* @param {ProjectAccessTokenGroupByArgs} args - Group by arguments.
|
|
1162
|
+
* @example
|
|
1163
|
+
* // Group by city, order by createdAt, get count
|
|
1164
|
+
* const result = await prisma.user.groupBy({
|
|
1165
|
+
* by: ['city', 'createdAt'],
|
|
1166
|
+
* orderBy: {
|
|
1167
|
+
* createdAt: true
|
|
1168
|
+
* },
|
|
1169
|
+
* _count: {
|
|
1170
|
+
* _all: true
|
|
1171
|
+
* },
|
|
1172
|
+
* })
|
|
1173
|
+
*
|
|
1174
|
+
**/
|
|
1175
|
+
groupBy<
|
|
1176
|
+
T extends ProjectAccessTokenGroupByArgs,
|
|
1177
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1178
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1179
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1180
|
+
>,
|
|
1181
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1182
|
+
? { orderBy: ProjectAccessTokenGroupByArgs['orderBy'] }
|
|
1183
|
+
: { orderBy?: ProjectAccessTokenGroupByArgs['orderBy'] },
|
|
1184
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1185
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1186
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1187
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1188
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1189
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1190
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1191
|
+
? `Error: "by" must not be empty.`
|
|
1192
|
+
: HavingValid extends Prisma.False
|
|
1193
|
+
? {
|
|
1194
|
+
[P in HavingFields]: P extends ByFields
|
|
1195
|
+
? never
|
|
1196
|
+
: P extends string
|
|
1197
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1198
|
+
: [
|
|
1199
|
+
Error,
|
|
1200
|
+
'Field ',
|
|
1201
|
+
P,
|
|
1202
|
+
` in "having" needs to be provided in "by"`,
|
|
1203
|
+
]
|
|
1204
|
+
}[HavingFields]
|
|
1205
|
+
: 'take' extends Prisma.Keys<T>
|
|
1206
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1207
|
+
? ByValid extends Prisma.True
|
|
1208
|
+
? {}
|
|
1209
|
+
: {
|
|
1210
|
+
[P in OrderFields]: P extends ByFields
|
|
1211
|
+
? never
|
|
1212
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1213
|
+
}[OrderFields]
|
|
1214
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1215
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1216
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1217
|
+
? ByValid extends Prisma.True
|
|
1218
|
+
? {}
|
|
1219
|
+
: {
|
|
1220
|
+
[P in OrderFields]: P extends ByFields
|
|
1221
|
+
? never
|
|
1222
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1223
|
+
}[OrderFields]
|
|
1224
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1225
|
+
: ByValid extends Prisma.True
|
|
1226
|
+
? {}
|
|
1227
|
+
: {
|
|
1228
|
+
[P in OrderFields]: P extends ByFields
|
|
1229
|
+
? never
|
|
1230
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1231
|
+
}[OrderFields]
|
|
1232
|
+
>(args: Prisma.SubsetIntersection<T, ProjectAccessTokenGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjectAccessTokenGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1233
|
+
/**
|
|
1234
|
+
* Fields of the ProjectAccessToken model
|
|
1235
|
+
*/
|
|
1236
|
+
readonly fields: ProjectAccessTokenFieldRefs;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* The delegate class that acts as a "Promise-like" for ProjectAccessToken.
|
|
1241
|
+
* Why is this prefixed with `Prisma__`?
|
|
1242
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1243
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1244
|
+
*/
|
|
1245
|
+
export interface Prisma__ProjectAccessTokenClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1246
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1247
|
+
project<T extends Prisma.ProjectDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjectDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1248
|
+
createdBy<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>
|
|
1249
|
+
/**
|
|
1250
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1251
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1252
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1253
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1254
|
+
*/
|
|
1255
|
+
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>
|
|
1256
|
+
/**
|
|
1257
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1258
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1259
|
+
* @returns A Promise for the completion of the callback.
|
|
1260
|
+
*/
|
|
1261
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1262
|
+
/**
|
|
1263
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1264
|
+
* resolved value cannot be modified from the callback.
|
|
1265
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1266
|
+
* @returns A Promise for the completion of the callback.
|
|
1267
|
+
*/
|
|
1268
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* Fields of the ProjectAccessToken model
|
|
1276
|
+
*/
|
|
1277
|
+
export interface ProjectAccessTokenFieldRefs {
|
|
1278
|
+
readonly id: Prisma.FieldRef<"ProjectAccessToken", 'String'>
|
|
1279
|
+
readonly projectId: Prisma.FieldRef<"ProjectAccessToken", 'String'>
|
|
1280
|
+
readonly name: Prisma.FieldRef<"ProjectAccessToken", 'String'>
|
|
1281
|
+
readonly scope: Prisma.FieldRef<"ProjectAccessToken", 'String'>
|
|
1282
|
+
readonly tokenHash: Prisma.FieldRef<"ProjectAccessToken", 'String'>
|
|
1283
|
+
readonly tokenPrefix: Prisma.FieldRef<"ProjectAccessToken", 'String'>
|
|
1284
|
+
readonly config: Prisma.FieldRef<"ProjectAccessToken", 'Json'>
|
|
1285
|
+
readonly lastUsedAt: Prisma.FieldRef<"ProjectAccessToken", 'DateTime'>
|
|
1286
|
+
readonly revokedAt: Prisma.FieldRef<"ProjectAccessToken", 'DateTime'>
|
|
1287
|
+
readonly createdById: Prisma.FieldRef<"ProjectAccessToken", 'String'>
|
|
1288
|
+
readonly createdAt: Prisma.FieldRef<"ProjectAccessToken", 'DateTime'>
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
// Custom InputTypes
|
|
1293
|
+
/**
|
|
1294
|
+
* ProjectAccessToken findUnique
|
|
1295
|
+
*/
|
|
1296
|
+
export type ProjectAccessTokenFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1297
|
+
/**
|
|
1298
|
+
* Select specific fields to fetch from the ProjectAccessToken
|
|
1299
|
+
*/
|
|
1300
|
+
select?: Prisma.ProjectAccessTokenSelect<ExtArgs> | null
|
|
1301
|
+
/**
|
|
1302
|
+
* Omit specific fields from the ProjectAccessToken
|
|
1303
|
+
*/
|
|
1304
|
+
omit?: Prisma.ProjectAccessTokenOmit<ExtArgs> | null
|
|
1305
|
+
/**
|
|
1306
|
+
* Choose, which related nodes to fetch as well
|
|
1307
|
+
*/
|
|
1308
|
+
include?: Prisma.ProjectAccessTokenInclude<ExtArgs> | null
|
|
1309
|
+
/**
|
|
1310
|
+
* Filter, which ProjectAccessToken to fetch.
|
|
1311
|
+
*/
|
|
1312
|
+
where: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* ProjectAccessToken findUniqueOrThrow
|
|
1317
|
+
*/
|
|
1318
|
+
export type ProjectAccessTokenFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1319
|
+
/**
|
|
1320
|
+
* Select specific fields to fetch from the ProjectAccessToken
|
|
1321
|
+
*/
|
|
1322
|
+
select?: Prisma.ProjectAccessTokenSelect<ExtArgs> | null
|
|
1323
|
+
/**
|
|
1324
|
+
* Omit specific fields from the ProjectAccessToken
|
|
1325
|
+
*/
|
|
1326
|
+
omit?: Prisma.ProjectAccessTokenOmit<ExtArgs> | null
|
|
1327
|
+
/**
|
|
1328
|
+
* Choose, which related nodes to fetch as well
|
|
1329
|
+
*/
|
|
1330
|
+
include?: Prisma.ProjectAccessTokenInclude<ExtArgs> | null
|
|
1331
|
+
/**
|
|
1332
|
+
* Filter, which ProjectAccessToken to fetch.
|
|
1333
|
+
*/
|
|
1334
|
+
where: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* ProjectAccessToken findFirst
|
|
1339
|
+
*/
|
|
1340
|
+
export type ProjectAccessTokenFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1341
|
+
/**
|
|
1342
|
+
* Select specific fields to fetch from the ProjectAccessToken
|
|
1343
|
+
*/
|
|
1344
|
+
select?: Prisma.ProjectAccessTokenSelect<ExtArgs> | null
|
|
1345
|
+
/**
|
|
1346
|
+
* Omit specific fields from the ProjectAccessToken
|
|
1347
|
+
*/
|
|
1348
|
+
omit?: Prisma.ProjectAccessTokenOmit<ExtArgs> | null
|
|
1349
|
+
/**
|
|
1350
|
+
* Choose, which related nodes to fetch as well
|
|
1351
|
+
*/
|
|
1352
|
+
include?: Prisma.ProjectAccessTokenInclude<ExtArgs> | null
|
|
1353
|
+
/**
|
|
1354
|
+
* Filter, which ProjectAccessToken to fetch.
|
|
1355
|
+
*/
|
|
1356
|
+
where?: Prisma.ProjectAccessTokenWhereInput
|
|
1357
|
+
/**
|
|
1358
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1359
|
+
*
|
|
1360
|
+
* Determine the order of ProjectAccessTokens to fetch.
|
|
1361
|
+
*/
|
|
1362
|
+
orderBy?: Prisma.ProjectAccessTokenOrderByWithRelationInput | Prisma.ProjectAccessTokenOrderByWithRelationInput[]
|
|
1363
|
+
/**
|
|
1364
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1365
|
+
*
|
|
1366
|
+
* Sets the position for searching for ProjectAccessTokens.
|
|
1367
|
+
*/
|
|
1368
|
+
cursor?: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
1369
|
+
/**
|
|
1370
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1371
|
+
*
|
|
1372
|
+
* Take `±n` ProjectAccessTokens from the position of the cursor.
|
|
1373
|
+
*/
|
|
1374
|
+
take?: number
|
|
1375
|
+
/**
|
|
1376
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1377
|
+
*
|
|
1378
|
+
* Skip the first `n` ProjectAccessTokens.
|
|
1379
|
+
*/
|
|
1380
|
+
skip?: number
|
|
1381
|
+
/**
|
|
1382
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1383
|
+
*
|
|
1384
|
+
* Filter by unique combinations of ProjectAccessTokens.
|
|
1385
|
+
*/
|
|
1386
|
+
distinct?: Prisma.ProjectAccessTokenScalarFieldEnum | Prisma.ProjectAccessTokenScalarFieldEnum[]
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* ProjectAccessToken findFirstOrThrow
|
|
1391
|
+
*/
|
|
1392
|
+
export type ProjectAccessTokenFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1393
|
+
/**
|
|
1394
|
+
* Select specific fields to fetch from the ProjectAccessToken
|
|
1395
|
+
*/
|
|
1396
|
+
select?: Prisma.ProjectAccessTokenSelect<ExtArgs> | null
|
|
1397
|
+
/**
|
|
1398
|
+
* Omit specific fields from the ProjectAccessToken
|
|
1399
|
+
*/
|
|
1400
|
+
omit?: Prisma.ProjectAccessTokenOmit<ExtArgs> | null
|
|
1401
|
+
/**
|
|
1402
|
+
* Choose, which related nodes to fetch as well
|
|
1403
|
+
*/
|
|
1404
|
+
include?: Prisma.ProjectAccessTokenInclude<ExtArgs> | null
|
|
1405
|
+
/**
|
|
1406
|
+
* Filter, which ProjectAccessToken to fetch.
|
|
1407
|
+
*/
|
|
1408
|
+
where?: Prisma.ProjectAccessTokenWhereInput
|
|
1409
|
+
/**
|
|
1410
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1411
|
+
*
|
|
1412
|
+
* Determine the order of ProjectAccessTokens to fetch.
|
|
1413
|
+
*/
|
|
1414
|
+
orderBy?: Prisma.ProjectAccessTokenOrderByWithRelationInput | Prisma.ProjectAccessTokenOrderByWithRelationInput[]
|
|
1415
|
+
/**
|
|
1416
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1417
|
+
*
|
|
1418
|
+
* Sets the position for searching for ProjectAccessTokens.
|
|
1419
|
+
*/
|
|
1420
|
+
cursor?: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
1421
|
+
/**
|
|
1422
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1423
|
+
*
|
|
1424
|
+
* Take `±n` ProjectAccessTokens from the position of the cursor.
|
|
1425
|
+
*/
|
|
1426
|
+
take?: number
|
|
1427
|
+
/**
|
|
1428
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1429
|
+
*
|
|
1430
|
+
* Skip the first `n` ProjectAccessTokens.
|
|
1431
|
+
*/
|
|
1432
|
+
skip?: number
|
|
1433
|
+
/**
|
|
1434
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1435
|
+
*
|
|
1436
|
+
* Filter by unique combinations of ProjectAccessTokens.
|
|
1437
|
+
*/
|
|
1438
|
+
distinct?: Prisma.ProjectAccessTokenScalarFieldEnum | Prisma.ProjectAccessTokenScalarFieldEnum[]
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* ProjectAccessToken findMany
|
|
1443
|
+
*/
|
|
1444
|
+
export type ProjectAccessTokenFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1445
|
+
/**
|
|
1446
|
+
* Select specific fields to fetch from the ProjectAccessToken
|
|
1447
|
+
*/
|
|
1448
|
+
select?: Prisma.ProjectAccessTokenSelect<ExtArgs> | null
|
|
1449
|
+
/**
|
|
1450
|
+
* Omit specific fields from the ProjectAccessToken
|
|
1451
|
+
*/
|
|
1452
|
+
omit?: Prisma.ProjectAccessTokenOmit<ExtArgs> | null
|
|
1453
|
+
/**
|
|
1454
|
+
* Choose, which related nodes to fetch as well
|
|
1455
|
+
*/
|
|
1456
|
+
include?: Prisma.ProjectAccessTokenInclude<ExtArgs> | null
|
|
1457
|
+
/**
|
|
1458
|
+
* Filter, which ProjectAccessTokens to fetch.
|
|
1459
|
+
*/
|
|
1460
|
+
where?: Prisma.ProjectAccessTokenWhereInput
|
|
1461
|
+
/**
|
|
1462
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1463
|
+
*
|
|
1464
|
+
* Determine the order of ProjectAccessTokens to fetch.
|
|
1465
|
+
*/
|
|
1466
|
+
orderBy?: Prisma.ProjectAccessTokenOrderByWithRelationInput | Prisma.ProjectAccessTokenOrderByWithRelationInput[]
|
|
1467
|
+
/**
|
|
1468
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1469
|
+
*
|
|
1470
|
+
* Sets the position for listing ProjectAccessTokens.
|
|
1471
|
+
*/
|
|
1472
|
+
cursor?: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
1473
|
+
/**
|
|
1474
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1475
|
+
*
|
|
1476
|
+
* Take `±n` ProjectAccessTokens from the position of the cursor.
|
|
1477
|
+
*/
|
|
1478
|
+
take?: number
|
|
1479
|
+
/**
|
|
1480
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1481
|
+
*
|
|
1482
|
+
* Skip the first `n` ProjectAccessTokens.
|
|
1483
|
+
*/
|
|
1484
|
+
skip?: number
|
|
1485
|
+
/**
|
|
1486
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1487
|
+
*
|
|
1488
|
+
* Filter by unique combinations of ProjectAccessTokens.
|
|
1489
|
+
*/
|
|
1490
|
+
distinct?: Prisma.ProjectAccessTokenScalarFieldEnum | Prisma.ProjectAccessTokenScalarFieldEnum[]
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* ProjectAccessToken create
|
|
1495
|
+
*/
|
|
1496
|
+
export type ProjectAccessTokenCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1497
|
+
/**
|
|
1498
|
+
* Select specific fields to fetch from the ProjectAccessToken
|
|
1499
|
+
*/
|
|
1500
|
+
select?: Prisma.ProjectAccessTokenSelect<ExtArgs> | null
|
|
1501
|
+
/**
|
|
1502
|
+
* Omit specific fields from the ProjectAccessToken
|
|
1503
|
+
*/
|
|
1504
|
+
omit?: Prisma.ProjectAccessTokenOmit<ExtArgs> | null
|
|
1505
|
+
/**
|
|
1506
|
+
* Choose, which related nodes to fetch as well
|
|
1507
|
+
*/
|
|
1508
|
+
include?: Prisma.ProjectAccessTokenInclude<ExtArgs> | null
|
|
1509
|
+
/**
|
|
1510
|
+
* The data needed to create a ProjectAccessToken.
|
|
1511
|
+
*/
|
|
1512
|
+
data: Prisma.XOR<Prisma.ProjectAccessTokenCreateInput, Prisma.ProjectAccessTokenUncheckedCreateInput>
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* ProjectAccessToken createMany
|
|
1517
|
+
*/
|
|
1518
|
+
export type ProjectAccessTokenCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1519
|
+
/**
|
|
1520
|
+
* The data used to create many ProjectAccessTokens.
|
|
1521
|
+
*/
|
|
1522
|
+
data: Prisma.ProjectAccessTokenCreateManyInput | Prisma.ProjectAccessTokenCreateManyInput[]
|
|
1523
|
+
skipDuplicates?: boolean
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
/**
|
|
1527
|
+
* ProjectAccessToken createManyAndReturn
|
|
1528
|
+
*/
|
|
1529
|
+
export type ProjectAccessTokenCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1530
|
+
/**
|
|
1531
|
+
* Select specific fields to fetch from the ProjectAccessToken
|
|
1532
|
+
*/
|
|
1533
|
+
select?: Prisma.ProjectAccessTokenSelectCreateManyAndReturn<ExtArgs> | null
|
|
1534
|
+
/**
|
|
1535
|
+
* Omit specific fields from the ProjectAccessToken
|
|
1536
|
+
*/
|
|
1537
|
+
omit?: Prisma.ProjectAccessTokenOmit<ExtArgs> | null
|
|
1538
|
+
/**
|
|
1539
|
+
* The data used to create many ProjectAccessTokens.
|
|
1540
|
+
*/
|
|
1541
|
+
data: Prisma.ProjectAccessTokenCreateManyInput | Prisma.ProjectAccessTokenCreateManyInput[]
|
|
1542
|
+
skipDuplicates?: boolean
|
|
1543
|
+
/**
|
|
1544
|
+
* Choose, which related nodes to fetch as well
|
|
1545
|
+
*/
|
|
1546
|
+
include?: Prisma.ProjectAccessTokenIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
/**
|
|
1550
|
+
* ProjectAccessToken update
|
|
1551
|
+
*/
|
|
1552
|
+
export type ProjectAccessTokenUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1553
|
+
/**
|
|
1554
|
+
* Select specific fields to fetch from the ProjectAccessToken
|
|
1555
|
+
*/
|
|
1556
|
+
select?: Prisma.ProjectAccessTokenSelect<ExtArgs> | null
|
|
1557
|
+
/**
|
|
1558
|
+
* Omit specific fields from the ProjectAccessToken
|
|
1559
|
+
*/
|
|
1560
|
+
omit?: Prisma.ProjectAccessTokenOmit<ExtArgs> | null
|
|
1561
|
+
/**
|
|
1562
|
+
* Choose, which related nodes to fetch as well
|
|
1563
|
+
*/
|
|
1564
|
+
include?: Prisma.ProjectAccessTokenInclude<ExtArgs> | null
|
|
1565
|
+
/**
|
|
1566
|
+
* The data needed to update a ProjectAccessToken.
|
|
1567
|
+
*/
|
|
1568
|
+
data: Prisma.XOR<Prisma.ProjectAccessTokenUpdateInput, Prisma.ProjectAccessTokenUncheckedUpdateInput>
|
|
1569
|
+
/**
|
|
1570
|
+
* Choose, which ProjectAccessToken to update.
|
|
1571
|
+
*/
|
|
1572
|
+
where: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* ProjectAccessToken updateMany
|
|
1577
|
+
*/
|
|
1578
|
+
export type ProjectAccessTokenUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1579
|
+
/**
|
|
1580
|
+
* The data used to update ProjectAccessTokens.
|
|
1581
|
+
*/
|
|
1582
|
+
data: Prisma.XOR<Prisma.ProjectAccessTokenUpdateManyMutationInput, Prisma.ProjectAccessTokenUncheckedUpdateManyInput>
|
|
1583
|
+
/**
|
|
1584
|
+
* Filter which ProjectAccessTokens to update
|
|
1585
|
+
*/
|
|
1586
|
+
where?: Prisma.ProjectAccessTokenWhereInput
|
|
1587
|
+
/**
|
|
1588
|
+
* Limit how many ProjectAccessTokens to update.
|
|
1589
|
+
*/
|
|
1590
|
+
limit?: number
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
/**
|
|
1594
|
+
* ProjectAccessToken updateManyAndReturn
|
|
1595
|
+
*/
|
|
1596
|
+
export type ProjectAccessTokenUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1597
|
+
/**
|
|
1598
|
+
* Select specific fields to fetch from the ProjectAccessToken
|
|
1599
|
+
*/
|
|
1600
|
+
select?: Prisma.ProjectAccessTokenSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1601
|
+
/**
|
|
1602
|
+
* Omit specific fields from the ProjectAccessToken
|
|
1603
|
+
*/
|
|
1604
|
+
omit?: Prisma.ProjectAccessTokenOmit<ExtArgs> | null
|
|
1605
|
+
/**
|
|
1606
|
+
* The data used to update ProjectAccessTokens.
|
|
1607
|
+
*/
|
|
1608
|
+
data: Prisma.XOR<Prisma.ProjectAccessTokenUpdateManyMutationInput, Prisma.ProjectAccessTokenUncheckedUpdateManyInput>
|
|
1609
|
+
/**
|
|
1610
|
+
* Filter which ProjectAccessTokens to update
|
|
1611
|
+
*/
|
|
1612
|
+
where?: Prisma.ProjectAccessTokenWhereInput
|
|
1613
|
+
/**
|
|
1614
|
+
* Limit how many ProjectAccessTokens to update.
|
|
1615
|
+
*/
|
|
1616
|
+
limit?: number
|
|
1617
|
+
/**
|
|
1618
|
+
* Choose, which related nodes to fetch as well
|
|
1619
|
+
*/
|
|
1620
|
+
include?: Prisma.ProjectAccessTokenIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* ProjectAccessToken upsert
|
|
1625
|
+
*/
|
|
1626
|
+
export type ProjectAccessTokenUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1627
|
+
/**
|
|
1628
|
+
* Select specific fields to fetch from the ProjectAccessToken
|
|
1629
|
+
*/
|
|
1630
|
+
select?: Prisma.ProjectAccessTokenSelect<ExtArgs> | null
|
|
1631
|
+
/**
|
|
1632
|
+
* Omit specific fields from the ProjectAccessToken
|
|
1633
|
+
*/
|
|
1634
|
+
omit?: Prisma.ProjectAccessTokenOmit<ExtArgs> | null
|
|
1635
|
+
/**
|
|
1636
|
+
* Choose, which related nodes to fetch as well
|
|
1637
|
+
*/
|
|
1638
|
+
include?: Prisma.ProjectAccessTokenInclude<ExtArgs> | null
|
|
1639
|
+
/**
|
|
1640
|
+
* The filter to search for the ProjectAccessToken to update in case it exists.
|
|
1641
|
+
*/
|
|
1642
|
+
where: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
1643
|
+
/**
|
|
1644
|
+
* In case the ProjectAccessToken found by the `where` argument doesn't exist, create a new ProjectAccessToken with this data.
|
|
1645
|
+
*/
|
|
1646
|
+
create: Prisma.XOR<Prisma.ProjectAccessTokenCreateInput, Prisma.ProjectAccessTokenUncheckedCreateInput>
|
|
1647
|
+
/**
|
|
1648
|
+
* In case the ProjectAccessToken was found with the provided `where` argument, update it with this data.
|
|
1649
|
+
*/
|
|
1650
|
+
update: Prisma.XOR<Prisma.ProjectAccessTokenUpdateInput, Prisma.ProjectAccessTokenUncheckedUpdateInput>
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* ProjectAccessToken delete
|
|
1655
|
+
*/
|
|
1656
|
+
export type ProjectAccessTokenDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1657
|
+
/**
|
|
1658
|
+
* Select specific fields to fetch from the ProjectAccessToken
|
|
1659
|
+
*/
|
|
1660
|
+
select?: Prisma.ProjectAccessTokenSelect<ExtArgs> | null
|
|
1661
|
+
/**
|
|
1662
|
+
* Omit specific fields from the ProjectAccessToken
|
|
1663
|
+
*/
|
|
1664
|
+
omit?: Prisma.ProjectAccessTokenOmit<ExtArgs> | null
|
|
1665
|
+
/**
|
|
1666
|
+
* Choose, which related nodes to fetch as well
|
|
1667
|
+
*/
|
|
1668
|
+
include?: Prisma.ProjectAccessTokenInclude<ExtArgs> | null
|
|
1669
|
+
/**
|
|
1670
|
+
* Filter which ProjectAccessToken to delete.
|
|
1671
|
+
*/
|
|
1672
|
+
where: Prisma.ProjectAccessTokenWhereUniqueInput
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* ProjectAccessToken deleteMany
|
|
1677
|
+
*/
|
|
1678
|
+
export type ProjectAccessTokenDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1679
|
+
/**
|
|
1680
|
+
* Filter which ProjectAccessTokens to delete
|
|
1681
|
+
*/
|
|
1682
|
+
where?: Prisma.ProjectAccessTokenWhereInput
|
|
1683
|
+
/**
|
|
1684
|
+
* Limit how many ProjectAccessTokens to delete.
|
|
1685
|
+
*/
|
|
1686
|
+
limit?: number
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* ProjectAccessToken without action
|
|
1691
|
+
*/
|
|
1692
|
+
export type ProjectAccessTokenDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1693
|
+
/**
|
|
1694
|
+
* Select specific fields to fetch from the ProjectAccessToken
|
|
1695
|
+
*/
|
|
1696
|
+
select?: Prisma.ProjectAccessTokenSelect<ExtArgs> | null
|
|
1697
|
+
/**
|
|
1698
|
+
* Omit specific fields from the ProjectAccessToken
|
|
1699
|
+
*/
|
|
1700
|
+
omit?: Prisma.ProjectAccessTokenOmit<ExtArgs> | null
|
|
1701
|
+
/**
|
|
1702
|
+
* Choose, which related nodes to fetch as well
|
|
1703
|
+
*/
|
|
1704
|
+
include?: Prisma.ProjectAccessTokenInclude<ExtArgs> | null
|
|
1705
|
+
}
|