@prenta/core 8.6.0 → 8.7.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/CHANGELOG.md +17 -0
- package/dist/api/handlers.d.ts.map +1 -1
- package/dist/api/handlers.js +4 -0
- package/dist/api/handlers.js.map +1 -1
- package/dist/api/index.d.ts +2 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/route-helpers/auth.d.ts +24 -2
- package/dist/api/route-helpers/auth.d.ts.map +1 -1
- package/dist/api/route-helpers/auth.js +93 -1
- package/dist/api/route-helpers/auth.js.map +1 -1
- package/dist/api/route-helpers.d.ts +1 -1
- package/dist/api/route-helpers.d.ts.map +1 -1
- package/dist/api/route-helpers.js +1 -1
- package/dist/api/route-helpers.js.map +1 -1
- package/dist/api/routes/ai-authoring.d.ts.map +1 -1
- package/dist/api/routes/ai-authoring.js +8 -3
- package/dist/api/routes/ai-authoring.js.map +1 -1
- package/dist/api/routes/forms.d.ts.map +1 -1
- package/dist/api/routes/forms.js +50 -34
- package/dist/api/routes/forms.js.map +1 -1
- package/dist/api/routes/mcp-oauth.d.ts +3 -0
- package/dist/api/routes/mcp-oauth.d.ts.map +1 -0
- package/dist/api/routes/mcp-oauth.js +143 -0
- package/dist/api/routes/mcp-oauth.js.map +1 -0
- package/dist/api/routes/preview.d.ts.map +1 -1
- package/dist/api/routes/preview.js +43 -2
- package/dist/api/routes/preview.js.map +1 -1
- package/dist/api/routes/privacy.d.ts +3 -0
- package/dist/api/routes/privacy.d.ts.map +1 -0
- package/dist/api/routes/privacy.js +44 -0
- package/dist/api/routes/privacy.js.map +1 -0
- package/dist/api/routes/scheduling.d.ts.map +1 -1
- package/dist/api/routes/scheduling.js +4 -1
- package/dist/api/routes/scheduling.js.map +1 -1
- package/dist/api/routes/seo/handlers/audits.d.ts.map +1 -1
- package/dist/api/routes/seo/handlers/audits.js +3 -3
- package/dist/api/routes/seo/handlers/audits.js.map +1 -1
- package/dist/api/routes/seo/handlers/content.d.ts.map +1 -1
- package/dist/api/routes/seo/handlers/content.js +2 -2
- package/dist/api/routes/seo/handlers/content.js.map +1 -1
- package/dist/api/routes/seo/handlers/issue-helpers.d.ts.map +1 -1
- package/dist/api/routes/seo/handlers/issue-helpers.js +2 -2
- package/dist/api/routes/seo/handlers/issue-helpers.js.map +1 -1
- package/dist/api/routes/seo/handlers/issues-fixes.js +3 -3
- package/dist/api/routes/seo/handlers/issues-fixes.js.map +1 -1
- package/dist/api/routes/seo/handlers/links.d.ts.map +1 -1
- package/dist/api/routes/seo/handlers/links.js +6 -6
- package/dist/api/routes/seo/handlers/links.js.map +1 -1
- package/dist/api/routes/seo/handlers/proposals.js +2 -2
- package/dist/api/routes/seo/handlers/proposals.js.map +1 -1
- package/dist/api/routes/seo-public.d.ts.map +1 -1
- package/dist/api/routes/seo-public.js +9 -0
- package/dist/api/routes/seo-public.js.map +1 -1
- package/dist/api/routes/url-resolution.d.ts.map +1 -1
- package/dist/api/routes/url-resolution.js +46 -13
- package/dist/api/routes/url-resolution.js.map +1 -1
- package/dist/db/model-types.d.ts +40 -0
- package/dist/db/model-types.d.ts.map +1 -1
- package/dist/forms/delivery.d.ts.map +1 -1
- package/dist/forms/delivery.js +16 -10
- package/dist/forms/delivery.js.map +1 -1
- package/dist/forms/encryption.d.ts +4 -2
- package/dist/forms/encryption.d.ts.map +1 -1
- package/dist/forms/encryption.js +6 -4
- package/dist/forms/encryption.js.map +1 -1
- package/dist/forms/submission.d.ts.map +1 -1
- package/dist/forms/submission.js +17 -10
- package/dist/forms/submission.js.map +1 -1
- package/dist/generated/browser.d.ts +19 -0
- package/dist/generated/client.d.ts +19 -0
- package/dist/generated/internal/class.d.ts +33 -0
- package/dist/generated/internal/class.js +4 -4
- package/dist/generated/internal/prismaNamespace.d.ts +296 -1
- package/dist/generated/internal/prismaNamespace.js +65 -1
- package/dist/generated/internal/prismaNamespaceBrowser.d.ts +70 -0
- package/dist/generated/internal/prismaNamespaceBrowser.js +65 -1
- package/dist/generated/models/McpOauthGrant.d.ts +1577 -0
- package/dist/generated/models/McpOauthGrant.js +1 -0
- package/dist/generated/models/McpOauthRefreshReplay.d.ts +957 -0
- package/dist/generated/models/McpOauthRefreshReplay.js +1 -0
- package/dist/generated/models/McpOauthTransaction.d.ts +1153 -0
- package/dist/generated/models/McpOauthTransaction.js +1 -0
- package/dist/generated/models/User.d.ts +279 -0
- package/dist/generated/models.d.ts +3 -0
- package/dist/mcp/cimd.d.ts +12 -0
- package/dist/mcp/cimd.d.ts.map +1 -0
- package/dist/mcp/cimd.js +67 -0
- package/dist/mcp/cimd.js.map +1 -0
- package/dist/mcp/gate.d.ts +11 -0
- package/dist/mcp/gate.d.ts.map +1 -0
- package/dist/mcp/gate.js +75 -0
- package/dist/mcp/gate.js.map +1 -0
- package/dist/mcp/memory-grant-store.d.ts +5 -0
- package/dist/mcp/memory-grant-store.d.ts.map +1 -0
- package/dist/mcp/memory-grant-store.js +44 -0
- package/dist/mcp/memory-grant-store.js.map +1 -0
- package/dist/mcp/oauth-grants.d.ts +83 -0
- package/dist/mcp/oauth-grants.d.ts.map +1 -0
- package/dist/mcp/oauth-grants.js +129 -0
- package/dist/mcp/oauth-grants.js.map +1 -0
- package/dist/mcp/oauth-http.d.ts +43 -0
- package/dist/mcp/oauth-http.d.ts.map +1 -0
- package/dist/mcp/oauth-http.js +243 -0
- package/dist/mcp/oauth-http.js.map +1 -0
- package/dist/mcp/oauth-token.d.ts +43 -0
- package/dist/mcp/oauth-token.d.ts.map +1 -0
- package/dist/mcp/oauth-token.js +78 -0
- package/dist/mcp/oauth-token.js.map +1 -0
- package/dist/mcp/prisma-store.d.ts +5 -0
- package/dist/mcp/prisma-store.d.ts.map +1 -0
- package/dist/mcp/prisma-store.js +69 -0
- package/dist/mcp/prisma-store.js.map +1 -0
- package/dist/mcp/public.d.ts +5 -0
- package/dist/mcp/public.d.ts.map +1 -0
- package/dist/mcp/public.js +30 -0
- package/dist/mcp/public.js.map +1 -0
- package/dist/mcp/runtime.d.ts +4 -0
- package/dist/mcp/runtime.d.ts.map +1 -0
- package/dist/mcp/runtime.js +46 -0
- package/dist/mcp/runtime.js.map +1 -0
- package/dist/mcp/transactions.d.ts +18 -0
- package/dist/mcp/transactions.d.ts.map +1 -0
- package/dist/mcp/transactions.js +15 -0
- package/dist/mcp/transactions.js.map +1 -0
- package/dist/privacy/phi.d.ts +5 -0
- package/dist/privacy/phi.d.ts.map +1 -0
- package/dist/privacy/phi.js +69 -0
- package/dist/privacy/phi.js.map +1 -0
- package/dist/seo/document-path.d.ts +13 -0
- package/dist/seo/document-path.d.ts.map +1 -1
- package/dist/seo/document-path.js +10 -0
- package/dist/seo/document-path.js.map +1 -1
- package/package.json +3 -3
- package/prisma/migrations/0023_mcp_oauth/migration.sql +40 -0
- package/prisma/migrations/0024_mcp_oauth_transactions/migration.sql +16 -0
- package/prisma/schema.prisma +58 -0
|
@@ -332,6 +332,7 @@ export type UserWhereInput = {
|
|
|
332
332
|
sessions?: Prisma.SessionListRelationFilter;
|
|
333
333
|
oauthAccounts?: Prisma.OAuthAccountListRelationFilter;
|
|
334
334
|
apiKeys?: Prisma.ApiKeyListRelationFilter;
|
|
335
|
+
mcpOauthGrants?: Prisma.McpOauthGrantListRelationFilter;
|
|
335
336
|
documents?: Prisma.DocumentListRelationFilter;
|
|
336
337
|
updatedDocuments?: Prisma.DocumentListRelationFilter;
|
|
337
338
|
versions?: Prisma.VersionListRelationFilter;
|
|
@@ -372,6 +373,7 @@ export type UserOrderByWithRelationInput = {
|
|
|
372
373
|
sessions?: Prisma.SessionOrderByRelationAggregateInput;
|
|
373
374
|
oauthAccounts?: Prisma.OAuthAccountOrderByRelationAggregateInput;
|
|
374
375
|
apiKeys?: Prisma.ApiKeyOrderByRelationAggregateInput;
|
|
376
|
+
mcpOauthGrants?: Prisma.McpOauthGrantOrderByRelationAggregateInput;
|
|
375
377
|
documents?: Prisma.DocumentOrderByRelationAggregateInput;
|
|
376
378
|
updatedDocuments?: Prisma.DocumentOrderByRelationAggregateInput;
|
|
377
379
|
versions?: Prisma.VersionOrderByRelationAggregateInput;
|
|
@@ -416,6 +418,7 @@ export type UserWhereUniqueInput = Prisma.AtLeast<{
|
|
|
416
418
|
sessions?: Prisma.SessionListRelationFilter;
|
|
417
419
|
oauthAccounts?: Prisma.OAuthAccountListRelationFilter;
|
|
418
420
|
apiKeys?: Prisma.ApiKeyListRelationFilter;
|
|
421
|
+
mcpOauthGrants?: Prisma.McpOauthGrantListRelationFilter;
|
|
419
422
|
documents?: Prisma.DocumentListRelationFilter;
|
|
420
423
|
updatedDocuments?: Prisma.DocumentListRelationFilter;
|
|
421
424
|
versions?: Prisma.VersionListRelationFilter;
|
|
@@ -518,6 +521,7 @@ export type UserCreateInput = {
|
|
|
518
521
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
519
522
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
520
523
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
524
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
521
525
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
522
526
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
523
527
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
@@ -558,6 +562,7 @@ export type UserUncheckedCreateInput = {
|
|
|
558
562
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
559
563
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
560
564
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
565
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
561
566
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
562
567
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
563
568
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
@@ -598,6 +603,7 @@ export type UserUpdateInput = {
|
|
|
598
603
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
599
604
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
600
605
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
606
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
601
607
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
602
608
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
603
609
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
@@ -638,6 +644,7 @@ export type UserUncheckedUpdateInput = {
|
|
|
638
644
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
639
645
|
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
640
646
|
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
647
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
641
648
|
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
642
649
|
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
643
650
|
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
@@ -1020,6 +1027,18 @@ export type UserUpdateOneRequiredWithoutDocumentNotificationsNestedInput = {
|
|
|
1020
1027
|
connect?: Prisma.UserWhereUniqueInput;
|
|
1021
1028
|
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutDocumentNotificationsInput, Prisma.UserUpdateWithoutDocumentNotificationsInput>, Prisma.UserUncheckedUpdateWithoutDocumentNotificationsInput>;
|
|
1022
1029
|
};
|
|
1030
|
+
export type UserCreateNestedOneWithoutMcpOauthGrantsInput = {
|
|
1031
|
+
create?: Prisma.XOR<Prisma.UserCreateWithoutMcpOauthGrantsInput, Prisma.UserUncheckedCreateWithoutMcpOauthGrantsInput>;
|
|
1032
|
+
connectOrCreate?: Prisma.UserCreateOrConnectWithoutMcpOauthGrantsInput;
|
|
1033
|
+
connect?: Prisma.UserWhereUniqueInput;
|
|
1034
|
+
};
|
|
1035
|
+
export type UserUpdateOneRequiredWithoutMcpOauthGrantsNestedInput = {
|
|
1036
|
+
create?: Prisma.XOR<Prisma.UserCreateWithoutMcpOauthGrantsInput, Prisma.UserUncheckedCreateWithoutMcpOauthGrantsInput>;
|
|
1037
|
+
connectOrCreate?: Prisma.UserCreateOrConnectWithoutMcpOauthGrantsInput;
|
|
1038
|
+
upsert?: Prisma.UserUpsertWithoutMcpOauthGrantsInput;
|
|
1039
|
+
connect?: Prisma.UserWhereUniqueInput;
|
|
1040
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutMcpOauthGrantsInput, Prisma.UserUpdateWithoutMcpOauthGrantsInput>, Prisma.UserUncheckedUpdateWithoutMcpOauthGrantsInput>;
|
|
1041
|
+
};
|
|
1023
1042
|
export type UserCreateWithoutOauthAccountsInput = {
|
|
1024
1043
|
id?: string;
|
|
1025
1044
|
email: string;
|
|
@@ -1048,6 +1067,7 @@ export type UserCreateWithoutOauthAccountsInput = {
|
|
|
1048
1067
|
acceptedInviteAt?: Date | string | null;
|
|
1049
1068
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
1050
1069
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
1070
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
1051
1071
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
1052
1072
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
1053
1073
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
@@ -1087,6 +1107,7 @@ export type UserUncheckedCreateWithoutOauthAccountsInput = {
|
|
|
1087
1107
|
acceptedInviteAt?: Date | string | null;
|
|
1088
1108
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
1089
1109
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
1110
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
1090
1111
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
1091
1112
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
1092
1113
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
@@ -1139,6 +1160,7 @@ export type UserUpdateWithoutOauthAccountsInput = {
|
|
|
1139
1160
|
acceptedInviteAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1140
1161
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
1141
1162
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
1163
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
1142
1164
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
1143
1165
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
1144
1166
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
@@ -1178,6 +1200,7 @@ export type UserUncheckedUpdateWithoutOauthAccountsInput = {
|
|
|
1178
1200
|
acceptedInviteAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1179
1201
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
1180
1202
|
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
1203
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
1181
1204
|
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
1182
1205
|
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
1183
1206
|
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
@@ -1217,6 +1240,7 @@ export type UserCreateWithoutSessionsInput = {
|
|
|
1217
1240
|
acceptedInviteAt?: Date | string | null;
|
|
1218
1241
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
1219
1242
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
1243
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
1220
1244
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
1221
1245
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
1222
1246
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
@@ -1256,6 +1280,7 @@ export type UserUncheckedCreateWithoutSessionsInput = {
|
|
|
1256
1280
|
acceptedInviteAt?: Date | string | null;
|
|
1257
1281
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
1258
1282
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
1283
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
1259
1284
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
1260
1285
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
1261
1286
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
@@ -1308,6 +1333,7 @@ export type UserUpdateWithoutSessionsInput = {
|
|
|
1308
1333
|
acceptedInviteAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1309
1334
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
1310
1335
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
1336
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
1311
1337
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
1312
1338
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
1313
1339
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
@@ -1347,6 +1373,7 @@ export type UserUncheckedUpdateWithoutSessionsInput = {
|
|
|
1347
1373
|
acceptedInviteAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1348
1374
|
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
1349
1375
|
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
1376
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
1350
1377
|
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
1351
1378
|
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
1352
1379
|
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
@@ -1386,6 +1413,7 @@ export type UserCreateWithoutApiKeysInput = {
|
|
|
1386
1413
|
acceptedInviteAt?: Date | string | null;
|
|
1387
1414
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
1388
1415
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
1416
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
1389
1417
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
1390
1418
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
1391
1419
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
@@ -1425,6 +1453,7 @@ export type UserUncheckedCreateWithoutApiKeysInput = {
|
|
|
1425
1453
|
acceptedInviteAt?: Date | string | null;
|
|
1426
1454
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
1427
1455
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
1456
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
1428
1457
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
1429
1458
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
1430
1459
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
@@ -1477,6 +1506,7 @@ export type UserUpdateWithoutApiKeysInput = {
|
|
|
1477
1506
|
acceptedInviteAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1478
1507
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
1479
1508
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
1509
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
1480
1510
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
1481
1511
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
1482
1512
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
@@ -1516,6 +1546,7 @@ export type UserUncheckedUpdateWithoutApiKeysInput = {
|
|
|
1516
1546
|
acceptedInviteAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1517
1547
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
1518
1548
|
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
1549
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
1519
1550
|
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
1520
1551
|
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
1521
1552
|
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
@@ -1556,6 +1587,7 @@ export type UserCreateWithoutDocumentsInput = {
|
|
|
1556
1587
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
1557
1588
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
1558
1589
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
1590
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
1559
1591
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
1560
1592
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
1561
1593
|
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput;
|
|
@@ -1595,6 +1627,7 @@ export type UserUncheckedCreateWithoutDocumentsInput = {
|
|
|
1595
1627
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
1596
1628
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
1597
1629
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
1630
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
1598
1631
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
1599
1632
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
1600
1633
|
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput;
|
|
@@ -1638,6 +1671,7 @@ export type UserCreateWithoutUpdatedDocumentsInput = {
|
|
|
1638
1671
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
1639
1672
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
1640
1673
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
1674
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
1641
1675
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
1642
1676
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
1643
1677
|
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput;
|
|
@@ -1677,6 +1711,7 @@ export type UserUncheckedCreateWithoutUpdatedDocumentsInput = {
|
|
|
1677
1711
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
1678
1712
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
1679
1713
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
1714
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
1680
1715
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
1681
1716
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
1682
1717
|
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput;
|
|
@@ -1729,6 +1764,7 @@ export type UserUpdateWithoutDocumentsInput = {
|
|
|
1729
1764
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
1730
1765
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
1731
1766
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
1767
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
1732
1768
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
1733
1769
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
1734
1770
|
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput;
|
|
@@ -1768,6 +1804,7 @@ export type UserUncheckedUpdateWithoutDocumentsInput = {
|
|
|
1768
1804
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
1769
1805
|
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
1770
1806
|
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
1807
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
1771
1808
|
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
1772
1809
|
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
1773
1810
|
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput;
|
|
@@ -1816,6 +1853,7 @@ export type UserUpdateWithoutUpdatedDocumentsInput = {
|
|
|
1816
1853
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
1817
1854
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
1818
1855
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
1856
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
1819
1857
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
1820
1858
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
1821
1859
|
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput;
|
|
@@ -1855,6 +1893,7 @@ export type UserUncheckedUpdateWithoutUpdatedDocumentsInput = {
|
|
|
1855
1893
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
1856
1894
|
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
1857
1895
|
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
1896
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
1858
1897
|
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
1859
1898
|
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
1860
1899
|
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput;
|
|
@@ -1894,6 +1933,7 @@ export type UserCreateWithoutVersionsInput = {
|
|
|
1894
1933
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
1895
1934
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
1896
1935
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
1936
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
1897
1937
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
1898
1938
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
1899
1939
|
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput;
|
|
@@ -1933,6 +1973,7 @@ export type UserUncheckedCreateWithoutVersionsInput = {
|
|
|
1933
1973
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
1934
1974
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
1935
1975
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
1976
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
1936
1977
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
1937
1978
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
1938
1979
|
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput;
|
|
@@ -1985,6 +2026,7 @@ export type UserUpdateWithoutVersionsInput = {
|
|
|
1985
2026
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
1986
2027
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
1987
2028
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
2029
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
1988
2030
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
1989
2031
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
1990
2032
|
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput;
|
|
@@ -2024,6 +2066,7 @@ export type UserUncheckedUpdateWithoutVersionsInput = {
|
|
|
2024
2066
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
2025
2067
|
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
2026
2068
|
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
2069
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
2027
2070
|
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
2028
2071
|
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
2029
2072
|
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput;
|
|
@@ -2063,6 +2106,7 @@ export type UserCreateWithoutMediaInput = {
|
|
|
2063
2106
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
2064
2107
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
2065
2108
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
2109
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
2066
2110
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
2067
2111
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
2068
2112
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
@@ -2102,6 +2146,7 @@ export type UserUncheckedCreateWithoutMediaInput = {
|
|
|
2102
2146
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
2103
2147
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
2104
2148
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
2149
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
2105
2150
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
2106
2151
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
2107
2152
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
@@ -2154,6 +2199,7 @@ export type UserUpdateWithoutMediaInput = {
|
|
|
2154
2199
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
2155
2200
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
2156
2201
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
2202
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
2157
2203
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
2158
2204
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
2159
2205
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
@@ -2193,6 +2239,7 @@ export type UserUncheckedUpdateWithoutMediaInput = {
|
|
|
2193
2239
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
2194
2240
|
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
2195
2241
|
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
2242
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
2196
2243
|
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
2197
2244
|
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
2198
2245
|
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
@@ -2232,6 +2279,7 @@ export type UserCreateWithoutContentLocksInput = {
|
|
|
2232
2279
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
2233
2280
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
2234
2281
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
2282
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
2235
2283
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
2236
2284
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
2237
2285
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
@@ -2271,6 +2319,7 @@ export type UserUncheckedCreateWithoutContentLocksInput = {
|
|
|
2271
2319
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
2272
2320
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
2273
2321
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
2322
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
2274
2323
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
2275
2324
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
2276
2325
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
@@ -2323,6 +2372,7 @@ export type UserUpdateWithoutContentLocksInput = {
|
|
|
2323
2372
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
2324
2373
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
2325
2374
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
2375
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
2326
2376
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
2327
2377
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
2328
2378
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
@@ -2362,6 +2412,7 @@ export type UserUncheckedUpdateWithoutContentLocksInput = {
|
|
|
2362
2412
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
2363
2413
|
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
2364
2414
|
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
2415
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
2365
2416
|
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
2366
2417
|
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
2367
2418
|
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
@@ -2401,6 +2452,7 @@ export type UserCreateWithoutNotificationsInput = {
|
|
|
2401
2452
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
2402
2453
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
2403
2454
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
2455
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
2404
2456
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
2405
2457
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
2406
2458
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
@@ -2440,6 +2492,7 @@ export type UserUncheckedCreateWithoutNotificationsInput = {
|
|
|
2440
2492
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
2441
2493
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
2442
2494
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
2495
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
2443
2496
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
2444
2497
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
2445
2498
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
@@ -2492,6 +2545,7 @@ export type UserUpdateWithoutNotificationsInput = {
|
|
|
2492
2545
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
2493
2546
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
2494
2547
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
2548
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
2495
2549
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
2496
2550
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
2497
2551
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
@@ -2531,6 +2585,7 @@ export type UserUncheckedUpdateWithoutNotificationsInput = {
|
|
|
2531
2585
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
2532
2586
|
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
2533
2587
|
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
2588
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
2534
2589
|
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
2535
2590
|
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
2536
2591
|
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
@@ -2570,6 +2625,7 @@ export type UserCreateWithoutContentTemplatesInput = {
|
|
|
2570
2625
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
2571
2626
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
2572
2627
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
2628
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
2573
2629
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
2574
2630
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
2575
2631
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
@@ -2609,6 +2665,7 @@ export type UserUncheckedCreateWithoutContentTemplatesInput = {
|
|
|
2609
2665
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
2610
2666
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
2611
2667
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
2668
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
2612
2669
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
2613
2670
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
2614
2671
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
@@ -2661,6 +2718,7 @@ export type UserUpdateWithoutContentTemplatesInput = {
|
|
|
2661
2718
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
2662
2719
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
2663
2720
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
2721
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
2664
2722
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
2665
2723
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
2666
2724
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
@@ -2700,6 +2758,7 @@ export type UserUncheckedUpdateWithoutContentTemplatesInput = {
|
|
|
2700
2758
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
2701
2759
|
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
2702
2760
|
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
2761
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
2703
2762
|
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
2704
2763
|
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
2705
2764
|
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
@@ -2739,6 +2798,7 @@ export type UserCreateWithoutPasswordResetTokensInput = {
|
|
|
2739
2798
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
2740
2799
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
2741
2800
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
2801
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
2742
2802
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
2743
2803
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
2744
2804
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
@@ -2778,6 +2838,7 @@ export type UserUncheckedCreateWithoutPasswordResetTokensInput = {
|
|
|
2778
2838
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
2779
2839
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
2780
2840
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
2841
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
2781
2842
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
2782
2843
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
2783
2844
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
@@ -2830,6 +2891,7 @@ export type UserUpdateWithoutPasswordResetTokensInput = {
|
|
|
2830
2891
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
2831
2892
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
2832
2893
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
2894
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
2833
2895
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
2834
2896
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
2835
2897
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
@@ -2869,6 +2931,7 @@ export type UserUncheckedUpdateWithoutPasswordResetTokensInput = {
|
|
|
2869
2931
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
2870
2932
|
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
2871
2933
|
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
2934
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
2872
2935
|
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
2873
2936
|
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
2874
2937
|
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
@@ -2908,6 +2971,7 @@ export type UserCreateWithoutDocumentCommentsInput = {
|
|
|
2908
2971
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
2909
2972
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
2910
2973
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
2974
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
2911
2975
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
2912
2976
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
2913
2977
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
@@ -2947,6 +3011,7 @@ export type UserUncheckedCreateWithoutDocumentCommentsInput = {
|
|
|
2947
3011
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
2948
3012
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
2949
3013
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
3014
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
2950
3015
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
2951
3016
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
2952
3017
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
@@ -2999,6 +3064,7 @@ export type UserUpdateWithoutDocumentCommentsInput = {
|
|
|
2999
3064
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
3000
3065
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
3001
3066
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
3067
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
3002
3068
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
3003
3069
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
3004
3070
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
@@ -3038,6 +3104,7 @@ export type UserUncheckedUpdateWithoutDocumentCommentsInput = {
|
|
|
3038
3104
|
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
3039
3105
|
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
3040
3106
|
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
3107
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
3041
3108
|
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
3042
3109
|
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
3043
3110
|
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
@@ -3077,6 +3144,7 @@ export type UserCreateWithoutDocumentNotificationsInput = {
|
|
|
3077
3144
|
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
3078
3145
|
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
3079
3146
|
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
3147
|
+
mcpOauthGrants?: Prisma.McpOauthGrantCreateNestedManyWithoutUserInput;
|
|
3080
3148
|
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
3081
3149
|
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
3082
3150
|
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
@@ -3116,6 +3184,7 @@ export type UserUncheckedCreateWithoutDocumentNotificationsInput = {
|
|
|
3116
3184
|
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
3117
3185
|
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
3118
3186
|
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
3187
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedCreateNestedManyWithoutUserInput;
|
|
3119
3188
|
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
3120
3189
|
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
3121
3190
|
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
@@ -3168,6 +3237,7 @@ export type UserUpdateWithoutDocumentNotificationsInput = {
|
|
|
3168
3237
|
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
3169
3238
|
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
3170
3239
|
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
3240
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUpdateManyWithoutUserNestedInput;
|
|
3171
3241
|
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
3172
3242
|
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
3173
3243
|
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
@@ -3179,6 +3249,179 @@ export type UserUpdateWithoutDocumentNotificationsInput = {
|
|
|
3179
3249
|
documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
|
|
3180
3250
|
};
|
|
3181
3251
|
export type UserUncheckedUpdateWithoutDocumentNotificationsInput = {
|
|
3252
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3253
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3254
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3255
|
+
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3256
|
+
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole;
|
|
3257
|
+
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3258
|
+
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3259
|
+
totpEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
3260
|
+
lastTotpStep?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3261
|
+
backupCodes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3262
|
+
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3263
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
3264
|
+
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
3265
|
+
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
3266
|
+
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3267
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
3268
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
3269
|
+
suspendedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3270
|
+
lockedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3271
|
+
forcePasswordReset?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
3272
|
+
mfaRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
3273
|
+
failedLoginCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
3274
|
+
lastActiveAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3275
|
+
invitedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3276
|
+
acceptedInviteAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3277
|
+
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
3278
|
+
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
|
|
3279
|
+
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
3280
|
+
mcpOauthGrants?: Prisma.McpOauthGrantUncheckedUpdateManyWithoutUserNestedInput;
|
|
3281
|
+
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
3282
|
+
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
|
|
3283
|
+
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
|
|
3284
|
+
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput;
|
|
3285
|
+
contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
|
|
3286
|
+
notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
|
|
3287
|
+
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
3288
|
+
passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
3289
|
+
documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
|
|
3290
|
+
};
|
|
3291
|
+
export type UserCreateWithoutMcpOauthGrantsInput = {
|
|
3292
|
+
id?: string;
|
|
3293
|
+
email: string;
|
|
3294
|
+
name: string;
|
|
3295
|
+
avatarUrl?: string | null;
|
|
3296
|
+
role?: $Enums.UserRole;
|
|
3297
|
+
passwordHash?: string | null;
|
|
3298
|
+
totpSecret?: string | null;
|
|
3299
|
+
totpEnabled?: boolean;
|
|
3300
|
+
lastTotpStep?: number | null;
|
|
3301
|
+
backupCodes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3302
|
+
authProvider?: string | null;
|
|
3303
|
+
isActive?: boolean;
|
|
3304
|
+
isApproved?: boolean;
|
|
3305
|
+
emailVerified?: boolean;
|
|
3306
|
+
lastLoginAt?: Date | string | null;
|
|
3307
|
+
createdAt?: Date | string;
|
|
3308
|
+
updatedAt?: Date | string;
|
|
3309
|
+
suspendedAt?: Date | string | null;
|
|
3310
|
+
lockedAt?: Date | string | null;
|
|
3311
|
+
forcePasswordReset?: boolean;
|
|
3312
|
+
mfaRequired?: boolean;
|
|
3313
|
+
failedLoginCount?: number;
|
|
3314
|
+
lastActiveAt?: Date | string | null;
|
|
3315
|
+
invitedById?: string | null;
|
|
3316
|
+
acceptedInviteAt?: Date | string | null;
|
|
3317
|
+
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
|
|
3318
|
+
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
|
|
3319
|
+
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
|
|
3320
|
+
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
|
|
3321
|
+
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
|
|
3322
|
+
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
|
|
3323
|
+
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput;
|
|
3324
|
+
contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
|
|
3325
|
+
notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
|
|
3326
|
+
contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
|
|
3327
|
+
passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
|
|
3328
|
+
documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
|
|
3329
|
+
documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
|
|
3330
|
+
};
|
|
3331
|
+
export type UserUncheckedCreateWithoutMcpOauthGrantsInput = {
|
|
3332
|
+
id?: string;
|
|
3333
|
+
email: string;
|
|
3334
|
+
name: string;
|
|
3335
|
+
avatarUrl?: string | null;
|
|
3336
|
+
role?: $Enums.UserRole;
|
|
3337
|
+
passwordHash?: string | null;
|
|
3338
|
+
totpSecret?: string | null;
|
|
3339
|
+
totpEnabled?: boolean;
|
|
3340
|
+
lastTotpStep?: number | null;
|
|
3341
|
+
backupCodes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3342
|
+
authProvider?: string | null;
|
|
3343
|
+
isActive?: boolean;
|
|
3344
|
+
isApproved?: boolean;
|
|
3345
|
+
emailVerified?: boolean;
|
|
3346
|
+
lastLoginAt?: Date | string | null;
|
|
3347
|
+
createdAt?: Date | string;
|
|
3348
|
+
updatedAt?: Date | string;
|
|
3349
|
+
suspendedAt?: Date | string | null;
|
|
3350
|
+
lockedAt?: Date | string | null;
|
|
3351
|
+
forcePasswordReset?: boolean;
|
|
3352
|
+
mfaRequired?: boolean;
|
|
3353
|
+
failedLoginCount?: number;
|
|
3354
|
+
lastActiveAt?: Date | string | null;
|
|
3355
|
+
invitedById?: string | null;
|
|
3356
|
+
acceptedInviteAt?: Date | string | null;
|
|
3357
|
+
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
|
|
3358
|
+
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
|
|
3359
|
+
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
3360
|
+
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
3361
|
+
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
|
|
3362
|
+
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
|
|
3363
|
+
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput;
|
|
3364
|
+
contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
|
|
3365
|
+
notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
|
|
3366
|
+
contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
|
|
3367
|
+
passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
|
|
3368
|
+
documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
|
|
3369
|
+
documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
|
|
3370
|
+
};
|
|
3371
|
+
export type UserCreateOrConnectWithoutMcpOauthGrantsInput = {
|
|
3372
|
+
where: Prisma.UserWhereUniqueInput;
|
|
3373
|
+
create: Prisma.XOR<Prisma.UserCreateWithoutMcpOauthGrantsInput, Prisma.UserUncheckedCreateWithoutMcpOauthGrantsInput>;
|
|
3374
|
+
};
|
|
3375
|
+
export type UserUpsertWithoutMcpOauthGrantsInput = {
|
|
3376
|
+
update: Prisma.XOR<Prisma.UserUpdateWithoutMcpOauthGrantsInput, Prisma.UserUncheckedUpdateWithoutMcpOauthGrantsInput>;
|
|
3377
|
+
create: Prisma.XOR<Prisma.UserCreateWithoutMcpOauthGrantsInput, Prisma.UserUncheckedCreateWithoutMcpOauthGrantsInput>;
|
|
3378
|
+
where?: Prisma.UserWhereInput;
|
|
3379
|
+
};
|
|
3380
|
+
export type UserUpdateToOneWithWhereWithoutMcpOauthGrantsInput = {
|
|
3381
|
+
where?: Prisma.UserWhereInput;
|
|
3382
|
+
data: Prisma.XOR<Prisma.UserUpdateWithoutMcpOauthGrantsInput, Prisma.UserUncheckedUpdateWithoutMcpOauthGrantsInput>;
|
|
3383
|
+
};
|
|
3384
|
+
export type UserUpdateWithoutMcpOauthGrantsInput = {
|
|
3385
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3386
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3387
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3388
|
+
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3389
|
+
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole;
|
|
3390
|
+
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3391
|
+
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3392
|
+
totpEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
3393
|
+
lastTotpStep?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3394
|
+
backupCodes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3395
|
+
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3396
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
3397
|
+
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
3398
|
+
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
3399
|
+
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3400
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
3401
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
3402
|
+
suspendedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3403
|
+
lockedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3404
|
+
forcePasswordReset?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
3405
|
+
mfaRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
3406
|
+
failedLoginCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
3407
|
+
lastActiveAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3408
|
+
invitedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3409
|
+
acceptedInviteAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3410
|
+
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
|
|
3411
|
+
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
|
|
3412
|
+
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
|
|
3413
|
+
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
|
|
3414
|
+
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
|
|
3415
|
+
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
|
|
3416
|
+
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput;
|
|
3417
|
+
contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
|
|
3418
|
+
notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
|
|
3419
|
+
contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
|
|
3420
|
+
passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
|
|
3421
|
+
documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
|
|
3422
|
+
documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
|
|
3423
|
+
};
|
|
3424
|
+
export type UserUncheckedUpdateWithoutMcpOauthGrantsInput = {
|
|
3182
3425
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3183
3426
|
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3184
3427
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -3216,6 +3459,7 @@ export type UserUncheckedUpdateWithoutDocumentNotificationsInput = {
|
|
|
3216
3459
|
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
|
|
3217
3460
|
passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
|
|
3218
3461
|
documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
|
|
3462
|
+
documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
|
|
3219
3463
|
};
|
|
3220
3464
|
/**
|
|
3221
3465
|
* Count Type UserCountOutputType
|
|
@@ -3224,6 +3468,7 @@ export type UserCountOutputType = {
|
|
|
3224
3468
|
sessions: number;
|
|
3225
3469
|
oauthAccounts: number;
|
|
3226
3470
|
apiKeys: number;
|
|
3471
|
+
mcpOauthGrants: number;
|
|
3227
3472
|
documents: number;
|
|
3228
3473
|
updatedDocuments: number;
|
|
3229
3474
|
versions: number;
|
|
@@ -3239,6 +3484,7 @@ export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
|
|
|
3239
3484
|
sessions?: boolean | UserCountOutputTypeCountSessionsArgs;
|
|
3240
3485
|
oauthAccounts?: boolean | UserCountOutputTypeCountOauthAccountsArgs;
|
|
3241
3486
|
apiKeys?: boolean | UserCountOutputTypeCountApiKeysArgs;
|
|
3487
|
+
mcpOauthGrants?: boolean | UserCountOutputTypeCountMcpOauthGrantsArgs;
|
|
3242
3488
|
documents?: boolean | UserCountOutputTypeCountDocumentsArgs;
|
|
3243
3489
|
updatedDocuments?: boolean | UserCountOutputTypeCountUpdatedDocumentsArgs;
|
|
3244
3490
|
versions?: boolean | UserCountOutputTypeCountVersionsArgs;
|
|
@@ -3277,6 +3523,12 @@ export type UserCountOutputTypeCountOauthAccountsArgs<ExtArgs extends runtime.Ty
|
|
|
3277
3523
|
export type UserCountOutputTypeCountApiKeysArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3278
3524
|
where?: Prisma.ApiKeyWhereInput;
|
|
3279
3525
|
};
|
|
3526
|
+
/**
|
|
3527
|
+
* UserCountOutputType without action
|
|
3528
|
+
*/
|
|
3529
|
+
export type UserCountOutputTypeCountMcpOauthGrantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3530
|
+
where?: Prisma.McpOauthGrantWhereInput;
|
|
3531
|
+
};
|
|
3280
3532
|
/**
|
|
3281
3533
|
* UserCountOutputType without action
|
|
3282
3534
|
*/
|
|
@@ -3366,6 +3618,7 @@ export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
|
|
3366
3618
|
sessions?: boolean | Prisma.User$sessionsArgs<ExtArgs>;
|
|
3367
3619
|
oauthAccounts?: boolean | Prisma.User$oauthAccountsArgs<ExtArgs>;
|
|
3368
3620
|
apiKeys?: boolean | Prisma.User$apiKeysArgs<ExtArgs>;
|
|
3621
|
+
mcpOauthGrants?: boolean | Prisma.User$mcpOauthGrantsArgs<ExtArgs>;
|
|
3369
3622
|
documents?: boolean | Prisma.User$documentsArgs<ExtArgs>;
|
|
3370
3623
|
updatedDocuments?: boolean | Prisma.User$updatedDocumentsArgs<ExtArgs>;
|
|
3371
3624
|
versions?: boolean | Prisma.User$versionsArgs<ExtArgs>;
|
|
@@ -3464,6 +3717,7 @@ export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
3464
3717
|
sessions?: boolean | Prisma.User$sessionsArgs<ExtArgs>;
|
|
3465
3718
|
oauthAccounts?: boolean | Prisma.User$oauthAccountsArgs<ExtArgs>;
|
|
3466
3719
|
apiKeys?: boolean | Prisma.User$apiKeysArgs<ExtArgs>;
|
|
3720
|
+
mcpOauthGrants?: boolean | Prisma.User$mcpOauthGrantsArgs<ExtArgs>;
|
|
3467
3721
|
documents?: boolean | Prisma.User$documentsArgs<ExtArgs>;
|
|
3468
3722
|
updatedDocuments?: boolean | Prisma.User$updatedDocumentsArgs<ExtArgs>;
|
|
3469
3723
|
versions?: boolean | Prisma.User$versionsArgs<ExtArgs>;
|
|
@@ -3484,6 +3738,7 @@ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
3484
3738
|
sessions: Prisma.$SessionPayload<ExtArgs>[];
|
|
3485
3739
|
oauthAccounts: Prisma.$OAuthAccountPayload<ExtArgs>[];
|
|
3486
3740
|
apiKeys: Prisma.$ApiKeyPayload<ExtArgs>[];
|
|
3741
|
+
mcpOauthGrants: Prisma.$McpOauthGrantPayload<ExtArgs>[];
|
|
3487
3742
|
documents: Prisma.$DocumentPayload<ExtArgs>[];
|
|
3488
3743
|
updatedDocuments: Prisma.$DocumentPayload<ExtArgs>[];
|
|
3489
3744
|
versions: Prisma.$VersionPayload<ExtArgs>[];
|
|
@@ -3853,6 +4108,7 @@ export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Typ
|
|
|
3853
4108
|
sessions<T extends Prisma.User$sessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$sessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3854
4109
|
oauthAccounts<T extends Prisma.User$oauthAccountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$oauthAccountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthAccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3855
4110
|
apiKeys<T extends Prisma.User$apiKeysArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$apiKeysArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
4111
|
+
mcpOauthGrants<T extends Prisma.User$mcpOauthGrantsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$mcpOauthGrantsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpOauthGrantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3856
4112
|
documents<T extends Prisma.User$documentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$documentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3857
4113
|
updatedDocuments<T extends Prisma.User$updatedDocumentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$updatedDocumentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3858
4114
|
versions<T extends Prisma.User$versionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$versionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
@@ -4366,6 +4622,29 @@ export type User$apiKeysArgs<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
4366
4622
|
skip?: number;
|
|
4367
4623
|
distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[];
|
|
4368
4624
|
};
|
|
4625
|
+
/**
|
|
4626
|
+
* User.mcpOauthGrants
|
|
4627
|
+
*/
|
|
4628
|
+
export type User$mcpOauthGrantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
4629
|
+
/**
|
|
4630
|
+
* Select specific fields to fetch from the McpOauthGrant
|
|
4631
|
+
*/
|
|
4632
|
+
select?: Prisma.McpOauthGrantSelect<ExtArgs> | null;
|
|
4633
|
+
/**
|
|
4634
|
+
* Omit specific fields from the McpOauthGrant
|
|
4635
|
+
*/
|
|
4636
|
+
omit?: Prisma.McpOauthGrantOmit<ExtArgs> | null;
|
|
4637
|
+
/**
|
|
4638
|
+
* Choose, which related nodes to fetch as well
|
|
4639
|
+
*/
|
|
4640
|
+
include?: Prisma.McpOauthGrantInclude<ExtArgs> | null;
|
|
4641
|
+
where?: Prisma.McpOauthGrantWhereInput;
|
|
4642
|
+
orderBy?: Prisma.McpOauthGrantOrderByWithRelationInput | Prisma.McpOauthGrantOrderByWithRelationInput[];
|
|
4643
|
+
cursor?: Prisma.McpOauthGrantWhereUniqueInput;
|
|
4644
|
+
take?: number;
|
|
4645
|
+
skip?: number;
|
|
4646
|
+
distinct?: Prisma.McpOauthGrantScalarFieldEnum | Prisma.McpOauthGrantScalarFieldEnum[];
|
|
4647
|
+
};
|
|
4369
4648
|
/**
|
|
4370
4649
|
* User.documents
|
|
4371
4650
|
*/
|