@trycompai/db 1.3.22-canary.0 → 2.0.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/client.d.ts +2 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -5
- package/dist/client.ts +5 -2
- package/dist/generated/prisma/client.d.ts +427 -0
- package/dist/generated/prisma/client.d.ts.map +1 -0
- package/dist/generated/prisma/client.js +73 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +2082 -0
- package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -0
- package/dist/generated/prisma/commonInputTypes.js +11 -0
- package/dist/generated/prisma/enums.d.ts +367 -0
- package/dist/generated/prisma/enums.d.ts.map +1 -0
- package/dist/generated/prisma/enums.js +329 -0
- package/dist/generated/prisma/internal/class.d.ts +1000 -0
- package/dist/generated/prisma/internal/class.d.ts.map +1 -0
- package/dist/generated/prisma/internal/class.js +87 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +8063 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +1256 -0
- package/dist/generated/prisma/models/Account.d.ts +1456 -0
- package/dist/generated/prisma/models/Account.d.ts.map +1 -0
- package/dist/generated/prisma/models/Account.js +2 -0
- package/dist/generated/prisma/models/ApiKey.d.ts +1387 -0
- package/dist/generated/prisma/models/ApiKey.d.ts.map +1 -0
- package/dist/generated/prisma/models/ApiKey.js +2 -0
- package/dist/generated/prisma/models/Attachment.d.ts +1520 -0
- package/dist/generated/prisma/models/Attachment.d.ts.map +1 -0
- package/dist/generated/prisma/models/Attachment.js +2 -0
- package/dist/generated/prisma/models/AuditLog.d.ts +1590 -0
- package/dist/generated/prisma/models/AuditLog.d.ts.map +1 -0
- package/dist/generated/prisma/models/AuditLog.js +2 -0
- package/dist/generated/prisma/models/BrowserAutomation.d.ts +1507 -0
- package/dist/generated/prisma/models/BrowserAutomation.d.ts.map +1 -0
- package/dist/generated/prisma/models/BrowserAutomation.js +2 -0
- package/dist/generated/prisma/models/BrowserAutomationRun.d.ts +1455 -0
- package/dist/generated/prisma/models/BrowserAutomationRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/BrowserAutomationRun.js +2 -0
- package/dist/generated/prisma/models/BrowserbaseContext.d.ts +1139 -0
- package/dist/generated/prisma/models/BrowserbaseContext.d.ts.map +1 -0
- package/dist/generated/prisma/models/BrowserbaseContext.js +2 -0
- package/dist/generated/prisma/models/Comment.d.ts +1502 -0
- package/dist/generated/prisma/models/Comment.d.ts.map +1 -0
- package/dist/generated/prisma/models/Comment.js +2 -0
- package/dist/generated/prisma/models/Context.d.ts +1254 -0
- package/dist/generated/prisma/models/Context.d.ts.map +1 -0
- package/dist/generated/prisma/models/Context.js +2 -0
- package/dist/generated/prisma/models/Control.d.ts +1965 -0
- package/dist/generated/prisma/models/Control.d.ts.map +1 -0
- package/dist/generated/prisma/models/Control.js +2 -0
- package/dist/generated/prisma/models/ControlDocumentType.d.ts +1115 -0
- package/dist/generated/prisma/models/ControlDocumentType.d.ts.map +1 -0
- package/dist/generated/prisma/models/ControlDocumentType.js +2 -0
- package/dist/generated/prisma/models/Device.d.ts +1858 -0
- package/dist/generated/prisma/models/Device.d.ts.map +1 -0
- package/dist/generated/prisma/models/Device.js +2 -0
- package/dist/generated/prisma/models/DynamicCheck.d.ts +1517 -0
- package/dist/generated/prisma/models/DynamicCheck.d.ts.map +1 -0
- package/dist/generated/prisma/models/DynamicCheck.js +2 -0
- package/dist/generated/prisma/models/DynamicIntegration.d.ts +1528 -0
- package/dist/generated/prisma/models/DynamicIntegration.d.ts.map +1 -0
- package/dist/generated/prisma/models/DynamicIntegration.js +2 -0
- package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.d.ts +1146 -0
- package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.d.ts.map +1 -0
- package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.js +2 -0
- package/dist/generated/prisma/models/EvidenceAutomation.d.ts +1533 -0
- package/dist/generated/prisma/models/EvidenceAutomation.d.ts.map +1 -0
- package/dist/generated/prisma/models/EvidenceAutomation.js +2 -0
- package/dist/generated/prisma/models/EvidenceAutomationRun.d.ts +1833 -0
- package/dist/generated/prisma/models/EvidenceAutomationRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/EvidenceAutomationRun.js +2 -0
- package/dist/generated/prisma/models/EvidenceAutomationVersion.d.ts +1331 -0
- package/dist/generated/prisma/models/EvidenceAutomationVersion.d.ts.map +1 -0
- package/dist/generated/prisma/models/EvidenceAutomationVersion.js +2 -0
- package/dist/generated/prisma/models/EvidenceSubmission.d.ts +1905 -0
- package/dist/generated/prisma/models/EvidenceSubmission.d.ts.map +1 -0
- package/dist/generated/prisma/models/EvidenceSubmission.js +2 -0
- package/dist/generated/prisma/models/Finding.d.ts +2386 -0
- package/dist/generated/prisma/models/Finding.d.ts.map +1 -0
- package/dist/generated/prisma/models/Finding.js +2 -0
- package/dist/generated/prisma/models/FindingTemplate.d.ts +1264 -0
- package/dist/generated/prisma/models/FindingTemplate.d.ts.map +1 -0
- package/dist/generated/prisma/models/FindingTemplate.js +2 -0
- package/dist/generated/prisma/models/FleetPolicyResult.d.ts +1484 -0
- package/dist/generated/prisma/models/FleetPolicyResult.d.ts.map +1 -0
- package/dist/generated/prisma/models/FleetPolicyResult.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorControlTemplate.d.ts +1669 -0
- package/dist/generated/prisma/models/FrameworkEditorControlTemplate.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorControlTemplate.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorFramework.d.ts +1581 -0
- package/dist/generated/prisma/models/FrameworkEditorFramework.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorFramework.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.d.ts +1428 -0
- package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorRequirement.d.ts +1525 -0
- package/dist/generated/prisma/models/FrameworkEditorRequirement.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorRequirement.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.d.ts +1434 -0
- package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.js +2 -0
- package/dist/generated/prisma/models/FrameworkEditorVideo.d.ts +1054 -0
- package/dist/generated/prisma/models/FrameworkEditorVideo.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkEditorVideo.js +2 -0
- package/dist/generated/prisma/models/FrameworkInstance.d.ts +1321 -0
- package/dist/generated/prisma/models/FrameworkInstance.d.ts.map +1 -0
- package/dist/generated/prisma/models/FrameworkInstance.js +2 -0
- package/dist/generated/prisma/models/GlobalVendors.d.ts +1358 -0
- package/dist/generated/prisma/models/GlobalVendors.d.ts.map +1 -0
- package/dist/generated/prisma/models/GlobalVendors.js +2 -0
- package/dist/generated/prisma/models/Integration.d.ts +1363 -0
- package/dist/generated/prisma/models/Integration.d.ts.map +1 -0
- package/dist/generated/prisma/models/Integration.js +2 -0
- package/dist/generated/prisma/models/IntegrationCheckResult.d.ts +1408 -0
- package/dist/generated/prisma/models/IntegrationCheckResult.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationCheckResult.js +2 -0
- package/dist/generated/prisma/models/IntegrationCheckRun.d.ts +1958 -0
- package/dist/generated/prisma/models/IntegrationCheckRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationCheckRun.js +2 -0
- package/dist/generated/prisma/models/IntegrationConnection.d.ts +2472 -0
- package/dist/generated/prisma/models/IntegrationConnection.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationConnection.js +2 -0
- package/dist/generated/prisma/models/IntegrationCredentialVersion.d.ts +1298 -0
- package/dist/generated/prisma/models/IntegrationCredentialVersion.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationCredentialVersion.js +2 -0
- package/dist/generated/prisma/models/IntegrationOAuthApp.d.ts +1362 -0
- package/dist/generated/prisma/models/IntegrationOAuthApp.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationOAuthApp.js +2 -0
- package/dist/generated/prisma/models/IntegrationOAuthState.d.ts +1131 -0
- package/dist/generated/prisma/models/IntegrationOAuthState.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationOAuthState.js +2 -0
- package/dist/generated/prisma/models/IntegrationPlatformCredential.d.ts +1237 -0
- package/dist/generated/prisma/models/IntegrationPlatformCredential.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationPlatformCredential.js +2 -0
- package/dist/generated/prisma/models/IntegrationPlatformFinding.d.ts +1652 -0
- package/dist/generated/prisma/models/IntegrationPlatformFinding.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationPlatformFinding.js +2 -0
- package/dist/generated/prisma/models/IntegrationProvider.d.ts +1300 -0
- package/dist/generated/prisma/models/IntegrationProvider.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationProvider.js +2 -0
- package/dist/generated/prisma/models/IntegrationResult.d.ts +1539 -0
- package/dist/generated/prisma/models/IntegrationResult.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationResult.js +2 -0
- package/dist/generated/prisma/models/IntegrationRun.d.ts +1596 -0
- package/dist/generated/prisma/models/IntegrationRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationRun.js +2 -0
- package/dist/generated/prisma/models/IntegrationSyncLog.d.ts +1716 -0
- package/dist/generated/prisma/models/IntegrationSyncLog.d.ts.map +1 -0
- package/dist/generated/prisma/models/IntegrationSyncLog.js +2 -0
- package/dist/generated/prisma/models/Invitation.d.ts +1404 -0
- package/dist/generated/prisma/models/Invitation.d.ts.map +1 -0
- package/dist/generated/prisma/models/Invitation.js +2 -0
- package/dist/generated/prisma/models/Jwks.d.ts +998 -0
- package/dist/generated/prisma/models/Jwks.d.ts.map +1 -0
- package/dist/generated/prisma/models/Jwks.js +2 -0
- package/dist/generated/prisma/models/KnowledgeBaseDocument.d.ts +1463 -0
- package/dist/generated/prisma/models/KnowledgeBaseDocument.d.ts.map +1 -0
- package/dist/generated/prisma/models/KnowledgeBaseDocument.js +2 -0
- package/dist/generated/prisma/models/Member.d.ts +5530 -0
- package/dist/generated/prisma/models/Member.d.ts.map +1 -0
- package/dist/generated/prisma/models/Member.js +2 -0
- package/dist/generated/prisma/models/Onboarding.d.ts +1376 -0
- package/dist/generated/prisma/models/Onboarding.d.ts.map +1 -0
- package/dist/generated/prisma/models/Onboarding.js +2 -0
- package/dist/generated/prisma/models/Organization.d.ts +14367 -0
- package/dist/generated/prisma/models/Organization.d.ts.map +1 -0
- package/dist/generated/prisma/models/Organization.js +2 -0
- package/dist/generated/prisma/models/OrganizationBilling.d.ts +1222 -0
- package/dist/generated/prisma/models/OrganizationBilling.d.ts.map +1 -0
- package/dist/generated/prisma/models/OrganizationBilling.js +2 -0
- package/dist/generated/prisma/models/OrganizationChart.d.ts +1248 -0
- package/dist/generated/prisma/models/OrganizationChart.d.ts.map +1 -0
- package/dist/generated/prisma/models/OrganizationChart.js +2 -0
- package/dist/generated/prisma/models/OrganizationRole.d.ts +1251 -0
- package/dist/generated/prisma/models/OrganizationRole.d.ts.map +1 -0
- package/dist/generated/prisma/models/OrganizationRole.js +2 -0
- package/dist/generated/prisma/models/PentestSubscription.d.ts +1497 -0
- package/dist/generated/prisma/models/PentestSubscription.d.ts.map +1 -0
- package/dist/generated/prisma/models/PentestSubscription.js +2 -0
- package/dist/generated/prisma/models/Policy.d.ts +3356 -0
- package/dist/generated/prisma/models/Policy.d.ts.map +1 -0
- package/dist/generated/prisma/models/Policy.js +2 -0
- package/dist/generated/prisma/models/PolicyVersion.d.ts +1619 -0
- package/dist/generated/prisma/models/PolicyVersion.d.ts.map +1 -0
- package/dist/generated/prisma/models/PolicyVersion.js +2 -0
- package/dist/generated/prisma/models/Questionnaire.d.ts +1808 -0
- package/dist/generated/prisma/models/Questionnaire.d.ts.map +1 -0
- package/dist/generated/prisma/models/Questionnaire.js +2 -0
- package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.d.ts +1422 -0
- package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.d.ts.map +1 -0
- package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.js +2 -0
- package/dist/generated/prisma/models/RequirementMap.d.ts +1345 -0
- package/dist/generated/prisma/models/RequirementMap.d.ts.map +1 -0
- package/dist/generated/prisma/models/RequirementMap.js +2 -0
- package/dist/generated/prisma/models/Risk.d.ts +1975 -0
- package/dist/generated/prisma/models/Risk.d.ts.map +1 -0
- package/dist/generated/prisma/models/Risk.js +2 -0
- package/dist/generated/prisma/models/RoleNotificationSetting.d.ts +1391 -0
- package/dist/generated/prisma/models/RoleNotificationSetting.d.ts.map +1 -0
- package/dist/generated/prisma/models/RoleNotificationSetting.js +2 -0
- package/dist/generated/prisma/models/SOAAnswer.d.ts +1498 -0
- package/dist/generated/prisma/models/SOAAnswer.d.ts.map +1 -0
- package/dist/generated/prisma/models/SOAAnswer.js +2 -0
- package/dist/generated/prisma/models/SOADocument.d.ts +2272 -0
- package/dist/generated/prisma/models/SOADocument.d.ts.map +1 -0
- package/dist/generated/prisma/models/SOADocument.js +2 -0
- package/dist/generated/prisma/models/SOAFrameworkConfiguration.d.ts +1445 -0
- package/dist/generated/prisma/models/SOAFrameworkConfiguration.d.ts.map +1 -0
- package/dist/generated/prisma/models/SOAFrameworkConfiguration.js +2 -0
- package/dist/generated/prisma/models/Secret.d.ts +1321 -0
- package/dist/generated/prisma/models/Secret.d.ts.map +1 -0
- package/dist/generated/prisma/models/Secret.js +2 -0
- package/dist/generated/prisma/models/SecurityPenetrationTestRun.d.ts +1176 -0
- package/dist/generated/prisma/models/SecurityPenetrationTestRun.d.ts.map +1 -0
- package/dist/generated/prisma/models/SecurityPenetrationTestRun.js +2 -0
- package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.d.ts +1510 -0
- package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.d.ts.map +1 -0
- package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.js +2 -0
- package/dist/generated/prisma/models/Session.d.ts +1351 -0
- package/dist/generated/prisma/models/Session.d.ts.map +1 -0
- package/dist/generated/prisma/models/Session.js +2 -0
- package/dist/generated/prisma/models/Task.d.ts +3980 -0
- package/dist/generated/prisma/models/Task.d.ts.map +1 -0
- package/dist/generated/prisma/models/Task.js +2 -0
- package/dist/generated/prisma/models/TaskItem.d.ts +1961 -0
- package/dist/generated/prisma/models/TaskItem.d.ts.map +1 -0
- package/dist/generated/prisma/models/TaskItem.js +2 -0
- package/dist/generated/prisma/models/Trust.d.ts +2242 -0
- package/dist/generated/prisma/models/Trust.d.ts.map +1 -0
- package/dist/generated/prisma/models/Trust.js +2 -0
- package/dist/generated/prisma/models/TrustAccessGrant.d.ts +1888 -0
- package/dist/generated/prisma/models/TrustAccessGrant.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustAccessGrant.js +2 -0
- package/dist/generated/prisma/models/TrustAccessRequest.d.ts +2103 -0
- package/dist/generated/prisma/models/TrustAccessRequest.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustAccessRequest.js +2 -0
- package/dist/generated/prisma/models/TrustCustomLink.d.ts +1354 -0
- package/dist/generated/prisma/models/TrustCustomLink.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustCustomLink.js +2 -0
- package/dist/generated/prisma/models/TrustDocument.d.ts +1281 -0
- package/dist/generated/prisma/models/TrustDocument.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustDocument.js +2 -0
- package/dist/generated/prisma/models/TrustNDAAgreement.d.ts +1877 -0
- package/dist/generated/prisma/models/TrustNDAAgreement.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustNDAAgreement.js +2 -0
- package/dist/generated/prisma/models/TrustResource.d.ts +1328 -0
- package/dist/generated/prisma/models/TrustResource.d.ts.map +1 -0
- package/dist/generated/prisma/models/TrustResource.js +2 -0
- package/dist/generated/prisma/models/User.d.ts +3070 -0
- package/dist/generated/prisma/models/User.d.ts.map +1 -0
- package/dist/generated/prisma/models/User.js +2 -0
- package/dist/generated/prisma/models/Vendor.d.ts +2307 -0
- package/dist/generated/prisma/models/Vendor.d.ts.map +1 -0
- package/dist/generated/prisma/models/Vendor.js +2 -0
- package/dist/generated/prisma/models/VendorContact.d.ts +1246 -0
- package/dist/generated/prisma/models/VendorContact.d.ts.map +1 -0
- package/dist/generated/prisma/models/VendorContact.js +2 -0
- package/dist/generated/prisma/models/Verification.d.ts +1026 -0
- package/dist/generated/prisma/models/Verification.d.ts.map +1 -0
- package/dist/generated/prisma/models/Verification.js +2 -0
- package/dist/generated/prisma/models.d.ts +82 -0
- package/dist/generated/prisma/models.d.ts.map +1 -0
- package/dist/generated/prisma/models.js +2 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -3
- package/dist/index.ts +1 -2
- package/dist/postinstall.js +1 -1
- package/dist/schema.prisma +458 -39
- package/package.json +56 -55
|
@@ -0,0 +1,1264 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model FindingTemplate
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type FindingTemplateModel = runtime.Types.Result.DefaultSelection<Prisma.$FindingTemplatePayload>;
|
|
8
|
+
export type AggregateFindingTemplate = {
|
|
9
|
+
_count: FindingTemplateCountAggregateOutputType | null;
|
|
10
|
+
_avg: FindingTemplateAvgAggregateOutputType | null;
|
|
11
|
+
_sum: FindingTemplateSumAggregateOutputType | null;
|
|
12
|
+
_min: FindingTemplateMinAggregateOutputType | null;
|
|
13
|
+
_max: FindingTemplateMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type FindingTemplateAvgAggregateOutputType = {
|
|
16
|
+
order: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type FindingTemplateSumAggregateOutputType = {
|
|
19
|
+
order: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type FindingTemplateMinAggregateOutputType = {
|
|
22
|
+
id: string | null;
|
|
23
|
+
category: string | null;
|
|
24
|
+
title: string | null;
|
|
25
|
+
content: string | null;
|
|
26
|
+
order: number | null;
|
|
27
|
+
createdAt: Date | null;
|
|
28
|
+
updatedAt: Date | null;
|
|
29
|
+
};
|
|
30
|
+
export type FindingTemplateMaxAggregateOutputType = {
|
|
31
|
+
id: string | null;
|
|
32
|
+
category: string | null;
|
|
33
|
+
title: string | null;
|
|
34
|
+
content: string | null;
|
|
35
|
+
order: number | null;
|
|
36
|
+
createdAt: Date | null;
|
|
37
|
+
updatedAt: Date | null;
|
|
38
|
+
};
|
|
39
|
+
export type FindingTemplateCountAggregateOutputType = {
|
|
40
|
+
id: number;
|
|
41
|
+
category: number;
|
|
42
|
+
title: number;
|
|
43
|
+
content: number;
|
|
44
|
+
order: number;
|
|
45
|
+
createdAt: number;
|
|
46
|
+
updatedAt: number;
|
|
47
|
+
_all: number;
|
|
48
|
+
};
|
|
49
|
+
export type FindingTemplateAvgAggregateInputType = {
|
|
50
|
+
order?: true;
|
|
51
|
+
};
|
|
52
|
+
export type FindingTemplateSumAggregateInputType = {
|
|
53
|
+
order?: true;
|
|
54
|
+
};
|
|
55
|
+
export type FindingTemplateMinAggregateInputType = {
|
|
56
|
+
id?: true;
|
|
57
|
+
category?: true;
|
|
58
|
+
title?: true;
|
|
59
|
+
content?: true;
|
|
60
|
+
order?: true;
|
|
61
|
+
createdAt?: true;
|
|
62
|
+
updatedAt?: true;
|
|
63
|
+
};
|
|
64
|
+
export type FindingTemplateMaxAggregateInputType = {
|
|
65
|
+
id?: true;
|
|
66
|
+
category?: true;
|
|
67
|
+
title?: true;
|
|
68
|
+
content?: true;
|
|
69
|
+
order?: true;
|
|
70
|
+
createdAt?: true;
|
|
71
|
+
updatedAt?: true;
|
|
72
|
+
};
|
|
73
|
+
export type FindingTemplateCountAggregateInputType = {
|
|
74
|
+
id?: true;
|
|
75
|
+
category?: true;
|
|
76
|
+
title?: true;
|
|
77
|
+
content?: true;
|
|
78
|
+
order?: true;
|
|
79
|
+
createdAt?: true;
|
|
80
|
+
updatedAt?: true;
|
|
81
|
+
_all?: true;
|
|
82
|
+
};
|
|
83
|
+
export type FindingTemplateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
84
|
+
/**
|
|
85
|
+
* Filter which FindingTemplate to aggregate.
|
|
86
|
+
*/
|
|
87
|
+
where?: Prisma.FindingTemplateWhereInput;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
90
|
+
*
|
|
91
|
+
* Determine the order of FindingTemplates to fetch.
|
|
92
|
+
*/
|
|
93
|
+
orderBy?: Prisma.FindingTemplateOrderByWithRelationInput | Prisma.FindingTemplateOrderByWithRelationInput[];
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
96
|
+
*
|
|
97
|
+
* Sets the start position
|
|
98
|
+
*/
|
|
99
|
+
cursor?: Prisma.FindingTemplateWhereUniqueInput;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
102
|
+
*
|
|
103
|
+
* Take `±n` FindingTemplates from the position of the cursor.
|
|
104
|
+
*/
|
|
105
|
+
take?: number;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
108
|
+
*
|
|
109
|
+
* Skip the first `n` FindingTemplates.
|
|
110
|
+
*/
|
|
111
|
+
skip?: number;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Count returned FindingTemplates
|
|
116
|
+
**/
|
|
117
|
+
_count?: true | FindingTemplateCountAggregateInputType;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Select which fields to average
|
|
122
|
+
**/
|
|
123
|
+
_avg?: FindingTemplateAvgAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to sum
|
|
128
|
+
**/
|
|
129
|
+
_sum?: FindingTemplateSumAggregateInputType;
|
|
130
|
+
/**
|
|
131
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
132
|
+
*
|
|
133
|
+
* Select which fields to find the minimum value
|
|
134
|
+
**/
|
|
135
|
+
_min?: FindingTemplateMinAggregateInputType;
|
|
136
|
+
/**
|
|
137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
138
|
+
*
|
|
139
|
+
* Select which fields to find the maximum value
|
|
140
|
+
**/
|
|
141
|
+
_max?: FindingTemplateMaxAggregateInputType;
|
|
142
|
+
};
|
|
143
|
+
export type GetFindingTemplateAggregateType<T extends FindingTemplateAggregateArgs> = {
|
|
144
|
+
[P in keyof T & keyof AggregateFindingTemplate]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFindingTemplate[P]> : Prisma.GetScalarType<T[P], AggregateFindingTemplate[P]>;
|
|
145
|
+
};
|
|
146
|
+
export type FindingTemplateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
147
|
+
where?: Prisma.FindingTemplateWhereInput;
|
|
148
|
+
orderBy?: Prisma.FindingTemplateOrderByWithAggregationInput | Prisma.FindingTemplateOrderByWithAggregationInput[];
|
|
149
|
+
by: Prisma.FindingTemplateScalarFieldEnum[] | Prisma.FindingTemplateScalarFieldEnum;
|
|
150
|
+
having?: Prisma.FindingTemplateScalarWhereWithAggregatesInput;
|
|
151
|
+
take?: number;
|
|
152
|
+
skip?: number;
|
|
153
|
+
_count?: FindingTemplateCountAggregateInputType | true;
|
|
154
|
+
_avg?: FindingTemplateAvgAggregateInputType;
|
|
155
|
+
_sum?: FindingTemplateSumAggregateInputType;
|
|
156
|
+
_min?: FindingTemplateMinAggregateInputType;
|
|
157
|
+
_max?: FindingTemplateMaxAggregateInputType;
|
|
158
|
+
};
|
|
159
|
+
export type FindingTemplateGroupByOutputType = {
|
|
160
|
+
id: string;
|
|
161
|
+
category: string;
|
|
162
|
+
title: string;
|
|
163
|
+
content: string;
|
|
164
|
+
order: number;
|
|
165
|
+
createdAt: Date;
|
|
166
|
+
updatedAt: Date;
|
|
167
|
+
_count: FindingTemplateCountAggregateOutputType | null;
|
|
168
|
+
_avg: FindingTemplateAvgAggregateOutputType | null;
|
|
169
|
+
_sum: FindingTemplateSumAggregateOutputType | null;
|
|
170
|
+
_min: FindingTemplateMinAggregateOutputType | null;
|
|
171
|
+
_max: FindingTemplateMaxAggregateOutputType | null;
|
|
172
|
+
};
|
|
173
|
+
export type GetFindingTemplateGroupByPayload<T extends FindingTemplateGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<FindingTemplateGroupByOutputType, T['by']> & {
|
|
174
|
+
[P in ((keyof T) & (keyof FindingTemplateGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], FindingTemplateGroupByOutputType[P]> : Prisma.GetScalarType<T[P], FindingTemplateGroupByOutputType[P]>;
|
|
175
|
+
}>>;
|
|
176
|
+
export type FindingTemplateWhereInput = {
|
|
177
|
+
AND?: Prisma.FindingTemplateWhereInput | Prisma.FindingTemplateWhereInput[];
|
|
178
|
+
OR?: Prisma.FindingTemplateWhereInput[];
|
|
179
|
+
NOT?: Prisma.FindingTemplateWhereInput | Prisma.FindingTemplateWhereInput[];
|
|
180
|
+
id?: Prisma.StringFilter<"FindingTemplate"> | string;
|
|
181
|
+
category?: Prisma.StringFilter<"FindingTemplate"> | string;
|
|
182
|
+
title?: Prisma.StringFilter<"FindingTemplate"> | string;
|
|
183
|
+
content?: Prisma.StringFilter<"FindingTemplate"> | string;
|
|
184
|
+
order?: Prisma.IntFilter<"FindingTemplate"> | number;
|
|
185
|
+
createdAt?: Prisma.DateTimeFilter<"FindingTemplate"> | Date | string;
|
|
186
|
+
updatedAt?: Prisma.DateTimeFilter<"FindingTemplate"> | Date | string;
|
|
187
|
+
findings?: Prisma.FindingListRelationFilter;
|
|
188
|
+
};
|
|
189
|
+
export type FindingTemplateOrderByWithRelationInput = {
|
|
190
|
+
id?: Prisma.SortOrder;
|
|
191
|
+
category?: Prisma.SortOrder;
|
|
192
|
+
title?: Prisma.SortOrder;
|
|
193
|
+
content?: Prisma.SortOrder;
|
|
194
|
+
order?: Prisma.SortOrder;
|
|
195
|
+
createdAt?: Prisma.SortOrder;
|
|
196
|
+
updatedAt?: Prisma.SortOrder;
|
|
197
|
+
findings?: Prisma.FindingOrderByRelationAggregateInput;
|
|
198
|
+
};
|
|
199
|
+
export type FindingTemplateWhereUniqueInput = Prisma.AtLeast<{
|
|
200
|
+
id?: string;
|
|
201
|
+
AND?: Prisma.FindingTemplateWhereInput | Prisma.FindingTemplateWhereInput[];
|
|
202
|
+
OR?: Prisma.FindingTemplateWhereInput[];
|
|
203
|
+
NOT?: Prisma.FindingTemplateWhereInput | Prisma.FindingTemplateWhereInput[];
|
|
204
|
+
category?: Prisma.StringFilter<"FindingTemplate"> | string;
|
|
205
|
+
title?: Prisma.StringFilter<"FindingTemplate"> | string;
|
|
206
|
+
content?: Prisma.StringFilter<"FindingTemplate"> | string;
|
|
207
|
+
order?: Prisma.IntFilter<"FindingTemplate"> | number;
|
|
208
|
+
createdAt?: Prisma.DateTimeFilter<"FindingTemplate"> | Date | string;
|
|
209
|
+
updatedAt?: Prisma.DateTimeFilter<"FindingTemplate"> | Date | string;
|
|
210
|
+
findings?: Prisma.FindingListRelationFilter;
|
|
211
|
+
}, "id">;
|
|
212
|
+
export type FindingTemplateOrderByWithAggregationInput = {
|
|
213
|
+
id?: Prisma.SortOrder;
|
|
214
|
+
category?: Prisma.SortOrder;
|
|
215
|
+
title?: Prisma.SortOrder;
|
|
216
|
+
content?: Prisma.SortOrder;
|
|
217
|
+
order?: Prisma.SortOrder;
|
|
218
|
+
createdAt?: Prisma.SortOrder;
|
|
219
|
+
updatedAt?: Prisma.SortOrder;
|
|
220
|
+
_count?: Prisma.FindingTemplateCountOrderByAggregateInput;
|
|
221
|
+
_avg?: Prisma.FindingTemplateAvgOrderByAggregateInput;
|
|
222
|
+
_max?: Prisma.FindingTemplateMaxOrderByAggregateInput;
|
|
223
|
+
_min?: Prisma.FindingTemplateMinOrderByAggregateInput;
|
|
224
|
+
_sum?: Prisma.FindingTemplateSumOrderByAggregateInput;
|
|
225
|
+
};
|
|
226
|
+
export type FindingTemplateScalarWhereWithAggregatesInput = {
|
|
227
|
+
AND?: Prisma.FindingTemplateScalarWhereWithAggregatesInput | Prisma.FindingTemplateScalarWhereWithAggregatesInput[];
|
|
228
|
+
OR?: Prisma.FindingTemplateScalarWhereWithAggregatesInput[];
|
|
229
|
+
NOT?: Prisma.FindingTemplateScalarWhereWithAggregatesInput | Prisma.FindingTemplateScalarWhereWithAggregatesInput[];
|
|
230
|
+
id?: Prisma.StringWithAggregatesFilter<"FindingTemplate"> | string;
|
|
231
|
+
category?: Prisma.StringWithAggregatesFilter<"FindingTemplate"> | string;
|
|
232
|
+
title?: Prisma.StringWithAggregatesFilter<"FindingTemplate"> | string;
|
|
233
|
+
content?: Prisma.StringWithAggregatesFilter<"FindingTemplate"> | string;
|
|
234
|
+
order?: Prisma.IntWithAggregatesFilter<"FindingTemplate"> | number;
|
|
235
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"FindingTemplate"> | Date | string;
|
|
236
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"FindingTemplate"> | Date | string;
|
|
237
|
+
};
|
|
238
|
+
export type FindingTemplateCreateInput = {
|
|
239
|
+
id?: string;
|
|
240
|
+
category: string;
|
|
241
|
+
title: string;
|
|
242
|
+
content: string;
|
|
243
|
+
order?: number;
|
|
244
|
+
createdAt?: Date | string;
|
|
245
|
+
updatedAt?: Date | string;
|
|
246
|
+
findings?: Prisma.FindingCreateNestedManyWithoutTemplateInput;
|
|
247
|
+
};
|
|
248
|
+
export type FindingTemplateUncheckedCreateInput = {
|
|
249
|
+
id?: string;
|
|
250
|
+
category: string;
|
|
251
|
+
title: string;
|
|
252
|
+
content: string;
|
|
253
|
+
order?: number;
|
|
254
|
+
createdAt?: Date | string;
|
|
255
|
+
updatedAt?: Date | string;
|
|
256
|
+
findings?: Prisma.FindingUncheckedCreateNestedManyWithoutTemplateInput;
|
|
257
|
+
};
|
|
258
|
+
export type FindingTemplateUpdateInput = {
|
|
259
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
260
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
261
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
262
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
263
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
264
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
265
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
266
|
+
findings?: Prisma.FindingUpdateManyWithoutTemplateNestedInput;
|
|
267
|
+
};
|
|
268
|
+
export type FindingTemplateUncheckedUpdateInput = {
|
|
269
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
270
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
271
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
273
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
274
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
275
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
276
|
+
findings?: Prisma.FindingUncheckedUpdateManyWithoutTemplateNestedInput;
|
|
277
|
+
};
|
|
278
|
+
export type FindingTemplateCreateManyInput = {
|
|
279
|
+
id?: string;
|
|
280
|
+
category: string;
|
|
281
|
+
title: string;
|
|
282
|
+
content: string;
|
|
283
|
+
order?: number;
|
|
284
|
+
createdAt?: Date | string;
|
|
285
|
+
updatedAt?: Date | string;
|
|
286
|
+
};
|
|
287
|
+
export type FindingTemplateUpdateManyMutationInput = {
|
|
288
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
289
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
290
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
291
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
292
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
293
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
294
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
295
|
+
};
|
|
296
|
+
export type FindingTemplateUncheckedUpdateManyInput = {
|
|
297
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
298
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
299
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
300
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
301
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
302
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
303
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
304
|
+
};
|
|
305
|
+
export type FindingTemplateCountOrderByAggregateInput = {
|
|
306
|
+
id?: Prisma.SortOrder;
|
|
307
|
+
category?: Prisma.SortOrder;
|
|
308
|
+
title?: Prisma.SortOrder;
|
|
309
|
+
content?: Prisma.SortOrder;
|
|
310
|
+
order?: Prisma.SortOrder;
|
|
311
|
+
createdAt?: Prisma.SortOrder;
|
|
312
|
+
updatedAt?: Prisma.SortOrder;
|
|
313
|
+
};
|
|
314
|
+
export type FindingTemplateAvgOrderByAggregateInput = {
|
|
315
|
+
order?: Prisma.SortOrder;
|
|
316
|
+
};
|
|
317
|
+
export type FindingTemplateMaxOrderByAggregateInput = {
|
|
318
|
+
id?: Prisma.SortOrder;
|
|
319
|
+
category?: Prisma.SortOrder;
|
|
320
|
+
title?: Prisma.SortOrder;
|
|
321
|
+
content?: Prisma.SortOrder;
|
|
322
|
+
order?: Prisma.SortOrder;
|
|
323
|
+
createdAt?: Prisma.SortOrder;
|
|
324
|
+
updatedAt?: Prisma.SortOrder;
|
|
325
|
+
};
|
|
326
|
+
export type FindingTemplateMinOrderByAggregateInput = {
|
|
327
|
+
id?: Prisma.SortOrder;
|
|
328
|
+
category?: Prisma.SortOrder;
|
|
329
|
+
title?: Prisma.SortOrder;
|
|
330
|
+
content?: Prisma.SortOrder;
|
|
331
|
+
order?: Prisma.SortOrder;
|
|
332
|
+
createdAt?: Prisma.SortOrder;
|
|
333
|
+
updatedAt?: Prisma.SortOrder;
|
|
334
|
+
};
|
|
335
|
+
export type FindingTemplateSumOrderByAggregateInput = {
|
|
336
|
+
order?: Prisma.SortOrder;
|
|
337
|
+
};
|
|
338
|
+
export type FindingTemplateNullableScalarRelationFilter = {
|
|
339
|
+
is?: Prisma.FindingTemplateWhereInput | null;
|
|
340
|
+
isNot?: Prisma.FindingTemplateWhereInput | null;
|
|
341
|
+
};
|
|
342
|
+
export type FindingTemplateCreateNestedOneWithoutFindingsInput = {
|
|
343
|
+
create?: Prisma.XOR<Prisma.FindingTemplateCreateWithoutFindingsInput, Prisma.FindingTemplateUncheckedCreateWithoutFindingsInput>;
|
|
344
|
+
connectOrCreate?: Prisma.FindingTemplateCreateOrConnectWithoutFindingsInput;
|
|
345
|
+
connect?: Prisma.FindingTemplateWhereUniqueInput;
|
|
346
|
+
};
|
|
347
|
+
export type FindingTemplateUpdateOneWithoutFindingsNestedInput = {
|
|
348
|
+
create?: Prisma.XOR<Prisma.FindingTemplateCreateWithoutFindingsInput, Prisma.FindingTemplateUncheckedCreateWithoutFindingsInput>;
|
|
349
|
+
connectOrCreate?: Prisma.FindingTemplateCreateOrConnectWithoutFindingsInput;
|
|
350
|
+
upsert?: Prisma.FindingTemplateUpsertWithoutFindingsInput;
|
|
351
|
+
disconnect?: Prisma.FindingTemplateWhereInput | boolean;
|
|
352
|
+
delete?: Prisma.FindingTemplateWhereInput | boolean;
|
|
353
|
+
connect?: Prisma.FindingTemplateWhereUniqueInput;
|
|
354
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.FindingTemplateUpdateToOneWithWhereWithoutFindingsInput, Prisma.FindingTemplateUpdateWithoutFindingsInput>, Prisma.FindingTemplateUncheckedUpdateWithoutFindingsInput>;
|
|
355
|
+
};
|
|
356
|
+
export type FindingTemplateCreateWithoutFindingsInput = {
|
|
357
|
+
id?: string;
|
|
358
|
+
category: string;
|
|
359
|
+
title: string;
|
|
360
|
+
content: string;
|
|
361
|
+
order?: number;
|
|
362
|
+
createdAt?: Date | string;
|
|
363
|
+
updatedAt?: Date | string;
|
|
364
|
+
};
|
|
365
|
+
export type FindingTemplateUncheckedCreateWithoutFindingsInput = {
|
|
366
|
+
id?: string;
|
|
367
|
+
category: string;
|
|
368
|
+
title: string;
|
|
369
|
+
content: string;
|
|
370
|
+
order?: number;
|
|
371
|
+
createdAt?: Date | string;
|
|
372
|
+
updatedAt?: Date | string;
|
|
373
|
+
};
|
|
374
|
+
export type FindingTemplateCreateOrConnectWithoutFindingsInput = {
|
|
375
|
+
where: Prisma.FindingTemplateWhereUniqueInput;
|
|
376
|
+
create: Prisma.XOR<Prisma.FindingTemplateCreateWithoutFindingsInput, Prisma.FindingTemplateUncheckedCreateWithoutFindingsInput>;
|
|
377
|
+
};
|
|
378
|
+
export type FindingTemplateUpsertWithoutFindingsInput = {
|
|
379
|
+
update: Prisma.XOR<Prisma.FindingTemplateUpdateWithoutFindingsInput, Prisma.FindingTemplateUncheckedUpdateWithoutFindingsInput>;
|
|
380
|
+
create: Prisma.XOR<Prisma.FindingTemplateCreateWithoutFindingsInput, Prisma.FindingTemplateUncheckedCreateWithoutFindingsInput>;
|
|
381
|
+
where?: Prisma.FindingTemplateWhereInput;
|
|
382
|
+
};
|
|
383
|
+
export type FindingTemplateUpdateToOneWithWhereWithoutFindingsInput = {
|
|
384
|
+
where?: Prisma.FindingTemplateWhereInput;
|
|
385
|
+
data: Prisma.XOR<Prisma.FindingTemplateUpdateWithoutFindingsInput, Prisma.FindingTemplateUncheckedUpdateWithoutFindingsInput>;
|
|
386
|
+
};
|
|
387
|
+
export type FindingTemplateUpdateWithoutFindingsInput = {
|
|
388
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
389
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
390
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
391
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
392
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
393
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
394
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
395
|
+
};
|
|
396
|
+
export type FindingTemplateUncheckedUpdateWithoutFindingsInput = {
|
|
397
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
398
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
399
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
401
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
402
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
403
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* Count Type FindingTemplateCountOutputType
|
|
407
|
+
*/
|
|
408
|
+
export type FindingTemplateCountOutputType = {
|
|
409
|
+
findings: number;
|
|
410
|
+
};
|
|
411
|
+
export type FindingTemplateCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
412
|
+
findings?: boolean | FindingTemplateCountOutputTypeCountFindingsArgs;
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* FindingTemplateCountOutputType without action
|
|
416
|
+
*/
|
|
417
|
+
export type FindingTemplateCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
418
|
+
/**
|
|
419
|
+
* Select specific fields to fetch from the FindingTemplateCountOutputType
|
|
420
|
+
*/
|
|
421
|
+
select?: Prisma.FindingTemplateCountOutputTypeSelect<ExtArgs> | null;
|
|
422
|
+
};
|
|
423
|
+
/**
|
|
424
|
+
* FindingTemplateCountOutputType without action
|
|
425
|
+
*/
|
|
426
|
+
export type FindingTemplateCountOutputTypeCountFindingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
427
|
+
where?: Prisma.FindingWhereInput;
|
|
428
|
+
};
|
|
429
|
+
export type FindingTemplateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
430
|
+
id?: boolean;
|
|
431
|
+
category?: boolean;
|
|
432
|
+
title?: boolean;
|
|
433
|
+
content?: boolean;
|
|
434
|
+
order?: boolean;
|
|
435
|
+
createdAt?: boolean;
|
|
436
|
+
updatedAt?: boolean;
|
|
437
|
+
findings?: boolean | Prisma.FindingTemplate$findingsArgs<ExtArgs>;
|
|
438
|
+
_count?: boolean | Prisma.FindingTemplateCountOutputTypeDefaultArgs<ExtArgs>;
|
|
439
|
+
}, ExtArgs["result"]["findingTemplate"]>;
|
|
440
|
+
export type FindingTemplateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
441
|
+
id?: boolean;
|
|
442
|
+
category?: boolean;
|
|
443
|
+
title?: boolean;
|
|
444
|
+
content?: boolean;
|
|
445
|
+
order?: boolean;
|
|
446
|
+
createdAt?: boolean;
|
|
447
|
+
updatedAt?: boolean;
|
|
448
|
+
}, ExtArgs["result"]["findingTemplate"]>;
|
|
449
|
+
export type FindingTemplateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
450
|
+
id?: boolean;
|
|
451
|
+
category?: boolean;
|
|
452
|
+
title?: boolean;
|
|
453
|
+
content?: boolean;
|
|
454
|
+
order?: boolean;
|
|
455
|
+
createdAt?: boolean;
|
|
456
|
+
updatedAt?: boolean;
|
|
457
|
+
}, ExtArgs["result"]["findingTemplate"]>;
|
|
458
|
+
export type FindingTemplateSelectScalar = {
|
|
459
|
+
id?: boolean;
|
|
460
|
+
category?: boolean;
|
|
461
|
+
title?: boolean;
|
|
462
|
+
content?: boolean;
|
|
463
|
+
order?: boolean;
|
|
464
|
+
createdAt?: boolean;
|
|
465
|
+
updatedAt?: boolean;
|
|
466
|
+
};
|
|
467
|
+
export type FindingTemplateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "category" | "title" | "content" | "order" | "createdAt" | "updatedAt", ExtArgs["result"]["findingTemplate"]>;
|
|
468
|
+
export type FindingTemplateInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
469
|
+
findings?: boolean | Prisma.FindingTemplate$findingsArgs<ExtArgs>;
|
|
470
|
+
_count?: boolean | Prisma.FindingTemplateCountOutputTypeDefaultArgs<ExtArgs>;
|
|
471
|
+
};
|
|
472
|
+
export type FindingTemplateIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
473
|
+
export type FindingTemplateIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
474
|
+
export type $FindingTemplatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
475
|
+
name: "FindingTemplate";
|
|
476
|
+
objects: {
|
|
477
|
+
findings: Prisma.$FindingPayload<ExtArgs>[];
|
|
478
|
+
};
|
|
479
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
480
|
+
id: string;
|
|
481
|
+
category: string;
|
|
482
|
+
title: string;
|
|
483
|
+
content: string;
|
|
484
|
+
order: number;
|
|
485
|
+
createdAt: Date;
|
|
486
|
+
updatedAt: Date;
|
|
487
|
+
}, ExtArgs["result"]["findingTemplate"]>;
|
|
488
|
+
composites: {};
|
|
489
|
+
};
|
|
490
|
+
export type FindingTemplateGetPayload<S extends boolean | null | undefined | FindingTemplateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload, S>;
|
|
491
|
+
export type FindingTemplateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<FindingTemplateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
492
|
+
select?: FindingTemplateCountAggregateInputType | true;
|
|
493
|
+
};
|
|
494
|
+
export interface FindingTemplateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
495
|
+
[K: symbol]: {
|
|
496
|
+
types: Prisma.TypeMap<ExtArgs>['model']['FindingTemplate'];
|
|
497
|
+
meta: {
|
|
498
|
+
name: 'FindingTemplate';
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
/**
|
|
502
|
+
* Find zero or one FindingTemplate that matches the filter.
|
|
503
|
+
* @param {FindingTemplateFindUniqueArgs} args - Arguments to find a FindingTemplate
|
|
504
|
+
* @example
|
|
505
|
+
* // Get one FindingTemplate
|
|
506
|
+
* const findingTemplate = await prisma.findingTemplate.findUnique({
|
|
507
|
+
* where: {
|
|
508
|
+
* // ... provide filter here
|
|
509
|
+
* }
|
|
510
|
+
* })
|
|
511
|
+
*/
|
|
512
|
+
findUnique<T extends FindingTemplateFindUniqueArgs>(args: Prisma.SelectSubset<T, FindingTemplateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FindingTemplateClient<runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
513
|
+
/**
|
|
514
|
+
* Find one FindingTemplate that matches the filter or throw an error with `error.code='P2025'`
|
|
515
|
+
* if no matches were found.
|
|
516
|
+
* @param {FindingTemplateFindUniqueOrThrowArgs} args - Arguments to find a FindingTemplate
|
|
517
|
+
* @example
|
|
518
|
+
* // Get one FindingTemplate
|
|
519
|
+
* const findingTemplate = await prisma.findingTemplate.findUniqueOrThrow({
|
|
520
|
+
* where: {
|
|
521
|
+
* // ... provide filter here
|
|
522
|
+
* }
|
|
523
|
+
* })
|
|
524
|
+
*/
|
|
525
|
+
findUniqueOrThrow<T extends FindingTemplateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FindingTemplateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FindingTemplateClient<runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
526
|
+
/**
|
|
527
|
+
* Find the first FindingTemplate that matches the filter.
|
|
528
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
529
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
530
|
+
* @param {FindingTemplateFindFirstArgs} args - Arguments to find a FindingTemplate
|
|
531
|
+
* @example
|
|
532
|
+
* // Get one FindingTemplate
|
|
533
|
+
* const findingTemplate = await prisma.findingTemplate.findFirst({
|
|
534
|
+
* where: {
|
|
535
|
+
* // ... provide filter here
|
|
536
|
+
* }
|
|
537
|
+
* })
|
|
538
|
+
*/
|
|
539
|
+
findFirst<T extends FindingTemplateFindFirstArgs>(args?: Prisma.SelectSubset<T, FindingTemplateFindFirstArgs<ExtArgs>>): Prisma.Prisma__FindingTemplateClient<runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
540
|
+
/**
|
|
541
|
+
* Find the first FindingTemplate that matches the filter or
|
|
542
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
543
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
544
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
545
|
+
* @param {FindingTemplateFindFirstOrThrowArgs} args - Arguments to find a FindingTemplate
|
|
546
|
+
* @example
|
|
547
|
+
* // Get one FindingTemplate
|
|
548
|
+
* const findingTemplate = await prisma.findingTemplate.findFirstOrThrow({
|
|
549
|
+
* where: {
|
|
550
|
+
* // ... provide filter here
|
|
551
|
+
* }
|
|
552
|
+
* })
|
|
553
|
+
*/
|
|
554
|
+
findFirstOrThrow<T extends FindingTemplateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FindingTemplateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FindingTemplateClient<runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
555
|
+
/**
|
|
556
|
+
* Find zero or more FindingTemplates that matches the filter.
|
|
557
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
558
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
559
|
+
* @param {FindingTemplateFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
560
|
+
* @example
|
|
561
|
+
* // Get all FindingTemplates
|
|
562
|
+
* const findingTemplates = await prisma.findingTemplate.findMany()
|
|
563
|
+
*
|
|
564
|
+
* // Get first 10 FindingTemplates
|
|
565
|
+
* const findingTemplates = await prisma.findingTemplate.findMany({ take: 10 })
|
|
566
|
+
*
|
|
567
|
+
* // Only select the `id`
|
|
568
|
+
* const findingTemplateWithIdOnly = await prisma.findingTemplate.findMany({ select: { id: true } })
|
|
569
|
+
*
|
|
570
|
+
*/
|
|
571
|
+
findMany<T extends FindingTemplateFindManyArgs>(args?: Prisma.SelectSubset<T, FindingTemplateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
572
|
+
/**
|
|
573
|
+
* Create a FindingTemplate.
|
|
574
|
+
* @param {FindingTemplateCreateArgs} args - Arguments to create a FindingTemplate.
|
|
575
|
+
* @example
|
|
576
|
+
* // Create one FindingTemplate
|
|
577
|
+
* const FindingTemplate = await prisma.findingTemplate.create({
|
|
578
|
+
* data: {
|
|
579
|
+
* // ... data to create a FindingTemplate
|
|
580
|
+
* }
|
|
581
|
+
* })
|
|
582
|
+
*
|
|
583
|
+
*/
|
|
584
|
+
create<T extends FindingTemplateCreateArgs>(args: Prisma.SelectSubset<T, FindingTemplateCreateArgs<ExtArgs>>): Prisma.Prisma__FindingTemplateClient<runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
585
|
+
/**
|
|
586
|
+
* Create many FindingTemplates.
|
|
587
|
+
* @param {FindingTemplateCreateManyArgs} args - Arguments to create many FindingTemplates.
|
|
588
|
+
* @example
|
|
589
|
+
* // Create many FindingTemplates
|
|
590
|
+
* const findingTemplate = await prisma.findingTemplate.createMany({
|
|
591
|
+
* data: [
|
|
592
|
+
* // ... provide data here
|
|
593
|
+
* ]
|
|
594
|
+
* })
|
|
595
|
+
*
|
|
596
|
+
*/
|
|
597
|
+
createMany<T extends FindingTemplateCreateManyArgs>(args?: Prisma.SelectSubset<T, FindingTemplateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
598
|
+
/**
|
|
599
|
+
* Create many FindingTemplates and returns the data saved in the database.
|
|
600
|
+
* @param {FindingTemplateCreateManyAndReturnArgs} args - Arguments to create many FindingTemplates.
|
|
601
|
+
* @example
|
|
602
|
+
* // Create many FindingTemplates
|
|
603
|
+
* const findingTemplate = await prisma.findingTemplate.createManyAndReturn({
|
|
604
|
+
* data: [
|
|
605
|
+
* // ... provide data here
|
|
606
|
+
* ]
|
|
607
|
+
* })
|
|
608
|
+
*
|
|
609
|
+
* // Create many FindingTemplates and only return the `id`
|
|
610
|
+
* const findingTemplateWithIdOnly = await prisma.findingTemplate.createManyAndReturn({
|
|
611
|
+
* select: { id: true },
|
|
612
|
+
* data: [
|
|
613
|
+
* // ... provide data here
|
|
614
|
+
* ]
|
|
615
|
+
* })
|
|
616
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
617
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
618
|
+
*
|
|
619
|
+
*/
|
|
620
|
+
createManyAndReturn<T extends FindingTemplateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FindingTemplateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
621
|
+
/**
|
|
622
|
+
* Delete a FindingTemplate.
|
|
623
|
+
* @param {FindingTemplateDeleteArgs} args - Arguments to delete one FindingTemplate.
|
|
624
|
+
* @example
|
|
625
|
+
* // Delete one FindingTemplate
|
|
626
|
+
* const FindingTemplate = await prisma.findingTemplate.delete({
|
|
627
|
+
* where: {
|
|
628
|
+
* // ... filter to delete one FindingTemplate
|
|
629
|
+
* }
|
|
630
|
+
* })
|
|
631
|
+
*
|
|
632
|
+
*/
|
|
633
|
+
delete<T extends FindingTemplateDeleteArgs>(args: Prisma.SelectSubset<T, FindingTemplateDeleteArgs<ExtArgs>>): Prisma.Prisma__FindingTemplateClient<runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
634
|
+
/**
|
|
635
|
+
* Update one FindingTemplate.
|
|
636
|
+
* @param {FindingTemplateUpdateArgs} args - Arguments to update one FindingTemplate.
|
|
637
|
+
* @example
|
|
638
|
+
* // Update one FindingTemplate
|
|
639
|
+
* const findingTemplate = await prisma.findingTemplate.update({
|
|
640
|
+
* where: {
|
|
641
|
+
* // ... provide filter here
|
|
642
|
+
* },
|
|
643
|
+
* data: {
|
|
644
|
+
* // ... provide data here
|
|
645
|
+
* }
|
|
646
|
+
* })
|
|
647
|
+
*
|
|
648
|
+
*/
|
|
649
|
+
update<T extends FindingTemplateUpdateArgs>(args: Prisma.SelectSubset<T, FindingTemplateUpdateArgs<ExtArgs>>): Prisma.Prisma__FindingTemplateClient<runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
650
|
+
/**
|
|
651
|
+
* Delete zero or more FindingTemplates.
|
|
652
|
+
* @param {FindingTemplateDeleteManyArgs} args - Arguments to filter FindingTemplates to delete.
|
|
653
|
+
* @example
|
|
654
|
+
* // Delete a few FindingTemplates
|
|
655
|
+
* const { count } = await prisma.findingTemplate.deleteMany({
|
|
656
|
+
* where: {
|
|
657
|
+
* // ... provide filter here
|
|
658
|
+
* }
|
|
659
|
+
* })
|
|
660
|
+
*
|
|
661
|
+
*/
|
|
662
|
+
deleteMany<T extends FindingTemplateDeleteManyArgs>(args?: Prisma.SelectSubset<T, FindingTemplateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
663
|
+
/**
|
|
664
|
+
* Update zero or more FindingTemplates.
|
|
665
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
666
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
667
|
+
* @param {FindingTemplateUpdateManyArgs} args - Arguments to update one or more rows.
|
|
668
|
+
* @example
|
|
669
|
+
* // Update many FindingTemplates
|
|
670
|
+
* const findingTemplate = await prisma.findingTemplate.updateMany({
|
|
671
|
+
* where: {
|
|
672
|
+
* // ... provide filter here
|
|
673
|
+
* },
|
|
674
|
+
* data: {
|
|
675
|
+
* // ... provide data here
|
|
676
|
+
* }
|
|
677
|
+
* })
|
|
678
|
+
*
|
|
679
|
+
*/
|
|
680
|
+
updateMany<T extends FindingTemplateUpdateManyArgs>(args: Prisma.SelectSubset<T, FindingTemplateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
681
|
+
/**
|
|
682
|
+
* Update zero or more FindingTemplates and returns the data updated in the database.
|
|
683
|
+
* @param {FindingTemplateUpdateManyAndReturnArgs} args - Arguments to update many FindingTemplates.
|
|
684
|
+
* @example
|
|
685
|
+
* // Update many FindingTemplates
|
|
686
|
+
* const findingTemplate = await prisma.findingTemplate.updateManyAndReturn({
|
|
687
|
+
* where: {
|
|
688
|
+
* // ... provide filter here
|
|
689
|
+
* },
|
|
690
|
+
* data: [
|
|
691
|
+
* // ... provide data here
|
|
692
|
+
* ]
|
|
693
|
+
* })
|
|
694
|
+
*
|
|
695
|
+
* // Update zero or more FindingTemplates and only return the `id`
|
|
696
|
+
* const findingTemplateWithIdOnly = await prisma.findingTemplate.updateManyAndReturn({
|
|
697
|
+
* select: { id: true },
|
|
698
|
+
* where: {
|
|
699
|
+
* // ... provide filter here
|
|
700
|
+
* },
|
|
701
|
+
* data: [
|
|
702
|
+
* // ... provide data here
|
|
703
|
+
* ]
|
|
704
|
+
* })
|
|
705
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
706
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
707
|
+
*
|
|
708
|
+
*/
|
|
709
|
+
updateManyAndReturn<T extends FindingTemplateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FindingTemplateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
710
|
+
/**
|
|
711
|
+
* Create or update one FindingTemplate.
|
|
712
|
+
* @param {FindingTemplateUpsertArgs} args - Arguments to update or create a FindingTemplate.
|
|
713
|
+
* @example
|
|
714
|
+
* // Update or create a FindingTemplate
|
|
715
|
+
* const findingTemplate = await prisma.findingTemplate.upsert({
|
|
716
|
+
* create: {
|
|
717
|
+
* // ... data to create a FindingTemplate
|
|
718
|
+
* },
|
|
719
|
+
* update: {
|
|
720
|
+
* // ... in case it already exists, update
|
|
721
|
+
* },
|
|
722
|
+
* where: {
|
|
723
|
+
* // ... the filter for the FindingTemplate we want to update
|
|
724
|
+
* }
|
|
725
|
+
* })
|
|
726
|
+
*/
|
|
727
|
+
upsert<T extends FindingTemplateUpsertArgs>(args: Prisma.SelectSubset<T, FindingTemplateUpsertArgs<ExtArgs>>): Prisma.Prisma__FindingTemplateClient<runtime.Types.Result.GetResult<Prisma.$FindingTemplatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
728
|
+
/**
|
|
729
|
+
* Count the number of FindingTemplates.
|
|
730
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
731
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
732
|
+
* @param {FindingTemplateCountArgs} args - Arguments to filter FindingTemplates to count.
|
|
733
|
+
* @example
|
|
734
|
+
* // Count the number of FindingTemplates
|
|
735
|
+
* const count = await prisma.findingTemplate.count({
|
|
736
|
+
* where: {
|
|
737
|
+
* // ... the filter for the FindingTemplates we want to count
|
|
738
|
+
* }
|
|
739
|
+
* })
|
|
740
|
+
**/
|
|
741
|
+
count<T extends FindingTemplateCountArgs>(args?: Prisma.Subset<T, FindingTemplateCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], FindingTemplateCountAggregateOutputType> : number>;
|
|
742
|
+
/**
|
|
743
|
+
* Allows you to perform aggregations operations on a FindingTemplate.
|
|
744
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
745
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
746
|
+
* @param {FindingTemplateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
747
|
+
* @example
|
|
748
|
+
* // Ordered by age ascending
|
|
749
|
+
* // Where email contains prisma.io
|
|
750
|
+
* // Limited to the 10 users
|
|
751
|
+
* const aggregations = await prisma.user.aggregate({
|
|
752
|
+
* _avg: {
|
|
753
|
+
* age: true,
|
|
754
|
+
* },
|
|
755
|
+
* where: {
|
|
756
|
+
* email: {
|
|
757
|
+
* contains: "prisma.io",
|
|
758
|
+
* },
|
|
759
|
+
* },
|
|
760
|
+
* orderBy: {
|
|
761
|
+
* age: "asc",
|
|
762
|
+
* },
|
|
763
|
+
* take: 10,
|
|
764
|
+
* })
|
|
765
|
+
**/
|
|
766
|
+
aggregate<T extends FindingTemplateAggregateArgs>(args: Prisma.Subset<T, FindingTemplateAggregateArgs>): Prisma.PrismaPromise<GetFindingTemplateAggregateType<T>>;
|
|
767
|
+
/**
|
|
768
|
+
* Group by FindingTemplate.
|
|
769
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
770
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
771
|
+
* @param {FindingTemplateGroupByArgs} args - Group by arguments.
|
|
772
|
+
* @example
|
|
773
|
+
* // Group by city, order by createdAt, get count
|
|
774
|
+
* const result = await prisma.user.groupBy({
|
|
775
|
+
* by: ['city', 'createdAt'],
|
|
776
|
+
* orderBy: {
|
|
777
|
+
* createdAt: true
|
|
778
|
+
* },
|
|
779
|
+
* _count: {
|
|
780
|
+
* _all: true
|
|
781
|
+
* },
|
|
782
|
+
* })
|
|
783
|
+
*
|
|
784
|
+
**/
|
|
785
|
+
groupBy<T extends FindingTemplateGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
786
|
+
orderBy: FindingTemplateGroupByArgs['orderBy'];
|
|
787
|
+
} : {
|
|
788
|
+
orderBy?: FindingTemplateGroupByArgs['orderBy'];
|
|
789
|
+
}, 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 ? {
|
|
790
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
791
|
+
Error,
|
|
792
|
+
'Field ',
|
|
793
|
+
P,
|
|
794
|
+
` in "having" needs to be provided in "by"`
|
|
795
|
+
];
|
|
796
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
797
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
798
|
+
}[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 ? {} : {
|
|
799
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
800
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
801
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
802
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, FindingTemplateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFindingTemplateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
803
|
+
/**
|
|
804
|
+
* Fields of the FindingTemplate model
|
|
805
|
+
*/
|
|
806
|
+
readonly fields: FindingTemplateFieldRefs;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* The delegate class that acts as a "Promise-like" for FindingTemplate.
|
|
810
|
+
* Why is this prefixed with `Prisma__`?
|
|
811
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
812
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
813
|
+
*/
|
|
814
|
+
export interface Prisma__FindingTemplateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
815
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
816
|
+
findings<T extends Prisma.FindingTemplate$findingsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FindingTemplate$findingsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FindingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
817
|
+
/**
|
|
818
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
819
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
820
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
821
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
822
|
+
*/
|
|
823
|
+
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>;
|
|
824
|
+
/**
|
|
825
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
826
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
827
|
+
* @returns A Promise for the completion of the callback.
|
|
828
|
+
*/
|
|
829
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
830
|
+
/**
|
|
831
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
832
|
+
* resolved value cannot be modified from the callback.
|
|
833
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
834
|
+
* @returns A Promise for the completion of the callback.
|
|
835
|
+
*/
|
|
836
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
837
|
+
}
|
|
838
|
+
/**
|
|
839
|
+
* Fields of the FindingTemplate model
|
|
840
|
+
*/
|
|
841
|
+
export interface FindingTemplateFieldRefs {
|
|
842
|
+
readonly id: Prisma.FieldRef<"FindingTemplate", 'String'>;
|
|
843
|
+
readonly category: Prisma.FieldRef<"FindingTemplate", 'String'>;
|
|
844
|
+
readonly title: Prisma.FieldRef<"FindingTemplate", 'String'>;
|
|
845
|
+
readonly content: Prisma.FieldRef<"FindingTemplate", 'String'>;
|
|
846
|
+
readonly order: Prisma.FieldRef<"FindingTemplate", 'Int'>;
|
|
847
|
+
readonly createdAt: Prisma.FieldRef<"FindingTemplate", 'DateTime'>;
|
|
848
|
+
readonly updatedAt: Prisma.FieldRef<"FindingTemplate", 'DateTime'>;
|
|
849
|
+
}
|
|
850
|
+
/**
|
|
851
|
+
* FindingTemplate findUnique
|
|
852
|
+
*/
|
|
853
|
+
export type FindingTemplateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
854
|
+
/**
|
|
855
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
856
|
+
*/
|
|
857
|
+
select?: Prisma.FindingTemplateSelect<ExtArgs> | null;
|
|
858
|
+
/**
|
|
859
|
+
* Omit specific fields from the FindingTemplate
|
|
860
|
+
*/
|
|
861
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
862
|
+
/**
|
|
863
|
+
* Choose, which related nodes to fetch as well
|
|
864
|
+
*/
|
|
865
|
+
include?: Prisma.FindingTemplateInclude<ExtArgs> | null;
|
|
866
|
+
/**
|
|
867
|
+
* Filter, which FindingTemplate to fetch.
|
|
868
|
+
*/
|
|
869
|
+
where: Prisma.FindingTemplateWhereUniqueInput;
|
|
870
|
+
};
|
|
871
|
+
/**
|
|
872
|
+
* FindingTemplate findUniqueOrThrow
|
|
873
|
+
*/
|
|
874
|
+
export type FindingTemplateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
875
|
+
/**
|
|
876
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
877
|
+
*/
|
|
878
|
+
select?: Prisma.FindingTemplateSelect<ExtArgs> | null;
|
|
879
|
+
/**
|
|
880
|
+
* Omit specific fields from the FindingTemplate
|
|
881
|
+
*/
|
|
882
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
883
|
+
/**
|
|
884
|
+
* Choose, which related nodes to fetch as well
|
|
885
|
+
*/
|
|
886
|
+
include?: Prisma.FindingTemplateInclude<ExtArgs> | null;
|
|
887
|
+
/**
|
|
888
|
+
* Filter, which FindingTemplate to fetch.
|
|
889
|
+
*/
|
|
890
|
+
where: Prisma.FindingTemplateWhereUniqueInput;
|
|
891
|
+
};
|
|
892
|
+
/**
|
|
893
|
+
* FindingTemplate findFirst
|
|
894
|
+
*/
|
|
895
|
+
export type FindingTemplateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
896
|
+
/**
|
|
897
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
898
|
+
*/
|
|
899
|
+
select?: Prisma.FindingTemplateSelect<ExtArgs> | null;
|
|
900
|
+
/**
|
|
901
|
+
* Omit specific fields from the FindingTemplate
|
|
902
|
+
*/
|
|
903
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
904
|
+
/**
|
|
905
|
+
* Choose, which related nodes to fetch as well
|
|
906
|
+
*/
|
|
907
|
+
include?: Prisma.FindingTemplateInclude<ExtArgs> | null;
|
|
908
|
+
/**
|
|
909
|
+
* Filter, which FindingTemplate to fetch.
|
|
910
|
+
*/
|
|
911
|
+
where?: Prisma.FindingTemplateWhereInput;
|
|
912
|
+
/**
|
|
913
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
914
|
+
*
|
|
915
|
+
* Determine the order of FindingTemplates to fetch.
|
|
916
|
+
*/
|
|
917
|
+
orderBy?: Prisma.FindingTemplateOrderByWithRelationInput | Prisma.FindingTemplateOrderByWithRelationInput[];
|
|
918
|
+
/**
|
|
919
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
920
|
+
*
|
|
921
|
+
* Sets the position for searching for FindingTemplates.
|
|
922
|
+
*/
|
|
923
|
+
cursor?: Prisma.FindingTemplateWhereUniqueInput;
|
|
924
|
+
/**
|
|
925
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
926
|
+
*
|
|
927
|
+
* Take `±n` FindingTemplates from the position of the cursor.
|
|
928
|
+
*/
|
|
929
|
+
take?: number;
|
|
930
|
+
/**
|
|
931
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
932
|
+
*
|
|
933
|
+
* Skip the first `n` FindingTemplates.
|
|
934
|
+
*/
|
|
935
|
+
skip?: number;
|
|
936
|
+
/**
|
|
937
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
938
|
+
*
|
|
939
|
+
* Filter by unique combinations of FindingTemplates.
|
|
940
|
+
*/
|
|
941
|
+
distinct?: Prisma.FindingTemplateScalarFieldEnum | Prisma.FindingTemplateScalarFieldEnum[];
|
|
942
|
+
};
|
|
943
|
+
/**
|
|
944
|
+
* FindingTemplate findFirstOrThrow
|
|
945
|
+
*/
|
|
946
|
+
export type FindingTemplateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
947
|
+
/**
|
|
948
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
949
|
+
*/
|
|
950
|
+
select?: Prisma.FindingTemplateSelect<ExtArgs> | null;
|
|
951
|
+
/**
|
|
952
|
+
* Omit specific fields from the FindingTemplate
|
|
953
|
+
*/
|
|
954
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
955
|
+
/**
|
|
956
|
+
* Choose, which related nodes to fetch as well
|
|
957
|
+
*/
|
|
958
|
+
include?: Prisma.FindingTemplateInclude<ExtArgs> | null;
|
|
959
|
+
/**
|
|
960
|
+
* Filter, which FindingTemplate to fetch.
|
|
961
|
+
*/
|
|
962
|
+
where?: Prisma.FindingTemplateWhereInput;
|
|
963
|
+
/**
|
|
964
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
965
|
+
*
|
|
966
|
+
* Determine the order of FindingTemplates to fetch.
|
|
967
|
+
*/
|
|
968
|
+
orderBy?: Prisma.FindingTemplateOrderByWithRelationInput | Prisma.FindingTemplateOrderByWithRelationInput[];
|
|
969
|
+
/**
|
|
970
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
971
|
+
*
|
|
972
|
+
* Sets the position for searching for FindingTemplates.
|
|
973
|
+
*/
|
|
974
|
+
cursor?: Prisma.FindingTemplateWhereUniqueInput;
|
|
975
|
+
/**
|
|
976
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
977
|
+
*
|
|
978
|
+
* Take `±n` FindingTemplates from the position of the cursor.
|
|
979
|
+
*/
|
|
980
|
+
take?: number;
|
|
981
|
+
/**
|
|
982
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
983
|
+
*
|
|
984
|
+
* Skip the first `n` FindingTemplates.
|
|
985
|
+
*/
|
|
986
|
+
skip?: number;
|
|
987
|
+
/**
|
|
988
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
989
|
+
*
|
|
990
|
+
* Filter by unique combinations of FindingTemplates.
|
|
991
|
+
*/
|
|
992
|
+
distinct?: Prisma.FindingTemplateScalarFieldEnum | Prisma.FindingTemplateScalarFieldEnum[];
|
|
993
|
+
};
|
|
994
|
+
/**
|
|
995
|
+
* FindingTemplate findMany
|
|
996
|
+
*/
|
|
997
|
+
export type FindingTemplateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
998
|
+
/**
|
|
999
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
1000
|
+
*/
|
|
1001
|
+
select?: Prisma.FindingTemplateSelect<ExtArgs> | null;
|
|
1002
|
+
/**
|
|
1003
|
+
* Omit specific fields from the FindingTemplate
|
|
1004
|
+
*/
|
|
1005
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* Choose, which related nodes to fetch as well
|
|
1008
|
+
*/
|
|
1009
|
+
include?: Prisma.FindingTemplateInclude<ExtArgs> | null;
|
|
1010
|
+
/**
|
|
1011
|
+
* Filter, which FindingTemplates to fetch.
|
|
1012
|
+
*/
|
|
1013
|
+
where?: Prisma.FindingTemplateWhereInput;
|
|
1014
|
+
/**
|
|
1015
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1016
|
+
*
|
|
1017
|
+
* Determine the order of FindingTemplates to fetch.
|
|
1018
|
+
*/
|
|
1019
|
+
orderBy?: Prisma.FindingTemplateOrderByWithRelationInput | Prisma.FindingTemplateOrderByWithRelationInput[];
|
|
1020
|
+
/**
|
|
1021
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1022
|
+
*
|
|
1023
|
+
* Sets the position for listing FindingTemplates.
|
|
1024
|
+
*/
|
|
1025
|
+
cursor?: Prisma.FindingTemplateWhereUniqueInput;
|
|
1026
|
+
/**
|
|
1027
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1028
|
+
*
|
|
1029
|
+
* Take `±n` FindingTemplates from the position of the cursor.
|
|
1030
|
+
*/
|
|
1031
|
+
take?: number;
|
|
1032
|
+
/**
|
|
1033
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1034
|
+
*
|
|
1035
|
+
* Skip the first `n` FindingTemplates.
|
|
1036
|
+
*/
|
|
1037
|
+
skip?: number;
|
|
1038
|
+
/**
|
|
1039
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1040
|
+
*
|
|
1041
|
+
* Filter by unique combinations of FindingTemplates.
|
|
1042
|
+
*/
|
|
1043
|
+
distinct?: Prisma.FindingTemplateScalarFieldEnum | Prisma.FindingTemplateScalarFieldEnum[];
|
|
1044
|
+
};
|
|
1045
|
+
/**
|
|
1046
|
+
* FindingTemplate create
|
|
1047
|
+
*/
|
|
1048
|
+
export type FindingTemplateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1049
|
+
/**
|
|
1050
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
1051
|
+
*/
|
|
1052
|
+
select?: Prisma.FindingTemplateSelect<ExtArgs> | null;
|
|
1053
|
+
/**
|
|
1054
|
+
* Omit specific fields from the FindingTemplate
|
|
1055
|
+
*/
|
|
1056
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
1057
|
+
/**
|
|
1058
|
+
* Choose, which related nodes to fetch as well
|
|
1059
|
+
*/
|
|
1060
|
+
include?: Prisma.FindingTemplateInclude<ExtArgs> | null;
|
|
1061
|
+
/**
|
|
1062
|
+
* The data needed to create a FindingTemplate.
|
|
1063
|
+
*/
|
|
1064
|
+
data: Prisma.XOR<Prisma.FindingTemplateCreateInput, Prisma.FindingTemplateUncheckedCreateInput>;
|
|
1065
|
+
};
|
|
1066
|
+
/**
|
|
1067
|
+
* FindingTemplate createMany
|
|
1068
|
+
*/
|
|
1069
|
+
export type FindingTemplateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1070
|
+
/**
|
|
1071
|
+
* The data used to create many FindingTemplates.
|
|
1072
|
+
*/
|
|
1073
|
+
data: Prisma.FindingTemplateCreateManyInput | Prisma.FindingTemplateCreateManyInput[];
|
|
1074
|
+
skipDuplicates?: boolean;
|
|
1075
|
+
};
|
|
1076
|
+
/**
|
|
1077
|
+
* FindingTemplate createManyAndReturn
|
|
1078
|
+
*/
|
|
1079
|
+
export type FindingTemplateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1080
|
+
/**
|
|
1081
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
1082
|
+
*/
|
|
1083
|
+
select?: Prisma.FindingTemplateSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* Omit specific fields from the FindingTemplate
|
|
1086
|
+
*/
|
|
1087
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
1088
|
+
/**
|
|
1089
|
+
* The data used to create many FindingTemplates.
|
|
1090
|
+
*/
|
|
1091
|
+
data: Prisma.FindingTemplateCreateManyInput | Prisma.FindingTemplateCreateManyInput[];
|
|
1092
|
+
skipDuplicates?: boolean;
|
|
1093
|
+
};
|
|
1094
|
+
/**
|
|
1095
|
+
* FindingTemplate update
|
|
1096
|
+
*/
|
|
1097
|
+
export type FindingTemplateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1098
|
+
/**
|
|
1099
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
1100
|
+
*/
|
|
1101
|
+
select?: Prisma.FindingTemplateSelect<ExtArgs> | null;
|
|
1102
|
+
/**
|
|
1103
|
+
* Omit specific fields from the FindingTemplate
|
|
1104
|
+
*/
|
|
1105
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
1106
|
+
/**
|
|
1107
|
+
* Choose, which related nodes to fetch as well
|
|
1108
|
+
*/
|
|
1109
|
+
include?: Prisma.FindingTemplateInclude<ExtArgs> | null;
|
|
1110
|
+
/**
|
|
1111
|
+
* The data needed to update a FindingTemplate.
|
|
1112
|
+
*/
|
|
1113
|
+
data: Prisma.XOR<Prisma.FindingTemplateUpdateInput, Prisma.FindingTemplateUncheckedUpdateInput>;
|
|
1114
|
+
/**
|
|
1115
|
+
* Choose, which FindingTemplate to update.
|
|
1116
|
+
*/
|
|
1117
|
+
where: Prisma.FindingTemplateWhereUniqueInput;
|
|
1118
|
+
};
|
|
1119
|
+
/**
|
|
1120
|
+
* FindingTemplate updateMany
|
|
1121
|
+
*/
|
|
1122
|
+
export type FindingTemplateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1123
|
+
/**
|
|
1124
|
+
* The data used to update FindingTemplates.
|
|
1125
|
+
*/
|
|
1126
|
+
data: Prisma.XOR<Prisma.FindingTemplateUpdateManyMutationInput, Prisma.FindingTemplateUncheckedUpdateManyInput>;
|
|
1127
|
+
/**
|
|
1128
|
+
* Filter which FindingTemplates to update
|
|
1129
|
+
*/
|
|
1130
|
+
where?: Prisma.FindingTemplateWhereInput;
|
|
1131
|
+
/**
|
|
1132
|
+
* Limit how many FindingTemplates to update.
|
|
1133
|
+
*/
|
|
1134
|
+
limit?: number;
|
|
1135
|
+
};
|
|
1136
|
+
/**
|
|
1137
|
+
* FindingTemplate updateManyAndReturn
|
|
1138
|
+
*/
|
|
1139
|
+
export type FindingTemplateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1140
|
+
/**
|
|
1141
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
1142
|
+
*/
|
|
1143
|
+
select?: Prisma.FindingTemplateSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1144
|
+
/**
|
|
1145
|
+
* Omit specific fields from the FindingTemplate
|
|
1146
|
+
*/
|
|
1147
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
1148
|
+
/**
|
|
1149
|
+
* The data used to update FindingTemplates.
|
|
1150
|
+
*/
|
|
1151
|
+
data: Prisma.XOR<Prisma.FindingTemplateUpdateManyMutationInput, Prisma.FindingTemplateUncheckedUpdateManyInput>;
|
|
1152
|
+
/**
|
|
1153
|
+
* Filter which FindingTemplates to update
|
|
1154
|
+
*/
|
|
1155
|
+
where?: Prisma.FindingTemplateWhereInput;
|
|
1156
|
+
/**
|
|
1157
|
+
* Limit how many FindingTemplates to update.
|
|
1158
|
+
*/
|
|
1159
|
+
limit?: number;
|
|
1160
|
+
};
|
|
1161
|
+
/**
|
|
1162
|
+
* FindingTemplate upsert
|
|
1163
|
+
*/
|
|
1164
|
+
export type FindingTemplateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1165
|
+
/**
|
|
1166
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
1167
|
+
*/
|
|
1168
|
+
select?: Prisma.FindingTemplateSelect<ExtArgs> | null;
|
|
1169
|
+
/**
|
|
1170
|
+
* Omit specific fields from the FindingTemplate
|
|
1171
|
+
*/
|
|
1172
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
1173
|
+
/**
|
|
1174
|
+
* Choose, which related nodes to fetch as well
|
|
1175
|
+
*/
|
|
1176
|
+
include?: Prisma.FindingTemplateInclude<ExtArgs> | null;
|
|
1177
|
+
/**
|
|
1178
|
+
* The filter to search for the FindingTemplate to update in case it exists.
|
|
1179
|
+
*/
|
|
1180
|
+
where: Prisma.FindingTemplateWhereUniqueInput;
|
|
1181
|
+
/**
|
|
1182
|
+
* In case the FindingTemplate found by the `where` argument doesn't exist, create a new FindingTemplate with this data.
|
|
1183
|
+
*/
|
|
1184
|
+
create: Prisma.XOR<Prisma.FindingTemplateCreateInput, Prisma.FindingTemplateUncheckedCreateInput>;
|
|
1185
|
+
/**
|
|
1186
|
+
* In case the FindingTemplate was found with the provided `where` argument, update it with this data.
|
|
1187
|
+
*/
|
|
1188
|
+
update: Prisma.XOR<Prisma.FindingTemplateUpdateInput, Prisma.FindingTemplateUncheckedUpdateInput>;
|
|
1189
|
+
};
|
|
1190
|
+
/**
|
|
1191
|
+
* FindingTemplate delete
|
|
1192
|
+
*/
|
|
1193
|
+
export type FindingTemplateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1194
|
+
/**
|
|
1195
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
1196
|
+
*/
|
|
1197
|
+
select?: Prisma.FindingTemplateSelect<ExtArgs> | null;
|
|
1198
|
+
/**
|
|
1199
|
+
* Omit specific fields from the FindingTemplate
|
|
1200
|
+
*/
|
|
1201
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
1202
|
+
/**
|
|
1203
|
+
* Choose, which related nodes to fetch as well
|
|
1204
|
+
*/
|
|
1205
|
+
include?: Prisma.FindingTemplateInclude<ExtArgs> | null;
|
|
1206
|
+
/**
|
|
1207
|
+
* Filter which FindingTemplate to delete.
|
|
1208
|
+
*/
|
|
1209
|
+
where: Prisma.FindingTemplateWhereUniqueInput;
|
|
1210
|
+
};
|
|
1211
|
+
/**
|
|
1212
|
+
* FindingTemplate deleteMany
|
|
1213
|
+
*/
|
|
1214
|
+
export type FindingTemplateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1215
|
+
/**
|
|
1216
|
+
* Filter which FindingTemplates to delete
|
|
1217
|
+
*/
|
|
1218
|
+
where?: Prisma.FindingTemplateWhereInput;
|
|
1219
|
+
/**
|
|
1220
|
+
* Limit how many FindingTemplates to delete.
|
|
1221
|
+
*/
|
|
1222
|
+
limit?: number;
|
|
1223
|
+
};
|
|
1224
|
+
/**
|
|
1225
|
+
* FindingTemplate.findings
|
|
1226
|
+
*/
|
|
1227
|
+
export type FindingTemplate$findingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1228
|
+
/**
|
|
1229
|
+
* Select specific fields to fetch from the Finding
|
|
1230
|
+
*/
|
|
1231
|
+
select?: Prisma.FindingSelect<ExtArgs> | null;
|
|
1232
|
+
/**
|
|
1233
|
+
* Omit specific fields from the Finding
|
|
1234
|
+
*/
|
|
1235
|
+
omit?: Prisma.FindingOmit<ExtArgs> | null;
|
|
1236
|
+
/**
|
|
1237
|
+
* Choose, which related nodes to fetch as well
|
|
1238
|
+
*/
|
|
1239
|
+
include?: Prisma.FindingInclude<ExtArgs> | null;
|
|
1240
|
+
where?: Prisma.FindingWhereInput;
|
|
1241
|
+
orderBy?: Prisma.FindingOrderByWithRelationInput | Prisma.FindingOrderByWithRelationInput[];
|
|
1242
|
+
cursor?: Prisma.FindingWhereUniqueInput;
|
|
1243
|
+
take?: number;
|
|
1244
|
+
skip?: number;
|
|
1245
|
+
distinct?: Prisma.FindingScalarFieldEnum | Prisma.FindingScalarFieldEnum[];
|
|
1246
|
+
};
|
|
1247
|
+
/**
|
|
1248
|
+
* FindingTemplate without action
|
|
1249
|
+
*/
|
|
1250
|
+
export type FindingTemplateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1251
|
+
/**
|
|
1252
|
+
* Select specific fields to fetch from the FindingTemplate
|
|
1253
|
+
*/
|
|
1254
|
+
select?: Prisma.FindingTemplateSelect<ExtArgs> | null;
|
|
1255
|
+
/**
|
|
1256
|
+
* Omit specific fields from the FindingTemplate
|
|
1257
|
+
*/
|
|
1258
|
+
omit?: Prisma.FindingTemplateOmit<ExtArgs> | null;
|
|
1259
|
+
/**
|
|
1260
|
+
* Choose, which related nodes to fetch as well
|
|
1261
|
+
*/
|
|
1262
|
+
include?: Prisma.FindingTemplateInclude<ExtArgs> | null;
|
|
1263
|
+
};
|
|
1264
|
+
//# sourceMappingURL=FindingTemplate.d.ts.map
|