@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,1880 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model Field
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type FieldModel = runtime.Types.Result.DefaultSelection<Prisma.$FieldPayload>;
|
|
9
|
+
export type AggregateField = {
|
|
10
|
+
_count: FieldCountAggregateOutputType | null;
|
|
11
|
+
_avg: FieldAvgAggregateOutputType | null;
|
|
12
|
+
_sum: FieldSumAggregateOutputType | null;
|
|
13
|
+
_min: FieldMinAggregateOutputType | null;
|
|
14
|
+
_max: FieldMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type FieldAvgAggregateOutputType = {
|
|
17
|
+
id: number | null;
|
|
18
|
+
fieldSetId: number | null;
|
|
19
|
+
seqNo: number | null;
|
|
20
|
+
createdById: number | null;
|
|
21
|
+
updatedById: number | null;
|
|
22
|
+
};
|
|
23
|
+
export type FieldSumAggregateOutputType = {
|
|
24
|
+
id: number | null;
|
|
25
|
+
fieldSetId: number | null;
|
|
26
|
+
seqNo: number | null;
|
|
27
|
+
createdById: number | null;
|
|
28
|
+
updatedById: number | null;
|
|
29
|
+
};
|
|
30
|
+
export type FieldMinAggregateOutputType = {
|
|
31
|
+
id: number | null;
|
|
32
|
+
fieldSetId: number | null;
|
|
33
|
+
seqNo: number | null;
|
|
34
|
+
label: string | null;
|
|
35
|
+
type: $Enums.FieldType | null;
|
|
36
|
+
isArray: boolean | null;
|
|
37
|
+
required: boolean | null;
|
|
38
|
+
createdAt: Date | null;
|
|
39
|
+
createdById: number | null;
|
|
40
|
+
updatedAt: Date | null;
|
|
41
|
+
updatedById: number | null;
|
|
42
|
+
};
|
|
43
|
+
export type FieldMaxAggregateOutputType = {
|
|
44
|
+
id: number | null;
|
|
45
|
+
fieldSetId: number | null;
|
|
46
|
+
seqNo: number | null;
|
|
47
|
+
label: string | null;
|
|
48
|
+
type: $Enums.FieldType | null;
|
|
49
|
+
isArray: boolean | null;
|
|
50
|
+
required: boolean | null;
|
|
51
|
+
createdAt: Date | null;
|
|
52
|
+
createdById: number | null;
|
|
53
|
+
updatedAt: Date | null;
|
|
54
|
+
updatedById: number | null;
|
|
55
|
+
};
|
|
56
|
+
export type FieldCountAggregateOutputType = {
|
|
57
|
+
id: number;
|
|
58
|
+
fieldSetId: number;
|
|
59
|
+
seqNo: number;
|
|
60
|
+
label: number;
|
|
61
|
+
type: number;
|
|
62
|
+
isArray: number;
|
|
63
|
+
required: number;
|
|
64
|
+
createdAt: number;
|
|
65
|
+
createdById: number;
|
|
66
|
+
updatedAt: number;
|
|
67
|
+
updatedById: number;
|
|
68
|
+
_all: number;
|
|
69
|
+
};
|
|
70
|
+
export type FieldAvgAggregateInputType = {
|
|
71
|
+
id?: true;
|
|
72
|
+
fieldSetId?: true;
|
|
73
|
+
seqNo?: true;
|
|
74
|
+
createdById?: true;
|
|
75
|
+
updatedById?: true;
|
|
76
|
+
};
|
|
77
|
+
export type FieldSumAggregateInputType = {
|
|
78
|
+
id?: true;
|
|
79
|
+
fieldSetId?: true;
|
|
80
|
+
seqNo?: true;
|
|
81
|
+
createdById?: true;
|
|
82
|
+
updatedById?: true;
|
|
83
|
+
};
|
|
84
|
+
export type FieldMinAggregateInputType = {
|
|
85
|
+
id?: true;
|
|
86
|
+
fieldSetId?: true;
|
|
87
|
+
seqNo?: true;
|
|
88
|
+
label?: true;
|
|
89
|
+
type?: true;
|
|
90
|
+
isArray?: true;
|
|
91
|
+
required?: true;
|
|
92
|
+
createdAt?: true;
|
|
93
|
+
createdById?: true;
|
|
94
|
+
updatedAt?: true;
|
|
95
|
+
updatedById?: true;
|
|
96
|
+
};
|
|
97
|
+
export type FieldMaxAggregateInputType = {
|
|
98
|
+
id?: true;
|
|
99
|
+
fieldSetId?: true;
|
|
100
|
+
seqNo?: true;
|
|
101
|
+
label?: true;
|
|
102
|
+
type?: true;
|
|
103
|
+
isArray?: true;
|
|
104
|
+
required?: true;
|
|
105
|
+
createdAt?: true;
|
|
106
|
+
createdById?: true;
|
|
107
|
+
updatedAt?: true;
|
|
108
|
+
updatedById?: true;
|
|
109
|
+
};
|
|
110
|
+
export type FieldCountAggregateInputType = {
|
|
111
|
+
id?: true;
|
|
112
|
+
fieldSetId?: true;
|
|
113
|
+
seqNo?: true;
|
|
114
|
+
label?: true;
|
|
115
|
+
type?: true;
|
|
116
|
+
isArray?: true;
|
|
117
|
+
required?: true;
|
|
118
|
+
createdAt?: true;
|
|
119
|
+
createdById?: true;
|
|
120
|
+
updatedAt?: true;
|
|
121
|
+
updatedById?: true;
|
|
122
|
+
_all?: true;
|
|
123
|
+
};
|
|
124
|
+
export type FieldAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
125
|
+
/**
|
|
126
|
+
* Filter which Field to aggregate.
|
|
127
|
+
*/
|
|
128
|
+
where?: Prisma.FieldWhereInput;
|
|
129
|
+
/**
|
|
130
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
131
|
+
*
|
|
132
|
+
* Determine the order of Fields to fetch.
|
|
133
|
+
*/
|
|
134
|
+
orderBy?: Prisma.FieldOrderByWithRelationInput | Prisma.FieldOrderByWithRelationInput[];
|
|
135
|
+
/**
|
|
136
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
137
|
+
*
|
|
138
|
+
* Sets the start position
|
|
139
|
+
*/
|
|
140
|
+
cursor?: Prisma.FieldWhereUniqueInput;
|
|
141
|
+
/**
|
|
142
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
143
|
+
*
|
|
144
|
+
* Take `±n` Fields from the position of the cursor.
|
|
145
|
+
*/
|
|
146
|
+
take?: number;
|
|
147
|
+
/**
|
|
148
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
149
|
+
*
|
|
150
|
+
* Skip the first `n` Fields.
|
|
151
|
+
*/
|
|
152
|
+
skip?: number;
|
|
153
|
+
/**
|
|
154
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
155
|
+
*
|
|
156
|
+
* Count returned Fields
|
|
157
|
+
**/
|
|
158
|
+
_count?: true | FieldCountAggregateInputType;
|
|
159
|
+
/**
|
|
160
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
161
|
+
*
|
|
162
|
+
* Select which fields to average
|
|
163
|
+
**/
|
|
164
|
+
_avg?: FieldAvgAggregateInputType;
|
|
165
|
+
/**
|
|
166
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
167
|
+
*
|
|
168
|
+
* Select which fields to sum
|
|
169
|
+
**/
|
|
170
|
+
_sum?: FieldSumAggregateInputType;
|
|
171
|
+
/**
|
|
172
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
173
|
+
*
|
|
174
|
+
* Select which fields to find the minimum value
|
|
175
|
+
**/
|
|
176
|
+
_min?: FieldMinAggregateInputType;
|
|
177
|
+
/**
|
|
178
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
179
|
+
*
|
|
180
|
+
* Select which fields to find the maximum value
|
|
181
|
+
**/
|
|
182
|
+
_max?: FieldMaxAggregateInputType;
|
|
183
|
+
};
|
|
184
|
+
export type GetFieldAggregateType<T extends FieldAggregateArgs> = {
|
|
185
|
+
[P in keyof T & keyof AggregateField]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateField[P]> : Prisma.GetScalarType<T[P], AggregateField[P]>;
|
|
186
|
+
};
|
|
187
|
+
export type FieldGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
188
|
+
where?: Prisma.FieldWhereInput;
|
|
189
|
+
orderBy?: Prisma.FieldOrderByWithAggregationInput | Prisma.FieldOrderByWithAggregationInput[];
|
|
190
|
+
by: Prisma.FieldScalarFieldEnum[] | Prisma.FieldScalarFieldEnum;
|
|
191
|
+
having?: Prisma.FieldScalarWhereWithAggregatesInput;
|
|
192
|
+
take?: number;
|
|
193
|
+
skip?: number;
|
|
194
|
+
_count?: FieldCountAggregateInputType | true;
|
|
195
|
+
_avg?: FieldAvgAggregateInputType;
|
|
196
|
+
_sum?: FieldSumAggregateInputType;
|
|
197
|
+
_min?: FieldMinAggregateInputType;
|
|
198
|
+
_max?: FieldMaxAggregateInputType;
|
|
199
|
+
};
|
|
200
|
+
export type FieldGroupByOutputType = {
|
|
201
|
+
id: number;
|
|
202
|
+
fieldSetId: number;
|
|
203
|
+
seqNo: number;
|
|
204
|
+
label: string;
|
|
205
|
+
type: $Enums.FieldType;
|
|
206
|
+
isArray: boolean;
|
|
207
|
+
required: boolean;
|
|
208
|
+
createdAt: Date;
|
|
209
|
+
createdById: number;
|
|
210
|
+
updatedAt: Date;
|
|
211
|
+
updatedById: number;
|
|
212
|
+
_count: FieldCountAggregateOutputType | null;
|
|
213
|
+
_avg: FieldAvgAggregateOutputType | null;
|
|
214
|
+
_sum: FieldSumAggregateOutputType | null;
|
|
215
|
+
_min: FieldMinAggregateOutputType | null;
|
|
216
|
+
_max: FieldMaxAggregateOutputType | null;
|
|
217
|
+
};
|
|
218
|
+
type GetFieldGroupByPayload<T extends FieldGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<FieldGroupByOutputType, T['by']> & {
|
|
219
|
+
[P in ((keyof T) & (keyof FieldGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], FieldGroupByOutputType[P]> : Prisma.GetScalarType<T[P], FieldGroupByOutputType[P]>;
|
|
220
|
+
}>>;
|
|
221
|
+
export type FieldWhereInput = {
|
|
222
|
+
AND?: Prisma.FieldWhereInput | Prisma.FieldWhereInput[];
|
|
223
|
+
OR?: Prisma.FieldWhereInput[];
|
|
224
|
+
NOT?: Prisma.FieldWhereInput | Prisma.FieldWhereInput[];
|
|
225
|
+
id?: Prisma.IntFilter<"Field"> | number;
|
|
226
|
+
fieldSetId?: Prisma.IntFilter<"Field"> | number;
|
|
227
|
+
seqNo?: Prisma.IntFilter<"Field"> | number;
|
|
228
|
+
label?: Prisma.StringFilter<"Field"> | string;
|
|
229
|
+
type?: Prisma.EnumFieldTypeFilter<"Field"> | $Enums.FieldType;
|
|
230
|
+
isArray?: Prisma.BoolFilter<"Field"> | boolean;
|
|
231
|
+
required?: Prisma.BoolFilter<"Field"> | boolean;
|
|
232
|
+
createdAt?: Prisma.DateTimeFilter<"Field"> | Date | string;
|
|
233
|
+
createdById?: Prisma.IntFilter<"Field"> | number;
|
|
234
|
+
updatedAt?: Prisma.DateTimeFilter<"Field"> | Date | string;
|
|
235
|
+
updatedById?: Prisma.IntFilter<"Field"> | number;
|
|
236
|
+
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
237
|
+
updatedBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
238
|
+
fieldSet?: Prisma.XOR<Prisma.FieldSetScalarRelationFilter, Prisma.FieldSetWhereInput>;
|
|
239
|
+
fieldValues?: Prisma.FieldValueListRelationFilter;
|
|
240
|
+
};
|
|
241
|
+
export type FieldOrderByWithRelationInput = {
|
|
242
|
+
id?: Prisma.SortOrder;
|
|
243
|
+
fieldSetId?: Prisma.SortOrder;
|
|
244
|
+
seqNo?: Prisma.SortOrder;
|
|
245
|
+
label?: Prisma.SortOrder;
|
|
246
|
+
type?: Prisma.SortOrder;
|
|
247
|
+
isArray?: Prisma.SortOrder;
|
|
248
|
+
required?: Prisma.SortOrder;
|
|
249
|
+
createdAt?: Prisma.SortOrder;
|
|
250
|
+
createdById?: Prisma.SortOrder;
|
|
251
|
+
updatedAt?: Prisma.SortOrder;
|
|
252
|
+
updatedById?: Prisma.SortOrder;
|
|
253
|
+
createdBy?: Prisma.UserOrderByWithRelationInput;
|
|
254
|
+
updatedBy?: Prisma.UserOrderByWithRelationInput;
|
|
255
|
+
fieldSet?: Prisma.FieldSetOrderByWithRelationInput;
|
|
256
|
+
fieldValues?: Prisma.FieldValueOrderByRelationAggregateInput;
|
|
257
|
+
};
|
|
258
|
+
export type FieldWhereUniqueInput = Prisma.AtLeast<{
|
|
259
|
+
id?: number;
|
|
260
|
+
fieldSetId_seqNo?: Prisma.FieldFieldSetIdSeqNoCompoundUniqueInput;
|
|
261
|
+
AND?: Prisma.FieldWhereInput | Prisma.FieldWhereInput[];
|
|
262
|
+
OR?: Prisma.FieldWhereInput[];
|
|
263
|
+
NOT?: Prisma.FieldWhereInput | Prisma.FieldWhereInput[];
|
|
264
|
+
fieldSetId?: Prisma.IntFilter<"Field"> | number;
|
|
265
|
+
seqNo?: Prisma.IntFilter<"Field"> | number;
|
|
266
|
+
label?: Prisma.StringFilter<"Field"> | string;
|
|
267
|
+
type?: Prisma.EnumFieldTypeFilter<"Field"> | $Enums.FieldType;
|
|
268
|
+
isArray?: Prisma.BoolFilter<"Field"> | boolean;
|
|
269
|
+
required?: Prisma.BoolFilter<"Field"> | boolean;
|
|
270
|
+
createdAt?: Prisma.DateTimeFilter<"Field"> | Date | string;
|
|
271
|
+
createdById?: Prisma.IntFilter<"Field"> | number;
|
|
272
|
+
updatedAt?: Prisma.DateTimeFilter<"Field"> | Date | string;
|
|
273
|
+
updatedById?: Prisma.IntFilter<"Field"> | number;
|
|
274
|
+
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
275
|
+
updatedBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
276
|
+
fieldSet?: Prisma.XOR<Prisma.FieldSetScalarRelationFilter, Prisma.FieldSetWhereInput>;
|
|
277
|
+
fieldValues?: Prisma.FieldValueListRelationFilter;
|
|
278
|
+
}, "id" | "fieldSetId_seqNo">;
|
|
279
|
+
export type FieldOrderByWithAggregationInput = {
|
|
280
|
+
id?: Prisma.SortOrder;
|
|
281
|
+
fieldSetId?: Prisma.SortOrder;
|
|
282
|
+
seqNo?: Prisma.SortOrder;
|
|
283
|
+
label?: Prisma.SortOrder;
|
|
284
|
+
type?: Prisma.SortOrder;
|
|
285
|
+
isArray?: Prisma.SortOrder;
|
|
286
|
+
required?: Prisma.SortOrder;
|
|
287
|
+
createdAt?: Prisma.SortOrder;
|
|
288
|
+
createdById?: Prisma.SortOrder;
|
|
289
|
+
updatedAt?: Prisma.SortOrder;
|
|
290
|
+
updatedById?: Prisma.SortOrder;
|
|
291
|
+
_count?: Prisma.FieldCountOrderByAggregateInput;
|
|
292
|
+
_avg?: Prisma.FieldAvgOrderByAggregateInput;
|
|
293
|
+
_max?: Prisma.FieldMaxOrderByAggregateInput;
|
|
294
|
+
_min?: Prisma.FieldMinOrderByAggregateInput;
|
|
295
|
+
_sum?: Prisma.FieldSumOrderByAggregateInput;
|
|
296
|
+
};
|
|
297
|
+
export type FieldScalarWhereWithAggregatesInput = {
|
|
298
|
+
AND?: Prisma.FieldScalarWhereWithAggregatesInput | Prisma.FieldScalarWhereWithAggregatesInput[];
|
|
299
|
+
OR?: Prisma.FieldScalarWhereWithAggregatesInput[];
|
|
300
|
+
NOT?: Prisma.FieldScalarWhereWithAggregatesInput | Prisma.FieldScalarWhereWithAggregatesInput[];
|
|
301
|
+
id?: Prisma.IntWithAggregatesFilter<"Field"> | number;
|
|
302
|
+
fieldSetId?: Prisma.IntWithAggregatesFilter<"Field"> | number;
|
|
303
|
+
seqNo?: Prisma.IntWithAggregatesFilter<"Field"> | number;
|
|
304
|
+
label?: Prisma.StringWithAggregatesFilter<"Field"> | string;
|
|
305
|
+
type?: Prisma.EnumFieldTypeWithAggregatesFilter<"Field"> | $Enums.FieldType;
|
|
306
|
+
isArray?: Prisma.BoolWithAggregatesFilter<"Field"> | boolean;
|
|
307
|
+
required?: Prisma.BoolWithAggregatesFilter<"Field"> | boolean;
|
|
308
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Field"> | Date | string;
|
|
309
|
+
createdById?: Prisma.IntWithAggregatesFilter<"Field"> | number;
|
|
310
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Field"> | Date | string;
|
|
311
|
+
updatedById?: Prisma.IntWithAggregatesFilter<"Field"> | number;
|
|
312
|
+
};
|
|
313
|
+
export type FieldCreateInput = {
|
|
314
|
+
seqNo: number;
|
|
315
|
+
label: string;
|
|
316
|
+
type?: $Enums.FieldType;
|
|
317
|
+
isArray?: boolean;
|
|
318
|
+
required?: boolean;
|
|
319
|
+
createdAt?: Date | string;
|
|
320
|
+
updatedAt?: Date | string;
|
|
321
|
+
createdBy: Prisma.UserCreateNestedOneWithoutFieldsCreatedInput;
|
|
322
|
+
updatedBy: Prisma.UserCreateNestedOneWithoutFieldsUpdatedInput;
|
|
323
|
+
fieldSet: Prisma.FieldSetCreateNestedOneWithoutFieldsInput;
|
|
324
|
+
fieldValues?: Prisma.FieldValueCreateNestedManyWithoutFieldInput;
|
|
325
|
+
};
|
|
326
|
+
export type FieldUncheckedCreateInput = {
|
|
327
|
+
id?: number;
|
|
328
|
+
fieldSetId: number;
|
|
329
|
+
seqNo: number;
|
|
330
|
+
label: string;
|
|
331
|
+
type?: $Enums.FieldType;
|
|
332
|
+
isArray?: boolean;
|
|
333
|
+
required?: boolean;
|
|
334
|
+
createdAt?: Date | string;
|
|
335
|
+
createdById: number;
|
|
336
|
+
updatedAt?: Date | string;
|
|
337
|
+
updatedById: number;
|
|
338
|
+
fieldValues?: Prisma.FieldValueUncheckedCreateNestedManyWithoutFieldInput;
|
|
339
|
+
};
|
|
340
|
+
export type FieldUpdateInput = {
|
|
341
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
342
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
343
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
344
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
345
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
346
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
347
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
348
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldsCreatedNestedInput;
|
|
349
|
+
updatedBy?: Prisma.UserUpdateOneRequiredWithoutFieldsUpdatedNestedInput;
|
|
350
|
+
fieldSet?: Prisma.FieldSetUpdateOneRequiredWithoutFieldsNestedInput;
|
|
351
|
+
fieldValues?: Prisma.FieldValueUpdateManyWithoutFieldNestedInput;
|
|
352
|
+
};
|
|
353
|
+
export type FieldUncheckedUpdateInput = {
|
|
354
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
355
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
356
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
357
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
358
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
359
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
360
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
361
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
362
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
363
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
364
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
365
|
+
fieldValues?: Prisma.FieldValueUncheckedUpdateManyWithoutFieldNestedInput;
|
|
366
|
+
};
|
|
367
|
+
export type FieldCreateManyInput = {
|
|
368
|
+
id?: number;
|
|
369
|
+
fieldSetId: number;
|
|
370
|
+
seqNo: number;
|
|
371
|
+
label: string;
|
|
372
|
+
type?: $Enums.FieldType;
|
|
373
|
+
isArray?: boolean;
|
|
374
|
+
required?: boolean;
|
|
375
|
+
createdAt?: Date | string;
|
|
376
|
+
createdById: number;
|
|
377
|
+
updatedAt?: Date | string;
|
|
378
|
+
updatedById: number;
|
|
379
|
+
};
|
|
380
|
+
export type FieldUpdateManyMutationInput = {
|
|
381
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
382
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
383
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
384
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
385
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
386
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
387
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
388
|
+
};
|
|
389
|
+
export type FieldUncheckedUpdateManyInput = {
|
|
390
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
391
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
392
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
393
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
394
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
395
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
396
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
397
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
398
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
399
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
400
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
401
|
+
};
|
|
402
|
+
export type FieldListRelationFilter = {
|
|
403
|
+
every?: Prisma.FieldWhereInput;
|
|
404
|
+
some?: Prisma.FieldWhereInput;
|
|
405
|
+
none?: Prisma.FieldWhereInput;
|
|
406
|
+
};
|
|
407
|
+
export type FieldOrderByRelationAggregateInput = {
|
|
408
|
+
_count?: Prisma.SortOrder;
|
|
409
|
+
};
|
|
410
|
+
export type FieldFieldSetIdSeqNoCompoundUniqueInput = {
|
|
411
|
+
fieldSetId: number;
|
|
412
|
+
seqNo: number;
|
|
413
|
+
};
|
|
414
|
+
export type FieldCountOrderByAggregateInput = {
|
|
415
|
+
id?: Prisma.SortOrder;
|
|
416
|
+
fieldSetId?: Prisma.SortOrder;
|
|
417
|
+
seqNo?: Prisma.SortOrder;
|
|
418
|
+
label?: Prisma.SortOrder;
|
|
419
|
+
type?: Prisma.SortOrder;
|
|
420
|
+
isArray?: Prisma.SortOrder;
|
|
421
|
+
required?: Prisma.SortOrder;
|
|
422
|
+
createdAt?: Prisma.SortOrder;
|
|
423
|
+
createdById?: Prisma.SortOrder;
|
|
424
|
+
updatedAt?: Prisma.SortOrder;
|
|
425
|
+
updatedById?: Prisma.SortOrder;
|
|
426
|
+
};
|
|
427
|
+
export type FieldAvgOrderByAggregateInput = {
|
|
428
|
+
id?: Prisma.SortOrder;
|
|
429
|
+
fieldSetId?: Prisma.SortOrder;
|
|
430
|
+
seqNo?: Prisma.SortOrder;
|
|
431
|
+
createdById?: Prisma.SortOrder;
|
|
432
|
+
updatedById?: Prisma.SortOrder;
|
|
433
|
+
};
|
|
434
|
+
export type FieldMaxOrderByAggregateInput = {
|
|
435
|
+
id?: Prisma.SortOrder;
|
|
436
|
+
fieldSetId?: Prisma.SortOrder;
|
|
437
|
+
seqNo?: Prisma.SortOrder;
|
|
438
|
+
label?: Prisma.SortOrder;
|
|
439
|
+
type?: Prisma.SortOrder;
|
|
440
|
+
isArray?: Prisma.SortOrder;
|
|
441
|
+
required?: Prisma.SortOrder;
|
|
442
|
+
createdAt?: Prisma.SortOrder;
|
|
443
|
+
createdById?: Prisma.SortOrder;
|
|
444
|
+
updatedAt?: Prisma.SortOrder;
|
|
445
|
+
updatedById?: Prisma.SortOrder;
|
|
446
|
+
};
|
|
447
|
+
export type FieldMinOrderByAggregateInput = {
|
|
448
|
+
id?: Prisma.SortOrder;
|
|
449
|
+
fieldSetId?: Prisma.SortOrder;
|
|
450
|
+
seqNo?: Prisma.SortOrder;
|
|
451
|
+
label?: Prisma.SortOrder;
|
|
452
|
+
type?: Prisma.SortOrder;
|
|
453
|
+
isArray?: Prisma.SortOrder;
|
|
454
|
+
required?: Prisma.SortOrder;
|
|
455
|
+
createdAt?: Prisma.SortOrder;
|
|
456
|
+
createdById?: Prisma.SortOrder;
|
|
457
|
+
updatedAt?: Prisma.SortOrder;
|
|
458
|
+
updatedById?: Prisma.SortOrder;
|
|
459
|
+
};
|
|
460
|
+
export type FieldSumOrderByAggregateInput = {
|
|
461
|
+
id?: Prisma.SortOrder;
|
|
462
|
+
fieldSetId?: Prisma.SortOrder;
|
|
463
|
+
seqNo?: Prisma.SortOrder;
|
|
464
|
+
createdById?: Prisma.SortOrder;
|
|
465
|
+
updatedById?: Prisma.SortOrder;
|
|
466
|
+
};
|
|
467
|
+
export type FieldScalarRelationFilter = {
|
|
468
|
+
is?: Prisma.FieldWhereInput;
|
|
469
|
+
isNot?: Prisma.FieldWhereInput;
|
|
470
|
+
};
|
|
471
|
+
export type FieldCreateNestedManyWithoutFieldSetInput = {
|
|
472
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutFieldSetInput, Prisma.FieldUncheckedCreateWithoutFieldSetInput> | Prisma.FieldCreateWithoutFieldSetInput[] | Prisma.FieldUncheckedCreateWithoutFieldSetInput[];
|
|
473
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutFieldSetInput | Prisma.FieldCreateOrConnectWithoutFieldSetInput[];
|
|
474
|
+
createMany?: Prisma.FieldCreateManyFieldSetInputEnvelope;
|
|
475
|
+
connect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
476
|
+
};
|
|
477
|
+
export type FieldUncheckedCreateNestedManyWithoutFieldSetInput = {
|
|
478
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutFieldSetInput, Prisma.FieldUncheckedCreateWithoutFieldSetInput> | Prisma.FieldCreateWithoutFieldSetInput[] | Prisma.FieldUncheckedCreateWithoutFieldSetInput[];
|
|
479
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutFieldSetInput | Prisma.FieldCreateOrConnectWithoutFieldSetInput[];
|
|
480
|
+
createMany?: Prisma.FieldCreateManyFieldSetInputEnvelope;
|
|
481
|
+
connect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
482
|
+
};
|
|
483
|
+
export type FieldUpdateManyWithoutFieldSetNestedInput = {
|
|
484
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutFieldSetInput, Prisma.FieldUncheckedCreateWithoutFieldSetInput> | Prisma.FieldCreateWithoutFieldSetInput[] | Prisma.FieldUncheckedCreateWithoutFieldSetInput[];
|
|
485
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutFieldSetInput | Prisma.FieldCreateOrConnectWithoutFieldSetInput[];
|
|
486
|
+
upsert?: Prisma.FieldUpsertWithWhereUniqueWithoutFieldSetInput | Prisma.FieldUpsertWithWhereUniqueWithoutFieldSetInput[];
|
|
487
|
+
createMany?: Prisma.FieldCreateManyFieldSetInputEnvelope;
|
|
488
|
+
set?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
489
|
+
disconnect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
490
|
+
delete?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
491
|
+
connect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
492
|
+
update?: Prisma.FieldUpdateWithWhereUniqueWithoutFieldSetInput | Prisma.FieldUpdateWithWhereUniqueWithoutFieldSetInput[];
|
|
493
|
+
updateMany?: Prisma.FieldUpdateManyWithWhereWithoutFieldSetInput | Prisma.FieldUpdateManyWithWhereWithoutFieldSetInput[];
|
|
494
|
+
deleteMany?: Prisma.FieldScalarWhereInput | Prisma.FieldScalarWhereInput[];
|
|
495
|
+
};
|
|
496
|
+
export type FieldUncheckedUpdateManyWithoutFieldSetNestedInput = {
|
|
497
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutFieldSetInput, Prisma.FieldUncheckedCreateWithoutFieldSetInput> | Prisma.FieldCreateWithoutFieldSetInput[] | Prisma.FieldUncheckedCreateWithoutFieldSetInput[];
|
|
498
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutFieldSetInput | Prisma.FieldCreateOrConnectWithoutFieldSetInput[];
|
|
499
|
+
upsert?: Prisma.FieldUpsertWithWhereUniqueWithoutFieldSetInput | Prisma.FieldUpsertWithWhereUniqueWithoutFieldSetInput[];
|
|
500
|
+
createMany?: Prisma.FieldCreateManyFieldSetInputEnvelope;
|
|
501
|
+
set?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
502
|
+
disconnect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
503
|
+
delete?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
504
|
+
connect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
505
|
+
update?: Prisma.FieldUpdateWithWhereUniqueWithoutFieldSetInput | Prisma.FieldUpdateWithWhereUniqueWithoutFieldSetInput[];
|
|
506
|
+
updateMany?: Prisma.FieldUpdateManyWithWhereWithoutFieldSetInput | Prisma.FieldUpdateManyWithWhereWithoutFieldSetInput[];
|
|
507
|
+
deleteMany?: Prisma.FieldScalarWhereInput | Prisma.FieldScalarWhereInput[];
|
|
508
|
+
};
|
|
509
|
+
export type EnumFieldTypeFieldUpdateOperationsInput = {
|
|
510
|
+
set?: $Enums.FieldType;
|
|
511
|
+
};
|
|
512
|
+
export type BoolFieldUpdateOperationsInput = {
|
|
513
|
+
set?: boolean;
|
|
514
|
+
};
|
|
515
|
+
export type FieldCreateNestedOneWithoutFieldValuesInput = {
|
|
516
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutFieldValuesInput, Prisma.FieldUncheckedCreateWithoutFieldValuesInput>;
|
|
517
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutFieldValuesInput;
|
|
518
|
+
connect?: Prisma.FieldWhereUniqueInput;
|
|
519
|
+
};
|
|
520
|
+
export type FieldUpdateOneRequiredWithoutFieldValuesNestedInput = {
|
|
521
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutFieldValuesInput, Prisma.FieldUncheckedCreateWithoutFieldValuesInput>;
|
|
522
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutFieldValuesInput;
|
|
523
|
+
upsert?: Prisma.FieldUpsertWithoutFieldValuesInput;
|
|
524
|
+
connect?: Prisma.FieldWhereUniqueInput;
|
|
525
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.FieldUpdateToOneWithWhereWithoutFieldValuesInput, Prisma.FieldUpdateWithoutFieldValuesInput>, Prisma.FieldUncheckedUpdateWithoutFieldValuesInput>;
|
|
526
|
+
};
|
|
527
|
+
export type FieldCreateNestedManyWithoutCreatedByInput = {
|
|
528
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutCreatedByInput, Prisma.FieldUncheckedCreateWithoutCreatedByInput> | Prisma.FieldCreateWithoutCreatedByInput[] | Prisma.FieldUncheckedCreateWithoutCreatedByInput[];
|
|
529
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutCreatedByInput | Prisma.FieldCreateOrConnectWithoutCreatedByInput[];
|
|
530
|
+
createMany?: Prisma.FieldCreateManyCreatedByInputEnvelope;
|
|
531
|
+
connect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
532
|
+
};
|
|
533
|
+
export type FieldCreateNestedManyWithoutUpdatedByInput = {
|
|
534
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutUpdatedByInput, Prisma.FieldUncheckedCreateWithoutUpdatedByInput> | Prisma.FieldCreateWithoutUpdatedByInput[] | Prisma.FieldUncheckedCreateWithoutUpdatedByInput[];
|
|
535
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutUpdatedByInput | Prisma.FieldCreateOrConnectWithoutUpdatedByInput[];
|
|
536
|
+
createMany?: Prisma.FieldCreateManyUpdatedByInputEnvelope;
|
|
537
|
+
connect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
538
|
+
};
|
|
539
|
+
export type FieldUncheckedCreateNestedManyWithoutCreatedByInput = {
|
|
540
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutCreatedByInput, Prisma.FieldUncheckedCreateWithoutCreatedByInput> | Prisma.FieldCreateWithoutCreatedByInput[] | Prisma.FieldUncheckedCreateWithoutCreatedByInput[];
|
|
541
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutCreatedByInput | Prisma.FieldCreateOrConnectWithoutCreatedByInput[];
|
|
542
|
+
createMany?: Prisma.FieldCreateManyCreatedByInputEnvelope;
|
|
543
|
+
connect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
544
|
+
};
|
|
545
|
+
export type FieldUncheckedCreateNestedManyWithoutUpdatedByInput = {
|
|
546
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutUpdatedByInput, Prisma.FieldUncheckedCreateWithoutUpdatedByInput> | Prisma.FieldCreateWithoutUpdatedByInput[] | Prisma.FieldUncheckedCreateWithoutUpdatedByInput[];
|
|
547
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutUpdatedByInput | Prisma.FieldCreateOrConnectWithoutUpdatedByInput[];
|
|
548
|
+
createMany?: Prisma.FieldCreateManyUpdatedByInputEnvelope;
|
|
549
|
+
connect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
550
|
+
};
|
|
551
|
+
export type FieldUpdateManyWithoutCreatedByNestedInput = {
|
|
552
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutCreatedByInput, Prisma.FieldUncheckedCreateWithoutCreatedByInput> | Prisma.FieldCreateWithoutCreatedByInput[] | Prisma.FieldUncheckedCreateWithoutCreatedByInput[];
|
|
553
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutCreatedByInput | Prisma.FieldCreateOrConnectWithoutCreatedByInput[];
|
|
554
|
+
upsert?: Prisma.FieldUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.FieldUpsertWithWhereUniqueWithoutCreatedByInput[];
|
|
555
|
+
createMany?: Prisma.FieldCreateManyCreatedByInputEnvelope;
|
|
556
|
+
set?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
557
|
+
disconnect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
558
|
+
delete?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
559
|
+
connect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
560
|
+
update?: Prisma.FieldUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.FieldUpdateWithWhereUniqueWithoutCreatedByInput[];
|
|
561
|
+
updateMany?: Prisma.FieldUpdateManyWithWhereWithoutCreatedByInput | Prisma.FieldUpdateManyWithWhereWithoutCreatedByInput[];
|
|
562
|
+
deleteMany?: Prisma.FieldScalarWhereInput | Prisma.FieldScalarWhereInput[];
|
|
563
|
+
};
|
|
564
|
+
export type FieldUpdateManyWithoutUpdatedByNestedInput = {
|
|
565
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutUpdatedByInput, Prisma.FieldUncheckedCreateWithoutUpdatedByInput> | Prisma.FieldCreateWithoutUpdatedByInput[] | Prisma.FieldUncheckedCreateWithoutUpdatedByInput[];
|
|
566
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutUpdatedByInput | Prisma.FieldCreateOrConnectWithoutUpdatedByInput[];
|
|
567
|
+
upsert?: Prisma.FieldUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.FieldUpsertWithWhereUniqueWithoutUpdatedByInput[];
|
|
568
|
+
createMany?: Prisma.FieldCreateManyUpdatedByInputEnvelope;
|
|
569
|
+
set?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
570
|
+
disconnect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
571
|
+
delete?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
572
|
+
connect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
573
|
+
update?: Prisma.FieldUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.FieldUpdateWithWhereUniqueWithoutUpdatedByInput[];
|
|
574
|
+
updateMany?: Prisma.FieldUpdateManyWithWhereWithoutUpdatedByInput | Prisma.FieldUpdateManyWithWhereWithoutUpdatedByInput[];
|
|
575
|
+
deleteMany?: Prisma.FieldScalarWhereInput | Prisma.FieldScalarWhereInput[];
|
|
576
|
+
};
|
|
577
|
+
export type FieldUncheckedUpdateManyWithoutCreatedByNestedInput = {
|
|
578
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutCreatedByInput, Prisma.FieldUncheckedCreateWithoutCreatedByInput> | Prisma.FieldCreateWithoutCreatedByInput[] | Prisma.FieldUncheckedCreateWithoutCreatedByInput[];
|
|
579
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutCreatedByInput | Prisma.FieldCreateOrConnectWithoutCreatedByInput[];
|
|
580
|
+
upsert?: Prisma.FieldUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.FieldUpsertWithWhereUniqueWithoutCreatedByInput[];
|
|
581
|
+
createMany?: Prisma.FieldCreateManyCreatedByInputEnvelope;
|
|
582
|
+
set?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
583
|
+
disconnect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
584
|
+
delete?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
585
|
+
connect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
586
|
+
update?: Prisma.FieldUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.FieldUpdateWithWhereUniqueWithoutCreatedByInput[];
|
|
587
|
+
updateMany?: Prisma.FieldUpdateManyWithWhereWithoutCreatedByInput | Prisma.FieldUpdateManyWithWhereWithoutCreatedByInput[];
|
|
588
|
+
deleteMany?: Prisma.FieldScalarWhereInput | Prisma.FieldScalarWhereInput[];
|
|
589
|
+
};
|
|
590
|
+
export type FieldUncheckedUpdateManyWithoutUpdatedByNestedInput = {
|
|
591
|
+
create?: Prisma.XOR<Prisma.FieldCreateWithoutUpdatedByInput, Prisma.FieldUncheckedCreateWithoutUpdatedByInput> | Prisma.FieldCreateWithoutUpdatedByInput[] | Prisma.FieldUncheckedCreateWithoutUpdatedByInput[];
|
|
592
|
+
connectOrCreate?: Prisma.FieldCreateOrConnectWithoutUpdatedByInput | Prisma.FieldCreateOrConnectWithoutUpdatedByInput[];
|
|
593
|
+
upsert?: Prisma.FieldUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.FieldUpsertWithWhereUniqueWithoutUpdatedByInput[];
|
|
594
|
+
createMany?: Prisma.FieldCreateManyUpdatedByInputEnvelope;
|
|
595
|
+
set?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
596
|
+
disconnect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
597
|
+
delete?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
598
|
+
connect?: Prisma.FieldWhereUniqueInput | Prisma.FieldWhereUniqueInput[];
|
|
599
|
+
update?: Prisma.FieldUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.FieldUpdateWithWhereUniqueWithoutUpdatedByInput[];
|
|
600
|
+
updateMany?: Prisma.FieldUpdateManyWithWhereWithoutUpdatedByInput | Prisma.FieldUpdateManyWithWhereWithoutUpdatedByInput[];
|
|
601
|
+
deleteMany?: Prisma.FieldScalarWhereInput | Prisma.FieldScalarWhereInput[];
|
|
602
|
+
};
|
|
603
|
+
export type FieldCreateWithoutFieldSetInput = {
|
|
604
|
+
seqNo: number;
|
|
605
|
+
label: string;
|
|
606
|
+
type?: $Enums.FieldType;
|
|
607
|
+
isArray?: boolean;
|
|
608
|
+
required?: boolean;
|
|
609
|
+
createdAt?: Date | string;
|
|
610
|
+
updatedAt?: Date | string;
|
|
611
|
+
createdBy: Prisma.UserCreateNestedOneWithoutFieldsCreatedInput;
|
|
612
|
+
updatedBy: Prisma.UserCreateNestedOneWithoutFieldsUpdatedInput;
|
|
613
|
+
fieldValues?: Prisma.FieldValueCreateNestedManyWithoutFieldInput;
|
|
614
|
+
};
|
|
615
|
+
export type FieldUncheckedCreateWithoutFieldSetInput = {
|
|
616
|
+
id?: number;
|
|
617
|
+
seqNo: number;
|
|
618
|
+
label: string;
|
|
619
|
+
type?: $Enums.FieldType;
|
|
620
|
+
isArray?: boolean;
|
|
621
|
+
required?: boolean;
|
|
622
|
+
createdAt?: Date | string;
|
|
623
|
+
createdById: number;
|
|
624
|
+
updatedAt?: Date | string;
|
|
625
|
+
updatedById: number;
|
|
626
|
+
fieldValues?: Prisma.FieldValueUncheckedCreateNestedManyWithoutFieldInput;
|
|
627
|
+
};
|
|
628
|
+
export type FieldCreateOrConnectWithoutFieldSetInput = {
|
|
629
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
630
|
+
create: Prisma.XOR<Prisma.FieldCreateWithoutFieldSetInput, Prisma.FieldUncheckedCreateWithoutFieldSetInput>;
|
|
631
|
+
};
|
|
632
|
+
export type FieldCreateManyFieldSetInputEnvelope = {
|
|
633
|
+
data: Prisma.FieldCreateManyFieldSetInput | Prisma.FieldCreateManyFieldSetInput[];
|
|
634
|
+
};
|
|
635
|
+
export type FieldUpsertWithWhereUniqueWithoutFieldSetInput = {
|
|
636
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
637
|
+
update: Prisma.XOR<Prisma.FieldUpdateWithoutFieldSetInput, Prisma.FieldUncheckedUpdateWithoutFieldSetInput>;
|
|
638
|
+
create: Prisma.XOR<Prisma.FieldCreateWithoutFieldSetInput, Prisma.FieldUncheckedCreateWithoutFieldSetInput>;
|
|
639
|
+
};
|
|
640
|
+
export type FieldUpdateWithWhereUniqueWithoutFieldSetInput = {
|
|
641
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
642
|
+
data: Prisma.XOR<Prisma.FieldUpdateWithoutFieldSetInput, Prisma.FieldUncheckedUpdateWithoutFieldSetInput>;
|
|
643
|
+
};
|
|
644
|
+
export type FieldUpdateManyWithWhereWithoutFieldSetInput = {
|
|
645
|
+
where: Prisma.FieldScalarWhereInput;
|
|
646
|
+
data: Prisma.XOR<Prisma.FieldUpdateManyMutationInput, Prisma.FieldUncheckedUpdateManyWithoutFieldSetInput>;
|
|
647
|
+
};
|
|
648
|
+
export type FieldScalarWhereInput = {
|
|
649
|
+
AND?: Prisma.FieldScalarWhereInput | Prisma.FieldScalarWhereInput[];
|
|
650
|
+
OR?: Prisma.FieldScalarWhereInput[];
|
|
651
|
+
NOT?: Prisma.FieldScalarWhereInput | Prisma.FieldScalarWhereInput[];
|
|
652
|
+
id?: Prisma.IntFilter<"Field"> | number;
|
|
653
|
+
fieldSetId?: Prisma.IntFilter<"Field"> | number;
|
|
654
|
+
seqNo?: Prisma.IntFilter<"Field"> | number;
|
|
655
|
+
label?: Prisma.StringFilter<"Field"> | string;
|
|
656
|
+
type?: Prisma.EnumFieldTypeFilter<"Field"> | $Enums.FieldType;
|
|
657
|
+
isArray?: Prisma.BoolFilter<"Field"> | boolean;
|
|
658
|
+
required?: Prisma.BoolFilter<"Field"> | boolean;
|
|
659
|
+
createdAt?: Prisma.DateTimeFilter<"Field"> | Date | string;
|
|
660
|
+
createdById?: Prisma.IntFilter<"Field"> | number;
|
|
661
|
+
updatedAt?: Prisma.DateTimeFilter<"Field"> | Date | string;
|
|
662
|
+
updatedById?: Prisma.IntFilter<"Field"> | number;
|
|
663
|
+
};
|
|
664
|
+
export type FieldCreateWithoutFieldValuesInput = {
|
|
665
|
+
seqNo: number;
|
|
666
|
+
label: string;
|
|
667
|
+
type?: $Enums.FieldType;
|
|
668
|
+
isArray?: boolean;
|
|
669
|
+
required?: boolean;
|
|
670
|
+
createdAt?: Date | string;
|
|
671
|
+
updatedAt?: Date | string;
|
|
672
|
+
createdBy: Prisma.UserCreateNestedOneWithoutFieldsCreatedInput;
|
|
673
|
+
updatedBy: Prisma.UserCreateNestedOneWithoutFieldsUpdatedInput;
|
|
674
|
+
fieldSet: Prisma.FieldSetCreateNestedOneWithoutFieldsInput;
|
|
675
|
+
};
|
|
676
|
+
export type FieldUncheckedCreateWithoutFieldValuesInput = {
|
|
677
|
+
id?: number;
|
|
678
|
+
fieldSetId: number;
|
|
679
|
+
seqNo: number;
|
|
680
|
+
label: string;
|
|
681
|
+
type?: $Enums.FieldType;
|
|
682
|
+
isArray?: boolean;
|
|
683
|
+
required?: boolean;
|
|
684
|
+
createdAt?: Date | string;
|
|
685
|
+
createdById: number;
|
|
686
|
+
updatedAt?: Date | string;
|
|
687
|
+
updatedById: number;
|
|
688
|
+
};
|
|
689
|
+
export type FieldCreateOrConnectWithoutFieldValuesInput = {
|
|
690
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
691
|
+
create: Prisma.XOR<Prisma.FieldCreateWithoutFieldValuesInput, Prisma.FieldUncheckedCreateWithoutFieldValuesInput>;
|
|
692
|
+
};
|
|
693
|
+
export type FieldUpsertWithoutFieldValuesInput = {
|
|
694
|
+
update: Prisma.XOR<Prisma.FieldUpdateWithoutFieldValuesInput, Prisma.FieldUncheckedUpdateWithoutFieldValuesInput>;
|
|
695
|
+
create: Prisma.XOR<Prisma.FieldCreateWithoutFieldValuesInput, Prisma.FieldUncheckedCreateWithoutFieldValuesInput>;
|
|
696
|
+
where?: Prisma.FieldWhereInput;
|
|
697
|
+
};
|
|
698
|
+
export type FieldUpdateToOneWithWhereWithoutFieldValuesInput = {
|
|
699
|
+
where?: Prisma.FieldWhereInput;
|
|
700
|
+
data: Prisma.XOR<Prisma.FieldUpdateWithoutFieldValuesInput, Prisma.FieldUncheckedUpdateWithoutFieldValuesInput>;
|
|
701
|
+
};
|
|
702
|
+
export type FieldUpdateWithoutFieldValuesInput = {
|
|
703
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
704
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
705
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
706
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
707
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
708
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
709
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
710
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldsCreatedNestedInput;
|
|
711
|
+
updatedBy?: Prisma.UserUpdateOneRequiredWithoutFieldsUpdatedNestedInput;
|
|
712
|
+
fieldSet?: Prisma.FieldSetUpdateOneRequiredWithoutFieldsNestedInput;
|
|
713
|
+
};
|
|
714
|
+
export type FieldUncheckedUpdateWithoutFieldValuesInput = {
|
|
715
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
716
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
717
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
718
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
719
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
720
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
721
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
722
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
723
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
724
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
725
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
726
|
+
};
|
|
727
|
+
export type FieldCreateWithoutCreatedByInput = {
|
|
728
|
+
seqNo: number;
|
|
729
|
+
label: string;
|
|
730
|
+
type?: $Enums.FieldType;
|
|
731
|
+
isArray?: boolean;
|
|
732
|
+
required?: boolean;
|
|
733
|
+
createdAt?: Date | string;
|
|
734
|
+
updatedAt?: Date | string;
|
|
735
|
+
updatedBy: Prisma.UserCreateNestedOneWithoutFieldsUpdatedInput;
|
|
736
|
+
fieldSet: Prisma.FieldSetCreateNestedOneWithoutFieldsInput;
|
|
737
|
+
fieldValues?: Prisma.FieldValueCreateNestedManyWithoutFieldInput;
|
|
738
|
+
};
|
|
739
|
+
export type FieldUncheckedCreateWithoutCreatedByInput = {
|
|
740
|
+
id?: number;
|
|
741
|
+
fieldSetId: number;
|
|
742
|
+
seqNo: number;
|
|
743
|
+
label: string;
|
|
744
|
+
type?: $Enums.FieldType;
|
|
745
|
+
isArray?: boolean;
|
|
746
|
+
required?: boolean;
|
|
747
|
+
createdAt?: Date | string;
|
|
748
|
+
updatedAt?: Date | string;
|
|
749
|
+
updatedById: number;
|
|
750
|
+
fieldValues?: Prisma.FieldValueUncheckedCreateNestedManyWithoutFieldInput;
|
|
751
|
+
};
|
|
752
|
+
export type FieldCreateOrConnectWithoutCreatedByInput = {
|
|
753
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
754
|
+
create: Prisma.XOR<Prisma.FieldCreateWithoutCreatedByInput, Prisma.FieldUncheckedCreateWithoutCreatedByInput>;
|
|
755
|
+
};
|
|
756
|
+
export type FieldCreateManyCreatedByInputEnvelope = {
|
|
757
|
+
data: Prisma.FieldCreateManyCreatedByInput | Prisma.FieldCreateManyCreatedByInput[];
|
|
758
|
+
};
|
|
759
|
+
export type FieldCreateWithoutUpdatedByInput = {
|
|
760
|
+
seqNo: number;
|
|
761
|
+
label: string;
|
|
762
|
+
type?: $Enums.FieldType;
|
|
763
|
+
isArray?: boolean;
|
|
764
|
+
required?: boolean;
|
|
765
|
+
createdAt?: Date | string;
|
|
766
|
+
updatedAt?: Date | string;
|
|
767
|
+
createdBy: Prisma.UserCreateNestedOneWithoutFieldsCreatedInput;
|
|
768
|
+
fieldSet: Prisma.FieldSetCreateNestedOneWithoutFieldsInput;
|
|
769
|
+
fieldValues?: Prisma.FieldValueCreateNestedManyWithoutFieldInput;
|
|
770
|
+
};
|
|
771
|
+
export type FieldUncheckedCreateWithoutUpdatedByInput = {
|
|
772
|
+
id?: number;
|
|
773
|
+
fieldSetId: number;
|
|
774
|
+
seqNo: number;
|
|
775
|
+
label: string;
|
|
776
|
+
type?: $Enums.FieldType;
|
|
777
|
+
isArray?: boolean;
|
|
778
|
+
required?: boolean;
|
|
779
|
+
createdAt?: Date | string;
|
|
780
|
+
createdById: number;
|
|
781
|
+
updatedAt?: Date | string;
|
|
782
|
+
fieldValues?: Prisma.FieldValueUncheckedCreateNestedManyWithoutFieldInput;
|
|
783
|
+
};
|
|
784
|
+
export type FieldCreateOrConnectWithoutUpdatedByInput = {
|
|
785
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
786
|
+
create: Prisma.XOR<Prisma.FieldCreateWithoutUpdatedByInput, Prisma.FieldUncheckedCreateWithoutUpdatedByInput>;
|
|
787
|
+
};
|
|
788
|
+
export type FieldCreateManyUpdatedByInputEnvelope = {
|
|
789
|
+
data: Prisma.FieldCreateManyUpdatedByInput | Prisma.FieldCreateManyUpdatedByInput[];
|
|
790
|
+
};
|
|
791
|
+
export type FieldUpsertWithWhereUniqueWithoutCreatedByInput = {
|
|
792
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
793
|
+
update: Prisma.XOR<Prisma.FieldUpdateWithoutCreatedByInput, Prisma.FieldUncheckedUpdateWithoutCreatedByInput>;
|
|
794
|
+
create: Prisma.XOR<Prisma.FieldCreateWithoutCreatedByInput, Prisma.FieldUncheckedCreateWithoutCreatedByInput>;
|
|
795
|
+
};
|
|
796
|
+
export type FieldUpdateWithWhereUniqueWithoutCreatedByInput = {
|
|
797
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
798
|
+
data: Prisma.XOR<Prisma.FieldUpdateWithoutCreatedByInput, Prisma.FieldUncheckedUpdateWithoutCreatedByInput>;
|
|
799
|
+
};
|
|
800
|
+
export type FieldUpdateManyWithWhereWithoutCreatedByInput = {
|
|
801
|
+
where: Prisma.FieldScalarWhereInput;
|
|
802
|
+
data: Prisma.XOR<Prisma.FieldUpdateManyMutationInput, Prisma.FieldUncheckedUpdateManyWithoutCreatedByInput>;
|
|
803
|
+
};
|
|
804
|
+
export type FieldUpsertWithWhereUniqueWithoutUpdatedByInput = {
|
|
805
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
806
|
+
update: Prisma.XOR<Prisma.FieldUpdateWithoutUpdatedByInput, Prisma.FieldUncheckedUpdateWithoutUpdatedByInput>;
|
|
807
|
+
create: Prisma.XOR<Prisma.FieldCreateWithoutUpdatedByInput, Prisma.FieldUncheckedCreateWithoutUpdatedByInput>;
|
|
808
|
+
};
|
|
809
|
+
export type FieldUpdateWithWhereUniqueWithoutUpdatedByInput = {
|
|
810
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
811
|
+
data: Prisma.XOR<Prisma.FieldUpdateWithoutUpdatedByInput, Prisma.FieldUncheckedUpdateWithoutUpdatedByInput>;
|
|
812
|
+
};
|
|
813
|
+
export type FieldUpdateManyWithWhereWithoutUpdatedByInput = {
|
|
814
|
+
where: Prisma.FieldScalarWhereInput;
|
|
815
|
+
data: Prisma.XOR<Prisma.FieldUpdateManyMutationInput, Prisma.FieldUncheckedUpdateManyWithoutUpdatedByInput>;
|
|
816
|
+
};
|
|
817
|
+
export type FieldCreateManyFieldSetInput = {
|
|
818
|
+
id?: number;
|
|
819
|
+
seqNo: number;
|
|
820
|
+
label: string;
|
|
821
|
+
type?: $Enums.FieldType;
|
|
822
|
+
isArray?: boolean;
|
|
823
|
+
required?: boolean;
|
|
824
|
+
createdAt?: Date | string;
|
|
825
|
+
createdById: number;
|
|
826
|
+
updatedAt?: Date | string;
|
|
827
|
+
updatedById: number;
|
|
828
|
+
};
|
|
829
|
+
export type FieldUpdateWithoutFieldSetInput = {
|
|
830
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
831
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
832
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
833
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
834
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
835
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
836
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
837
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldsCreatedNestedInput;
|
|
838
|
+
updatedBy?: Prisma.UserUpdateOneRequiredWithoutFieldsUpdatedNestedInput;
|
|
839
|
+
fieldValues?: Prisma.FieldValueUpdateManyWithoutFieldNestedInput;
|
|
840
|
+
};
|
|
841
|
+
export type FieldUncheckedUpdateWithoutFieldSetInput = {
|
|
842
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
843
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
844
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
845
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
846
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
847
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
848
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
849
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
850
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
851
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
852
|
+
fieldValues?: Prisma.FieldValueUncheckedUpdateManyWithoutFieldNestedInput;
|
|
853
|
+
};
|
|
854
|
+
export type FieldUncheckedUpdateManyWithoutFieldSetInput = {
|
|
855
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
856
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
857
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
858
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
859
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
860
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
861
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
862
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
863
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
864
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
865
|
+
};
|
|
866
|
+
export type FieldCreateManyCreatedByInput = {
|
|
867
|
+
id?: number;
|
|
868
|
+
fieldSetId: number;
|
|
869
|
+
seqNo: number;
|
|
870
|
+
label: string;
|
|
871
|
+
type?: $Enums.FieldType;
|
|
872
|
+
isArray?: boolean;
|
|
873
|
+
required?: boolean;
|
|
874
|
+
createdAt?: Date | string;
|
|
875
|
+
updatedAt?: Date | string;
|
|
876
|
+
updatedById: number;
|
|
877
|
+
};
|
|
878
|
+
export type FieldCreateManyUpdatedByInput = {
|
|
879
|
+
id?: number;
|
|
880
|
+
fieldSetId: number;
|
|
881
|
+
seqNo: number;
|
|
882
|
+
label: string;
|
|
883
|
+
type?: $Enums.FieldType;
|
|
884
|
+
isArray?: boolean;
|
|
885
|
+
required?: boolean;
|
|
886
|
+
createdAt?: Date | string;
|
|
887
|
+
createdById: number;
|
|
888
|
+
updatedAt?: Date | string;
|
|
889
|
+
};
|
|
890
|
+
export type FieldUpdateWithoutCreatedByInput = {
|
|
891
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
892
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
893
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
894
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
895
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
896
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
897
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
898
|
+
updatedBy?: Prisma.UserUpdateOneRequiredWithoutFieldsUpdatedNestedInput;
|
|
899
|
+
fieldSet?: Prisma.FieldSetUpdateOneRequiredWithoutFieldsNestedInput;
|
|
900
|
+
fieldValues?: Prisma.FieldValueUpdateManyWithoutFieldNestedInput;
|
|
901
|
+
};
|
|
902
|
+
export type FieldUncheckedUpdateWithoutCreatedByInput = {
|
|
903
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
904
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
905
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
906
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
907
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
908
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
909
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
910
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
911
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
912
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
913
|
+
fieldValues?: Prisma.FieldValueUncheckedUpdateManyWithoutFieldNestedInput;
|
|
914
|
+
};
|
|
915
|
+
export type FieldUncheckedUpdateManyWithoutCreatedByInput = {
|
|
916
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
917
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
918
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
919
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
920
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
921
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
922
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
923
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
924
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
925
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
926
|
+
};
|
|
927
|
+
export type FieldUpdateWithoutUpdatedByInput = {
|
|
928
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
929
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
930
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
931
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
932
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
933
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
934
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
935
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldsCreatedNestedInput;
|
|
936
|
+
fieldSet?: Prisma.FieldSetUpdateOneRequiredWithoutFieldsNestedInput;
|
|
937
|
+
fieldValues?: Prisma.FieldValueUpdateManyWithoutFieldNestedInput;
|
|
938
|
+
};
|
|
939
|
+
export type FieldUncheckedUpdateWithoutUpdatedByInput = {
|
|
940
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
941
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
942
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
943
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
944
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
945
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
946
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
947
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
948
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
949
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
950
|
+
fieldValues?: Prisma.FieldValueUncheckedUpdateManyWithoutFieldNestedInput;
|
|
951
|
+
};
|
|
952
|
+
export type FieldUncheckedUpdateManyWithoutUpdatedByInput = {
|
|
953
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
954
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
955
|
+
seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
956
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
957
|
+
type?: Prisma.EnumFieldTypeFieldUpdateOperationsInput | $Enums.FieldType;
|
|
958
|
+
isArray?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
959
|
+
required?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
960
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
961
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
962
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
963
|
+
};
|
|
964
|
+
/**
|
|
965
|
+
* Count Type FieldCountOutputType
|
|
966
|
+
*/
|
|
967
|
+
export type FieldCountOutputType = {
|
|
968
|
+
fieldValues: number;
|
|
969
|
+
};
|
|
970
|
+
export type FieldCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
971
|
+
fieldValues?: boolean | FieldCountOutputTypeCountFieldValuesArgs;
|
|
972
|
+
};
|
|
973
|
+
/**
|
|
974
|
+
* FieldCountOutputType without action
|
|
975
|
+
*/
|
|
976
|
+
export type FieldCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
977
|
+
/**
|
|
978
|
+
* Select specific fields to fetch from the FieldCountOutputType
|
|
979
|
+
*/
|
|
980
|
+
select?: Prisma.FieldCountOutputTypeSelect<ExtArgs> | null;
|
|
981
|
+
};
|
|
982
|
+
/**
|
|
983
|
+
* FieldCountOutputType without action
|
|
984
|
+
*/
|
|
985
|
+
export type FieldCountOutputTypeCountFieldValuesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
986
|
+
where?: Prisma.FieldValueWhereInput;
|
|
987
|
+
};
|
|
988
|
+
export type FieldSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
989
|
+
id?: boolean;
|
|
990
|
+
fieldSetId?: boolean;
|
|
991
|
+
seqNo?: boolean;
|
|
992
|
+
label?: boolean;
|
|
993
|
+
type?: boolean;
|
|
994
|
+
isArray?: boolean;
|
|
995
|
+
required?: boolean;
|
|
996
|
+
createdAt?: boolean;
|
|
997
|
+
createdById?: boolean;
|
|
998
|
+
updatedAt?: boolean;
|
|
999
|
+
updatedById?: boolean;
|
|
1000
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1001
|
+
updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1002
|
+
fieldSet?: boolean | Prisma.FieldSetDefaultArgs<ExtArgs>;
|
|
1003
|
+
fieldValues?: boolean | Prisma.Field$fieldValuesArgs<ExtArgs>;
|
|
1004
|
+
_count?: boolean | Prisma.FieldCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1005
|
+
}, ExtArgs["result"]["field"]>;
|
|
1006
|
+
export type FieldSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1007
|
+
id?: boolean;
|
|
1008
|
+
fieldSetId?: boolean;
|
|
1009
|
+
seqNo?: boolean;
|
|
1010
|
+
label?: boolean;
|
|
1011
|
+
type?: boolean;
|
|
1012
|
+
isArray?: boolean;
|
|
1013
|
+
required?: boolean;
|
|
1014
|
+
createdAt?: boolean;
|
|
1015
|
+
createdById?: boolean;
|
|
1016
|
+
updatedAt?: boolean;
|
|
1017
|
+
updatedById?: boolean;
|
|
1018
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1019
|
+
updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1020
|
+
fieldSet?: boolean | Prisma.FieldSetDefaultArgs<ExtArgs>;
|
|
1021
|
+
}, ExtArgs["result"]["field"]>;
|
|
1022
|
+
export type FieldSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1023
|
+
id?: boolean;
|
|
1024
|
+
fieldSetId?: boolean;
|
|
1025
|
+
seqNo?: boolean;
|
|
1026
|
+
label?: boolean;
|
|
1027
|
+
type?: boolean;
|
|
1028
|
+
isArray?: boolean;
|
|
1029
|
+
required?: boolean;
|
|
1030
|
+
createdAt?: boolean;
|
|
1031
|
+
createdById?: boolean;
|
|
1032
|
+
updatedAt?: boolean;
|
|
1033
|
+
updatedById?: boolean;
|
|
1034
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1035
|
+
updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1036
|
+
fieldSet?: boolean | Prisma.FieldSetDefaultArgs<ExtArgs>;
|
|
1037
|
+
}, ExtArgs["result"]["field"]>;
|
|
1038
|
+
export type FieldSelectScalar = {
|
|
1039
|
+
id?: boolean;
|
|
1040
|
+
fieldSetId?: boolean;
|
|
1041
|
+
seqNo?: boolean;
|
|
1042
|
+
label?: boolean;
|
|
1043
|
+
type?: boolean;
|
|
1044
|
+
isArray?: boolean;
|
|
1045
|
+
required?: boolean;
|
|
1046
|
+
createdAt?: boolean;
|
|
1047
|
+
createdById?: boolean;
|
|
1048
|
+
updatedAt?: boolean;
|
|
1049
|
+
updatedById?: boolean;
|
|
1050
|
+
};
|
|
1051
|
+
export type FieldOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fieldSetId" | "seqNo" | "label" | "type" | "isArray" | "required" | "createdAt" | "createdById" | "updatedAt" | "updatedById", ExtArgs["result"]["field"]>;
|
|
1052
|
+
export type FieldInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1053
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1054
|
+
updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1055
|
+
fieldSet?: boolean | Prisma.FieldSetDefaultArgs<ExtArgs>;
|
|
1056
|
+
fieldValues?: boolean | Prisma.Field$fieldValuesArgs<ExtArgs>;
|
|
1057
|
+
_count?: boolean | Prisma.FieldCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1058
|
+
};
|
|
1059
|
+
export type FieldIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1060
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1061
|
+
updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1062
|
+
fieldSet?: boolean | Prisma.FieldSetDefaultArgs<ExtArgs>;
|
|
1063
|
+
};
|
|
1064
|
+
export type FieldIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1065
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1066
|
+
updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1067
|
+
fieldSet?: boolean | Prisma.FieldSetDefaultArgs<ExtArgs>;
|
|
1068
|
+
};
|
|
1069
|
+
export type $FieldPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1070
|
+
name: "Field";
|
|
1071
|
+
objects: {
|
|
1072
|
+
createdBy: Prisma.$UserPayload<ExtArgs>;
|
|
1073
|
+
updatedBy: Prisma.$UserPayload<ExtArgs>;
|
|
1074
|
+
fieldSet: Prisma.$FieldSetPayload<ExtArgs>;
|
|
1075
|
+
fieldValues: Prisma.$FieldValuePayload<ExtArgs>[];
|
|
1076
|
+
};
|
|
1077
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1078
|
+
id: number;
|
|
1079
|
+
fieldSetId: number;
|
|
1080
|
+
seqNo: number;
|
|
1081
|
+
label: string;
|
|
1082
|
+
type: $Enums.FieldType;
|
|
1083
|
+
isArray: boolean;
|
|
1084
|
+
required: boolean;
|
|
1085
|
+
createdAt: Date;
|
|
1086
|
+
createdById: number;
|
|
1087
|
+
updatedAt: Date;
|
|
1088
|
+
updatedById: number;
|
|
1089
|
+
}, ExtArgs["result"]["field"]>;
|
|
1090
|
+
composites: {};
|
|
1091
|
+
};
|
|
1092
|
+
export type FieldGetPayload<S extends boolean | null | undefined | FieldDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FieldPayload, S>;
|
|
1093
|
+
export type FieldCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<FieldFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1094
|
+
select?: FieldCountAggregateInputType | true;
|
|
1095
|
+
};
|
|
1096
|
+
export interface FieldDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1097
|
+
[K: symbol]: {
|
|
1098
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Field'];
|
|
1099
|
+
meta: {
|
|
1100
|
+
name: 'Field';
|
|
1101
|
+
};
|
|
1102
|
+
};
|
|
1103
|
+
/**
|
|
1104
|
+
* Find zero or one Field that matches the filter.
|
|
1105
|
+
* @param {FieldFindUniqueArgs} args - Arguments to find a Field
|
|
1106
|
+
* @example
|
|
1107
|
+
* // Get one Field
|
|
1108
|
+
* const field = await prisma.field.findUnique({
|
|
1109
|
+
* where: {
|
|
1110
|
+
* // ... provide filter here
|
|
1111
|
+
* }
|
|
1112
|
+
* })
|
|
1113
|
+
*/
|
|
1114
|
+
findUnique<T extends FieldFindUniqueArgs>(args: Prisma.SelectSubset<T, FieldFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FieldClient<runtime.Types.Result.GetResult<Prisma.$FieldPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1115
|
+
/**
|
|
1116
|
+
* Find one Field that matches the filter or throw an error with `error.code='P2025'`
|
|
1117
|
+
* if no matches were found.
|
|
1118
|
+
* @param {FieldFindUniqueOrThrowArgs} args - Arguments to find a Field
|
|
1119
|
+
* @example
|
|
1120
|
+
* // Get one Field
|
|
1121
|
+
* const field = await prisma.field.findUniqueOrThrow({
|
|
1122
|
+
* where: {
|
|
1123
|
+
* // ... provide filter here
|
|
1124
|
+
* }
|
|
1125
|
+
* })
|
|
1126
|
+
*/
|
|
1127
|
+
findUniqueOrThrow<T extends FieldFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FieldFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FieldClient<runtime.Types.Result.GetResult<Prisma.$FieldPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1128
|
+
/**
|
|
1129
|
+
* Find the first Field that matches the filter.
|
|
1130
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1131
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1132
|
+
* @param {FieldFindFirstArgs} args - Arguments to find a Field
|
|
1133
|
+
* @example
|
|
1134
|
+
* // Get one Field
|
|
1135
|
+
* const field = await prisma.field.findFirst({
|
|
1136
|
+
* where: {
|
|
1137
|
+
* // ... provide filter here
|
|
1138
|
+
* }
|
|
1139
|
+
* })
|
|
1140
|
+
*/
|
|
1141
|
+
findFirst<T extends FieldFindFirstArgs>(args?: Prisma.SelectSubset<T, FieldFindFirstArgs<ExtArgs>>): Prisma.Prisma__FieldClient<runtime.Types.Result.GetResult<Prisma.$FieldPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1142
|
+
/**
|
|
1143
|
+
* Find the first Field that matches the filter or
|
|
1144
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1145
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1146
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1147
|
+
* @param {FieldFindFirstOrThrowArgs} args - Arguments to find a Field
|
|
1148
|
+
* @example
|
|
1149
|
+
* // Get one Field
|
|
1150
|
+
* const field = await prisma.field.findFirstOrThrow({
|
|
1151
|
+
* where: {
|
|
1152
|
+
* // ... provide filter here
|
|
1153
|
+
* }
|
|
1154
|
+
* })
|
|
1155
|
+
*/
|
|
1156
|
+
findFirstOrThrow<T extends FieldFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FieldFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FieldClient<runtime.Types.Result.GetResult<Prisma.$FieldPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1157
|
+
/**
|
|
1158
|
+
* Find zero or more Fields that matches the filter.
|
|
1159
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1160
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1161
|
+
* @param {FieldFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1162
|
+
* @example
|
|
1163
|
+
* // Get all Fields
|
|
1164
|
+
* const fields = await prisma.field.findMany()
|
|
1165
|
+
*
|
|
1166
|
+
* // Get first 10 Fields
|
|
1167
|
+
* const fields = await prisma.field.findMany({ take: 10 })
|
|
1168
|
+
*
|
|
1169
|
+
* // Only select the `id`
|
|
1170
|
+
* const fieldWithIdOnly = await prisma.field.findMany({ select: { id: true } })
|
|
1171
|
+
*
|
|
1172
|
+
*/
|
|
1173
|
+
findMany<T extends FieldFindManyArgs>(args?: Prisma.SelectSubset<T, FieldFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1174
|
+
/**
|
|
1175
|
+
* Create a Field.
|
|
1176
|
+
* @param {FieldCreateArgs} args - Arguments to create a Field.
|
|
1177
|
+
* @example
|
|
1178
|
+
* // Create one Field
|
|
1179
|
+
* const Field = await prisma.field.create({
|
|
1180
|
+
* data: {
|
|
1181
|
+
* // ... data to create a Field
|
|
1182
|
+
* }
|
|
1183
|
+
* })
|
|
1184
|
+
*
|
|
1185
|
+
*/
|
|
1186
|
+
create<T extends FieldCreateArgs>(args: Prisma.SelectSubset<T, FieldCreateArgs<ExtArgs>>): Prisma.Prisma__FieldClient<runtime.Types.Result.GetResult<Prisma.$FieldPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Create many Fields.
|
|
1189
|
+
* @param {FieldCreateManyArgs} args - Arguments to create many Fields.
|
|
1190
|
+
* @example
|
|
1191
|
+
* // Create many Fields
|
|
1192
|
+
* const field = await prisma.field.createMany({
|
|
1193
|
+
* data: [
|
|
1194
|
+
* // ... provide data here
|
|
1195
|
+
* ]
|
|
1196
|
+
* })
|
|
1197
|
+
*
|
|
1198
|
+
*/
|
|
1199
|
+
createMany<T extends FieldCreateManyArgs>(args?: Prisma.SelectSubset<T, FieldCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1200
|
+
/**
|
|
1201
|
+
* Create many Fields and returns the data saved in the database.
|
|
1202
|
+
* @param {FieldCreateManyAndReturnArgs} args - Arguments to create many Fields.
|
|
1203
|
+
* @example
|
|
1204
|
+
* // Create many Fields
|
|
1205
|
+
* const field = await prisma.field.createManyAndReturn({
|
|
1206
|
+
* data: [
|
|
1207
|
+
* // ... provide data here
|
|
1208
|
+
* ]
|
|
1209
|
+
* })
|
|
1210
|
+
*
|
|
1211
|
+
* // Create many Fields and only return the `id`
|
|
1212
|
+
* const fieldWithIdOnly = await prisma.field.createManyAndReturn({
|
|
1213
|
+
* select: { id: true },
|
|
1214
|
+
* data: [
|
|
1215
|
+
* // ... provide data here
|
|
1216
|
+
* ]
|
|
1217
|
+
* })
|
|
1218
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1219
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1220
|
+
*
|
|
1221
|
+
*/
|
|
1222
|
+
createManyAndReturn<T extends FieldCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FieldCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1223
|
+
/**
|
|
1224
|
+
* Delete a Field.
|
|
1225
|
+
* @param {FieldDeleteArgs} args - Arguments to delete one Field.
|
|
1226
|
+
* @example
|
|
1227
|
+
* // Delete one Field
|
|
1228
|
+
* const Field = await prisma.field.delete({
|
|
1229
|
+
* where: {
|
|
1230
|
+
* // ... filter to delete one Field
|
|
1231
|
+
* }
|
|
1232
|
+
* })
|
|
1233
|
+
*
|
|
1234
|
+
*/
|
|
1235
|
+
delete<T extends FieldDeleteArgs>(args: Prisma.SelectSubset<T, FieldDeleteArgs<ExtArgs>>): Prisma.Prisma__FieldClient<runtime.Types.Result.GetResult<Prisma.$FieldPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1236
|
+
/**
|
|
1237
|
+
* Update one Field.
|
|
1238
|
+
* @param {FieldUpdateArgs} args - Arguments to update one Field.
|
|
1239
|
+
* @example
|
|
1240
|
+
* // Update one Field
|
|
1241
|
+
* const field = await prisma.field.update({
|
|
1242
|
+
* where: {
|
|
1243
|
+
* // ... provide filter here
|
|
1244
|
+
* },
|
|
1245
|
+
* data: {
|
|
1246
|
+
* // ... provide data here
|
|
1247
|
+
* }
|
|
1248
|
+
* })
|
|
1249
|
+
*
|
|
1250
|
+
*/
|
|
1251
|
+
update<T extends FieldUpdateArgs>(args: Prisma.SelectSubset<T, FieldUpdateArgs<ExtArgs>>): Prisma.Prisma__FieldClient<runtime.Types.Result.GetResult<Prisma.$FieldPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1252
|
+
/**
|
|
1253
|
+
* Delete zero or more Fields.
|
|
1254
|
+
* @param {FieldDeleteManyArgs} args - Arguments to filter Fields to delete.
|
|
1255
|
+
* @example
|
|
1256
|
+
* // Delete a few Fields
|
|
1257
|
+
* const { count } = await prisma.field.deleteMany({
|
|
1258
|
+
* where: {
|
|
1259
|
+
* // ... provide filter here
|
|
1260
|
+
* }
|
|
1261
|
+
* })
|
|
1262
|
+
*
|
|
1263
|
+
*/
|
|
1264
|
+
deleteMany<T extends FieldDeleteManyArgs>(args?: Prisma.SelectSubset<T, FieldDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1265
|
+
/**
|
|
1266
|
+
* Update zero or more Fields.
|
|
1267
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1268
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1269
|
+
* @param {FieldUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1270
|
+
* @example
|
|
1271
|
+
* // Update many Fields
|
|
1272
|
+
* const field = await prisma.field.updateMany({
|
|
1273
|
+
* where: {
|
|
1274
|
+
* // ... provide filter here
|
|
1275
|
+
* },
|
|
1276
|
+
* data: {
|
|
1277
|
+
* // ... provide data here
|
|
1278
|
+
* }
|
|
1279
|
+
* })
|
|
1280
|
+
*
|
|
1281
|
+
*/
|
|
1282
|
+
updateMany<T extends FieldUpdateManyArgs>(args: Prisma.SelectSubset<T, FieldUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1283
|
+
/**
|
|
1284
|
+
* Update zero or more Fields and returns the data updated in the database.
|
|
1285
|
+
* @param {FieldUpdateManyAndReturnArgs} args - Arguments to update many Fields.
|
|
1286
|
+
* @example
|
|
1287
|
+
* // Update many Fields
|
|
1288
|
+
* const field = await prisma.field.updateManyAndReturn({
|
|
1289
|
+
* where: {
|
|
1290
|
+
* // ... provide filter here
|
|
1291
|
+
* },
|
|
1292
|
+
* data: [
|
|
1293
|
+
* // ... provide data here
|
|
1294
|
+
* ]
|
|
1295
|
+
* })
|
|
1296
|
+
*
|
|
1297
|
+
* // Update zero or more Fields and only return the `id`
|
|
1298
|
+
* const fieldWithIdOnly = await prisma.field.updateManyAndReturn({
|
|
1299
|
+
* select: { id: true },
|
|
1300
|
+
* where: {
|
|
1301
|
+
* // ... provide filter here
|
|
1302
|
+
* },
|
|
1303
|
+
* data: [
|
|
1304
|
+
* // ... provide data here
|
|
1305
|
+
* ]
|
|
1306
|
+
* })
|
|
1307
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1308
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1309
|
+
*
|
|
1310
|
+
*/
|
|
1311
|
+
updateManyAndReturn<T extends FieldUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FieldUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1312
|
+
/**
|
|
1313
|
+
* Create or update one Field.
|
|
1314
|
+
* @param {FieldUpsertArgs} args - Arguments to update or create a Field.
|
|
1315
|
+
* @example
|
|
1316
|
+
* // Update or create a Field
|
|
1317
|
+
* const field = await prisma.field.upsert({
|
|
1318
|
+
* create: {
|
|
1319
|
+
* // ... data to create a Field
|
|
1320
|
+
* },
|
|
1321
|
+
* update: {
|
|
1322
|
+
* // ... in case it already exists, update
|
|
1323
|
+
* },
|
|
1324
|
+
* where: {
|
|
1325
|
+
* // ... the filter for the Field we want to update
|
|
1326
|
+
* }
|
|
1327
|
+
* })
|
|
1328
|
+
*/
|
|
1329
|
+
upsert<T extends FieldUpsertArgs>(args: Prisma.SelectSubset<T, FieldUpsertArgs<ExtArgs>>): Prisma.Prisma__FieldClient<runtime.Types.Result.GetResult<Prisma.$FieldPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1330
|
+
/**
|
|
1331
|
+
* Count the number of Fields.
|
|
1332
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1333
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1334
|
+
* @param {FieldCountArgs} args - Arguments to filter Fields to count.
|
|
1335
|
+
* @example
|
|
1336
|
+
* // Count the number of Fields
|
|
1337
|
+
* const count = await prisma.field.count({
|
|
1338
|
+
* where: {
|
|
1339
|
+
* // ... the filter for the Fields we want to count
|
|
1340
|
+
* }
|
|
1341
|
+
* })
|
|
1342
|
+
**/
|
|
1343
|
+
count<T extends FieldCountArgs>(args?: Prisma.Subset<T, FieldCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], FieldCountAggregateOutputType> : number>;
|
|
1344
|
+
/**
|
|
1345
|
+
* Allows you to perform aggregations operations on a Field.
|
|
1346
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1347
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1348
|
+
* @param {FieldAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1349
|
+
* @example
|
|
1350
|
+
* // Ordered by age ascending
|
|
1351
|
+
* // Where email contains prisma.io
|
|
1352
|
+
* // Limited to the 10 users
|
|
1353
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1354
|
+
* _avg: {
|
|
1355
|
+
* age: true,
|
|
1356
|
+
* },
|
|
1357
|
+
* where: {
|
|
1358
|
+
* email: {
|
|
1359
|
+
* contains: "prisma.io",
|
|
1360
|
+
* },
|
|
1361
|
+
* },
|
|
1362
|
+
* orderBy: {
|
|
1363
|
+
* age: "asc",
|
|
1364
|
+
* },
|
|
1365
|
+
* take: 10,
|
|
1366
|
+
* })
|
|
1367
|
+
**/
|
|
1368
|
+
aggregate<T extends FieldAggregateArgs>(args: Prisma.Subset<T, FieldAggregateArgs>): Prisma.PrismaPromise<GetFieldAggregateType<T>>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Group by Field.
|
|
1371
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1372
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1373
|
+
* @param {FieldGroupByArgs} args - Group by arguments.
|
|
1374
|
+
* @example
|
|
1375
|
+
* // Group by city, order by createdAt, get count
|
|
1376
|
+
* const result = await prisma.user.groupBy({
|
|
1377
|
+
* by: ['city', 'createdAt'],
|
|
1378
|
+
* orderBy: {
|
|
1379
|
+
* createdAt: true
|
|
1380
|
+
* },
|
|
1381
|
+
* _count: {
|
|
1382
|
+
* _all: true
|
|
1383
|
+
* },
|
|
1384
|
+
* })
|
|
1385
|
+
*
|
|
1386
|
+
**/
|
|
1387
|
+
groupBy<T extends FieldGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1388
|
+
orderBy: FieldGroupByArgs['orderBy'];
|
|
1389
|
+
} : {
|
|
1390
|
+
orderBy?: FieldGroupByArgs['orderBy'];
|
|
1391
|
+
}, 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 ? {
|
|
1392
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1393
|
+
Error,
|
|
1394
|
+
'Field ',
|
|
1395
|
+
P,
|
|
1396
|
+
` in "having" needs to be provided in "by"`
|
|
1397
|
+
];
|
|
1398
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1399
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1400
|
+
}[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 ? {} : {
|
|
1401
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1402
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1403
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1404
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, FieldGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFieldGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1405
|
+
/**
|
|
1406
|
+
* Fields of the Field model
|
|
1407
|
+
*/
|
|
1408
|
+
readonly fields: FieldFieldRefs;
|
|
1409
|
+
}
|
|
1410
|
+
/**
|
|
1411
|
+
* The delegate class that acts as a "Promise-like" for Field.
|
|
1412
|
+
* Why is this prefixed with `Prisma__`?
|
|
1413
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1414
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1415
|
+
*/
|
|
1416
|
+
export interface Prisma__FieldClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1417
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1418
|
+
createdBy<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1419
|
+
updatedBy<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1420
|
+
fieldSet<T extends Prisma.FieldSetDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FieldSetDefaultArgs<ExtArgs>>): Prisma.Prisma__FieldSetClient<runtime.Types.Result.GetResult<Prisma.$FieldSetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1421
|
+
fieldValues<T extends Prisma.Field$fieldValuesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Field$fieldValuesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1422
|
+
/**
|
|
1423
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1424
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1425
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1426
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1427
|
+
*/
|
|
1428
|
+
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>;
|
|
1429
|
+
/**
|
|
1430
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1431
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1432
|
+
* @returns A Promise for the completion of the callback.
|
|
1433
|
+
*/
|
|
1434
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1435
|
+
/**
|
|
1436
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1437
|
+
* resolved value cannot be modified from the callback.
|
|
1438
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1439
|
+
* @returns A Promise for the completion of the callback.
|
|
1440
|
+
*/
|
|
1441
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1442
|
+
}
|
|
1443
|
+
/**
|
|
1444
|
+
* Fields of the Field model
|
|
1445
|
+
*/
|
|
1446
|
+
export interface FieldFieldRefs {
|
|
1447
|
+
readonly id: Prisma.FieldRef<"Field", 'Int'>;
|
|
1448
|
+
readonly fieldSetId: Prisma.FieldRef<"Field", 'Int'>;
|
|
1449
|
+
readonly seqNo: Prisma.FieldRef<"Field", 'Int'>;
|
|
1450
|
+
readonly label: Prisma.FieldRef<"Field", 'String'>;
|
|
1451
|
+
readonly type: Prisma.FieldRef<"Field", 'FieldType'>;
|
|
1452
|
+
readonly isArray: Prisma.FieldRef<"Field", 'Boolean'>;
|
|
1453
|
+
readonly required: Prisma.FieldRef<"Field", 'Boolean'>;
|
|
1454
|
+
readonly createdAt: Prisma.FieldRef<"Field", 'DateTime'>;
|
|
1455
|
+
readonly createdById: Prisma.FieldRef<"Field", 'Int'>;
|
|
1456
|
+
readonly updatedAt: Prisma.FieldRef<"Field", 'DateTime'>;
|
|
1457
|
+
readonly updatedById: Prisma.FieldRef<"Field", 'Int'>;
|
|
1458
|
+
}
|
|
1459
|
+
/**
|
|
1460
|
+
* Field findUnique
|
|
1461
|
+
*/
|
|
1462
|
+
export type FieldFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1463
|
+
/**
|
|
1464
|
+
* Select specific fields to fetch from the Field
|
|
1465
|
+
*/
|
|
1466
|
+
select?: Prisma.FieldSelect<ExtArgs> | null;
|
|
1467
|
+
/**
|
|
1468
|
+
* Omit specific fields from the Field
|
|
1469
|
+
*/
|
|
1470
|
+
omit?: Prisma.FieldOmit<ExtArgs> | null;
|
|
1471
|
+
/**
|
|
1472
|
+
* Choose, which related nodes to fetch as well
|
|
1473
|
+
*/
|
|
1474
|
+
include?: Prisma.FieldInclude<ExtArgs> | null;
|
|
1475
|
+
/**
|
|
1476
|
+
* Filter, which Field to fetch.
|
|
1477
|
+
*/
|
|
1478
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
1479
|
+
};
|
|
1480
|
+
/**
|
|
1481
|
+
* Field findUniqueOrThrow
|
|
1482
|
+
*/
|
|
1483
|
+
export type FieldFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1484
|
+
/**
|
|
1485
|
+
* Select specific fields to fetch from the Field
|
|
1486
|
+
*/
|
|
1487
|
+
select?: Prisma.FieldSelect<ExtArgs> | null;
|
|
1488
|
+
/**
|
|
1489
|
+
* Omit specific fields from the Field
|
|
1490
|
+
*/
|
|
1491
|
+
omit?: Prisma.FieldOmit<ExtArgs> | null;
|
|
1492
|
+
/**
|
|
1493
|
+
* Choose, which related nodes to fetch as well
|
|
1494
|
+
*/
|
|
1495
|
+
include?: Prisma.FieldInclude<ExtArgs> | null;
|
|
1496
|
+
/**
|
|
1497
|
+
* Filter, which Field to fetch.
|
|
1498
|
+
*/
|
|
1499
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
1500
|
+
};
|
|
1501
|
+
/**
|
|
1502
|
+
* Field findFirst
|
|
1503
|
+
*/
|
|
1504
|
+
export type FieldFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1505
|
+
/**
|
|
1506
|
+
* Select specific fields to fetch from the Field
|
|
1507
|
+
*/
|
|
1508
|
+
select?: Prisma.FieldSelect<ExtArgs> | null;
|
|
1509
|
+
/**
|
|
1510
|
+
* Omit specific fields from the Field
|
|
1511
|
+
*/
|
|
1512
|
+
omit?: Prisma.FieldOmit<ExtArgs> | null;
|
|
1513
|
+
/**
|
|
1514
|
+
* Choose, which related nodes to fetch as well
|
|
1515
|
+
*/
|
|
1516
|
+
include?: Prisma.FieldInclude<ExtArgs> | null;
|
|
1517
|
+
/**
|
|
1518
|
+
* Filter, which Field to fetch.
|
|
1519
|
+
*/
|
|
1520
|
+
where?: Prisma.FieldWhereInput;
|
|
1521
|
+
/**
|
|
1522
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1523
|
+
*
|
|
1524
|
+
* Determine the order of Fields to fetch.
|
|
1525
|
+
*/
|
|
1526
|
+
orderBy?: Prisma.FieldOrderByWithRelationInput | Prisma.FieldOrderByWithRelationInput[];
|
|
1527
|
+
/**
|
|
1528
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1529
|
+
*
|
|
1530
|
+
* Sets the position for searching for Fields.
|
|
1531
|
+
*/
|
|
1532
|
+
cursor?: Prisma.FieldWhereUniqueInput;
|
|
1533
|
+
/**
|
|
1534
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1535
|
+
*
|
|
1536
|
+
* Take `±n` Fields from the position of the cursor.
|
|
1537
|
+
*/
|
|
1538
|
+
take?: number;
|
|
1539
|
+
/**
|
|
1540
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1541
|
+
*
|
|
1542
|
+
* Skip the first `n` Fields.
|
|
1543
|
+
*/
|
|
1544
|
+
skip?: number;
|
|
1545
|
+
/**
|
|
1546
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1547
|
+
*
|
|
1548
|
+
* Filter by unique combinations of Fields.
|
|
1549
|
+
*/
|
|
1550
|
+
distinct?: Prisma.FieldScalarFieldEnum | Prisma.FieldScalarFieldEnum[];
|
|
1551
|
+
};
|
|
1552
|
+
/**
|
|
1553
|
+
* Field findFirstOrThrow
|
|
1554
|
+
*/
|
|
1555
|
+
export type FieldFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1556
|
+
/**
|
|
1557
|
+
* Select specific fields to fetch from the Field
|
|
1558
|
+
*/
|
|
1559
|
+
select?: Prisma.FieldSelect<ExtArgs> | null;
|
|
1560
|
+
/**
|
|
1561
|
+
* Omit specific fields from the Field
|
|
1562
|
+
*/
|
|
1563
|
+
omit?: Prisma.FieldOmit<ExtArgs> | null;
|
|
1564
|
+
/**
|
|
1565
|
+
* Choose, which related nodes to fetch as well
|
|
1566
|
+
*/
|
|
1567
|
+
include?: Prisma.FieldInclude<ExtArgs> | null;
|
|
1568
|
+
/**
|
|
1569
|
+
* Filter, which Field to fetch.
|
|
1570
|
+
*/
|
|
1571
|
+
where?: Prisma.FieldWhereInput;
|
|
1572
|
+
/**
|
|
1573
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1574
|
+
*
|
|
1575
|
+
* Determine the order of Fields to fetch.
|
|
1576
|
+
*/
|
|
1577
|
+
orderBy?: Prisma.FieldOrderByWithRelationInput | Prisma.FieldOrderByWithRelationInput[];
|
|
1578
|
+
/**
|
|
1579
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1580
|
+
*
|
|
1581
|
+
* Sets the position for searching for Fields.
|
|
1582
|
+
*/
|
|
1583
|
+
cursor?: Prisma.FieldWhereUniqueInput;
|
|
1584
|
+
/**
|
|
1585
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1586
|
+
*
|
|
1587
|
+
* Take `±n` Fields from the position of the cursor.
|
|
1588
|
+
*/
|
|
1589
|
+
take?: number;
|
|
1590
|
+
/**
|
|
1591
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1592
|
+
*
|
|
1593
|
+
* Skip the first `n` Fields.
|
|
1594
|
+
*/
|
|
1595
|
+
skip?: number;
|
|
1596
|
+
/**
|
|
1597
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1598
|
+
*
|
|
1599
|
+
* Filter by unique combinations of Fields.
|
|
1600
|
+
*/
|
|
1601
|
+
distinct?: Prisma.FieldScalarFieldEnum | Prisma.FieldScalarFieldEnum[];
|
|
1602
|
+
};
|
|
1603
|
+
/**
|
|
1604
|
+
* Field findMany
|
|
1605
|
+
*/
|
|
1606
|
+
export type FieldFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1607
|
+
/**
|
|
1608
|
+
* Select specific fields to fetch from the Field
|
|
1609
|
+
*/
|
|
1610
|
+
select?: Prisma.FieldSelect<ExtArgs> | null;
|
|
1611
|
+
/**
|
|
1612
|
+
* Omit specific fields from the Field
|
|
1613
|
+
*/
|
|
1614
|
+
omit?: Prisma.FieldOmit<ExtArgs> | null;
|
|
1615
|
+
/**
|
|
1616
|
+
* Choose, which related nodes to fetch as well
|
|
1617
|
+
*/
|
|
1618
|
+
include?: Prisma.FieldInclude<ExtArgs> | null;
|
|
1619
|
+
/**
|
|
1620
|
+
* Filter, which Fields to fetch.
|
|
1621
|
+
*/
|
|
1622
|
+
where?: Prisma.FieldWhereInput;
|
|
1623
|
+
/**
|
|
1624
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1625
|
+
*
|
|
1626
|
+
* Determine the order of Fields to fetch.
|
|
1627
|
+
*/
|
|
1628
|
+
orderBy?: Prisma.FieldOrderByWithRelationInput | Prisma.FieldOrderByWithRelationInput[];
|
|
1629
|
+
/**
|
|
1630
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1631
|
+
*
|
|
1632
|
+
* Sets the position for listing Fields.
|
|
1633
|
+
*/
|
|
1634
|
+
cursor?: Prisma.FieldWhereUniqueInput;
|
|
1635
|
+
/**
|
|
1636
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1637
|
+
*
|
|
1638
|
+
* Take `±n` Fields from the position of the cursor.
|
|
1639
|
+
*/
|
|
1640
|
+
take?: number;
|
|
1641
|
+
/**
|
|
1642
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1643
|
+
*
|
|
1644
|
+
* Skip the first `n` Fields.
|
|
1645
|
+
*/
|
|
1646
|
+
skip?: number;
|
|
1647
|
+
/**
|
|
1648
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1649
|
+
*
|
|
1650
|
+
* Filter by unique combinations of Fields.
|
|
1651
|
+
*/
|
|
1652
|
+
distinct?: Prisma.FieldScalarFieldEnum | Prisma.FieldScalarFieldEnum[];
|
|
1653
|
+
};
|
|
1654
|
+
/**
|
|
1655
|
+
* Field create
|
|
1656
|
+
*/
|
|
1657
|
+
export type FieldCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1658
|
+
/**
|
|
1659
|
+
* Select specific fields to fetch from the Field
|
|
1660
|
+
*/
|
|
1661
|
+
select?: Prisma.FieldSelect<ExtArgs> | null;
|
|
1662
|
+
/**
|
|
1663
|
+
* Omit specific fields from the Field
|
|
1664
|
+
*/
|
|
1665
|
+
omit?: Prisma.FieldOmit<ExtArgs> | null;
|
|
1666
|
+
/**
|
|
1667
|
+
* Choose, which related nodes to fetch as well
|
|
1668
|
+
*/
|
|
1669
|
+
include?: Prisma.FieldInclude<ExtArgs> | null;
|
|
1670
|
+
/**
|
|
1671
|
+
* The data needed to create a Field.
|
|
1672
|
+
*/
|
|
1673
|
+
data: Prisma.XOR<Prisma.FieldCreateInput, Prisma.FieldUncheckedCreateInput>;
|
|
1674
|
+
};
|
|
1675
|
+
/**
|
|
1676
|
+
* Field createMany
|
|
1677
|
+
*/
|
|
1678
|
+
export type FieldCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1679
|
+
/**
|
|
1680
|
+
* The data used to create many Fields.
|
|
1681
|
+
*/
|
|
1682
|
+
data: Prisma.FieldCreateManyInput | Prisma.FieldCreateManyInput[];
|
|
1683
|
+
};
|
|
1684
|
+
/**
|
|
1685
|
+
* Field createManyAndReturn
|
|
1686
|
+
*/
|
|
1687
|
+
export type FieldCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1688
|
+
/**
|
|
1689
|
+
* Select specific fields to fetch from the Field
|
|
1690
|
+
*/
|
|
1691
|
+
select?: Prisma.FieldSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1692
|
+
/**
|
|
1693
|
+
* Omit specific fields from the Field
|
|
1694
|
+
*/
|
|
1695
|
+
omit?: Prisma.FieldOmit<ExtArgs> | null;
|
|
1696
|
+
/**
|
|
1697
|
+
* The data used to create many Fields.
|
|
1698
|
+
*/
|
|
1699
|
+
data: Prisma.FieldCreateManyInput | Prisma.FieldCreateManyInput[];
|
|
1700
|
+
/**
|
|
1701
|
+
* Choose, which related nodes to fetch as well
|
|
1702
|
+
*/
|
|
1703
|
+
include?: Prisma.FieldIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1704
|
+
};
|
|
1705
|
+
/**
|
|
1706
|
+
* Field update
|
|
1707
|
+
*/
|
|
1708
|
+
export type FieldUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1709
|
+
/**
|
|
1710
|
+
* Select specific fields to fetch from the Field
|
|
1711
|
+
*/
|
|
1712
|
+
select?: Prisma.FieldSelect<ExtArgs> | null;
|
|
1713
|
+
/**
|
|
1714
|
+
* Omit specific fields from the Field
|
|
1715
|
+
*/
|
|
1716
|
+
omit?: Prisma.FieldOmit<ExtArgs> | null;
|
|
1717
|
+
/**
|
|
1718
|
+
* Choose, which related nodes to fetch as well
|
|
1719
|
+
*/
|
|
1720
|
+
include?: Prisma.FieldInclude<ExtArgs> | null;
|
|
1721
|
+
/**
|
|
1722
|
+
* The data needed to update a Field.
|
|
1723
|
+
*/
|
|
1724
|
+
data: Prisma.XOR<Prisma.FieldUpdateInput, Prisma.FieldUncheckedUpdateInput>;
|
|
1725
|
+
/**
|
|
1726
|
+
* Choose, which Field to update.
|
|
1727
|
+
*/
|
|
1728
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
1729
|
+
};
|
|
1730
|
+
/**
|
|
1731
|
+
* Field updateMany
|
|
1732
|
+
*/
|
|
1733
|
+
export type FieldUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1734
|
+
/**
|
|
1735
|
+
* The data used to update Fields.
|
|
1736
|
+
*/
|
|
1737
|
+
data: Prisma.XOR<Prisma.FieldUpdateManyMutationInput, Prisma.FieldUncheckedUpdateManyInput>;
|
|
1738
|
+
/**
|
|
1739
|
+
* Filter which Fields to update
|
|
1740
|
+
*/
|
|
1741
|
+
where?: Prisma.FieldWhereInput;
|
|
1742
|
+
/**
|
|
1743
|
+
* Limit how many Fields to update.
|
|
1744
|
+
*/
|
|
1745
|
+
limit?: number;
|
|
1746
|
+
};
|
|
1747
|
+
/**
|
|
1748
|
+
* Field updateManyAndReturn
|
|
1749
|
+
*/
|
|
1750
|
+
export type FieldUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1751
|
+
/**
|
|
1752
|
+
* Select specific fields to fetch from the Field
|
|
1753
|
+
*/
|
|
1754
|
+
select?: Prisma.FieldSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1755
|
+
/**
|
|
1756
|
+
* Omit specific fields from the Field
|
|
1757
|
+
*/
|
|
1758
|
+
omit?: Prisma.FieldOmit<ExtArgs> | null;
|
|
1759
|
+
/**
|
|
1760
|
+
* The data used to update Fields.
|
|
1761
|
+
*/
|
|
1762
|
+
data: Prisma.XOR<Prisma.FieldUpdateManyMutationInput, Prisma.FieldUncheckedUpdateManyInput>;
|
|
1763
|
+
/**
|
|
1764
|
+
* Filter which Fields to update
|
|
1765
|
+
*/
|
|
1766
|
+
where?: Prisma.FieldWhereInput;
|
|
1767
|
+
/**
|
|
1768
|
+
* Limit how many Fields to update.
|
|
1769
|
+
*/
|
|
1770
|
+
limit?: number;
|
|
1771
|
+
/**
|
|
1772
|
+
* Choose, which related nodes to fetch as well
|
|
1773
|
+
*/
|
|
1774
|
+
include?: Prisma.FieldIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1775
|
+
};
|
|
1776
|
+
/**
|
|
1777
|
+
* Field upsert
|
|
1778
|
+
*/
|
|
1779
|
+
export type FieldUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1780
|
+
/**
|
|
1781
|
+
* Select specific fields to fetch from the Field
|
|
1782
|
+
*/
|
|
1783
|
+
select?: Prisma.FieldSelect<ExtArgs> | null;
|
|
1784
|
+
/**
|
|
1785
|
+
* Omit specific fields from the Field
|
|
1786
|
+
*/
|
|
1787
|
+
omit?: Prisma.FieldOmit<ExtArgs> | null;
|
|
1788
|
+
/**
|
|
1789
|
+
* Choose, which related nodes to fetch as well
|
|
1790
|
+
*/
|
|
1791
|
+
include?: Prisma.FieldInclude<ExtArgs> | null;
|
|
1792
|
+
/**
|
|
1793
|
+
* The filter to search for the Field to update in case it exists.
|
|
1794
|
+
*/
|
|
1795
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
1796
|
+
/**
|
|
1797
|
+
* In case the Field found by the `where` argument doesn't exist, create a new Field with this data.
|
|
1798
|
+
*/
|
|
1799
|
+
create: Prisma.XOR<Prisma.FieldCreateInput, Prisma.FieldUncheckedCreateInput>;
|
|
1800
|
+
/**
|
|
1801
|
+
* In case the Field was found with the provided `where` argument, update it with this data.
|
|
1802
|
+
*/
|
|
1803
|
+
update: Prisma.XOR<Prisma.FieldUpdateInput, Prisma.FieldUncheckedUpdateInput>;
|
|
1804
|
+
};
|
|
1805
|
+
/**
|
|
1806
|
+
* Field delete
|
|
1807
|
+
*/
|
|
1808
|
+
export type FieldDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1809
|
+
/**
|
|
1810
|
+
* Select specific fields to fetch from the Field
|
|
1811
|
+
*/
|
|
1812
|
+
select?: Prisma.FieldSelect<ExtArgs> | null;
|
|
1813
|
+
/**
|
|
1814
|
+
* Omit specific fields from the Field
|
|
1815
|
+
*/
|
|
1816
|
+
omit?: Prisma.FieldOmit<ExtArgs> | null;
|
|
1817
|
+
/**
|
|
1818
|
+
* Choose, which related nodes to fetch as well
|
|
1819
|
+
*/
|
|
1820
|
+
include?: Prisma.FieldInclude<ExtArgs> | null;
|
|
1821
|
+
/**
|
|
1822
|
+
* Filter which Field to delete.
|
|
1823
|
+
*/
|
|
1824
|
+
where: Prisma.FieldWhereUniqueInput;
|
|
1825
|
+
};
|
|
1826
|
+
/**
|
|
1827
|
+
* Field deleteMany
|
|
1828
|
+
*/
|
|
1829
|
+
export type FieldDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1830
|
+
/**
|
|
1831
|
+
* Filter which Fields to delete
|
|
1832
|
+
*/
|
|
1833
|
+
where?: Prisma.FieldWhereInput;
|
|
1834
|
+
/**
|
|
1835
|
+
* Limit how many Fields to delete.
|
|
1836
|
+
*/
|
|
1837
|
+
limit?: number;
|
|
1838
|
+
};
|
|
1839
|
+
/**
|
|
1840
|
+
* Field.fieldValues
|
|
1841
|
+
*/
|
|
1842
|
+
export type Field$fieldValuesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1843
|
+
/**
|
|
1844
|
+
* Select specific fields to fetch from the FieldValue
|
|
1845
|
+
*/
|
|
1846
|
+
select?: Prisma.FieldValueSelect<ExtArgs> | null;
|
|
1847
|
+
/**
|
|
1848
|
+
* Omit specific fields from the FieldValue
|
|
1849
|
+
*/
|
|
1850
|
+
omit?: Prisma.FieldValueOmit<ExtArgs> | null;
|
|
1851
|
+
/**
|
|
1852
|
+
* Choose, which related nodes to fetch as well
|
|
1853
|
+
*/
|
|
1854
|
+
include?: Prisma.FieldValueInclude<ExtArgs> | null;
|
|
1855
|
+
where?: Prisma.FieldValueWhereInput;
|
|
1856
|
+
orderBy?: Prisma.FieldValueOrderByWithRelationInput | Prisma.FieldValueOrderByWithRelationInput[];
|
|
1857
|
+
cursor?: Prisma.FieldValueWhereUniqueInput;
|
|
1858
|
+
take?: number;
|
|
1859
|
+
skip?: number;
|
|
1860
|
+
distinct?: Prisma.FieldValueScalarFieldEnum | Prisma.FieldValueScalarFieldEnum[];
|
|
1861
|
+
};
|
|
1862
|
+
/**
|
|
1863
|
+
* Field without action
|
|
1864
|
+
*/
|
|
1865
|
+
export type FieldDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1866
|
+
/**
|
|
1867
|
+
* Select specific fields to fetch from the Field
|
|
1868
|
+
*/
|
|
1869
|
+
select?: Prisma.FieldSelect<ExtArgs> | null;
|
|
1870
|
+
/**
|
|
1871
|
+
* Omit specific fields from the Field
|
|
1872
|
+
*/
|
|
1873
|
+
omit?: Prisma.FieldOmit<ExtArgs> | null;
|
|
1874
|
+
/**
|
|
1875
|
+
* Choose, which related nodes to fetch as well
|
|
1876
|
+
*/
|
|
1877
|
+
include?: Prisma.FieldInclude<ExtArgs> | null;
|
|
1878
|
+
};
|
|
1879
|
+
export {};
|
|
1880
|
+
//# sourceMappingURL=Field.d.ts.map
|