@goscribe/server 1.5.0 → 1.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/dist/context.d.ts +14 -1
- package/dist/context.js +23 -2
- package/dist/generated/prisma/client.d.ts +224 -0
- package/dist/generated/prisma/client.js +34 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +941 -0
- package/dist/generated/prisma/commonInputTypes.js +10 -0
- package/dist/generated/prisma/enums.d.ts +67 -0
- package/dist/generated/prisma/enums.js +66 -0
- package/dist/generated/prisma/internal/class.d.ts +539 -0
- package/dist/generated/prisma/internal/class.js +49 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +3924 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +557 -0
- package/dist/generated/prisma/models/ActivityLog.d.ts +1847 -0
- package/dist/generated/prisma/models/ActivityLog.js +1 -0
- package/dist/generated/prisma/models/Artifact.d.ts +2345 -0
- package/dist/generated/prisma/models/Artifact.js +1 -0
- package/dist/generated/prisma/models/ArtifactVersion.d.ts +1550 -0
- package/dist/generated/prisma/models/ArtifactVersion.js +1 -0
- package/dist/generated/prisma/models/Channel.d.ts +1257 -0
- package/dist/generated/prisma/models/Channel.js +1 -0
- package/dist/generated/prisma/models/Chat.d.ts +1339 -0
- package/dist/generated/prisma/models/Chat.js +1 -0
- package/dist/generated/prisma/models/CopilotConversation.d.ts +1450 -0
- package/dist/generated/prisma/models/CopilotConversation.js +1 -0
- package/dist/generated/prisma/models/CopilotMessage.d.ts +1179 -0
- package/dist/generated/prisma/models/CopilotMessage.js +1 -0
- package/dist/generated/prisma/models/FileAsset.d.ts +1832 -0
- package/dist/generated/prisma/models/FileAsset.js +1 -0
- package/dist/generated/prisma/models/Flashcard.d.ts +1460 -0
- package/dist/generated/prisma/models/Flashcard.js +1 -0
- package/dist/generated/prisma/models/FlashcardProgress.d.ts +1782 -0
- package/dist/generated/prisma/models/FlashcardProgress.js +1 -0
- package/dist/generated/prisma/models/Folder.d.ts +1685 -0
- package/dist/generated/prisma/models/Folder.js +1 -0
- package/dist/generated/prisma/models/IdempotencyRecord.d.ts +1319 -0
- package/dist/generated/prisma/models/IdempotencyRecord.js +1 -0
- package/dist/generated/prisma/models/Invoice.d.ts +1586 -0
- package/dist/generated/prisma/models/Invoice.js +1 -0
- package/dist/generated/prisma/models/KnowledgeBase.d.ts +1721 -0
- package/dist/generated/prisma/models/KnowledgeBase.js +1 -0
- package/dist/generated/prisma/models/KnowledgeBaseChunk.d.ts +1333 -0
- package/dist/generated/prisma/models/KnowledgeBaseChunk.js +1 -0
- package/dist/generated/prisma/models/KnowledgeBaseDocument.d.ts +1695 -0
- package/dist/generated/prisma/models/KnowledgeBaseDocument.js +1 -0
- package/dist/generated/prisma/models/Notification.d.ts +1992 -0
- package/dist/generated/prisma/models/Notification.js +1 -0
- package/dist/generated/prisma/models/PasswordResetToken.d.ts +1210 -0
- package/dist/generated/prisma/models/PasswordResetToken.js +1 -0
- package/dist/generated/prisma/models/Plan.d.ts +1431 -0
- package/dist/generated/prisma/models/Plan.js +1 -0
- package/dist/generated/prisma/models/PlanLimit.d.ts +1328 -0
- package/dist/generated/prisma/models/PlanLimit.js +1 -0
- package/dist/generated/prisma/models/PodcastSegment.d.ts +1564 -0
- package/dist/generated/prisma/models/PodcastSegment.js +1 -0
- package/dist/generated/prisma/models/ResourcePrice.d.ts +1008 -0
- package/dist/generated/prisma/models/ResourcePrice.js +1 -0
- package/dist/generated/prisma/models/Role.d.ts +1065 -0
- package/dist/generated/prisma/models/Role.js +1 -0
- package/dist/generated/prisma/models/Session.d.ts +1105 -0
- package/dist/generated/prisma/models/Session.js +1 -0
- package/dist/generated/prisma/models/StripeEvent.d.ts +1081 -0
- package/dist/generated/prisma/models/StripeEvent.js +1 -0
- package/dist/generated/prisma/models/StudyGuideComment.d.ts +1321 -0
- package/dist/generated/prisma/models/StudyGuideComment.js +1 -0
- package/dist/generated/prisma/models/StudyGuideHighlight.d.ts +1629 -0
- package/dist/generated/prisma/models/StudyGuideHighlight.js +1 -0
- package/dist/generated/prisma/models/Subscription.d.ts +1677 -0
- package/dist/generated/prisma/models/Subscription.js +1 -0
- package/dist/generated/prisma/models/User.d.ts +7559 -0
- package/dist/generated/prisma/models/User.js +1 -0
- package/dist/generated/prisma/models/UserCredit.d.ts +1249 -0
- package/dist/generated/prisma/models/UserCredit.js +1 -0
- package/dist/generated/prisma/models/VerificationToken.d.ts +946 -0
- package/dist/generated/prisma/models/VerificationToken.js +1 -0
- package/dist/generated/prisma/models/WorksheetPreset.d.ts +1433 -0
- package/dist/generated/prisma/models/WorksheetPreset.js +1 -0
- package/dist/generated/prisma/models/WorksheetQuestion.d.ts +1491 -0
- package/dist/generated/prisma/models/WorksheetQuestion.js +1 -0
- package/dist/generated/prisma/models/WorksheetQuestionProgress.d.ts +1620 -0
- package/dist/generated/prisma/models/WorksheetQuestionProgress.js +1 -0
- package/dist/generated/prisma/models/Workspace.d.ts +3620 -0
- package/dist/generated/prisma/models/Workspace.js +1 -0
- package/dist/generated/prisma/models/WorkspaceInvitation.d.ts +1490 -0
- package/dist/generated/prisma/models/WorkspaceInvitation.js +1 -0
- package/dist/generated/prisma/models/WorkspaceKnowledgeBase.d.ts +1410 -0
- package/dist/generated/prisma/models/WorkspaceKnowledgeBase.js +1 -0
- package/dist/generated/prisma/models/WorkspaceMember.d.ts +1326 -0
- package/dist/generated/prisma/models/WorkspaceMember.js +1 -0
- package/dist/generated/prisma/models.d.ts +39 -0
- package/dist/generated/prisma/models.js +1 -0
- package/dist/lib/ai/index.d.ts +3 -2
- package/dist/lib/ai/index.js +3 -2
- package/dist/lib/ai/llm-client.d.ts +1 -0
- package/dist/lib/ai/llm-client.js +17 -0
- package/dist/routers/_app.d.ts +40 -80
- package/dist/routers/auth.js +1 -1
- package/dist/routers/flashcards.d.ts +12 -1
- package/dist/routers/payment.d.ts +1 -12
- package/dist/routers/workspace.d.ts +27 -67
- package/dist/routers/workspace.js +1 -0
- package/dist/services/billing/payment.service.d.ts +1 -12
- package/dist/services/billing/payment.service.js +3 -6
- package/dist/services/billing/usage.service.d.ts +30 -10
- package/dist/services/billing/usage.service.js +87 -15
- package/dist/services/content/copilot.service.js +15 -29
- package/dist/services/content/flashcard-progress.service.js +9 -9
- package/dist/services/content/flashcard.service.d.ts +45 -1
- package/dist/services/content/flashcard.service.js +81 -68
- package/dist/services/content/media-analysis.service.js +27 -27
- package/dist/services/content/worksheet-generation.service.test.js +2 -2
- package/dist/services/workspace/workspace.service.d.ts +23 -67
- package/dist/services/workspace/workspace.service.js +69 -62
- package/dist/src/context.d.ts +27 -0
- package/dist/src/context.js +33 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +1 -0
- package/dist/src/lib/ai/config.d.ts +20 -0
- package/dist/src/lib/ai/config.js +31 -0
- package/dist/src/lib/ai/embedding-client.d.ts +8 -0
- package/dist/src/lib/ai/embedding-client.js +30 -0
- package/dist/src/lib/ai/index.d.ts +48 -0
- package/dist/src/lib/ai/index.js +29 -0
- package/dist/src/lib/ai/inference-backend/client.d.ts +28 -0
- package/dist/src/lib/ai/inference-backend/client.js +301 -0
- package/dist/src/lib/ai/inference-backend/mocks.d.ts +12 -0
- package/dist/src/lib/ai/inference-backend/mocks.js +133 -0
- package/dist/src/lib/ai/inference-backend/types.d.ts +44 -0
- package/dist/src/lib/ai/inference-backend/types.js +1 -0
- package/dist/src/lib/ai/json-parse.d.ts +2 -0
- package/dist/src/lib/ai/json-parse.js +34 -0
- package/dist/src/lib/ai/llm-client.d.ts +7 -0
- package/dist/src/lib/ai/llm-client.js +36 -0
- package/dist/src/lib/ai/mock.d.ts +2 -0
- package/dist/src/lib/ai/mock.js +10 -0
- package/dist/src/lib/ai/types.d.ts +9 -0
- package/dist/src/lib/ai/types.js +1 -0
- package/dist/src/lib/auth.d.ts +36 -0
- package/dist/src/lib/auth.js +117 -0
- package/dist/src/lib/chunking.d.ts +19 -0
- package/dist/src/lib/chunking.js +47 -0
- package/dist/src/lib/constants.d.ts +13 -0
- package/dist/src/lib/constants.js +12 -0
- package/dist/src/lib/curated-kb-seed.d.ts +12 -0
- package/dist/src/lib/curated-kb-seed.js +155 -0
- package/dist/src/lib/email.d.ts +11 -0
- package/dist/src/lib/email.js +152 -0
- package/dist/src/lib/embeddings.d.ts +2 -0
- package/dist/src/lib/embeddings.js +1 -0
- package/dist/src/lib/ensure-curated-kb-catalog.d.ts +6 -0
- package/dist/src/lib/ensure-curated-kb-catalog.js +53 -0
- package/dist/src/lib/env.d.ts +41 -0
- package/dist/src/lib/env.js +57 -0
- package/dist/src/lib/errors.d.ts +33 -0
- package/dist/src/lib/errors.js +78 -0
- package/dist/src/lib/file.d.ts +0 -0
- package/dist/src/lib/file.js +1 -0
- package/dist/src/lib/inference.d.ts +1 -0
- package/dist/src/lib/inference.js +1 -0
- package/dist/src/lib/kb-meta.d.ts +8 -0
- package/dist/src/lib/kb-meta.js +77 -0
- package/dist/src/lib/logger.d.ts +62 -0
- package/dist/src/lib/logger.js +364 -0
- package/dist/src/lib/pdf.d.ts +11 -0
- package/dist/src/lib/pdf.js +11 -0
- package/dist/src/lib/prisma.d.ts +3 -0
- package/dist/src/lib/prisma.js +15 -0
- package/dist/src/lib/pusher.d.ts +38 -0
- package/dist/src/lib/pusher.js +170 -0
- package/dist/src/lib/retry.d.ts +15 -0
- package/dist/src/lib/retry.js +37 -0
- package/dist/src/lib/storage.d.ts +11 -0
- package/dist/src/lib/storage.js +71 -0
- package/dist/src/lib/stripe.d.ts +10 -0
- package/dist/src/lib/stripe.js +36 -0
- package/dist/src/lib/validation.d.ts +51 -0
- package/dist/src/lib/validation.js +64 -0
- package/dist/src/lib/workspace-kb.d.ts +5 -0
- package/dist/src/lib/workspace-kb.js +7 -0
- package/dist/src/repositories/artifact.repository.d.ts +64 -0
- package/dist/src/repositories/artifact.repository.js +40 -0
- package/dist/src/repositories/base.repository.d.ts +14 -0
- package/dist/src/repositories/base.repository.js +14 -0
- package/dist/src/repositories/invitation.repository.d.ts +104 -0
- package/dist/src/repositories/invitation.repository.js +44 -0
- package/dist/src/repositories/notification.repository.d.ts +76 -0
- package/dist/src/repositories/notification.repository.js +44 -0
- package/dist/src/repositories/user.repository.d.ts +84 -0
- package/dist/src/repositories/user.repository.js +37 -0
- package/dist/src/repositories/workspace-member.repository.d.ts +35 -0
- package/dist/src/repositories/workspace-member.repository.js +31 -0
- package/dist/src/repositories/workspace.repository.d.ts +101 -0
- package/dist/src/repositories/workspace.repository.js +79 -0
- package/dist/src/routers/_app.d.ts +3464 -0
- package/dist/src/routers/_app.js +36 -0
- package/dist/src/routers/admin.d.ts +358 -0
- package/dist/src/routers/admin.js +105 -0
- package/dist/src/routers/annotations.d.ts +219 -0
- package/dist/src/routers/annotations.js +29 -0
- package/dist/src/routers/artifactVersions.d.ts +65 -0
- package/dist/src/routers/artifactVersions.js +14 -0
- package/dist/src/routers/auth.d.ts +161 -0
- package/dist/src/routers/auth.js +97 -0
- package/dist/src/routers/chat.d.ts +170 -0
- package/dist/src/routers/chat.js +32 -0
- package/dist/src/routers/copilot.d.ts +200 -0
- package/dist/src/routers/copilot.js +52 -0
- package/dist/src/routers/flashcards.d.ts +336 -0
- package/dist/src/routers/flashcards.js +93 -0
- package/dist/src/routers/knowledgeBase.d.ts +421 -0
- package/dist/src/routers/knowledgeBase.js +118 -0
- package/dist/src/routers/members.d.ts +169 -0
- package/dist/src/routers/members.js +47 -0
- package/dist/src/routers/notifications.d.ts +99 -0
- package/dist/src/routers/notifications.js +25 -0
- package/dist/src/routers/payment.d.ts +80 -0
- package/dist/src/routers/payment.js +21 -0
- package/dist/src/routers/podcast.d.ts +287 -0
- package/dist/src/routers/podcast.js +34 -0
- package/dist/src/routers/studyguide.d.ts +36 -0
- package/dist/src/routers/studyguide.js +8 -0
- package/dist/src/routers/worksheets.d.ts +429 -0
- package/dist/src/routers/worksheets.js +139 -0
- package/dist/src/routers/workspace.d.ts +563 -0
- package/dist/src/routers/workspace.js +104 -0
- package/dist/src/scripts/purge-deleted-users.d.ts +1 -0
- package/dist/src/scripts/purge-deleted-users.js +148 -0
- package/dist/src/server.d.ts +1 -0
- package/dist/src/server.js +190 -0
- package/dist/src/services/activity/activity-human-description.service.d.ts +13 -0
- package/dist/src/services/activity/activity-human-description.service.js +221 -0
- package/dist/src/services/activity/activity-human-description.service.test.d.ts +1 -0
- package/dist/src/services/activity/activity-human-description.service.test.js +16 -0
- package/dist/src/services/activity/activity-log.service.d.ts +87 -0
- package/dist/src/services/activity/activity-log.service.js +276 -0
- package/dist/src/services/activity/activity-log.service.test.d.ts +1 -0
- package/dist/src/services/activity/activity-log.service.test.js +27 -0
- package/dist/src/services/admin/admin.service.d.ts +270 -0
- package/dist/src/services/admin/admin.service.js +476 -0
- package/dist/src/services/ai/ai-session.service.d.ts +5 -0
- package/dist/src/services/ai/ai-session.service.js +4 -0
- package/dist/src/services/artifacts/annotation.service.d.ts +177 -0
- package/dist/src/services/artifacts/annotation.service.js +154 -0
- package/dist/src/services/artifacts/artifact-version.service.d.ts +38 -0
- package/dist/src/services/artifacts/artifact-version.service.js +129 -0
- package/dist/src/services/artifacts/chat.service.d.ts +127 -0
- package/dist/src/services/artifacts/chat.service.js +182 -0
- package/dist/src/services/artifacts/study-guide.service.d.ts +18 -0
- package/dist/src/services/artifacts/study-guide.service.js +65 -0
- package/dist/src/services/auth/auth.service.d.ts +94 -0
- package/dist/src/services/auth/auth.service.js +368 -0
- package/dist/src/services/base.service.d.ts +14 -0
- package/dist/src/services/base.service.js +14 -0
- package/dist/src/services/billing/payment.service.d.ts +44 -0
- package/dist/src/services/billing/payment.service.js +365 -0
- package/dist/src/services/billing/subscription.service.d.ts +37 -0
- package/dist/src/services/billing/subscription.service.js +654 -0
- package/dist/src/services/billing/usage.service.d.ts +47 -0
- package/dist/src/services/billing/usage.service.js +149 -0
- package/dist/src/services/content/copilot.service.d.ts +113 -0
- package/dist/src/services/content/copilot.service.js +439 -0
- package/dist/src/services/content/flashcard-progress.service.d.ts +159 -0
- package/dist/src/services/content/flashcard-progress.service.js +432 -0
- package/dist/src/services/content/flashcard.service.d.ts +184 -0
- package/dist/src/services/content/flashcard.service.js +339 -0
- package/dist/src/services/content/media-analysis.service.d.ts +23 -0
- package/dist/src/services/content/media-analysis.service.js +404 -0
- package/dist/src/services/content/podcast.service.d.ts +267 -0
- package/dist/src/services/content/podcast.service.js +653 -0
- package/dist/src/services/content/worksheet-content.service.d.ts +37 -0
- package/dist/src/services/content/worksheet-content.service.js +84 -0
- package/dist/src/services/content/worksheet-content.service.test.d.ts +1 -0
- package/dist/src/services/content/worksheet-content.service.test.js +69 -0
- package/dist/src/services/content/worksheet-generation.service.d.ts +91 -0
- package/dist/src/services/content/worksheet-generation.service.js +95 -0
- package/dist/src/services/content/worksheet-generation.service.test.d.ts +1 -0
- package/dist/src/services/content/worksheet-generation.service.test.js +20 -0
- package/dist/src/services/content/worksheet.service.d.ts +347 -0
- package/dist/src/services/content/worksheet.service.js +599 -0
- package/dist/src/services/knowledge/knowledge-base.service.d.ts +316 -0
- package/dist/src/services/knowledge/knowledge-base.service.js +544 -0
- package/dist/src/services/members/invitation.service.d.ts +66 -0
- package/dist/src/services/members/invitation.service.js +348 -0
- package/dist/src/services/members/member.service.d.ts +36 -0
- package/dist/src/services/members/member.service.js +193 -0
- package/dist/src/services/notifications/notification.service.d.ts +214 -0
- package/dist/src/services/notifications/notification.service.js +550 -0
- package/dist/src/services/notifications/notification.service.test.d.ts +1 -0
- package/dist/src/services/notifications/notification.service.test.js +87 -0
- package/dist/src/services/workspace/workspace-analytics.service.d.ts +24 -0
- package/dist/src/services/workspace/workspace-analytics.service.js +95 -0
- package/dist/src/services/workspace/workspace-kb.service.d.ts +40 -0
- package/dist/src/services/workspace/workspace-kb.service.js +184 -0
- package/dist/src/services/workspace/workspace.service.d.ts +263 -0
- package/dist/src/services/workspace/workspace.service.js +401 -0
- package/dist/src/trpc.d.ts +60 -0
- package/dist/src/trpc.js +217 -0
- package/dist/src/types/index.d.ts +126 -0
- package/dist/src/types/index.js +1 -0
- package/dist/trpc.d.ts +12 -4
- package/dist/trpc.js +5 -11
- package/package.json +8 -9
- package/prisma/schema.prisma +3 -4
- package/prisma/seed.mjs +5 -2
- package/prisma.config.ts +16 -0
- package/src/context.ts +33 -3
- package/src/lib/ai/index.ts +3 -0
- package/src/lib/ai/llm-client.ts +23 -0
- package/src/lib/prisma.ts +18 -9
- package/src/routers/auth.ts +1 -1
- package/src/routers/workspace.ts +4 -0
- package/src/scripts/purge-deleted-users.ts +1 -3
- package/src/services/billing/payment.service.ts +3 -6
- package/src/services/billing/usage.service.ts +190 -77
- package/src/services/content/copilot.service.ts +23 -32
- package/src/services/content/flashcard-progress.service.ts +12 -9
- package/src/services/content/flashcard.service.ts +89 -66
- package/src/services/content/media-analysis.service.ts +34 -29
- package/src/services/content/worksheet-generation.service.test.ts +2 -2
- package/src/services/workspace/workspace.service.ts +73 -66
- package/src/trpc.ts +5 -13
- package/tsconfig.json +3 -0
|
@@ -0,0 +1,1321 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
/**
|
|
4
|
+
* Model StudyGuideComment
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type StudyGuideCommentModel = runtime.Types.Result.DefaultSelection<Prisma.$StudyGuideCommentPayload>;
|
|
8
|
+
export type AggregateStudyGuideComment = {
|
|
9
|
+
_count: StudyGuideCommentCountAggregateOutputType | null;
|
|
10
|
+
_min: StudyGuideCommentMinAggregateOutputType | null;
|
|
11
|
+
_max: StudyGuideCommentMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type StudyGuideCommentMinAggregateOutputType = {
|
|
14
|
+
id: string | null;
|
|
15
|
+
highlightId: string | null;
|
|
16
|
+
userId: string | null;
|
|
17
|
+
content: string | null;
|
|
18
|
+
createdAt: Date | null;
|
|
19
|
+
updatedAt: Date | null;
|
|
20
|
+
};
|
|
21
|
+
export type StudyGuideCommentMaxAggregateOutputType = {
|
|
22
|
+
id: string | null;
|
|
23
|
+
highlightId: string | null;
|
|
24
|
+
userId: string | null;
|
|
25
|
+
content: string | null;
|
|
26
|
+
createdAt: Date | null;
|
|
27
|
+
updatedAt: Date | null;
|
|
28
|
+
};
|
|
29
|
+
export type StudyGuideCommentCountAggregateOutputType = {
|
|
30
|
+
id: number;
|
|
31
|
+
highlightId: number;
|
|
32
|
+
userId: number;
|
|
33
|
+
content: number;
|
|
34
|
+
createdAt: number;
|
|
35
|
+
updatedAt: number;
|
|
36
|
+
_all: number;
|
|
37
|
+
};
|
|
38
|
+
export type StudyGuideCommentMinAggregateInputType = {
|
|
39
|
+
id?: true;
|
|
40
|
+
highlightId?: true;
|
|
41
|
+
userId?: true;
|
|
42
|
+
content?: true;
|
|
43
|
+
createdAt?: true;
|
|
44
|
+
updatedAt?: true;
|
|
45
|
+
};
|
|
46
|
+
export type StudyGuideCommentMaxAggregateInputType = {
|
|
47
|
+
id?: true;
|
|
48
|
+
highlightId?: true;
|
|
49
|
+
userId?: true;
|
|
50
|
+
content?: true;
|
|
51
|
+
createdAt?: true;
|
|
52
|
+
updatedAt?: true;
|
|
53
|
+
};
|
|
54
|
+
export type StudyGuideCommentCountAggregateInputType = {
|
|
55
|
+
id?: true;
|
|
56
|
+
highlightId?: true;
|
|
57
|
+
userId?: true;
|
|
58
|
+
content?: true;
|
|
59
|
+
createdAt?: true;
|
|
60
|
+
updatedAt?: true;
|
|
61
|
+
_all?: true;
|
|
62
|
+
};
|
|
63
|
+
export type StudyGuideCommentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
64
|
+
/**
|
|
65
|
+
* Filter which StudyGuideComment to aggregate.
|
|
66
|
+
*/
|
|
67
|
+
where?: Prisma.StudyGuideCommentWhereInput;
|
|
68
|
+
/**
|
|
69
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
70
|
+
*
|
|
71
|
+
* Determine the order of StudyGuideComments to fetch.
|
|
72
|
+
*/
|
|
73
|
+
orderBy?: Prisma.StudyGuideCommentOrderByWithRelationInput | Prisma.StudyGuideCommentOrderByWithRelationInput[];
|
|
74
|
+
/**
|
|
75
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
76
|
+
*
|
|
77
|
+
* Sets the start position
|
|
78
|
+
*/
|
|
79
|
+
cursor?: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
82
|
+
*
|
|
83
|
+
* Take `±n` StudyGuideComments from the position of the cursor.
|
|
84
|
+
*/
|
|
85
|
+
take?: number;
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
88
|
+
*
|
|
89
|
+
* Skip the first `n` StudyGuideComments.
|
|
90
|
+
*/
|
|
91
|
+
skip?: number;
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
94
|
+
*
|
|
95
|
+
* Count returned StudyGuideComments
|
|
96
|
+
**/
|
|
97
|
+
_count?: true | StudyGuideCommentCountAggregateInputType;
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
100
|
+
*
|
|
101
|
+
* Select which fields to find the minimum value
|
|
102
|
+
**/
|
|
103
|
+
_min?: StudyGuideCommentMinAggregateInputType;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
+
*
|
|
107
|
+
* Select which fields to find the maximum value
|
|
108
|
+
**/
|
|
109
|
+
_max?: StudyGuideCommentMaxAggregateInputType;
|
|
110
|
+
};
|
|
111
|
+
export type GetStudyGuideCommentAggregateType<T extends StudyGuideCommentAggregateArgs> = {
|
|
112
|
+
[P in keyof T & keyof AggregateStudyGuideComment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateStudyGuideComment[P]> : Prisma.GetScalarType<T[P], AggregateStudyGuideComment[P]>;
|
|
113
|
+
};
|
|
114
|
+
export type StudyGuideCommentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
115
|
+
where?: Prisma.StudyGuideCommentWhereInput;
|
|
116
|
+
orderBy?: Prisma.StudyGuideCommentOrderByWithAggregationInput | Prisma.StudyGuideCommentOrderByWithAggregationInput[];
|
|
117
|
+
by: Prisma.StudyGuideCommentScalarFieldEnum[] | Prisma.StudyGuideCommentScalarFieldEnum;
|
|
118
|
+
having?: Prisma.StudyGuideCommentScalarWhereWithAggregatesInput;
|
|
119
|
+
take?: number;
|
|
120
|
+
skip?: number;
|
|
121
|
+
_count?: StudyGuideCommentCountAggregateInputType | true;
|
|
122
|
+
_min?: StudyGuideCommentMinAggregateInputType;
|
|
123
|
+
_max?: StudyGuideCommentMaxAggregateInputType;
|
|
124
|
+
};
|
|
125
|
+
export type StudyGuideCommentGroupByOutputType = {
|
|
126
|
+
id: string;
|
|
127
|
+
highlightId: string;
|
|
128
|
+
userId: string;
|
|
129
|
+
content: string;
|
|
130
|
+
createdAt: Date;
|
|
131
|
+
updatedAt: Date;
|
|
132
|
+
_count: StudyGuideCommentCountAggregateOutputType | null;
|
|
133
|
+
_min: StudyGuideCommentMinAggregateOutputType | null;
|
|
134
|
+
_max: StudyGuideCommentMaxAggregateOutputType | null;
|
|
135
|
+
};
|
|
136
|
+
export type GetStudyGuideCommentGroupByPayload<T extends StudyGuideCommentGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<StudyGuideCommentGroupByOutputType, T['by']> & {
|
|
137
|
+
[P in ((keyof T) & (keyof StudyGuideCommentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], StudyGuideCommentGroupByOutputType[P]> : Prisma.GetScalarType<T[P], StudyGuideCommentGroupByOutputType[P]>;
|
|
138
|
+
}>>;
|
|
139
|
+
export type StudyGuideCommentWhereInput = {
|
|
140
|
+
AND?: Prisma.StudyGuideCommentWhereInput | Prisma.StudyGuideCommentWhereInput[];
|
|
141
|
+
OR?: Prisma.StudyGuideCommentWhereInput[];
|
|
142
|
+
NOT?: Prisma.StudyGuideCommentWhereInput | Prisma.StudyGuideCommentWhereInput[];
|
|
143
|
+
id?: Prisma.StringFilter<"StudyGuideComment"> | string;
|
|
144
|
+
highlightId?: Prisma.StringFilter<"StudyGuideComment"> | string;
|
|
145
|
+
userId?: Prisma.StringFilter<"StudyGuideComment"> | string;
|
|
146
|
+
content?: Prisma.StringFilter<"StudyGuideComment"> | string;
|
|
147
|
+
createdAt?: Prisma.DateTimeFilter<"StudyGuideComment"> | Date | string;
|
|
148
|
+
updatedAt?: Prisma.DateTimeFilter<"StudyGuideComment"> | Date | string;
|
|
149
|
+
highlight?: Prisma.XOR<Prisma.StudyGuideHighlightScalarRelationFilter, Prisma.StudyGuideHighlightWhereInput>;
|
|
150
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
151
|
+
};
|
|
152
|
+
export type StudyGuideCommentOrderByWithRelationInput = {
|
|
153
|
+
id?: Prisma.SortOrder;
|
|
154
|
+
highlightId?: Prisma.SortOrder;
|
|
155
|
+
userId?: Prisma.SortOrder;
|
|
156
|
+
content?: Prisma.SortOrder;
|
|
157
|
+
createdAt?: Prisma.SortOrder;
|
|
158
|
+
updatedAt?: Prisma.SortOrder;
|
|
159
|
+
highlight?: Prisma.StudyGuideHighlightOrderByWithRelationInput;
|
|
160
|
+
user?: Prisma.UserOrderByWithRelationInput;
|
|
161
|
+
};
|
|
162
|
+
export type StudyGuideCommentWhereUniqueInput = Prisma.AtLeast<{
|
|
163
|
+
id?: string;
|
|
164
|
+
AND?: Prisma.StudyGuideCommentWhereInput | Prisma.StudyGuideCommentWhereInput[];
|
|
165
|
+
OR?: Prisma.StudyGuideCommentWhereInput[];
|
|
166
|
+
NOT?: Prisma.StudyGuideCommentWhereInput | Prisma.StudyGuideCommentWhereInput[];
|
|
167
|
+
highlightId?: Prisma.StringFilter<"StudyGuideComment"> | string;
|
|
168
|
+
userId?: Prisma.StringFilter<"StudyGuideComment"> | string;
|
|
169
|
+
content?: Prisma.StringFilter<"StudyGuideComment"> | string;
|
|
170
|
+
createdAt?: Prisma.DateTimeFilter<"StudyGuideComment"> | Date | string;
|
|
171
|
+
updatedAt?: Prisma.DateTimeFilter<"StudyGuideComment"> | Date | string;
|
|
172
|
+
highlight?: Prisma.XOR<Prisma.StudyGuideHighlightScalarRelationFilter, Prisma.StudyGuideHighlightWhereInput>;
|
|
173
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
174
|
+
}, "id">;
|
|
175
|
+
export type StudyGuideCommentOrderByWithAggregationInput = {
|
|
176
|
+
id?: Prisma.SortOrder;
|
|
177
|
+
highlightId?: Prisma.SortOrder;
|
|
178
|
+
userId?: Prisma.SortOrder;
|
|
179
|
+
content?: Prisma.SortOrder;
|
|
180
|
+
createdAt?: Prisma.SortOrder;
|
|
181
|
+
updatedAt?: Prisma.SortOrder;
|
|
182
|
+
_count?: Prisma.StudyGuideCommentCountOrderByAggregateInput;
|
|
183
|
+
_max?: Prisma.StudyGuideCommentMaxOrderByAggregateInput;
|
|
184
|
+
_min?: Prisma.StudyGuideCommentMinOrderByAggregateInput;
|
|
185
|
+
};
|
|
186
|
+
export type StudyGuideCommentScalarWhereWithAggregatesInput = {
|
|
187
|
+
AND?: Prisma.StudyGuideCommentScalarWhereWithAggregatesInput | Prisma.StudyGuideCommentScalarWhereWithAggregatesInput[];
|
|
188
|
+
OR?: Prisma.StudyGuideCommentScalarWhereWithAggregatesInput[];
|
|
189
|
+
NOT?: Prisma.StudyGuideCommentScalarWhereWithAggregatesInput | Prisma.StudyGuideCommentScalarWhereWithAggregatesInput[];
|
|
190
|
+
id?: Prisma.StringWithAggregatesFilter<"StudyGuideComment"> | string;
|
|
191
|
+
highlightId?: Prisma.StringWithAggregatesFilter<"StudyGuideComment"> | string;
|
|
192
|
+
userId?: Prisma.StringWithAggregatesFilter<"StudyGuideComment"> | string;
|
|
193
|
+
content?: Prisma.StringWithAggregatesFilter<"StudyGuideComment"> | string;
|
|
194
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"StudyGuideComment"> | Date | string;
|
|
195
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"StudyGuideComment"> | Date | string;
|
|
196
|
+
};
|
|
197
|
+
export type StudyGuideCommentCreateInput = {
|
|
198
|
+
id?: string;
|
|
199
|
+
content: string;
|
|
200
|
+
createdAt?: Date | string;
|
|
201
|
+
updatedAt?: Date | string;
|
|
202
|
+
highlight: Prisma.StudyGuideHighlightCreateNestedOneWithoutCommentsInput;
|
|
203
|
+
user: Prisma.UserCreateNestedOneWithoutStudyGuideCommentsInput;
|
|
204
|
+
};
|
|
205
|
+
export type StudyGuideCommentUncheckedCreateInput = {
|
|
206
|
+
id?: string;
|
|
207
|
+
highlightId: string;
|
|
208
|
+
userId: string;
|
|
209
|
+
content: string;
|
|
210
|
+
createdAt?: Date | string;
|
|
211
|
+
updatedAt?: Date | string;
|
|
212
|
+
};
|
|
213
|
+
export type StudyGuideCommentUpdateInput = {
|
|
214
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
215
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
216
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
217
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
218
|
+
highlight?: Prisma.StudyGuideHighlightUpdateOneRequiredWithoutCommentsNestedInput;
|
|
219
|
+
user?: Prisma.UserUpdateOneRequiredWithoutStudyGuideCommentsNestedInput;
|
|
220
|
+
};
|
|
221
|
+
export type StudyGuideCommentUncheckedUpdateInput = {
|
|
222
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
223
|
+
highlightId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
224
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
225
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
226
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
227
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
228
|
+
};
|
|
229
|
+
export type StudyGuideCommentCreateManyInput = {
|
|
230
|
+
id?: string;
|
|
231
|
+
highlightId: string;
|
|
232
|
+
userId: string;
|
|
233
|
+
content: string;
|
|
234
|
+
createdAt?: Date | string;
|
|
235
|
+
updatedAt?: Date | string;
|
|
236
|
+
};
|
|
237
|
+
export type StudyGuideCommentUpdateManyMutationInput = {
|
|
238
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
239
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
240
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
241
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
242
|
+
};
|
|
243
|
+
export type StudyGuideCommentUncheckedUpdateManyInput = {
|
|
244
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
245
|
+
highlightId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
246
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
247
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
248
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
249
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
250
|
+
};
|
|
251
|
+
export type StudyGuideCommentListRelationFilter = {
|
|
252
|
+
every?: Prisma.StudyGuideCommentWhereInput;
|
|
253
|
+
some?: Prisma.StudyGuideCommentWhereInput;
|
|
254
|
+
none?: Prisma.StudyGuideCommentWhereInput;
|
|
255
|
+
};
|
|
256
|
+
export type StudyGuideCommentOrderByRelationAggregateInput = {
|
|
257
|
+
_count?: Prisma.SortOrder;
|
|
258
|
+
};
|
|
259
|
+
export type StudyGuideCommentCountOrderByAggregateInput = {
|
|
260
|
+
id?: Prisma.SortOrder;
|
|
261
|
+
highlightId?: Prisma.SortOrder;
|
|
262
|
+
userId?: Prisma.SortOrder;
|
|
263
|
+
content?: Prisma.SortOrder;
|
|
264
|
+
createdAt?: Prisma.SortOrder;
|
|
265
|
+
updatedAt?: Prisma.SortOrder;
|
|
266
|
+
};
|
|
267
|
+
export type StudyGuideCommentMaxOrderByAggregateInput = {
|
|
268
|
+
id?: Prisma.SortOrder;
|
|
269
|
+
highlightId?: Prisma.SortOrder;
|
|
270
|
+
userId?: Prisma.SortOrder;
|
|
271
|
+
content?: Prisma.SortOrder;
|
|
272
|
+
createdAt?: Prisma.SortOrder;
|
|
273
|
+
updatedAt?: Prisma.SortOrder;
|
|
274
|
+
};
|
|
275
|
+
export type StudyGuideCommentMinOrderByAggregateInput = {
|
|
276
|
+
id?: Prisma.SortOrder;
|
|
277
|
+
highlightId?: Prisma.SortOrder;
|
|
278
|
+
userId?: Prisma.SortOrder;
|
|
279
|
+
content?: Prisma.SortOrder;
|
|
280
|
+
createdAt?: Prisma.SortOrder;
|
|
281
|
+
updatedAt?: Prisma.SortOrder;
|
|
282
|
+
};
|
|
283
|
+
export type StudyGuideCommentCreateNestedManyWithoutUserInput = {
|
|
284
|
+
create?: Prisma.XOR<Prisma.StudyGuideCommentCreateWithoutUserInput, Prisma.StudyGuideCommentUncheckedCreateWithoutUserInput> | Prisma.StudyGuideCommentCreateWithoutUserInput[] | Prisma.StudyGuideCommentUncheckedCreateWithoutUserInput[];
|
|
285
|
+
connectOrCreate?: Prisma.StudyGuideCommentCreateOrConnectWithoutUserInput | Prisma.StudyGuideCommentCreateOrConnectWithoutUserInput[];
|
|
286
|
+
createMany?: Prisma.StudyGuideCommentCreateManyUserInputEnvelope;
|
|
287
|
+
connect?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
288
|
+
};
|
|
289
|
+
export type StudyGuideCommentUncheckedCreateNestedManyWithoutUserInput = {
|
|
290
|
+
create?: Prisma.XOR<Prisma.StudyGuideCommentCreateWithoutUserInput, Prisma.StudyGuideCommentUncheckedCreateWithoutUserInput> | Prisma.StudyGuideCommentCreateWithoutUserInput[] | Prisma.StudyGuideCommentUncheckedCreateWithoutUserInput[];
|
|
291
|
+
connectOrCreate?: Prisma.StudyGuideCommentCreateOrConnectWithoutUserInput | Prisma.StudyGuideCommentCreateOrConnectWithoutUserInput[];
|
|
292
|
+
createMany?: Prisma.StudyGuideCommentCreateManyUserInputEnvelope;
|
|
293
|
+
connect?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
294
|
+
};
|
|
295
|
+
export type StudyGuideCommentUpdateManyWithoutUserNestedInput = {
|
|
296
|
+
create?: Prisma.XOR<Prisma.StudyGuideCommentCreateWithoutUserInput, Prisma.StudyGuideCommentUncheckedCreateWithoutUserInput> | Prisma.StudyGuideCommentCreateWithoutUserInput[] | Prisma.StudyGuideCommentUncheckedCreateWithoutUserInput[];
|
|
297
|
+
connectOrCreate?: Prisma.StudyGuideCommentCreateOrConnectWithoutUserInput | Prisma.StudyGuideCommentCreateOrConnectWithoutUserInput[];
|
|
298
|
+
upsert?: Prisma.StudyGuideCommentUpsertWithWhereUniqueWithoutUserInput | Prisma.StudyGuideCommentUpsertWithWhereUniqueWithoutUserInput[];
|
|
299
|
+
createMany?: Prisma.StudyGuideCommentCreateManyUserInputEnvelope;
|
|
300
|
+
set?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
301
|
+
disconnect?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
302
|
+
delete?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
303
|
+
connect?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
304
|
+
update?: Prisma.StudyGuideCommentUpdateWithWhereUniqueWithoutUserInput | Prisma.StudyGuideCommentUpdateWithWhereUniqueWithoutUserInput[];
|
|
305
|
+
updateMany?: Prisma.StudyGuideCommentUpdateManyWithWhereWithoutUserInput | Prisma.StudyGuideCommentUpdateManyWithWhereWithoutUserInput[];
|
|
306
|
+
deleteMany?: Prisma.StudyGuideCommentScalarWhereInput | Prisma.StudyGuideCommentScalarWhereInput[];
|
|
307
|
+
};
|
|
308
|
+
export type StudyGuideCommentUncheckedUpdateManyWithoutUserNestedInput = {
|
|
309
|
+
create?: Prisma.XOR<Prisma.StudyGuideCommentCreateWithoutUserInput, Prisma.StudyGuideCommentUncheckedCreateWithoutUserInput> | Prisma.StudyGuideCommentCreateWithoutUserInput[] | Prisma.StudyGuideCommentUncheckedCreateWithoutUserInput[];
|
|
310
|
+
connectOrCreate?: Prisma.StudyGuideCommentCreateOrConnectWithoutUserInput | Prisma.StudyGuideCommentCreateOrConnectWithoutUserInput[];
|
|
311
|
+
upsert?: Prisma.StudyGuideCommentUpsertWithWhereUniqueWithoutUserInput | Prisma.StudyGuideCommentUpsertWithWhereUniqueWithoutUserInput[];
|
|
312
|
+
createMany?: Prisma.StudyGuideCommentCreateManyUserInputEnvelope;
|
|
313
|
+
set?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
314
|
+
disconnect?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
315
|
+
delete?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
316
|
+
connect?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
317
|
+
update?: Prisma.StudyGuideCommentUpdateWithWhereUniqueWithoutUserInput | Prisma.StudyGuideCommentUpdateWithWhereUniqueWithoutUserInput[];
|
|
318
|
+
updateMany?: Prisma.StudyGuideCommentUpdateManyWithWhereWithoutUserInput | Prisma.StudyGuideCommentUpdateManyWithWhereWithoutUserInput[];
|
|
319
|
+
deleteMany?: Prisma.StudyGuideCommentScalarWhereInput | Prisma.StudyGuideCommentScalarWhereInput[];
|
|
320
|
+
};
|
|
321
|
+
export type StudyGuideCommentCreateNestedManyWithoutHighlightInput = {
|
|
322
|
+
create?: Prisma.XOR<Prisma.StudyGuideCommentCreateWithoutHighlightInput, Prisma.StudyGuideCommentUncheckedCreateWithoutHighlightInput> | Prisma.StudyGuideCommentCreateWithoutHighlightInput[] | Prisma.StudyGuideCommentUncheckedCreateWithoutHighlightInput[];
|
|
323
|
+
connectOrCreate?: Prisma.StudyGuideCommentCreateOrConnectWithoutHighlightInput | Prisma.StudyGuideCommentCreateOrConnectWithoutHighlightInput[];
|
|
324
|
+
createMany?: Prisma.StudyGuideCommentCreateManyHighlightInputEnvelope;
|
|
325
|
+
connect?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
326
|
+
};
|
|
327
|
+
export type StudyGuideCommentUncheckedCreateNestedManyWithoutHighlightInput = {
|
|
328
|
+
create?: Prisma.XOR<Prisma.StudyGuideCommentCreateWithoutHighlightInput, Prisma.StudyGuideCommentUncheckedCreateWithoutHighlightInput> | Prisma.StudyGuideCommentCreateWithoutHighlightInput[] | Prisma.StudyGuideCommentUncheckedCreateWithoutHighlightInput[];
|
|
329
|
+
connectOrCreate?: Prisma.StudyGuideCommentCreateOrConnectWithoutHighlightInput | Prisma.StudyGuideCommentCreateOrConnectWithoutHighlightInput[];
|
|
330
|
+
createMany?: Prisma.StudyGuideCommentCreateManyHighlightInputEnvelope;
|
|
331
|
+
connect?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
332
|
+
};
|
|
333
|
+
export type StudyGuideCommentUpdateManyWithoutHighlightNestedInput = {
|
|
334
|
+
create?: Prisma.XOR<Prisma.StudyGuideCommentCreateWithoutHighlightInput, Prisma.StudyGuideCommentUncheckedCreateWithoutHighlightInput> | Prisma.StudyGuideCommentCreateWithoutHighlightInput[] | Prisma.StudyGuideCommentUncheckedCreateWithoutHighlightInput[];
|
|
335
|
+
connectOrCreate?: Prisma.StudyGuideCommentCreateOrConnectWithoutHighlightInput | Prisma.StudyGuideCommentCreateOrConnectWithoutHighlightInput[];
|
|
336
|
+
upsert?: Prisma.StudyGuideCommentUpsertWithWhereUniqueWithoutHighlightInput | Prisma.StudyGuideCommentUpsertWithWhereUniqueWithoutHighlightInput[];
|
|
337
|
+
createMany?: Prisma.StudyGuideCommentCreateManyHighlightInputEnvelope;
|
|
338
|
+
set?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
339
|
+
disconnect?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
340
|
+
delete?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
341
|
+
connect?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
342
|
+
update?: Prisma.StudyGuideCommentUpdateWithWhereUniqueWithoutHighlightInput | Prisma.StudyGuideCommentUpdateWithWhereUniqueWithoutHighlightInput[];
|
|
343
|
+
updateMany?: Prisma.StudyGuideCommentUpdateManyWithWhereWithoutHighlightInput | Prisma.StudyGuideCommentUpdateManyWithWhereWithoutHighlightInput[];
|
|
344
|
+
deleteMany?: Prisma.StudyGuideCommentScalarWhereInput | Prisma.StudyGuideCommentScalarWhereInput[];
|
|
345
|
+
};
|
|
346
|
+
export type StudyGuideCommentUncheckedUpdateManyWithoutHighlightNestedInput = {
|
|
347
|
+
create?: Prisma.XOR<Prisma.StudyGuideCommentCreateWithoutHighlightInput, Prisma.StudyGuideCommentUncheckedCreateWithoutHighlightInput> | Prisma.StudyGuideCommentCreateWithoutHighlightInput[] | Prisma.StudyGuideCommentUncheckedCreateWithoutHighlightInput[];
|
|
348
|
+
connectOrCreate?: Prisma.StudyGuideCommentCreateOrConnectWithoutHighlightInput | Prisma.StudyGuideCommentCreateOrConnectWithoutHighlightInput[];
|
|
349
|
+
upsert?: Prisma.StudyGuideCommentUpsertWithWhereUniqueWithoutHighlightInput | Prisma.StudyGuideCommentUpsertWithWhereUniqueWithoutHighlightInput[];
|
|
350
|
+
createMany?: Prisma.StudyGuideCommentCreateManyHighlightInputEnvelope;
|
|
351
|
+
set?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
352
|
+
disconnect?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
353
|
+
delete?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
354
|
+
connect?: Prisma.StudyGuideCommentWhereUniqueInput | Prisma.StudyGuideCommentWhereUniqueInput[];
|
|
355
|
+
update?: Prisma.StudyGuideCommentUpdateWithWhereUniqueWithoutHighlightInput | Prisma.StudyGuideCommentUpdateWithWhereUniqueWithoutHighlightInput[];
|
|
356
|
+
updateMany?: Prisma.StudyGuideCommentUpdateManyWithWhereWithoutHighlightInput | Prisma.StudyGuideCommentUpdateManyWithWhereWithoutHighlightInput[];
|
|
357
|
+
deleteMany?: Prisma.StudyGuideCommentScalarWhereInput | Prisma.StudyGuideCommentScalarWhereInput[];
|
|
358
|
+
};
|
|
359
|
+
export type StudyGuideCommentCreateWithoutUserInput = {
|
|
360
|
+
id?: string;
|
|
361
|
+
content: string;
|
|
362
|
+
createdAt?: Date | string;
|
|
363
|
+
updatedAt?: Date | string;
|
|
364
|
+
highlight: Prisma.StudyGuideHighlightCreateNestedOneWithoutCommentsInput;
|
|
365
|
+
};
|
|
366
|
+
export type StudyGuideCommentUncheckedCreateWithoutUserInput = {
|
|
367
|
+
id?: string;
|
|
368
|
+
highlightId: string;
|
|
369
|
+
content: string;
|
|
370
|
+
createdAt?: Date | string;
|
|
371
|
+
updatedAt?: Date | string;
|
|
372
|
+
};
|
|
373
|
+
export type StudyGuideCommentCreateOrConnectWithoutUserInput = {
|
|
374
|
+
where: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
375
|
+
create: Prisma.XOR<Prisma.StudyGuideCommentCreateWithoutUserInput, Prisma.StudyGuideCommentUncheckedCreateWithoutUserInput>;
|
|
376
|
+
};
|
|
377
|
+
export type StudyGuideCommentCreateManyUserInputEnvelope = {
|
|
378
|
+
data: Prisma.StudyGuideCommentCreateManyUserInput | Prisma.StudyGuideCommentCreateManyUserInput[];
|
|
379
|
+
skipDuplicates?: boolean;
|
|
380
|
+
};
|
|
381
|
+
export type StudyGuideCommentUpsertWithWhereUniqueWithoutUserInput = {
|
|
382
|
+
where: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
383
|
+
update: Prisma.XOR<Prisma.StudyGuideCommentUpdateWithoutUserInput, Prisma.StudyGuideCommentUncheckedUpdateWithoutUserInput>;
|
|
384
|
+
create: Prisma.XOR<Prisma.StudyGuideCommentCreateWithoutUserInput, Prisma.StudyGuideCommentUncheckedCreateWithoutUserInput>;
|
|
385
|
+
};
|
|
386
|
+
export type StudyGuideCommentUpdateWithWhereUniqueWithoutUserInput = {
|
|
387
|
+
where: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
388
|
+
data: Prisma.XOR<Prisma.StudyGuideCommentUpdateWithoutUserInput, Prisma.StudyGuideCommentUncheckedUpdateWithoutUserInput>;
|
|
389
|
+
};
|
|
390
|
+
export type StudyGuideCommentUpdateManyWithWhereWithoutUserInput = {
|
|
391
|
+
where: Prisma.StudyGuideCommentScalarWhereInput;
|
|
392
|
+
data: Prisma.XOR<Prisma.StudyGuideCommentUpdateManyMutationInput, Prisma.StudyGuideCommentUncheckedUpdateManyWithoutUserInput>;
|
|
393
|
+
};
|
|
394
|
+
export type StudyGuideCommentScalarWhereInput = {
|
|
395
|
+
AND?: Prisma.StudyGuideCommentScalarWhereInput | Prisma.StudyGuideCommentScalarWhereInput[];
|
|
396
|
+
OR?: Prisma.StudyGuideCommentScalarWhereInput[];
|
|
397
|
+
NOT?: Prisma.StudyGuideCommentScalarWhereInput | Prisma.StudyGuideCommentScalarWhereInput[];
|
|
398
|
+
id?: Prisma.StringFilter<"StudyGuideComment"> | string;
|
|
399
|
+
highlightId?: Prisma.StringFilter<"StudyGuideComment"> | string;
|
|
400
|
+
userId?: Prisma.StringFilter<"StudyGuideComment"> | string;
|
|
401
|
+
content?: Prisma.StringFilter<"StudyGuideComment"> | string;
|
|
402
|
+
createdAt?: Prisma.DateTimeFilter<"StudyGuideComment"> | Date | string;
|
|
403
|
+
updatedAt?: Prisma.DateTimeFilter<"StudyGuideComment"> | Date | string;
|
|
404
|
+
};
|
|
405
|
+
export type StudyGuideCommentCreateWithoutHighlightInput = {
|
|
406
|
+
id?: string;
|
|
407
|
+
content: string;
|
|
408
|
+
createdAt?: Date | string;
|
|
409
|
+
updatedAt?: Date | string;
|
|
410
|
+
user: Prisma.UserCreateNestedOneWithoutStudyGuideCommentsInput;
|
|
411
|
+
};
|
|
412
|
+
export type StudyGuideCommentUncheckedCreateWithoutHighlightInput = {
|
|
413
|
+
id?: string;
|
|
414
|
+
userId: string;
|
|
415
|
+
content: string;
|
|
416
|
+
createdAt?: Date | string;
|
|
417
|
+
updatedAt?: Date | string;
|
|
418
|
+
};
|
|
419
|
+
export type StudyGuideCommentCreateOrConnectWithoutHighlightInput = {
|
|
420
|
+
where: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
421
|
+
create: Prisma.XOR<Prisma.StudyGuideCommentCreateWithoutHighlightInput, Prisma.StudyGuideCommentUncheckedCreateWithoutHighlightInput>;
|
|
422
|
+
};
|
|
423
|
+
export type StudyGuideCommentCreateManyHighlightInputEnvelope = {
|
|
424
|
+
data: Prisma.StudyGuideCommentCreateManyHighlightInput | Prisma.StudyGuideCommentCreateManyHighlightInput[];
|
|
425
|
+
skipDuplicates?: boolean;
|
|
426
|
+
};
|
|
427
|
+
export type StudyGuideCommentUpsertWithWhereUniqueWithoutHighlightInput = {
|
|
428
|
+
where: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
429
|
+
update: Prisma.XOR<Prisma.StudyGuideCommentUpdateWithoutHighlightInput, Prisma.StudyGuideCommentUncheckedUpdateWithoutHighlightInput>;
|
|
430
|
+
create: Prisma.XOR<Prisma.StudyGuideCommentCreateWithoutHighlightInput, Prisma.StudyGuideCommentUncheckedCreateWithoutHighlightInput>;
|
|
431
|
+
};
|
|
432
|
+
export type StudyGuideCommentUpdateWithWhereUniqueWithoutHighlightInput = {
|
|
433
|
+
where: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
434
|
+
data: Prisma.XOR<Prisma.StudyGuideCommentUpdateWithoutHighlightInput, Prisma.StudyGuideCommentUncheckedUpdateWithoutHighlightInput>;
|
|
435
|
+
};
|
|
436
|
+
export type StudyGuideCommentUpdateManyWithWhereWithoutHighlightInput = {
|
|
437
|
+
where: Prisma.StudyGuideCommentScalarWhereInput;
|
|
438
|
+
data: Prisma.XOR<Prisma.StudyGuideCommentUpdateManyMutationInput, Prisma.StudyGuideCommentUncheckedUpdateManyWithoutHighlightInput>;
|
|
439
|
+
};
|
|
440
|
+
export type StudyGuideCommentCreateManyUserInput = {
|
|
441
|
+
id?: string;
|
|
442
|
+
highlightId: string;
|
|
443
|
+
content: string;
|
|
444
|
+
createdAt?: Date | string;
|
|
445
|
+
updatedAt?: Date | string;
|
|
446
|
+
};
|
|
447
|
+
export type StudyGuideCommentUpdateWithoutUserInput = {
|
|
448
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
449
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
450
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
451
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
452
|
+
highlight?: Prisma.StudyGuideHighlightUpdateOneRequiredWithoutCommentsNestedInput;
|
|
453
|
+
};
|
|
454
|
+
export type StudyGuideCommentUncheckedUpdateWithoutUserInput = {
|
|
455
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
456
|
+
highlightId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
457
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
458
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
459
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
460
|
+
};
|
|
461
|
+
export type StudyGuideCommentUncheckedUpdateManyWithoutUserInput = {
|
|
462
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
463
|
+
highlightId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
464
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
465
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
466
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
467
|
+
};
|
|
468
|
+
export type StudyGuideCommentCreateManyHighlightInput = {
|
|
469
|
+
id?: string;
|
|
470
|
+
userId: string;
|
|
471
|
+
content: string;
|
|
472
|
+
createdAt?: Date | string;
|
|
473
|
+
updatedAt?: Date | string;
|
|
474
|
+
};
|
|
475
|
+
export type StudyGuideCommentUpdateWithoutHighlightInput = {
|
|
476
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
477
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
478
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
479
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
480
|
+
user?: Prisma.UserUpdateOneRequiredWithoutStudyGuideCommentsNestedInput;
|
|
481
|
+
};
|
|
482
|
+
export type StudyGuideCommentUncheckedUpdateWithoutHighlightInput = {
|
|
483
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
484
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
485
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
486
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
487
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
488
|
+
};
|
|
489
|
+
export type StudyGuideCommentUncheckedUpdateManyWithoutHighlightInput = {
|
|
490
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
491
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
492
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
493
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
494
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
495
|
+
};
|
|
496
|
+
export type StudyGuideCommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
497
|
+
id?: boolean;
|
|
498
|
+
highlightId?: boolean;
|
|
499
|
+
userId?: boolean;
|
|
500
|
+
content?: boolean;
|
|
501
|
+
createdAt?: boolean;
|
|
502
|
+
updatedAt?: boolean;
|
|
503
|
+
highlight?: boolean | Prisma.StudyGuideHighlightDefaultArgs<ExtArgs>;
|
|
504
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
505
|
+
}, ExtArgs["result"]["studyGuideComment"]>;
|
|
506
|
+
export type StudyGuideCommentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
507
|
+
id?: boolean;
|
|
508
|
+
highlightId?: boolean;
|
|
509
|
+
userId?: boolean;
|
|
510
|
+
content?: boolean;
|
|
511
|
+
createdAt?: boolean;
|
|
512
|
+
updatedAt?: boolean;
|
|
513
|
+
highlight?: boolean | Prisma.StudyGuideHighlightDefaultArgs<ExtArgs>;
|
|
514
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
515
|
+
}, ExtArgs["result"]["studyGuideComment"]>;
|
|
516
|
+
export type StudyGuideCommentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
517
|
+
id?: boolean;
|
|
518
|
+
highlightId?: boolean;
|
|
519
|
+
userId?: boolean;
|
|
520
|
+
content?: boolean;
|
|
521
|
+
createdAt?: boolean;
|
|
522
|
+
updatedAt?: boolean;
|
|
523
|
+
highlight?: boolean | Prisma.StudyGuideHighlightDefaultArgs<ExtArgs>;
|
|
524
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
525
|
+
}, ExtArgs["result"]["studyGuideComment"]>;
|
|
526
|
+
export type StudyGuideCommentSelectScalar = {
|
|
527
|
+
id?: boolean;
|
|
528
|
+
highlightId?: boolean;
|
|
529
|
+
userId?: boolean;
|
|
530
|
+
content?: boolean;
|
|
531
|
+
createdAt?: boolean;
|
|
532
|
+
updatedAt?: boolean;
|
|
533
|
+
};
|
|
534
|
+
export type StudyGuideCommentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "highlightId" | "userId" | "content" | "createdAt" | "updatedAt", ExtArgs["result"]["studyGuideComment"]>;
|
|
535
|
+
export type StudyGuideCommentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
536
|
+
highlight?: boolean | Prisma.StudyGuideHighlightDefaultArgs<ExtArgs>;
|
|
537
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
538
|
+
};
|
|
539
|
+
export type StudyGuideCommentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
540
|
+
highlight?: boolean | Prisma.StudyGuideHighlightDefaultArgs<ExtArgs>;
|
|
541
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
542
|
+
};
|
|
543
|
+
export type StudyGuideCommentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
544
|
+
highlight?: boolean | Prisma.StudyGuideHighlightDefaultArgs<ExtArgs>;
|
|
545
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
546
|
+
};
|
|
547
|
+
export type $StudyGuideCommentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
548
|
+
name: "StudyGuideComment";
|
|
549
|
+
objects: {
|
|
550
|
+
highlight: Prisma.$StudyGuideHighlightPayload<ExtArgs>;
|
|
551
|
+
user: Prisma.$UserPayload<ExtArgs>;
|
|
552
|
+
};
|
|
553
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
554
|
+
id: string;
|
|
555
|
+
highlightId: string;
|
|
556
|
+
userId: string;
|
|
557
|
+
content: string;
|
|
558
|
+
createdAt: Date;
|
|
559
|
+
updatedAt: Date;
|
|
560
|
+
}, ExtArgs["result"]["studyGuideComment"]>;
|
|
561
|
+
composites: {};
|
|
562
|
+
};
|
|
563
|
+
export type StudyGuideCommentGetPayload<S extends boolean | null | undefined | StudyGuideCommentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$StudyGuideCommentPayload, S>;
|
|
564
|
+
export type StudyGuideCommentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<StudyGuideCommentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
565
|
+
select?: StudyGuideCommentCountAggregateInputType | true;
|
|
566
|
+
};
|
|
567
|
+
export interface StudyGuideCommentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
568
|
+
[K: symbol]: {
|
|
569
|
+
types: Prisma.TypeMap<ExtArgs>['model']['StudyGuideComment'];
|
|
570
|
+
meta: {
|
|
571
|
+
name: 'StudyGuideComment';
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
/**
|
|
575
|
+
* Find zero or one StudyGuideComment that matches the filter.
|
|
576
|
+
* @param {StudyGuideCommentFindUniqueArgs} args - Arguments to find a StudyGuideComment
|
|
577
|
+
* @example
|
|
578
|
+
* // Get one StudyGuideComment
|
|
579
|
+
* const studyGuideComment = await prisma.studyGuideComment.findUnique({
|
|
580
|
+
* where: {
|
|
581
|
+
* // ... provide filter here
|
|
582
|
+
* }
|
|
583
|
+
* })
|
|
584
|
+
*/
|
|
585
|
+
findUnique<T extends StudyGuideCommentFindUniqueArgs>(args: Prisma.SelectSubset<T, StudyGuideCommentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__StudyGuideCommentClient<runtime.Types.Result.GetResult<Prisma.$StudyGuideCommentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
586
|
+
/**
|
|
587
|
+
* Find one StudyGuideComment that matches the filter or throw an error with `error.code='P2025'`
|
|
588
|
+
* if no matches were found.
|
|
589
|
+
* @param {StudyGuideCommentFindUniqueOrThrowArgs} args - Arguments to find a StudyGuideComment
|
|
590
|
+
* @example
|
|
591
|
+
* // Get one StudyGuideComment
|
|
592
|
+
* const studyGuideComment = await prisma.studyGuideComment.findUniqueOrThrow({
|
|
593
|
+
* where: {
|
|
594
|
+
* // ... provide filter here
|
|
595
|
+
* }
|
|
596
|
+
* })
|
|
597
|
+
*/
|
|
598
|
+
findUniqueOrThrow<T extends StudyGuideCommentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, StudyGuideCommentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__StudyGuideCommentClient<runtime.Types.Result.GetResult<Prisma.$StudyGuideCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
599
|
+
/**
|
|
600
|
+
* Find the first StudyGuideComment that matches the filter.
|
|
601
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
602
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
603
|
+
* @param {StudyGuideCommentFindFirstArgs} args - Arguments to find a StudyGuideComment
|
|
604
|
+
* @example
|
|
605
|
+
* // Get one StudyGuideComment
|
|
606
|
+
* const studyGuideComment = await prisma.studyGuideComment.findFirst({
|
|
607
|
+
* where: {
|
|
608
|
+
* // ... provide filter here
|
|
609
|
+
* }
|
|
610
|
+
* })
|
|
611
|
+
*/
|
|
612
|
+
findFirst<T extends StudyGuideCommentFindFirstArgs>(args?: Prisma.SelectSubset<T, StudyGuideCommentFindFirstArgs<ExtArgs>>): Prisma.Prisma__StudyGuideCommentClient<runtime.Types.Result.GetResult<Prisma.$StudyGuideCommentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
613
|
+
/**
|
|
614
|
+
* Find the first StudyGuideComment that matches the filter or
|
|
615
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
616
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
617
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
618
|
+
* @param {StudyGuideCommentFindFirstOrThrowArgs} args - Arguments to find a StudyGuideComment
|
|
619
|
+
* @example
|
|
620
|
+
* // Get one StudyGuideComment
|
|
621
|
+
* const studyGuideComment = await prisma.studyGuideComment.findFirstOrThrow({
|
|
622
|
+
* where: {
|
|
623
|
+
* // ... provide filter here
|
|
624
|
+
* }
|
|
625
|
+
* })
|
|
626
|
+
*/
|
|
627
|
+
findFirstOrThrow<T extends StudyGuideCommentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, StudyGuideCommentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__StudyGuideCommentClient<runtime.Types.Result.GetResult<Prisma.$StudyGuideCommentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
628
|
+
/**
|
|
629
|
+
* Find zero or more StudyGuideComments that matches the filter.
|
|
630
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
631
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
632
|
+
* @param {StudyGuideCommentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
633
|
+
* @example
|
|
634
|
+
* // Get all StudyGuideComments
|
|
635
|
+
* const studyGuideComments = await prisma.studyGuideComment.findMany()
|
|
636
|
+
*
|
|
637
|
+
* // Get first 10 StudyGuideComments
|
|
638
|
+
* const studyGuideComments = await prisma.studyGuideComment.findMany({ take: 10 })
|
|
639
|
+
*
|
|
640
|
+
* // Only select the `id`
|
|
641
|
+
* const studyGuideCommentWithIdOnly = await prisma.studyGuideComment.findMany({ select: { id: true } })
|
|
642
|
+
*
|
|
643
|
+
*/
|
|
644
|
+
findMany<T extends StudyGuideCommentFindManyArgs>(args?: Prisma.SelectSubset<T, StudyGuideCommentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StudyGuideCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
645
|
+
/**
|
|
646
|
+
* Create a StudyGuideComment.
|
|
647
|
+
* @param {StudyGuideCommentCreateArgs} args - Arguments to create a StudyGuideComment.
|
|
648
|
+
* @example
|
|
649
|
+
* // Create one StudyGuideComment
|
|
650
|
+
* const StudyGuideComment = await prisma.studyGuideComment.create({
|
|
651
|
+
* data: {
|
|
652
|
+
* // ... data to create a StudyGuideComment
|
|
653
|
+
* }
|
|
654
|
+
* })
|
|
655
|
+
*
|
|
656
|
+
*/
|
|
657
|
+
create<T extends StudyGuideCommentCreateArgs>(args: Prisma.SelectSubset<T, StudyGuideCommentCreateArgs<ExtArgs>>): Prisma.Prisma__StudyGuideCommentClient<runtime.Types.Result.GetResult<Prisma.$StudyGuideCommentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
658
|
+
/**
|
|
659
|
+
* Create many StudyGuideComments.
|
|
660
|
+
* @param {StudyGuideCommentCreateManyArgs} args - Arguments to create many StudyGuideComments.
|
|
661
|
+
* @example
|
|
662
|
+
* // Create many StudyGuideComments
|
|
663
|
+
* const studyGuideComment = await prisma.studyGuideComment.createMany({
|
|
664
|
+
* data: [
|
|
665
|
+
* // ... provide data here
|
|
666
|
+
* ]
|
|
667
|
+
* })
|
|
668
|
+
*
|
|
669
|
+
*/
|
|
670
|
+
createMany<T extends StudyGuideCommentCreateManyArgs>(args?: Prisma.SelectSubset<T, StudyGuideCommentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
671
|
+
/**
|
|
672
|
+
* Create many StudyGuideComments and returns the data saved in the database.
|
|
673
|
+
* @param {StudyGuideCommentCreateManyAndReturnArgs} args - Arguments to create many StudyGuideComments.
|
|
674
|
+
* @example
|
|
675
|
+
* // Create many StudyGuideComments
|
|
676
|
+
* const studyGuideComment = await prisma.studyGuideComment.createManyAndReturn({
|
|
677
|
+
* data: [
|
|
678
|
+
* // ... provide data here
|
|
679
|
+
* ]
|
|
680
|
+
* })
|
|
681
|
+
*
|
|
682
|
+
* // Create many StudyGuideComments and only return the `id`
|
|
683
|
+
* const studyGuideCommentWithIdOnly = await prisma.studyGuideComment.createManyAndReturn({
|
|
684
|
+
* select: { id: true },
|
|
685
|
+
* data: [
|
|
686
|
+
* // ... provide data here
|
|
687
|
+
* ]
|
|
688
|
+
* })
|
|
689
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
690
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
691
|
+
*
|
|
692
|
+
*/
|
|
693
|
+
createManyAndReturn<T extends StudyGuideCommentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, StudyGuideCommentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StudyGuideCommentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
694
|
+
/**
|
|
695
|
+
* Delete a StudyGuideComment.
|
|
696
|
+
* @param {StudyGuideCommentDeleteArgs} args - Arguments to delete one StudyGuideComment.
|
|
697
|
+
* @example
|
|
698
|
+
* // Delete one StudyGuideComment
|
|
699
|
+
* const StudyGuideComment = await prisma.studyGuideComment.delete({
|
|
700
|
+
* where: {
|
|
701
|
+
* // ... filter to delete one StudyGuideComment
|
|
702
|
+
* }
|
|
703
|
+
* })
|
|
704
|
+
*
|
|
705
|
+
*/
|
|
706
|
+
delete<T extends StudyGuideCommentDeleteArgs>(args: Prisma.SelectSubset<T, StudyGuideCommentDeleteArgs<ExtArgs>>): Prisma.Prisma__StudyGuideCommentClient<runtime.Types.Result.GetResult<Prisma.$StudyGuideCommentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
707
|
+
/**
|
|
708
|
+
* Update one StudyGuideComment.
|
|
709
|
+
* @param {StudyGuideCommentUpdateArgs} args - Arguments to update one StudyGuideComment.
|
|
710
|
+
* @example
|
|
711
|
+
* // Update one StudyGuideComment
|
|
712
|
+
* const studyGuideComment = await prisma.studyGuideComment.update({
|
|
713
|
+
* where: {
|
|
714
|
+
* // ... provide filter here
|
|
715
|
+
* },
|
|
716
|
+
* data: {
|
|
717
|
+
* // ... provide data here
|
|
718
|
+
* }
|
|
719
|
+
* })
|
|
720
|
+
*
|
|
721
|
+
*/
|
|
722
|
+
update<T extends StudyGuideCommentUpdateArgs>(args: Prisma.SelectSubset<T, StudyGuideCommentUpdateArgs<ExtArgs>>): Prisma.Prisma__StudyGuideCommentClient<runtime.Types.Result.GetResult<Prisma.$StudyGuideCommentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
723
|
+
/**
|
|
724
|
+
* Delete zero or more StudyGuideComments.
|
|
725
|
+
* @param {StudyGuideCommentDeleteManyArgs} args - Arguments to filter StudyGuideComments to delete.
|
|
726
|
+
* @example
|
|
727
|
+
* // Delete a few StudyGuideComments
|
|
728
|
+
* const { count } = await prisma.studyGuideComment.deleteMany({
|
|
729
|
+
* where: {
|
|
730
|
+
* // ... provide filter here
|
|
731
|
+
* }
|
|
732
|
+
* })
|
|
733
|
+
*
|
|
734
|
+
*/
|
|
735
|
+
deleteMany<T extends StudyGuideCommentDeleteManyArgs>(args?: Prisma.SelectSubset<T, StudyGuideCommentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
736
|
+
/**
|
|
737
|
+
* Update zero or more StudyGuideComments.
|
|
738
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
739
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
740
|
+
* @param {StudyGuideCommentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
741
|
+
* @example
|
|
742
|
+
* // Update many StudyGuideComments
|
|
743
|
+
* const studyGuideComment = await prisma.studyGuideComment.updateMany({
|
|
744
|
+
* where: {
|
|
745
|
+
* // ... provide filter here
|
|
746
|
+
* },
|
|
747
|
+
* data: {
|
|
748
|
+
* // ... provide data here
|
|
749
|
+
* }
|
|
750
|
+
* })
|
|
751
|
+
*
|
|
752
|
+
*/
|
|
753
|
+
updateMany<T extends StudyGuideCommentUpdateManyArgs>(args: Prisma.SelectSubset<T, StudyGuideCommentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
754
|
+
/**
|
|
755
|
+
* Update zero or more StudyGuideComments and returns the data updated in the database.
|
|
756
|
+
* @param {StudyGuideCommentUpdateManyAndReturnArgs} args - Arguments to update many StudyGuideComments.
|
|
757
|
+
* @example
|
|
758
|
+
* // Update many StudyGuideComments
|
|
759
|
+
* const studyGuideComment = await prisma.studyGuideComment.updateManyAndReturn({
|
|
760
|
+
* where: {
|
|
761
|
+
* // ... provide filter here
|
|
762
|
+
* },
|
|
763
|
+
* data: [
|
|
764
|
+
* // ... provide data here
|
|
765
|
+
* ]
|
|
766
|
+
* })
|
|
767
|
+
*
|
|
768
|
+
* // Update zero or more StudyGuideComments and only return the `id`
|
|
769
|
+
* const studyGuideCommentWithIdOnly = await prisma.studyGuideComment.updateManyAndReturn({
|
|
770
|
+
* select: { id: true },
|
|
771
|
+
* where: {
|
|
772
|
+
* // ... provide filter here
|
|
773
|
+
* },
|
|
774
|
+
* data: [
|
|
775
|
+
* // ... provide data here
|
|
776
|
+
* ]
|
|
777
|
+
* })
|
|
778
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
779
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
780
|
+
*
|
|
781
|
+
*/
|
|
782
|
+
updateManyAndReturn<T extends StudyGuideCommentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, StudyGuideCommentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StudyGuideCommentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
783
|
+
/**
|
|
784
|
+
* Create or update one StudyGuideComment.
|
|
785
|
+
* @param {StudyGuideCommentUpsertArgs} args - Arguments to update or create a StudyGuideComment.
|
|
786
|
+
* @example
|
|
787
|
+
* // Update or create a StudyGuideComment
|
|
788
|
+
* const studyGuideComment = await prisma.studyGuideComment.upsert({
|
|
789
|
+
* create: {
|
|
790
|
+
* // ... data to create a StudyGuideComment
|
|
791
|
+
* },
|
|
792
|
+
* update: {
|
|
793
|
+
* // ... in case it already exists, update
|
|
794
|
+
* },
|
|
795
|
+
* where: {
|
|
796
|
+
* // ... the filter for the StudyGuideComment we want to update
|
|
797
|
+
* }
|
|
798
|
+
* })
|
|
799
|
+
*/
|
|
800
|
+
upsert<T extends StudyGuideCommentUpsertArgs>(args: Prisma.SelectSubset<T, StudyGuideCommentUpsertArgs<ExtArgs>>): Prisma.Prisma__StudyGuideCommentClient<runtime.Types.Result.GetResult<Prisma.$StudyGuideCommentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
801
|
+
/**
|
|
802
|
+
* Count the number of StudyGuideComments.
|
|
803
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
804
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
805
|
+
* @param {StudyGuideCommentCountArgs} args - Arguments to filter StudyGuideComments to count.
|
|
806
|
+
* @example
|
|
807
|
+
* // Count the number of StudyGuideComments
|
|
808
|
+
* const count = await prisma.studyGuideComment.count({
|
|
809
|
+
* where: {
|
|
810
|
+
* // ... the filter for the StudyGuideComments we want to count
|
|
811
|
+
* }
|
|
812
|
+
* })
|
|
813
|
+
**/
|
|
814
|
+
count<T extends StudyGuideCommentCountArgs>(args?: Prisma.Subset<T, StudyGuideCommentCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], StudyGuideCommentCountAggregateOutputType> : number>;
|
|
815
|
+
/**
|
|
816
|
+
* Allows you to perform aggregations operations on a StudyGuideComment.
|
|
817
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
818
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
819
|
+
* @param {StudyGuideCommentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
820
|
+
* @example
|
|
821
|
+
* // Ordered by age ascending
|
|
822
|
+
* // Where email contains prisma.io
|
|
823
|
+
* // Limited to the 10 users
|
|
824
|
+
* const aggregations = await prisma.user.aggregate({
|
|
825
|
+
* _avg: {
|
|
826
|
+
* age: true,
|
|
827
|
+
* },
|
|
828
|
+
* where: {
|
|
829
|
+
* email: {
|
|
830
|
+
* contains: "prisma.io",
|
|
831
|
+
* },
|
|
832
|
+
* },
|
|
833
|
+
* orderBy: {
|
|
834
|
+
* age: "asc",
|
|
835
|
+
* },
|
|
836
|
+
* take: 10,
|
|
837
|
+
* })
|
|
838
|
+
**/
|
|
839
|
+
aggregate<T extends StudyGuideCommentAggregateArgs>(args: Prisma.Subset<T, StudyGuideCommentAggregateArgs>): Prisma.PrismaPromise<GetStudyGuideCommentAggregateType<T>>;
|
|
840
|
+
/**
|
|
841
|
+
* Group by StudyGuideComment.
|
|
842
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
843
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
844
|
+
* @param {StudyGuideCommentGroupByArgs} args - Group by arguments.
|
|
845
|
+
* @example
|
|
846
|
+
* // Group by city, order by createdAt, get count
|
|
847
|
+
* const result = await prisma.user.groupBy({
|
|
848
|
+
* by: ['city', 'createdAt'],
|
|
849
|
+
* orderBy: {
|
|
850
|
+
* createdAt: true
|
|
851
|
+
* },
|
|
852
|
+
* _count: {
|
|
853
|
+
* _all: true
|
|
854
|
+
* },
|
|
855
|
+
* })
|
|
856
|
+
*
|
|
857
|
+
**/
|
|
858
|
+
groupBy<T extends StudyGuideCommentGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
859
|
+
orderBy: StudyGuideCommentGroupByArgs['orderBy'];
|
|
860
|
+
} : {
|
|
861
|
+
orderBy?: StudyGuideCommentGroupByArgs['orderBy'];
|
|
862
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
863
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
864
|
+
Error,
|
|
865
|
+
'Field ',
|
|
866
|
+
P,
|
|
867
|
+
` in "having" needs to be provided in "by"`
|
|
868
|
+
];
|
|
869
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
870
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
871
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
872
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
873
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
874
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
875
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, StudyGuideCommentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetStudyGuideCommentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
876
|
+
/**
|
|
877
|
+
* Fields of the StudyGuideComment model
|
|
878
|
+
*/
|
|
879
|
+
readonly fields: StudyGuideCommentFieldRefs;
|
|
880
|
+
}
|
|
881
|
+
/**
|
|
882
|
+
* The delegate class that acts as a "Promise-like" for StudyGuideComment.
|
|
883
|
+
* Why is this prefixed with `Prisma__`?
|
|
884
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
885
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
886
|
+
*/
|
|
887
|
+
export interface Prisma__StudyGuideCommentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
888
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
889
|
+
highlight<T extends Prisma.StudyGuideHighlightDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.StudyGuideHighlightDefaultArgs<ExtArgs>>): Prisma.Prisma__StudyGuideHighlightClient<runtime.Types.Result.GetResult<Prisma.$StudyGuideHighlightPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
890
|
+
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
891
|
+
/**
|
|
892
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
893
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
894
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
895
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
896
|
+
*/
|
|
897
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
898
|
+
/**
|
|
899
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
900
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
901
|
+
* @returns A Promise for the completion of the callback.
|
|
902
|
+
*/
|
|
903
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
904
|
+
/**
|
|
905
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
906
|
+
* resolved value cannot be modified from the callback.
|
|
907
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
908
|
+
* @returns A Promise for the completion of the callback.
|
|
909
|
+
*/
|
|
910
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
911
|
+
}
|
|
912
|
+
/**
|
|
913
|
+
* Fields of the StudyGuideComment model
|
|
914
|
+
*/
|
|
915
|
+
export interface StudyGuideCommentFieldRefs {
|
|
916
|
+
readonly id: Prisma.FieldRef<"StudyGuideComment", 'String'>;
|
|
917
|
+
readonly highlightId: Prisma.FieldRef<"StudyGuideComment", 'String'>;
|
|
918
|
+
readonly userId: Prisma.FieldRef<"StudyGuideComment", 'String'>;
|
|
919
|
+
readonly content: Prisma.FieldRef<"StudyGuideComment", 'String'>;
|
|
920
|
+
readonly createdAt: Prisma.FieldRef<"StudyGuideComment", 'DateTime'>;
|
|
921
|
+
readonly updatedAt: Prisma.FieldRef<"StudyGuideComment", 'DateTime'>;
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* StudyGuideComment findUnique
|
|
925
|
+
*/
|
|
926
|
+
export type StudyGuideCommentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
927
|
+
/**
|
|
928
|
+
* Select specific fields to fetch from the StudyGuideComment
|
|
929
|
+
*/
|
|
930
|
+
select?: Prisma.StudyGuideCommentSelect<ExtArgs> | null;
|
|
931
|
+
/**
|
|
932
|
+
* Omit specific fields from the StudyGuideComment
|
|
933
|
+
*/
|
|
934
|
+
omit?: Prisma.StudyGuideCommentOmit<ExtArgs> | null;
|
|
935
|
+
/**
|
|
936
|
+
* Choose, which related nodes to fetch as well
|
|
937
|
+
*/
|
|
938
|
+
include?: Prisma.StudyGuideCommentInclude<ExtArgs> | null;
|
|
939
|
+
/**
|
|
940
|
+
* Filter, which StudyGuideComment to fetch.
|
|
941
|
+
*/
|
|
942
|
+
where: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
943
|
+
};
|
|
944
|
+
/**
|
|
945
|
+
* StudyGuideComment findUniqueOrThrow
|
|
946
|
+
*/
|
|
947
|
+
export type StudyGuideCommentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
948
|
+
/**
|
|
949
|
+
* Select specific fields to fetch from the StudyGuideComment
|
|
950
|
+
*/
|
|
951
|
+
select?: Prisma.StudyGuideCommentSelect<ExtArgs> | null;
|
|
952
|
+
/**
|
|
953
|
+
* Omit specific fields from the StudyGuideComment
|
|
954
|
+
*/
|
|
955
|
+
omit?: Prisma.StudyGuideCommentOmit<ExtArgs> | null;
|
|
956
|
+
/**
|
|
957
|
+
* Choose, which related nodes to fetch as well
|
|
958
|
+
*/
|
|
959
|
+
include?: Prisma.StudyGuideCommentInclude<ExtArgs> | null;
|
|
960
|
+
/**
|
|
961
|
+
* Filter, which StudyGuideComment to fetch.
|
|
962
|
+
*/
|
|
963
|
+
where: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
964
|
+
};
|
|
965
|
+
/**
|
|
966
|
+
* StudyGuideComment findFirst
|
|
967
|
+
*/
|
|
968
|
+
export type StudyGuideCommentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
969
|
+
/**
|
|
970
|
+
* Select specific fields to fetch from the StudyGuideComment
|
|
971
|
+
*/
|
|
972
|
+
select?: Prisma.StudyGuideCommentSelect<ExtArgs> | null;
|
|
973
|
+
/**
|
|
974
|
+
* Omit specific fields from the StudyGuideComment
|
|
975
|
+
*/
|
|
976
|
+
omit?: Prisma.StudyGuideCommentOmit<ExtArgs> | null;
|
|
977
|
+
/**
|
|
978
|
+
* Choose, which related nodes to fetch as well
|
|
979
|
+
*/
|
|
980
|
+
include?: Prisma.StudyGuideCommentInclude<ExtArgs> | null;
|
|
981
|
+
/**
|
|
982
|
+
* Filter, which StudyGuideComment to fetch.
|
|
983
|
+
*/
|
|
984
|
+
where?: Prisma.StudyGuideCommentWhereInput;
|
|
985
|
+
/**
|
|
986
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
987
|
+
*
|
|
988
|
+
* Determine the order of StudyGuideComments to fetch.
|
|
989
|
+
*/
|
|
990
|
+
orderBy?: Prisma.StudyGuideCommentOrderByWithRelationInput | Prisma.StudyGuideCommentOrderByWithRelationInput[];
|
|
991
|
+
/**
|
|
992
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
993
|
+
*
|
|
994
|
+
* Sets the position for searching for StudyGuideComments.
|
|
995
|
+
*/
|
|
996
|
+
cursor?: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
997
|
+
/**
|
|
998
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
999
|
+
*
|
|
1000
|
+
* Take `±n` StudyGuideComments from the position of the cursor.
|
|
1001
|
+
*/
|
|
1002
|
+
take?: number;
|
|
1003
|
+
/**
|
|
1004
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1005
|
+
*
|
|
1006
|
+
* Skip the first `n` StudyGuideComments.
|
|
1007
|
+
*/
|
|
1008
|
+
skip?: number;
|
|
1009
|
+
/**
|
|
1010
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1011
|
+
*
|
|
1012
|
+
* Filter by unique combinations of StudyGuideComments.
|
|
1013
|
+
*/
|
|
1014
|
+
distinct?: Prisma.StudyGuideCommentScalarFieldEnum | Prisma.StudyGuideCommentScalarFieldEnum[];
|
|
1015
|
+
};
|
|
1016
|
+
/**
|
|
1017
|
+
* StudyGuideComment findFirstOrThrow
|
|
1018
|
+
*/
|
|
1019
|
+
export type StudyGuideCommentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1020
|
+
/**
|
|
1021
|
+
* Select specific fields to fetch from the StudyGuideComment
|
|
1022
|
+
*/
|
|
1023
|
+
select?: Prisma.StudyGuideCommentSelect<ExtArgs> | null;
|
|
1024
|
+
/**
|
|
1025
|
+
* Omit specific fields from the StudyGuideComment
|
|
1026
|
+
*/
|
|
1027
|
+
omit?: Prisma.StudyGuideCommentOmit<ExtArgs> | null;
|
|
1028
|
+
/**
|
|
1029
|
+
* Choose, which related nodes to fetch as well
|
|
1030
|
+
*/
|
|
1031
|
+
include?: Prisma.StudyGuideCommentInclude<ExtArgs> | null;
|
|
1032
|
+
/**
|
|
1033
|
+
* Filter, which StudyGuideComment to fetch.
|
|
1034
|
+
*/
|
|
1035
|
+
where?: Prisma.StudyGuideCommentWhereInput;
|
|
1036
|
+
/**
|
|
1037
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1038
|
+
*
|
|
1039
|
+
* Determine the order of StudyGuideComments to fetch.
|
|
1040
|
+
*/
|
|
1041
|
+
orderBy?: Prisma.StudyGuideCommentOrderByWithRelationInput | Prisma.StudyGuideCommentOrderByWithRelationInput[];
|
|
1042
|
+
/**
|
|
1043
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1044
|
+
*
|
|
1045
|
+
* Sets the position for searching for StudyGuideComments.
|
|
1046
|
+
*/
|
|
1047
|
+
cursor?: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
1048
|
+
/**
|
|
1049
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1050
|
+
*
|
|
1051
|
+
* Take `±n` StudyGuideComments from the position of the cursor.
|
|
1052
|
+
*/
|
|
1053
|
+
take?: number;
|
|
1054
|
+
/**
|
|
1055
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1056
|
+
*
|
|
1057
|
+
* Skip the first `n` StudyGuideComments.
|
|
1058
|
+
*/
|
|
1059
|
+
skip?: number;
|
|
1060
|
+
/**
|
|
1061
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1062
|
+
*
|
|
1063
|
+
* Filter by unique combinations of StudyGuideComments.
|
|
1064
|
+
*/
|
|
1065
|
+
distinct?: Prisma.StudyGuideCommentScalarFieldEnum | Prisma.StudyGuideCommentScalarFieldEnum[];
|
|
1066
|
+
};
|
|
1067
|
+
/**
|
|
1068
|
+
* StudyGuideComment findMany
|
|
1069
|
+
*/
|
|
1070
|
+
export type StudyGuideCommentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1071
|
+
/**
|
|
1072
|
+
* Select specific fields to fetch from the StudyGuideComment
|
|
1073
|
+
*/
|
|
1074
|
+
select?: Prisma.StudyGuideCommentSelect<ExtArgs> | null;
|
|
1075
|
+
/**
|
|
1076
|
+
* Omit specific fields from the StudyGuideComment
|
|
1077
|
+
*/
|
|
1078
|
+
omit?: Prisma.StudyGuideCommentOmit<ExtArgs> | null;
|
|
1079
|
+
/**
|
|
1080
|
+
* Choose, which related nodes to fetch as well
|
|
1081
|
+
*/
|
|
1082
|
+
include?: Prisma.StudyGuideCommentInclude<ExtArgs> | null;
|
|
1083
|
+
/**
|
|
1084
|
+
* Filter, which StudyGuideComments to fetch.
|
|
1085
|
+
*/
|
|
1086
|
+
where?: Prisma.StudyGuideCommentWhereInput;
|
|
1087
|
+
/**
|
|
1088
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1089
|
+
*
|
|
1090
|
+
* Determine the order of StudyGuideComments to fetch.
|
|
1091
|
+
*/
|
|
1092
|
+
orderBy?: Prisma.StudyGuideCommentOrderByWithRelationInput | Prisma.StudyGuideCommentOrderByWithRelationInput[];
|
|
1093
|
+
/**
|
|
1094
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1095
|
+
*
|
|
1096
|
+
* Sets the position for listing StudyGuideComments.
|
|
1097
|
+
*/
|
|
1098
|
+
cursor?: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
1099
|
+
/**
|
|
1100
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1101
|
+
*
|
|
1102
|
+
* Take `±n` StudyGuideComments from the position of the cursor.
|
|
1103
|
+
*/
|
|
1104
|
+
take?: number;
|
|
1105
|
+
/**
|
|
1106
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1107
|
+
*
|
|
1108
|
+
* Skip the first `n` StudyGuideComments.
|
|
1109
|
+
*/
|
|
1110
|
+
skip?: number;
|
|
1111
|
+
/**
|
|
1112
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1113
|
+
*
|
|
1114
|
+
* Filter by unique combinations of StudyGuideComments.
|
|
1115
|
+
*/
|
|
1116
|
+
distinct?: Prisma.StudyGuideCommentScalarFieldEnum | Prisma.StudyGuideCommentScalarFieldEnum[];
|
|
1117
|
+
};
|
|
1118
|
+
/**
|
|
1119
|
+
* StudyGuideComment create
|
|
1120
|
+
*/
|
|
1121
|
+
export type StudyGuideCommentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1122
|
+
/**
|
|
1123
|
+
* Select specific fields to fetch from the StudyGuideComment
|
|
1124
|
+
*/
|
|
1125
|
+
select?: Prisma.StudyGuideCommentSelect<ExtArgs> | null;
|
|
1126
|
+
/**
|
|
1127
|
+
* Omit specific fields from the StudyGuideComment
|
|
1128
|
+
*/
|
|
1129
|
+
omit?: Prisma.StudyGuideCommentOmit<ExtArgs> | null;
|
|
1130
|
+
/**
|
|
1131
|
+
* Choose, which related nodes to fetch as well
|
|
1132
|
+
*/
|
|
1133
|
+
include?: Prisma.StudyGuideCommentInclude<ExtArgs> | null;
|
|
1134
|
+
/**
|
|
1135
|
+
* The data needed to create a StudyGuideComment.
|
|
1136
|
+
*/
|
|
1137
|
+
data: Prisma.XOR<Prisma.StudyGuideCommentCreateInput, Prisma.StudyGuideCommentUncheckedCreateInput>;
|
|
1138
|
+
};
|
|
1139
|
+
/**
|
|
1140
|
+
* StudyGuideComment createMany
|
|
1141
|
+
*/
|
|
1142
|
+
export type StudyGuideCommentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1143
|
+
/**
|
|
1144
|
+
* The data used to create many StudyGuideComments.
|
|
1145
|
+
*/
|
|
1146
|
+
data: Prisma.StudyGuideCommentCreateManyInput | Prisma.StudyGuideCommentCreateManyInput[];
|
|
1147
|
+
skipDuplicates?: boolean;
|
|
1148
|
+
};
|
|
1149
|
+
/**
|
|
1150
|
+
* StudyGuideComment createManyAndReturn
|
|
1151
|
+
*/
|
|
1152
|
+
export type StudyGuideCommentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1153
|
+
/**
|
|
1154
|
+
* Select specific fields to fetch from the StudyGuideComment
|
|
1155
|
+
*/
|
|
1156
|
+
select?: Prisma.StudyGuideCommentSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1157
|
+
/**
|
|
1158
|
+
* Omit specific fields from the StudyGuideComment
|
|
1159
|
+
*/
|
|
1160
|
+
omit?: Prisma.StudyGuideCommentOmit<ExtArgs> | null;
|
|
1161
|
+
/**
|
|
1162
|
+
* The data used to create many StudyGuideComments.
|
|
1163
|
+
*/
|
|
1164
|
+
data: Prisma.StudyGuideCommentCreateManyInput | Prisma.StudyGuideCommentCreateManyInput[];
|
|
1165
|
+
skipDuplicates?: boolean;
|
|
1166
|
+
/**
|
|
1167
|
+
* Choose, which related nodes to fetch as well
|
|
1168
|
+
*/
|
|
1169
|
+
include?: Prisma.StudyGuideCommentIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1170
|
+
};
|
|
1171
|
+
/**
|
|
1172
|
+
* StudyGuideComment update
|
|
1173
|
+
*/
|
|
1174
|
+
export type StudyGuideCommentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1175
|
+
/**
|
|
1176
|
+
* Select specific fields to fetch from the StudyGuideComment
|
|
1177
|
+
*/
|
|
1178
|
+
select?: Prisma.StudyGuideCommentSelect<ExtArgs> | null;
|
|
1179
|
+
/**
|
|
1180
|
+
* Omit specific fields from the StudyGuideComment
|
|
1181
|
+
*/
|
|
1182
|
+
omit?: Prisma.StudyGuideCommentOmit<ExtArgs> | null;
|
|
1183
|
+
/**
|
|
1184
|
+
* Choose, which related nodes to fetch as well
|
|
1185
|
+
*/
|
|
1186
|
+
include?: Prisma.StudyGuideCommentInclude<ExtArgs> | null;
|
|
1187
|
+
/**
|
|
1188
|
+
* The data needed to update a StudyGuideComment.
|
|
1189
|
+
*/
|
|
1190
|
+
data: Prisma.XOR<Prisma.StudyGuideCommentUpdateInput, Prisma.StudyGuideCommentUncheckedUpdateInput>;
|
|
1191
|
+
/**
|
|
1192
|
+
* Choose, which StudyGuideComment to update.
|
|
1193
|
+
*/
|
|
1194
|
+
where: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
1195
|
+
};
|
|
1196
|
+
/**
|
|
1197
|
+
* StudyGuideComment updateMany
|
|
1198
|
+
*/
|
|
1199
|
+
export type StudyGuideCommentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1200
|
+
/**
|
|
1201
|
+
* The data used to update StudyGuideComments.
|
|
1202
|
+
*/
|
|
1203
|
+
data: Prisma.XOR<Prisma.StudyGuideCommentUpdateManyMutationInput, Prisma.StudyGuideCommentUncheckedUpdateManyInput>;
|
|
1204
|
+
/**
|
|
1205
|
+
* Filter which StudyGuideComments to update
|
|
1206
|
+
*/
|
|
1207
|
+
where?: Prisma.StudyGuideCommentWhereInput;
|
|
1208
|
+
/**
|
|
1209
|
+
* Limit how many StudyGuideComments to update.
|
|
1210
|
+
*/
|
|
1211
|
+
limit?: number;
|
|
1212
|
+
};
|
|
1213
|
+
/**
|
|
1214
|
+
* StudyGuideComment updateManyAndReturn
|
|
1215
|
+
*/
|
|
1216
|
+
export type StudyGuideCommentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1217
|
+
/**
|
|
1218
|
+
* Select specific fields to fetch from the StudyGuideComment
|
|
1219
|
+
*/
|
|
1220
|
+
select?: Prisma.StudyGuideCommentSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1221
|
+
/**
|
|
1222
|
+
* Omit specific fields from the StudyGuideComment
|
|
1223
|
+
*/
|
|
1224
|
+
omit?: Prisma.StudyGuideCommentOmit<ExtArgs> | null;
|
|
1225
|
+
/**
|
|
1226
|
+
* The data used to update StudyGuideComments.
|
|
1227
|
+
*/
|
|
1228
|
+
data: Prisma.XOR<Prisma.StudyGuideCommentUpdateManyMutationInput, Prisma.StudyGuideCommentUncheckedUpdateManyInput>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Filter which StudyGuideComments to update
|
|
1231
|
+
*/
|
|
1232
|
+
where?: Prisma.StudyGuideCommentWhereInput;
|
|
1233
|
+
/**
|
|
1234
|
+
* Limit how many StudyGuideComments to update.
|
|
1235
|
+
*/
|
|
1236
|
+
limit?: number;
|
|
1237
|
+
/**
|
|
1238
|
+
* Choose, which related nodes to fetch as well
|
|
1239
|
+
*/
|
|
1240
|
+
include?: Prisma.StudyGuideCommentIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1241
|
+
};
|
|
1242
|
+
/**
|
|
1243
|
+
* StudyGuideComment upsert
|
|
1244
|
+
*/
|
|
1245
|
+
export type StudyGuideCommentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1246
|
+
/**
|
|
1247
|
+
* Select specific fields to fetch from the StudyGuideComment
|
|
1248
|
+
*/
|
|
1249
|
+
select?: Prisma.StudyGuideCommentSelect<ExtArgs> | null;
|
|
1250
|
+
/**
|
|
1251
|
+
* Omit specific fields from the StudyGuideComment
|
|
1252
|
+
*/
|
|
1253
|
+
omit?: Prisma.StudyGuideCommentOmit<ExtArgs> | null;
|
|
1254
|
+
/**
|
|
1255
|
+
* Choose, which related nodes to fetch as well
|
|
1256
|
+
*/
|
|
1257
|
+
include?: Prisma.StudyGuideCommentInclude<ExtArgs> | null;
|
|
1258
|
+
/**
|
|
1259
|
+
* The filter to search for the StudyGuideComment to update in case it exists.
|
|
1260
|
+
*/
|
|
1261
|
+
where: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
1262
|
+
/**
|
|
1263
|
+
* In case the StudyGuideComment found by the `where` argument doesn't exist, create a new StudyGuideComment with this data.
|
|
1264
|
+
*/
|
|
1265
|
+
create: Prisma.XOR<Prisma.StudyGuideCommentCreateInput, Prisma.StudyGuideCommentUncheckedCreateInput>;
|
|
1266
|
+
/**
|
|
1267
|
+
* In case the StudyGuideComment was found with the provided `where` argument, update it with this data.
|
|
1268
|
+
*/
|
|
1269
|
+
update: Prisma.XOR<Prisma.StudyGuideCommentUpdateInput, Prisma.StudyGuideCommentUncheckedUpdateInput>;
|
|
1270
|
+
};
|
|
1271
|
+
/**
|
|
1272
|
+
* StudyGuideComment delete
|
|
1273
|
+
*/
|
|
1274
|
+
export type StudyGuideCommentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1275
|
+
/**
|
|
1276
|
+
* Select specific fields to fetch from the StudyGuideComment
|
|
1277
|
+
*/
|
|
1278
|
+
select?: Prisma.StudyGuideCommentSelect<ExtArgs> | null;
|
|
1279
|
+
/**
|
|
1280
|
+
* Omit specific fields from the StudyGuideComment
|
|
1281
|
+
*/
|
|
1282
|
+
omit?: Prisma.StudyGuideCommentOmit<ExtArgs> | null;
|
|
1283
|
+
/**
|
|
1284
|
+
* Choose, which related nodes to fetch as well
|
|
1285
|
+
*/
|
|
1286
|
+
include?: Prisma.StudyGuideCommentInclude<ExtArgs> | null;
|
|
1287
|
+
/**
|
|
1288
|
+
* Filter which StudyGuideComment to delete.
|
|
1289
|
+
*/
|
|
1290
|
+
where: Prisma.StudyGuideCommentWhereUniqueInput;
|
|
1291
|
+
};
|
|
1292
|
+
/**
|
|
1293
|
+
* StudyGuideComment deleteMany
|
|
1294
|
+
*/
|
|
1295
|
+
export type StudyGuideCommentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1296
|
+
/**
|
|
1297
|
+
* Filter which StudyGuideComments to delete
|
|
1298
|
+
*/
|
|
1299
|
+
where?: Prisma.StudyGuideCommentWhereInput;
|
|
1300
|
+
/**
|
|
1301
|
+
* Limit how many StudyGuideComments to delete.
|
|
1302
|
+
*/
|
|
1303
|
+
limit?: number;
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* StudyGuideComment without action
|
|
1307
|
+
*/
|
|
1308
|
+
export type StudyGuideCommentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1309
|
+
/**
|
|
1310
|
+
* Select specific fields to fetch from the StudyGuideComment
|
|
1311
|
+
*/
|
|
1312
|
+
select?: Prisma.StudyGuideCommentSelect<ExtArgs> | null;
|
|
1313
|
+
/**
|
|
1314
|
+
* Omit specific fields from the StudyGuideComment
|
|
1315
|
+
*/
|
|
1316
|
+
omit?: Prisma.StudyGuideCommentOmit<ExtArgs> | null;
|
|
1317
|
+
/**
|
|
1318
|
+
* Choose, which related nodes to fetch as well
|
|
1319
|
+
*/
|
|
1320
|
+
include?: Prisma.StudyGuideCommentInclude<ExtArgs> | null;
|
|
1321
|
+
};
|