teamcopilot 0.1.16 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -9
- package/dist/chat/index.js +23 -1
- package/dist/frontend/assets/{cssMode-CH26ItO2.js → cssMode-CM1GmZ3H.js} +1 -1
- package/dist/frontend/assets/{freemarker2-CiRHXG8W.js → freemarker2-C8TeljYR.js} +1 -1
- package/dist/frontend/assets/{handlebars-DXV-JQiR.js → handlebars-B2e-Wzyt.js} +1 -1
- package/dist/frontend/assets/{html-DKdYDRJv.js → html-DtBAvTj2.js} +1 -1
- package/dist/frontend/assets/{htmlMode-D466XPJJ.js → htmlMode-Dta08RE6.js} +1 -1
- package/dist/frontend/assets/index-BirlyHV4.css +1 -0
- package/dist/frontend/assets/{index-CvsPLefz.js → index-Dp0jlIX9.js} +201 -201
- package/dist/frontend/assets/{javascript-D5lHN8tF.js → javascript-BYeHq-2v.js} +1 -1
- package/dist/frontend/assets/{jsonMode-C9Wdxaho.js → jsonMode-DkJo6l8K.js} +1 -1
- package/dist/frontend/assets/{liquid-NIH--tpJ.js → liquid-nmEuajdb.js} +1 -1
- package/dist/frontend/assets/{mdx-xwEbqXME.js → mdx-BJybRyf3.js} +1 -1
- package/dist/frontend/assets/{python-BzErW_b3.js → python-DRAABm9s.js} +1 -1
- package/dist/frontend/assets/{razor-B0v-Bw5B.js → razor-7lH4jzk8.js} +1 -1
- package/dist/frontend/assets/{tsMode-B9YN5EEb.js → tsMode-ClcmdG3S.js} +1 -1
- package/dist/frontend/assets/{typescript-DIMXtHre.js → typescript-D9oav8M6.js} +1 -1
- package/dist/frontend/assets/{xml-DQ5HnppJ.js → xml-B0ks0e6Y.js} +1 -1
- package/dist/frontend/assets/{yaml-BQCOKj13.js → yaml-CCDt1oK4.js} +1 -1
- package/dist/frontend/index.html +2 -2
- package/dist/index.js +99 -90
- package/dist/secrets/index.js +74 -0
- package/dist/skills/index.js +43 -1
- package/dist/users/index.js +98 -0
- package/dist/utils/redact.js +52 -5
- package/dist/utils/resource-file-routes.js +2 -4
- package/dist/utils/resource-files.js +10 -2
- package/dist/utils/secret-contract-validation.js +184 -0
- package/dist/utils/secrets.js +127 -0
- package/dist/utils/skill-files.js +7 -0
- package/dist/utils/skill.js +50 -1
- package/dist/utils/workflow-runner.js +19 -4
- package/dist/utils/workflow.js +13 -1
- package/dist/workflows/index.js +10 -1
- package/dist/workspace_files/.opencode/plugins/createSkill.ts +1 -26
- package/dist/workspace_files/.opencode/plugins/createWorkflow.ts +3 -3
- package/dist/workspace_files/.opencode/plugins/findSimilarWorkflow.ts +93 -5
- package/dist/workspace_files/.opencode/plugins/getSkillContent.ts +31 -49
- package/dist/workspace_files/.opencode/plugins/listAvailableSecretKeys.ts +107 -0
- package/dist/workspace_files/.opencode/plugins/runWorkflow.ts +2 -2
- package/dist/workspace_files/.opencode/plugins/secret-proxy.ts +818 -0
- package/dist/workspace_files/AGENTS.md +91 -21
- package/package.json +5 -3
- package/prisma/generated/client/edge.js +24 -3
- package/prisma/generated/client/index-browser.js +21 -0
- package/prisma/generated/client/index.d.ts +3139 -128
- package/prisma/generated/client/index.js +24 -3
- package/prisma/generated/client/package.json +1 -1
- package/prisma/generated/client/schema.prisma +27 -0
- package/prisma/generated/client/wasm.js +24 -3
- package/prisma/migrations/20260402060129_add_secret_management/migration.sql +38 -0
- package/prisma/migrations/20260404052800_remove_global_secret_user_fkeys/migration.sql +20 -0
- package/prisma/schema.prisma +27 -0
- package/dist/frontend/assets/index-B8Ip8I8F.css +0 -1
|
@@ -33,6 +33,16 @@ export type workflow_aborted_sessions = $Result.DefaultSelection<Prisma.$workflo
|
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
35
|
export type key_value = $Result.DefaultSelection<Prisma.$key_valuePayload>
|
|
36
|
+
/**
|
|
37
|
+
* Model user_secrets
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
export type user_secrets = $Result.DefaultSelection<Prisma.$user_secretsPayload>
|
|
41
|
+
/**
|
|
42
|
+
* Model global_secrets
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
export type global_secrets = $Result.DefaultSelection<Prisma.$global_secretsPayload>
|
|
36
46
|
/**
|
|
37
47
|
* Model chat_sessions
|
|
38
48
|
*
|
|
@@ -232,6 +242,26 @@ export class PrismaClient<
|
|
|
232
242
|
*/
|
|
233
243
|
get key_value(): Prisma.key_valueDelegate<ExtArgs, ClientOptions>;
|
|
234
244
|
|
|
245
|
+
/**
|
|
246
|
+
* `prisma.user_secrets`: Exposes CRUD operations for the **user_secrets** model.
|
|
247
|
+
* Example usage:
|
|
248
|
+
* ```ts
|
|
249
|
+
* // Fetch zero or more User_secrets
|
|
250
|
+
* const user_secrets = await prisma.user_secrets.findMany()
|
|
251
|
+
* ```
|
|
252
|
+
*/
|
|
253
|
+
get user_secrets(): Prisma.user_secretsDelegate<ExtArgs, ClientOptions>;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* `prisma.global_secrets`: Exposes CRUD operations for the **global_secrets** model.
|
|
257
|
+
* Example usage:
|
|
258
|
+
* ```ts
|
|
259
|
+
* // Fetch zero or more Global_secrets
|
|
260
|
+
* const global_secrets = await prisma.global_secrets.findMany()
|
|
261
|
+
* ```
|
|
262
|
+
*/
|
|
263
|
+
get global_secrets(): Prisma.global_secretsDelegate<ExtArgs, ClientOptions>;
|
|
264
|
+
|
|
235
265
|
/**
|
|
236
266
|
* `prisma.chat_sessions`: Exposes CRUD operations for the **chat_sessions** model.
|
|
237
267
|
* Example usage:
|
|
@@ -756,6 +786,8 @@ export namespace Prisma {
|
|
|
756
786
|
workflow_runs: 'workflow_runs',
|
|
757
787
|
workflow_aborted_sessions: 'workflow_aborted_sessions',
|
|
758
788
|
key_value: 'key_value',
|
|
789
|
+
user_secrets: 'user_secrets',
|
|
790
|
+
global_secrets: 'global_secrets',
|
|
759
791
|
chat_sessions: 'chat_sessions',
|
|
760
792
|
chat_session_tracked_files: 'chat_session_tracked_files',
|
|
761
793
|
tool_execution_permissions: 'tool_execution_permissions',
|
|
@@ -782,7 +814,7 @@ export namespace Prisma {
|
|
|
782
814
|
omit: GlobalOmitOptions
|
|
783
815
|
}
|
|
784
816
|
meta: {
|
|
785
|
-
modelProps: "users" | "workflow_runs" | "workflow_aborted_sessions" | "key_value" | "chat_sessions" | "chat_session_tracked_files" | "tool_execution_permissions" | "resource_metadata" | "resource_permissions" | "resource_permission_users" | "resource_approved_snapshots" | "resource_approved_snapshot_files"
|
|
817
|
+
modelProps: "users" | "workflow_runs" | "workflow_aborted_sessions" | "key_value" | "user_secrets" | "global_secrets" | "chat_sessions" | "chat_session_tracked_files" | "tool_execution_permissions" | "resource_metadata" | "resource_permissions" | "resource_permission_users" | "resource_approved_snapshots" | "resource_approved_snapshot_files"
|
|
786
818
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
787
819
|
}
|
|
788
820
|
model: {
|
|
@@ -1082,6 +1114,154 @@ export namespace Prisma {
|
|
|
1082
1114
|
}
|
|
1083
1115
|
}
|
|
1084
1116
|
}
|
|
1117
|
+
user_secrets: {
|
|
1118
|
+
payload: Prisma.$user_secretsPayload<ExtArgs>
|
|
1119
|
+
fields: Prisma.user_secretsFieldRefs
|
|
1120
|
+
operations: {
|
|
1121
|
+
findUnique: {
|
|
1122
|
+
args: Prisma.user_secretsFindUniqueArgs<ExtArgs>
|
|
1123
|
+
result: $Utils.PayloadToResult<Prisma.$user_secretsPayload> | null
|
|
1124
|
+
}
|
|
1125
|
+
findUniqueOrThrow: {
|
|
1126
|
+
args: Prisma.user_secretsFindUniqueOrThrowArgs<ExtArgs>
|
|
1127
|
+
result: $Utils.PayloadToResult<Prisma.$user_secretsPayload>
|
|
1128
|
+
}
|
|
1129
|
+
findFirst: {
|
|
1130
|
+
args: Prisma.user_secretsFindFirstArgs<ExtArgs>
|
|
1131
|
+
result: $Utils.PayloadToResult<Prisma.$user_secretsPayload> | null
|
|
1132
|
+
}
|
|
1133
|
+
findFirstOrThrow: {
|
|
1134
|
+
args: Prisma.user_secretsFindFirstOrThrowArgs<ExtArgs>
|
|
1135
|
+
result: $Utils.PayloadToResult<Prisma.$user_secretsPayload>
|
|
1136
|
+
}
|
|
1137
|
+
findMany: {
|
|
1138
|
+
args: Prisma.user_secretsFindManyArgs<ExtArgs>
|
|
1139
|
+
result: $Utils.PayloadToResult<Prisma.$user_secretsPayload>[]
|
|
1140
|
+
}
|
|
1141
|
+
create: {
|
|
1142
|
+
args: Prisma.user_secretsCreateArgs<ExtArgs>
|
|
1143
|
+
result: $Utils.PayloadToResult<Prisma.$user_secretsPayload>
|
|
1144
|
+
}
|
|
1145
|
+
createMany: {
|
|
1146
|
+
args: Prisma.user_secretsCreateManyArgs<ExtArgs>
|
|
1147
|
+
result: BatchPayload
|
|
1148
|
+
}
|
|
1149
|
+
createManyAndReturn: {
|
|
1150
|
+
args: Prisma.user_secretsCreateManyAndReturnArgs<ExtArgs>
|
|
1151
|
+
result: $Utils.PayloadToResult<Prisma.$user_secretsPayload>[]
|
|
1152
|
+
}
|
|
1153
|
+
delete: {
|
|
1154
|
+
args: Prisma.user_secretsDeleteArgs<ExtArgs>
|
|
1155
|
+
result: $Utils.PayloadToResult<Prisma.$user_secretsPayload>
|
|
1156
|
+
}
|
|
1157
|
+
update: {
|
|
1158
|
+
args: Prisma.user_secretsUpdateArgs<ExtArgs>
|
|
1159
|
+
result: $Utils.PayloadToResult<Prisma.$user_secretsPayload>
|
|
1160
|
+
}
|
|
1161
|
+
deleteMany: {
|
|
1162
|
+
args: Prisma.user_secretsDeleteManyArgs<ExtArgs>
|
|
1163
|
+
result: BatchPayload
|
|
1164
|
+
}
|
|
1165
|
+
updateMany: {
|
|
1166
|
+
args: Prisma.user_secretsUpdateManyArgs<ExtArgs>
|
|
1167
|
+
result: BatchPayload
|
|
1168
|
+
}
|
|
1169
|
+
updateManyAndReturn: {
|
|
1170
|
+
args: Prisma.user_secretsUpdateManyAndReturnArgs<ExtArgs>
|
|
1171
|
+
result: $Utils.PayloadToResult<Prisma.$user_secretsPayload>[]
|
|
1172
|
+
}
|
|
1173
|
+
upsert: {
|
|
1174
|
+
args: Prisma.user_secretsUpsertArgs<ExtArgs>
|
|
1175
|
+
result: $Utils.PayloadToResult<Prisma.$user_secretsPayload>
|
|
1176
|
+
}
|
|
1177
|
+
aggregate: {
|
|
1178
|
+
args: Prisma.User_secretsAggregateArgs<ExtArgs>
|
|
1179
|
+
result: $Utils.Optional<AggregateUser_secrets>
|
|
1180
|
+
}
|
|
1181
|
+
groupBy: {
|
|
1182
|
+
args: Prisma.user_secretsGroupByArgs<ExtArgs>
|
|
1183
|
+
result: $Utils.Optional<User_secretsGroupByOutputType>[]
|
|
1184
|
+
}
|
|
1185
|
+
count: {
|
|
1186
|
+
args: Prisma.user_secretsCountArgs<ExtArgs>
|
|
1187
|
+
result: $Utils.Optional<User_secretsCountAggregateOutputType> | number
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
global_secrets: {
|
|
1192
|
+
payload: Prisma.$global_secretsPayload<ExtArgs>
|
|
1193
|
+
fields: Prisma.global_secretsFieldRefs
|
|
1194
|
+
operations: {
|
|
1195
|
+
findUnique: {
|
|
1196
|
+
args: Prisma.global_secretsFindUniqueArgs<ExtArgs>
|
|
1197
|
+
result: $Utils.PayloadToResult<Prisma.$global_secretsPayload> | null
|
|
1198
|
+
}
|
|
1199
|
+
findUniqueOrThrow: {
|
|
1200
|
+
args: Prisma.global_secretsFindUniqueOrThrowArgs<ExtArgs>
|
|
1201
|
+
result: $Utils.PayloadToResult<Prisma.$global_secretsPayload>
|
|
1202
|
+
}
|
|
1203
|
+
findFirst: {
|
|
1204
|
+
args: Prisma.global_secretsFindFirstArgs<ExtArgs>
|
|
1205
|
+
result: $Utils.PayloadToResult<Prisma.$global_secretsPayload> | null
|
|
1206
|
+
}
|
|
1207
|
+
findFirstOrThrow: {
|
|
1208
|
+
args: Prisma.global_secretsFindFirstOrThrowArgs<ExtArgs>
|
|
1209
|
+
result: $Utils.PayloadToResult<Prisma.$global_secretsPayload>
|
|
1210
|
+
}
|
|
1211
|
+
findMany: {
|
|
1212
|
+
args: Prisma.global_secretsFindManyArgs<ExtArgs>
|
|
1213
|
+
result: $Utils.PayloadToResult<Prisma.$global_secretsPayload>[]
|
|
1214
|
+
}
|
|
1215
|
+
create: {
|
|
1216
|
+
args: Prisma.global_secretsCreateArgs<ExtArgs>
|
|
1217
|
+
result: $Utils.PayloadToResult<Prisma.$global_secretsPayload>
|
|
1218
|
+
}
|
|
1219
|
+
createMany: {
|
|
1220
|
+
args: Prisma.global_secretsCreateManyArgs<ExtArgs>
|
|
1221
|
+
result: BatchPayload
|
|
1222
|
+
}
|
|
1223
|
+
createManyAndReturn: {
|
|
1224
|
+
args: Prisma.global_secretsCreateManyAndReturnArgs<ExtArgs>
|
|
1225
|
+
result: $Utils.PayloadToResult<Prisma.$global_secretsPayload>[]
|
|
1226
|
+
}
|
|
1227
|
+
delete: {
|
|
1228
|
+
args: Prisma.global_secretsDeleteArgs<ExtArgs>
|
|
1229
|
+
result: $Utils.PayloadToResult<Prisma.$global_secretsPayload>
|
|
1230
|
+
}
|
|
1231
|
+
update: {
|
|
1232
|
+
args: Prisma.global_secretsUpdateArgs<ExtArgs>
|
|
1233
|
+
result: $Utils.PayloadToResult<Prisma.$global_secretsPayload>
|
|
1234
|
+
}
|
|
1235
|
+
deleteMany: {
|
|
1236
|
+
args: Prisma.global_secretsDeleteManyArgs<ExtArgs>
|
|
1237
|
+
result: BatchPayload
|
|
1238
|
+
}
|
|
1239
|
+
updateMany: {
|
|
1240
|
+
args: Prisma.global_secretsUpdateManyArgs<ExtArgs>
|
|
1241
|
+
result: BatchPayload
|
|
1242
|
+
}
|
|
1243
|
+
updateManyAndReturn: {
|
|
1244
|
+
args: Prisma.global_secretsUpdateManyAndReturnArgs<ExtArgs>
|
|
1245
|
+
result: $Utils.PayloadToResult<Prisma.$global_secretsPayload>[]
|
|
1246
|
+
}
|
|
1247
|
+
upsert: {
|
|
1248
|
+
args: Prisma.global_secretsUpsertArgs<ExtArgs>
|
|
1249
|
+
result: $Utils.PayloadToResult<Prisma.$global_secretsPayload>
|
|
1250
|
+
}
|
|
1251
|
+
aggregate: {
|
|
1252
|
+
args: Prisma.Global_secretsAggregateArgs<ExtArgs>
|
|
1253
|
+
result: $Utils.Optional<AggregateGlobal_secrets>
|
|
1254
|
+
}
|
|
1255
|
+
groupBy: {
|
|
1256
|
+
args: Prisma.global_secretsGroupByArgs<ExtArgs>
|
|
1257
|
+
result: $Utils.Optional<Global_secretsGroupByOutputType>[]
|
|
1258
|
+
}
|
|
1259
|
+
count: {
|
|
1260
|
+
args: Prisma.global_secretsCountArgs<ExtArgs>
|
|
1261
|
+
result: $Utils.Optional<Global_secretsCountAggregateOutputType> | number
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1085
1265
|
chat_sessions: {
|
|
1086
1266
|
payload: Prisma.$chat_sessionsPayload<ExtArgs>
|
|
1087
1267
|
fields: Prisma.chat_sessionsFieldRefs
|
|
@@ -1774,6 +1954,8 @@ export namespace Prisma {
|
|
|
1774
1954
|
workflow_runs?: workflow_runsOmit
|
|
1775
1955
|
workflow_aborted_sessions?: workflow_aborted_sessionsOmit
|
|
1776
1956
|
key_value?: key_valueOmit
|
|
1957
|
+
user_secrets?: user_secretsOmit
|
|
1958
|
+
global_secrets?: global_secretsOmit
|
|
1777
1959
|
chat_sessions?: chat_sessionsOmit
|
|
1778
1960
|
chat_session_tracked_files?: chat_session_tracked_filesOmit
|
|
1779
1961
|
tool_execution_permissions?: tool_execution_permissionsOmit
|
|
@@ -1867,6 +2049,7 @@ export namespace Prisma {
|
|
|
1867
2049
|
resourcePermissionUsers: number
|
|
1868
2050
|
createdResourceMetadata: number
|
|
1869
2051
|
approvedResourceMetadata: number
|
|
2052
|
+
userSecrets: number
|
|
1870
2053
|
}
|
|
1871
2054
|
|
|
1872
2055
|
export type UsersCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
@@ -1875,6 +2058,7 @@ export namespace Prisma {
|
|
|
1875
2058
|
resourcePermissionUsers?: boolean | UsersCountOutputTypeCountResourcePermissionUsersArgs
|
|
1876
2059
|
createdResourceMetadata?: boolean | UsersCountOutputTypeCountCreatedResourceMetadataArgs
|
|
1877
2060
|
approvedResourceMetadata?: boolean | UsersCountOutputTypeCountApprovedResourceMetadataArgs
|
|
2061
|
+
userSecrets?: boolean | UsersCountOutputTypeCountUserSecretsArgs
|
|
1878
2062
|
}
|
|
1879
2063
|
|
|
1880
2064
|
// Custom InputTypes
|
|
@@ -1923,6 +2107,13 @@ export namespace Prisma {
|
|
|
1923
2107
|
where?: resource_metadataWhereInput
|
|
1924
2108
|
}
|
|
1925
2109
|
|
|
2110
|
+
/**
|
|
2111
|
+
* UsersCountOutputType without action
|
|
2112
|
+
*/
|
|
2113
|
+
export type UsersCountOutputTypeCountUserSecretsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2114
|
+
where?: user_secretsWhereInput
|
|
2115
|
+
}
|
|
2116
|
+
|
|
1926
2117
|
|
|
1927
2118
|
/**
|
|
1928
2119
|
* Count Type Chat_sessionsCountOutputType
|
|
@@ -2260,6 +2451,7 @@ export namespace Prisma {
|
|
|
2260
2451
|
resourcePermissionUsers?: boolean | users$resourcePermissionUsersArgs<ExtArgs>
|
|
2261
2452
|
createdResourceMetadata?: boolean | users$createdResourceMetadataArgs<ExtArgs>
|
|
2262
2453
|
approvedResourceMetadata?: boolean | users$approvedResourceMetadataArgs<ExtArgs>
|
|
2454
|
+
userSecrets?: boolean | users$userSecretsArgs<ExtArgs>
|
|
2263
2455
|
_count?: boolean | UsersCountOutputTypeDefaultArgs<ExtArgs>
|
|
2264
2456
|
}, ExtArgs["result"]["users"]>
|
|
2265
2457
|
|
|
@@ -2306,6 +2498,7 @@ export namespace Prisma {
|
|
|
2306
2498
|
resourcePermissionUsers?: boolean | users$resourcePermissionUsersArgs<ExtArgs>
|
|
2307
2499
|
createdResourceMetadata?: boolean | users$createdResourceMetadataArgs<ExtArgs>
|
|
2308
2500
|
approvedResourceMetadata?: boolean | users$approvedResourceMetadataArgs<ExtArgs>
|
|
2501
|
+
userSecrets?: boolean | users$userSecretsArgs<ExtArgs>
|
|
2309
2502
|
_count?: boolean | UsersCountOutputTypeDefaultArgs<ExtArgs>
|
|
2310
2503
|
}
|
|
2311
2504
|
export type usersIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
|
|
@@ -2319,6 +2512,7 @@ export namespace Prisma {
|
|
|
2319
2512
|
resourcePermissionUsers: Prisma.$resource_permission_usersPayload<ExtArgs>[]
|
|
2320
2513
|
createdResourceMetadata: Prisma.$resource_metadataPayload<ExtArgs>[]
|
|
2321
2514
|
approvedResourceMetadata: Prisma.$resource_metadataPayload<ExtArgs>[]
|
|
2515
|
+
userSecrets: Prisma.$user_secretsPayload<ExtArgs>[]
|
|
2322
2516
|
}
|
|
2323
2517
|
scalars: $Extensions.GetPayloadResult<{
|
|
2324
2518
|
id: string
|
|
@@ -2729,6 +2923,7 @@ export namespace Prisma {
|
|
|
2729
2923
|
resourcePermissionUsers<T extends users$resourcePermissionUsersArgs<ExtArgs> = {}>(args?: Subset<T, users$resourcePermissionUsersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$resource_permission_usersPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2730
2924
|
createdResourceMetadata<T extends users$createdResourceMetadataArgs<ExtArgs> = {}>(args?: Subset<T, users$createdResourceMetadataArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$resource_metadataPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2731
2925
|
approvedResourceMetadata<T extends users$approvedResourceMetadataArgs<ExtArgs> = {}>(args?: Subset<T, users$approvedResourceMetadataArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$resource_metadataPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2926
|
+
userSecrets<T extends users$userSecretsArgs<ExtArgs> = {}>(args?: Subset<T, users$userSecretsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$user_secretsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2732
2927
|
/**
|
|
2733
2928
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2734
2929
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -3272,6 +3467,30 @@ export namespace Prisma {
|
|
|
3272
3467
|
distinct?: Resource_metadataScalarFieldEnum | Resource_metadataScalarFieldEnum[]
|
|
3273
3468
|
}
|
|
3274
3469
|
|
|
3470
|
+
/**
|
|
3471
|
+
* users.userSecrets
|
|
3472
|
+
*/
|
|
3473
|
+
export type users$userSecretsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3474
|
+
/**
|
|
3475
|
+
* Select specific fields to fetch from the user_secrets
|
|
3476
|
+
*/
|
|
3477
|
+
select?: user_secretsSelect<ExtArgs> | null
|
|
3478
|
+
/**
|
|
3479
|
+
* Omit specific fields from the user_secrets
|
|
3480
|
+
*/
|
|
3481
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
3482
|
+
/**
|
|
3483
|
+
* Choose, which related nodes to fetch as well
|
|
3484
|
+
*/
|
|
3485
|
+
include?: user_secretsInclude<ExtArgs> | null
|
|
3486
|
+
where?: user_secretsWhereInput
|
|
3487
|
+
orderBy?: user_secretsOrderByWithRelationInput | user_secretsOrderByWithRelationInput[]
|
|
3488
|
+
cursor?: user_secretsWhereUniqueInput
|
|
3489
|
+
take?: number
|
|
3490
|
+
skip?: number
|
|
3491
|
+
distinct?: User_secretsScalarFieldEnum | User_secretsScalarFieldEnum[]
|
|
3492
|
+
}
|
|
3493
|
+
|
|
3275
3494
|
/**
|
|
3276
3495
|
* users without action
|
|
3277
3496
|
*/
|
|
@@ -6406,299 +6625,2463 @@ export namespace Prisma {
|
|
|
6406
6625
|
|
|
6407
6626
|
|
|
6408
6627
|
/**
|
|
6409
|
-
* Model
|
|
6628
|
+
* Model user_secrets
|
|
6410
6629
|
*/
|
|
6411
6630
|
|
|
6412
|
-
export type
|
|
6413
|
-
_count:
|
|
6414
|
-
_avg:
|
|
6415
|
-
_sum:
|
|
6416
|
-
_min:
|
|
6417
|
-
_max:
|
|
6631
|
+
export type AggregateUser_secrets = {
|
|
6632
|
+
_count: User_secretsCountAggregateOutputType | null
|
|
6633
|
+
_avg: User_secretsAvgAggregateOutputType | null
|
|
6634
|
+
_sum: User_secretsSumAggregateOutputType | null
|
|
6635
|
+
_min: User_secretsMinAggregateOutputType | null
|
|
6636
|
+
_max: User_secretsMaxAggregateOutputType | null
|
|
6418
6637
|
}
|
|
6419
6638
|
|
|
6420
|
-
export type
|
|
6639
|
+
export type User_secretsAvgAggregateOutputType = {
|
|
6421
6640
|
created_at: number | null
|
|
6422
6641
|
updated_at: number | null
|
|
6423
6642
|
}
|
|
6424
6643
|
|
|
6425
|
-
export type
|
|
6644
|
+
export type User_secretsSumAggregateOutputType = {
|
|
6426
6645
|
created_at: bigint | null
|
|
6427
6646
|
updated_at: bigint | null
|
|
6428
6647
|
}
|
|
6429
6648
|
|
|
6430
|
-
export type
|
|
6649
|
+
export type User_secretsMinAggregateOutputType = {
|
|
6431
6650
|
id: string | null
|
|
6432
6651
|
user_id: string | null
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
last_seen_assistant_message_id: string | null
|
|
6652
|
+
key: string | null
|
|
6653
|
+
value: string | null
|
|
6436
6654
|
created_at: bigint | null
|
|
6437
6655
|
updated_at: bigint | null
|
|
6438
6656
|
}
|
|
6439
6657
|
|
|
6440
|
-
export type
|
|
6658
|
+
export type User_secretsMaxAggregateOutputType = {
|
|
6441
6659
|
id: string | null
|
|
6442
6660
|
user_id: string | null
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
last_seen_assistant_message_id: string | null
|
|
6661
|
+
key: string | null
|
|
6662
|
+
value: string | null
|
|
6446
6663
|
created_at: bigint | null
|
|
6447
6664
|
updated_at: bigint | null
|
|
6448
6665
|
}
|
|
6449
6666
|
|
|
6450
|
-
export type
|
|
6667
|
+
export type User_secretsCountAggregateOutputType = {
|
|
6451
6668
|
id: number
|
|
6452
6669
|
user_id: number
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
last_seen_assistant_message_id: number
|
|
6670
|
+
key: number
|
|
6671
|
+
value: number
|
|
6456
6672
|
created_at: number
|
|
6457
6673
|
updated_at: number
|
|
6458
6674
|
_all: number
|
|
6459
6675
|
}
|
|
6460
6676
|
|
|
6461
6677
|
|
|
6462
|
-
export type
|
|
6678
|
+
export type User_secretsAvgAggregateInputType = {
|
|
6463
6679
|
created_at?: true
|
|
6464
6680
|
updated_at?: true
|
|
6465
6681
|
}
|
|
6466
6682
|
|
|
6467
|
-
export type
|
|
6683
|
+
export type User_secretsSumAggregateInputType = {
|
|
6468
6684
|
created_at?: true
|
|
6469
6685
|
updated_at?: true
|
|
6470
6686
|
}
|
|
6471
6687
|
|
|
6472
|
-
export type
|
|
6688
|
+
export type User_secretsMinAggregateInputType = {
|
|
6473
6689
|
id?: true
|
|
6474
6690
|
user_id?: true
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
last_seen_assistant_message_id?: true
|
|
6691
|
+
key?: true
|
|
6692
|
+
value?: true
|
|
6478
6693
|
created_at?: true
|
|
6479
6694
|
updated_at?: true
|
|
6480
6695
|
}
|
|
6481
6696
|
|
|
6482
|
-
export type
|
|
6697
|
+
export type User_secretsMaxAggregateInputType = {
|
|
6483
6698
|
id?: true
|
|
6484
6699
|
user_id?: true
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
last_seen_assistant_message_id?: true
|
|
6700
|
+
key?: true
|
|
6701
|
+
value?: true
|
|
6488
6702
|
created_at?: true
|
|
6489
6703
|
updated_at?: true
|
|
6490
6704
|
}
|
|
6491
6705
|
|
|
6492
|
-
export type
|
|
6706
|
+
export type User_secretsCountAggregateInputType = {
|
|
6493
6707
|
id?: true
|
|
6494
6708
|
user_id?: true
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
last_seen_assistant_message_id?: true
|
|
6709
|
+
key?: true
|
|
6710
|
+
value?: true
|
|
6498
6711
|
created_at?: true
|
|
6499
6712
|
updated_at?: true
|
|
6500
6713
|
_all?: true
|
|
6501
6714
|
}
|
|
6502
6715
|
|
|
6503
|
-
export type
|
|
6716
|
+
export type User_secretsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6504
6717
|
/**
|
|
6505
|
-
* Filter which
|
|
6718
|
+
* Filter which user_secrets to aggregate.
|
|
6506
6719
|
*/
|
|
6507
|
-
where?:
|
|
6720
|
+
where?: user_secretsWhereInput
|
|
6508
6721
|
/**
|
|
6509
6722
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
6510
6723
|
*
|
|
6511
|
-
* Determine the order of
|
|
6724
|
+
* Determine the order of user_secrets to fetch.
|
|
6512
6725
|
*/
|
|
6513
|
-
orderBy?:
|
|
6726
|
+
orderBy?: user_secretsOrderByWithRelationInput | user_secretsOrderByWithRelationInput[]
|
|
6514
6727
|
/**
|
|
6515
6728
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
6516
6729
|
*
|
|
6517
6730
|
* Sets the start position
|
|
6518
6731
|
*/
|
|
6519
|
-
cursor?:
|
|
6732
|
+
cursor?: user_secretsWhereUniqueInput
|
|
6520
6733
|
/**
|
|
6521
6734
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
6522
6735
|
*
|
|
6523
|
-
* Take `±n`
|
|
6736
|
+
* Take `±n` user_secrets from the position of the cursor.
|
|
6524
6737
|
*/
|
|
6525
6738
|
take?: number
|
|
6526
6739
|
/**
|
|
6527
6740
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
6528
6741
|
*
|
|
6529
|
-
* Skip the first `n`
|
|
6742
|
+
* Skip the first `n` user_secrets.
|
|
6530
6743
|
*/
|
|
6531
6744
|
skip?: number
|
|
6532
6745
|
/**
|
|
6533
6746
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
6534
6747
|
*
|
|
6535
|
-
* Count returned
|
|
6748
|
+
* Count returned user_secrets
|
|
6536
6749
|
**/
|
|
6537
|
-
_count?: true |
|
|
6750
|
+
_count?: true | User_secretsCountAggregateInputType
|
|
6538
6751
|
/**
|
|
6539
6752
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
6540
6753
|
*
|
|
6541
6754
|
* Select which fields to average
|
|
6542
6755
|
**/
|
|
6543
|
-
_avg?:
|
|
6756
|
+
_avg?: User_secretsAvgAggregateInputType
|
|
6544
6757
|
/**
|
|
6545
6758
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
6546
6759
|
*
|
|
6547
6760
|
* Select which fields to sum
|
|
6548
6761
|
**/
|
|
6549
|
-
_sum?:
|
|
6762
|
+
_sum?: User_secretsSumAggregateInputType
|
|
6550
6763
|
/**
|
|
6551
6764
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
6552
6765
|
*
|
|
6553
6766
|
* Select which fields to find the minimum value
|
|
6554
6767
|
**/
|
|
6555
|
-
_min?:
|
|
6768
|
+
_min?: User_secretsMinAggregateInputType
|
|
6556
6769
|
/**
|
|
6557
6770
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
6558
6771
|
*
|
|
6559
6772
|
* Select which fields to find the maximum value
|
|
6560
6773
|
**/
|
|
6561
|
-
_max?:
|
|
6774
|
+
_max?: User_secretsMaxAggregateInputType
|
|
6562
6775
|
}
|
|
6563
6776
|
|
|
6564
|
-
export type
|
|
6565
|
-
[P in keyof T & keyof
|
|
6777
|
+
export type GetUser_secretsAggregateType<T extends User_secretsAggregateArgs> = {
|
|
6778
|
+
[P in keyof T & keyof AggregateUser_secrets]: P extends '_count' | 'count'
|
|
6566
6779
|
? T[P] extends true
|
|
6567
6780
|
? number
|
|
6568
|
-
: GetScalarType<T[P],
|
|
6569
|
-
: GetScalarType<T[P],
|
|
6781
|
+
: GetScalarType<T[P], AggregateUser_secrets[P]>
|
|
6782
|
+
: GetScalarType<T[P], AggregateUser_secrets[P]>
|
|
6570
6783
|
}
|
|
6571
6784
|
|
|
6572
6785
|
|
|
6573
6786
|
|
|
6574
6787
|
|
|
6575
|
-
export type
|
|
6576
|
-
where?:
|
|
6577
|
-
orderBy?:
|
|
6578
|
-
by:
|
|
6579
|
-
having?:
|
|
6788
|
+
export type user_secretsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6789
|
+
where?: user_secretsWhereInput
|
|
6790
|
+
orderBy?: user_secretsOrderByWithAggregationInput | user_secretsOrderByWithAggregationInput[]
|
|
6791
|
+
by: User_secretsScalarFieldEnum[] | User_secretsScalarFieldEnum
|
|
6792
|
+
having?: user_secretsScalarWhereWithAggregatesInput
|
|
6580
6793
|
take?: number
|
|
6581
6794
|
skip?: number
|
|
6582
|
-
_count?:
|
|
6583
|
-
_avg?:
|
|
6584
|
-
_sum?:
|
|
6585
|
-
_min?:
|
|
6586
|
-
_max?:
|
|
6795
|
+
_count?: User_secretsCountAggregateInputType | true
|
|
6796
|
+
_avg?: User_secretsAvgAggregateInputType
|
|
6797
|
+
_sum?: User_secretsSumAggregateInputType
|
|
6798
|
+
_min?: User_secretsMinAggregateInputType
|
|
6799
|
+
_max?: User_secretsMaxAggregateInputType
|
|
6587
6800
|
}
|
|
6588
6801
|
|
|
6589
|
-
export type
|
|
6802
|
+
export type User_secretsGroupByOutputType = {
|
|
6590
6803
|
id: string
|
|
6591
6804
|
user_id: string
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
last_seen_assistant_message_id: string | null
|
|
6805
|
+
key: string
|
|
6806
|
+
value: string
|
|
6595
6807
|
created_at: bigint
|
|
6596
6808
|
updated_at: bigint
|
|
6597
|
-
_count:
|
|
6598
|
-
_avg:
|
|
6599
|
-
_sum:
|
|
6600
|
-
_min:
|
|
6601
|
-
_max:
|
|
6809
|
+
_count: User_secretsCountAggregateOutputType | null
|
|
6810
|
+
_avg: User_secretsAvgAggregateOutputType | null
|
|
6811
|
+
_sum: User_secretsSumAggregateOutputType | null
|
|
6812
|
+
_min: User_secretsMinAggregateOutputType | null
|
|
6813
|
+
_max: User_secretsMaxAggregateOutputType | null
|
|
6602
6814
|
}
|
|
6603
6815
|
|
|
6604
|
-
type
|
|
6816
|
+
type GetUser_secretsGroupByPayload<T extends user_secretsGroupByArgs> = Prisma.PrismaPromise<
|
|
6605
6817
|
Array<
|
|
6606
|
-
PickEnumerable<
|
|
6818
|
+
PickEnumerable<User_secretsGroupByOutputType, T['by']> &
|
|
6607
6819
|
{
|
|
6608
|
-
[P in ((keyof T) & (keyof
|
|
6820
|
+
[P in ((keyof T) & (keyof User_secretsGroupByOutputType))]: P extends '_count'
|
|
6609
6821
|
? T[P] extends boolean
|
|
6610
6822
|
? number
|
|
6611
|
-
: GetScalarType<T[P],
|
|
6612
|
-
: GetScalarType<T[P],
|
|
6823
|
+
: GetScalarType<T[P], User_secretsGroupByOutputType[P]>
|
|
6824
|
+
: GetScalarType<T[P], User_secretsGroupByOutputType[P]>
|
|
6613
6825
|
}
|
|
6614
6826
|
>
|
|
6615
6827
|
>
|
|
6616
6828
|
|
|
6617
6829
|
|
|
6618
|
-
export type
|
|
6830
|
+
export type user_secretsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
6619
6831
|
id?: boolean
|
|
6620
6832
|
user_id?: boolean
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
last_seen_assistant_message_id?: boolean
|
|
6833
|
+
key?: boolean
|
|
6834
|
+
value?: boolean
|
|
6624
6835
|
created_at?: boolean
|
|
6625
6836
|
updated_at?: boolean
|
|
6626
|
-
trackedFiles?: boolean | chat_sessions$trackedFilesArgs<ExtArgs>
|
|
6627
6837
|
user?: boolean | usersDefaultArgs<ExtArgs>
|
|
6628
|
-
|
|
6629
|
-
}, ExtArgs["result"]["chat_sessions"]>
|
|
6838
|
+
}, ExtArgs["result"]["user_secrets"]>
|
|
6630
6839
|
|
|
6631
|
-
export type
|
|
6840
|
+
export type user_secretsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
6632
6841
|
id?: boolean
|
|
6633
6842
|
user_id?: boolean
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
last_seen_assistant_message_id?: boolean
|
|
6843
|
+
key?: boolean
|
|
6844
|
+
value?: boolean
|
|
6637
6845
|
created_at?: boolean
|
|
6638
6846
|
updated_at?: boolean
|
|
6639
6847
|
user?: boolean | usersDefaultArgs<ExtArgs>
|
|
6640
|
-
}, ExtArgs["result"]["
|
|
6848
|
+
}, ExtArgs["result"]["user_secrets"]>
|
|
6641
6849
|
|
|
6642
|
-
export type
|
|
6850
|
+
export type user_secretsSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
6643
6851
|
id?: boolean
|
|
6644
6852
|
user_id?: boolean
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
last_seen_assistant_message_id?: boolean
|
|
6853
|
+
key?: boolean
|
|
6854
|
+
value?: boolean
|
|
6648
6855
|
created_at?: boolean
|
|
6649
6856
|
updated_at?: boolean
|
|
6650
6857
|
user?: boolean | usersDefaultArgs<ExtArgs>
|
|
6651
|
-
}, ExtArgs["result"]["
|
|
6858
|
+
}, ExtArgs["result"]["user_secrets"]>
|
|
6652
6859
|
|
|
6653
|
-
export type
|
|
6860
|
+
export type user_secretsSelectScalar = {
|
|
6654
6861
|
id?: boolean
|
|
6655
6862
|
user_id?: boolean
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
last_seen_assistant_message_id?: boolean
|
|
6863
|
+
key?: boolean
|
|
6864
|
+
value?: boolean
|
|
6659
6865
|
created_at?: boolean
|
|
6660
6866
|
updated_at?: boolean
|
|
6661
6867
|
}
|
|
6662
6868
|
|
|
6663
|
-
export type
|
|
6664
|
-
export type
|
|
6665
|
-
trackedFiles?: boolean | chat_sessions$trackedFilesArgs<ExtArgs>
|
|
6869
|
+
export type user_secretsOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "user_id" | "key" | "value" | "created_at" | "updated_at", ExtArgs["result"]["user_secrets"]>
|
|
6870
|
+
export type user_secretsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6666
6871
|
user?: boolean | usersDefaultArgs<ExtArgs>
|
|
6667
|
-
_count?: boolean | Chat_sessionsCountOutputTypeDefaultArgs<ExtArgs>
|
|
6668
6872
|
}
|
|
6669
|
-
export type
|
|
6873
|
+
export type user_secretsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6670
6874
|
user?: boolean | usersDefaultArgs<ExtArgs>
|
|
6671
6875
|
}
|
|
6672
|
-
export type
|
|
6876
|
+
export type user_secretsIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6673
6877
|
user?: boolean | usersDefaultArgs<ExtArgs>
|
|
6674
6878
|
}
|
|
6675
6879
|
|
|
6676
|
-
export type $
|
|
6677
|
-
name: "
|
|
6880
|
+
export type $user_secretsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6881
|
+
name: "user_secrets"
|
|
6678
6882
|
objects: {
|
|
6679
|
-
trackedFiles: Prisma.$chat_session_tracked_filesPayload<ExtArgs>[]
|
|
6680
6883
|
user: Prisma.$usersPayload<ExtArgs>
|
|
6681
6884
|
}
|
|
6682
6885
|
scalars: $Extensions.GetPayloadResult<{
|
|
6683
6886
|
id: string
|
|
6684
6887
|
user_id: string
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
last_seen_assistant_message_id: string | null
|
|
6888
|
+
key: string
|
|
6889
|
+
value: string
|
|
6688
6890
|
created_at: bigint
|
|
6689
6891
|
updated_at: bigint
|
|
6690
|
-
}, ExtArgs["result"]["
|
|
6892
|
+
}, ExtArgs["result"]["user_secrets"]>
|
|
6691
6893
|
composites: {}
|
|
6692
6894
|
}
|
|
6693
6895
|
|
|
6694
|
-
type
|
|
6896
|
+
type user_secretsGetPayload<S extends boolean | null | undefined | user_secretsDefaultArgs> = $Result.GetResult<Prisma.$user_secretsPayload, S>
|
|
6695
6897
|
|
|
6696
|
-
type
|
|
6697
|
-
Omit<
|
|
6698
|
-
select?:
|
|
6898
|
+
type user_secretsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
6899
|
+
Omit<user_secretsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
6900
|
+
select?: User_secretsCountAggregateInputType | true
|
|
6699
6901
|
}
|
|
6700
6902
|
|
|
6701
|
-
export interface
|
|
6903
|
+
export interface user_secretsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
6904
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['user_secrets'], meta: { name: 'user_secrets' } }
|
|
6905
|
+
/**
|
|
6906
|
+
* Find zero or one User_secrets that matches the filter.
|
|
6907
|
+
* @param {user_secretsFindUniqueArgs} args - Arguments to find a User_secrets
|
|
6908
|
+
* @example
|
|
6909
|
+
* // Get one User_secrets
|
|
6910
|
+
* const user_secrets = await prisma.user_secrets.findUnique({
|
|
6911
|
+
* where: {
|
|
6912
|
+
* // ... provide filter here
|
|
6913
|
+
* }
|
|
6914
|
+
* })
|
|
6915
|
+
*/
|
|
6916
|
+
findUnique<T extends user_secretsFindUniqueArgs>(args: SelectSubset<T, user_secretsFindUniqueArgs<ExtArgs>>): Prisma__user_secretsClient<$Result.GetResult<Prisma.$user_secretsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
6917
|
+
|
|
6918
|
+
/**
|
|
6919
|
+
* Find one User_secrets that matches the filter or throw an error with `error.code='P2025'`
|
|
6920
|
+
* if no matches were found.
|
|
6921
|
+
* @param {user_secretsFindUniqueOrThrowArgs} args - Arguments to find a User_secrets
|
|
6922
|
+
* @example
|
|
6923
|
+
* // Get one User_secrets
|
|
6924
|
+
* const user_secrets = await prisma.user_secrets.findUniqueOrThrow({
|
|
6925
|
+
* where: {
|
|
6926
|
+
* // ... provide filter here
|
|
6927
|
+
* }
|
|
6928
|
+
* })
|
|
6929
|
+
*/
|
|
6930
|
+
findUniqueOrThrow<T extends user_secretsFindUniqueOrThrowArgs>(args: SelectSubset<T, user_secretsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__user_secretsClient<$Result.GetResult<Prisma.$user_secretsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
6931
|
+
|
|
6932
|
+
/**
|
|
6933
|
+
* Find the first User_secrets that matches the filter.
|
|
6934
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
6935
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
6936
|
+
* @param {user_secretsFindFirstArgs} args - Arguments to find a User_secrets
|
|
6937
|
+
* @example
|
|
6938
|
+
* // Get one User_secrets
|
|
6939
|
+
* const user_secrets = await prisma.user_secrets.findFirst({
|
|
6940
|
+
* where: {
|
|
6941
|
+
* // ... provide filter here
|
|
6942
|
+
* }
|
|
6943
|
+
* })
|
|
6944
|
+
*/
|
|
6945
|
+
findFirst<T extends user_secretsFindFirstArgs>(args?: SelectSubset<T, user_secretsFindFirstArgs<ExtArgs>>): Prisma__user_secretsClient<$Result.GetResult<Prisma.$user_secretsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
6946
|
+
|
|
6947
|
+
/**
|
|
6948
|
+
* Find the first User_secrets that matches the filter or
|
|
6949
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
6950
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
6951
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
6952
|
+
* @param {user_secretsFindFirstOrThrowArgs} args - Arguments to find a User_secrets
|
|
6953
|
+
* @example
|
|
6954
|
+
* // Get one User_secrets
|
|
6955
|
+
* const user_secrets = await prisma.user_secrets.findFirstOrThrow({
|
|
6956
|
+
* where: {
|
|
6957
|
+
* // ... provide filter here
|
|
6958
|
+
* }
|
|
6959
|
+
* })
|
|
6960
|
+
*/
|
|
6961
|
+
findFirstOrThrow<T extends user_secretsFindFirstOrThrowArgs>(args?: SelectSubset<T, user_secretsFindFirstOrThrowArgs<ExtArgs>>): Prisma__user_secretsClient<$Result.GetResult<Prisma.$user_secretsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
6962
|
+
|
|
6963
|
+
/**
|
|
6964
|
+
* Find zero or more User_secrets that matches the filter.
|
|
6965
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
6966
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
6967
|
+
* @param {user_secretsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
6968
|
+
* @example
|
|
6969
|
+
* // Get all User_secrets
|
|
6970
|
+
* const user_secrets = await prisma.user_secrets.findMany()
|
|
6971
|
+
*
|
|
6972
|
+
* // Get first 10 User_secrets
|
|
6973
|
+
* const user_secrets = await prisma.user_secrets.findMany({ take: 10 })
|
|
6974
|
+
*
|
|
6975
|
+
* // Only select the `id`
|
|
6976
|
+
* const user_secretsWithIdOnly = await prisma.user_secrets.findMany({ select: { id: true } })
|
|
6977
|
+
*
|
|
6978
|
+
*/
|
|
6979
|
+
findMany<T extends user_secretsFindManyArgs>(args?: SelectSubset<T, user_secretsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$user_secretsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
6980
|
+
|
|
6981
|
+
/**
|
|
6982
|
+
* Create a User_secrets.
|
|
6983
|
+
* @param {user_secretsCreateArgs} args - Arguments to create a User_secrets.
|
|
6984
|
+
* @example
|
|
6985
|
+
* // Create one User_secrets
|
|
6986
|
+
* const User_secrets = await prisma.user_secrets.create({
|
|
6987
|
+
* data: {
|
|
6988
|
+
* // ... data to create a User_secrets
|
|
6989
|
+
* }
|
|
6990
|
+
* })
|
|
6991
|
+
*
|
|
6992
|
+
*/
|
|
6993
|
+
create<T extends user_secretsCreateArgs>(args: SelectSubset<T, user_secretsCreateArgs<ExtArgs>>): Prisma__user_secretsClient<$Result.GetResult<Prisma.$user_secretsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
6994
|
+
|
|
6995
|
+
/**
|
|
6996
|
+
* Create many User_secrets.
|
|
6997
|
+
* @param {user_secretsCreateManyArgs} args - Arguments to create many User_secrets.
|
|
6998
|
+
* @example
|
|
6999
|
+
* // Create many User_secrets
|
|
7000
|
+
* const user_secrets = await prisma.user_secrets.createMany({
|
|
7001
|
+
* data: [
|
|
7002
|
+
* // ... provide data here
|
|
7003
|
+
* ]
|
|
7004
|
+
* })
|
|
7005
|
+
*
|
|
7006
|
+
*/
|
|
7007
|
+
createMany<T extends user_secretsCreateManyArgs>(args?: SelectSubset<T, user_secretsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
7008
|
+
|
|
7009
|
+
/**
|
|
7010
|
+
* Create many User_secrets and returns the data saved in the database.
|
|
7011
|
+
* @param {user_secretsCreateManyAndReturnArgs} args - Arguments to create many User_secrets.
|
|
7012
|
+
* @example
|
|
7013
|
+
* // Create many User_secrets
|
|
7014
|
+
* const user_secrets = await prisma.user_secrets.createManyAndReturn({
|
|
7015
|
+
* data: [
|
|
7016
|
+
* // ... provide data here
|
|
7017
|
+
* ]
|
|
7018
|
+
* })
|
|
7019
|
+
*
|
|
7020
|
+
* // Create many User_secrets and only return the `id`
|
|
7021
|
+
* const user_secretsWithIdOnly = await prisma.user_secrets.createManyAndReturn({
|
|
7022
|
+
* select: { id: true },
|
|
7023
|
+
* data: [
|
|
7024
|
+
* // ... provide data here
|
|
7025
|
+
* ]
|
|
7026
|
+
* })
|
|
7027
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
7028
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
7029
|
+
*
|
|
7030
|
+
*/
|
|
7031
|
+
createManyAndReturn<T extends user_secretsCreateManyAndReturnArgs>(args?: SelectSubset<T, user_secretsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$user_secretsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
7032
|
+
|
|
7033
|
+
/**
|
|
7034
|
+
* Delete a User_secrets.
|
|
7035
|
+
* @param {user_secretsDeleteArgs} args - Arguments to delete one User_secrets.
|
|
7036
|
+
* @example
|
|
7037
|
+
* // Delete one User_secrets
|
|
7038
|
+
* const User_secrets = await prisma.user_secrets.delete({
|
|
7039
|
+
* where: {
|
|
7040
|
+
* // ... filter to delete one User_secrets
|
|
7041
|
+
* }
|
|
7042
|
+
* })
|
|
7043
|
+
*
|
|
7044
|
+
*/
|
|
7045
|
+
delete<T extends user_secretsDeleteArgs>(args: SelectSubset<T, user_secretsDeleteArgs<ExtArgs>>): Prisma__user_secretsClient<$Result.GetResult<Prisma.$user_secretsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
7046
|
+
|
|
7047
|
+
/**
|
|
7048
|
+
* Update one User_secrets.
|
|
7049
|
+
* @param {user_secretsUpdateArgs} args - Arguments to update one User_secrets.
|
|
7050
|
+
* @example
|
|
7051
|
+
* // Update one User_secrets
|
|
7052
|
+
* const user_secrets = await prisma.user_secrets.update({
|
|
7053
|
+
* where: {
|
|
7054
|
+
* // ... provide filter here
|
|
7055
|
+
* },
|
|
7056
|
+
* data: {
|
|
7057
|
+
* // ... provide data here
|
|
7058
|
+
* }
|
|
7059
|
+
* })
|
|
7060
|
+
*
|
|
7061
|
+
*/
|
|
7062
|
+
update<T extends user_secretsUpdateArgs>(args: SelectSubset<T, user_secretsUpdateArgs<ExtArgs>>): Prisma__user_secretsClient<$Result.GetResult<Prisma.$user_secretsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
7063
|
+
|
|
7064
|
+
/**
|
|
7065
|
+
* Delete zero or more User_secrets.
|
|
7066
|
+
* @param {user_secretsDeleteManyArgs} args - Arguments to filter User_secrets to delete.
|
|
7067
|
+
* @example
|
|
7068
|
+
* // Delete a few User_secrets
|
|
7069
|
+
* const { count } = await prisma.user_secrets.deleteMany({
|
|
7070
|
+
* where: {
|
|
7071
|
+
* // ... provide filter here
|
|
7072
|
+
* }
|
|
7073
|
+
* })
|
|
7074
|
+
*
|
|
7075
|
+
*/
|
|
7076
|
+
deleteMany<T extends user_secretsDeleteManyArgs>(args?: SelectSubset<T, user_secretsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
7077
|
+
|
|
7078
|
+
/**
|
|
7079
|
+
* Update zero or more User_secrets.
|
|
7080
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
7081
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
7082
|
+
* @param {user_secretsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
7083
|
+
* @example
|
|
7084
|
+
* // Update many User_secrets
|
|
7085
|
+
* const user_secrets = await prisma.user_secrets.updateMany({
|
|
7086
|
+
* where: {
|
|
7087
|
+
* // ... provide filter here
|
|
7088
|
+
* },
|
|
7089
|
+
* data: {
|
|
7090
|
+
* // ... provide data here
|
|
7091
|
+
* }
|
|
7092
|
+
* })
|
|
7093
|
+
*
|
|
7094
|
+
*/
|
|
7095
|
+
updateMany<T extends user_secretsUpdateManyArgs>(args: SelectSubset<T, user_secretsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
7096
|
+
|
|
7097
|
+
/**
|
|
7098
|
+
* Update zero or more User_secrets and returns the data updated in the database.
|
|
7099
|
+
* @param {user_secretsUpdateManyAndReturnArgs} args - Arguments to update many User_secrets.
|
|
7100
|
+
* @example
|
|
7101
|
+
* // Update many User_secrets
|
|
7102
|
+
* const user_secrets = await prisma.user_secrets.updateManyAndReturn({
|
|
7103
|
+
* where: {
|
|
7104
|
+
* // ... provide filter here
|
|
7105
|
+
* },
|
|
7106
|
+
* data: [
|
|
7107
|
+
* // ... provide data here
|
|
7108
|
+
* ]
|
|
7109
|
+
* })
|
|
7110
|
+
*
|
|
7111
|
+
* // Update zero or more User_secrets and only return the `id`
|
|
7112
|
+
* const user_secretsWithIdOnly = await prisma.user_secrets.updateManyAndReturn({
|
|
7113
|
+
* select: { id: true },
|
|
7114
|
+
* where: {
|
|
7115
|
+
* // ... provide filter here
|
|
7116
|
+
* },
|
|
7117
|
+
* data: [
|
|
7118
|
+
* // ... provide data here
|
|
7119
|
+
* ]
|
|
7120
|
+
* })
|
|
7121
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
7122
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
7123
|
+
*
|
|
7124
|
+
*/
|
|
7125
|
+
updateManyAndReturn<T extends user_secretsUpdateManyAndReturnArgs>(args: SelectSubset<T, user_secretsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$user_secretsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
7126
|
+
|
|
7127
|
+
/**
|
|
7128
|
+
* Create or update one User_secrets.
|
|
7129
|
+
* @param {user_secretsUpsertArgs} args - Arguments to update or create a User_secrets.
|
|
7130
|
+
* @example
|
|
7131
|
+
* // Update or create a User_secrets
|
|
7132
|
+
* const user_secrets = await prisma.user_secrets.upsert({
|
|
7133
|
+
* create: {
|
|
7134
|
+
* // ... data to create a User_secrets
|
|
7135
|
+
* },
|
|
7136
|
+
* update: {
|
|
7137
|
+
* // ... in case it already exists, update
|
|
7138
|
+
* },
|
|
7139
|
+
* where: {
|
|
7140
|
+
* // ... the filter for the User_secrets we want to update
|
|
7141
|
+
* }
|
|
7142
|
+
* })
|
|
7143
|
+
*/
|
|
7144
|
+
upsert<T extends user_secretsUpsertArgs>(args: SelectSubset<T, user_secretsUpsertArgs<ExtArgs>>): Prisma__user_secretsClient<$Result.GetResult<Prisma.$user_secretsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
7145
|
+
|
|
7146
|
+
|
|
7147
|
+
/**
|
|
7148
|
+
* Count the number of User_secrets.
|
|
7149
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
7150
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
7151
|
+
* @param {user_secretsCountArgs} args - Arguments to filter User_secrets to count.
|
|
7152
|
+
* @example
|
|
7153
|
+
* // Count the number of User_secrets
|
|
7154
|
+
* const count = await prisma.user_secrets.count({
|
|
7155
|
+
* where: {
|
|
7156
|
+
* // ... the filter for the User_secrets we want to count
|
|
7157
|
+
* }
|
|
7158
|
+
* })
|
|
7159
|
+
**/
|
|
7160
|
+
count<T extends user_secretsCountArgs>(
|
|
7161
|
+
args?: Subset<T, user_secretsCountArgs>,
|
|
7162
|
+
): Prisma.PrismaPromise<
|
|
7163
|
+
T extends $Utils.Record<'select', any>
|
|
7164
|
+
? T['select'] extends true
|
|
7165
|
+
? number
|
|
7166
|
+
: GetScalarType<T['select'], User_secretsCountAggregateOutputType>
|
|
7167
|
+
: number
|
|
7168
|
+
>
|
|
7169
|
+
|
|
7170
|
+
/**
|
|
7171
|
+
* Allows you to perform aggregations operations on a User_secrets.
|
|
7172
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
7173
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
7174
|
+
* @param {User_secretsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
7175
|
+
* @example
|
|
7176
|
+
* // Ordered by age ascending
|
|
7177
|
+
* // Where email contains prisma.io
|
|
7178
|
+
* // Limited to the 10 users
|
|
7179
|
+
* const aggregations = await prisma.user.aggregate({
|
|
7180
|
+
* _avg: {
|
|
7181
|
+
* age: true,
|
|
7182
|
+
* },
|
|
7183
|
+
* where: {
|
|
7184
|
+
* email: {
|
|
7185
|
+
* contains: "prisma.io",
|
|
7186
|
+
* },
|
|
7187
|
+
* },
|
|
7188
|
+
* orderBy: {
|
|
7189
|
+
* age: "asc",
|
|
7190
|
+
* },
|
|
7191
|
+
* take: 10,
|
|
7192
|
+
* })
|
|
7193
|
+
**/
|
|
7194
|
+
aggregate<T extends User_secretsAggregateArgs>(args: Subset<T, User_secretsAggregateArgs>): Prisma.PrismaPromise<GetUser_secretsAggregateType<T>>
|
|
7195
|
+
|
|
7196
|
+
/**
|
|
7197
|
+
* Group by User_secrets.
|
|
7198
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
7199
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
7200
|
+
* @param {user_secretsGroupByArgs} args - Group by arguments.
|
|
7201
|
+
* @example
|
|
7202
|
+
* // Group by city, order by createdAt, get count
|
|
7203
|
+
* const result = await prisma.user.groupBy({
|
|
7204
|
+
* by: ['city', 'createdAt'],
|
|
7205
|
+
* orderBy: {
|
|
7206
|
+
* createdAt: true
|
|
7207
|
+
* },
|
|
7208
|
+
* _count: {
|
|
7209
|
+
* _all: true
|
|
7210
|
+
* },
|
|
7211
|
+
* })
|
|
7212
|
+
*
|
|
7213
|
+
**/
|
|
7214
|
+
groupBy<
|
|
7215
|
+
T extends user_secretsGroupByArgs,
|
|
7216
|
+
HasSelectOrTake extends Or<
|
|
7217
|
+
Extends<'skip', Keys<T>>,
|
|
7218
|
+
Extends<'take', Keys<T>>
|
|
7219
|
+
>,
|
|
7220
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
7221
|
+
? { orderBy: user_secretsGroupByArgs['orderBy'] }
|
|
7222
|
+
: { orderBy?: user_secretsGroupByArgs['orderBy'] },
|
|
7223
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
7224
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
7225
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
7226
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
7227
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
7228
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
7229
|
+
InputErrors extends ByEmpty extends True
|
|
7230
|
+
? `Error: "by" must not be empty.`
|
|
7231
|
+
: HavingValid extends False
|
|
7232
|
+
? {
|
|
7233
|
+
[P in HavingFields]: P extends ByFields
|
|
7234
|
+
? never
|
|
7235
|
+
: P extends string
|
|
7236
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
7237
|
+
: [
|
|
7238
|
+
Error,
|
|
7239
|
+
'Field ',
|
|
7240
|
+
P,
|
|
7241
|
+
` in "having" needs to be provided in "by"`,
|
|
7242
|
+
]
|
|
7243
|
+
}[HavingFields]
|
|
7244
|
+
: 'take' extends Keys<T>
|
|
7245
|
+
? 'orderBy' extends Keys<T>
|
|
7246
|
+
? ByValid extends True
|
|
7247
|
+
? {}
|
|
7248
|
+
: {
|
|
7249
|
+
[P in OrderFields]: P extends ByFields
|
|
7250
|
+
? never
|
|
7251
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
7252
|
+
}[OrderFields]
|
|
7253
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
7254
|
+
: 'skip' extends Keys<T>
|
|
7255
|
+
? 'orderBy' extends Keys<T>
|
|
7256
|
+
? ByValid extends True
|
|
7257
|
+
? {}
|
|
7258
|
+
: {
|
|
7259
|
+
[P in OrderFields]: P extends ByFields
|
|
7260
|
+
? never
|
|
7261
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
7262
|
+
}[OrderFields]
|
|
7263
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
7264
|
+
: ByValid extends True
|
|
7265
|
+
? {}
|
|
7266
|
+
: {
|
|
7267
|
+
[P in OrderFields]: P extends ByFields
|
|
7268
|
+
? never
|
|
7269
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
7270
|
+
}[OrderFields]
|
|
7271
|
+
>(args: SubsetIntersection<T, user_secretsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUser_secretsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
7272
|
+
/**
|
|
7273
|
+
* Fields of the user_secrets model
|
|
7274
|
+
*/
|
|
7275
|
+
readonly fields: user_secretsFieldRefs;
|
|
7276
|
+
}
|
|
7277
|
+
|
|
7278
|
+
/**
|
|
7279
|
+
* The delegate class that acts as a "Promise-like" for user_secrets.
|
|
7280
|
+
* Why is this prefixed with `Prisma__`?
|
|
7281
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
7282
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
7283
|
+
*/
|
|
7284
|
+
export interface Prisma__user_secretsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
7285
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
7286
|
+
user<T extends usersDefaultArgs<ExtArgs> = {}>(args?: Subset<T, usersDefaultArgs<ExtArgs>>): Prisma__usersClient<$Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
7287
|
+
/**
|
|
7288
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
7289
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
7290
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
7291
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
7292
|
+
*/
|
|
7293
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
7294
|
+
/**
|
|
7295
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
7296
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
7297
|
+
* @returns A Promise for the completion of the callback.
|
|
7298
|
+
*/
|
|
7299
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
7300
|
+
/**
|
|
7301
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
7302
|
+
* resolved value cannot be modified from the callback.
|
|
7303
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
7304
|
+
* @returns A Promise for the completion of the callback.
|
|
7305
|
+
*/
|
|
7306
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
7307
|
+
}
|
|
7308
|
+
|
|
7309
|
+
|
|
7310
|
+
|
|
7311
|
+
|
|
7312
|
+
/**
|
|
7313
|
+
* Fields of the user_secrets model
|
|
7314
|
+
*/
|
|
7315
|
+
interface user_secretsFieldRefs {
|
|
7316
|
+
readonly id: FieldRef<"user_secrets", 'String'>
|
|
7317
|
+
readonly user_id: FieldRef<"user_secrets", 'String'>
|
|
7318
|
+
readonly key: FieldRef<"user_secrets", 'String'>
|
|
7319
|
+
readonly value: FieldRef<"user_secrets", 'String'>
|
|
7320
|
+
readonly created_at: FieldRef<"user_secrets", 'BigInt'>
|
|
7321
|
+
readonly updated_at: FieldRef<"user_secrets", 'BigInt'>
|
|
7322
|
+
}
|
|
7323
|
+
|
|
7324
|
+
|
|
7325
|
+
// Custom InputTypes
|
|
7326
|
+
/**
|
|
7327
|
+
* user_secrets findUnique
|
|
7328
|
+
*/
|
|
7329
|
+
export type user_secretsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7330
|
+
/**
|
|
7331
|
+
* Select specific fields to fetch from the user_secrets
|
|
7332
|
+
*/
|
|
7333
|
+
select?: user_secretsSelect<ExtArgs> | null
|
|
7334
|
+
/**
|
|
7335
|
+
* Omit specific fields from the user_secrets
|
|
7336
|
+
*/
|
|
7337
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
7338
|
+
/**
|
|
7339
|
+
* Choose, which related nodes to fetch as well
|
|
7340
|
+
*/
|
|
7341
|
+
include?: user_secretsInclude<ExtArgs> | null
|
|
7342
|
+
/**
|
|
7343
|
+
* Filter, which user_secrets to fetch.
|
|
7344
|
+
*/
|
|
7345
|
+
where: user_secretsWhereUniqueInput
|
|
7346
|
+
}
|
|
7347
|
+
|
|
7348
|
+
/**
|
|
7349
|
+
* user_secrets findUniqueOrThrow
|
|
7350
|
+
*/
|
|
7351
|
+
export type user_secretsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7352
|
+
/**
|
|
7353
|
+
* Select specific fields to fetch from the user_secrets
|
|
7354
|
+
*/
|
|
7355
|
+
select?: user_secretsSelect<ExtArgs> | null
|
|
7356
|
+
/**
|
|
7357
|
+
* Omit specific fields from the user_secrets
|
|
7358
|
+
*/
|
|
7359
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
7360
|
+
/**
|
|
7361
|
+
* Choose, which related nodes to fetch as well
|
|
7362
|
+
*/
|
|
7363
|
+
include?: user_secretsInclude<ExtArgs> | null
|
|
7364
|
+
/**
|
|
7365
|
+
* Filter, which user_secrets to fetch.
|
|
7366
|
+
*/
|
|
7367
|
+
where: user_secretsWhereUniqueInput
|
|
7368
|
+
}
|
|
7369
|
+
|
|
7370
|
+
/**
|
|
7371
|
+
* user_secrets findFirst
|
|
7372
|
+
*/
|
|
7373
|
+
export type user_secretsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7374
|
+
/**
|
|
7375
|
+
* Select specific fields to fetch from the user_secrets
|
|
7376
|
+
*/
|
|
7377
|
+
select?: user_secretsSelect<ExtArgs> | null
|
|
7378
|
+
/**
|
|
7379
|
+
* Omit specific fields from the user_secrets
|
|
7380
|
+
*/
|
|
7381
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
7382
|
+
/**
|
|
7383
|
+
* Choose, which related nodes to fetch as well
|
|
7384
|
+
*/
|
|
7385
|
+
include?: user_secretsInclude<ExtArgs> | null
|
|
7386
|
+
/**
|
|
7387
|
+
* Filter, which user_secrets to fetch.
|
|
7388
|
+
*/
|
|
7389
|
+
where?: user_secretsWhereInput
|
|
7390
|
+
/**
|
|
7391
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
7392
|
+
*
|
|
7393
|
+
* Determine the order of user_secrets to fetch.
|
|
7394
|
+
*/
|
|
7395
|
+
orderBy?: user_secretsOrderByWithRelationInput | user_secretsOrderByWithRelationInput[]
|
|
7396
|
+
/**
|
|
7397
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
7398
|
+
*
|
|
7399
|
+
* Sets the position for searching for user_secrets.
|
|
7400
|
+
*/
|
|
7401
|
+
cursor?: user_secretsWhereUniqueInput
|
|
7402
|
+
/**
|
|
7403
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7404
|
+
*
|
|
7405
|
+
* Take `±n` user_secrets from the position of the cursor.
|
|
7406
|
+
*/
|
|
7407
|
+
take?: number
|
|
7408
|
+
/**
|
|
7409
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7410
|
+
*
|
|
7411
|
+
* Skip the first `n` user_secrets.
|
|
7412
|
+
*/
|
|
7413
|
+
skip?: number
|
|
7414
|
+
/**
|
|
7415
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
7416
|
+
*
|
|
7417
|
+
* Filter by unique combinations of user_secrets.
|
|
7418
|
+
*/
|
|
7419
|
+
distinct?: User_secretsScalarFieldEnum | User_secretsScalarFieldEnum[]
|
|
7420
|
+
}
|
|
7421
|
+
|
|
7422
|
+
/**
|
|
7423
|
+
* user_secrets findFirstOrThrow
|
|
7424
|
+
*/
|
|
7425
|
+
export type user_secretsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7426
|
+
/**
|
|
7427
|
+
* Select specific fields to fetch from the user_secrets
|
|
7428
|
+
*/
|
|
7429
|
+
select?: user_secretsSelect<ExtArgs> | null
|
|
7430
|
+
/**
|
|
7431
|
+
* Omit specific fields from the user_secrets
|
|
7432
|
+
*/
|
|
7433
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
7434
|
+
/**
|
|
7435
|
+
* Choose, which related nodes to fetch as well
|
|
7436
|
+
*/
|
|
7437
|
+
include?: user_secretsInclude<ExtArgs> | null
|
|
7438
|
+
/**
|
|
7439
|
+
* Filter, which user_secrets to fetch.
|
|
7440
|
+
*/
|
|
7441
|
+
where?: user_secretsWhereInput
|
|
7442
|
+
/**
|
|
7443
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
7444
|
+
*
|
|
7445
|
+
* Determine the order of user_secrets to fetch.
|
|
7446
|
+
*/
|
|
7447
|
+
orderBy?: user_secretsOrderByWithRelationInput | user_secretsOrderByWithRelationInput[]
|
|
7448
|
+
/**
|
|
7449
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
7450
|
+
*
|
|
7451
|
+
* Sets the position for searching for user_secrets.
|
|
7452
|
+
*/
|
|
7453
|
+
cursor?: user_secretsWhereUniqueInput
|
|
7454
|
+
/**
|
|
7455
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7456
|
+
*
|
|
7457
|
+
* Take `±n` user_secrets from the position of the cursor.
|
|
7458
|
+
*/
|
|
7459
|
+
take?: number
|
|
7460
|
+
/**
|
|
7461
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7462
|
+
*
|
|
7463
|
+
* Skip the first `n` user_secrets.
|
|
7464
|
+
*/
|
|
7465
|
+
skip?: number
|
|
7466
|
+
/**
|
|
7467
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
7468
|
+
*
|
|
7469
|
+
* Filter by unique combinations of user_secrets.
|
|
7470
|
+
*/
|
|
7471
|
+
distinct?: User_secretsScalarFieldEnum | User_secretsScalarFieldEnum[]
|
|
7472
|
+
}
|
|
7473
|
+
|
|
7474
|
+
/**
|
|
7475
|
+
* user_secrets findMany
|
|
7476
|
+
*/
|
|
7477
|
+
export type user_secretsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7478
|
+
/**
|
|
7479
|
+
* Select specific fields to fetch from the user_secrets
|
|
7480
|
+
*/
|
|
7481
|
+
select?: user_secretsSelect<ExtArgs> | null
|
|
7482
|
+
/**
|
|
7483
|
+
* Omit specific fields from the user_secrets
|
|
7484
|
+
*/
|
|
7485
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
7486
|
+
/**
|
|
7487
|
+
* Choose, which related nodes to fetch as well
|
|
7488
|
+
*/
|
|
7489
|
+
include?: user_secretsInclude<ExtArgs> | null
|
|
7490
|
+
/**
|
|
7491
|
+
* Filter, which user_secrets to fetch.
|
|
7492
|
+
*/
|
|
7493
|
+
where?: user_secretsWhereInput
|
|
7494
|
+
/**
|
|
7495
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
7496
|
+
*
|
|
7497
|
+
* Determine the order of user_secrets to fetch.
|
|
7498
|
+
*/
|
|
7499
|
+
orderBy?: user_secretsOrderByWithRelationInput | user_secretsOrderByWithRelationInput[]
|
|
7500
|
+
/**
|
|
7501
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
7502
|
+
*
|
|
7503
|
+
* Sets the position for listing user_secrets.
|
|
7504
|
+
*/
|
|
7505
|
+
cursor?: user_secretsWhereUniqueInput
|
|
7506
|
+
/**
|
|
7507
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7508
|
+
*
|
|
7509
|
+
* Take `±n` user_secrets from the position of the cursor.
|
|
7510
|
+
*/
|
|
7511
|
+
take?: number
|
|
7512
|
+
/**
|
|
7513
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7514
|
+
*
|
|
7515
|
+
* Skip the first `n` user_secrets.
|
|
7516
|
+
*/
|
|
7517
|
+
skip?: number
|
|
7518
|
+
distinct?: User_secretsScalarFieldEnum | User_secretsScalarFieldEnum[]
|
|
7519
|
+
}
|
|
7520
|
+
|
|
7521
|
+
/**
|
|
7522
|
+
* user_secrets create
|
|
7523
|
+
*/
|
|
7524
|
+
export type user_secretsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7525
|
+
/**
|
|
7526
|
+
* Select specific fields to fetch from the user_secrets
|
|
7527
|
+
*/
|
|
7528
|
+
select?: user_secretsSelect<ExtArgs> | null
|
|
7529
|
+
/**
|
|
7530
|
+
* Omit specific fields from the user_secrets
|
|
7531
|
+
*/
|
|
7532
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
7533
|
+
/**
|
|
7534
|
+
* Choose, which related nodes to fetch as well
|
|
7535
|
+
*/
|
|
7536
|
+
include?: user_secretsInclude<ExtArgs> | null
|
|
7537
|
+
/**
|
|
7538
|
+
* The data needed to create a user_secrets.
|
|
7539
|
+
*/
|
|
7540
|
+
data: XOR<user_secretsCreateInput, user_secretsUncheckedCreateInput>
|
|
7541
|
+
}
|
|
7542
|
+
|
|
7543
|
+
/**
|
|
7544
|
+
* user_secrets createMany
|
|
7545
|
+
*/
|
|
7546
|
+
export type user_secretsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7547
|
+
/**
|
|
7548
|
+
* The data used to create many user_secrets.
|
|
7549
|
+
*/
|
|
7550
|
+
data: user_secretsCreateManyInput | user_secretsCreateManyInput[]
|
|
7551
|
+
}
|
|
7552
|
+
|
|
7553
|
+
/**
|
|
7554
|
+
* user_secrets createManyAndReturn
|
|
7555
|
+
*/
|
|
7556
|
+
export type user_secretsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7557
|
+
/**
|
|
7558
|
+
* Select specific fields to fetch from the user_secrets
|
|
7559
|
+
*/
|
|
7560
|
+
select?: user_secretsSelectCreateManyAndReturn<ExtArgs> | null
|
|
7561
|
+
/**
|
|
7562
|
+
* Omit specific fields from the user_secrets
|
|
7563
|
+
*/
|
|
7564
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
7565
|
+
/**
|
|
7566
|
+
* The data used to create many user_secrets.
|
|
7567
|
+
*/
|
|
7568
|
+
data: user_secretsCreateManyInput | user_secretsCreateManyInput[]
|
|
7569
|
+
/**
|
|
7570
|
+
* Choose, which related nodes to fetch as well
|
|
7571
|
+
*/
|
|
7572
|
+
include?: user_secretsIncludeCreateManyAndReturn<ExtArgs> | null
|
|
7573
|
+
}
|
|
7574
|
+
|
|
7575
|
+
/**
|
|
7576
|
+
* user_secrets update
|
|
7577
|
+
*/
|
|
7578
|
+
export type user_secretsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7579
|
+
/**
|
|
7580
|
+
* Select specific fields to fetch from the user_secrets
|
|
7581
|
+
*/
|
|
7582
|
+
select?: user_secretsSelect<ExtArgs> | null
|
|
7583
|
+
/**
|
|
7584
|
+
* Omit specific fields from the user_secrets
|
|
7585
|
+
*/
|
|
7586
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
7587
|
+
/**
|
|
7588
|
+
* Choose, which related nodes to fetch as well
|
|
7589
|
+
*/
|
|
7590
|
+
include?: user_secretsInclude<ExtArgs> | null
|
|
7591
|
+
/**
|
|
7592
|
+
* The data needed to update a user_secrets.
|
|
7593
|
+
*/
|
|
7594
|
+
data: XOR<user_secretsUpdateInput, user_secretsUncheckedUpdateInput>
|
|
7595
|
+
/**
|
|
7596
|
+
* Choose, which user_secrets to update.
|
|
7597
|
+
*/
|
|
7598
|
+
where: user_secretsWhereUniqueInput
|
|
7599
|
+
}
|
|
7600
|
+
|
|
7601
|
+
/**
|
|
7602
|
+
* user_secrets updateMany
|
|
7603
|
+
*/
|
|
7604
|
+
export type user_secretsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7605
|
+
/**
|
|
7606
|
+
* The data used to update user_secrets.
|
|
7607
|
+
*/
|
|
7608
|
+
data: XOR<user_secretsUpdateManyMutationInput, user_secretsUncheckedUpdateManyInput>
|
|
7609
|
+
/**
|
|
7610
|
+
* Filter which user_secrets to update
|
|
7611
|
+
*/
|
|
7612
|
+
where?: user_secretsWhereInput
|
|
7613
|
+
/**
|
|
7614
|
+
* Limit how many user_secrets to update.
|
|
7615
|
+
*/
|
|
7616
|
+
limit?: number
|
|
7617
|
+
}
|
|
7618
|
+
|
|
7619
|
+
/**
|
|
7620
|
+
* user_secrets updateManyAndReturn
|
|
7621
|
+
*/
|
|
7622
|
+
export type user_secretsUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7623
|
+
/**
|
|
7624
|
+
* Select specific fields to fetch from the user_secrets
|
|
7625
|
+
*/
|
|
7626
|
+
select?: user_secretsSelectUpdateManyAndReturn<ExtArgs> | null
|
|
7627
|
+
/**
|
|
7628
|
+
* Omit specific fields from the user_secrets
|
|
7629
|
+
*/
|
|
7630
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
7631
|
+
/**
|
|
7632
|
+
* The data used to update user_secrets.
|
|
7633
|
+
*/
|
|
7634
|
+
data: XOR<user_secretsUpdateManyMutationInput, user_secretsUncheckedUpdateManyInput>
|
|
7635
|
+
/**
|
|
7636
|
+
* Filter which user_secrets to update
|
|
7637
|
+
*/
|
|
7638
|
+
where?: user_secretsWhereInput
|
|
7639
|
+
/**
|
|
7640
|
+
* Limit how many user_secrets to update.
|
|
7641
|
+
*/
|
|
7642
|
+
limit?: number
|
|
7643
|
+
/**
|
|
7644
|
+
* Choose, which related nodes to fetch as well
|
|
7645
|
+
*/
|
|
7646
|
+
include?: user_secretsIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
7647
|
+
}
|
|
7648
|
+
|
|
7649
|
+
/**
|
|
7650
|
+
* user_secrets upsert
|
|
7651
|
+
*/
|
|
7652
|
+
export type user_secretsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7653
|
+
/**
|
|
7654
|
+
* Select specific fields to fetch from the user_secrets
|
|
7655
|
+
*/
|
|
7656
|
+
select?: user_secretsSelect<ExtArgs> | null
|
|
7657
|
+
/**
|
|
7658
|
+
* Omit specific fields from the user_secrets
|
|
7659
|
+
*/
|
|
7660
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
7661
|
+
/**
|
|
7662
|
+
* Choose, which related nodes to fetch as well
|
|
7663
|
+
*/
|
|
7664
|
+
include?: user_secretsInclude<ExtArgs> | null
|
|
7665
|
+
/**
|
|
7666
|
+
* The filter to search for the user_secrets to update in case it exists.
|
|
7667
|
+
*/
|
|
7668
|
+
where: user_secretsWhereUniqueInput
|
|
7669
|
+
/**
|
|
7670
|
+
* In case the user_secrets found by the `where` argument doesn't exist, create a new user_secrets with this data.
|
|
7671
|
+
*/
|
|
7672
|
+
create: XOR<user_secretsCreateInput, user_secretsUncheckedCreateInput>
|
|
7673
|
+
/**
|
|
7674
|
+
* In case the user_secrets was found with the provided `where` argument, update it with this data.
|
|
7675
|
+
*/
|
|
7676
|
+
update: XOR<user_secretsUpdateInput, user_secretsUncheckedUpdateInput>
|
|
7677
|
+
}
|
|
7678
|
+
|
|
7679
|
+
/**
|
|
7680
|
+
* user_secrets delete
|
|
7681
|
+
*/
|
|
7682
|
+
export type user_secretsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7683
|
+
/**
|
|
7684
|
+
* Select specific fields to fetch from the user_secrets
|
|
7685
|
+
*/
|
|
7686
|
+
select?: user_secretsSelect<ExtArgs> | null
|
|
7687
|
+
/**
|
|
7688
|
+
* Omit specific fields from the user_secrets
|
|
7689
|
+
*/
|
|
7690
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
7691
|
+
/**
|
|
7692
|
+
* Choose, which related nodes to fetch as well
|
|
7693
|
+
*/
|
|
7694
|
+
include?: user_secretsInclude<ExtArgs> | null
|
|
7695
|
+
/**
|
|
7696
|
+
* Filter which user_secrets to delete.
|
|
7697
|
+
*/
|
|
7698
|
+
where: user_secretsWhereUniqueInput
|
|
7699
|
+
}
|
|
7700
|
+
|
|
7701
|
+
/**
|
|
7702
|
+
* user_secrets deleteMany
|
|
7703
|
+
*/
|
|
7704
|
+
export type user_secretsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7705
|
+
/**
|
|
7706
|
+
* Filter which user_secrets to delete
|
|
7707
|
+
*/
|
|
7708
|
+
where?: user_secretsWhereInput
|
|
7709
|
+
/**
|
|
7710
|
+
* Limit how many user_secrets to delete.
|
|
7711
|
+
*/
|
|
7712
|
+
limit?: number
|
|
7713
|
+
}
|
|
7714
|
+
|
|
7715
|
+
/**
|
|
7716
|
+
* user_secrets without action
|
|
7717
|
+
*/
|
|
7718
|
+
export type user_secretsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7719
|
+
/**
|
|
7720
|
+
* Select specific fields to fetch from the user_secrets
|
|
7721
|
+
*/
|
|
7722
|
+
select?: user_secretsSelect<ExtArgs> | null
|
|
7723
|
+
/**
|
|
7724
|
+
* Omit specific fields from the user_secrets
|
|
7725
|
+
*/
|
|
7726
|
+
omit?: user_secretsOmit<ExtArgs> | null
|
|
7727
|
+
/**
|
|
7728
|
+
* Choose, which related nodes to fetch as well
|
|
7729
|
+
*/
|
|
7730
|
+
include?: user_secretsInclude<ExtArgs> | null
|
|
7731
|
+
}
|
|
7732
|
+
|
|
7733
|
+
|
|
7734
|
+
/**
|
|
7735
|
+
* Model global_secrets
|
|
7736
|
+
*/
|
|
7737
|
+
|
|
7738
|
+
export type AggregateGlobal_secrets = {
|
|
7739
|
+
_count: Global_secretsCountAggregateOutputType | null
|
|
7740
|
+
_avg: Global_secretsAvgAggregateOutputType | null
|
|
7741
|
+
_sum: Global_secretsSumAggregateOutputType | null
|
|
7742
|
+
_min: Global_secretsMinAggregateOutputType | null
|
|
7743
|
+
_max: Global_secretsMaxAggregateOutputType | null
|
|
7744
|
+
}
|
|
7745
|
+
|
|
7746
|
+
export type Global_secretsAvgAggregateOutputType = {
|
|
7747
|
+
created_at: number | null
|
|
7748
|
+
updated_at: number | null
|
|
7749
|
+
}
|
|
7750
|
+
|
|
7751
|
+
export type Global_secretsSumAggregateOutputType = {
|
|
7752
|
+
created_at: bigint | null
|
|
7753
|
+
updated_at: bigint | null
|
|
7754
|
+
}
|
|
7755
|
+
|
|
7756
|
+
export type Global_secretsMinAggregateOutputType = {
|
|
7757
|
+
id: string | null
|
|
7758
|
+
key: string | null
|
|
7759
|
+
value: string | null
|
|
7760
|
+
created_by_user_id: string | null
|
|
7761
|
+
updated_by_user_id: string | null
|
|
7762
|
+
created_at: bigint | null
|
|
7763
|
+
updated_at: bigint | null
|
|
7764
|
+
}
|
|
7765
|
+
|
|
7766
|
+
export type Global_secretsMaxAggregateOutputType = {
|
|
7767
|
+
id: string | null
|
|
7768
|
+
key: string | null
|
|
7769
|
+
value: string | null
|
|
7770
|
+
created_by_user_id: string | null
|
|
7771
|
+
updated_by_user_id: string | null
|
|
7772
|
+
created_at: bigint | null
|
|
7773
|
+
updated_at: bigint | null
|
|
7774
|
+
}
|
|
7775
|
+
|
|
7776
|
+
export type Global_secretsCountAggregateOutputType = {
|
|
7777
|
+
id: number
|
|
7778
|
+
key: number
|
|
7779
|
+
value: number
|
|
7780
|
+
created_by_user_id: number
|
|
7781
|
+
updated_by_user_id: number
|
|
7782
|
+
created_at: number
|
|
7783
|
+
updated_at: number
|
|
7784
|
+
_all: number
|
|
7785
|
+
}
|
|
7786
|
+
|
|
7787
|
+
|
|
7788
|
+
export type Global_secretsAvgAggregateInputType = {
|
|
7789
|
+
created_at?: true
|
|
7790
|
+
updated_at?: true
|
|
7791
|
+
}
|
|
7792
|
+
|
|
7793
|
+
export type Global_secretsSumAggregateInputType = {
|
|
7794
|
+
created_at?: true
|
|
7795
|
+
updated_at?: true
|
|
7796
|
+
}
|
|
7797
|
+
|
|
7798
|
+
export type Global_secretsMinAggregateInputType = {
|
|
7799
|
+
id?: true
|
|
7800
|
+
key?: true
|
|
7801
|
+
value?: true
|
|
7802
|
+
created_by_user_id?: true
|
|
7803
|
+
updated_by_user_id?: true
|
|
7804
|
+
created_at?: true
|
|
7805
|
+
updated_at?: true
|
|
7806
|
+
}
|
|
7807
|
+
|
|
7808
|
+
export type Global_secretsMaxAggregateInputType = {
|
|
7809
|
+
id?: true
|
|
7810
|
+
key?: true
|
|
7811
|
+
value?: true
|
|
7812
|
+
created_by_user_id?: true
|
|
7813
|
+
updated_by_user_id?: true
|
|
7814
|
+
created_at?: true
|
|
7815
|
+
updated_at?: true
|
|
7816
|
+
}
|
|
7817
|
+
|
|
7818
|
+
export type Global_secretsCountAggregateInputType = {
|
|
7819
|
+
id?: true
|
|
7820
|
+
key?: true
|
|
7821
|
+
value?: true
|
|
7822
|
+
created_by_user_id?: true
|
|
7823
|
+
updated_by_user_id?: true
|
|
7824
|
+
created_at?: true
|
|
7825
|
+
updated_at?: true
|
|
7826
|
+
_all?: true
|
|
7827
|
+
}
|
|
7828
|
+
|
|
7829
|
+
export type Global_secretsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7830
|
+
/**
|
|
7831
|
+
* Filter which global_secrets to aggregate.
|
|
7832
|
+
*/
|
|
7833
|
+
where?: global_secretsWhereInput
|
|
7834
|
+
/**
|
|
7835
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
7836
|
+
*
|
|
7837
|
+
* Determine the order of global_secrets to fetch.
|
|
7838
|
+
*/
|
|
7839
|
+
orderBy?: global_secretsOrderByWithRelationInput | global_secretsOrderByWithRelationInput[]
|
|
7840
|
+
/**
|
|
7841
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
7842
|
+
*
|
|
7843
|
+
* Sets the start position
|
|
7844
|
+
*/
|
|
7845
|
+
cursor?: global_secretsWhereUniqueInput
|
|
7846
|
+
/**
|
|
7847
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7848
|
+
*
|
|
7849
|
+
* Take `±n` global_secrets from the position of the cursor.
|
|
7850
|
+
*/
|
|
7851
|
+
take?: number
|
|
7852
|
+
/**
|
|
7853
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7854
|
+
*
|
|
7855
|
+
* Skip the first `n` global_secrets.
|
|
7856
|
+
*/
|
|
7857
|
+
skip?: number
|
|
7858
|
+
/**
|
|
7859
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
7860
|
+
*
|
|
7861
|
+
* Count returned global_secrets
|
|
7862
|
+
**/
|
|
7863
|
+
_count?: true | Global_secretsCountAggregateInputType
|
|
7864
|
+
/**
|
|
7865
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
7866
|
+
*
|
|
7867
|
+
* Select which fields to average
|
|
7868
|
+
**/
|
|
7869
|
+
_avg?: Global_secretsAvgAggregateInputType
|
|
7870
|
+
/**
|
|
7871
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
7872
|
+
*
|
|
7873
|
+
* Select which fields to sum
|
|
7874
|
+
**/
|
|
7875
|
+
_sum?: Global_secretsSumAggregateInputType
|
|
7876
|
+
/**
|
|
7877
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
7878
|
+
*
|
|
7879
|
+
* Select which fields to find the minimum value
|
|
7880
|
+
**/
|
|
7881
|
+
_min?: Global_secretsMinAggregateInputType
|
|
7882
|
+
/**
|
|
7883
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
7884
|
+
*
|
|
7885
|
+
* Select which fields to find the maximum value
|
|
7886
|
+
**/
|
|
7887
|
+
_max?: Global_secretsMaxAggregateInputType
|
|
7888
|
+
}
|
|
7889
|
+
|
|
7890
|
+
export type GetGlobal_secretsAggregateType<T extends Global_secretsAggregateArgs> = {
|
|
7891
|
+
[P in keyof T & keyof AggregateGlobal_secrets]: P extends '_count' | 'count'
|
|
7892
|
+
? T[P] extends true
|
|
7893
|
+
? number
|
|
7894
|
+
: GetScalarType<T[P], AggregateGlobal_secrets[P]>
|
|
7895
|
+
: GetScalarType<T[P], AggregateGlobal_secrets[P]>
|
|
7896
|
+
}
|
|
7897
|
+
|
|
7898
|
+
|
|
7899
|
+
|
|
7900
|
+
|
|
7901
|
+
export type global_secretsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7902
|
+
where?: global_secretsWhereInput
|
|
7903
|
+
orderBy?: global_secretsOrderByWithAggregationInput | global_secretsOrderByWithAggregationInput[]
|
|
7904
|
+
by: Global_secretsScalarFieldEnum[] | Global_secretsScalarFieldEnum
|
|
7905
|
+
having?: global_secretsScalarWhereWithAggregatesInput
|
|
7906
|
+
take?: number
|
|
7907
|
+
skip?: number
|
|
7908
|
+
_count?: Global_secretsCountAggregateInputType | true
|
|
7909
|
+
_avg?: Global_secretsAvgAggregateInputType
|
|
7910
|
+
_sum?: Global_secretsSumAggregateInputType
|
|
7911
|
+
_min?: Global_secretsMinAggregateInputType
|
|
7912
|
+
_max?: Global_secretsMaxAggregateInputType
|
|
7913
|
+
}
|
|
7914
|
+
|
|
7915
|
+
export type Global_secretsGroupByOutputType = {
|
|
7916
|
+
id: string
|
|
7917
|
+
key: string
|
|
7918
|
+
value: string
|
|
7919
|
+
created_by_user_id: string
|
|
7920
|
+
updated_by_user_id: string
|
|
7921
|
+
created_at: bigint
|
|
7922
|
+
updated_at: bigint
|
|
7923
|
+
_count: Global_secretsCountAggregateOutputType | null
|
|
7924
|
+
_avg: Global_secretsAvgAggregateOutputType | null
|
|
7925
|
+
_sum: Global_secretsSumAggregateOutputType | null
|
|
7926
|
+
_min: Global_secretsMinAggregateOutputType | null
|
|
7927
|
+
_max: Global_secretsMaxAggregateOutputType | null
|
|
7928
|
+
}
|
|
7929
|
+
|
|
7930
|
+
type GetGlobal_secretsGroupByPayload<T extends global_secretsGroupByArgs> = Prisma.PrismaPromise<
|
|
7931
|
+
Array<
|
|
7932
|
+
PickEnumerable<Global_secretsGroupByOutputType, T['by']> &
|
|
7933
|
+
{
|
|
7934
|
+
[P in ((keyof T) & (keyof Global_secretsGroupByOutputType))]: P extends '_count'
|
|
7935
|
+
? T[P] extends boolean
|
|
7936
|
+
? number
|
|
7937
|
+
: GetScalarType<T[P], Global_secretsGroupByOutputType[P]>
|
|
7938
|
+
: GetScalarType<T[P], Global_secretsGroupByOutputType[P]>
|
|
7939
|
+
}
|
|
7940
|
+
>
|
|
7941
|
+
>
|
|
7942
|
+
|
|
7943
|
+
|
|
7944
|
+
export type global_secretsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
7945
|
+
id?: boolean
|
|
7946
|
+
key?: boolean
|
|
7947
|
+
value?: boolean
|
|
7948
|
+
created_by_user_id?: boolean
|
|
7949
|
+
updated_by_user_id?: boolean
|
|
7950
|
+
created_at?: boolean
|
|
7951
|
+
updated_at?: boolean
|
|
7952
|
+
}, ExtArgs["result"]["global_secrets"]>
|
|
7953
|
+
|
|
7954
|
+
export type global_secretsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
7955
|
+
id?: boolean
|
|
7956
|
+
key?: boolean
|
|
7957
|
+
value?: boolean
|
|
7958
|
+
created_by_user_id?: boolean
|
|
7959
|
+
updated_by_user_id?: boolean
|
|
7960
|
+
created_at?: boolean
|
|
7961
|
+
updated_at?: boolean
|
|
7962
|
+
}, ExtArgs["result"]["global_secrets"]>
|
|
7963
|
+
|
|
7964
|
+
export type global_secretsSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
7965
|
+
id?: boolean
|
|
7966
|
+
key?: boolean
|
|
7967
|
+
value?: boolean
|
|
7968
|
+
created_by_user_id?: boolean
|
|
7969
|
+
updated_by_user_id?: boolean
|
|
7970
|
+
created_at?: boolean
|
|
7971
|
+
updated_at?: boolean
|
|
7972
|
+
}, ExtArgs["result"]["global_secrets"]>
|
|
7973
|
+
|
|
7974
|
+
export type global_secretsSelectScalar = {
|
|
7975
|
+
id?: boolean
|
|
7976
|
+
key?: boolean
|
|
7977
|
+
value?: boolean
|
|
7978
|
+
created_by_user_id?: boolean
|
|
7979
|
+
updated_by_user_id?: boolean
|
|
7980
|
+
created_at?: boolean
|
|
7981
|
+
updated_at?: boolean
|
|
7982
|
+
}
|
|
7983
|
+
|
|
7984
|
+
export type global_secretsOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "key" | "value" | "created_by_user_id" | "updated_by_user_id" | "created_at" | "updated_at", ExtArgs["result"]["global_secrets"]>
|
|
7985
|
+
|
|
7986
|
+
export type $global_secretsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7987
|
+
name: "global_secrets"
|
|
7988
|
+
objects: {}
|
|
7989
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
7990
|
+
id: string
|
|
7991
|
+
key: string
|
|
7992
|
+
value: string
|
|
7993
|
+
created_by_user_id: string
|
|
7994
|
+
updated_by_user_id: string
|
|
7995
|
+
created_at: bigint
|
|
7996
|
+
updated_at: bigint
|
|
7997
|
+
}, ExtArgs["result"]["global_secrets"]>
|
|
7998
|
+
composites: {}
|
|
7999
|
+
}
|
|
8000
|
+
|
|
8001
|
+
type global_secretsGetPayload<S extends boolean | null | undefined | global_secretsDefaultArgs> = $Result.GetResult<Prisma.$global_secretsPayload, S>
|
|
8002
|
+
|
|
8003
|
+
type global_secretsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
8004
|
+
Omit<global_secretsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
8005
|
+
select?: Global_secretsCountAggregateInputType | true
|
|
8006
|
+
}
|
|
8007
|
+
|
|
8008
|
+
export interface global_secretsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
8009
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['global_secrets'], meta: { name: 'global_secrets' } }
|
|
8010
|
+
/**
|
|
8011
|
+
* Find zero or one Global_secrets that matches the filter.
|
|
8012
|
+
* @param {global_secretsFindUniqueArgs} args - Arguments to find a Global_secrets
|
|
8013
|
+
* @example
|
|
8014
|
+
* // Get one Global_secrets
|
|
8015
|
+
* const global_secrets = await prisma.global_secrets.findUnique({
|
|
8016
|
+
* where: {
|
|
8017
|
+
* // ... provide filter here
|
|
8018
|
+
* }
|
|
8019
|
+
* })
|
|
8020
|
+
*/
|
|
8021
|
+
findUnique<T extends global_secretsFindUniqueArgs>(args: SelectSubset<T, global_secretsFindUniqueArgs<ExtArgs>>): Prisma__global_secretsClient<$Result.GetResult<Prisma.$global_secretsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
8022
|
+
|
|
8023
|
+
/**
|
|
8024
|
+
* Find one Global_secrets that matches the filter or throw an error with `error.code='P2025'`
|
|
8025
|
+
* if no matches were found.
|
|
8026
|
+
* @param {global_secretsFindUniqueOrThrowArgs} args - Arguments to find a Global_secrets
|
|
8027
|
+
* @example
|
|
8028
|
+
* // Get one Global_secrets
|
|
8029
|
+
* const global_secrets = await prisma.global_secrets.findUniqueOrThrow({
|
|
8030
|
+
* where: {
|
|
8031
|
+
* // ... provide filter here
|
|
8032
|
+
* }
|
|
8033
|
+
* })
|
|
8034
|
+
*/
|
|
8035
|
+
findUniqueOrThrow<T extends global_secretsFindUniqueOrThrowArgs>(args: SelectSubset<T, global_secretsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__global_secretsClient<$Result.GetResult<Prisma.$global_secretsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
8036
|
+
|
|
8037
|
+
/**
|
|
8038
|
+
* Find the first Global_secrets that matches the filter.
|
|
8039
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8040
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8041
|
+
* @param {global_secretsFindFirstArgs} args - Arguments to find a Global_secrets
|
|
8042
|
+
* @example
|
|
8043
|
+
* // Get one Global_secrets
|
|
8044
|
+
* const global_secrets = await prisma.global_secrets.findFirst({
|
|
8045
|
+
* where: {
|
|
8046
|
+
* // ... provide filter here
|
|
8047
|
+
* }
|
|
8048
|
+
* })
|
|
8049
|
+
*/
|
|
8050
|
+
findFirst<T extends global_secretsFindFirstArgs>(args?: SelectSubset<T, global_secretsFindFirstArgs<ExtArgs>>): Prisma__global_secretsClient<$Result.GetResult<Prisma.$global_secretsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
8051
|
+
|
|
8052
|
+
/**
|
|
8053
|
+
* Find the first Global_secrets that matches the filter or
|
|
8054
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
8055
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8056
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8057
|
+
* @param {global_secretsFindFirstOrThrowArgs} args - Arguments to find a Global_secrets
|
|
8058
|
+
* @example
|
|
8059
|
+
* // Get one Global_secrets
|
|
8060
|
+
* const global_secrets = await prisma.global_secrets.findFirstOrThrow({
|
|
8061
|
+
* where: {
|
|
8062
|
+
* // ... provide filter here
|
|
8063
|
+
* }
|
|
8064
|
+
* })
|
|
8065
|
+
*/
|
|
8066
|
+
findFirstOrThrow<T extends global_secretsFindFirstOrThrowArgs>(args?: SelectSubset<T, global_secretsFindFirstOrThrowArgs<ExtArgs>>): Prisma__global_secretsClient<$Result.GetResult<Prisma.$global_secretsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
8067
|
+
|
|
8068
|
+
/**
|
|
8069
|
+
* Find zero or more Global_secrets that matches the filter.
|
|
8070
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8071
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8072
|
+
* @param {global_secretsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
8073
|
+
* @example
|
|
8074
|
+
* // Get all Global_secrets
|
|
8075
|
+
* const global_secrets = await prisma.global_secrets.findMany()
|
|
8076
|
+
*
|
|
8077
|
+
* // Get first 10 Global_secrets
|
|
8078
|
+
* const global_secrets = await prisma.global_secrets.findMany({ take: 10 })
|
|
8079
|
+
*
|
|
8080
|
+
* // Only select the `id`
|
|
8081
|
+
* const global_secretsWithIdOnly = await prisma.global_secrets.findMany({ select: { id: true } })
|
|
8082
|
+
*
|
|
8083
|
+
*/
|
|
8084
|
+
findMany<T extends global_secretsFindManyArgs>(args?: SelectSubset<T, global_secretsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$global_secretsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
8085
|
+
|
|
8086
|
+
/**
|
|
8087
|
+
* Create a Global_secrets.
|
|
8088
|
+
* @param {global_secretsCreateArgs} args - Arguments to create a Global_secrets.
|
|
8089
|
+
* @example
|
|
8090
|
+
* // Create one Global_secrets
|
|
8091
|
+
* const Global_secrets = await prisma.global_secrets.create({
|
|
8092
|
+
* data: {
|
|
8093
|
+
* // ... data to create a Global_secrets
|
|
8094
|
+
* }
|
|
8095
|
+
* })
|
|
8096
|
+
*
|
|
8097
|
+
*/
|
|
8098
|
+
create<T extends global_secretsCreateArgs>(args: SelectSubset<T, global_secretsCreateArgs<ExtArgs>>): Prisma__global_secretsClient<$Result.GetResult<Prisma.$global_secretsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
8099
|
+
|
|
8100
|
+
/**
|
|
8101
|
+
* Create many Global_secrets.
|
|
8102
|
+
* @param {global_secretsCreateManyArgs} args - Arguments to create many Global_secrets.
|
|
8103
|
+
* @example
|
|
8104
|
+
* // Create many Global_secrets
|
|
8105
|
+
* const global_secrets = await prisma.global_secrets.createMany({
|
|
8106
|
+
* data: [
|
|
8107
|
+
* // ... provide data here
|
|
8108
|
+
* ]
|
|
8109
|
+
* })
|
|
8110
|
+
*
|
|
8111
|
+
*/
|
|
8112
|
+
createMany<T extends global_secretsCreateManyArgs>(args?: SelectSubset<T, global_secretsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
8113
|
+
|
|
8114
|
+
/**
|
|
8115
|
+
* Create many Global_secrets and returns the data saved in the database.
|
|
8116
|
+
* @param {global_secretsCreateManyAndReturnArgs} args - Arguments to create many Global_secrets.
|
|
8117
|
+
* @example
|
|
8118
|
+
* // Create many Global_secrets
|
|
8119
|
+
* const global_secrets = await prisma.global_secrets.createManyAndReturn({
|
|
8120
|
+
* data: [
|
|
8121
|
+
* // ... provide data here
|
|
8122
|
+
* ]
|
|
8123
|
+
* })
|
|
8124
|
+
*
|
|
8125
|
+
* // Create many Global_secrets and only return the `id`
|
|
8126
|
+
* const global_secretsWithIdOnly = await prisma.global_secrets.createManyAndReturn({
|
|
8127
|
+
* select: { id: true },
|
|
8128
|
+
* data: [
|
|
8129
|
+
* // ... provide data here
|
|
8130
|
+
* ]
|
|
8131
|
+
* })
|
|
8132
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8133
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8134
|
+
*
|
|
8135
|
+
*/
|
|
8136
|
+
createManyAndReturn<T extends global_secretsCreateManyAndReturnArgs>(args?: SelectSubset<T, global_secretsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$global_secretsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
8137
|
+
|
|
8138
|
+
/**
|
|
8139
|
+
* Delete a Global_secrets.
|
|
8140
|
+
* @param {global_secretsDeleteArgs} args - Arguments to delete one Global_secrets.
|
|
8141
|
+
* @example
|
|
8142
|
+
* // Delete one Global_secrets
|
|
8143
|
+
* const Global_secrets = await prisma.global_secrets.delete({
|
|
8144
|
+
* where: {
|
|
8145
|
+
* // ... filter to delete one Global_secrets
|
|
8146
|
+
* }
|
|
8147
|
+
* })
|
|
8148
|
+
*
|
|
8149
|
+
*/
|
|
8150
|
+
delete<T extends global_secretsDeleteArgs>(args: SelectSubset<T, global_secretsDeleteArgs<ExtArgs>>): Prisma__global_secretsClient<$Result.GetResult<Prisma.$global_secretsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
8151
|
+
|
|
8152
|
+
/**
|
|
8153
|
+
* Update one Global_secrets.
|
|
8154
|
+
* @param {global_secretsUpdateArgs} args - Arguments to update one Global_secrets.
|
|
8155
|
+
* @example
|
|
8156
|
+
* // Update one Global_secrets
|
|
8157
|
+
* const global_secrets = await prisma.global_secrets.update({
|
|
8158
|
+
* where: {
|
|
8159
|
+
* // ... provide filter here
|
|
8160
|
+
* },
|
|
8161
|
+
* data: {
|
|
8162
|
+
* // ... provide data here
|
|
8163
|
+
* }
|
|
8164
|
+
* })
|
|
8165
|
+
*
|
|
8166
|
+
*/
|
|
8167
|
+
update<T extends global_secretsUpdateArgs>(args: SelectSubset<T, global_secretsUpdateArgs<ExtArgs>>): Prisma__global_secretsClient<$Result.GetResult<Prisma.$global_secretsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
8168
|
+
|
|
8169
|
+
/**
|
|
8170
|
+
* Delete zero or more Global_secrets.
|
|
8171
|
+
* @param {global_secretsDeleteManyArgs} args - Arguments to filter Global_secrets to delete.
|
|
8172
|
+
* @example
|
|
8173
|
+
* // Delete a few Global_secrets
|
|
8174
|
+
* const { count } = await prisma.global_secrets.deleteMany({
|
|
8175
|
+
* where: {
|
|
8176
|
+
* // ... provide filter here
|
|
8177
|
+
* }
|
|
8178
|
+
* })
|
|
8179
|
+
*
|
|
8180
|
+
*/
|
|
8181
|
+
deleteMany<T extends global_secretsDeleteManyArgs>(args?: SelectSubset<T, global_secretsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
8182
|
+
|
|
8183
|
+
/**
|
|
8184
|
+
* Update zero or more Global_secrets.
|
|
8185
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8186
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8187
|
+
* @param {global_secretsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
8188
|
+
* @example
|
|
8189
|
+
* // Update many Global_secrets
|
|
8190
|
+
* const global_secrets = await prisma.global_secrets.updateMany({
|
|
8191
|
+
* where: {
|
|
8192
|
+
* // ... provide filter here
|
|
8193
|
+
* },
|
|
8194
|
+
* data: {
|
|
8195
|
+
* // ... provide data here
|
|
8196
|
+
* }
|
|
8197
|
+
* })
|
|
8198
|
+
*
|
|
8199
|
+
*/
|
|
8200
|
+
updateMany<T extends global_secretsUpdateManyArgs>(args: SelectSubset<T, global_secretsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
8201
|
+
|
|
8202
|
+
/**
|
|
8203
|
+
* Update zero or more Global_secrets and returns the data updated in the database.
|
|
8204
|
+
* @param {global_secretsUpdateManyAndReturnArgs} args - Arguments to update many Global_secrets.
|
|
8205
|
+
* @example
|
|
8206
|
+
* // Update many Global_secrets
|
|
8207
|
+
* const global_secrets = await prisma.global_secrets.updateManyAndReturn({
|
|
8208
|
+
* where: {
|
|
8209
|
+
* // ... provide filter here
|
|
8210
|
+
* },
|
|
8211
|
+
* data: [
|
|
8212
|
+
* // ... provide data here
|
|
8213
|
+
* ]
|
|
8214
|
+
* })
|
|
8215
|
+
*
|
|
8216
|
+
* // Update zero or more Global_secrets and only return the `id`
|
|
8217
|
+
* const global_secretsWithIdOnly = await prisma.global_secrets.updateManyAndReturn({
|
|
8218
|
+
* select: { id: true },
|
|
8219
|
+
* where: {
|
|
8220
|
+
* // ... provide filter here
|
|
8221
|
+
* },
|
|
8222
|
+
* data: [
|
|
8223
|
+
* // ... provide data here
|
|
8224
|
+
* ]
|
|
8225
|
+
* })
|
|
8226
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8227
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8228
|
+
*
|
|
8229
|
+
*/
|
|
8230
|
+
updateManyAndReturn<T extends global_secretsUpdateManyAndReturnArgs>(args: SelectSubset<T, global_secretsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$global_secretsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
8231
|
+
|
|
8232
|
+
/**
|
|
8233
|
+
* Create or update one Global_secrets.
|
|
8234
|
+
* @param {global_secretsUpsertArgs} args - Arguments to update or create a Global_secrets.
|
|
8235
|
+
* @example
|
|
8236
|
+
* // Update or create a Global_secrets
|
|
8237
|
+
* const global_secrets = await prisma.global_secrets.upsert({
|
|
8238
|
+
* create: {
|
|
8239
|
+
* // ... data to create a Global_secrets
|
|
8240
|
+
* },
|
|
8241
|
+
* update: {
|
|
8242
|
+
* // ... in case it already exists, update
|
|
8243
|
+
* },
|
|
8244
|
+
* where: {
|
|
8245
|
+
* // ... the filter for the Global_secrets we want to update
|
|
8246
|
+
* }
|
|
8247
|
+
* })
|
|
8248
|
+
*/
|
|
8249
|
+
upsert<T extends global_secretsUpsertArgs>(args: SelectSubset<T, global_secretsUpsertArgs<ExtArgs>>): Prisma__global_secretsClient<$Result.GetResult<Prisma.$global_secretsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
8250
|
+
|
|
8251
|
+
|
|
8252
|
+
/**
|
|
8253
|
+
* Count the number of Global_secrets.
|
|
8254
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8255
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8256
|
+
* @param {global_secretsCountArgs} args - Arguments to filter Global_secrets to count.
|
|
8257
|
+
* @example
|
|
8258
|
+
* // Count the number of Global_secrets
|
|
8259
|
+
* const count = await prisma.global_secrets.count({
|
|
8260
|
+
* where: {
|
|
8261
|
+
* // ... the filter for the Global_secrets we want to count
|
|
8262
|
+
* }
|
|
8263
|
+
* })
|
|
8264
|
+
**/
|
|
8265
|
+
count<T extends global_secretsCountArgs>(
|
|
8266
|
+
args?: Subset<T, global_secretsCountArgs>,
|
|
8267
|
+
): Prisma.PrismaPromise<
|
|
8268
|
+
T extends $Utils.Record<'select', any>
|
|
8269
|
+
? T['select'] extends true
|
|
8270
|
+
? number
|
|
8271
|
+
: GetScalarType<T['select'], Global_secretsCountAggregateOutputType>
|
|
8272
|
+
: number
|
|
8273
|
+
>
|
|
8274
|
+
|
|
8275
|
+
/**
|
|
8276
|
+
* Allows you to perform aggregations operations on a Global_secrets.
|
|
8277
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8278
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8279
|
+
* @param {Global_secretsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
8280
|
+
* @example
|
|
8281
|
+
* // Ordered by age ascending
|
|
8282
|
+
* // Where email contains prisma.io
|
|
8283
|
+
* // Limited to the 10 users
|
|
8284
|
+
* const aggregations = await prisma.user.aggregate({
|
|
8285
|
+
* _avg: {
|
|
8286
|
+
* age: true,
|
|
8287
|
+
* },
|
|
8288
|
+
* where: {
|
|
8289
|
+
* email: {
|
|
8290
|
+
* contains: "prisma.io",
|
|
8291
|
+
* },
|
|
8292
|
+
* },
|
|
8293
|
+
* orderBy: {
|
|
8294
|
+
* age: "asc",
|
|
8295
|
+
* },
|
|
8296
|
+
* take: 10,
|
|
8297
|
+
* })
|
|
8298
|
+
**/
|
|
8299
|
+
aggregate<T extends Global_secretsAggregateArgs>(args: Subset<T, Global_secretsAggregateArgs>): Prisma.PrismaPromise<GetGlobal_secretsAggregateType<T>>
|
|
8300
|
+
|
|
8301
|
+
/**
|
|
8302
|
+
* Group by Global_secrets.
|
|
8303
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8304
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8305
|
+
* @param {global_secretsGroupByArgs} args - Group by arguments.
|
|
8306
|
+
* @example
|
|
8307
|
+
* // Group by city, order by createdAt, get count
|
|
8308
|
+
* const result = await prisma.user.groupBy({
|
|
8309
|
+
* by: ['city', 'createdAt'],
|
|
8310
|
+
* orderBy: {
|
|
8311
|
+
* createdAt: true
|
|
8312
|
+
* },
|
|
8313
|
+
* _count: {
|
|
8314
|
+
* _all: true
|
|
8315
|
+
* },
|
|
8316
|
+
* })
|
|
8317
|
+
*
|
|
8318
|
+
**/
|
|
8319
|
+
groupBy<
|
|
8320
|
+
T extends global_secretsGroupByArgs,
|
|
8321
|
+
HasSelectOrTake extends Or<
|
|
8322
|
+
Extends<'skip', Keys<T>>,
|
|
8323
|
+
Extends<'take', Keys<T>>
|
|
8324
|
+
>,
|
|
8325
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
8326
|
+
? { orderBy: global_secretsGroupByArgs['orderBy'] }
|
|
8327
|
+
: { orderBy?: global_secretsGroupByArgs['orderBy'] },
|
|
8328
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
8329
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
8330
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
8331
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
8332
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
8333
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
8334
|
+
InputErrors extends ByEmpty extends True
|
|
8335
|
+
? `Error: "by" must not be empty.`
|
|
8336
|
+
: HavingValid extends False
|
|
8337
|
+
? {
|
|
8338
|
+
[P in HavingFields]: P extends ByFields
|
|
8339
|
+
? never
|
|
8340
|
+
: P extends string
|
|
8341
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
8342
|
+
: [
|
|
8343
|
+
Error,
|
|
8344
|
+
'Field ',
|
|
8345
|
+
P,
|
|
8346
|
+
` in "having" needs to be provided in "by"`,
|
|
8347
|
+
]
|
|
8348
|
+
}[HavingFields]
|
|
8349
|
+
: 'take' extends Keys<T>
|
|
8350
|
+
? 'orderBy' extends Keys<T>
|
|
8351
|
+
? ByValid extends True
|
|
8352
|
+
? {}
|
|
8353
|
+
: {
|
|
8354
|
+
[P in OrderFields]: P extends ByFields
|
|
8355
|
+
? never
|
|
8356
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
8357
|
+
}[OrderFields]
|
|
8358
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
8359
|
+
: 'skip' extends Keys<T>
|
|
8360
|
+
? 'orderBy' extends Keys<T>
|
|
8361
|
+
? ByValid extends True
|
|
8362
|
+
? {}
|
|
8363
|
+
: {
|
|
8364
|
+
[P in OrderFields]: P extends ByFields
|
|
8365
|
+
? never
|
|
8366
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
8367
|
+
}[OrderFields]
|
|
8368
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
8369
|
+
: ByValid extends True
|
|
8370
|
+
? {}
|
|
8371
|
+
: {
|
|
8372
|
+
[P in OrderFields]: P extends ByFields
|
|
8373
|
+
? never
|
|
8374
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
8375
|
+
}[OrderFields]
|
|
8376
|
+
>(args: SubsetIntersection<T, global_secretsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetGlobal_secretsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
8377
|
+
/**
|
|
8378
|
+
* Fields of the global_secrets model
|
|
8379
|
+
*/
|
|
8380
|
+
readonly fields: global_secretsFieldRefs;
|
|
8381
|
+
}
|
|
8382
|
+
|
|
8383
|
+
/**
|
|
8384
|
+
* The delegate class that acts as a "Promise-like" for global_secrets.
|
|
8385
|
+
* Why is this prefixed with `Prisma__`?
|
|
8386
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
8387
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
8388
|
+
*/
|
|
8389
|
+
export interface Prisma__global_secretsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
8390
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
8391
|
+
/**
|
|
8392
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
8393
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
8394
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
8395
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
8396
|
+
*/
|
|
8397
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
8398
|
+
/**
|
|
8399
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
8400
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
8401
|
+
* @returns A Promise for the completion of the callback.
|
|
8402
|
+
*/
|
|
8403
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
8404
|
+
/**
|
|
8405
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
8406
|
+
* resolved value cannot be modified from the callback.
|
|
8407
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
8408
|
+
* @returns A Promise for the completion of the callback.
|
|
8409
|
+
*/
|
|
8410
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
8411
|
+
}
|
|
8412
|
+
|
|
8413
|
+
|
|
8414
|
+
|
|
8415
|
+
|
|
8416
|
+
/**
|
|
8417
|
+
* Fields of the global_secrets model
|
|
8418
|
+
*/
|
|
8419
|
+
interface global_secretsFieldRefs {
|
|
8420
|
+
readonly id: FieldRef<"global_secrets", 'String'>
|
|
8421
|
+
readonly key: FieldRef<"global_secrets", 'String'>
|
|
8422
|
+
readonly value: FieldRef<"global_secrets", 'String'>
|
|
8423
|
+
readonly created_by_user_id: FieldRef<"global_secrets", 'String'>
|
|
8424
|
+
readonly updated_by_user_id: FieldRef<"global_secrets", 'String'>
|
|
8425
|
+
readonly created_at: FieldRef<"global_secrets", 'BigInt'>
|
|
8426
|
+
readonly updated_at: FieldRef<"global_secrets", 'BigInt'>
|
|
8427
|
+
}
|
|
8428
|
+
|
|
8429
|
+
|
|
8430
|
+
// Custom InputTypes
|
|
8431
|
+
/**
|
|
8432
|
+
* global_secrets findUnique
|
|
8433
|
+
*/
|
|
8434
|
+
export type global_secretsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8435
|
+
/**
|
|
8436
|
+
* Select specific fields to fetch from the global_secrets
|
|
8437
|
+
*/
|
|
8438
|
+
select?: global_secretsSelect<ExtArgs> | null
|
|
8439
|
+
/**
|
|
8440
|
+
* Omit specific fields from the global_secrets
|
|
8441
|
+
*/
|
|
8442
|
+
omit?: global_secretsOmit<ExtArgs> | null
|
|
8443
|
+
/**
|
|
8444
|
+
* Filter, which global_secrets to fetch.
|
|
8445
|
+
*/
|
|
8446
|
+
where: global_secretsWhereUniqueInput
|
|
8447
|
+
}
|
|
8448
|
+
|
|
8449
|
+
/**
|
|
8450
|
+
* global_secrets findUniqueOrThrow
|
|
8451
|
+
*/
|
|
8452
|
+
export type global_secretsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8453
|
+
/**
|
|
8454
|
+
* Select specific fields to fetch from the global_secrets
|
|
8455
|
+
*/
|
|
8456
|
+
select?: global_secretsSelect<ExtArgs> | null
|
|
8457
|
+
/**
|
|
8458
|
+
* Omit specific fields from the global_secrets
|
|
8459
|
+
*/
|
|
8460
|
+
omit?: global_secretsOmit<ExtArgs> | null
|
|
8461
|
+
/**
|
|
8462
|
+
* Filter, which global_secrets to fetch.
|
|
8463
|
+
*/
|
|
8464
|
+
where: global_secretsWhereUniqueInput
|
|
8465
|
+
}
|
|
8466
|
+
|
|
8467
|
+
/**
|
|
8468
|
+
* global_secrets findFirst
|
|
8469
|
+
*/
|
|
8470
|
+
export type global_secretsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8471
|
+
/**
|
|
8472
|
+
* Select specific fields to fetch from the global_secrets
|
|
8473
|
+
*/
|
|
8474
|
+
select?: global_secretsSelect<ExtArgs> | null
|
|
8475
|
+
/**
|
|
8476
|
+
* Omit specific fields from the global_secrets
|
|
8477
|
+
*/
|
|
8478
|
+
omit?: global_secretsOmit<ExtArgs> | null
|
|
8479
|
+
/**
|
|
8480
|
+
* Filter, which global_secrets to fetch.
|
|
8481
|
+
*/
|
|
8482
|
+
where?: global_secretsWhereInput
|
|
8483
|
+
/**
|
|
8484
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
8485
|
+
*
|
|
8486
|
+
* Determine the order of global_secrets to fetch.
|
|
8487
|
+
*/
|
|
8488
|
+
orderBy?: global_secretsOrderByWithRelationInput | global_secretsOrderByWithRelationInput[]
|
|
8489
|
+
/**
|
|
8490
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
8491
|
+
*
|
|
8492
|
+
* Sets the position for searching for global_secrets.
|
|
8493
|
+
*/
|
|
8494
|
+
cursor?: global_secretsWhereUniqueInput
|
|
8495
|
+
/**
|
|
8496
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8497
|
+
*
|
|
8498
|
+
* Take `±n` global_secrets from the position of the cursor.
|
|
8499
|
+
*/
|
|
8500
|
+
take?: number
|
|
8501
|
+
/**
|
|
8502
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8503
|
+
*
|
|
8504
|
+
* Skip the first `n` global_secrets.
|
|
8505
|
+
*/
|
|
8506
|
+
skip?: number
|
|
8507
|
+
/**
|
|
8508
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
8509
|
+
*
|
|
8510
|
+
* Filter by unique combinations of global_secrets.
|
|
8511
|
+
*/
|
|
8512
|
+
distinct?: Global_secretsScalarFieldEnum | Global_secretsScalarFieldEnum[]
|
|
8513
|
+
}
|
|
8514
|
+
|
|
8515
|
+
/**
|
|
8516
|
+
* global_secrets findFirstOrThrow
|
|
8517
|
+
*/
|
|
8518
|
+
export type global_secretsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8519
|
+
/**
|
|
8520
|
+
* Select specific fields to fetch from the global_secrets
|
|
8521
|
+
*/
|
|
8522
|
+
select?: global_secretsSelect<ExtArgs> | null
|
|
8523
|
+
/**
|
|
8524
|
+
* Omit specific fields from the global_secrets
|
|
8525
|
+
*/
|
|
8526
|
+
omit?: global_secretsOmit<ExtArgs> | null
|
|
8527
|
+
/**
|
|
8528
|
+
* Filter, which global_secrets to fetch.
|
|
8529
|
+
*/
|
|
8530
|
+
where?: global_secretsWhereInput
|
|
8531
|
+
/**
|
|
8532
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
8533
|
+
*
|
|
8534
|
+
* Determine the order of global_secrets to fetch.
|
|
8535
|
+
*/
|
|
8536
|
+
orderBy?: global_secretsOrderByWithRelationInput | global_secretsOrderByWithRelationInput[]
|
|
8537
|
+
/**
|
|
8538
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
8539
|
+
*
|
|
8540
|
+
* Sets the position for searching for global_secrets.
|
|
8541
|
+
*/
|
|
8542
|
+
cursor?: global_secretsWhereUniqueInput
|
|
8543
|
+
/**
|
|
8544
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8545
|
+
*
|
|
8546
|
+
* Take `±n` global_secrets from the position of the cursor.
|
|
8547
|
+
*/
|
|
8548
|
+
take?: number
|
|
8549
|
+
/**
|
|
8550
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8551
|
+
*
|
|
8552
|
+
* Skip the first `n` global_secrets.
|
|
8553
|
+
*/
|
|
8554
|
+
skip?: number
|
|
8555
|
+
/**
|
|
8556
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
8557
|
+
*
|
|
8558
|
+
* Filter by unique combinations of global_secrets.
|
|
8559
|
+
*/
|
|
8560
|
+
distinct?: Global_secretsScalarFieldEnum | Global_secretsScalarFieldEnum[]
|
|
8561
|
+
}
|
|
8562
|
+
|
|
8563
|
+
/**
|
|
8564
|
+
* global_secrets findMany
|
|
8565
|
+
*/
|
|
8566
|
+
export type global_secretsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8567
|
+
/**
|
|
8568
|
+
* Select specific fields to fetch from the global_secrets
|
|
8569
|
+
*/
|
|
8570
|
+
select?: global_secretsSelect<ExtArgs> | null
|
|
8571
|
+
/**
|
|
8572
|
+
* Omit specific fields from the global_secrets
|
|
8573
|
+
*/
|
|
8574
|
+
omit?: global_secretsOmit<ExtArgs> | null
|
|
8575
|
+
/**
|
|
8576
|
+
* Filter, which global_secrets to fetch.
|
|
8577
|
+
*/
|
|
8578
|
+
where?: global_secretsWhereInput
|
|
8579
|
+
/**
|
|
8580
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
8581
|
+
*
|
|
8582
|
+
* Determine the order of global_secrets to fetch.
|
|
8583
|
+
*/
|
|
8584
|
+
orderBy?: global_secretsOrderByWithRelationInput | global_secretsOrderByWithRelationInput[]
|
|
8585
|
+
/**
|
|
8586
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
8587
|
+
*
|
|
8588
|
+
* Sets the position for listing global_secrets.
|
|
8589
|
+
*/
|
|
8590
|
+
cursor?: global_secretsWhereUniqueInput
|
|
8591
|
+
/**
|
|
8592
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8593
|
+
*
|
|
8594
|
+
* Take `±n` global_secrets from the position of the cursor.
|
|
8595
|
+
*/
|
|
8596
|
+
take?: number
|
|
8597
|
+
/**
|
|
8598
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8599
|
+
*
|
|
8600
|
+
* Skip the first `n` global_secrets.
|
|
8601
|
+
*/
|
|
8602
|
+
skip?: number
|
|
8603
|
+
distinct?: Global_secretsScalarFieldEnum | Global_secretsScalarFieldEnum[]
|
|
8604
|
+
}
|
|
8605
|
+
|
|
8606
|
+
/**
|
|
8607
|
+
* global_secrets create
|
|
8608
|
+
*/
|
|
8609
|
+
export type global_secretsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8610
|
+
/**
|
|
8611
|
+
* Select specific fields to fetch from the global_secrets
|
|
8612
|
+
*/
|
|
8613
|
+
select?: global_secretsSelect<ExtArgs> | null
|
|
8614
|
+
/**
|
|
8615
|
+
* Omit specific fields from the global_secrets
|
|
8616
|
+
*/
|
|
8617
|
+
omit?: global_secretsOmit<ExtArgs> | null
|
|
8618
|
+
/**
|
|
8619
|
+
* The data needed to create a global_secrets.
|
|
8620
|
+
*/
|
|
8621
|
+
data: XOR<global_secretsCreateInput, global_secretsUncheckedCreateInput>
|
|
8622
|
+
}
|
|
8623
|
+
|
|
8624
|
+
/**
|
|
8625
|
+
* global_secrets createMany
|
|
8626
|
+
*/
|
|
8627
|
+
export type global_secretsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8628
|
+
/**
|
|
8629
|
+
* The data used to create many global_secrets.
|
|
8630
|
+
*/
|
|
8631
|
+
data: global_secretsCreateManyInput | global_secretsCreateManyInput[]
|
|
8632
|
+
}
|
|
8633
|
+
|
|
8634
|
+
/**
|
|
8635
|
+
* global_secrets createManyAndReturn
|
|
8636
|
+
*/
|
|
8637
|
+
export type global_secretsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8638
|
+
/**
|
|
8639
|
+
* Select specific fields to fetch from the global_secrets
|
|
8640
|
+
*/
|
|
8641
|
+
select?: global_secretsSelectCreateManyAndReturn<ExtArgs> | null
|
|
8642
|
+
/**
|
|
8643
|
+
* Omit specific fields from the global_secrets
|
|
8644
|
+
*/
|
|
8645
|
+
omit?: global_secretsOmit<ExtArgs> | null
|
|
8646
|
+
/**
|
|
8647
|
+
* The data used to create many global_secrets.
|
|
8648
|
+
*/
|
|
8649
|
+
data: global_secretsCreateManyInput | global_secretsCreateManyInput[]
|
|
8650
|
+
}
|
|
8651
|
+
|
|
8652
|
+
/**
|
|
8653
|
+
* global_secrets update
|
|
8654
|
+
*/
|
|
8655
|
+
export type global_secretsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8656
|
+
/**
|
|
8657
|
+
* Select specific fields to fetch from the global_secrets
|
|
8658
|
+
*/
|
|
8659
|
+
select?: global_secretsSelect<ExtArgs> | null
|
|
8660
|
+
/**
|
|
8661
|
+
* Omit specific fields from the global_secrets
|
|
8662
|
+
*/
|
|
8663
|
+
omit?: global_secretsOmit<ExtArgs> | null
|
|
8664
|
+
/**
|
|
8665
|
+
* The data needed to update a global_secrets.
|
|
8666
|
+
*/
|
|
8667
|
+
data: XOR<global_secretsUpdateInput, global_secretsUncheckedUpdateInput>
|
|
8668
|
+
/**
|
|
8669
|
+
* Choose, which global_secrets to update.
|
|
8670
|
+
*/
|
|
8671
|
+
where: global_secretsWhereUniqueInput
|
|
8672
|
+
}
|
|
8673
|
+
|
|
8674
|
+
/**
|
|
8675
|
+
* global_secrets updateMany
|
|
8676
|
+
*/
|
|
8677
|
+
export type global_secretsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8678
|
+
/**
|
|
8679
|
+
* The data used to update global_secrets.
|
|
8680
|
+
*/
|
|
8681
|
+
data: XOR<global_secretsUpdateManyMutationInput, global_secretsUncheckedUpdateManyInput>
|
|
8682
|
+
/**
|
|
8683
|
+
* Filter which global_secrets to update
|
|
8684
|
+
*/
|
|
8685
|
+
where?: global_secretsWhereInput
|
|
8686
|
+
/**
|
|
8687
|
+
* Limit how many global_secrets to update.
|
|
8688
|
+
*/
|
|
8689
|
+
limit?: number
|
|
8690
|
+
}
|
|
8691
|
+
|
|
8692
|
+
/**
|
|
8693
|
+
* global_secrets updateManyAndReturn
|
|
8694
|
+
*/
|
|
8695
|
+
export type global_secretsUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8696
|
+
/**
|
|
8697
|
+
* Select specific fields to fetch from the global_secrets
|
|
8698
|
+
*/
|
|
8699
|
+
select?: global_secretsSelectUpdateManyAndReturn<ExtArgs> | null
|
|
8700
|
+
/**
|
|
8701
|
+
* Omit specific fields from the global_secrets
|
|
8702
|
+
*/
|
|
8703
|
+
omit?: global_secretsOmit<ExtArgs> | null
|
|
8704
|
+
/**
|
|
8705
|
+
* The data used to update global_secrets.
|
|
8706
|
+
*/
|
|
8707
|
+
data: XOR<global_secretsUpdateManyMutationInput, global_secretsUncheckedUpdateManyInput>
|
|
8708
|
+
/**
|
|
8709
|
+
* Filter which global_secrets to update
|
|
8710
|
+
*/
|
|
8711
|
+
where?: global_secretsWhereInput
|
|
8712
|
+
/**
|
|
8713
|
+
* Limit how many global_secrets to update.
|
|
8714
|
+
*/
|
|
8715
|
+
limit?: number
|
|
8716
|
+
}
|
|
8717
|
+
|
|
8718
|
+
/**
|
|
8719
|
+
* global_secrets upsert
|
|
8720
|
+
*/
|
|
8721
|
+
export type global_secretsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8722
|
+
/**
|
|
8723
|
+
* Select specific fields to fetch from the global_secrets
|
|
8724
|
+
*/
|
|
8725
|
+
select?: global_secretsSelect<ExtArgs> | null
|
|
8726
|
+
/**
|
|
8727
|
+
* Omit specific fields from the global_secrets
|
|
8728
|
+
*/
|
|
8729
|
+
omit?: global_secretsOmit<ExtArgs> | null
|
|
8730
|
+
/**
|
|
8731
|
+
* The filter to search for the global_secrets to update in case it exists.
|
|
8732
|
+
*/
|
|
8733
|
+
where: global_secretsWhereUniqueInput
|
|
8734
|
+
/**
|
|
8735
|
+
* In case the global_secrets found by the `where` argument doesn't exist, create a new global_secrets with this data.
|
|
8736
|
+
*/
|
|
8737
|
+
create: XOR<global_secretsCreateInput, global_secretsUncheckedCreateInput>
|
|
8738
|
+
/**
|
|
8739
|
+
* In case the global_secrets was found with the provided `where` argument, update it with this data.
|
|
8740
|
+
*/
|
|
8741
|
+
update: XOR<global_secretsUpdateInput, global_secretsUncheckedUpdateInput>
|
|
8742
|
+
}
|
|
8743
|
+
|
|
8744
|
+
/**
|
|
8745
|
+
* global_secrets delete
|
|
8746
|
+
*/
|
|
8747
|
+
export type global_secretsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8748
|
+
/**
|
|
8749
|
+
* Select specific fields to fetch from the global_secrets
|
|
8750
|
+
*/
|
|
8751
|
+
select?: global_secretsSelect<ExtArgs> | null
|
|
8752
|
+
/**
|
|
8753
|
+
* Omit specific fields from the global_secrets
|
|
8754
|
+
*/
|
|
8755
|
+
omit?: global_secretsOmit<ExtArgs> | null
|
|
8756
|
+
/**
|
|
8757
|
+
* Filter which global_secrets to delete.
|
|
8758
|
+
*/
|
|
8759
|
+
where: global_secretsWhereUniqueInput
|
|
8760
|
+
}
|
|
8761
|
+
|
|
8762
|
+
/**
|
|
8763
|
+
* global_secrets deleteMany
|
|
8764
|
+
*/
|
|
8765
|
+
export type global_secretsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8766
|
+
/**
|
|
8767
|
+
* Filter which global_secrets to delete
|
|
8768
|
+
*/
|
|
8769
|
+
where?: global_secretsWhereInput
|
|
8770
|
+
/**
|
|
8771
|
+
* Limit how many global_secrets to delete.
|
|
8772
|
+
*/
|
|
8773
|
+
limit?: number
|
|
8774
|
+
}
|
|
8775
|
+
|
|
8776
|
+
/**
|
|
8777
|
+
* global_secrets without action
|
|
8778
|
+
*/
|
|
8779
|
+
export type global_secretsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8780
|
+
/**
|
|
8781
|
+
* Select specific fields to fetch from the global_secrets
|
|
8782
|
+
*/
|
|
8783
|
+
select?: global_secretsSelect<ExtArgs> | null
|
|
8784
|
+
/**
|
|
8785
|
+
* Omit specific fields from the global_secrets
|
|
8786
|
+
*/
|
|
8787
|
+
omit?: global_secretsOmit<ExtArgs> | null
|
|
8788
|
+
}
|
|
8789
|
+
|
|
8790
|
+
|
|
8791
|
+
/**
|
|
8792
|
+
* Model chat_sessions
|
|
8793
|
+
*/
|
|
8794
|
+
|
|
8795
|
+
export type AggregateChat_sessions = {
|
|
8796
|
+
_count: Chat_sessionsCountAggregateOutputType | null
|
|
8797
|
+
_avg: Chat_sessionsAvgAggregateOutputType | null
|
|
8798
|
+
_sum: Chat_sessionsSumAggregateOutputType | null
|
|
8799
|
+
_min: Chat_sessionsMinAggregateOutputType | null
|
|
8800
|
+
_max: Chat_sessionsMaxAggregateOutputType | null
|
|
8801
|
+
}
|
|
8802
|
+
|
|
8803
|
+
export type Chat_sessionsAvgAggregateOutputType = {
|
|
8804
|
+
created_at: number | null
|
|
8805
|
+
updated_at: number | null
|
|
8806
|
+
}
|
|
8807
|
+
|
|
8808
|
+
export type Chat_sessionsSumAggregateOutputType = {
|
|
8809
|
+
created_at: bigint | null
|
|
8810
|
+
updated_at: bigint | null
|
|
8811
|
+
}
|
|
8812
|
+
|
|
8813
|
+
export type Chat_sessionsMinAggregateOutputType = {
|
|
8814
|
+
id: string | null
|
|
8815
|
+
user_id: string | null
|
|
8816
|
+
opencode_session_id: string | null
|
|
8817
|
+
title: string | null
|
|
8818
|
+
last_seen_assistant_message_id: string | null
|
|
8819
|
+
created_at: bigint | null
|
|
8820
|
+
updated_at: bigint | null
|
|
8821
|
+
}
|
|
8822
|
+
|
|
8823
|
+
export type Chat_sessionsMaxAggregateOutputType = {
|
|
8824
|
+
id: string | null
|
|
8825
|
+
user_id: string | null
|
|
8826
|
+
opencode_session_id: string | null
|
|
8827
|
+
title: string | null
|
|
8828
|
+
last_seen_assistant_message_id: string | null
|
|
8829
|
+
created_at: bigint | null
|
|
8830
|
+
updated_at: bigint | null
|
|
8831
|
+
}
|
|
8832
|
+
|
|
8833
|
+
export type Chat_sessionsCountAggregateOutputType = {
|
|
8834
|
+
id: number
|
|
8835
|
+
user_id: number
|
|
8836
|
+
opencode_session_id: number
|
|
8837
|
+
title: number
|
|
8838
|
+
last_seen_assistant_message_id: number
|
|
8839
|
+
created_at: number
|
|
8840
|
+
updated_at: number
|
|
8841
|
+
_all: number
|
|
8842
|
+
}
|
|
8843
|
+
|
|
8844
|
+
|
|
8845
|
+
export type Chat_sessionsAvgAggregateInputType = {
|
|
8846
|
+
created_at?: true
|
|
8847
|
+
updated_at?: true
|
|
8848
|
+
}
|
|
8849
|
+
|
|
8850
|
+
export type Chat_sessionsSumAggregateInputType = {
|
|
8851
|
+
created_at?: true
|
|
8852
|
+
updated_at?: true
|
|
8853
|
+
}
|
|
8854
|
+
|
|
8855
|
+
export type Chat_sessionsMinAggregateInputType = {
|
|
8856
|
+
id?: true
|
|
8857
|
+
user_id?: true
|
|
8858
|
+
opencode_session_id?: true
|
|
8859
|
+
title?: true
|
|
8860
|
+
last_seen_assistant_message_id?: true
|
|
8861
|
+
created_at?: true
|
|
8862
|
+
updated_at?: true
|
|
8863
|
+
}
|
|
8864
|
+
|
|
8865
|
+
export type Chat_sessionsMaxAggregateInputType = {
|
|
8866
|
+
id?: true
|
|
8867
|
+
user_id?: true
|
|
8868
|
+
opencode_session_id?: true
|
|
8869
|
+
title?: true
|
|
8870
|
+
last_seen_assistant_message_id?: true
|
|
8871
|
+
created_at?: true
|
|
8872
|
+
updated_at?: true
|
|
8873
|
+
}
|
|
8874
|
+
|
|
8875
|
+
export type Chat_sessionsCountAggregateInputType = {
|
|
8876
|
+
id?: true
|
|
8877
|
+
user_id?: true
|
|
8878
|
+
opencode_session_id?: true
|
|
8879
|
+
title?: true
|
|
8880
|
+
last_seen_assistant_message_id?: true
|
|
8881
|
+
created_at?: true
|
|
8882
|
+
updated_at?: true
|
|
8883
|
+
_all?: true
|
|
8884
|
+
}
|
|
8885
|
+
|
|
8886
|
+
export type Chat_sessionsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8887
|
+
/**
|
|
8888
|
+
* Filter which chat_sessions to aggregate.
|
|
8889
|
+
*/
|
|
8890
|
+
where?: chat_sessionsWhereInput
|
|
8891
|
+
/**
|
|
8892
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
8893
|
+
*
|
|
8894
|
+
* Determine the order of chat_sessions to fetch.
|
|
8895
|
+
*/
|
|
8896
|
+
orderBy?: chat_sessionsOrderByWithRelationInput | chat_sessionsOrderByWithRelationInput[]
|
|
8897
|
+
/**
|
|
8898
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
8899
|
+
*
|
|
8900
|
+
* Sets the start position
|
|
8901
|
+
*/
|
|
8902
|
+
cursor?: chat_sessionsWhereUniqueInput
|
|
8903
|
+
/**
|
|
8904
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8905
|
+
*
|
|
8906
|
+
* Take `±n` chat_sessions from the position of the cursor.
|
|
8907
|
+
*/
|
|
8908
|
+
take?: number
|
|
8909
|
+
/**
|
|
8910
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8911
|
+
*
|
|
8912
|
+
* Skip the first `n` chat_sessions.
|
|
8913
|
+
*/
|
|
8914
|
+
skip?: number
|
|
8915
|
+
/**
|
|
8916
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
8917
|
+
*
|
|
8918
|
+
* Count returned chat_sessions
|
|
8919
|
+
**/
|
|
8920
|
+
_count?: true | Chat_sessionsCountAggregateInputType
|
|
8921
|
+
/**
|
|
8922
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
8923
|
+
*
|
|
8924
|
+
* Select which fields to average
|
|
8925
|
+
**/
|
|
8926
|
+
_avg?: Chat_sessionsAvgAggregateInputType
|
|
8927
|
+
/**
|
|
8928
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
8929
|
+
*
|
|
8930
|
+
* Select which fields to sum
|
|
8931
|
+
**/
|
|
8932
|
+
_sum?: Chat_sessionsSumAggregateInputType
|
|
8933
|
+
/**
|
|
8934
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
8935
|
+
*
|
|
8936
|
+
* Select which fields to find the minimum value
|
|
8937
|
+
**/
|
|
8938
|
+
_min?: Chat_sessionsMinAggregateInputType
|
|
8939
|
+
/**
|
|
8940
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
8941
|
+
*
|
|
8942
|
+
* Select which fields to find the maximum value
|
|
8943
|
+
**/
|
|
8944
|
+
_max?: Chat_sessionsMaxAggregateInputType
|
|
8945
|
+
}
|
|
8946
|
+
|
|
8947
|
+
export type GetChat_sessionsAggregateType<T extends Chat_sessionsAggregateArgs> = {
|
|
8948
|
+
[P in keyof T & keyof AggregateChat_sessions]: P extends '_count' | 'count'
|
|
8949
|
+
? T[P] extends true
|
|
8950
|
+
? number
|
|
8951
|
+
: GetScalarType<T[P], AggregateChat_sessions[P]>
|
|
8952
|
+
: GetScalarType<T[P], AggregateChat_sessions[P]>
|
|
8953
|
+
}
|
|
8954
|
+
|
|
8955
|
+
|
|
8956
|
+
|
|
8957
|
+
|
|
8958
|
+
export type chat_sessionsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8959
|
+
where?: chat_sessionsWhereInput
|
|
8960
|
+
orderBy?: chat_sessionsOrderByWithAggregationInput | chat_sessionsOrderByWithAggregationInput[]
|
|
8961
|
+
by: Chat_sessionsScalarFieldEnum[] | Chat_sessionsScalarFieldEnum
|
|
8962
|
+
having?: chat_sessionsScalarWhereWithAggregatesInput
|
|
8963
|
+
take?: number
|
|
8964
|
+
skip?: number
|
|
8965
|
+
_count?: Chat_sessionsCountAggregateInputType | true
|
|
8966
|
+
_avg?: Chat_sessionsAvgAggregateInputType
|
|
8967
|
+
_sum?: Chat_sessionsSumAggregateInputType
|
|
8968
|
+
_min?: Chat_sessionsMinAggregateInputType
|
|
8969
|
+
_max?: Chat_sessionsMaxAggregateInputType
|
|
8970
|
+
}
|
|
8971
|
+
|
|
8972
|
+
export type Chat_sessionsGroupByOutputType = {
|
|
8973
|
+
id: string
|
|
8974
|
+
user_id: string
|
|
8975
|
+
opencode_session_id: string
|
|
8976
|
+
title: string
|
|
8977
|
+
last_seen_assistant_message_id: string | null
|
|
8978
|
+
created_at: bigint
|
|
8979
|
+
updated_at: bigint
|
|
8980
|
+
_count: Chat_sessionsCountAggregateOutputType | null
|
|
8981
|
+
_avg: Chat_sessionsAvgAggregateOutputType | null
|
|
8982
|
+
_sum: Chat_sessionsSumAggregateOutputType | null
|
|
8983
|
+
_min: Chat_sessionsMinAggregateOutputType | null
|
|
8984
|
+
_max: Chat_sessionsMaxAggregateOutputType | null
|
|
8985
|
+
}
|
|
8986
|
+
|
|
8987
|
+
type GetChat_sessionsGroupByPayload<T extends chat_sessionsGroupByArgs> = Prisma.PrismaPromise<
|
|
8988
|
+
Array<
|
|
8989
|
+
PickEnumerable<Chat_sessionsGroupByOutputType, T['by']> &
|
|
8990
|
+
{
|
|
8991
|
+
[P in ((keyof T) & (keyof Chat_sessionsGroupByOutputType))]: P extends '_count'
|
|
8992
|
+
? T[P] extends boolean
|
|
8993
|
+
? number
|
|
8994
|
+
: GetScalarType<T[P], Chat_sessionsGroupByOutputType[P]>
|
|
8995
|
+
: GetScalarType<T[P], Chat_sessionsGroupByOutputType[P]>
|
|
8996
|
+
}
|
|
8997
|
+
>
|
|
8998
|
+
>
|
|
8999
|
+
|
|
9000
|
+
|
|
9001
|
+
export type chat_sessionsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
9002
|
+
id?: boolean
|
|
9003
|
+
user_id?: boolean
|
|
9004
|
+
opencode_session_id?: boolean
|
|
9005
|
+
title?: boolean
|
|
9006
|
+
last_seen_assistant_message_id?: boolean
|
|
9007
|
+
created_at?: boolean
|
|
9008
|
+
updated_at?: boolean
|
|
9009
|
+
trackedFiles?: boolean | chat_sessions$trackedFilesArgs<ExtArgs>
|
|
9010
|
+
user?: boolean | usersDefaultArgs<ExtArgs>
|
|
9011
|
+
_count?: boolean | Chat_sessionsCountOutputTypeDefaultArgs<ExtArgs>
|
|
9012
|
+
}, ExtArgs["result"]["chat_sessions"]>
|
|
9013
|
+
|
|
9014
|
+
export type chat_sessionsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
9015
|
+
id?: boolean
|
|
9016
|
+
user_id?: boolean
|
|
9017
|
+
opencode_session_id?: boolean
|
|
9018
|
+
title?: boolean
|
|
9019
|
+
last_seen_assistant_message_id?: boolean
|
|
9020
|
+
created_at?: boolean
|
|
9021
|
+
updated_at?: boolean
|
|
9022
|
+
user?: boolean | usersDefaultArgs<ExtArgs>
|
|
9023
|
+
}, ExtArgs["result"]["chat_sessions"]>
|
|
9024
|
+
|
|
9025
|
+
export type chat_sessionsSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
9026
|
+
id?: boolean
|
|
9027
|
+
user_id?: boolean
|
|
9028
|
+
opencode_session_id?: boolean
|
|
9029
|
+
title?: boolean
|
|
9030
|
+
last_seen_assistant_message_id?: boolean
|
|
9031
|
+
created_at?: boolean
|
|
9032
|
+
updated_at?: boolean
|
|
9033
|
+
user?: boolean | usersDefaultArgs<ExtArgs>
|
|
9034
|
+
}, ExtArgs["result"]["chat_sessions"]>
|
|
9035
|
+
|
|
9036
|
+
export type chat_sessionsSelectScalar = {
|
|
9037
|
+
id?: boolean
|
|
9038
|
+
user_id?: boolean
|
|
9039
|
+
opencode_session_id?: boolean
|
|
9040
|
+
title?: boolean
|
|
9041
|
+
last_seen_assistant_message_id?: boolean
|
|
9042
|
+
created_at?: boolean
|
|
9043
|
+
updated_at?: boolean
|
|
9044
|
+
}
|
|
9045
|
+
|
|
9046
|
+
export type chat_sessionsOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "user_id" | "opencode_session_id" | "title" | "last_seen_assistant_message_id" | "created_at" | "updated_at", ExtArgs["result"]["chat_sessions"]>
|
|
9047
|
+
export type chat_sessionsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9048
|
+
trackedFiles?: boolean | chat_sessions$trackedFilesArgs<ExtArgs>
|
|
9049
|
+
user?: boolean | usersDefaultArgs<ExtArgs>
|
|
9050
|
+
_count?: boolean | Chat_sessionsCountOutputTypeDefaultArgs<ExtArgs>
|
|
9051
|
+
}
|
|
9052
|
+
export type chat_sessionsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9053
|
+
user?: boolean | usersDefaultArgs<ExtArgs>
|
|
9054
|
+
}
|
|
9055
|
+
export type chat_sessionsIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9056
|
+
user?: boolean | usersDefaultArgs<ExtArgs>
|
|
9057
|
+
}
|
|
9058
|
+
|
|
9059
|
+
export type $chat_sessionsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9060
|
+
name: "chat_sessions"
|
|
9061
|
+
objects: {
|
|
9062
|
+
trackedFiles: Prisma.$chat_session_tracked_filesPayload<ExtArgs>[]
|
|
9063
|
+
user: Prisma.$usersPayload<ExtArgs>
|
|
9064
|
+
}
|
|
9065
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
9066
|
+
id: string
|
|
9067
|
+
user_id: string
|
|
9068
|
+
opencode_session_id: string
|
|
9069
|
+
title: string
|
|
9070
|
+
last_seen_assistant_message_id: string | null
|
|
9071
|
+
created_at: bigint
|
|
9072
|
+
updated_at: bigint
|
|
9073
|
+
}, ExtArgs["result"]["chat_sessions"]>
|
|
9074
|
+
composites: {}
|
|
9075
|
+
}
|
|
9076
|
+
|
|
9077
|
+
type chat_sessionsGetPayload<S extends boolean | null | undefined | chat_sessionsDefaultArgs> = $Result.GetResult<Prisma.$chat_sessionsPayload, S>
|
|
9078
|
+
|
|
9079
|
+
type chat_sessionsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
9080
|
+
Omit<chat_sessionsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
9081
|
+
select?: Chat_sessionsCountAggregateInputType | true
|
|
9082
|
+
}
|
|
9083
|
+
|
|
9084
|
+
export interface chat_sessionsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
6702
9085
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['chat_sessions'], meta: { name: 'chat_sessions' } }
|
|
6703
9086
|
/**
|
|
6704
9087
|
* Find zero or one Chat_sessions that matches the filter.
|
|
@@ -15497,6 +17880,31 @@ export namespace Prisma {
|
|
|
15497
17880
|
export type Key_valueScalarFieldEnum = (typeof Key_valueScalarFieldEnum)[keyof typeof Key_valueScalarFieldEnum]
|
|
15498
17881
|
|
|
15499
17882
|
|
|
17883
|
+
export const User_secretsScalarFieldEnum: {
|
|
17884
|
+
id: 'id',
|
|
17885
|
+
user_id: 'user_id',
|
|
17886
|
+
key: 'key',
|
|
17887
|
+
value: 'value',
|
|
17888
|
+
created_at: 'created_at',
|
|
17889
|
+
updated_at: 'updated_at'
|
|
17890
|
+
};
|
|
17891
|
+
|
|
17892
|
+
export type User_secretsScalarFieldEnum = (typeof User_secretsScalarFieldEnum)[keyof typeof User_secretsScalarFieldEnum]
|
|
17893
|
+
|
|
17894
|
+
|
|
17895
|
+
export const Global_secretsScalarFieldEnum: {
|
|
17896
|
+
id: 'id',
|
|
17897
|
+
key: 'key',
|
|
17898
|
+
value: 'value',
|
|
17899
|
+
created_by_user_id: 'created_by_user_id',
|
|
17900
|
+
updated_by_user_id: 'updated_by_user_id',
|
|
17901
|
+
created_at: 'created_at',
|
|
17902
|
+
updated_at: 'updated_at'
|
|
17903
|
+
};
|
|
17904
|
+
|
|
17905
|
+
export type Global_secretsScalarFieldEnum = (typeof Global_secretsScalarFieldEnum)[keyof typeof Global_secretsScalarFieldEnum]
|
|
17906
|
+
|
|
17907
|
+
|
|
15500
17908
|
export const Chat_sessionsScalarFieldEnum: {
|
|
15501
17909
|
id: 'id',
|
|
15502
17910
|
user_id: 'user_id',
|
|
@@ -15684,6 +18092,7 @@ export namespace Prisma {
|
|
|
15684
18092
|
resourcePermissionUsers?: Resource_permission_usersListRelationFilter
|
|
15685
18093
|
createdResourceMetadata?: Resource_metadataListRelationFilter
|
|
15686
18094
|
approvedResourceMetadata?: Resource_metadataListRelationFilter
|
|
18095
|
+
userSecrets?: User_secretsListRelationFilter
|
|
15687
18096
|
}
|
|
15688
18097
|
|
|
15689
18098
|
export type usersOrderByWithRelationInput = {
|
|
@@ -15701,6 +18110,7 @@ export namespace Prisma {
|
|
|
15701
18110
|
resourcePermissionUsers?: resource_permission_usersOrderByRelationAggregateInput
|
|
15702
18111
|
createdResourceMetadata?: resource_metadataOrderByRelationAggregateInput
|
|
15703
18112
|
approvedResourceMetadata?: resource_metadataOrderByRelationAggregateInput
|
|
18113
|
+
userSecrets?: user_secretsOrderByRelationAggregateInput
|
|
15704
18114
|
}
|
|
15705
18115
|
|
|
15706
18116
|
export type usersWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -15721,6 +18131,7 @@ export namespace Prisma {
|
|
|
15721
18131
|
resourcePermissionUsers?: Resource_permission_usersListRelationFilter
|
|
15722
18132
|
createdResourceMetadata?: Resource_metadataListRelationFilter
|
|
15723
18133
|
approvedResourceMetadata?: Resource_metadataListRelationFilter
|
|
18134
|
+
userSecrets?: User_secretsListRelationFilter
|
|
15724
18135
|
}, "id" | "email">
|
|
15725
18136
|
|
|
15726
18137
|
export type usersOrderByWithAggregationInput = {
|
|
@@ -15918,6 +18329,133 @@ export namespace Prisma {
|
|
|
15918
18329
|
value?: StringWithAggregatesFilter<"key_value"> | string
|
|
15919
18330
|
}
|
|
15920
18331
|
|
|
18332
|
+
export type user_secretsWhereInput = {
|
|
18333
|
+
AND?: user_secretsWhereInput | user_secretsWhereInput[]
|
|
18334
|
+
OR?: user_secretsWhereInput[]
|
|
18335
|
+
NOT?: user_secretsWhereInput | user_secretsWhereInput[]
|
|
18336
|
+
id?: StringFilter<"user_secrets"> | string
|
|
18337
|
+
user_id?: StringFilter<"user_secrets"> | string
|
|
18338
|
+
key?: StringFilter<"user_secrets"> | string
|
|
18339
|
+
value?: StringFilter<"user_secrets"> | string
|
|
18340
|
+
created_at?: BigIntFilter<"user_secrets"> | bigint | number
|
|
18341
|
+
updated_at?: BigIntFilter<"user_secrets"> | bigint | number
|
|
18342
|
+
user?: XOR<UsersScalarRelationFilter, usersWhereInput>
|
|
18343
|
+
}
|
|
18344
|
+
|
|
18345
|
+
export type user_secretsOrderByWithRelationInput = {
|
|
18346
|
+
id?: SortOrder
|
|
18347
|
+
user_id?: SortOrder
|
|
18348
|
+
key?: SortOrder
|
|
18349
|
+
value?: SortOrder
|
|
18350
|
+
created_at?: SortOrder
|
|
18351
|
+
updated_at?: SortOrder
|
|
18352
|
+
user?: usersOrderByWithRelationInput
|
|
18353
|
+
}
|
|
18354
|
+
|
|
18355
|
+
export type user_secretsWhereUniqueInput = Prisma.AtLeast<{
|
|
18356
|
+
id?: string
|
|
18357
|
+
user_id_key?: user_secretsUser_idKeyCompoundUniqueInput
|
|
18358
|
+
AND?: user_secretsWhereInput | user_secretsWhereInput[]
|
|
18359
|
+
OR?: user_secretsWhereInput[]
|
|
18360
|
+
NOT?: user_secretsWhereInput | user_secretsWhereInput[]
|
|
18361
|
+
user_id?: StringFilter<"user_secrets"> | string
|
|
18362
|
+
key?: StringFilter<"user_secrets"> | string
|
|
18363
|
+
value?: StringFilter<"user_secrets"> | string
|
|
18364
|
+
created_at?: BigIntFilter<"user_secrets"> | bigint | number
|
|
18365
|
+
updated_at?: BigIntFilter<"user_secrets"> | bigint | number
|
|
18366
|
+
user?: XOR<UsersScalarRelationFilter, usersWhereInput>
|
|
18367
|
+
}, "id" | "user_id_key">
|
|
18368
|
+
|
|
18369
|
+
export type user_secretsOrderByWithAggregationInput = {
|
|
18370
|
+
id?: SortOrder
|
|
18371
|
+
user_id?: SortOrder
|
|
18372
|
+
key?: SortOrder
|
|
18373
|
+
value?: SortOrder
|
|
18374
|
+
created_at?: SortOrder
|
|
18375
|
+
updated_at?: SortOrder
|
|
18376
|
+
_count?: user_secretsCountOrderByAggregateInput
|
|
18377
|
+
_avg?: user_secretsAvgOrderByAggregateInput
|
|
18378
|
+
_max?: user_secretsMaxOrderByAggregateInput
|
|
18379
|
+
_min?: user_secretsMinOrderByAggregateInput
|
|
18380
|
+
_sum?: user_secretsSumOrderByAggregateInput
|
|
18381
|
+
}
|
|
18382
|
+
|
|
18383
|
+
export type user_secretsScalarWhereWithAggregatesInput = {
|
|
18384
|
+
AND?: user_secretsScalarWhereWithAggregatesInput | user_secretsScalarWhereWithAggregatesInput[]
|
|
18385
|
+
OR?: user_secretsScalarWhereWithAggregatesInput[]
|
|
18386
|
+
NOT?: user_secretsScalarWhereWithAggregatesInput | user_secretsScalarWhereWithAggregatesInput[]
|
|
18387
|
+
id?: StringWithAggregatesFilter<"user_secrets"> | string
|
|
18388
|
+
user_id?: StringWithAggregatesFilter<"user_secrets"> | string
|
|
18389
|
+
key?: StringWithAggregatesFilter<"user_secrets"> | string
|
|
18390
|
+
value?: StringWithAggregatesFilter<"user_secrets"> | string
|
|
18391
|
+
created_at?: BigIntWithAggregatesFilter<"user_secrets"> | bigint | number
|
|
18392
|
+
updated_at?: BigIntWithAggregatesFilter<"user_secrets"> | bigint | number
|
|
18393
|
+
}
|
|
18394
|
+
|
|
18395
|
+
export type global_secretsWhereInput = {
|
|
18396
|
+
AND?: global_secretsWhereInput | global_secretsWhereInput[]
|
|
18397
|
+
OR?: global_secretsWhereInput[]
|
|
18398
|
+
NOT?: global_secretsWhereInput | global_secretsWhereInput[]
|
|
18399
|
+
id?: StringFilter<"global_secrets"> | string
|
|
18400
|
+
key?: StringFilter<"global_secrets"> | string
|
|
18401
|
+
value?: StringFilter<"global_secrets"> | string
|
|
18402
|
+
created_by_user_id?: StringFilter<"global_secrets"> | string
|
|
18403
|
+
updated_by_user_id?: StringFilter<"global_secrets"> | string
|
|
18404
|
+
created_at?: BigIntFilter<"global_secrets"> | bigint | number
|
|
18405
|
+
updated_at?: BigIntFilter<"global_secrets"> | bigint | number
|
|
18406
|
+
}
|
|
18407
|
+
|
|
18408
|
+
export type global_secretsOrderByWithRelationInput = {
|
|
18409
|
+
id?: SortOrder
|
|
18410
|
+
key?: SortOrder
|
|
18411
|
+
value?: SortOrder
|
|
18412
|
+
created_by_user_id?: SortOrder
|
|
18413
|
+
updated_by_user_id?: SortOrder
|
|
18414
|
+
created_at?: SortOrder
|
|
18415
|
+
updated_at?: SortOrder
|
|
18416
|
+
}
|
|
18417
|
+
|
|
18418
|
+
export type global_secretsWhereUniqueInput = Prisma.AtLeast<{
|
|
18419
|
+
id?: string
|
|
18420
|
+
key?: string
|
|
18421
|
+
AND?: global_secretsWhereInput | global_secretsWhereInput[]
|
|
18422
|
+
OR?: global_secretsWhereInput[]
|
|
18423
|
+
NOT?: global_secretsWhereInput | global_secretsWhereInput[]
|
|
18424
|
+
value?: StringFilter<"global_secrets"> | string
|
|
18425
|
+
created_by_user_id?: StringFilter<"global_secrets"> | string
|
|
18426
|
+
updated_by_user_id?: StringFilter<"global_secrets"> | string
|
|
18427
|
+
created_at?: BigIntFilter<"global_secrets"> | bigint | number
|
|
18428
|
+
updated_at?: BigIntFilter<"global_secrets"> | bigint | number
|
|
18429
|
+
}, "id" | "key">
|
|
18430
|
+
|
|
18431
|
+
export type global_secretsOrderByWithAggregationInput = {
|
|
18432
|
+
id?: SortOrder
|
|
18433
|
+
key?: SortOrder
|
|
18434
|
+
value?: SortOrder
|
|
18435
|
+
created_by_user_id?: SortOrder
|
|
18436
|
+
updated_by_user_id?: SortOrder
|
|
18437
|
+
created_at?: SortOrder
|
|
18438
|
+
updated_at?: SortOrder
|
|
18439
|
+
_count?: global_secretsCountOrderByAggregateInput
|
|
18440
|
+
_avg?: global_secretsAvgOrderByAggregateInput
|
|
18441
|
+
_max?: global_secretsMaxOrderByAggregateInput
|
|
18442
|
+
_min?: global_secretsMinOrderByAggregateInput
|
|
18443
|
+
_sum?: global_secretsSumOrderByAggregateInput
|
|
18444
|
+
}
|
|
18445
|
+
|
|
18446
|
+
export type global_secretsScalarWhereWithAggregatesInput = {
|
|
18447
|
+
AND?: global_secretsScalarWhereWithAggregatesInput | global_secretsScalarWhereWithAggregatesInput[]
|
|
18448
|
+
OR?: global_secretsScalarWhereWithAggregatesInput[]
|
|
18449
|
+
NOT?: global_secretsScalarWhereWithAggregatesInput | global_secretsScalarWhereWithAggregatesInput[]
|
|
18450
|
+
id?: StringWithAggregatesFilter<"global_secrets"> | string
|
|
18451
|
+
key?: StringWithAggregatesFilter<"global_secrets"> | string
|
|
18452
|
+
value?: StringWithAggregatesFilter<"global_secrets"> | string
|
|
18453
|
+
created_by_user_id?: StringWithAggregatesFilter<"global_secrets"> | string
|
|
18454
|
+
updated_by_user_id?: StringWithAggregatesFilter<"global_secrets"> | string
|
|
18455
|
+
created_at?: BigIntWithAggregatesFilter<"global_secrets"> | bigint | number
|
|
18456
|
+
updated_at?: BigIntWithAggregatesFilter<"global_secrets"> | bigint | number
|
|
18457
|
+
}
|
|
18458
|
+
|
|
15921
18459
|
export type chat_sessionsWhereInput = {
|
|
15922
18460
|
AND?: chat_sessionsWhereInput | chat_sessionsWhereInput[]
|
|
15923
18461
|
OR?: chat_sessionsWhereInput[]
|
|
@@ -16483,6 +19021,7 @@ export namespace Prisma {
|
|
|
16483
19021
|
resourcePermissionUsers?: resource_permission_usersCreateNestedManyWithoutUserInput
|
|
16484
19022
|
createdResourceMetadata?: resource_metadataCreateNestedManyWithoutCreatedByUserInput
|
|
16485
19023
|
approvedResourceMetadata?: resource_metadataCreateNestedManyWithoutApprovedByUserInput
|
|
19024
|
+
userSecrets?: user_secretsCreateNestedManyWithoutUserInput
|
|
16486
19025
|
}
|
|
16487
19026
|
|
|
16488
19027
|
export type usersUncheckedCreateInput = {
|
|
@@ -16500,6 +19039,7 @@ export namespace Prisma {
|
|
|
16500
19039
|
resourcePermissionUsers?: resource_permission_usersUncheckedCreateNestedManyWithoutUserInput
|
|
16501
19040
|
createdResourceMetadata?: resource_metadataUncheckedCreateNestedManyWithoutCreatedByUserInput
|
|
16502
19041
|
approvedResourceMetadata?: resource_metadataUncheckedCreateNestedManyWithoutApprovedByUserInput
|
|
19042
|
+
userSecrets?: user_secretsUncheckedCreateNestedManyWithoutUserInput
|
|
16503
19043
|
}
|
|
16504
19044
|
|
|
16505
19045
|
export type usersUpdateInput = {
|
|
@@ -16517,6 +19057,7 @@ export namespace Prisma {
|
|
|
16517
19057
|
resourcePermissionUsers?: resource_permission_usersUpdateManyWithoutUserNestedInput
|
|
16518
19058
|
createdResourceMetadata?: resource_metadataUpdateManyWithoutCreatedByUserNestedInput
|
|
16519
19059
|
approvedResourceMetadata?: resource_metadataUpdateManyWithoutApprovedByUserNestedInput
|
|
19060
|
+
userSecrets?: user_secretsUpdateManyWithoutUserNestedInput
|
|
16520
19061
|
}
|
|
16521
19062
|
|
|
16522
19063
|
export type usersUncheckedUpdateInput = {
|
|
@@ -16534,6 +19075,7 @@ export namespace Prisma {
|
|
|
16534
19075
|
resourcePermissionUsers?: resource_permission_usersUncheckedUpdateManyWithoutUserNestedInput
|
|
16535
19076
|
createdResourceMetadata?: resource_metadataUncheckedUpdateManyWithoutCreatedByUserNestedInput
|
|
16536
19077
|
approvedResourceMetadata?: resource_metadataUncheckedUpdateManyWithoutApprovedByUserNestedInput
|
|
19078
|
+
userSecrets?: user_secretsUncheckedUpdateManyWithoutUserNestedInput
|
|
16537
19079
|
}
|
|
16538
19080
|
|
|
16539
19081
|
export type usersCreateManyInput = {
|
|
@@ -16694,49 +19236,181 @@ export namespace Prisma {
|
|
|
16694
19236
|
created_at: bigint | number
|
|
16695
19237
|
}
|
|
16696
19238
|
|
|
16697
|
-
export type workflow_aborted_sessionsUpdateManyMutationInput = {
|
|
16698
|
-
session_id?: StringFieldUpdateOperationsInput | string
|
|
19239
|
+
export type workflow_aborted_sessionsUpdateManyMutationInput = {
|
|
19240
|
+
session_id?: StringFieldUpdateOperationsInput | string
|
|
19241
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
19242
|
+
}
|
|
19243
|
+
|
|
19244
|
+
export type workflow_aborted_sessionsUncheckedUpdateManyInput = {
|
|
19245
|
+
session_id?: StringFieldUpdateOperationsInput | string
|
|
19246
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
19247
|
+
}
|
|
19248
|
+
|
|
19249
|
+
export type key_valueCreateInput = {
|
|
19250
|
+
key: string
|
|
19251
|
+
value: string
|
|
19252
|
+
}
|
|
19253
|
+
|
|
19254
|
+
export type key_valueUncheckedCreateInput = {
|
|
19255
|
+
key: string
|
|
19256
|
+
value: string
|
|
19257
|
+
}
|
|
19258
|
+
|
|
19259
|
+
export type key_valueUpdateInput = {
|
|
19260
|
+
key?: StringFieldUpdateOperationsInput | string
|
|
19261
|
+
value?: StringFieldUpdateOperationsInput | string
|
|
19262
|
+
}
|
|
19263
|
+
|
|
19264
|
+
export type key_valueUncheckedUpdateInput = {
|
|
19265
|
+
key?: StringFieldUpdateOperationsInput | string
|
|
19266
|
+
value?: StringFieldUpdateOperationsInput | string
|
|
19267
|
+
}
|
|
19268
|
+
|
|
19269
|
+
export type key_valueCreateManyInput = {
|
|
19270
|
+
key: string
|
|
19271
|
+
value: string
|
|
19272
|
+
}
|
|
19273
|
+
|
|
19274
|
+
export type key_valueUpdateManyMutationInput = {
|
|
19275
|
+
key?: StringFieldUpdateOperationsInput | string
|
|
19276
|
+
value?: StringFieldUpdateOperationsInput | string
|
|
19277
|
+
}
|
|
19278
|
+
|
|
19279
|
+
export type key_valueUncheckedUpdateManyInput = {
|
|
19280
|
+
key?: StringFieldUpdateOperationsInput | string
|
|
19281
|
+
value?: StringFieldUpdateOperationsInput | string
|
|
19282
|
+
}
|
|
19283
|
+
|
|
19284
|
+
export type user_secretsCreateInput = {
|
|
19285
|
+
id?: string
|
|
19286
|
+
key: string
|
|
19287
|
+
value: string
|
|
19288
|
+
created_at: bigint | number
|
|
19289
|
+
updated_at: bigint | number
|
|
19290
|
+
user: usersCreateNestedOneWithoutUserSecretsInput
|
|
19291
|
+
}
|
|
19292
|
+
|
|
19293
|
+
export type user_secretsUncheckedCreateInput = {
|
|
19294
|
+
id?: string
|
|
19295
|
+
user_id: string
|
|
19296
|
+
key: string
|
|
19297
|
+
value: string
|
|
19298
|
+
created_at: bigint | number
|
|
19299
|
+
updated_at: bigint | number
|
|
19300
|
+
}
|
|
19301
|
+
|
|
19302
|
+
export type user_secretsUpdateInput = {
|
|
19303
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
19304
|
+
key?: StringFieldUpdateOperationsInput | string
|
|
19305
|
+
value?: StringFieldUpdateOperationsInput | string
|
|
19306
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
19307
|
+
updated_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
19308
|
+
user?: usersUpdateOneRequiredWithoutUserSecretsNestedInput
|
|
19309
|
+
}
|
|
19310
|
+
|
|
19311
|
+
export type user_secretsUncheckedUpdateInput = {
|
|
19312
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
19313
|
+
user_id?: StringFieldUpdateOperationsInput | string
|
|
19314
|
+
key?: StringFieldUpdateOperationsInput | string
|
|
19315
|
+
value?: StringFieldUpdateOperationsInput | string
|
|
19316
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
19317
|
+
updated_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
19318
|
+
}
|
|
19319
|
+
|
|
19320
|
+
export type user_secretsCreateManyInput = {
|
|
19321
|
+
id?: string
|
|
19322
|
+
user_id: string
|
|
19323
|
+
key: string
|
|
19324
|
+
value: string
|
|
19325
|
+
created_at: bigint | number
|
|
19326
|
+
updated_at: bigint | number
|
|
19327
|
+
}
|
|
19328
|
+
|
|
19329
|
+
export type user_secretsUpdateManyMutationInput = {
|
|
19330
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
19331
|
+
key?: StringFieldUpdateOperationsInput | string
|
|
19332
|
+
value?: StringFieldUpdateOperationsInput | string
|
|
16699
19333
|
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
19334
|
+
updated_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
16700
19335
|
}
|
|
16701
19336
|
|
|
16702
|
-
export type
|
|
16703
|
-
|
|
19337
|
+
export type user_secretsUncheckedUpdateManyInput = {
|
|
19338
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
19339
|
+
user_id?: StringFieldUpdateOperationsInput | string
|
|
19340
|
+
key?: StringFieldUpdateOperationsInput | string
|
|
19341
|
+
value?: StringFieldUpdateOperationsInput | string
|
|
16704
19342
|
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
19343
|
+
updated_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
16705
19344
|
}
|
|
16706
19345
|
|
|
16707
|
-
export type
|
|
19346
|
+
export type global_secretsCreateInput = {
|
|
19347
|
+
id?: string
|
|
16708
19348
|
key: string
|
|
16709
19349
|
value: string
|
|
19350
|
+
created_by_user_id: string
|
|
19351
|
+
updated_by_user_id: string
|
|
19352
|
+
created_at: bigint | number
|
|
19353
|
+
updated_at: bigint | number
|
|
16710
19354
|
}
|
|
16711
19355
|
|
|
16712
|
-
export type
|
|
19356
|
+
export type global_secretsUncheckedCreateInput = {
|
|
19357
|
+
id?: string
|
|
16713
19358
|
key: string
|
|
16714
19359
|
value: string
|
|
19360
|
+
created_by_user_id: string
|
|
19361
|
+
updated_by_user_id: string
|
|
19362
|
+
created_at: bigint | number
|
|
19363
|
+
updated_at: bigint | number
|
|
16715
19364
|
}
|
|
16716
19365
|
|
|
16717
|
-
export type
|
|
19366
|
+
export type global_secretsUpdateInput = {
|
|
19367
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
16718
19368
|
key?: StringFieldUpdateOperationsInput | string
|
|
16719
19369
|
value?: StringFieldUpdateOperationsInput | string
|
|
19370
|
+
created_by_user_id?: StringFieldUpdateOperationsInput | string
|
|
19371
|
+
updated_by_user_id?: StringFieldUpdateOperationsInput | string
|
|
19372
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
19373
|
+
updated_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
16720
19374
|
}
|
|
16721
19375
|
|
|
16722
|
-
export type
|
|
19376
|
+
export type global_secretsUncheckedUpdateInput = {
|
|
19377
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
16723
19378
|
key?: StringFieldUpdateOperationsInput | string
|
|
16724
19379
|
value?: StringFieldUpdateOperationsInput | string
|
|
19380
|
+
created_by_user_id?: StringFieldUpdateOperationsInput | string
|
|
19381
|
+
updated_by_user_id?: StringFieldUpdateOperationsInput | string
|
|
19382
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
19383
|
+
updated_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
16725
19384
|
}
|
|
16726
19385
|
|
|
16727
|
-
export type
|
|
19386
|
+
export type global_secretsCreateManyInput = {
|
|
19387
|
+
id?: string
|
|
16728
19388
|
key: string
|
|
16729
19389
|
value: string
|
|
19390
|
+
created_by_user_id: string
|
|
19391
|
+
updated_by_user_id: string
|
|
19392
|
+
created_at: bigint | number
|
|
19393
|
+
updated_at: bigint | number
|
|
16730
19394
|
}
|
|
16731
19395
|
|
|
16732
|
-
export type
|
|
19396
|
+
export type global_secretsUpdateManyMutationInput = {
|
|
19397
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
16733
19398
|
key?: StringFieldUpdateOperationsInput | string
|
|
16734
19399
|
value?: StringFieldUpdateOperationsInput | string
|
|
19400
|
+
created_by_user_id?: StringFieldUpdateOperationsInput | string
|
|
19401
|
+
updated_by_user_id?: StringFieldUpdateOperationsInput | string
|
|
19402
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
19403
|
+
updated_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
16735
19404
|
}
|
|
16736
19405
|
|
|
16737
|
-
export type
|
|
19406
|
+
export type global_secretsUncheckedUpdateManyInput = {
|
|
19407
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
16738
19408
|
key?: StringFieldUpdateOperationsInput | string
|
|
16739
19409
|
value?: StringFieldUpdateOperationsInput | string
|
|
19410
|
+
created_by_user_id?: StringFieldUpdateOperationsInput | string
|
|
19411
|
+
updated_by_user_id?: StringFieldUpdateOperationsInput | string
|
|
19412
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
19413
|
+
updated_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
16740
19414
|
}
|
|
16741
19415
|
|
|
16742
19416
|
export type chat_sessionsCreateInput = {
|
|
@@ -17370,6 +20044,12 @@ export namespace Prisma {
|
|
|
17370
20044
|
none?: resource_metadataWhereInput
|
|
17371
20045
|
}
|
|
17372
20046
|
|
|
20047
|
+
export type User_secretsListRelationFilter = {
|
|
20048
|
+
every?: user_secretsWhereInput
|
|
20049
|
+
some?: user_secretsWhereInput
|
|
20050
|
+
none?: user_secretsWhereInput
|
|
20051
|
+
}
|
|
20052
|
+
|
|
17373
20053
|
export type SortOrderInput = {
|
|
17374
20054
|
sort: SortOrder
|
|
17375
20055
|
nulls?: NullsOrder
|
|
@@ -17391,6 +20071,10 @@ export namespace Prisma {
|
|
|
17391
20071
|
_count?: SortOrder
|
|
17392
20072
|
}
|
|
17393
20073
|
|
|
20074
|
+
export type user_secretsOrderByRelationAggregateInput = {
|
|
20075
|
+
_count?: SortOrder
|
|
20076
|
+
}
|
|
20077
|
+
|
|
17394
20078
|
export type usersCountOrderByAggregateInput = {
|
|
17395
20079
|
id?: SortOrder
|
|
17396
20080
|
email?: SortOrder
|
|
@@ -17606,6 +20290,88 @@ export namespace Prisma {
|
|
|
17606
20290
|
value?: SortOrder
|
|
17607
20291
|
}
|
|
17608
20292
|
|
|
20293
|
+
export type user_secretsUser_idKeyCompoundUniqueInput = {
|
|
20294
|
+
user_id: string
|
|
20295
|
+
key: string
|
|
20296
|
+
}
|
|
20297
|
+
|
|
20298
|
+
export type user_secretsCountOrderByAggregateInput = {
|
|
20299
|
+
id?: SortOrder
|
|
20300
|
+
user_id?: SortOrder
|
|
20301
|
+
key?: SortOrder
|
|
20302
|
+
value?: SortOrder
|
|
20303
|
+
created_at?: SortOrder
|
|
20304
|
+
updated_at?: SortOrder
|
|
20305
|
+
}
|
|
20306
|
+
|
|
20307
|
+
export type user_secretsAvgOrderByAggregateInput = {
|
|
20308
|
+
created_at?: SortOrder
|
|
20309
|
+
updated_at?: SortOrder
|
|
20310
|
+
}
|
|
20311
|
+
|
|
20312
|
+
export type user_secretsMaxOrderByAggregateInput = {
|
|
20313
|
+
id?: SortOrder
|
|
20314
|
+
user_id?: SortOrder
|
|
20315
|
+
key?: SortOrder
|
|
20316
|
+
value?: SortOrder
|
|
20317
|
+
created_at?: SortOrder
|
|
20318
|
+
updated_at?: SortOrder
|
|
20319
|
+
}
|
|
20320
|
+
|
|
20321
|
+
export type user_secretsMinOrderByAggregateInput = {
|
|
20322
|
+
id?: SortOrder
|
|
20323
|
+
user_id?: SortOrder
|
|
20324
|
+
key?: SortOrder
|
|
20325
|
+
value?: SortOrder
|
|
20326
|
+
created_at?: SortOrder
|
|
20327
|
+
updated_at?: SortOrder
|
|
20328
|
+
}
|
|
20329
|
+
|
|
20330
|
+
export type user_secretsSumOrderByAggregateInput = {
|
|
20331
|
+
created_at?: SortOrder
|
|
20332
|
+
updated_at?: SortOrder
|
|
20333
|
+
}
|
|
20334
|
+
|
|
20335
|
+
export type global_secretsCountOrderByAggregateInput = {
|
|
20336
|
+
id?: SortOrder
|
|
20337
|
+
key?: SortOrder
|
|
20338
|
+
value?: SortOrder
|
|
20339
|
+
created_by_user_id?: SortOrder
|
|
20340
|
+
updated_by_user_id?: SortOrder
|
|
20341
|
+
created_at?: SortOrder
|
|
20342
|
+
updated_at?: SortOrder
|
|
20343
|
+
}
|
|
20344
|
+
|
|
20345
|
+
export type global_secretsAvgOrderByAggregateInput = {
|
|
20346
|
+
created_at?: SortOrder
|
|
20347
|
+
updated_at?: SortOrder
|
|
20348
|
+
}
|
|
20349
|
+
|
|
20350
|
+
export type global_secretsMaxOrderByAggregateInput = {
|
|
20351
|
+
id?: SortOrder
|
|
20352
|
+
key?: SortOrder
|
|
20353
|
+
value?: SortOrder
|
|
20354
|
+
created_by_user_id?: SortOrder
|
|
20355
|
+
updated_by_user_id?: SortOrder
|
|
20356
|
+
created_at?: SortOrder
|
|
20357
|
+
updated_at?: SortOrder
|
|
20358
|
+
}
|
|
20359
|
+
|
|
20360
|
+
export type global_secretsMinOrderByAggregateInput = {
|
|
20361
|
+
id?: SortOrder
|
|
20362
|
+
key?: SortOrder
|
|
20363
|
+
value?: SortOrder
|
|
20364
|
+
created_by_user_id?: SortOrder
|
|
20365
|
+
updated_by_user_id?: SortOrder
|
|
20366
|
+
created_at?: SortOrder
|
|
20367
|
+
updated_at?: SortOrder
|
|
20368
|
+
}
|
|
20369
|
+
|
|
20370
|
+
export type global_secretsSumOrderByAggregateInput = {
|
|
20371
|
+
created_at?: SortOrder
|
|
20372
|
+
updated_at?: SortOrder
|
|
20373
|
+
}
|
|
20374
|
+
|
|
17609
20375
|
export type Chat_session_tracked_filesListRelationFilter = {
|
|
17610
20376
|
every?: chat_session_tracked_filesWhereInput
|
|
17611
20377
|
some?: chat_session_tracked_filesWhereInput
|
|
@@ -18117,6 +20883,13 @@ export namespace Prisma {
|
|
|
18117
20883
|
connect?: resource_metadataWhereUniqueInput | resource_metadataWhereUniqueInput[]
|
|
18118
20884
|
}
|
|
18119
20885
|
|
|
20886
|
+
export type user_secretsCreateNestedManyWithoutUserInput = {
|
|
20887
|
+
create?: XOR<user_secretsCreateWithoutUserInput, user_secretsUncheckedCreateWithoutUserInput> | user_secretsCreateWithoutUserInput[] | user_secretsUncheckedCreateWithoutUserInput[]
|
|
20888
|
+
connectOrCreate?: user_secretsCreateOrConnectWithoutUserInput | user_secretsCreateOrConnectWithoutUserInput[]
|
|
20889
|
+
createMany?: user_secretsCreateManyUserInputEnvelope
|
|
20890
|
+
connect?: user_secretsWhereUniqueInput | user_secretsWhereUniqueInput[]
|
|
20891
|
+
}
|
|
20892
|
+
|
|
18120
20893
|
export type workflow_runsUncheckedCreateNestedManyWithoutUserInput = {
|
|
18121
20894
|
create?: XOR<workflow_runsCreateWithoutUserInput, workflow_runsUncheckedCreateWithoutUserInput> | workflow_runsCreateWithoutUserInput[] | workflow_runsUncheckedCreateWithoutUserInput[]
|
|
18122
20895
|
connectOrCreate?: workflow_runsCreateOrConnectWithoutUserInput | workflow_runsCreateOrConnectWithoutUserInput[]
|
|
@@ -18152,6 +20925,13 @@ export namespace Prisma {
|
|
|
18152
20925
|
connect?: resource_metadataWhereUniqueInput | resource_metadataWhereUniqueInput[]
|
|
18153
20926
|
}
|
|
18154
20927
|
|
|
20928
|
+
export type user_secretsUncheckedCreateNestedManyWithoutUserInput = {
|
|
20929
|
+
create?: XOR<user_secretsCreateWithoutUserInput, user_secretsUncheckedCreateWithoutUserInput> | user_secretsCreateWithoutUserInput[] | user_secretsUncheckedCreateWithoutUserInput[]
|
|
20930
|
+
connectOrCreate?: user_secretsCreateOrConnectWithoutUserInput | user_secretsCreateOrConnectWithoutUserInput[]
|
|
20931
|
+
createMany?: user_secretsCreateManyUserInputEnvelope
|
|
20932
|
+
connect?: user_secretsWhereUniqueInput | user_secretsWhereUniqueInput[]
|
|
20933
|
+
}
|
|
20934
|
+
|
|
18155
20935
|
export type StringFieldUpdateOperationsInput = {
|
|
18156
20936
|
set?: string
|
|
18157
20937
|
}
|
|
@@ -18250,6 +21030,20 @@ export namespace Prisma {
|
|
|
18250
21030
|
deleteMany?: resource_metadataScalarWhereInput | resource_metadataScalarWhereInput[]
|
|
18251
21031
|
}
|
|
18252
21032
|
|
|
21033
|
+
export type user_secretsUpdateManyWithoutUserNestedInput = {
|
|
21034
|
+
create?: XOR<user_secretsCreateWithoutUserInput, user_secretsUncheckedCreateWithoutUserInput> | user_secretsCreateWithoutUserInput[] | user_secretsUncheckedCreateWithoutUserInput[]
|
|
21035
|
+
connectOrCreate?: user_secretsCreateOrConnectWithoutUserInput | user_secretsCreateOrConnectWithoutUserInput[]
|
|
21036
|
+
upsert?: user_secretsUpsertWithWhereUniqueWithoutUserInput | user_secretsUpsertWithWhereUniqueWithoutUserInput[]
|
|
21037
|
+
createMany?: user_secretsCreateManyUserInputEnvelope
|
|
21038
|
+
set?: user_secretsWhereUniqueInput | user_secretsWhereUniqueInput[]
|
|
21039
|
+
disconnect?: user_secretsWhereUniqueInput | user_secretsWhereUniqueInput[]
|
|
21040
|
+
delete?: user_secretsWhereUniqueInput | user_secretsWhereUniqueInput[]
|
|
21041
|
+
connect?: user_secretsWhereUniqueInput | user_secretsWhereUniqueInput[]
|
|
21042
|
+
update?: user_secretsUpdateWithWhereUniqueWithoutUserInput | user_secretsUpdateWithWhereUniqueWithoutUserInput[]
|
|
21043
|
+
updateMany?: user_secretsUpdateManyWithWhereWithoutUserInput | user_secretsUpdateManyWithWhereWithoutUserInput[]
|
|
21044
|
+
deleteMany?: user_secretsScalarWhereInput | user_secretsScalarWhereInput[]
|
|
21045
|
+
}
|
|
21046
|
+
|
|
18253
21047
|
export type workflow_runsUncheckedUpdateManyWithoutUserNestedInput = {
|
|
18254
21048
|
create?: XOR<workflow_runsCreateWithoutUserInput, workflow_runsUncheckedCreateWithoutUserInput> | workflow_runsCreateWithoutUserInput[] | workflow_runsUncheckedCreateWithoutUserInput[]
|
|
18255
21049
|
connectOrCreate?: workflow_runsCreateOrConnectWithoutUserInput | workflow_runsCreateOrConnectWithoutUserInput[]
|
|
@@ -18320,6 +21114,20 @@ export namespace Prisma {
|
|
|
18320
21114
|
deleteMany?: resource_metadataScalarWhereInput | resource_metadataScalarWhereInput[]
|
|
18321
21115
|
}
|
|
18322
21116
|
|
|
21117
|
+
export type user_secretsUncheckedUpdateManyWithoutUserNestedInput = {
|
|
21118
|
+
create?: XOR<user_secretsCreateWithoutUserInput, user_secretsUncheckedCreateWithoutUserInput> | user_secretsCreateWithoutUserInput[] | user_secretsUncheckedCreateWithoutUserInput[]
|
|
21119
|
+
connectOrCreate?: user_secretsCreateOrConnectWithoutUserInput | user_secretsCreateOrConnectWithoutUserInput[]
|
|
21120
|
+
upsert?: user_secretsUpsertWithWhereUniqueWithoutUserInput | user_secretsUpsertWithWhereUniqueWithoutUserInput[]
|
|
21121
|
+
createMany?: user_secretsCreateManyUserInputEnvelope
|
|
21122
|
+
set?: user_secretsWhereUniqueInput | user_secretsWhereUniqueInput[]
|
|
21123
|
+
disconnect?: user_secretsWhereUniqueInput | user_secretsWhereUniqueInput[]
|
|
21124
|
+
delete?: user_secretsWhereUniqueInput | user_secretsWhereUniqueInput[]
|
|
21125
|
+
connect?: user_secretsWhereUniqueInput | user_secretsWhereUniqueInput[]
|
|
21126
|
+
update?: user_secretsUpdateWithWhereUniqueWithoutUserInput | user_secretsUpdateWithWhereUniqueWithoutUserInput[]
|
|
21127
|
+
updateMany?: user_secretsUpdateManyWithWhereWithoutUserInput | user_secretsUpdateManyWithWhereWithoutUserInput[]
|
|
21128
|
+
deleteMany?: user_secretsScalarWhereInput | user_secretsScalarWhereInput[]
|
|
21129
|
+
}
|
|
21130
|
+
|
|
18323
21131
|
export type usersCreateNestedOneWithoutWorkflowRunsInput = {
|
|
18324
21132
|
create?: XOR<usersCreateWithoutWorkflowRunsInput, usersUncheckedCreateWithoutWorkflowRunsInput>
|
|
18325
21133
|
connectOrCreate?: usersCreateOrConnectWithoutWorkflowRunsInput
|
|
@@ -18334,6 +21142,20 @@ export namespace Prisma {
|
|
|
18334
21142
|
update?: XOR<XOR<usersUpdateToOneWithWhereWithoutWorkflowRunsInput, usersUpdateWithoutWorkflowRunsInput>, usersUncheckedUpdateWithoutWorkflowRunsInput>
|
|
18335
21143
|
}
|
|
18336
21144
|
|
|
21145
|
+
export type usersCreateNestedOneWithoutUserSecretsInput = {
|
|
21146
|
+
create?: XOR<usersCreateWithoutUserSecretsInput, usersUncheckedCreateWithoutUserSecretsInput>
|
|
21147
|
+
connectOrCreate?: usersCreateOrConnectWithoutUserSecretsInput
|
|
21148
|
+
connect?: usersWhereUniqueInput
|
|
21149
|
+
}
|
|
21150
|
+
|
|
21151
|
+
export type usersUpdateOneRequiredWithoutUserSecretsNestedInput = {
|
|
21152
|
+
create?: XOR<usersCreateWithoutUserSecretsInput, usersUncheckedCreateWithoutUserSecretsInput>
|
|
21153
|
+
connectOrCreate?: usersCreateOrConnectWithoutUserSecretsInput
|
|
21154
|
+
upsert?: usersUpsertWithoutUserSecretsInput
|
|
21155
|
+
connect?: usersWhereUniqueInput
|
|
21156
|
+
update?: XOR<XOR<usersUpdateToOneWithWhereWithoutUserSecretsInput, usersUpdateWithoutUserSecretsInput>, usersUncheckedUpdateWithoutUserSecretsInput>
|
|
21157
|
+
}
|
|
21158
|
+
|
|
18337
21159
|
export type chat_session_tracked_filesCreateNestedManyWithoutSessionInput = {
|
|
18338
21160
|
create?: XOR<chat_session_tracked_filesCreateWithoutSessionInput, chat_session_tracked_filesUncheckedCreateWithoutSessionInput> | chat_session_tracked_filesCreateWithoutSessionInput[] | chat_session_tracked_filesUncheckedCreateWithoutSessionInput[]
|
|
18339
21161
|
connectOrCreate?: chat_session_tracked_filesCreateOrConnectWithoutSessionInput | chat_session_tracked_filesCreateOrConnectWithoutSessionInput[]
|
|
@@ -18990,6 +21812,31 @@ export namespace Prisma {
|
|
|
18990
21812
|
data: resource_metadataCreateManyApprovedByUserInput | resource_metadataCreateManyApprovedByUserInput[]
|
|
18991
21813
|
}
|
|
18992
21814
|
|
|
21815
|
+
export type user_secretsCreateWithoutUserInput = {
|
|
21816
|
+
id?: string
|
|
21817
|
+
key: string
|
|
21818
|
+
value: string
|
|
21819
|
+
created_at: bigint | number
|
|
21820
|
+
updated_at: bigint | number
|
|
21821
|
+
}
|
|
21822
|
+
|
|
21823
|
+
export type user_secretsUncheckedCreateWithoutUserInput = {
|
|
21824
|
+
id?: string
|
|
21825
|
+
key: string
|
|
21826
|
+
value: string
|
|
21827
|
+
created_at: bigint | number
|
|
21828
|
+
updated_at: bigint | number
|
|
21829
|
+
}
|
|
21830
|
+
|
|
21831
|
+
export type user_secretsCreateOrConnectWithoutUserInput = {
|
|
21832
|
+
where: user_secretsWhereUniqueInput
|
|
21833
|
+
create: XOR<user_secretsCreateWithoutUserInput, user_secretsUncheckedCreateWithoutUserInput>
|
|
21834
|
+
}
|
|
21835
|
+
|
|
21836
|
+
export type user_secretsCreateManyUserInputEnvelope = {
|
|
21837
|
+
data: user_secretsCreateManyUserInput | user_secretsCreateManyUserInput[]
|
|
21838
|
+
}
|
|
21839
|
+
|
|
18993
21840
|
export type workflow_runsUpsertWithWhereUniqueWithoutUserInput = {
|
|
18994
21841
|
where: workflow_runsWhereUniqueInput
|
|
18995
21842
|
update: XOR<workflow_runsUpdateWithoutUserInput, workflow_runsUncheckedUpdateWithoutUserInput>
|
|
@@ -19123,6 +21970,34 @@ export namespace Prisma {
|
|
|
19123
21970
|
data: XOR<resource_metadataUpdateManyMutationInput, resource_metadataUncheckedUpdateManyWithoutApprovedByUserInput>
|
|
19124
21971
|
}
|
|
19125
21972
|
|
|
21973
|
+
export type user_secretsUpsertWithWhereUniqueWithoutUserInput = {
|
|
21974
|
+
where: user_secretsWhereUniqueInput
|
|
21975
|
+
update: XOR<user_secretsUpdateWithoutUserInput, user_secretsUncheckedUpdateWithoutUserInput>
|
|
21976
|
+
create: XOR<user_secretsCreateWithoutUserInput, user_secretsUncheckedCreateWithoutUserInput>
|
|
21977
|
+
}
|
|
21978
|
+
|
|
21979
|
+
export type user_secretsUpdateWithWhereUniqueWithoutUserInput = {
|
|
21980
|
+
where: user_secretsWhereUniqueInput
|
|
21981
|
+
data: XOR<user_secretsUpdateWithoutUserInput, user_secretsUncheckedUpdateWithoutUserInput>
|
|
21982
|
+
}
|
|
21983
|
+
|
|
21984
|
+
export type user_secretsUpdateManyWithWhereWithoutUserInput = {
|
|
21985
|
+
where: user_secretsScalarWhereInput
|
|
21986
|
+
data: XOR<user_secretsUpdateManyMutationInput, user_secretsUncheckedUpdateManyWithoutUserInput>
|
|
21987
|
+
}
|
|
21988
|
+
|
|
21989
|
+
export type user_secretsScalarWhereInput = {
|
|
21990
|
+
AND?: user_secretsScalarWhereInput | user_secretsScalarWhereInput[]
|
|
21991
|
+
OR?: user_secretsScalarWhereInput[]
|
|
21992
|
+
NOT?: user_secretsScalarWhereInput | user_secretsScalarWhereInput[]
|
|
21993
|
+
id?: StringFilter<"user_secrets"> | string
|
|
21994
|
+
user_id?: StringFilter<"user_secrets"> | string
|
|
21995
|
+
key?: StringFilter<"user_secrets"> | string
|
|
21996
|
+
value?: StringFilter<"user_secrets"> | string
|
|
21997
|
+
created_at?: BigIntFilter<"user_secrets"> | bigint | number
|
|
21998
|
+
updated_at?: BigIntFilter<"user_secrets"> | bigint | number
|
|
21999
|
+
}
|
|
22000
|
+
|
|
19126
22001
|
export type usersCreateWithoutWorkflowRunsInput = {
|
|
19127
22002
|
id?: string
|
|
19128
22003
|
email: string
|
|
@@ -19137,6 +22012,7 @@ export namespace Prisma {
|
|
|
19137
22012
|
resourcePermissionUsers?: resource_permission_usersCreateNestedManyWithoutUserInput
|
|
19138
22013
|
createdResourceMetadata?: resource_metadataCreateNestedManyWithoutCreatedByUserInput
|
|
19139
22014
|
approvedResourceMetadata?: resource_metadataCreateNestedManyWithoutApprovedByUserInput
|
|
22015
|
+
userSecrets?: user_secretsCreateNestedManyWithoutUserInput
|
|
19140
22016
|
}
|
|
19141
22017
|
|
|
19142
22018
|
export type usersUncheckedCreateWithoutWorkflowRunsInput = {
|
|
@@ -19153,6 +22029,7 @@ export namespace Prisma {
|
|
|
19153
22029
|
resourcePermissionUsers?: resource_permission_usersUncheckedCreateNestedManyWithoutUserInput
|
|
19154
22030
|
createdResourceMetadata?: resource_metadataUncheckedCreateNestedManyWithoutCreatedByUserInput
|
|
19155
22031
|
approvedResourceMetadata?: resource_metadataUncheckedCreateNestedManyWithoutApprovedByUserInput
|
|
22032
|
+
userSecrets?: user_secretsUncheckedCreateNestedManyWithoutUserInput
|
|
19156
22033
|
}
|
|
19157
22034
|
|
|
19158
22035
|
export type usersCreateOrConnectWithoutWorkflowRunsInput = {
|
|
@@ -19185,6 +22062,7 @@ export namespace Prisma {
|
|
|
19185
22062
|
resourcePermissionUsers?: resource_permission_usersUpdateManyWithoutUserNestedInput
|
|
19186
22063
|
createdResourceMetadata?: resource_metadataUpdateManyWithoutCreatedByUserNestedInput
|
|
19187
22064
|
approvedResourceMetadata?: resource_metadataUpdateManyWithoutApprovedByUserNestedInput
|
|
22065
|
+
userSecrets?: user_secretsUpdateManyWithoutUserNestedInput
|
|
19188
22066
|
}
|
|
19189
22067
|
|
|
19190
22068
|
export type usersUncheckedUpdateWithoutWorkflowRunsInput = {
|
|
@@ -19201,6 +22079,91 @@ export namespace Prisma {
|
|
|
19201
22079
|
resourcePermissionUsers?: resource_permission_usersUncheckedUpdateManyWithoutUserNestedInput
|
|
19202
22080
|
createdResourceMetadata?: resource_metadataUncheckedUpdateManyWithoutCreatedByUserNestedInput
|
|
19203
22081
|
approvedResourceMetadata?: resource_metadataUncheckedUpdateManyWithoutApprovedByUserNestedInput
|
|
22082
|
+
userSecrets?: user_secretsUncheckedUpdateManyWithoutUserNestedInput
|
|
22083
|
+
}
|
|
22084
|
+
|
|
22085
|
+
export type usersCreateWithoutUserSecretsInput = {
|
|
22086
|
+
id?: string
|
|
22087
|
+
email: string
|
|
22088
|
+
name: string
|
|
22089
|
+
role: string
|
|
22090
|
+
created_at: bigint | number
|
|
22091
|
+
password_hash: string
|
|
22092
|
+
must_change_password?: boolean
|
|
22093
|
+
reset_token?: string | null
|
|
22094
|
+
reset_token_expires_at?: bigint | number | null
|
|
22095
|
+
workflowRuns?: workflow_runsCreateNestedManyWithoutUserInput
|
|
22096
|
+
chatSessions?: chat_sessionsCreateNestedManyWithoutUserInput
|
|
22097
|
+
resourcePermissionUsers?: resource_permission_usersCreateNestedManyWithoutUserInput
|
|
22098
|
+
createdResourceMetadata?: resource_metadataCreateNestedManyWithoutCreatedByUserInput
|
|
22099
|
+
approvedResourceMetadata?: resource_metadataCreateNestedManyWithoutApprovedByUserInput
|
|
22100
|
+
}
|
|
22101
|
+
|
|
22102
|
+
export type usersUncheckedCreateWithoutUserSecretsInput = {
|
|
22103
|
+
id?: string
|
|
22104
|
+
email: string
|
|
22105
|
+
name: string
|
|
22106
|
+
role: string
|
|
22107
|
+
created_at: bigint | number
|
|
22108
|
+
password_hash: string
|
|
22109
|
+
must_change_password?: boolean
|
|
22110
|
+
reset_token?: string | null
|
|
22111
|
+
reset_token_expires_at?: bigint | number | null
|
|
22112
|
+
workflowRuns?: workflow_runsUncheckedCreateNestedManyWithoutUserInput
|
|
22113
|
+
chatSessions?: chat_sessionsUncheckedCreateNestedManyWithoutUserInput
|
|
22114
|
+
resourcePermissionUsers?: resource_permission_usersUncheckedCreateNestedManyWithoutUserInput
|
|
22115
|
+
createdResourceMetadata?: resource_metadataUncheckedCreateNestedManyWithoutCreatedByUserInput
|
|
22116
|
+
approvedResourceMetadata?: resource_metadataUncheckedCreateNestedManyWithoutApprovedByUserInput
|
|
22117
|
+
}
|
|
22118
|
+
|
|
22119
|
+
export type usersCreateOrConnectWithoutUserSecretsInput = {
|
|
22120
|
+
where: usersWhereUniqueInput
|
|
22121
|
+
create: XOR<usersCreateWithoutUserSecretsInput, usersUncheckedCreateWithoutUserSecretsInput>
|
|
22122
|
+
}
|
|
22123
|
+
|
|
22124
|
+
export type usersUpsertWithoutUserSecretsInput = {
|
|
22125
|
+
update: XOR<usersUpdateWithoutUserSecretsInput, usersUncheckedUpdateWithoutUserSecretsInput>
|
|
22126
|
+
create: XOR<usersCreateWithoutUserSecretsInput, usersUncheckedCreateWithoutUserSecretsInput>
|
|
22127
|
+
where?: usersWhereInput
|
|
22128
|
+
}
|
|
22129
|
+
|
|
22130
|
+
export type usersUpdateToOneWithWhereWithoutUserSecretsInput = {
|
|
22131
|
+
where?: usersWhereInput
|
|
22132
|
+
data: XOR<usersUpdateWithoutUserSecretsInput, usersUncheckedUpdateWithoutUserSecretsInput>
|
|
22133
|
+
}
|
|
22134
|
+
|
|
22135
|
+
export type usersUpdateWithoutUserSecretsInput = {
|
|
22136
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
22137
|
+
email?: StringFieldUpdateOperationsInput | string
|
|
22138
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
22139
|
+
role?: StringFieldUpdateOperationsInput | string
|
|
22140
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
22141
|
+
password_hash?: StringFieldUpdateOperationsInput | string
|
|
22142
|
+
must_change_password?: BoolFieldUpdateOperationsInput | boolean
|
|
22143
|
+
reset_token?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22144
|
+
reset_token_expires_at?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
22145
|
+
workflowRuns?: workflow_runsUpdateManyWithoutUserNestedInput
|
|
22146
|
+
chatSessions?: chat_sessionsUpdateManyWithoutUserNestedInput
|
|
22147
|
+
resourcePermissionUsers?: resource_permission_usersUpdateManyWithoutUserNestedInput
|
|
22148
|
+
createdResourceMetadata?: resource_metadataUpdateManyWithoutCreatedByUserNestedInput
|
|
22149
|
+
approvedResourceMetadata?: resource_metadataUpdateManyWithoutApprovedByUserNestedInput
|
|
22150
|
+
}
|
|
22151
|
+
|
|
22152
|
+
export type usersUncheckedUpdateWithoutUserSecretsInput = {
|
|
22153
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
22154
|
+
email?: StringFieldUpdateOperationsInput | string
|
|
22155
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
22156
|
+
role?: StringFieldUpdateOperationsInput | string
|
|
22157
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
22158
|
+
password_hash?: StringFieldUpdateOperationsInput | string
|
|
22159
|
+
must_change_password?: BoolFieldUpdateOperationsInput | boolean
|
|
22160
|
+
reset_token?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22161
|
+
reset_token_expires_at?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
22162
|
+
workflowRuns?: workflow_runsUncheckedUpdateManyWithoutUserNestedInput
|
|
22163
|
+
chatSessions?: chat_sessionsUncheckedUpdateManyWithoutUserNestedInput
|
|
22164
|
+
resourcePermissionUsers?: resource_permission_usersUncheckedUpdateManyWithoutUserNestedInput
|
|
22165
|
+
createdResourceMetadata?: resource_metadataUncheckedUpdateManyWithoutCreatedByUserNestedInput
|
|
22166
|
+
approvedResourceMetadata?: resource_metadataUncheckedUpdateManyWithoutApprovedByUserNestedInput
|
|
19204
22167
|
}
|
|
19205
22168
|
|
|
19206
22169
|
export type chat_session_tracked_filesCreateWithoutSessionInput = {
|
|
@@ -19252,6 +22215,7 @@ export namespace Prisma {
|
|
|
19252
22215
|
resourcePermissionUsers?: resource_permission_usersCreateNestedManyWithoutUserInput
|
|
19253
22216
|
createdResourceMetadata?: resource_metadataCreateNestedManyWithoutCreatedByUserInput
|
|
19254
22217
|
approvedResourceMetadata?: resource_metadataCreateNestedManyWithoutApprovedByUserInput
|
|
22218
|
+
userSecrets?: user_secretsCreateNestedManyWithoutUserInput
|
|
19255
22219
|
}
|
|
19256
22220
|
|
|
19257
22221
|
export type usersUncheckedCreateWithoutChatSessionsInput = {
|
|
@@ -19268,6 +22232,7 @@ export namespace Prisma {
|
|
|
19268
22232
|
resourcePermissionUsers?: resource_permission_usersUncheckedCreateNestedManyWithoutUserInput
|
|
19269
22233
|
createdResourceMetadata?: resource_metadataUncheckedCreateNestedManyWithoutCreatedByUserInput
|
|
19270
22234
|
approvedResourceMetadata?: resource_metadataUncheckedCreateNestedManyWithoutApprovedByUserInput
|
|
22235
|
+
userSecrets?: user_secretsUncheckedCreateNestedManyWithoutUserInput
|
|
19271
22236
|
}
|
|
19272
22237
|
|
|
19273
22238
|
export type usersCreateOrConnectWithoutChatSessionsInput = {
|
|
@@ -19333,6 +22298,7 @@ export namespace Prisma {
|
|
|
19333
22298
|
resourcePermissionUsers?: resource_permission_usersUpdateManyWithoutUserNestedInput
|
|
19334
22299
|
createdResourceMetadata?: resource_metadataUpdateManyWithoutCreatedByUserNestedInput
|
|
19335
22300
|
approvedResourceMetadata?: resource_metadataUpdateManyWithoutApprovedByUserNestedInput
|
|
22301
|
+
userSecrets?: user_secretsUpdateManyWithoutUserNestedInput
|
|
19336
22302
|
}
|
|
19337
22303
|
|
|
19338
22304
|
export type usersUncheckedUpdateWithoutChatSessionsInput = {
|
|
@@ -19349,6 +22315,7 @@ export namespace Prisma {
|
|
|
19349
22315
|
resourcePermissionUsers?: resource_permission_usersUncheckedUpdateManyWithoutUserNestedInput
|
|
19350
22316
|
createdResourceMetadata?: resource_metadataUncheckedUpdateManyWithoutCreatedByUserNestedInput
|
|
19351
22317
|
approvedResourceMetadata?: resource_metadataUncheckedUpdateManyWithoutApprovedByUserNestedInput
|
|
22318
|
+
userSecrets?: user_secretsUncheckedUpdateManyWithoutUserNestedInput
|
|
19352
22319
|
}
|
|
19353
22320
|
|
|
19354
22321
|
export type chat_sessionsCreateWithoutTrackedFilesInput = {
|
|
@@ -19440,6 +22407,7 @@ export namespace Prisma {
|
|
|
19440
22407
|
chatSessions?: chat_sessionsCreateNestedManyWithoutUserInput
|
|
19441
22408
|
resourcePermissionUsers?: resource_permission_usersCreateNestedManyWithoutUserInput
|
|
19442
22409
|
approvedResourceMetadata?: resource_metadataCreateNestedManyWithoutApprovedByUserInput
|
|
22410
|
+
userSecrets?: user_secretsCreateNestedManyWithoutUserInput
|
|
19443
22411
|
}
|
|
19444
22412
|
|
|
19445
22413
|
export type usersUncheckedCreateWithoutCreatedResourceMetadataInput = {
|
|
@@ -19456,6 +22424,7 @@ export namespace Prisma {
|
|
|
19456
22424
|
chatSessions?: chat_sessionsUncheckedCreateNestedManyWithoutUserInput
|
|
19457
22425
|
resourcePermissionUsers?: resource_permission_usersUncheckedCreateNestedManyWithoutUserInput
|
|
19458
22426
|
approvedResourceMetadata?: resource_metadataUncheckedCreateNestedManyWithoutApprovedByUserInput
|
|
22427
|
+
userSecrets?: user_secretsUncheckedCreateNestedManyWithoutUserInput
|
|
19459
22428
|
}
|
|
19460
22429
|
|
|
19461
22430
|
export type usersCreateOrConnectWithoutCreatedResourceMetadataInput = {
|
|
@@ -19477,6 +22446,7 @@ export namespace Prisma {
|
|
|
19477
22446
|
chatSessions?: chat_sessionsCreateNestedManyWithoutUserInput
|
|
19478
22447
|
resourcePermissionUsers?: resource_permission_usersCreateNestedManyWithoutUserInput
|
|
19479
22448
|
createdResourceMetadata?: resource_metadataCreateNestedManyWithoutCreatedByUserInput
|
|
22449
|
+
userSecrets?: user_secretsCreateNestedManyWithoutUserInput
|
|
19480
22450
|
}
|
|
19481
22451
|
|
|
19482
22452
|
export type usersUncheckedCreateWithoutApprovedResourceMetadataInput = {
|
|
@@ -19493,6 +22463,7 @@ export namespace Prisma {
|
|
|
19493
22463
|
chatSessions?: chat_sessionsUncheckedCreateNestedManyWithoutUserInput
|
|
19494
22464
|
resourcePermissionUsers?: resource_permission_usersUncheckedCreateNestedManyWithoutUserInput
|
|
19495
22465
|
createdResourceMetadata?: resource_metadataUncheckedCreateNestedManyWithoutCreatedByUserInput
|
|
22466
|
+
userSecrets?: user_secretsUncheckedCreateNestedManyWithoutUserInput
|
|
19496
22467
|
}
|
|
19497
22468
|
|
|
19498
22469
|
export type usersCreateOrConnectWithoutApprovedResourceMetadataInput = {
|
|
@@ -19550,6 +22521,7 @@ export namespace Prisma {
|
|
|
19550
22521
|
chatSessions?: chat_sessionsUpdateManyWithoutUserNestedInput
|
|
19551
22522
|
resourcePermissionUsers?: resource_permission_usersUpdateManyWithoutUserNestedInput
|
|
19552
22523
|
approvedResourceMetadata?: resource_metadataUpdateManyWithoutApprovedByUserNestedInput
|
|
22524
|
+
userSecrets?: user_secretsUpdateManyWithoutUserNestedInput
|
|
19553
22525
|
}
|
|
19554
22526
|
|
|
19555
22527
|
export type usersUncheckedUpdateWithoutCreatedResourceMetadataInput = {
|
|
@@ -19566,6 +22538,7 @@ export namespace Prisma {
|
|
|
19566
22538
|
chatSessions?: chat_sessionsUncheckedUpdateManyWithoutUserNestedInput
|
|
19567
22539
|
resourcePermissionUsers?: resource_permission_usersUncheckedUpdateManyWithoutUserNestedInput
|
|
19568
22540
|
approvedResourceMetadata?: resource_metadataUncheckedUpdateManyWithoutApprovedByUserNestedInput
|
|
22541
|
+
userSecrets?: user_secretsUncheckedUpdateManyWithoutUserNestedInput
|
|
19569
22542
|
}
|
|
19570
22543
|
|
|
19571
22544
|
export type usersUpsertWithoutApprovedResourceMetadataInput = {
|
|
@@ -19593,6 +22566,7 @@ export namespace Prisma {
|
|
|
19593
22566
|
chatSessions?: chat_sessionsUpdateManyWithoutUserNestedInput
|
|
19594
22567
|
resourcePermissionUsers?: resource_permission_usersUpdateManyWithoutUserNestedInput
|
|
19595
22568
|
createdResourceMetadata?: resource_metadataUpdateManyWithoutCreatedByUserNestedInput
|
|
22569
|
+
userSecrets?: user_secretsUpdateManyWithoutUserNestedInput
|
|
19596
22570
|
}
|
|
19597
22571
|
|
|
19598
22572
|
export type usersUncheckedUpdateWithoutApprovedResourceMetadataInput = {
|
|
@@ -19609,6 +22583,7 @@ export namespace Prisma {
|
|
|
19609
22583
|
chatSessions?: chat_sessionsUncheckedUpdateManyWithoutUserNestedInput
|
|
19610
22584
|
resourcePermissionUsers?: resource_permission_usersUncheckedUpdateManyWithoutUserNestedInput
|
|
19611
22585
|
createdResourceMetadata?: resource_metadataUncheckedUpdateManyWithoutCreatedByUserNestedInput
|
|
22586
|
+
userSecrets?: user_secretsUncheckedUpdateManyWithoutUserNestedInput
|
|
19612
22587
|
}
|
|
19613
22588
|
|
|
19614
22589
|
export type resource_permission_usersCreateWithoutPermissionInput = {
|
|
@@ -19683,6 +22658,7 @@ export namespace Prisma {
|
|
|
19683
22658
|
chatSessions?: chat_sessionsCreateNestedManyWithoutUserInput
|
|
19684
22659
|
createdResourceMetadata?: resource_metadataCreateNestedManyWithoutCreatedByUserInput
|
|
19685
22660
|
approvedResourceMetadata?: resource_metadataCreateNestedManyWithoutApprovedByUserInput
|
|
22661
|
+
userSecrets?: user_secretsCreateNestedManyWithoutUserInput
|
|
19686
22662
|
}
|
|
19687
22663
|
|
|
19688
22664
|
export type usersUncheckedCreateWithoutResourcePermissionUsersInput = {
|
|
@@ -19699,6 +22675,7 @@ export namespace Prisma {
|
|
|
19699
22675
|
chatSessions?: chat_sessionsUncheckedCreateNestedManyWithoutUserInput
|
|
19700
22676
|
createdResourceMetadata?: resource_metadataUncheckedCreateNestedManyWithoutCreatedByUserInput
|
|
19701
22677
|
approvedResourceMetadata?: resource_metadataUncheckedCreateNestedManyWithoutApprovedByUserInput
|
|
22678
|
+
userSecrets?: user_secretsUncheckedCreateNestedManyWithoutUserInput
|
|
19702
22679
|
}
|
|
19703
22680
|
|
|
19704
22681
|
export type usersCreateOrConnectWithoutResourcePermissionUsersInput = {
|
|
@@ -19758,6 +22735,7 @@ export namespace Prisma {
|
|
|
19758
22735
|
chatSessions?: chat_sessionsUpdateManyWithoutUserNestedInput
|
|
19759
22736
|
createdResourceMetadata?: resource_metadataUpdateManyWithoutCreatedByUserNestedInput
|
|
19760
22737
|
approvedResourceMetadata?: resource_metadataUpdateManyWithoutApprovedByUserNestedInput
|
|
22738
|
+
userSecrets?: user_secretsUpdateManyWithoutUserNestedInput
|
|
19761
22739
|
}
|
|
19762
22740
|
|
|
19763
22741
|
export type usersUncheckedUpdateWithoutResourcePermissionUsersInput = {
|
|
@@ -19774,6 +22752,7 @@ export namespace Prisma {
|
|
|
19774
22752
|
chatSessions?: chat_sessionsUncheckedUpdateManyWithoutUserNestedInput
|
|
19775
22753
|
createdResourceMetadata?: resource_metadataUncheckedUpdateManyWithoutCreatedByUserNestedInput
|
|
19776
22754
|
approvedResourceMetadata?: resource_metadataUncheckedUpdateManyWithoutApprovedByUserNestedInput
|
|
22755
|
+
userSecrets?: user_secretsUncheckedUpdateManyWithoutUserNestedInput
|
|
19777
22756
|
}
|
|
19778
22757
|
|
|
19779
22758
|
export type resource_metadataCreateWithoutApprovedSnapshotInput = {
|
|
@@ -19979,6 +22958,14 @@ export namespace Prisma {
|
|
|
19979
22958
|
updated_at: bigint | number
|
|
19980
22959
|
}
|
|
19981
22960
|
|
|
22961
|
+
export type user_secretsCreateManyUserInput = {
|
|
22962
|
+
id?: string
|
|
22963
|
+
key: string
|
|
22964
|
+
value: string
|
|
22965
|
+
created_at: bigint | number
|
|
22966
|
+
updated_at: bigint | number
|
|
22967
|
+
}
|
|
22968
|
+
|
|
19982
22969
|
export type workflow_runsUpdateWithoutUserInput = {
|
|
19983
22970
|
id?: StringFieldUpdateOperationsInput | string
|
|
19984
22971
|
status?: StringFieldUpdateOperationsInput | string
|
|
@@ -20119,6 +23106,30 @@ export namespace Prisma {
|
|
|
20119
23106
|
updated_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
20120
23107
|
}
|
|
20121
23108
|
|
|
23109
|
+
export type user_secretsUpdateWithoutUserInput = {
|
|
23110
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
23111
|
+
key?: StringFieldUpdateOperationsInput | string
|
|
23112
|
+
value?: StringFieldUpdateOperationsInput | string
|
|
23113
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
23114
|
+
updated_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
23115
|
+
}
|
|
23116
|
+
|
|
23117
|
+
export type user_secretsUncheckedUpdateWithoutUserInput = {
|
|
23118
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
23119
|
+
key?: StringFieldUpdateOperationsInput | string
|
|
23120
|
+
value?: StringFieldUpdateOperationsInput | string
|
|
23121
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
23122
|
+
updated_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
23123
|
+
}
|
|
23124
|
+
|
|
23125
|
+
export type user_secretsUncheckedUpdateManyWithoutUserInput = {
|
|
23126
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
23127
|
+
key?: StringFieldUpdateOperationsInput | string
|
|
23128
|
+
value?: StringFieldUpdateOperationsInput | string
|
|
23129
|
+
created_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
23130
|
+
updated_at?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
23131
|
+
}
|
|
23132
|
+
|
|
20122
23133
|
export type chat_session_tracked_filesCreateManySessionInput = {
|
|
20123
23134
|
id?: string
|
|
20124
23135
|
relative_path: string
|