@naisys/erp 3.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @naisys/erp might be problematic. Click here for more details.
- package/bin/naisys-erp +2 -0
- package/client-dist/android-chrome-192x192.png +0 -0
- package/client-dist/android-chrome-512x512.png +0 -0
- package/client-dist/apple-touch-icon.png +0 -0
- package/client-dist/assets/index-45dVo30p.css +1 -0
- package/client-dist/assets/index-Dffms7F_.js +168 -0
- package/client-dist/assets/naisys-logo-CzoPnn5I.webp +0 -0
- package/client-dist/favicon.ico +0 -0
- package/client-dist/index.html +42 -0
- package/client-dist/site.webmanifest +22 -0
- package/dist/api-reference.d.ts +10 -0
- package/dist/api-reference.js +101 -0
- package/dist/audit.d.ts +5 -0
- package/dist/audit.js +14 -0
- package/dist/auth-middleware.d.ts +18 -0
- package/dist/auth-middleware.js +203 -0
- package/dist/dbConfig.d.ts +5 -0
- package/dist/dbConfig.js +10 -0
- package/dist/erpDb.d.ts +10 -0
- package/dist/erpDb.js +34 -0
- package/dist/erpServer.d.ts +10 -0
- package/dist/erpServer.js +321 -0
- package/dist/error-handler.d.ts +7 -0
- package/dist/error-handler.js +17 -0
- package/dist/generated/prisma/client.d.ts +154 -0
- package/dist/generated/prisma/client.js +35 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +637 -0
- package/dist/generated/prisma/commonInputTypes.js +11 -0
- package/dist/generated/prisma/enums.d.ts +59 -0
- package/dist/generated/prisma/enums.js +60 -0
- package/dist/generated/prisma/internal/class.d.ts +406 -0
- package/dist/generated/prisma/internal/class.js +50 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +2722 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +366 -0
- package/dist/generated/prisma/models/Attachment.d.ts +1455 -0
- package/dist/generated/prisma/models/Attachment.js +2 -0
- package/dist/generated/prisma/models/AuditLog.d.ts +1359 -0
- package/dist/generated/prisma/models/AuditLog.js +2 -0
- package/dist/generated/prisma/models/Field.d.ts +1880 -0
- package/dist/generated/prisma/models/Field.js +2 -0
- package/dist/generated/prisma/models/FieldAttachment.d.ts +1245 -0
- package/dist/generated/prisma/models/FieldAttachment.js +2 -0
- package/dist/generated/prisma/models/FieldRecord.d.ts +1625 -0
- package/dist/generated/prisma/models/FieldRecord.js +2 -0
- package/dist/generated/prisma/models/FieldSet.d.ts +1577 -0
- package/dist/generated/prisma/models/FieldSet.js +2 -0
- package/dist/generated/prisma/models/FieldValue.d.ts +1908 -0
- package/dist/generated/prisma/models/FieldValue.js +2 -0
- package/dist/generated/prisma/models/Item.d.ts +1858 -0
- package/dist/generated/prisma/models/Item.js +2 -0
- package/dist/generated/prisma/models/ItemInstance.d.ts +1987 -0
- package/dist/generated/prisma/models/ItemInstance.js +2 -0
- package/dist/generated/prisma/models/LaborTicket.d.ts +1867 -0
- package/dist/generated/prisma/models/LaborTicket.js +2 -0
- package/dist/generated/prisma/models/Operation.d.ts +2578 -0
- package/dist/generated/prisma/models/Operation.js +2 -0
- package/dist/generated/prisma/models/OperationDependency.d.ts +1434 -0
- package/dist/generated/prisma/models/OperationDependency.js +2 -0
- package/dist/generated/prisma/models/OperationFieldRef.d.ts +1539 -0
- package/dist/generated/prisma/models/OperationFieldRef.js +2 -0
- package/dist/generated/prisma/models/OperationRun.d.ts +2563 -0
- package/dist/generated/prisma/models/OperationRun.js +2 -0
- package/dist/generated/prisma/models/OperationRunComment.d.ts +1366 -0
- package/dist/generated/prisma/models/OperationRunComment.js +2 -0
- package/dist/generated/prisma/models/Order.d.ts +1931 -0
- package/dist/generated/prisma/models/Order.js +2 -0
- package/dist/generated/prisma/models/OrderRevision.d.ts +1962 -0
- package/dist/generated/prisma/models/OrderRevision.js +2 -0
- package/dist/generated/prisma/models/OrderRun.d.ts +2310 -0
- package/dist/generated/prisma/models/OrderRun.js +2 -0
- package/dist/generated/prisma/models/SchemaVersion.d.ts +985 -0
- package/dist/generated/prisma/models/SchemaVersion.js +2 -0
- package/dist/generated/prisma/models/Session.d.ts +1213 -0
- package/dist/generated/prisma/models/Session.js +2 -0
- package/dist/generated/prisma/models/Step.d.ts +2180 -0
- package/dist/generated/prisma/models/Step.js +2 -0
- package/dist/generated/prisma/models/StepRun.d.ts +1963 -0
- package/dist/generated/prisma/models/StepRun.js +2 -0
- package/dist/generated/prisma/models/User.d.ts +11819 -0
- package/dist/generated/prisma/models/User.js +2 -0
- package/dist/generated/prisma/models/UserPermission.d.ts +1348 -0
- package/dist/generated/prisma/models/UserPermission.js +2 -0
- package/dist/generated/prisma/models/WorkCenter.d.ts +1657 -0
- package/dist/generated/prisma/models/WorkCenter.js +2 -0
- package/dist/generated/prisma/models/WorkCenterUser.d.ts +1390 -0
- package/dist/generated/prisma/models/WorkCenterUser.js +2 -0
- package/dist/generated/prisma/models.d.ts +28 -0
- package/dist/generated/prisma/models.js +2 -0
- package/dist/hateoas.d.ts +7 -0
- package/dist/hateoas.js +61 -0
- package/dist/route-helpers.d.ts +318 -0
- package/dist/route-helpers.js +220 -0
- package/dist/routes/admin.d.ts +3 -0
- package/dist/routes/admin.js +147 -0
- package/dist/routes/audit.d.ts +3 -0
- package/dist/routes/audit.js +36 -0
- package/dist/routes/auth.d.ts +3 -0
- package/dist/routes/auth.js +112 -0
- package/dist/routes/dispatch.d.ts +3 -0
- package/dist/routes/dispatch.js +174 -0
- package/dist/routes/inventory.d.ts +3 -0
- package/dist/routes/inventory.js +70 -0
- package/dist/routes/item-fields.d.ts +3 -0
- package/dist/routes/item-fields.js +220 -0
- package/dist/routes/item-instances.d.ts +3 -0
- package/dist/routes/item-instances.js +426 -0
- package/dist/routes/items.d.ts +3 -0
- package/dist/routes/items.js +252 -0
- package/dist/routes/labor-tickets.d.ts +3 -0
- package/dist/routes/labor-tickets.js +268 -0
- package/dist/routes/operation-dependencies.d.ts +3 -0
- package/dist/routes/operation-dependencies.js +170 -0
- package/dist/routes/operation-field-refs.d.ts +3 -0
- package/dist/routes/operation-field-refs.js +263 -0
- package/dist/routes/operation-run-comments.d.ts +3 -0
- package/dist/routes/operation-run-comments.js +108 -0
- package/dist/routes/operation-run-transitions.d.ts +3 -0
- package/dist/routes/operation-run-transitions.js +249 -0
- package/dist/routes/operation-runs.d.ts +112 -0
- package/dist/routes/operation-runs.js +299 -0
- package/dist/routes/operations.d.ts +3 -0
- package/dist/routes/operations.js +283 -0
- package/dist/routes/order-revision-transitions.d.ts +3 -0
- package/dist/routes/order-revision-transitions.js +86 -0
- package/dist/routes/order-revisions.d.ts +51 -0
- package/dist/routes/order-revisions.js +327 -0
- package/dist/routes/order-run-transitions.d.ts +3 -0
- package/dist/routes/order-run-transitions.js +215 -0
- package/dist/routes/order-runs.d.ts +58 -0
- package/dist/routes/order-runs.js +335 -0
- package/dist/routes/orders.d.ts +3 -0
- package/dist/routes/orders.js +262 -0
- package/dist/routes/root.d.ts +3 -0
- package/dist/routes/root.js +123 -0
- package/dist/routes/schemas.d.ts +3 -0
- package/dist/routes/schemas.js +31 -0
- package/dist/routes/step-field-attachments.d.ts +3 -0
- package/dist/routes/step-field-attachments.js +231 -0
- package/dist/routes/step-fields.d.ts +100 -0
- package/dist/routes/step-fields.js +315 -0
- package/dist/routes/step-run-fields.d.ts +3 -0
- package/dist/routes/step-run-fields.js +438 -0
- package/dist/routes/step-run-transitions.d.ts +3 -0
- package/dist/routes/step-run-transitions.js +113 -0
- package/dist/routes/step-runs.d.ts +332 -0
- package/dist/routes/step-runs.js +324 -0
- package/dist/routes/steps.d.ts +3 -0
- package/dist/routes/steps.js +283 -0
- package/dist/routes/user-permissions.d.ts +3 -0
- package/dist/routes/user-permissions.js +100 -0
- package/dist/routes/users.d.ts +57 -0
- package/dist/routes/users.js +381 -0
- package/dist/routes/work-centers.d.ts +3 -0
- package/dist/routes/work-centers.js +280 -0
- package/dist/schema-registry.d.ts +3 -0
- package/dist/schema-registry.js +45 -0
- package/dist/services/attachment-service.d.ts +33 -0
- package/dist/services/attachment-service.js +118 -0
- package/dist/services/field-ref-service.d.ts +96 -0
- package/dist/services/field-ref-service.js +74 -0
- package/dist/services/field-service.d.ts +49 -0
- package/dist/services/field-service.js +114 -0
- package/dist/services/field-value-service.d.ts +61 -0
- package/dist/services/field-value-service.js +256 -0
- package/dist/services/item-instance-service.d.ts +152 -0
- package/dist/services/item-instance-service.js +155 -0
- package/dist/services/item-service.d.ts +47 -0
- package/dist/services/item-service.js +56 -0
- package/dist/services/labor-ticket-service.d.ts +40 -0
- package/dist/services/labor-ticket-service.js +148 -0
- package/dist/services/log-file-service.d.ts +4 -0
- package/dist/services/log-file-service.js +11 -0
- package/dist/services/operation-dependency-service.d.ts +33 -0
- package/dist/services/operation-dependency-service.js +30 -0
- package/dist/services/operation-run-comment-service.d.ts +17 -0
- package/dist/services/operation-run-comment-service.js +26 -0
- package/dist/services/operation-run-service.d.ts +126 -0
- package/dist/services/operation-run-service.js +347 -0
- package/dist/services/operation-service.d.ts +47 -0
- package/dist/services/operation-service.js +132 -0
- package/dist/services/order-revision-service.d.ts +53 -0
- package/dist/services/order-revision-service.js +264 -0
- package/dist/services/order-run-service.d.ts +138 -0
- package/dist/services/order-run-service.js +356 -0
- package/dist/services/order-service.d.ts +15 -0
- package/dist/services/order-service.js +68 -0
- package/dist/services/revision-diff-service.d.ts +3 -0
- package/dist/services/revision-diff-service.js +194 -0
- package/dist/services/step-run-service.d.ts +172 -0
- package/dist/services/step-run-service.js +106 -0
- package/dist/services/step-service.d.ts +104 -0
- package/dist/services/step-service.js +89 -0
- package/dist/services/user-service.d.ts +185 -0
- package/dist/services/user-service.js +132 -0
- package/dist/services/work-center-service.d.ts +29 -0
- package/dist/services/work-center-service.js +106 -0
- package/dist/supervisorAuth.d.ts +3 -0
- package/dist/supervisorAuth.js +16 -0
- package/dist/userService.d.ts +20 -0
- package/dist/userService.js +118 -0
- package/package.json +69 -0
|
@@ -0,0 +1,1245 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model FieldAttachment
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type FieldAttachmentModel = runtime.Types.Result.DefaultSelection<Prisma.$FieldAttachmentPayload>;
|
|
8
|
+
export type AggregateFieldAttachment = {
|
|
9
|
+
_count: FieldAttachmentCountAggregateOutputType | null;
|
|
10
|
+
_avg: FieldAttachmentAvgAggregateOutputType | null;
|
|
11
|
+
_sum: FieldAttachmentSumAggregateOutputType | null;
|
|
12
|
+
_min: FieldAttachmentMinAggregateOutputType | null;
|
|
13
|
+
_max: FieldAttachmentMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type FieldAttachmentAvgAggregateOutputType = {
|
|
16
|
+
fieldValueId: number | null;
|
|
17
|
+
attachmentId: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type FieldAttachmentSumAggregateOutputType = {
|
|
20
|
+
fieldValueId: number | null;
|
|
21
|
+
attachmentId: number | null;
|
|
22
|
+
};
|
|
23
|
+
export type FieldAttachmentMinAggregateOutputType = {
|
|
24
|
+
fieldValueId: number | null;
|
|
25
|
+
attachmentId: number | null;
|
|
26
|
+
createdAt: Date | null;
|
|
27
|
+
};
|
|
28
|
+
export type FieldAttachmentMaxAggregateOutputType = {
|
|
29
|
+
fieldValueId: number | null;
|
|
30
|
+
attachmentId: number | null;
|
|
31
|
+
createdAt: Date | null;
|
|
32
|
+
};
|
|
33
|
+
export type FieldAttachmentCountAggregateOutputType = {
|
|
34
|
+
fieldValueId: number;
|
|
35
|
+
attachmentId: number;
|
|
36
|
+
createdAt: number;
|
|
37
|
+
_all: number;
|
|
38
|
+
};
|
|
39
|
+
export type FieldAttachmentAvgAggregateInputType = {
|
|
40
|
+
fieldValueId?: true;
|
|
41
|
+
attachmentId?: true;
|
|
42
|
+
};
|
|
43
|
+
export type FieldAttachmentSumAggregateInputType = {
|
|
44
|
+
fieldValueId?: true;
|
|
45
|
+
attachmentId?: true;
|
|
46
|
+
};
|
|
47
|
+
export type FieldAttachmentMinAggregateInputType = {
|
|
48
|
+
fieldValueId?: true;
|
|
49
|
+
attachmentId?: true;
|
|
50
|
+
createdAt?: true;
|
|
51
|
+
};
|
|
52
|
+
export type FieldAttachmentMaxAggregateInputType = {
|
|
53
|
+
fieldValueId?: true;
|
|
54
|
+
attachmentId?: true;
|
|
55
|
+
createdAt?: true;
|
|
56
|
+
};
|
|
57
|
+
export type FieldAttachmentCountAggregateInputType = {
|
|
58
|
+
fieldValueId?: true;
|
|
59
|
+
attachmentId?: true;
|
|
60
|
+
createdAt?: true;
|
|
61
|
+
_all?: true;
|
|
62
|
+
};
|
|
63
|
+
export type FieldAttachmentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
64
|
+
/**
|
|
65
|
+
* Filter which FieldAttachment to aggregate.
|
|
66
|
+
*/
|
|
67
|
+
where?: Prisma.FieldAttachmentWhereInput;
|
|
68
|
+
/**
|
|
69
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
70
|
+
*
|
|
71
|
+
* Determine the order of FieldAttachments to fetch.
|
|
72
|
+
*/
|
|
73
|
+
orderBy?: Prisma.FieldAttachmentOrderByWithRelationInput | Prisma.FieldAttachmentOrderByWithRelationInput[];
|
|
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.FieldAttachmentWhereUniqueInput;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
82
|
+
*
|
|
83
|
+
* Take `±n` FieldAttachments 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` FieldAttachments.
|
|
90
|
+
*/
|
|
91
|
+
skip?: number;
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
94
|
+
*
|
|
95
|
+
* Count returned FieldAttachments
|
|
96
|
+
**/
|
|
97
|
+
_count?: true | FieldAttachmentCountAggregateInputType;
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
100
|
+
*
|
|
101
|
+
* Select which fields to average
|
|
102
|
+
**/
|
|
103
|
+
_avg?: FieldAttachmentAvgAggregateInputType;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
+
*
|
|
107
|
+
* Select which fields to sum
|
|
108
|
+
**/
|
|
109
|
+
_sum?: FieldAttachmentSumAggregateInputType;
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
+
*
|
|
113
|
+
* Select which fields to find the minimum value
|
|
114
|
+
**/
|
|
115
|
+
_min?: FieldAttachmentMinAggregateInputType;
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
118
|
+
*
|
|
119
|
+
* Select which fields to find the maximum value
|
|
120
|
+
**/
|
|
121
|
+
_max?: FieldAttachmentMaxAggregateInputType;
|
|
122
|
+
};
|
|
123
|
+
export type GetFieldAttachmentAggregateType<T extends FieldAttachmentAggregateArgs> = {
|
|
124
|
+
[P in keyof T & keyof AggregateFieldAttachment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFieldAttachment[P]> : Prisma.GetScalarType<T[P], AggregateFieldAttachment[P]>;
|
|
125
|
+
};
|
|
126
|
+
export type FieldAttachmentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
127
|
+
where?: Prisma.FieldAttachmentWhereInput;
|
|
128
|
+
orderBy?: Prisma.FieldAttachmentOrderByWithAggregationInput | Prisma.FieldAttachmentOrderByWithAggregationInput[];
|
|
129
|
+
by: Prisma.FieldAttachmentScalarFieldEnum[] | Prisma.FieldAttachmentScalarFieldEnum;
|
|
130
|
+
having?: Prisma.FieldAttachmentScalarWhereWithAggregatesInput;
|
|
131
|
+
take?: number;
|
|
132
|
+
skip?: number;
|
|
133
|
+
_count?: FieldAttachmentCountAggregateInputType | true;
|
|
134
|
+
_avg?: FieldAttachmentAvgAggregateInputType;
|
|
135
|
+
_sum?: FieldAttachmentSumAggregateInputType;
|
|
136
|
+
_min?: FieldAttachmentMinAggregateInputType;
|
|
137
|
+
_max?: FieldAttachmentMaxAggregateInputType;
|
|
138
|
+
};
|
|
139
|
+
export type FieldAttachmentGroupByOutputType = {
|
|
140
|
+
fieldValueId: number;
|
|
141
|
+
attachmentId: number;
|
|
142
|
+
createdAt: Date;
|
|
143
|
+
_count: FieldAttachmentCountAggregateOutputType | null;
|
|
144
|
+
_avg: FieldAttachmentAvgAggregateOutputType | null;
|
|
145
|
+
_sum: FieldAttachmentSumAggregateOutputType | null;
|
|
146
|
+
_min: FieldAttachmentMinAggregateOutputType | null;
|
|
147
|
+
_max: FieldAttachmentMaxAggregateOutputType | null;
|
|
148
|
+
};
|
|
149
|
+
type GetFieldAttachmentGroupByPayload<T extends FieldAttachmentGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<FieldAttachmentGroupByOutputType, T['by']> & {
|
|
150
|
+
[P in ((keyof T) & (keyof FieldAttachmentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], FieldAttachmentGroupByOutputType[P]> : Prisma.GetScalarType<T[P], FieldAttachmentGroupByOutputType[P]>;
|
|
151
|
+
}>>;
|
|
152
|
+
export type FieldAttachmentWhereInput = {
|
|
153
|
+
AND?: Prisma.FieldAttachmentWhereInput | Prisma.FieldAttachmentWhereInput[];
|
|
154
|
+
OR?: Prisma.FieldAttachmentWhereInput[];
|
|
155
|
+
NOT?: Prisma.FieldAttachmentWhereInput | Prisma.FieldAttachmentWhereInput[];
|
|
156
|
+
fieldValueId?: Prisma.IntFilter<"FieldAttachment"> | number;
|
|
157
|
+
attachmentId?: Prisma.IntFilter<"FieldAttachment"> | number;
|
|
158
|
+
createdAt?: Prisma.DateTimeFilter<"FieldAttachment"> | Date | string;
|
|
159
|
+
fieldValue?: Prisma.XOR<Prisma.FieldValueScalarRelationFilter, Prisma.FieldValueWhereInput>;
|
|
160
|
+
attachment?: Prisma.XOR<Prisma.AttachmentScalarRelationFilter, Prisma.AttachmentWhereInput>;
|
|
161
|
+
};
|
|
162
|
+
export type FieldAttachmentOrderByWithRelationInput = {
|
|
163
|
+
fieldValueId?: Prisma.SortOrder;
|
|
164
|
+
attachmentId?: Prisma.SortOrder;
|
|
165
|
+
createdAt?: Prisma.SortOrder;
|
|
166
|
+
fieldValue?: Prisma.FieldValueOrderByWithRelationInput;
|
|
167
|
+
attachment?: Prisma.AttachmentOrderByWithRelationInput;
|
|
168
|
+
};
|
|
169
|
+
export type FieldAttachmentWhereUniqueInput = Prisma.AtLeast<{
|
|
170
|
+
fieldValueId_attachmentId?: Prisma.FieldAttachmentFieldValueIdAttachmentIdCompoundUniqueInput;
|
|
171
|
+
AND?: Prisma.FieldAttachmentWhereInput | Prisma.FieldAttachmentWhereInput[];
|
|
172
|
+
OR?: Prisma.FieldAttachmentWhereInput[];
|
|
173
|
+
NOT?: Prisma.FieldAttachmentWhereInput | Prisma.FieldAttachmentWhereInput[];
|
|
174
|
+
fieldValueId?: Prisma.IntFilter<"FieldAttachment"> | number;
|
|
175
|
+
attachmentId?: Prisma.IntFilter<"FieldAttachment"> | number;
|
|
176
|
+
createdAt?: Prisma.DateTimeFilter<"FieldAttachment"> | Date | string;
|
|
177
|
+
fieldValue?: Prisma.XOR<Prisma.FieldValueScalarRelationFilter, Prisma.FieldValueWhereInput>;
|
|
178
|
+
attachment?: Prisma.XOR<Prisma.AttachmentScalarRelationFilter, Prisma.AttachmentWhereInput>;
|
|
179
|
+
}, "fieldValueId_attachmentId">;
|
|
180
|
+
export type FieldAttachmentOrderByWithAggregationInput = {
|
|
181
|
+
fieldValueId?: Prisma.SortOrder;
|
|
182
|
+
attachmentId?: Prisma.SortOrder;
|
|
183
|
+
createdAt?: Prisma.SortOrder;
|
|
184
|
+
_count?: Prisma.FieldAttachmentCountOrderByAggregateInput;
|
|
185
|
+
_avg?: Prisma.FieldAttachmentAvgOrderByAggregateInput;
|
|
186
|
+
_max?: Prisma.FieldAttachmentMaxOrderByAggregateInput;
|
|
187
|
+
_min?: Prisma.FieldAttachmentMinOrderByAggregateInput;
|
|
188
|
+
_sum?: Prisma.FieldAttachmentSumOrderByAggregateInput;
|
|
189
|
+
};
|
|
190
|
+
export type FieldAttachmentScalarWhereWithAggregatesInput = {
|
|
191
|
+
AND?: Prisma.FieldAttachmentScalarWhereWithAggregatesInput | Prisma.FieldAttachmentScalarWhereWithAggregatesInput[];
|
|
192
|
+
OR?: Prisma.FieldAttachmentScalarWhereWithAggregatesInput[];
|
|
193
|
+
NOT?: Prisma.FieldAttachmentScalarWhereWithAggregatesInput | Prisma.FieldAttachmentScalarWhereWithAggregatesInput[];
|
|
194
|
+
fieldValueId?: Prisma.IntWithAggregatesFilter<"FieldAttachment"> | number;
|
|
195
|
+
attachmentId?: Prisma.IntWithAggregatesFilter<"FieldAttachment"> | number;
|
|
196
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"FieldAttachment"> | Date | string;
|
|
197
|
+
};
|
|
198
|
+
export type FieldAttachmentCreateInput = {
|
|
199
|
+
createdAt?: Date | string;
|
|
200
|
+
fieldValue: Prisma.FieldValueCreateNestedOneWithoutFieldAttachmentsInput;
|
|
201
|
+
attachment: Prisma.AttachmentCreateNestedOneWithoutFieldAttachmentsInput;
|
|
202
|
+
};
|
|
203
|
+
export type FieldAttachmentUncheckedCreateInput = {
|
|
204
|
+
fieldValueId: number;
|
|
205
|
+
attachmentId: number;
|
|
206
|
+
createdAt?: Date | string;
|
|
207
|
+
};
|
|
208
|
+
export type FieldAttachmentUpdateInput = {
|
|
209
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
210
|
+
fieldValue?: Prisma.FieldValueUpdateOneRequiredWithoutFieldAttachmentsNestedInput;
|
|
211
|
+
attachment?: Prisma.AttachmentUpdateOneRequiredWithoutFieldAttachmentsNestedInput;
|
|
212
|
+
};
|
|
213
|
+
export type FieldAttachmentUncheckedUpdateInput = {
|
|
214
|
+
fieldValueId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
215
|
+
attachmentId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
216
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
217
|
+
};
|
|
218
|
+
export type FieldAttachmentCreateManyInput = {
|
|
219
|
+
fieldValueId: number;
|
|
220
|
+
attachmentId: number;
|
|
221
|
+
createdAt?: Date | string;
|
|
222
|
+
};
|
|
223
|
+
export type FieldAttachmentUpdateManyMutationInput = {
|
|
224
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
225
|
+
};
|
|
226
|
+
export type FieldAttachmentUncheckedUpdateManyInput = {
|
|
227
|
+
fieldValueId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
228
|
+
attachmentId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
229
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
230
|
+
};
|
|
231
|
+
export type FieldAttachmentListRelationFilter = {
|
|
232
|
+
every?: Prisma.FieldAttachmentWhereInput;
|
|
233
|
+
some?: Prisma.FieldAttachmentWhereInput;
|
|
234
|
+
none?: Prisma.FieldAttachmentWhereInput;
|
|
235
|
+
};
|
|
236
|
+
export type FieldAttachmentOrderByRelationAggregateInput = {
|
|
237
|
+
_count?: Prisma.SortOrder;
|
|
238
|
+
};
|
|
239
|
+
export type FieldAttachmentFieldValueIdAttachmentIdCompoundUniqueInput = {
|
|
240
|
+
fieldValueId: number;
|
|
241
|
+
attachmentId: number;
|
|
242
|
+
};
|
|
243
|
+
export type FieldAttachmentCountOrderByAggregateInput = {
|
|
244
|
+
fieldValueId?: Prisma.SortOrder;
|
|
245
|
+
attachmentId?: Prisma.SortOrder;
|
|
246
|
+
createdAt?: Prisma.SortOrder;
|
|
247
|
+
};
|
|
248
|
+
export type FieldAttachmentAvgOrderByAggregateInput = {
|
|
249
|
+
fieldValueId?: Prisma.SortOrder;
|
|
250
|
+
attachmentId?: Prisma.SortOrder;
|
|
251
|
+
};
|
|
252
|
+
export type FieldAttachmentMaxOrderByAggregateInput = {
|
|
253
|
+
fieldValueId?: Prisma.SortOrder;
|
|
254
|
+
attachmentId?: Prisma.SortOrder;
|
|
255
|
+
createdAt?: Prisma.SortOrder;
|
|
256
|
+
};
|
|
257
|
+
export type FieldAttachmentMinOrderByAggregateInput = {
|
|
258
|
+
fieldValueId?: Prisma.SortOrder;
|
|
259
|
+
attachmentId?: Prisma.SortOrder;
|
|
260
|
+
createdAt?: Prisma.SortOrder;
|
|
261
|
+
};
|
|
262
|
+
export type FieldAttachmentSumOrderByAggregateInput = {
|
|
263
|
+
fieldValueId?: Prisma.SortOrder;
|
|
264
|
+
attachmentId?: Prisma.SortOrder;
|
|
265
|
+
};
|
|
266
|
+
export type FieldAttachmentCreateNestedManyWithoutFieldValueInput = {
|
|
267
|
+
create?: Prisma.XOR<Prisma.FieldAttachmentCreateWithoutFieldValueInput, Prisma.FieldAttachmentUncheckedCreateWithoutFieldValueInput> | Prisma.FieldAttachmentCreateWithoutFieldValueInput[] | Prisma.FieldAttachmentUncheckedCreateWithoutFieldValueInput[];
|
|
268
|
+
connectOrCreate?: Prisma.FieldAttachmentCreateOrConnectWithoutFieldValueInput | Prisma.FieldAttachmentCreateOrConnectWithoutFieldValueInput[];
|
|
269
|
+
createMany?: Prisma.FieldAttachmentCreateManyFieldValueInputEnvelope;
|
|
270
|
+
connect?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
271
|
+
};
|
|
272
|
+
export type FieldAttachmentUncheckedCreateNestedManyWithoutFieldValueInput = {
|
|
273
|
+
create?: Prisma.XOR<Prisma.FieldAttachmentCreateWithoutFieldValueInput, Prisma.FieldAttachmentUncheckedCreateWithoutFieldValueInput> | Prisma.FieldAttachmentCreateWithoutFieldValueInput[] | Prisma.FieldAttachmentUncheckedCreateWithoutFieldValueInput[];
|
|
274
|
+
connectOrCreate?: Prisma.FieldAttachmentCreateOrConnectWithoutFieldValueInput | Prisma.FieldAttachmentCreateOrConnectWithoutFieldValueInput[];
|
|
275
|
+
createMany?: Prisma.FieldAttachmentCreateManyFieldValueInputEnvelope;
|
|
276
|
+
connect?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
277
|
+
};
|
|
278
|
+
export type FieldAttachmentUpdateManyWithoutFieldValueNestedInput = {
|
|
279
|
+
create?: Prisma.XOR<Prisma.FieldAttachmentCreateWithoutFieldValueInput, Prisma.FieldAttachmentUncheckedCreateWithoutFieldValueInput> | Prisma.FieldAttachmentCreateWithoutFieldValueInput[] | Prisma.FieldAttachmentUncheckedCreateWithoutFieldValueInput[];
|
|
280
|
+
connectOrCreate?: Prisma.FieldAttachmentCreateOrConnectWithoutFieldValueInput | Prisma.FieldAttachmentCreateOrConnectWithoutFieldValueInput[];
|
|
281
|
+
upsert?: Prisma.FieldAttachmentUpsertWithWhereUniqueWithoutFieldValueInput | Prisma.FieldAttachmentUpsertWithWhereUniqueWithoutFieldValueInput[];
|
|
282
|
+
createMany?: Prisma.FieldAttachmentCreateManyFieldValueInputEnvelope;
|
|
283
|
+
set?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
284
|
+
disconnect?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
285
|
+
delete?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
286
|
+
connect?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
287
|
+
update?: Prisma.FieldAttachmentUpdateWithWhereUniqueWithoutFieldValueInput | Prisma.FieldAttachmentUpdateWithWhereUniqueWithoutFieldValueInput[];
|
|
288
|
+
updateMany?: Prisma.FieldAttachmentUpdateManyWithWhereWithoutFieldValueInput | Prisma.FieldAttachmentUpdateManyWithWhereWithoutFieldValueInput[];
|
|
289
|
+
deleteMany?: Prisma.FieldAttachmentScalarWhereInput | Prisma.FieldAttachmentScalarWhereInput[];
|
|
290
|
+
};
|
|
291
|
+
export type FieldAttachmentUncheckedUpdateManyWithoutFieldValueNestedInput = {
|
|
292
|
+
create?: Prisma.XOR<Prisma.FieldAttachmentCreateWithoutFieldValueInput, Prisma.FieldAttachmentUncheckedCreateWithoutFieldValueInput> | Prisma.FieldAttachmentCreateWithoutFieldValueInput[] | Prisma.FieldAttachmentUncheckedCreateWithoutFieldValueInput[];
|
|
293
|
+
connectOrCreate?: Prisma.FieldAttachmentCreateOrConnectWithoutFieldValueInput | Prisma.FieldAttachmentCreateOrConnectWithoutFieldValueInput[];
|
|
294
|
+
upsert?: Prisma.FieldAttachmentUpsertWithWhereUniqueWithoutFieldValueInput | Prisma.FieldAttachmentUpsertWithWhereUniqueWithoutFieldValueInput[];
|
|
295
|
+
createMany?: Prisma.FieldAttachmentCreateManyFieldValueInputEnvelope;
|
|
296
|
+
set?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
297
|
+
disconnect?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
298
|
+
delete?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
299
|
+
connect?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
300
|
+
update?: Prisma.FieldAttachmentUpdateWithWhereUniqueWithoutFieldValueInput | Prisma.FieldAttachmentUpdateWithWhereUniqueWithoutFieldValueInput[];
|
|
301
|
+
updateMany?: Prisma.FieldAttachmentUpdateManyWithWhereWithoutFieldValueInput | Prisma.FieldAttachmentUpdateManyWithWhereWithoutFieldValueInput[];
|
|
302
|
+
deleteMany?: Prisma.FieldAttachmentScalarWhereInput | Prisma.FieldAttachmentScalarWhereInput[];
|
|
303
|
+
};
|
|
304
|
+
export type FieldAttachmentCreateNestedManyWithoutAttachmentInput = {
|
|
305
|
+
create?: Prisma.XOR<Prisma.FieldAttachmentCreateWithoutAttachmentInput, Prisma.FieldAttachmentUncheckedCreateWithoutAttachmentInput> | Prisma.FieldAttachmentCreateWithoutAttachmentInput[] | Prisma.FieldAttachmentUncheckedCreateWithoutAttachmentInput[];
|
|
306
|
+
connectOrCreate?: Prisma.FieldAttachmentCreateOrConnectWithoutAttachmentInput | Prisma.FieldAttachmentCreateOrConnectWithoutAttachmentInput[];
|
|
307
|
+
createMany?: Prisma.FieldAttachmentCreateManyAttachmentInputEnvelope;
|
|
308
|
+
connect?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
309
|
+
};
|
|
310
|
+
export type FieldAttachmentUncheckedCreateNestedManyWithoutAttachmentInput = {
|
|
311
|
+
create?: Prisma.XOR<Prisma.FieldAttachmentCreateWithoutAttachmentInput, Prisma.FieldAttachmentUncheckedCreateWithoutAttachmentInput> | Prisma.FieldAttachmentCreateWithoutAttachmentInput[] | Prisma.FieldAttachmentUncheckedCreateWithoutAttachmentInput[];
|
|
312
|
+
connectOrCreate?: Prisma.FieldAttachmentCreateOrConnectWithoutAttachmentInput | Prisma.FieldAttachmentCreateOrConnectWithoutAttachmentInput[];
|
|
313
|
+
createMany?: Prisma.FieldAttachmentCreateManyAttachmentInputEnvelope;
|
|
314
|
+
connect?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
315
|
+
};
|
|
316
|
+
export type FieldAttachmentUpdateManyWithoutAttachmentNestedInput = {
|
|
317
|
+
create?: Prisma.XOR<Prisma.FieldAttachmentCreateWithoutAttachmentInput, Prisma.FieldAttachmentUncheckedCreateWithoutAttachmentInput> | Prisma.FieldAttachmentCreateWithoutAttachmentInput[] | Prisma.FieldAttachmentUncheckedCreateWithoutAttachmentInput[];
|
|
318
|
+
connectOrCreate?: Prisma.FieldAttachmentCreateOrConnectWithoutAttachmentInput | Prisma.FieldAttachmentCreateOrConnectWithoutAttachmentInput[];
|
|
319
|
+
upsert?: Prisma.FieldAttachmentUpsertWithWhereUniqueWithoutAttachmentInput | Prisma.FieldAttachmentUpsertWithWhereUniqueWithoutAttachmentInput[];
|
|
320
|
+
createMany?: Prisma.FieldAttachmentCreateManyAttachmentInputEnvelope;
|
|
321
|
+
set?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
322
|
+
disconnect?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
323
|
+
delete?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
324
|
+
connect?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
325
|
+
update?: Prisma.FieldAttachmentUpdateWithWhereUniqueWithoutAttachmentInput | Prisma.FieldAttachmentUpdateWithWhereUniqueWithoutAttachmentInput[];
|
|
326
|
+
updateMany?: Prisma.FieldAttachmentUpdateManyWithWhereWithoutAttachmentInput | Prisma.FieldAttachmentUpdateManyWithWhereWithoutAttachmentInput[];
|
|
327
|
+
deleteMany?: Prisma.FieldAttachmentScalarWhereInput | Prisma.FieldAttachmentScalarWhereInput[];
|
|
328
|
+
};
|
|
329
|
+
export type FieldAttachmentUncheckedUpdateManyWithoutAttachmentNestedInput = {
|
|
330
|
+
create?: Prisma.XOR<Prisma.FieldAttachmentCreateWithoutAttachmentInput, Prisma.FieldAttachmentUncheckedCreateWithoutAttachmentInput> | Prisma.FieldAttachmentCreateWithoutAttachmentInput[] | Prisma.FieldAttachmentUncheckedCreateWithoutAttachmentInput[];
|
|
331
|
+
connectOrCreate?: Prisma.FieldAttachmentCreateOrConnectWithoutAttachmentInput | Prisma.FieldAttachmentCreateOrConnectWithoutAttachmentInput[];
|
|
332
|
+
upsert?: Prisma.FieldAttachmentUpsertWithWhereUniqueWithoutAttachmentInput | Prisma.FieldAttachmentUpsertWithWhereUniqueWithoutAttachmentInput[];
|
|
333
|
+
createMany?: Prisma.FieldAttachmentCreateManyAttachmentInputEnvelope;
|
|
334
|
+
set?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
335
|
+
disconnect?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
336
|
+
delete?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
337
|
+
connect?: Prisma.FieldAttachmentWhereUniqueInput | Prisma.FieldAttachmentWhereUniqueInput[];
|
|
338
|
+
update?: Prisma.FieldAttachmentUpdateWithWhereUniqueWithoutAttachmentInput | Prisma.FieldAttachmentUpdateWithWhereUniqueWithoutAttachmentInput[];
|
|
339
|
+
updateMany?: Prisma.FieldAttachmentUpdateManyWithWhereWithoutAttachmentInput | Prisma.FieldAttachmentUpdateManyWithWhereWithoutAttachmentInput[];
|
|
340
|
+
deleteMany?: Prisma.FieldAttachmentScalarWhereInput | Prisma.FieldAttachmentScalarWhereInput[];
|
|
341
|
+
};
|
|
342
|
+
export type FieldAttachmentCreateWithoutFieldValueInput = {
|
|
343
|
+
createdAt?: Date | string;
|
|
344
|
+
attachment: Prisma.AttachmentCreateNestedOneWithoutFieldAttachmentsInput;
|
|
345
|
+
};
|
|
346
|
+
export type FieldAttachmentUncheckedCreateWithoutFieldValueInput = {
|
|
347
|
+
attachmentId: number;
|
|
348
|
+
createdAt?: Date | string;
|
|
349
|
+
};
|
|
350
|
+
export type FieldAttachmentCreateOrConnectWithoutFieldValueInput = {
|
|
351
|
+
where: Prisma.FieldAttachmentWhereUniqueInput;
|
|
352
|
+
create: Prisma.XOR<Prisma.FieldAttachmentCreateWithoutFieldValueInput, Prisma.FieldAttachmentUncheckedCreateWithoutFieldValueInput>;
|
|
353
|
+
};
|
|
354
|
+
export type FieldAttachmentCreateManyFieldValueInputEnvelope = {
|
|
355
|
+
data: Prisma.FieldAttachmentCreateManyFieldValueInput | Prisma.FieldAttachmentCreateManyFieldValueInput[];
|
|
356
|
+
};
|
|
357
|
+
export type FieldAttachmentUpsertWithWhereUniqueWithoutFieldValueInput = {
|
|
358
|
+
where: Prisma.FieldAttachmentWhereUniqueInput;
|
|
359
|
+
update: Prisma.XOR<Prisma.FieldAttachmentUpdateWithoutFieldValueInput, Prisma.FieldAttachmentUncheckedUpdateWithoutFieldValueInput>;
|
|
360
|
+
create: Prisma.XOR<Prisma.FieldAttachmentCreateWithoutFieldValueInput, Prisma.FieldAttachmentUncheckedCreateWithoutFieldValueInput>;
|
|
361
|
+
};
|
|
362
|
+
export type FieldAttachmentUpdateWithWhereUniqueWithoutFieldValueInput = {
|
|
363
|
+
where: Prisma.FieldAttachmentWhereUniqueInput;
|
|
364
|
+
data: Prisma.XOR<Prisma.FieldAttachmentUpdateWithoutFieldValueInput, Prisma.FieldAttachmentUncheckedUpdateWithoutFieldValueInput>;
|
|
365
|
+
};
|
|
366
|
+
export type FieldAttachmentUpdateManyWithWhereWithoutFieldValueInput = {
|
|
367
|
+
where: Prisma.FieldAttachmentScalarWhereInput;
|
|
368
|
+
data: Prisma.XOR<Prisma.FieldAttachmentUpdateManyMutationInput, Prisma.FieldAttachmentUncheckedUpdateManyWithoutFieldValueInput>;
|
|
369
|
+
};
|
|
370
|
+
export type FieldAttachmentScalarWhereInput = {
|
|
371
|
+
AND?: Prisma.FieldAttachmentScalarWhereInput | Prisma.FieldAttachmentScalarWhereInput[];
|
|
372
|
+
OR?: Prisma.FieldAttachmentScalarWhereInput[];
|
|
373
|
+
NOT?: Prisma.FieldAttachmentScalarWhereInput | Prisma.FieldAttachmentScalarWhereInput[];
|
|
374
|
+
fieldValueId?: Prisma.IntFilter<"FieldAttachment"> | number;
|
|
375
|
+
attachmentId?: Prisma.IntFilter<"FieldAttachment"> | number;
|
|
376
|
+
createdAt?: Prisma.DateTimeFilter<"FieldAttachment"> | Date | string;
|
|
377
|
+
};
|
|
378
|
+
export type FieldAttachmentCreateWithoutAttachmentInput = {
|
|
379
|
+
createdAt?: Date | string;
|
|
380
|
+
fieldValue: Prisma.FieldValueCreateNestedOneWithoutFieldAttachmentsInput;
|
|
381
|
+
};
|
|
382
|
+
export type FieldAttachmentUncheckedCreateWithoutAttachmentInput = {
|
|
383
|
+
fieldValueId: number;
|
|
384
|
+
createdAt?: Date | string;
|
|
385
|
+
};
|
|
386
|
+
export type FieldAttachmentCreateOrConnectWithoutAttachmentInput = {
|
|
387
|
+
where: Prisma.FieldAttachmentWhereUniqueInput;
|
|
388
|
+
create: Prisma.XOR<Prisma.FieldAttachmentCreateWithoutAttachmentInput, Prisma.FieldAttachmentUncheckedCreateWithoutAttachmentInput>;
|
|
389
|
+
};
|
|
390
|
+
export type FieldAttachmentCreateManyAttachmentInputEnvelope = {
|
|
391
|
+
data: Prisma.FieldAttachmentCreateManyAttachmentInput | Prisma.FieldAttachmentCreateManyAttachmentInput[];
|
|
392
|
+
};
|
|
393
|
+
export type FieldAttachmentUpsertWithWhereUniqueWithoutAttachmentInput = {
|
|
394
|
+
where: Prisma.FieldAttachmentWhereUniqueInput;
|
|
395
|
+
update: Prisma.XOR<Prisma.FieldAttachmentUpdateWithoutAttachmentInput, Prisma.FieldAttachmentUncheckedUpdateWithoutAttachmentInput>;
|
|
396
|
+
create: Prisma.XOR<Prisma.FieldAttachmentCreateWithoutAttachmentInput, Prisma.FieldAttachmentUncheckedCreateWithoutAttachmentInput>;
|
|
397
|
+
};
|
|
398
|
+
export type FieldAttachmentUpdateWithWhereUniqueWithoutAttachmentInput = {
|
|
399
|
+
where: Prisma.FieldAttachmentWhereUniqueInput;
|
|
400
|
+
data: Prisma.XOR<Prisma.FieldAttachmentUpdateWithoutAttachmentInput, Prisma.FieldAttachmentUncheckedUpdateWithoutAttachmentInput>;
|
|
401
|
+
};
|
|
402
|
+
export type FieldAttachmentUpdateManyWithWhereWithoutAttachmentInput = {
|
|
403
|
+
where: Prisma.FieldAttachmentScalarWhereInput;
|
|
404
|
+
data: Prisma.XOR<Prisma.FieldAttachmentUpdateManyMutationInput, Prisma.FieldAttachmentUncheckedUpdateManyWithoutAttachmentInput>;
|
|
405
|
+
};
|
|
406
|
+
export type FieldAttachmentCreateManyFieldValueInput = {
|
|
407
|
+
attachmentId: number;
|
|
408
|
+
createdAt?: Date | string;
|
|
409
|
+
};
|
|
410
|
+
export type FieldAttachmentUpdateWithoutFieldValueInput = {
|
|
411
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
412
|
+
attachment?: Prisma.AttachmentUpdateOneRequiredWithoutFieldAttachmentsNestedInput;
|
|
413
|
+
};
|
|
414
|
+
export type FieldAttachmentUncheckedUpdateWithoutFieldValueInput = {
|
|
415
|
+
attachmentId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
416
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
417
|
+
};
|
|
418
|
+
export type FieldAttachmentUncheckedUpdateManyWithoutFieldValueInput = {
|
|
419
|
+
attachmentId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
420
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
421
|
+
};
|
|
422
|
+
export type FieldAttachmentCreateManyAttachmentInput = {
|
|
423
|
+
fieldValueId: number;
|
|
424
|
+
createdAt?: Date | string;
|
|
425
|
+
};
|
|
426
|
+
export type FieldAttachmentUpdateWithoutAttachmentInput = {
|
|
427
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
428
|
+
fieldValue?: Prisma.FieldValueUpdateOneRequiredWithoutFieldAttachmentsNestedInput;
|
|
429
|
+
};
|
|
430
|
+
export type FieldAttachmentUncheckedUpdateWithoutAttachmentInput = {
|
|
431
|
+
fieldValueId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
432
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
433
|
+
};
|
|
434
|
+
export type FieldAttachmentUncheckedUpdateManyWithoutAttachmentInput = {
|
|
435
|
+
fieldValueId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
436
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
437
|
+
};
|
|
438
|
+
export type FieldAttachmentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
439
|
+
fieldValueId?: boolean;
|
|
440
|
+
attachmentId?: boolean;
|
|
441
|
+
createdAt?: boolean;
|
|
442
|
+
fieldValue?: boolean | Prisma.FieldValueDefaultArgs<ExtArgs>;
|
|
443
|
+
attachment?: boolean | Prisma.AttachmentDefaultArgs<ExtArgs>;
|
|
444
|
+
}, ExtArgs["result"]["fieldAttachment"]>;
|
|
445
|
+
export type FieldAttachmentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
446
|
+
fieldValueId?: boolean;
|
|
447
|
+
attachmentId?: boolean;
|
|
448
|
+
createdAt?: boolean;
|
|
449
|
+
fieldValue?: boolean | Prisma.FieldValueDefaultArgs<ExtArgs>;
|
|
450
|
+
attachment?: boolean | Prisma.AttachmentDefaultArgs<ExtArgs>;
|
|
451
|
+
}, ExtArgs["result"]["fieldAttachment"]>;
|
|
452
|
+
export type FieldAttachmentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
453
|
+
fieldValueId?: boolean;
|
|
454
|
+
attachmentId?: boolean;
|
|
455
|
+
createdAt?: boolean;
|
|
456
|
+
fieldValue?: boolean | Prisma.FieldValueDefaultArgs<ExtArgs>;
|
|
457
|
+
attachment?: boolean | Prisma.AttachmentDefaultArgs<ExtArgs>;
|
|
458
|
+
}, ExtArgs["result"]["fieldAttachment"]>;
|
|
459
|
+
export type FieldAttachmentSelectScalar = {
|
|
460
|
+
fieldValueId?: boolean;
|
|
461
|
+
attachmentId?: boolean;
|
|
462
|
+
createdAt?: boolean;
|
|
463
|
+
};
|
|
464
|
+
export type FieldAttachmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fieldValueId" | "attachmentId" | "createdAt", ExtArgs["result"]["fieldAttachment"]>;
|
|
465
|
+
export type FieldAttachmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
466
|
+
fieldValue?: boolean | Prisma.FieldValueDefaultArgs<ExtArgs>;
|
|
467
|
+
attachment?: boolean | Prisma.AttachmentDefaultArgs<ExtArgs>;
|
|
468
|
+
};
|
|
469
|
+
export type FieldAttachmentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
470
|
+
fieldValue?: boolean | Prisma.FieldValueDefaultArgs<ExtArgs>;
|
|
471
|
+
attachment?: boolean | Prisma.AttachmentDefaultArgs<ExtArgs>;
|
|
472
|
+
};
|
|
473
|
+
export type FieldAttachmentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
474
|
+
fieldValue?: boolean | Prisma.FieldValueDefaultArgs<ExtArgs>;
|
|
475
|
+
attachment?: boolean | Prisma.AttachmentDefaultArgs<ExtArgs>;
|
|
476
|
+
};
|
|
477
|
+
export type $FieldAttachmentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
478
|
+
name: "FieldAttachment";
|
|
479
|
+
objects: {
|
|
480
|
+
fieldValue: Prisma.$FieldValuePayload<ExtArgs>;
|
|
481
|
+
attachment: Prisma.$AttachmentPayload<ExtArgs>;
|
|
482
|
+
};
|
|
483
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
484
|
+
fieldValueId: number;
|
|
485
|
+
attachmentId: number;
|
|
486
|
+
createdAt: Date;
|
|
487
|
+
}, ExtArgs["result"]["fieldAttachment"]>;
|
|
488
|
+
composites: {};
|
|
489
|
+
};
|
|
490
|
+
export type FieldAttachmentGetPayload<S extends boolean | null | undefined | FieldAttachmentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload, S>;
|
|
491
|
+
export type FieldAttachmentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<FieldAttachmentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
492
|
+
select?: FieldAttachmentCountAggregateInputType | true;
|
|
493
|
+
};
|
|
494
|
+
export interface FieldAttachmentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
495
|
+
[K: symbol]: {
|
|
496
|
+
types: Prisma.TypeMap<ExtArgs>['model']['FieldAttachment'];
|
|
497
|
+
meta: {
|
|
498
|
+
name: 'FieldAttachment';
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
/**
|
|
502
|
+
* Find zero or one FieldAttachment that matches the filter.
|
|
503
|
+
* @param {FieldAttachmentFindUniqueArgs} args - Arguments to find a FieldAttachment
|
|
504
|
+
* @example
|
|
505
|
+
* // Get one FieldAttachment
|
|
506
|
+
* const fieldAttachment = await prisma.fieldAttachment.findUnique({
|
|
507
|
+
* where: {
|
|
508
|
+
* // ... provide filter here
|
|
509
|
+
* }
|
|
510
|
+
* })
|
|
511
|
+
*/
|
|
512
|
+
findUnique<T extends FieldAttachmentFindUniqueArgs>(args: Prisma.SelectSubset<T, FieldAttachmentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FieldAttachmentClient<runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
513
|
+
/**
|
|
514
|
+
* Find one FieldAttachment that matches the filter or throw an error with `error.code='P2025'`
|
|
515
|
+
* if no matches were found.
|
|
516
|
+
* @param {FieldAttachmentFindUniqueOrThrowArgs} args - Arguments to find a FieldAttachment
|
|
517
|
+
* @example
|
|
518
|
+
* // Get one FieldAttachment
|
|
519
|
+
* const fieldAttachment = await prisma.fieldAttachment.findUniqueOrThrow({
|
|
520
|
+
* where: {
|
|
521
|
+
* // ... provide filter here
|
|
522
|
+
* }
|
|
523
|
+
* })
|
|
524
|
+
*/
|
|
525
|
+
findUniqueOrThrow<T extends FieldAttachmentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FieldAttachmentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FieldAttachmentClient<runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
526
|
+
/**
|
|
527
|
+
* Find the first FieldAttachment 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 {FieldAttachmentFindFirstArgs} args - Arguments to find a FieldAttachment
|
|
531
|
+
* @example
|
|
532
|
+
* // Get one FieldAttachment
|
|
533
|
+
* const fieldAttachment = await prisma.fieldAttachment.findFirst({
|
|
534
|
+
* where: {
|
|
535
|
+
* // ... provide filter here
|
|
536
|
+
* }
|
|
537
|
+
* })
|
|
538
|
+
*/
|
|
539
|
+
findFirst<T extends FieldAttachmentFindFirstArgs>(args?: Prisma.SelectSubset<T, FieldAttachmentFindFirstArgs<ExtArgs>>): Prisma.Prisma__FieldAttachmentClient<runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
540
|
+
/**
|
|
541
|
+
* Find the first FieldAttachment 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 {FieldAttachmentFindFirstOrThrowArgs} args - Arguments to find a FieldAttachment
|
|
546
|
+
* @example
|
|
547
|
+
* // Get one FieldAttachment
|
|
548
|
+
* const fieldAttachment = await prisma.fieldAttachment.findFirstOrThrow({
|
|
549
|
+
* where: {
|
|
550
|
+
* // ... provide filter here
|
|
551
|
+
* }
|
|
552
|
+
* })
|
|
553
|
+
*/
|
|
554
|
+
findFirstOrThrow<T extends FieldAttachmentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FieldAttachmentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FieldAttachmentClient<runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
555
|
+
/**
|
|
556
|
+
* Find zero or more FieldAttachments 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 {FieldAttachmentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
560
|
+
* @example
|
|
561
|
+
* // Get all FieldAttachments
|
|
562
|
+
* const fieldAttachments = await prisma.fieldAttachment.findMany()
|
|
563
|
+
*
|
|
564
|
+
* // Get first 10 FieldAttachments
|
|
565
|
+
* const fieldAttachments = await prisma.fieldAttachment.findMany({ take: 10 })
|
|
566
|
+
*
|
|
567
|
+
* // Only select the `fieldValueId`
|
|
568
|
+
* const fieldAttachmentWithFieldValueIdOnly = await prisma.fieldAttachment.findMany({ select: { fieldValueId: true } })
|
|
569
|
+
*
|
|
570
|
+
*/
|
|
571
|
+
findMany<T extends FieldAttachmentFindManyArgs>(args?: Prisma.SelectSubset<T, FieldAttachmentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
572
|
+
/**
|
|
573
|
+
* Create a FieldAttachment.
|
|
574
|
+
* @param {FieldAttachmentCreateArgs} args - Arguments to create a FieldAttachment.
|
|
575
|
+
* @example
|
|
576
|
+
* // Create one FieldAttachment
|
|
577
|
+
* const FieldAttachment = await prisma.fieldAttachment.create({
|
|
578
|
+
* data: {
|
|
579
|
+
* // ... data to create a FieldAttachment
|
|
580
|
+
* }
|
|
581
|
+
* })
|
|
582
|
+
*
|
|
583
|
+
*/
|
|
584
|
+
create<T extends FieldAttachmentCreateArgs>(args: Prisma.SelectSubset<T, FieldAttachmentCreateArgs<ExtArgs>>): Prisma.Prisma__FieldAttachmentClient<runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
585
|
+
/**
|
|
586
|
+
* Create many FieldAttachments.
|
|
587
|
+
* @param {FieldAttachmentCreateManyArgs} args - Arguments to create many FieldAttachments.
|
|
588
|
+
* @example
|
|
589
|
+
* // Create many FieldAttachments
|
|
590
|
+
* const fieldAttachment = await prisma.fieldAttachment.createMany({
|
|
591
|
+
* data: [
|
|
592
|
+
* // ... provide data here
|
|
593
|
+
* ]
|
|
594
|
+
* })
|
|
595
|
+
*
|
|
596
|
+
*/
|
|
597
|
+
createMany<T extends FieldAttachmentCreateManyArgs>(args?: Prisma.SelectSubset<T, FieldAttachmentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
598
|
+
/**
|
|
599
|
+
* Create many FieldAttachments and returns the data saved in the database.
|
|
600
|
+
* @param {FieldAttachmentCreateManyAndReturnArgs} args - Arguments to create many FieldAttachments.
|
|
601
|
+
* @example
|
|
602
|
+
* // Create many FieldAttachments
|
|
603
|
+
* const fieldAttachment = await prisma.fieldAttachment.createManyAndReturn({
|
|
604
|
+
* data: [
|
|
605
|
+
* // ... provide data here
|
|
606
|
+
* ]
|
|
607
|
+
* })
|
|
608
|
+
*
|
|
609
|
+
* // Create many FieldAttachments and only return the `fieldValueId`
|
|
610
|
+
* const fieldAttachmentWithFieldValueIdOnly = await prisma.fieldAttachment.createManyAndReturn({
|
|
611
|
+
* select: { fieldValueId: 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 FieldAttachmentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FieldAttachmentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
621
|
+
/**
|
|
622
|
+
* Delete a FieldAttachment.
|
|
623
|
+
* @param {FieldAttachmentDeleteArgs} args - Arguments to delete one FieldAttachment.
|
|
624
|
+
* @example
|
|
625
|
+
* // Delete one FieldAttachment
|
|
626
|
+
* const FieldAttachment = await prisma.fieldAttachment.delete({
|
|
627
|
+
* where: {
|
|
628
|
+
* // ... filter to delete one FieldAttachment
|
|
629
|
+
* }
|
|
630
|
+
* })
|
|
631
|
+
*
|
|
632
|
+
*/
|
|
633
|
+
delete<T extends FieldAttachmentDeleteArgs>(args: Prisma.SelectSubset<T, FieldAttachmentDeleteArgs<ExtArgs>>): Prisma.Prisma__FieldAttachmentClient<runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
634
|
+
/**
|
|
635
|
+
* Update one FieldAttachment.
|
|
636
|
+
* @param {FieldAttachmentUpdateArgs} args - Arguments to update one FieldAttachment.
|
|
637
|
+
* @example
|
|
638
|
+
* // Update one FieldAttachment
|
|
639
|
+
* const fieldAttachment = await prisma.fieldAttachment.update({
|
|
640
|
+
* where: {
|
|
641
|
+
* // ... provide filter here
|
|
642
|
+
* },
|
|
643
|
+
* data: {
|
|
644
|
+
* // ... provide data here
|
|
645
|
+
* }
|
|
646
|
+
* })
|
|
647
|
+
*
|
|
648
|
+
*/
|
|
649
|
+
update<T extends FieldAttachmentUpdateArgs>(args: Prisma.SelectSubset<T, FieldAttachmentUpdateArgs<ExtArgs>>): Prisma.Prisma__FieldAttachmentClient<runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
650
|
+
/**
|
|
651
|
+
* Delete zero or more FieldAttachments.
|
|
652
|
+
* @param {FieldAttachmentDeleteManyArgs} args - Arguments to filter FieldAttachments to delete.
|
|
653
|
+
* @example
|
|
654
|
+
* // Delete a few FieldAttachments
|
|
655
|
+
* const { count } = await prisma.fieldAttachment.deleteMany({
|
|
656
|
+
* where: {
|
|
657
|
+
* // ... provide filter here
|
|
658
|
+
* }
|
|
659
|
+
* })
|
|
660
|
+
*
|
|
661
|
+
*/
|
|
662
|
+
deleteMany<T extends FieldAttachmentDeleteManyArgs>(args?: Prisma.SelectSubset<T, FieldAttachmentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
663
|
+
/**
|
|
664
|
+
* Update zero or more FieldAttachments.
|
|
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 {FieldAttachmentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
668
|
+
* @example
|
|
669
|
+
* // Update many FieldAttachments
|
|
670
|
+
* const fieldAttachment = await prisma.fieldAttachment.updateMany({
|
|
671
|
+
* where: {
|
|
672
|
+
* // ... provide filter here
|
|
673
|
+
* },
|
|
674
|
+
* data: {
|
|
675
|
+
* // ... provide data here
|
|
676
|
+
* }
|
|
677
|
+
* })
|
|
678
|
+
*
|
|
679
|
+
*/
|
|
680
|
+
updateMany<T extends FieldAttachmentUpdateManyArgs>(args: Prisma.SelectSubset<T, FieldAttachmentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
681
|
+
/**
|
|
682
|
+
* Update zero or more FieldAttachments and returns the data updated in the database.
|
|
683
|
+
* @param {FieldAttachmentUpdateManyAndReturnArgs} args - Arguments to update many FieldAttachments.
|
|
684
|
+
* @example
|
|
685
|
+
* // Update many FieldAttachments
|
|
686
|
+
* const fieldAttachment = await prisma.fieldAttachment.updateManyAndReturn({
|
|
687
|
+
* where: {
|
|
688
|
+
* // ... provide filter here
|
|
689
|
+
* },
|
|
690
|
+
* data: [
|
|
691
|
+
* // ... provide data here
|
|
692
|
+
* ]
|
|
693
|
+
* })
|
|
694
|
+
*
|
|
695
|
+
* // Update zero or more FieldAttachments and only return the `fieldValueId`
|
|
696
|
+
* const fieldAttachmentWithFieldValueIdOnly = await prisma.fieldAttachment.updateManyAndReturn({
|
|
697
|
+
* select: { fieldValueId: 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 FieldAttachmentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FieldAttachmentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
710
|
+
/**
|
|
711
|
+
* Create or update one FieldAttachment.
|
|
712
|
+
* @param {FieldAttachmentUpsertArgs} args - Arguments to update or create a FieldAttachment.
|
|
713
|
+
* @example
|
|
714
|
+
* // Update or create a FieldAttachment
|
|
715
|
+
* const fieldAttachment = await prisma.fieldAttachment.upsert({
|
|
716
|
+
* create: {
|
|
717
|
+
* // ... data to create a FieldAttachment
|
|
718
|
+
* },
|
|
719
|
+
* update: {
|
|
720
|
+
* // ... in case it already exists, update
|
|
721
|
+
* },
|
|
722
|
+
* where: {
|
|
723
|
+
* // ... the filter for the FieldAttachment we want to update
|
|
724
|
+
* }
|
|
725
|
+
* })
|
|
726
|
+
*/
|
|
727
|
+
upsert<T extends FieldAttachmentUpsertArgs>(args: Prisma.SelectSubset<T, FieldAttachmentUpsertArgs<ExtArgs>>): Prisma.Prisma__FieldAttachmentClient<runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
728
|
+
/**
|
|
729
|
+
* Count the number of FieldAttachments.
|
|
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 {FieldAttachmentCountArgs} args - Arguments to filter FieldAttachments to count.
|
|
733
|
+
* @example
|
|
734
|
+
* // Count the number of FieldAttachments
|
|
735
|
+
* const count = await prisma.fieldAttachment.count({
|
|
736
|
+
* where: {
|
|
737
|
+
* // ... the filter for the FieldAttachments we want to count
|
|
738
|
+
* }
|
|
739
|
+
* })
|
|
740
|
+
**/
|
|
741
|
+
count<T extends FieldAttachmentCountArgs>(args?: Prisma.Subset<T, FieldAttachmentCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], FieldAttachmentCountAggregateOutputType> : number>;
|
|
742
|
+
/**
|
|
743
|
+
* Allows you to perform aggregations operations on a FieldAttachment.
|
|
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 {FieldAttachmentAggregateArgs} 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 FieldAttachmentAggregateArgs>(args: Prisma.Subset<T, FieldAttachmentAggregateArgs>): Prisma.PrismaPromise<GetFieldAttachmentAggregateType<T>>;
|
|
767
|
+
/**
|
|
768
|
+
* Group by FieldAttachment.
|
|
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 {FieldAttachmentGroupByArgs} 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 FieldAttachmentGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
786
|
+
orderBy: FieldAttachmentGroupByArgs['orderBy'];
|
|
787
|
+
} : {
|
|
788
|
+
orderBy?: FieldAttachmentGroupByArgs['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, FieldAttachmentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFieldAttachmentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
803
|
+
/**
|
|
804
|
+
* Fields of the FieldAttachment model
|
|
805
|
+
*/
|
|
806
|
+
readonly fields: FieldAttachmentFieldRefs;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* The delegate class that acts as a "Promise-like" for FieldAttachment.
|
|
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__FieldAttachmentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
815
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
816
|
+
fieldValue<T extends Prisma.FieldValueDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FieldValueDefaultArgs<ExtArgs>>): Prisma.Prisma__FieldValueClient<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
817
|
+
attachment<T extends Prisma.AttachmentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AttachmentDefaultArgs<ExtArgs>>): Prisma.Prisma__AttachmentClient<runtime.Types.Result.GetResult<Prisma.$AttachmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
818
|
+
/**
|
|
819
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
820
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
821
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
822
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
823
|
+
*/
|
|
824
|
+
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>;
|
|
825
|
+
/**
|
|
826
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
827
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
828
|
+
* @returns A Promise for the completion of the callback.
|
|
829
|
+
*/
|
|
830
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
831
|
+
/**
|
|
832
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
833
|
+
* resolved value cannot be modified from the callback.
|
|
834
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
835
|
+
* @returns A Promise for the completion of the callback.
|
|
836
|
+
*/
|
|
837
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
* Fields of the FieldAttachment model
|
|
841
|
+
*/
|
|
842
|
+
export interface FieldAttachmentFieldRefs {
|
|
843
|
+
readonly fieldValueId: Prisma.FieldRef<"FieldAttachment", 'Int'>;
|
|
844
|
+
readonly attachmentId: Prisma.FieldRef<"FieldAttachment", 'Int'>;
|
|
845
|
+
readonly createdAt: Prisma.FieldRef<"FieldAttachment", 'DateTime'>;
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* FieldAttachment findUnique
|
|
849
|
+
*/
|
|
850
|
+
export type FieldAttachmentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
851
|
+
/**
|
|
852
|
+
* Select specific fields to fetch from the FieldAttachment
|
|
853
|
+
*/
|
|
854
|
+
select?: Prisma.FieldAttachmentSelect<ExtArgs> | null;
|
|
855
|
+
/**
|
|
856
|
+
* Omit specific fields from the FieldAttachment
|
|
857
|
+
*/
|
|
858
|
+
omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
|
|
859
|
+
/**
|
|
860
|
+
* Choose, which related nodes to fetch as well
|
|
861
|
+
*/
|
|
862
|
+
include?: Prisma.FieldAttachmentInclude<ExtArgs> | null;
|
|
863
|
+
/**
|
|
864
|
+
* Filter, which FieldAttachment to fetch.
|
|
865
|
+
*/
|
|
866
|
+
where: Prisma.FieldAttachmentWhereUniqueInput;
|
|
867
|
+
};
|
|
868
|
+
/**
|
|
869
|
+
* FieldAttachment findUniqueOrThrow
|
|
870
|
+
*/
|
|
871
|
+
export type FieldAttachmentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
872
|
+
/**
|
|
873
|
+
* Select specific fields to fetch from the FieldAttachment
|
|
874
|
+
*/
|
|
875
|
+
select?: Prisma.FieldAttachmentSelect<ExtArgs> | null;
|
|
876
|
+
/**
|
|
877
|
+
* Omit specific fields from the FieldAttachment
|
|
878
|
+
*/
|
|
879
|
+
omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
|
|
880
|
+
/**
|
|
881
|
+
* Choose, which related nodes to fetch as well
|
|
882
|
+
*/
|
|
883
|
+
include?: Prisma.FieldAttachmentInclude<ExtArgs> | null;
|
|
884
|
+
/**
|
|
885
|
+
* Filter, which FieldAttachment to fetch.
|
|
886
|
+
*/
|
|
887
|
+
where: Prisma.FieldAttachmentWhereUniqueInput;
|
|
888
|
+
};
|
|
889
|
+
/**
|
|
890
|
+
* FieldAttachment findFirst
|
|
891
|
+
*/
|
|
892
|
+
export type FieldAttachmentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
893
|
+
/**
|
|
894
|
+
* Select specific fields to fetch from the FieldAttachment
|
|
895
|
+
*/
|
|
896
|
+
select?: Prisma.FieldAttachmentSelect<ExtArgs> | null;
|
|
897
|
+
/**
|
|
898
|
+
* Omit specific fields from the FieldAttachment
|
|
899
|
+
*/
|
|
900
|
+
omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
|
|
901
|
+
/**
|
|
902
|
+
* Choose, which related nodes to fetch as well
|
|
903
|
+
*/
|
|
904
|
+
include?: Prisma.FieldAttachmentInclude<ExtArgs> | null;
|
|
905
|
+
/**
|
|
906
|
+
* Filter, which FieldAttachment to fetch.
|
|
907
|
+
*/
|
|
908
|
+
where?: Prisma.FieldAttachmentWhereInput;
|
|
909
|
+
/**
|
|
910
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
911
|
+
*
|
|
912
|
+
* Determine the order of FieldAttachments to fetch.
|
|
913
|
+
*/
|
|
914
|
+
orderBy?: Prisma.FieldAttachmentOrderByWithRelationInput | Prisma.FieldAttachmentOrderByWithRelationInput[];
|
|
915
|
+
/**
|
|
916
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
917
|
+
*
|
|
918
|
+
* Sets the position for searching for FieldAttachments.
|
|
919
|
+
*/
|
|
920
|
+
cursor?: Prisma.FieldAttachmentWhereUniqueInput;
|
|
921
|
+
/**
|
|
922
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
923
|
+
*
|
|
924
|
+
* Take `±n` FieldAttachments from the position of the cursor.
|
|
925
|
+
*/
|
|
926
|
+
take?: number;
|
|
927
|
+
/**
|
|
928
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
929
|
+
*
|
|
930
|
+
* Skip the first `n` FieldAttachments.
|
|
931
|
+
*/
|
|
932
|
+
skip?: number;
|
|
933
|
+
/**
|
|
934
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
935
|
+
*
|
|
936
|
+
* Filter by unique combinations of FieldAttachments.
|
|
937
|
+
*/
|
|
938
|
+
distinct?: Prisma.FieldAttachmentScalarFieldEnum | Prisma.FieldAttachmentScalarFieldEnum[];
|
|
939
|
+
};
|
|
940
|
+
/**
|
|
941
|
+
* FieldAttachment findFirstOrThrow
|
|
942
|
+
*/
|
|
943
|
+
export type FieldAttachmentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
944
|
+
/**
|
|
945
|
+
* Select specific fields to fetch from the FieldAttachment
|
|
946
|
+
*/
|
|
947
|
+
select?: Prisma.FieldAttachmentSelect<ExtArgs> | null;
|
|
948
|
+
/**
|
|
949
|
+
* Omit specific fields from the FieldAttachment
|
|
950
|
+
*/
|
|
951
|
+
omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
|
|
952
|
+
/**
|
|
953
|
+
* Choose, which related nodes to fetch as well
|
|
954
|
+
*/
|
|
955
|
+
include?: Prisma.FieldAttachmentInclude<ExtArgs> | null;
|
|
956
|
+
/**
|
|
957
|
+
* Filter, which FieldAttachment to fetch.
|
|
958
|
+
*/
|
|
959
|
+
where?: Prisma.FieldAttachmentWhereInput;
|
|
960
|
+
/**
|
|
961
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
962
|
+
*
|
|
963
|
+
* Determine the order of FieldAttachments to fetch.
|
|
964
|
+
*/
|
|
965
|
+
orderBy?: Prisma.FieldAttachmentOrderByWithRelationInput | Prisma.FieldAttachmentOrderByWithRelationInput[];
|
|
966
|
+
/**
|
|
967
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
968
|
+
*
|
|
969
|
+
* Sets the position for searching for FieldAttachments.
|
|
970
|
+
*/
|
|
971
|
+
cursor?: Prisma.FieldAttachmentWhereUniqueInput;
|
|
972
|
+
/**
|
|
973
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
974
|
+
*
|
|
975
|
+
* Take `±n` FieldAttachments from the position of the cursor.
|
|
976
|
+
*/
|
|
977
|
+
take?: number;
|
|
978
|
+
/**
|
|
979
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
980
|
+
*
|
|
981
|
+
* Skip the first `n` FieldAttachments.
|
|
982
|
+
*/
|
|
983
|
+
skip?: number;
|
|
984
|
+
/**
|
|
985
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
986
|
+
*
|
|
987
|
+
* Filter by unique combinations of FieldAttachments.
|
|
988
|
+
*/
|
|
989
|
+
distinct?: Prisma.FieldAttachmentScalarFieldEnum | Prisma.FieldAttachmentScalarFieldEnum[];
|
|
990
|
+
};
|
|
991
|
+
/**
|
|
992
|
+
* FieldAttachment findMany
|
|
993
|
+
*/
|
|
994
|
+
export type FieldAttachmentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
995
|
+
/**
|
|
996
|
+
* Select specific fields to fetch from the FieldAttachment
|
|
997
|
+
*/
|
|
998
|
+
select?: Prisma.FieldAttachmentSelect<ExtArgs> | null;
|
|
999
|
+
/**
|
|
1000
|
+
* Omit specific fields from the FieldAttachment
|
|
1001
|
+
*/
|
|
1002
|
+
omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
|
|
1003
|
+
/**
|
|
1004
|
+
* Choose, which related nodes to fetch as well
|
|
1005
|
+
*/
|
|
1006
|
+
include?: Prisma.FieldAttachmentInclude<ExtArgs> | null;
|
|
1007
|
+
/**
|
|
1008
|
+
* Filter, which FieldAttachments to fetch.
|
|
1009
|
+
*/
|
|
1010
|
+
where?: Prisma.FieldAttachmentWhereInput;
|
|
1011
|
+
/**
|
|
1012
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1013
|
+
*
|
|
1014
|
+
* Determine the order of FieldAttachments to fetch.
|
|
1015
|
+
*/
|
|
1016
|
+
orderBy?: Prisma.FieldAttachmentOrderByWithRelationInput | Prisma.FieldAttachmentOrderByWithRelationInput[];
|
|
1017
|
+
/**
|
|
1018
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1019
|
+
*
|
|
1020
|
+
* Sets the position for listing FieldAttachments.
|
|
1021
|
+
*/
|
|
1022
|
+
cursor?: Prisma.FieldAttachmentWhereUniqueInput;
|
|
1023
|
+
/**
|
|
1024
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1025
|
+
*
|
|
1026
|
+
* Take `±n` FieldAttachments from the position of the cursor.
|
|
1027
|
+
*/
|
|
1028
|
+
take?: number;
|
|
1029
|
+
/**
|
|
1030
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1031
|
+
*
|
|
1032
|
+
* Skip the first `n` FieldAttachments.
|
|
1033
|
+
*/
|
|
1034
|
+
skip?: number;
|
|
1035
|
+
/**
|
|
1036
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1037
|
+
*
|
|
1038
|
+
* Filter by unique combinations of FieldAttachments.
|
|
1039
|
+
*/
|
|
1040
|
+
distinct?: Prisma.FieldAttachmentScalarFieldEnum | Prisma.FieldAttachmentScalarFieldEnum[];
|
|
1041
|
+
};
|
|
1042
|
+
/**
|
|
1043
|
+
* FieldAttachment create
|
|
1044
|
+
*/
|
|
1045
|
+
export type FieldAttachmentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1046
|
+
/**
|
|
1047
|
+
* Select specific fields to fetch from the FieldAttachment
|
|
1048
|
+
*/
|
|
1049
|
+
select?: Prisma.FieldAttachmentSelect<ExtArgs> | null;
|
|
1050
|
+
/**
|
|
1051
|
+
* Omit specific fields from the FieldAttachment
|
|
1052
|
+
*/
|
|
1053
|
+
omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
|
|
1054
|
+
/**
|
|
1055
|
+
* Choose, which related nodes to fetch as well
|
|
1056
|
+
*/
|
|
1057
|
+
include?: Prisma.FieldAttachmentInclude<ExtArgs> | null;
|
|
1058
|
+
/**
|
|
1059
|
+
* The data needed to create a FieldAttachment.
|
|
1060
|
+
*/
|
|
1061
|
+
data: Prisma.XOR<Prisma.FieldAttachmentCreateInput, Prisma.FieldAttachmentUncheckedCreateInput>;
|
|
1062
|
+
};
|
|
1063
|
+
/**
|
|
1064
|
+
* FieldAttachment createMany
|
|
1065
|
+
*/
|
|
1066
|
+
export type FieldAttachmentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1067
|
+
/**
|
|
1068
|
+
* The data used to create many FieldAttachments.
|
|
1069
|
+
*/
|
|
1070
|
+
data: Prisma.FieldAttachmentCreateManyInput | Prisma.FieldAttachmentCreateManyInput[];
|
|
1071
|
+
};
|
|
1072
|
+
/**
|
|
1073
|
+
* FieldAttachment createManyAndReturn
|
|
1074
|
+
*/
|
|
1075
|
+
export type FieldAttachmentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1076
|
+
/**
|
|
1077
|
+
* Select specific fields to fetch from the FieldAttachment
|
|
1078
|
+
*/
|
|
1079
|
+
select?: Prisma.FieldAttachmentSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1080
|
+
/**
|
|
1081
|
+
* Omit specific fields from the FieldAttachment
|
|
1082
|
+
*/
|
|
1083
|
+
omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* The data used to create many FieldAttachments.
|
|
1086
|
+
*/
|
|
1087
|
+
data: Prisma.FieldAttachmentCreateManyInput | Prisma.FieldAttachmentCreateManyInput[];
|
|
1088
|
+
/**
|
|
1089
|
+
* Choose, which related nodes to fetch as well
|
|
1090
|
+
*/
|
|
1091
|
+
include?: Prisma.FieldAttachmentIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1092
|
+
};
|
|
1093
|
+
/**
|
|
1094
|
+
* FieldAttachment update
|
|
1095
|
+
*/
|
|
1096
|
+
export type FieldAttachmentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1097
|
+
/**
|
|
1098
|
+
* Select specific fields to fetch from the FieldAttachment
|
|
1099
|
+
*/
|
|
1100
|
+
select?: Prisma.FieldAttachmentSelect<ExtArgs> | null;
|
|
1101
|
+
/**
|
|
1102
|
+
* Omit specific fields from the FieldAttachment
|
|
1103
|
+
*/
|
|
1104
|
+
omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
|
|
1105
|
+
/**
|
|
1106
|
+
* Choose, which related nodes to fetch as well
|
|
1107
|
+
*/
|
|
1108
|
+
include?: Prisma.FieldAttachmentInclude<ExtArgs> | null;
|
|
1109
|
+
/**
|
|
1110
|
+
* The data needed to update a FieldAttachment.
|
|
1111
|
+
*/
|
|
1112
|
+
data: Prisma.XOR<Prisma.FieldAttachmentUpdateInput, Prisma.FieldAttachmentUncheckedUpdateInput>;
|
|
1113
|
+
/**
|
|
1114
|
+
* Choose, which FieldAttachment to update.
|
|
1115
|
+
*/
|
|
1116
|
+
where: Prisma.FieldAttachmentWhereUniqueInput;
|
|
1117
|
+
};
|
|
1118
|
+
/**
|
|
1119
|
+
* FieldAttachment updateMany
|
|
1120
|
+
*/
|
|
1121
|
+
export type FieldAttachmentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1122
|
+
/**
|
|
1123
|
+
* The data used to update FieldAttachments.
|
|
1124
|
+
*/
|
|
1125
|
+
data: Prisma.XOR<Prisma.FieldAttachmentUpdateManyMutationInput, Prisma.FieldAttachmentUncheckedUpdateManyInput>;
|
|
1126
|
+
/**
|
|
1127
|
+
* Filter which FieldAttachments to update
|
|
1128
|
+
*/
|
|
1129
|
+
where?: Prisma.FieldAttachmentWhereInput;
|
|
1130
|
+
/**
|
|
1131
|
+
* Limit how many FieldAttachments to update.
|
|
1132
|
+
*/
|
|
1133
|
+
limit?: number;
|
|
1134
|
+
};
|
|
1135
|
+
/**
|
|
1136
|
+
* FieldAttachment updateManyAndReturn
|
|
1137
|
+
*/
|
|
1138
|
+
export type FieldAttachmentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1139
|
+
/**
|
|
1140
|
+
* Select specific fields to fetch from the FieldAttachment
|
|
1141
|
+
*/
|
|
1142
|
+
select?: Prisma.FieldAttachmentSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1143
|
+
/**
|
|
1144
|
+
* Omit specific fields from the FieldAttachment
|
|
1145
|
+
*/
|
|
1146
|
+
omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
|
|
1147
|
+
/**
|
|
1148
|
+
* The data used to update FieldAttachments.
|
|
1149
|
+
*/
|
|
1150
|
+
data: Prisma.XOR<Prisma.FieldAttachmentUpdateManyMutationInput, Prisma.FieldAttachmentUncheckedUpdateManyInput>;
|
|
1151
|
+
/**
|
|
1152
|
+
* Filter which FieldAttachments to update
|
|
1153
|
+
*/
|
|
1154
|
+
where?: Prisma.FieldAttachmentWhereInput;
|
|
1155
|
+
/**
|
|
1156
|
+
* Limit how many FieldAttachments to update.
|
|
1157
|
+
*/
|
|
1158
|
+
limit?: number;
|
|
1159
|
+
/**
|
|
1160
|
+
* Choose, which related nodes to fetch as well
|
|
1161
|
+
*/
|
|
1162
|
+
include?: Prisma.FieldAttachmentIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1163
|
+
};
|
|
1164
|
+
/**
|
|
1165
|
+
* FieldAttachment upsert
|
|
1166
|
+
*/
|
|
1167
|
+
export type FieldAttachmentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1168
|
+
/**
|
|
1169
|
+
* Select specific fields to fetch from the FieldAttachment
|
|
1170
|
+
*/
|
|
1171
|
+
select?: Prisma.FieldAttachmentSelect<ExtArgs> | null;
|
|
1172
|
+
/**
|
|
1173
|
+
* Omit specific fields from the FieldAttachment
|
|
1174
|
+
*/
|
|
1175
|
+
omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
|
|
1176
|
+
/**
|
|
1177
|
+
* Choose, which related nodes to fetch as well
|
|
1178
|
+
*/
|
|
1179
|
+
include?: Prisma.FieldAttachmentInclude<ExtArgs> | null;
|
|
1180
|
+
/**
|
|
1181
|
+
* The filter to search for the FieldAttachment to update in case it exists.
|
|
1182
|
+
*/
|
|
1183
|
+
where: Prisma.FieldAttachmentWhereUniqueInput;
|
|
1184
|
+
/**
|
|
1185
|
+
* In case the FieldAttachment found by the `where` argument doesn't exist, create a new FieldAttachment with this data.
|
|
1186
|
+
*/
|
|
1187
|
+
create: Prisma.XOR<Prisma.FieldAttachmentCreateInput, Prisma.FieldAttachmentUncheckedCreateInput>;
|
|
1188
|
+
/**
|
|
1189
|
+
* In case the FieldAttachment was found with the provided `where` argument, update it with this data.
|
|
1190
|
+
*/
|
|
1191
|
+
update: Prisma.XOR<Prisma.FieldAttachmentUpdateInput, Prisma.FieldAttachmentUncheckedUpdateInput>;
|
|
1192
|
+
};
|
|
1193
|
+
/**
|
|
1194
|
+
* FieldAttachment delete
|
|
1195
|
+
*/
|
|
1196
|
+
export type FieldAttachmentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1197
|
+
/**
|
|
1198
|
+
* Select specific fields to fetch from the FieldAttachment
|
|
1199
|
+
*/
|
|
1200
|
+
select?: Prisma.FieldAttachmentSelect<ExtArgs> | null;
|
|
1201
|
+
/**
|
|
1202
|
+
* Omit specific fields from the FieldAttachment
|
|
1203
|
+
*/
|
|
1204
|
+
omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
|
|
1205
|
+
/**
|
|
1206
|
+
* Choose, which related nodes to fetch as well
|
|
1207
|
+
*/
|
|
1208
|
+
include?: Prisma.FieldAttachmentInclude<ExtArgs> | null;
|
|
1209
|
+
/**
|
|
1210
|
+
* Filter which FieldAttachment to delete.
|
|
1211
|
+
*/
|
|
1212
|
+
where: Prisma.FieldAttachmentWhereUniqueInput;
|
|
1213
|
+
};
|
|
1214
|
+
/**
|
|
1215
|
+
* FieldAttachment deleteMany
|
|
1216
|
+
*/
|
|
1217
|
+
export type FieldAttachmentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1218
|
+
/**
|
|
1219
|
+
* Filter which FieldAttachments to delete
|
|
1220
|
+
*/
|
|
1221
|
+
where?: Prisma.FieldAttachmentWhereInput;
|
|
1222
|
+
/**
|
|
1223
|
+
* Limit how many FieldAttachments to delete.
|
|
1224
|
+
*/
|
|
1225
|
+
limit?: number;
|
|
1226
|
+
};
|
|
1227
|
+
/**
|
|
1228
|
+
* FieldAttachment without action
|
|
1229
|
+
*/
|
|
1230
|
+
export type FieldAttachmentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1231
|
+
/**
|
|
1232
|
+
* Select specific fields to fetch from the FieldAttachment
|
|
1233
|
+
*/
|
|
1234
|
+
select?: Prisma.FieldAttachmentSelect<ExtArgs> | null;
|
|
1235
|
+
/**
|
|
1236
|
+
* Omit specific fields from the FieldAttachment
|
|
1237
|
+
*/
|
|
1238
|
+
omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
|
|
1239
|
+
/**
|
|
1240
|
+
* Choose, which related nodes to fetch as well
|
|
1241
|
+
*/
|
|
1242
|
+
include?: Prisma.FieldAttachmentInclude<ExtArgs> | null;
|
|
1243
|
+
};
|
|
1244
|
+
export {};
|
|
1245
|
+
//# sourceMappingURL=FieldAttachment.d.ts.map
|