@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,1625 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model FieldRecord
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type FieldRecordModel = runtime.Types.Result.DefaultSelection<Prisma.$FieldRecordPayload>;
|
|
8
|
+
export type AggregateFieldRecord = {
|
|
9
|
+
_count: FieldRecordCountAggregateOutputType | null;
|
|
10
|
+
_avg: FieldRecordAvgAggregateOutputType | null;
|
|
11
|
+
_sum: FieldRecordSumAggregateOutputType | null;
|
|
12
|
+
_min: FieldRecordMinAggregateOutputType | null;
|
|
13
|
+
_max: FieldRecordMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type FieldRecordAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
fieldSetId: number | null;
|
|
18
|
+
createdById: number | null;
|
|
19
|
+
};
|
|
20
|
+
export type FieldRecordSumAggregateOutputType = {
|
|
21
|
+
id: number | null;
|
|
22
|
+
fieldSetId: number | null;
|
|
23
|
+
createdById: number | null;
|
|
24
|
+
};
|
|
25
|
+
export type FieldRecordMinAggregateOutputType = {
|
|
26
|
+
id: number | null;
|
|
27
|
+
fieldSetId: number | null;
|
|
28
|
+
createdAt: Date | null;
|
|
29
|
+
createdById: number | null;
|
|
30
|
+
};
|
|
31
|
+
export type FieldRecordMaxAggregateOutputType = {
|
|
32
|
+
id: number | null;
|
|
33
|
+
fieldSetId: number | null;
|
|
34
|
+
createdAt: Date | null;
|
|
35
|
+
createdById: number | null;
|
|
36
|
+
};
|
|
37
|
+
export type FieldRecordCountAggregateOutputType = {
|
|
38
|
+
id: number;
|
|
39
|
+
fieldSetId: number;
|
|
40
|
+
createdAt: number;
|
|
41
|
+
createdById: number;
|
|
42
|
+
_all: number;
|
|
43
|
+
};
|
|
44
|
+
export type FieldRecordAvgAggregateInputType = {
|
|
45
|
+
id?: true;
|
|
46
|
+
fieldSetId?: true;
|
|
47
|
+
createdById?: true;
|
|
48
|
+
};
|
|
49
|
+
export type FieldRecordSumAggregateInputType = {
|
|
50
|
+
id?: true;
|
|
51
|
+
fieldSetId?: true;
|
|
52
|
+
createdById?: true;
|
|
53
|
+
};
|
|
54
|
+
export type FieldRecordMinAggregateInputType = {
|
|
55
|
+
id?: true;
|
|
56
|
+
fieldSetId?: true;
|
|
57
|
+
createdAt?: true;
|
|
58
|
+
createdById?: true;
|
|
59
|
+
};
|
|
60
|
+
export type FieldRecordMaxAggregateInputType = {
|
|
61
|
+
id?: true;
|
|
62
|
+
fieldSetId?: true;
|
|
63
|
+
createdAt?: true;
|
|
64
|
+
createdById?: true;
|
|
65
|
+
};
|
|
66
|
+
export type FieldRecordCountAggregateInputType = {
|
|
67
|
+
id?: true;
|
|
68
|
+
fieldSetId?: true;
|
|
69
|
+
createdAt?: true;
|
|
70
|
+
createdById?: true;
|
|
71
|
+
_all?: true;
|
|
72
|
+
};
|
|
73
|
+
export type FieldRecordAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
74
|
+
/**
|
|
75
|
+
* Filter which FieldRecord to aggregate.
|
|
76
|
+
*/
|
|
77
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
78
|
+
/**
|
|
79
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
80
|
+
*
|
|
81
|
+
* Determine the order of FieldRecords to fetch.
|
|
82
|
+
*/
|
|
83
|
+
orderBy?: Prisma.FieldRecordOrderByWithRelationInput | Prisma.FieldRecordOrderByWithRelationInput[];
|
|
84
|
+
/**
|
|
85
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
86
|
+
*
|
|
87
|
+
* Sets the start position
|
|
88
|
+
*/
|
|
89
|
+
cursor?: Prisma.FieldRecordWhereUniqueInput;
|
|
90
|
+
/**
|
|
91
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
92
|
+
*
|
|
93
|
+
* Take `±n` FieldRecords from the position of the cursor.
|
|
94
|
+
*/
|
|
95
|
+
take?: number;
|
|
96
|
+
/**
|
|
97
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
98
|
+
*
|
|
99
|
+
* Skip the first `n` FieldRecords.
|
|
100
|
+
*/
|
|
101
|
+
skip?: number;
|
|
102
|
+
/**
|
|
103
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
104
|
+
*
|
|
105
|
+
* Count returned FieldRecords
|
|
106
|
+
**/
|
|
107
|
+
_count?: true | FieldRecordCountAggregateInputType;
|
|
108
|
+
/**
|
|
109
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
110
|
+
*
|
|
111
|
+
* Select which fields to average
|
|
112
|
+
**/
|
|
113
|
+
_avg?: FieldRecordAvgAggregateInputType;
|
|
114
|
+
/**
|
|
115
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
116
|
+
*
|
|
117
|
+
* Select which fields to sum
|
|
118
|
+
**/
|
|
119
|
+
_sum?: FieldRecordSumAggregateInputType;
|
|
120
|
+
/**
|
|
121
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
122
|
+
*
|
|
123
|
+
* Select which fields to find the minimum value
|
|
124
|
+
**/
|
|
125
|
+
_min?: FieldRecordMinAggregateInputType;
|
|
126
|
+
/**
|
|
127
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
128
|
+
*
|
|
129
|
+
* Select which fields to find the maximum value
|
|
130
|
+
**/
|
|
131
|
+
_max?: FieldRecordMaxAggregateInputType;
|
|
132
|
+
};
|
|
133
|
+
export type GetFieldRecordAggregateType<T extends FieldRecordAggregateArgs> = {
|
|
134
|
+
[P in keyof T & keyof AggregateFieldRecord]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFieldRecord[P]> : Prisma.GetScalarType<T[P], AggregateFieldRecord[P]>;
|
|
135
|
+
};
|
|
136
|
+
export type FieldRecordGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
137
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
138
|
+
orderBy?: Prisma.FieldRecordOrderByWithAggregationInput | Prisma.FieldRecordOrderByWithAggregationInput[];
|
|
139
|
+
by: Prisma.FieldRecordScalarFieldEnum[] | Prisma.FieldRecordScalarFieldEnum;
|
|
140
|
+
having?: Prisma.FieldRecordScalarWhereWithAggregatesInput;
|
|
141
|
+
take?: number;
|
|
142
|
+
skip?: number;
|
|
143
|
+
_count?: FieldRecordCountAggregateInputType | true;
|
|
144
|
+
_avg?: FieldRecordAvgAggregateInputType;
|
|
145
|
+
_sum?: FieldRecordSumAggregateInputType;
|
|
146
|
+
_min?: FieldRecordMinAggregateInputType;
|
|
147
|
+
_max?: FieldRecordMaxAggregateInputType;
|
|
148
|
+
};
|
|
149
|
+
export type FieldRecordGroupByOutputType = {
|
|
150
|
+
id: number;
|
|
151
|
+
fieldSetId: number;
|
|
152
|
+
createdAt: Date;
|
|
153
|
+
createdById: number;
|
|
154
|
+
_count: FieldRecordCountAggregateOutputType | null;
|
|
155
|
+
_avg: FieldRecordAvgAggregateOutputType | null;
|
|
156
|
+
_sum: FieldRecordSumAggregateOutputType | null;
|
|
157
|
+
_min: FieldRecordMinAggregateOutputType | null;
|
|
158
|
+
_max: FieldRecordMaxAggregateOutputType | null;
|
|
159
|
+
};
|
|
160
|
+
type GetFieldRecordGroupByPayload<T extends FieldRecordGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<FieldRecordGroupByOutputType, T['by']> & {
|
|
161
|
+
[P in ((keyof T) & (keyof FieldRecordGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], FieldRecordGroupByOutputType[P]> : Prisma.GetScalarType<T[P], FieldRecordGroupByOutputType[P]>;
|
|
162
|
+
}>>;
|
|
163
|
+
export type FieldRecordWhereInput = {
|
|
164
|
+
AND?: Prisma.FieldRecordWhereInput | Prisma.FieldRecordWhereInput[];
|
|
165
|
+
OR?: Prisma.FieldRecordWhereInput[];
|
|
166
|
+
NOT?: Prisma.FieldRecordWhereInput | Prisma.FieldRecordWhereInput[];
|
|
167
|
+
id?: Prisma.IntFilter<"FieldRecord"> | number;
|
|
168
|
+
fieldSetId?: Prisma.IntFilter<"FieldRecord"> | number;
|
|
169
|
+
createdAt?: Prisma.DateTimeFilter<"FieldRecord"> | Date | string;
|
|
170
|
+
createdById?: Prisma.IntFilter<"FieldRecord"> | number;
|
|
171
|
+
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
172
|
+
fieldSet?: Prisma.XOR<Prisma.FieldSetScalarRelationFilter, Prisma.FieldSetWhereInput>;
|
|
173
|
+
fieldValues?: Prisma.FieldValueListRelationFilter;
|
|
174
|
+
stepRuns?: Prisma.StepRunListRelationFilter;
|
|
175
|
+
itemInstances?: Prisma.ItemInstanceListRelationFilter;
|
|
176
|
+
};
|
|
177
|
+
export type FieldRecordOrderByWithRelationInput = {
|
|
178
|
+
id?: Prisma.SortOrder;
|
|
179
|
+
fieldSetId?: Prisma.SortOrder;
|
|
180
|
+
createdAt?: Prisma.SortOrder;
|
|
181
|
+
createdById?: Prisma.SortOrder;
|
|
182
|
+
createdBy?: Prisma.UserOrderByWithRelationInput;
|
|
183
|
+
fieldSet?: Prisma.FieldSetOrderByWithRelationInput;
|
|
184
|
+
fieldValues?: Prisma.FieldValueOrderByRelationAggregateInput;
|
|
185
|
+
stepRuns?: Prisma.StepRunOrderByRelationAggregateInput;
|
|
186
|
+
itemInstances?: Prisma.ItemInstanceOrderByRelationAggregateInput;
|
|
187
|
+
};
|
|
188
|
+
export type FieldRecordWhereUniqueInput = Prisma.AtLeast<{
|
|
189
|
+
id?: number;
|
|
190
|
+
AND?: Prisma.FieldRecordWhereInput | Prisma.FieldRecordWhereInput[];
|
|
191
|
+
OR?: Prisma.FieldRecordWhereInput[];
|
|
192
|
+
NOT?: Prisma.FieldRecordWhereInput | Prisma.FieldRecordWhereInput[];
|
|
193
|
+
fieldSetId?: Prisma.IntFilter<"FieldRecord"> | number;
|
|
194
|
+
createdAt?: Prisma.DateTimeFilter<"FieldRecord"> | Date | string;
|
|
195
|
+
createdById?: Prisma.IntFilter<"FieldRecord"> | number;
|
|
196
|
+
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
197
|
+
fieldSet?: Prisma.XOR<Prisma.FieldSetScalarRelationFilter, Prisma.FieldSetWhereInput>;
|
|
198
|
+
fieldValues?: Prisma.FieldValueListRelationFilter;
|
|
199
|
+
stepRuns?: Prisma.StepRunListRelationFilter;
|
|
200
|
+
itemInstances?: Prisma.ItemInstanceListRelationFilter;
|
|
201
|
+
}, "id">;
|
|
202
|
+
export type FieldRecordOrderByWithAggregationInput = {
|
|
203
|
+
id?: Prisma.SortOrder;
|
|
204
|
+
fieldSetId?: Prisma.SortOrder;
|
|
205
|
+
createdAt?: Prisma.SortOrder;
|
|
206
|
+
createdById?: Prisma.SortOrder;
|
|
207
|
+
_count?: Prisma.FieldRecordCountOrderByAggregateInput;
|
|
208
|
+
_avg?: Prisma.FieldRecordAvgOrderByAggregateInput;
|
|
209
|
+
_max?: Prisma.FieldRecordMaxOrderByAggregateInput;
|
|
210
|
+
_min?: Prisma.FieldRecordMinOrderByAggregateInput;
|
|
211
|
+
_sum?: Prisma.FieldRecordSumOrderByAggregateInput;
|
|
212
|
+
};
|
|
213
|
+
export type FieldRecordScalarWhereWithAggregatesInput = {
|
|
214
|
+
AND?: Prisma.FieldRecordScalarWhereWithAggregatesInput | Prisma.FieldRecordScalarWhereWithAggregatesInput[];
|
|
215
|
+
OR?: Prisma.FieldRecordScalarWhereWithAggregatesInput[];
|
|
216
|
+
NOT?: Prisma.FieldRecordScalarWhereWithAggregatesInput | Prisma.FieldRecordScalarWhereWithAggregatesInput[];
|
|
217
|
+
id?: Prisma.IntWithAggregatesFilter<"FieldRecord"> | number;
|
|
218
|
+
fieldSetId?: Prisma.IntWithAggregatesFilter<"FieldRecord"> | number;
|
|
219
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"FieldRecord"> | Date | string;
|
|
220
|
+
createdById?: Prisma.IntWithAggregatesFilter<"FieldRecord"> | number;
|
|
221
|
+
};
|
|
222
|
+
export type FieldRecordCreateInput = {
|
|
223
|
+
createdAt?: Date | string;
|
|
224
|
+
createdBy: Prisma.UserCreateNestedOneWithoutFieldRecordsCreatedInput;
|
|
225
|
+
fieldSet: Prisma.FieldSetCreateNestedOneWithoutFieldRecordsInput;
|
|
226
|
+
fieldValues?: Prisma.FieldValueCreateNestedManyWithoutFieldRecordInput;
|
|
227
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutFieldRecordInput;
|
|
228
|
+
itemInstances?: Prisma.ItemInstanceCreateNestedManyWithoutFieldRecordInput;
|
|
229
|
+
};
|
|
230
|
+
export type FieldRecordUncheckedCreateInput = {
|
|
231
|
+
id?: number;
|
|
232
|
+
fieldSetId: number;
|
|
233
|
+
createdAt?: Date | string;
|
|
234
|
+
createdById: number;
|
|
235
|
+
fieldValues?: Prisma.FieldValueUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
236
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
237
|
+
itemInstances?: Prisma.ItemInstanceUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
238
|
+
};
|
|
239
|
+
export type FieldRecordUpdateInput = {
|
|
240
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
241
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldRecordsCreatedNestedInput;
|
|
242
|
+
fieldSet?: Prisma.FieldSetUpdateOneRequiredWithoutFieldRecordsNestedInput;
|
|
243
|
+
fieldValues?: Prisma.FieldValueUpdateManyWithoutFieldRecordNestedInput;
|
|
244
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutFieldRecordNestedInput;
|
|
245
|
+
itemInstances?: Prisma.ItemInstanceUpdateManyWithoutFieldRecordNestedInput;
|
|
246
|
+
};
|
|
247
|
+
export type FieldRecordUncheckedUpdateInput = {
|
|
248
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
249
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
250
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
251
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
252
|
+
fieldValues?: Prisma.FieldValueUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
253
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
254
|
+
itemInstances?: Prisma.ItemInstanceUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
255
|
+
};
|
|
256
|
+
export type FieldRecordCreateManyInput = {
|
|
257
|
+
id?: number;
|
|
258
|
+
fieldSetId: number;
|
|
259
|
+
createdAt?: Date | string;
|
|
260
|
+
createdById: number;
|
|
261
|
+
};
|
|
262
|
+
export type FieldRecordUpdateManyMutationInput = {
|
|
263
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
264
|
+
};
|
|
265
|
+
export type FieldRecordUncheckedUpdateManyInput = {
|
|
266
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
267
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
268
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
269
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
270
|
+
};
|
|
271
|
+
export type FieldRecordListRelationFilter = {
|
|
272
|
+
every?: Prisma.FieldRecordWhereInput;
|
|
273
|
+
some?: Prisma.FieldRecordWhereInput;
|
|
274
|
+
none?: Prisma.FieldRecordWhereInput;
|
|
275
|
+
};
|
|
276
|
+
export type FieldRecordOrderByRelationAggregateInput = {
|
|
277
|
+
_count?: Prisma.SortOrder;
|
|
278
|
+
};
|
|
279
|
+
export type FieldRecordCountOrderByAggregateInput = {
|
|
280
|
+
id?: Prisma.SortOrder;
|
|
281
|
+
fieldSetId?: Prisma.SortOrder;
|
|
282
|
+
createdAt?: Prisma.SortOrder;
|
|
283
|
+
createdById?: Prisma.SortOrder;
|
|
284
|
+
};
|
|
285
|
+
export type FieldRecordAvgOrderByAggregateInput = {
|
|
286
|
+
id?: Prisma.SortOrder;
|
|
287
|
+
fieldSetId?: Prisma.SortOrder;
|
|
288
|
+
createdById?: Prisma.SortOrder;
|
|
289
|
+
};
|
|
290
|
+
export type FieldRecordMaxOrderByAggregateInput = {
|
|
291
|
+
id?: Prisma.SortOrder;
|
|
292
|
+
fieldSetId?: Prisma.SortOrder;
|
|
293
|
+
createdAt?: Prisma.SortOrder;
|
|
294
|
+
createdById?: Prisma.SortOrder;
|
|
295
|
+
};
|
|
296
|
+
export type FieldRecordMinOrderByAggregateInput = {
|
|
297
|
+
id?: Prisma.SortOrder;
|
|
298
|
+
fieldSetId?: Prisma.SortOrder;
|
|
299
|
+
createdAt?: Prisma.SortOrder;
|
|
300
|
+
createdById?: Prisma.SortOrder;
|
|
301
|
+
};
|
|
302
|
+
export type FieldRecordSumOrderByAggregateInput = {
|
|
303
|
+
id?: Prisma.SortOrder;
|
|
304
|
+
fieldSetId?: Prisma.SortOrder;
|
|
305
|
+
createdById?: Prisma.SortOrder;
|
|
306
|
+
};
|
|
307
|
+
export type FieldRecordNullableScalarRelationFilter = {
|
|
308
|
+
is?: Prisma.FieldRecordWhereInput | null;
|
|
309
|
+
isNot?: Prisma.FieldRecordWhereInput | null;
|
|
310
|
+
};
|
|
311
|
+
export type FieldRecordScalarRelationFilter = {
|
|
312
|
+
is?: Prisma.FieldRecordWhereInput;
|
|
313
|
+
isNot?: Prisma.FieldRecordWhereInput;
|
|
314
|
+
};
|
|
315
|
+
export type FieldRecordCreateNestedManyWithoutFieldSetInput = {
|
|
316
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutFieldSetInput, Prisma.FieldRecordUncheckedCreateWithoutFieldSetInput> | Prisma.FieldRecordCreateWithoutFieldSetInput[] | Prisma.FieldRecordUncheckedCreateWithoutFieldSetInput[];
|
|
317
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutFieldSetInput | Prisma.FieldRecordCreateOrConnectWithoutFieldSetInput[];
|
|
318
|
+
createMany?: Prisma.FieldRecordCreateManyFieldSetInputEnvelope;
|
|
319
|
+
connect?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
320
|
+
};
|
|
321
|
+
export type FieldRecordUncheckedCreateNestedManyWithoutFieldSetInput = {
|
|
322
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutFieldSetInput, Prisma.FieldRecordUncheckedCreateWithoutFieldSetInput> | Prisma.FieldRecordCreateWithoutFieldSetInput[] | Prisma.FieldRecordUncheckedCreateWithoutFieldSetInput[];
|
|
323
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutFieldSetInput | Prisma.FieldRecordCreateOrConnectWithoutFieldSetInput[];
|
|
324
|
+
createMany?: Prisma.FieldRecordCreateManyFieldSetInputEnvelope;
|
|
325
|
+
connect?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
326
|
+
};
|
|
327
|
+
export type FieldRecordUpdateManyWithoutFieldSetNestedInput = {
|
|
328
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutFieldSetInput, Prisma.FieldRecordUncheckedCreateWithoutFieldSetInput> | Prisma.FieldRecordCreateWithoutFieldSetInput[] | Prisma.FieldRecordUncheckedCreateWithoutFieldSetInput[];
|
|
329
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutFieldSetInput | Prisma.FieldRecordCreateOrConnectWithoutFieldSetInput[];
|
|
330
|
+
upsert?: Prisma.FieldRecordUpsertWithWhereUniqueWithoutFieldSetInput | Prisma.FieldRecordUpsertWithWhereUniqueWithoutFieldSetInput[];
|
|
331
|
+
createMany?: Prisma.FieldRecordCreateManyFieldSetInputEnvelope;
|
|
332
|
+
set?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
333
|
+
disconnect?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
334
|
+
delete?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
335
|
+
connect?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
336
|
+
update?: Prisma.FieldRecordUpdateWithWhereUniqueWithoutFieldSetInput | Prisma.FieldRecordUpdateWithWhereUniqueWithoutFieldSetInput[];
|
|
337
|
+
updateMany?: Prisma.FieldRecordUpdateManyWithWhereWithoutFieldSetInput | Prisma.FieldRecordUpdateManyWithWhereWithoutFieldSetInput[];
|
|
338
|
+
deleteMany?: Prisma.FieldRecordScalarWhereInput | Prisma.FieldRecordScalarWhereInput[];
|
|
339
|
+
};
|
|
340
|
+
export type FieldRecordUncheckedUpdateManyWithoutFieldSetNestedInput = {
|
|
341
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutFieldSetInput, Prisma.FieldRecordUncheckedCreateWithoutFieldSetInput> | Prisma.FieldRecordCreateWithoutFieldSetInput[] | Prisma.FieldRecordUncheckedCreateWithoutFieldSetInput[];
|
|
342
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutFieldSetInput | Prisma.FieldRecordCreateOrConnectWithoutFieldSetInput[];
|
|
343
|
+
upsert?: Prisma.FieldRecordUpsertWithWhereUniqueWithoutFieldSetInput | Prisma.FieldRecordUpsertWithWhereUniqueWithoutFieldSetInput[];
|
|
344
|
+
createMany?: Prisma.FieldRecordCreateManyFieldSetInputEnvelope;
|
|
345
|
+
set?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
346
|
+
disconnect?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
347
|
+
delete?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
348
|
+
connect?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
349
|
+
update?: Prisma.FieldRecordUpdateWithWhereUniqueWithoutFieldSetInput | Prisma.FieldRecordUpdateWithWhereUniqueWithoutFieldSetInput[];
|
|
350
|
+
updateMany?: Prisma.FieldRecordUpdateManyWithWhereWithoutFieldSetInput | Prisma.FieldRecordUpdateManyWithWhereWithoutFieldSetInput[];
|
|
351
|
+
deleteMany?: Prisma.FieldRecordScalarWhereInput | Prisma.FieldRecordScalarWhereInput[];
|
|
352
|
+
};
|
|
353
|
+
export type FieldRecordCreateNestedOneWithoutStepRunsInput = {
|
|
354
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutStepRunsInput, Prisma.FieldRecordUncheckedCreateWithoutStepRunsInput>;
|
|
355
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutStepRunsInput;
|
|
356
|
+
connect?: Prisma.FieldRecordWhereUniqueInput;
|
|
357
|
+
};
|
|
358
|
+
export type FieldRecordUpdateOneWithoutStepRunsNestedInput = {
|
|
359
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutStepRunsInput, Prisma.FieldRecordUncheckedCreateWithoutStepRunsInput>;
|
|
360
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutStepRunsInput;
|
|
361
|
+
upsert?: Prisma.FieldRecordUpsertWithoutStepRunsInput;
|
|
362
|
+
disconnect?: Prisma.FieldRecordWhereInput | boolean;
|
|
363
|
+
delete?: Prisma.FieldRecordWhereInput | boolean;
|
|
364
|
+
connect?: Prisma.FieldRecordWhereUniqueInput;
|
|
365
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.FieldRecordUpdateToOneWithWhereWithoutStepRunsInput, Prisma.FieldRecordUpdateWithoutStepRunsInput>, Prisma.FieldRecordUncheckedUpdateWithoutStepRunsInput>;
|
|
366
|
+
};
|
|
367
|
+
export type FieldRecordCreateNestedOneWithoutFieldValuesInput = {
|
|
368
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutFieldValuesInput, Prisma.FieldRecordUncheckedCreateWithoutFieldValuesInput>;
|
|
369
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutFieldValuesInput;
|
|
370
|
+
connect?: Prisma.FieldRecordWhereUniqueInput;
|
|
371
|
+
};
|
|
372
|
+
export type FieldRecordUpdateOneRequiredWithoutFieldValuesNestedInput = {
|
|
373
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutFieldValuesInput, Prisma.FieldRecordUncheckedCreateWithoutFieldValuesInput>;
|
|
374
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutFieldValuesInput;
|
|
375
|
+
upsert?: Prisma.FieldRecordUpsertWithoutFieldValuesInput;
|
|
376
|
+
connect?: Prisma.FieldRecordWhereUniqueInput;
|
|
377
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.FieldRecordUpdateToOneWithWhereWithoutFieldValuesInput, Prisma.FieldRecordUpdateWithoutFieldValuesInput>, Prisma.FieldRecordUncheckedUpdateWithoutFieldValuesInput>;
|
|
378
|
+
};
|
|
379
|
+
export type FieldRecordCreateNestedOneWithoutItemInstancesInput = {
|
|
380
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutItemInstancesInput, Prisma.FieldRecordUncheckedCreateWithoutItemInstancesInput>;
|
|
381
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutItemInstancesInput;
|
|
382
|
+
connect?: Prisma.FieldRecordWhereUniqueInput;
|
|
383
|
+
};
|
|
384
|
+
export type FieldRecordUpdateOneWithoutItemInstancesNestedInput = {
|
|
385
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutItemInstancesInput, Prisma.FieldRecordUncheckedCreateWithoutItemInstancesInput>;
|
|
386
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutItemInstancesInput;
|
|
387
|
+
upsert?: Prisma.FieldRecordUpsertWithoutItemInstancesInput;
|
|
388
|
+
disconnect?: Prisma.FieldRecordWhereInput | boolean;
|
|
389
|
+
delete?: Prisma.FieldRecordWhereInput | boolean;
|
|
390
|
+
connect?: Prisma.FieldRecordWhereUniqueInput;
|
|
391
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.FieldRecordUpdateToOneWithWhereWithoutItemInstancesInput, Prisma.FieldRecordUpdateWithoutItemInstancesInput>, Prisma.FieldRecordUncheckedUpdateWithoutItemInstancesInput>;
|
|
392
|
+
};
|
|
393
|
+
export type FieldRecordCreateNestedManyWithoutCreatedByInput = {
|
|
394
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutCreatedByInput, Prisma.FieldRecordUncheckedCreateWithoutCreatedByInput> | Prisma.FieldRecordCreateWithoutCreatedByInput[] | Prisma.FieldRecordUncheckedCreateWithoutCreatedByInput[];
|
|
395
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutCreatedByInput | Prisma.FieldRecordCreateOrConnectWithoutCreatedByInput[];
|
|
396
|
+
createMany?: Prisma.FieldRecordCreateManyCreatedByInputEnvelope;
|
|
397
|
+
connect?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
398
|
+
};
|
|
399
|
+
export type FieldRecordUncheckedCreateNestedManyWithoutCreatedByInput = {
|
|
400
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutCreatedByInput, Prisma.FieldRecordUncheckedCreateWithoutCreatedByInput> | Prisma.FieldRecordCreateWithoutCreatedByInput[] | Prisma.FieldRecordUncheckedCreateWithoutCreatedByInput[];
|
|
401
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutCreatedByInput | Prisma.FieldRecordCreateOrConnectWithoutCreatedByInput[];
|
|
402
|
+
createMany?: Prisma.FieldRecordCreateManyCreatedByInputEnvelope;
|
|
403
|
+
connect?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
404
|
+
};
|
|
405
|
+
export type FieldRecordUpdateManyWithoutCreatedByNestedInput = {
|
|
406
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutCreatedByInput, Prisma.FieldRecordUncheckedCreateWithoutCreatedByInput> | Prisma.FieldRecordCreateWithoutCreatedByInput[] | Prisma.FieldRecordUncheckedCreateWithoutCreatedByInput[];
|
|
407
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutCreatedByInput | Prisma.FieldRecordCreateOrConnectWithoutCreatedByInput[];
|
|
408
|
+
upsert?: Prisma.FieldRecordUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.FieldRecordUpsertWithWhereUniqueWithoutCreatedByInput[];
|
|
409
|
+
createMany?: Prisma.FieldRecordCreateManyCreatedByInputEnvelope;
|
|
410
|
+
set?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
411
|
+
disconnect?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
412
|
+
delete?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
413
|
+
connect?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
414
|
+
update?: Prisma.FieldRecordUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.FieldRecordUpdateWithWhereUniqueWithoutCreatedByInput[];
|
|
415
|
+
updateMany?: Prisma.FieldRecordUpdateManyWithWhereWithoutCreatedByInput | Prisma.FieldRecordUpdateManyWithWhereWithoutCreatedByInput[];
|
|
416
|
+
deleteMany?: Prisma.FieldRecordScalarWhereInput | Prisma.FieldRecordScalarWhereInput[];
|
|
417
|
+
};
|
|
418
|
+
export type FieldRecordUncheckedUpdateManyWithoutCreatedByNestedInput = {
|
|
419
|
+
create?: Prisma.XOR<Prisma.FieldRecordCreateWithoutCreatedByInput, Prisma.FieldRecordUncheckedCreateWithoutCreatedByInput> | Prisma.FieldRecordCreateWithoutCreatedByInput[] | Prisma.FieldRecordUncheckedCreateWithoutCreatedByInput[];
|
|
420
|
+
connectOrCreate?: Prisma.FieldRecordCreateOrConnectWithoutCreatedByInput | Prisma.FieldRecordCreateOrConnectWithoutCreatedByInput[];
|
|
421
|
+
upsert?: Prisma.FieldRecordUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.FieldRecordUpsertWithWhereUniqueWithoutCreatedByInput[];
|
|
422
|
+
createMany?: Prisma.FieldRecordCreateManyCreatedByInputEnvelope;
|
|
423
|
+
set?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
424
|
+
disconnect?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
425
|
+
delete?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
426
|
+
connect?: Prisma.FieldRecordWhereUniqueInput | Prisma.FieldRecordWhereUniqueInput[];
|
|
427
|
+
update?: Prisma.FieldRecordUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.FieldRecordUpdateWithWhereUniqueWithoutCreatedByInput[];
|
|
428
|
+
updateMany?: Prisma.FieldRecordUpdateManyWithWhereWithoutCreatedByInput | Prisma.FieldRecordUpdateManyWithWhereWithoutCreatedByInput[];
|
|
429
|
+
deleteMany?: Prisma.FieldRecordScalarWhereInput | Prisma.FieldRecordScalarWhereInput[];
|
|
430
|
+
};
|
|
431
|
+
export type FieldRecordCreateWithoutFieldSetInput = {
|
|
432
|
+
createdAt?: Date | string;
|
|
433
|
+
createdBy: Prisma.UserCreateNestedOneWithoutFieldRecordsCreatedInput;
|
|
434
|
+
fieldValues?: Prisma.FieldValueCreateNestedManyWithoutFieldRecordInput;
|
|
435
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutFieldRecordInput;
|
|
436
|
+
itemInstances?: Prisma.ItemInstanceCreateNestedManyWithoutFieldRecordInput;
|
|
437
|
+
};
|
|
438
|
+
export type FieldRecordUncheckedCreateWithoutFieldSetInput = {
|
|
439
|
+
id?: number;
|
|
440
|
+
createdAt?: Date | string;
|
|
441
|
+
createdById: number;
|
|
442
|
+
fieldValues?: Prisma.FieldValueUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
443
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
444
|
+
itemInstances?: Prisma.ItemInstanceUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
445
|
+
};
|
|
446
|
+
export type FieldRecordCreateOrConnectWithoutFieldSetInput = {
|
|
447
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
448
|
+
create: Prisma.XOR<Prisma.FieldRecordCreateWithoutFieldSetInput, Prisma.FieldRecordUncheckedCreateWithoutFieldSetInput>;
|
|
449
|
+
};
|
|
450
|
+
export type FieldRecordCreateManyFieldSetInputEnvelope = {
|
|
451
|
+
data: Prisma.FieldRecordCreateManyFieldSetInput | Prisma.FieldRecordCreateManyFieldSetInput[];
|
|
452
|
+
};
|
|
453
|
+
export type FieldRecordUpsertWithWhereUniqueWithoutFieldSetInput = {
|
|
454
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
455
|
+
update: Prisma.XOR<Prisma.FieldRecordUpdateWithoutFieldSetInput, Prisma.FieldRecordUncheckedUpdateWithoutFieldSetInput>;
|
|
456
|
+
create: Prisma.XOR<Prisma.FieldRecordCreateWithoutFieldSetInput, Prisma.FieldRecordUncheckedCreateWithoutFieldSetInput>;
|
|
457
|
+
};
|
|
458
|
+
export type FieldRecordUpdateWithWhereUniqueWithoutFieldSetInput = {
|
|
459
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
460
|
+
data: Prisma.XOR<Prisma.FieldRecordUpdateWithoutFieldSetInput, Prisma.FieldRecordUncheckedUpdateWithoutFieldSetInput>;
|
|
461
|
+
};
|
|
462
|
+
export type FieldRecordUpdateManyWithWhereWithoutFieldSetInput = {
|
|
463
|
+
where: Prisma.FieldRecordScalarWhereInput;
|
|
464
|
+
data: Prisma.XOR<Prisma.FieldRecordUpdateManyMutationInput, Prisma.FieldRecordUncheckedUpdateManyWithoutFieldSetInput>;
|
|
465
|
+
};
|
|
466
|
+
export type FieldRecordScalarWhereInput = {
|
|
467
|
+
AND?: Prisma.FieldRecordScalarWhereInput | Prisma.FieldRecordScalarWhereInput[];
|
|
468
|
+
OR?: Prisma.FieldRecordScalarWhereInput[];
|
|
469
|
+
NOT?: Prisma.FieldRecordScalarWhereInput | Prisma.FieldRecordScalarWhereInput[];
|
|
470
|
+
id?: Prisma.IntFilter<"FieldRecord"> | number;
|
|
471
|
+
fieldSetId?: Prisma.IntFilter<"FieldRecord"> | number;
|
|
472
|
+
createdAt?: Prisma.DateTimeFilter<"FieldRecord"> | Date | string;
|
|
473
|
+
createdById?: Prisma.IntFilter<"FieldRecord"> | number;
|
|
474
|
+
};
|
|
475
|
+
export type FieldRecordCreateWithoutStepRunsInput = {
|
|
476
|
+
createdAt?: Date | string;
|
|
477
|
+
createdBy: Prisma.UserCreateNestedOneWithoutFieldRecordsCreatedInput;
|
|
478
|
+
fieldSet: Prisma.FieldSetCreateNestedOneWithoutFieldRecordsInput;
|
|
479
|
+
fieldValues?: Prisma.FieldValueCreateNestedManyWithoutFieldRecordInput;
|
|
480
|
+
itemInstances?: Prisma.ItemInstanceCreateNestedManyWithoutFieldRecordInput;
|
|
481
|
+
};
|
|
482
|
+
export type FieldRecordUncheckedCreateWithoutStepRunsInput = {
|
|
483
|
+
id?: number;
|
|
484
|
+
fieldSetId: number;
|
|
485
|
+
createdAt?: Date | string;
|
|
486
|
+
createdById: number;
|
|
487
|
+
fieldValues?: Prisma.FieldValueUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
488
|
+
itemInstances?: Prisma.ItemInstanceUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
489
|
+
};
|
|
490
|
+
export type FieldRecordCreateOrConnectWithoutStepRunsInput = {
|
|
491
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
492
|
+
create: Prisma.XOR<Prisma.FieldRecordCreateWithoutStepRunsInput, Prisma.FieldRecordUncheckedCreateWithoutStepRunsInput>;
|
|
493
|
+
};
|
|
494
|
+
export type FieldRecordUpsertWithoutStepRunsInput = {
|
|
495
|
+
update: Prisma.XOR<Prisma.FieldRecordUpdateWithoutStepRunsInput, Prisma.FieldRecordUncheckedUpdateWithoutStepRunsInput>;
|
|
496
|
+
create: Prisma.XOR<Prisma.FieldRecordCreateWithoutStepRunsInput, Prisma.FieldRecordUncheckedCreateWithoutStepRunsInput>;
|
|
497
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
498
|
+
};
|
|
499
|
+
export type FieldRecordUpdateToOneWithWhereWithoutStepRunsInput = {
|
|
500
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
501
|
+
data: Prisma.XOR<Prisma.FieldRecordUpdateWithoutStepRunsInput, Prisma.FieldRecordUncheckedUpdateWithoutStepRunsInput>;
|
|
502
|
+
};
|
|
503
|
+
export type FieldRecordUpdateWithoutStepRunsInput = {
|
|
504
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
505
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldRecordsCreatedNestedInput;
|
|
506
|
+
fieldSet?: Prisma.FieldSetUpdateOneRequiredWithoutFieldRecordsNestedInput;
|
|
507
|
+
fieldValues?: Prisma.FieldValueUpdateManyWithoutFieldRecordNestedInput;
|
|
508
|
+
itemInstances?: Prisma.ItemInstanceUpdateManyWithoutFieldRecordNestedInput;
|
|
509
|
+
};
|
|
510
|
+
export type FieldRecordUncheckedUpdateWithoutStepRunsInput = {
|
|
511
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
512
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
513
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
514
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
515
|
+
fieldValues?: Prisma.FieldValueUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
516
|
+
itemInstances?: Prisma.ItemInstanceUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
517
|
+
};
|
|
518
|
+
export type FieldRecordCreateWithoutFieldValuesInput = {
|
|
519
|
+
createdAt?: Date | string;
|
|
520
|
+
createdBy: Prisma.UserCreateNestedOneWithoutFieldRecordsCreatedInput;
|
|
521
|
+
fieldSet: Prisma.FieldSetCreateNestedOneWithoutFieldRecordsInput;
|
|
522
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutFieldRecordInput;
|
|
523
|
+
itemInstances?: Prisma.ItemInstanceCreateNestedManyWithoutFieldRecordInput;
|
|
524
|
+
};
|
|
525
|
+
export type FieldRecordUncheckedCreateWithoutFieldValuesInput = {
|
|
526
|
+
id?: number;
|
|
527
|
+
fieldSetId: number;
|
|
528
|
+
createdAt?: Date | string;
|
|
529
|
+
createdById: number;
|
|
530
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
531
|
+
itemInstances?: Prisma.ItemInstanceUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
532
|
+
};
|
|
533
|
+
export type FieldRecordCreateOrConnectWithoutFieldValuesInput = {
|
|
534
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
535
|
+
create: Prisma.XOR<Prisma.FieldRecordCreateWithoutFieldValuesInput, Prisma.FieldRecordUncheckedCreateWithoutFieldValuesInput>;
|
|
536
|
+
};
|
|
537
|
+
export type FieldRecordUpsertWithoutFieldValuesInput = {
|
|
538
|
+
update: Prisma.XOR<Prisma.FieldRecordUpdateWithoutFieldValuesInput, Prisma.FieldRecordUncheckedUpdateWithoutFieldValuesInput>;
|
|
539
|
+
create: Prisma.XOR<Prisma.FieldRecordCreateWithoutFieldValuesInput, Prisma.FieldRecordUncheckedCreateWithoutFieldValuesInput>;
|
|
540
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
541
|
+
};
|
|
542
|
+
export type FieldRecordUpdateToOneWithWhereWithoutFieldValuesInput = {
|
|
543
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
544
|
+
data: Prisma.XOR<Prisma.FieldRecordUpdateWithoutFieldValuesInput, Prisma.FieldRecordUncheckedUpdateWithoutFieldValuesInput>;
|
|
545
|
+
};
|
|
546
|
+
export type FieldRecordUpdateWithoutFieldValuesInput = {
|
|
547
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
548
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldRecordsCreatedNestedInput;
|
|
549
|
+
fieldSet?: Prisma.FieldSetUpdateOneRequiredWithoutFieldRecordsNestedInput;
|
|
550
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutFieldRecordNestedInput;
|
|
551
|
+
itemInstances?: Prisma.ItemInstanceUpdateManyWithoutFieldRecordNestedInput;
|
|
552
|
+
};
|
|
553
|
+
export type FieldRecordUncheckedUpdateWithoutFieldValuesInput = {
|
|
554
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
555
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
556
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
557
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
558
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
559
|
+
itemInstances?: Prisma.ItemInstanceUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
560
|
+
};
|
|
561
|
+
export type FieldRecordCreateWithoutItemInstancesInput = {
|
|
562
|
+
createdAt?: Date | string;
|
|
563
|
+
createdBy: Prisma.UserCreateNestedOneWithoutFieldRecordsCreatedInput;
|
|
564
|
+
fieldSet: Prisma.FieldSetCreateNestedOneWithoutFieldRecordsInput;
|
|
565
|
+
fieldValues?: Prisma.FieldValueCreateNestedManyWithoutFieldRecordInput;
|
|
566
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutFieldRecordInput;
|
|
567
|
+
};
|
|
568
|
+
export type FieldRecordUncheckedCreateWithoutItemInstancesInput = {
|
|
569
|
+
id?: number;
|
|
570
|
+
fieldSetId: number;
|
|
571
|
+
createdAt?: Date | string;
|
|
572
|
+
createdById: number;
|
|
573
|
+
fieldValues?: Prisma.FieldValueUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
574
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
575
|
+
};
|
|
576
|
+
export type FieldRecordCreateOrConnectWithoutItemInstancesInput = {
|
|
577
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
578
|
+
create: Prisma.XOR<Prisma.FieldRecordCreateWithoutItemInstancesInput, Prisma.FieldRecordUncheckedCreateWithoutItemInstancesInput>;
|
|
579
|
+
};
|
|
580
|
+
export type FieldRecordUpsertWithoutItemInstancesInput = {
|
|
581
|
+
update: Prisma.XOR<Prisma.FieldRecordUpdateWithoutItemInstancesInput, Prisma.FieldRecordUncheckedUpdateWithoutItemInstancesInput>;
|
|
582
|
+
create: Prisma.XOR<Prisma.FieldRecordCreateWithoutItemInstancesInput, Prisma.FieldRecordUncheckedCreateWithoutItemInstancesInput>;
|
|
583
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
584
|
+
};
|
|
585
|
+
export type FieldRecordUpdateToOneWithWhereWithoutItemInstancesInput = {
|
|
586
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
587
|
+
data: Prisma.XOR<Prisma.FieldRecordUpdateWithoutItemInstancesInput, Prisma.FieldRecordUncheckedUpdateWithoutItemInstancesInput>;
|
|
588
|
+
};
|
|
589
|
+
export type FieldRecordUpdateWithoutItemInstancesInput = {
|
|
590
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
591
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldRecordsCreatedNestedInput;
|
|
592
|
+
fieldSet?: Prisma.FieldSetUpdateOneRequiredWithoutFieldRecordsNestedInput;
|
|
593
|
+
fieldValues?: Prisma.FieldValueUpdateManyWithoutFieldRecordNestedInput;
|
|
594
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutFieldRecordNestedInput;
|
|
595
|
+
};
|
|
596
|
+
export type FieldRecordUncheckedUpdateWithoutItemInstancesInput = {
|
|
597
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
598
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
599
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
600
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
601
|
+
fieldValues?: Prisma.FieldValueUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
602
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
603
|
+
};
|
|
604
|
+
export type FieldRecordCreateWithoutCreatedByInput = {
|
|
605
|
+
createdAt?: Date | string;
|
|
606
|
+
fieldSet: Prisma.FieldSetCreateNestedOneWithoutFieldRecordsInput;
|
|
607
|
+
fieldValues?: Prisma.FieldValueCreateNestedManyWithoutFieldRecordInput;
|
|
608
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutFieldRecordInput;
|
|
609
|
+
itemInstances?: Prisma.ItemInstanceCreateNestedManyWithoutFieldRecordInput;
|
|
610
|
+
};
|
|
611
|
+
export type FieldRecordUncheckedCreateWithoutCreatedByInput = {
|
|
612
|
+
id?: number;
|
|
613
|
+
fieldSetId: number;
|
|
614
|
+
createdAt?: Date | string;
|
|
615
|
+
fieldValues?: Prisma.FieldValueUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
616
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
617
|
+
itemInstances?: Prisma.ItemInstanceUncheckedCreateNestedManyWithoutFieldRecordInput;
|
|
618
|
+
};
|
|
619
|
+
export type FieldRecordCreateOrConnectWithoutCreatedByInput = {
|
|
620
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
621
|
+
create: Prisma.XOR<Prisma.FieldRecordCreateWithoutCreatedByInput, Prisma.FieldRecordUncheckedCreateWithoutCreatedByInput>;
|
|
622
|
+
};
|
|
623
|
+
export type FieldRecordCreateManyCreatedByInputEnvelope = {
|
|
624
|
+
data: Prisma.FieldRecordCreateManyCreatedByInput | Prisma.FieldRecordCreateManyCreatedByInput[];
|
|
625
|
+
};
|
|
626
|
+
export type FieldRecordUpsertWithWhereUniqueWithoutCreatedByInput = {
|
|
627
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
628
|
+
update: Prisma.XOR<Prisma.FieldRecordUpdateWithoutCreatedByInput, Prisma.FieldRecordUncheckedUpdateWithoutCreatedByInput>;
|
|
629
|
+
create: Prisma.XOR<Prisma.FieldRecordCreateWithoutCreatedByInput, Prisma.FieldRecordUncheckedCreateWithoutCreatedByInput>;
|
|
630
|
+
};
|
|
631
|
+
export type FieldRecordUpdateWithWhereUniqueWithoutCreatedByInput = {
|
|
632
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
633
|
+
data: Prisma.XOR<Prisma.FieldRecordUpdateWithoutCreatedByInput, Prisma.FieldRecordUncheckedUpdateWithoutCreatedByInput>;
|
|
634
|
+
};
|
|
635
|
+
export type FieldRecordUpdateManyWithWhereWithoutCreatedByInput = {
|
|
636
|
+
where: Prisma.FieldRecordScalarWhereInput;
|
|
637
|
+
data: Prisma.XOR<Prisma.FieldRecordUpdateManyMutationInput, Prisma.FieldRecordUncheckedUpdateManyWithoutCreatedByInput>;
|
|
638
|
+
};
|
|
639
|
+
export type FieldRecordCreateManyFieldSetInput = {
|
|
640
|
+
id?: number;
|
|
641
|
+
createdAt?: Date | string;
|
|
642
|
+
createdById: number;
|
|
643
|
+
};
|
|
644
|
+
export type FieldRecordUpdateWithoutFieldSetInput = {
|
|
645
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
646
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldRecordsCreatedNestedInput;
|
|
647
|
+
fieldValues?: Prisma.FieldValueUpdateManyWithoutFieldRecordNestedInput;
|
|
648
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutFieldRecordNestedInput;
|
|
649
|
+
itemInstances?: Prisma.ItemInstanceUpdateManyWithoutFieldRecordNestedInput;
|
|
650
|
+
};
|
|
651
|
+
export type FieldRecordUncheckedUpdateWithoutFieldSetInput = {
|
|
652
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
653
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
654
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
655
|
+
fieldValues?: Prisma.FieldValueUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
656
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
657
|
+
itemInstances?: Prisma.ItemInstanceUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
658
|
+
};
|
|
659
|
+
export type FieldRecordUncheckedUpdateManyWithoutFieldSetInput = {
|
|
660
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
661
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
662
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
663
|
+
};
|
|
664
|
+
export type FieldRecordCreateManyCreatedByInput = {
|
|
665
|
+
id?: number;
|
|
666
|
+
fieldSetId: number;
|
|
667
|
+
createdAt?: Date | string;
|
|
668
|
+
};
|
|
669
|
+
export type FieldRecordUpdateWithoutCreatedByInput = {
|
|
670
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
671
|
+
fieldSet?: Prisma.FieldSetUpdateOneRequiredWithoutFieldRecordsNestedInput;
|
|
672
|
+
fieldValues?: Prisma.FieldValueUpdateManyWithoutFieldRecordNestedInput;
|
|
673
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutFieldRecordNestedInput;
|
|
674
|
+
itemInstances?: Prisma.ItemInstanceUpdateManyWithoutFieldRecordNestedInput;
|
|
675
|
+
};
|
|
676
|
+
export type FieldRecordUncheckedUpdateWithoutCreatedByInput = {
|
|
677
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
678
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
679
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
680
|
+
fieldValues?: Prisma.FieldValueUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
681
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
682
|
+
itemInstances?: Prisma.ItemInstanceUncheckedUpdateManyWithoutFieldRecordNestedInput;
|
|
683
|
+
};
|
|
684
|
+
export type FieldRecordUncheckedUpdateManyWithoutCreatedByInput = {
|
|
685
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
686
|
+
fieldSetId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
687
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
688
|
+
};
|
|
689
|
+
/**
|
|
690
|
+
* Count Type FieldRecordCountOutputType
|
|
691
|
+
*/
|
|
692
|
+
export type FieldRecordCountOutputType = {
|
|
693
|
+
fieldValues: number;
|
|
694
|
+
stepRuns: number;
|
|
695
|
+
itemInstances: number;
|
|
696
|
+
};
|
|
697
|
+
export type FieldRecordCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
698
|
+
fieldValues?: boolean | FieldRecordCountOutputTypeCountFieldValuesArgs;
|
|
699
|
+
stepRuns?: boolean | FieldRecordCountOutputTypeCountStepRunsArgs;
|
|
700
|
+
itemInstances?: boolean | FieldRecordCountOutputTypeCountItemInstancesArgs;
|
|
701
|
+
};
|
|
702
|
+
/**
|
|
703
|
+
* FieldRecordCountOutputType without action
|
|
704
|
+
*/
|
|
705
|
+
export type FieldRecordCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
706
|
+
/**
|
|
707
|
+
* Select specific fields to fetch from the FieldRecordCountOutputType
|
|
708
|
+
*/
|
|
709
|
+
select?: Prisma.FieldRecordCountOutputTypeSelect<ExtArgs> | null;
|
|
710
|
+
};
|
|
711
|
+
/**
|
|
712
|
+
* FieldRecordCountOutputType without action
|
|
713
|
+
*/
|
|
714
|
+
export type FieldRecordCountOutputTypeCountFieldValuesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
715
|
+
where?: Prisma.FieldValueWhereInput;
|
|
716
|
+
};
|
|
717
|
+
/**
|
|
718
|
+
* FieldRecordCountOutputType without action
|
|
719
|
+
*/
|
|
720
|
+
export type FieldRecordCountOutputTypeCountStepRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
721
|
+
where?: Prisma.StepRunWhereInput;
|
|
722
|
+
};
|
|
723
|
+
/**
|
|
724
|
+
* FieldRecordCountOutputType without action
|
|
725
|
+
*/
|
|
726
|
+
export type FieldRecordCountOutputTypeCountItemInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
727
|
+
where?: Prisma.ItemInstanceWhereInput;
|
|
728
|
+
};
|
|
729
|
+
export type FieldRecordSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
730
|
+
id?: boolean;
|
|
731
|
+
fieldSetId?: boolean;
|
|
732
|
+
createdAt?: boolean;
|
|
733
|
+
createdById?: boolean;
|
|
734
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
735
|
+
fieldSet?: boolean | Prisma.FieldSetDefaultArgs<ExtArgs>;
|
|
736
|
+
fieldValues?: boolean | Prisma.FieldRecord$fieldValuesArgs<ExtArgs>;
|
|
737
|
+
stepRuns?: boolean | Prisma.FieldRecord$stepRunsArgs<ExtArgs>;
|
|
738
|
+
itemInstances?: boolean | Prisma.FieldRecord$itemInstancesArgs<ExtArgs>;
|
|
739
|
+
_count?: boolean | Prisma.FieldRecordCountOutputTypeDefaultArgs<ExtArgs>;
|
|
740
|
+
}, ExtArgs["result"]["fieldRecord"]>;
|
|
741
|
+
export type FieldRecordSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
742
|
+
id?: boolean;
|
|
743
|
+
fieldSetId?: boolean;
|
|
744
|
+
createdAt?: boolean;
|
|
745
|
+
createdById?: boolean;
|
|
746
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
747
|
+
fieldSet?: boolean | Prisma.FieldSetDefaultArgs<ExtArgs>;
|
|
748
|
+
}, ExtArgs["result"]["fieldRecord"]>;
|
|
749
|
+
export type FieldRecordSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
750
|
+
id?: boolean;
|
|
751
|
+
fieldSetId?: boolean;
|
|
752
|
+
createdAt?: boolean;
|
|
753
|
+
createdById?: boolean;
|
|
754
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
755
|
+
fieldSet?: boolean | Prisma.FieldSetDefaultArgs<ExtArgs>;
|
|
756
|
+
}, ExtArgs["result"]["fieldRecord"]>;
|
|
757
|
+
export type FieldRecordSelectScalar = {
|
|
758
|
+
id?: boolean;
|
|
759
|
+
fieldSetId?: boolean;
|
|
760
|
+
createdAt?: boolean;
|
|
761
|
+
createdById?: boolean;
|
|
762
|
+
};
|
|
763
|
+
export type FieldRecordOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fieldSetId" | "createdAt" | "createdById", ExtArgs["result"]["fieldRecord"]>;
|
|
764
|
+
export type FieldRecordInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
765
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
766
|
+
fieldSet?: boolean | Prisma.FieldSetDefaultArgs<ExtArgs>;
|
|
767
|
+
fieldValues?: boolean | Prisma.FieldRecord$fieldValuesArgs<ExtArgs>;
|
|
768
|
+
stepRuns?: boolean | Prisma.FieldRecord$stepRunsArgs<ExtArgs>;
|
|
769
|
+
itemInstances?: boolean | Prisma.FieldRecord$itemInstancesArgs<ExtArgs>;
|
|
770
|
+
_count?: boolean | Prisma.FieldRecordCountOutputTypeDefaultArgs<ExtArgs>;
|
|
771
|
+
};
|
|
772
|
+
export type FieldRecordIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
773
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
774
|
+
fieldSet?: boolean | Prisma.FieldSetDefaultArgs<ExtArgs>;
|
|
775
|
+
};
|
|
776
|
+
export type FieldRecordIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
777
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
778
|
+
fieldSet?: boolean | Prisma.FieldSetDefaultArgs<ExtArgs>;
|
|
779
|
+
};
|
|
780
|
+
export type $FieldRecordPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
781
|
+
name: "FieldRecord";
|
|
782
|
+
objects: {
|
|
783
|
+
createdBy: Prisma.$UserPayload<ExtArgs>;
|
|
784
|
+
fieldSet: Prisma.$FieldSetPayload<ExtArgs>;
|
|
785
|
+
fieldValues: Prisma.$FieldValuePayload<ExtArgs>[];
|
|
786
|
+
stepRuns: Prisma.$StepRunPayload<ExtArgs>[];
|
|
787
|
+
itemInstances: Prisma.$ItemInstancePayload<ExtArgs>[];
|
|
788
|
+
};
|
|
789
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
790
|
+
id: number;
|
|
791
|
+
fieldSetId: number;
|
|
792
|
+
createdAt: Date;
|
|
793
|
+
createdById: number;
|
|
794
|
+
}, ExtArgs["result"]["fieldRecord"]>;
|
|
795
|
+
composites: {};
|
|
796
|
+
};
|
|
797
|
+
export type FieldRecordGetPayload<S extends boolean | null | undefined | FieldRecordDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload, S>;
|
|
798
|
+
export type FieldRecordCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<FieldRecordFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
799
|
+
select?: FieldRecordCountAggregateInputType | true;
|
|
800
|
+
};
|
|
801
|
+
export interface FieldRecordDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
802
|
+
[K: symbol]: {
|
|
803
|
+
types: Prisma.TypeMap<ExtArgs>['model']['FieldRecord'];
|
|
804
|
+
meta: {
|
|
805
|
+
name: 'FieldRecord';
|
|
806
|
+
};
|
|
807
|
+
};
|
|
808
|
+
/**
|
|
809
|
+
* Find zero or one FieldRecord that matches the filter.
|
|
810
|
+
* @param {FieldRecordFindUniqueArgs} args - Arguments to find a FieldRecord
|
|
811
|
+
* @example
|
|
812
|
+
* // Get one FieldRecord
|
|
813
|
+
* const fieldRecord = await prisma.fieldRecord.findUnique({
|
|
814
|
+
* where: {
|
|
815
|
+
* // ... provide filter here
|
|
816
|
+
* }
|
|
817
|
+
* })
|
|
818
|
+
*/
|
|
819
|
+
findUnique<T extends FieldRecordFindUniqueArgs>(args: Prisma.SelectSubset<T, FieldRecordFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FieldRecordClient<runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
820
|
+
/**
|
|
821
|
+
* Find one FieldRecord that matches the filter or throw an error with `error.code='P2025'`
|
|
822
|
+
* if no matches were found.
|
|
823
|
+
* @param {FieldRecordFindUniqueOrThrowArgs} args - Arguments to find a FieldRecord
|
|
824
|
+
* @example
|
|
825
|
+
* // Get one FieldRecord
|
|
826
|
+
* const fieldRecord = await prisma.fieldRecord.findUniqueOrThrow({
|
|
827
|
+
* where: {
|
|
828
|
+
* // ... provide filter here
|
|
829
|
+
* }
|
|
830
|
+
* })
|
|
831
|
+
*/
|
|
832
|
+
findUniqueOrThrow<T extends FieldRecordFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FieldRecordFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FieldRecordClient<runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
833
|
+
/**
|
|
834
|
+
* Find the first FieldRecord that matches the filter.
|
|
835
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
836
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
837
|
+
* @param {FieldRecordFindFirstArgs} args - Arguments to find a FieldRecord
|
|
838
|
+
* @example
|
|
839
|
+
* // Get one FieldRecord
|
|
840
|
+
* const fieldRecord = await prisma.fieldRecord.findFirst({
|
|
841
|
+
* where: {
|
|
842
|
+
* // ... provide filter here
|
|
843
|
+
* }
|
|
844
|
+
* })
|
|
845
|
+
*/
|
|
846
|
+
findFirst<T extends FieldRecordFindFirstArgs>(args?: Prisma.SelectSubset<T, FieldRecordFindFirstArgs<ExtArgs>>): Prisma.Prisma__FieldRecordClient<runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
847
|
+
/**
|
|
848
|
+
* Find the first FieldRecord that matches the filter or
|
|
849
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
850
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
851
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
852
|
+
* @param {FieldRecordFindFirstOrThrowArgs} args - Arguments to find a FieldRecord
|
|
853
|
+
* @example
|
|
854
|
+
* // Get one FieldRecord
|
|
855
|
+
* const fieldRecord = await prisma.fieldRecord.findFirstOrThrow({
|
|
856
|
+
* where: {
|
|
857
|
+
* // ... provide filter here
|
|
858
|
+
* }
|
|
859
|
+
* })
|
|
860
|
+
*/
|
|
861
|
+
findFirstOrThrow<T extends FieldRecordFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FieldRecordFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FieldRecordClient<runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
862
|
+
/**
|
|
863
|
+
* Find zero or more FieldRecords that matches the filter.
|
|
864
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
865
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
866
|
+
* @param {FieldRecordFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
867
|
+
* @example
|
|
868
|
+
* // Get all FieldRecords
|
|
869
|
+
* const fieldRecords = await prisma.fieldRecord.findMany()
|
|
870
|
+
*
|
|
871
|
+
* // Get first 10 FieldRecords
|
|
872
|
+
* const fieldRecords = await prisma.fieldRecord.findMany({ take: 10 })
|
|
873
|
+
*
|
|
874
|
+
* // Only select the `id`
|
|
875
|
+
* const fieldRecordWithIdOnly = await prisma.fieldRecord.findMany({ select: { id: true } })
|
|
876
|
+
*
|
|
877
|
+
*/
|
|
878
|
+
findMany<T extends FieldRecordFindManyArgs>(args?: Prisma.SelectSubset<T, FieldRecordFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
879
|
+
/**
|
|
880
|
+
* Create a FieldRecord.
|
|
881
|
+
* @param {FieldRecordCreateArgs} args - Arguments to create a FieldRecord.
|
|
882
|
+
* @example
|
|
883
|
+
* // Create one FieldRecord
|
|
884
|
+
* const FieldRecord = await prisma.fieldRecord.create({
|
|
885
|
+
* data: {
|
|
886
|
+
* // ... data to create a FieldRecord
|
|
887
|
+
* }
|
|
888
|
+
* })
|
|
889
|
+
*
|
|
890
|
+
*/
|
|
891
|
+
create<T extends FieldRecordCreateArgs>(args: Prisma.SelectSubset<T, FieldRecordCreateArgs<ExtArgs>>): Prisma.Prisma__FieldRecordClient<runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
892
|
+
/**
|
|
893
|
+
* Create many FieldRecords.
|
|
894
|
+
* @param {FieldRecordCreateManyArgs} args - Arguments to create many FieldRecords.
|
|
895
|
+
* @example
|
|
896
|
+
* // Create many FieldRecords
|
|
897
|
+
* const fieldRecord = await prisma.fieldRecord.createMany({
|
|
898
|
+
* data: [
|
|
899
|
+
* // ... provide data here
|
|
900
|
+
* ]
|
|
901
|
+
* })
|
|
902
|
+
*
|
|
903
|
+
*/
|
|
904
|
+
createMany<T extends FieldRecordCreateManyArgs>(args?: Prisma.SelectSubset<T, FieldRecordCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
905
|
+
/**
|
|
906
|
+
* Create many FieldRecords and returns the data saved in the database.
|
|
907
|
+
* @param {FieldRecordCreateManyAndReturnArgs} args - Arguments to create many FieldRecords.
|
|
908
|
+
* @example
|
|
909
|
+
* // Create many FieldRecords
|
|
910
|
+
* const fieldRecord = await prisma.fieldRecord.createManyAndReturn({
|
|
911
|
+
* data: [
|
|
912
|
+
* // ... provide data here
|
|
913
|
+
* ]
|
|
914
|
+
* })
|
|
915
|
+
*
|
|
916
|
+
* // Create many FieldRecords and only return the `id`
|
|
917
|
+
* const fieldRecordWithIdOnly = await prisma.fieldRecord.createManyAndReturn({
|
|
918
|
+
* select: { id: true },
|
|
919
|
+
* data: [
|
|
920
|
+
* // ... provide data here
|
|
921
|
+
* ]
|
|
922
|
+
* })
|
|
923
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
924
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
925
|
+
*
|
|
926
|
+
*/
|
|
927
|
+
createManyAndReturn<T extends FieldRecordCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FieldRecordCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
928
|
+
/**
|
|
929
|
+
* Delete a FieldRecord.
|
|
930
|
+
* @param {FieldRecordDeleteArgs} args - Arguments to delete one FieldRecord.
|
|
931
|
+
* @example
|
|
932
|
+
* // Delete one FieldRecord
|
|
933
|
+
* const FieldRecord = await prisma.fieldRecord.delete({
|
|
934
|
+
* where: {
|
|
935
|
+
* // ... filter to delete one FieldRecord
|
|
936
|
+
* }
|
|
937
|
+
* })
|
|
938
|
+
*
|
|
939
|
+
*/
|
|
940
|
+
delete<T extends FieldRecordDeleteArgs>(args: Prisma.SelectSubset<T, FieldRecordDeleteArgs<ExtArgs>>): Prisma.Prisma__FieldRecordClient<runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
941
|
+
/**
|
|
942
|
+
* Update one FieldRecord.
|
|
943
|
+
* @param {FieldRecordUpdateArgs} args - Arguments to update one FieldRecord.
|
|
944
|
+
* @example
|
|
945
|
+
* // Update one FieldRecord
|
|
946
|
+
* const fieldRecord = await prisma.fieldRecord.update({
|
|
947
|
+
* where: {
|
|
948
|
+
* // ... provide filter here
|
|
949
|
+
* },
|
|
950
|
+
* data: {
|
|
951
|
+
* // ... provide data here
|
|
952
|
+
* }
|
|
953
|
+
* })
|
|
954
|
+
*
|
|
955
|
+
*/
|
|
956
|
+
update<T extends FieldRecordUpdateArgs>(args: Prisma.SelectSubset<T, FieldRecordUpdateArgs<ExtArgs>>): Prisma.Prisma__FieldRecordClient<runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
957
|
+
/**
|
|
958
|
+
* Delete zero or more FieldRecords.
|
|
959
|
+
* @param {FieldRecordDeleteManyArgs} args - Arguments to filter FieldRecords to delete.
|
|
960
|
+
* @example
|
|
961
|
+
* // Delete a few FieldRecords
|
|
962
|
+
* const { count } = await prisma.fieldRecord.deleteMany({
|
|
963
|
+
* where: {
|
|
964
|
+
* // ... provide filter here
|
|
965
|
+
* }
|
|
966
|
+
* })
|
|
967
|
+
*
|
|
968
|
+
*/
|
|
969
|
+
deleteMany<T extends FieldRecordDeleteManyArgs>(args?: Prisma.SelectSubset<T, FieldRecordDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
970
|
+
/**
|
|
971
|
+
* Update zero or more FieldRecords.
|
|
972
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
973
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
974
|
+
* @param {FieldRecordUpdateManyArgs} args - Arguments to update one or more rows.
|
|
975
|
+
* @example
|
|
976
|
+
* // Update many FieldRecords
|
|
977
|
+
* const fieldRecord = await prisma.fieldRecord.updateMany({
|
|
978
|
+
* where: {
|
|
979
|
+
* // ... provide filter here
|
|
980
|
+
* },
|
|
981
|
+
* data: {
|
|
982
|
+
* // ... provide data here
|
|
983
|
+
* }
|
|
984
|
+
* })
|
|
985
|
+
*
|
|
986
|
+
*/
|
|
987
|
+
updateMany<T extends FieldRecordUpdateManyArgs>(args: Prisma.SelectSubset<T, FieldRecordUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
988
|
+
/**
|
|
989
|
+
* Update zero or more FieldRecords and returns the data updated in the database.
|
|
990
|
+
* @param {FieldRecordUpdateManyAndReturnArgs} args - Arguments to update many FieldRecords.
|
|
991
|
+
* @example
|
|
992
|
+
* // Update many FieldRecords
|
|
993
|
+
* const fieldRecord = await prisma.fieldRecord.updateManyAndReturn({
|
|
994
|
+
* where: {
|
|
995
|
+
* // ... provide filter here
|
|
996
|
+
* },
|
|
997
|
+
* data: [
|
|
998
|
+
* // ... provide data here
|
|
999
|
+
* ]
|
|
1000
|
+
* })
|
|
1001
|
+
*
|
|
1002
|
+
* // Update zero or more FieldRecords and only return the `id`
|
|
1003
|
+
* const fieldRecordWithIdOnly = await prisma.fieldRecord.updateManyAndReturn({
|
|
1004
|
+
* select: { id: true },
|
|
1005
|
+
* where: {
|
|
1006
|
+
* // ... provide filter here
|
|
1007
|
+
* },
|
|
1008
|
+
* data: [
|
|
1009
|
+
* // ... provide data here
|
|
1010
|
+
* ]
|
|
1011
|
+
* })
|
|
1012
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1013
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1014
|
+
*
|
|
1015
|
+
*/
|
|
1016
|
+
updateManyAndReturn<T extends FieldRecordUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FieldRecordUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1017
|
+
/**
|
|
1018
|
+
* Create or update one FieldRecord.
|
|
1019
|
+
* @param {FieldRecordUpsertArgs} args - Arguments to update or create a FieldRecord.
|
|
1020
|
+
* @example
|
|
1021
|
+
* // Update or create a FieldRecord
|
|
1022
|
+
* const fieldRecord = await prisma.fieldRecord.upsert({
|
|
1023
|
+
* create: {
|
|
1024
|
+
* // ... data to create a FieldRecord
|
|
1025
|
+
* },
|
|
1026
|
+
* update: {
|
|
1027
|
+
* // ... in case it already exists, update
|
|
1028
|
+
* },
|
|
1029
|
+
* where: {
|
|
1030
|
+
* // ... the filter for the FieldRecord we want to update
|
|
1031
|
+
* }
|
|
1032
|
+
* })
|
|
1033
|
+
*/
|
|
1034
|
+
upsert<T extends FieldRecordUpsertArgs>(args: Prisma.SelectSubset<T, FieldRecordUpsertArgs<ExtArgs>>): Prisma.Prisma__FieldRecordClient<runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Count the number of FieldRecords.
|
|
1037
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1038
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1039
|
+
* @param {FieldRecordCountArgs} args - Arguments to filter FieldRecords to count.
|
|
1040
|
+
* @example
|
|
1041
|
+
* // Count the number of FieldRecords
|
|
1042
|
+
* const count = await prisma.fieldRecord.count({
|
|
1043
|
+
* where: {
|
|
1044
|
+
* // ... the filter for the FieldRecords we want to count
|
|
1045
|
+
* }
|
|
1046
|
+
* })
|
|
1047
|
+
**/
|
|
1048
|
+
count<T extends FieldRecordCountArgs>(args?: Prisma.Subset<T, FieldRecordCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], FieldRecordCountAggregateOutputType> : number>;
|
|
1049
|
+
/**
|
|
1050
|
+
* Allows you to perform aggregations operations on a FieldRecord.
|
|
1051
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1052
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1053
|
+
* @param {FieldRecordAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1054
|
+
* @example
|
|
1055
|
+
* // Ordered by age ascending
|
|
1056
|
+
* // Where email contains prisma.io
|
|
1057
|
+
* // Limited to the 10 users
|
|
1058
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1059
|
+
* _avg: {
|
|
1060
|
+
* age: true,
|
|
1061
|
+
* },
|
|
1062
|
+
* where: {
|
|
1063
|
+
* email: {
|
|
1064
|
+
* contains: "prisma.io",
|
|
1065
|
+
* },
|
|
1066
|
+
* },
|
|
1067
|
+
* orderBy: {
|
|
1068
|
+
* age: "asc",
|
|
1069
|
+
* },
|
|
1070
|
+
* take: 10,
|
|
1071
|
+
* })
|
|
1072
|
+
**/
|
|
1073
|
+
aggregate<T extends FieldRecordAggregateArgs>(args: Prisma.Subset<T, FieldRecordAggregateArgs>): Prisma.PrismaPromise<GetFieldRecordAggregateType<T>>;
|
|
1074
|
+
/**
|
|
1075
|
+
* Group by FieldRecord.
|
|
1076
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1077
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1078
|
+
* @param {FieldRecordGroupByArgs} args - Group by arguments.
|
|
1079
|
+
* @example
|
|
1080
|
+
* // Group by city, order by createdAt, get count
|
|
1081
|
+
* const result = await prisma.user.groupBy({
|
|
1082
|
+
* by: ['city', 'createdAt'],
|
|
1083
|
+
* orderBy: {
|
|
1084
|
+
* createdAt: true
|
|
1085
|
+
* },
|
|
1086
|
+
* _count: {
|
|
1087
|
+
* _all: true
|
|
1088
|
+
* },
|
|
1089
|
+
* })
|
|
1090
|
+
*
|
|
1091
|
+
**/
|
|
1092
|
+
groupBy<T extends FieldRecordGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1093
|
+
orderBy: FieldRecordGroupByArgs['orderBy'];
|
|
1094
|
+
} : {
|
|
1095
|
+
orderBy?: FieldRecordGroupByArgs['orderBy'];
|
|
1096
|
+
}, 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 ? {
|
|
1097
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1098
|
+
Error,
|
|
1099
|
+
'Field ',
|
|
1100
|
+
P,
|
|
1101
|
+
` in "having" needs to be provided in "by"`
|
|
1102
|
+
];
|
|
1103
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1104
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1105
|
+
}[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 ? {} : {
|
|
1106
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1107
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1108
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1109
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, FieldRecordGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFieldRecordGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1110
|
+
/**
|
|
1111
|
+
* Fields of the FieldRecord model
|
|
1112
|
+
*/
|
|
1113
|
+
readonly fields: FieldRecordFieldRefs;
|
|
1114
|
+
}
|
|
1115
|
+
/**
|
|
1116
|
+
* The delegate class that acts as a "Promise-like" for FieldRecord.
|
|
1117
|
+
* Why is this prefixed with `Prisma__`?
|
|
1118
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1119
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1120
|
+
*/
|
|
1121
|
+
export interface Prisma__FieldRecordClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1122
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1123
|
+
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>;
|
|
1124
|
+
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>;
|
|
1125
|
+
fieldValues<T extends Prisma.FieldRecord$fieldValuesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FieldRecord$fieldValuesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1126
|
+
stepRuns<T extends Prisma.FieldRecord$stepRunsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FieldRecord$stepRunsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StepRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1127
|
+
itemInstances<T extends Prisma.FieldRecord$itemInstancesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FieldRecord$itemInstancesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ItemInstancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1128
|
+
/**
|
|
1129
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1130
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1131
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1132
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1133
|
+
*/
|
|
1134
|
+
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>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1137
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1138
|
+
* @returns A Promise for the completion of the callback.
|
|
1139
|
+
*/
|
|
1140
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1143
|
+
* resolved value cannot be modified from the callback.
|
|
1144
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1145
|
+
* @returns A Promise for the completion of the callback.
|
|
1146
|
+
*/
|
|
1147
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1148
|
+
}
|
|
1149
|
+
/**
|
|
1150
|
+
* Fields of the FieldRecord model
|
|
1151
|
+
*/
|
|
1152
|
+
export interface FieldRecordFieldRefs {
|
|
1153
|
+
readonly id: Prisma.FieldRef<"FieldRecord", 'Int'>;
|
|
1154
|
+
readonly fieldSetId: Prisma.FieldRef<"FieldRecord", 'Int'>;
|
|
1155
|
+
readonly createdAt: Prisma.FieldRef<"FieldRecord", 'DateTime'>;
|
|
1156
|
+
readonly createdById: Prisma.FieldRef<"FieldRecord", 'Int'>;
|
|
1157
|
+
}
|
|
1158
|
+
/**
|
|
1159
|
+
* FieldRecord findUnique
|
|
1160
|
+
*/
|
|
1161
|
+
export type FieldRecordFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1162
|
+
/**
|
|
1163
|
+
* Select specific fields to fetch from the FieldRecord
|
|
1164
|
+
*/
|
|
1165
|
+
select?: Prisma.FieldRecordSelect<ExtArgs> | null;
|
|
1166
|
+
/**
|
|
1167
|
+
* Omit specific fields from the FieldRecord
|
|
1168
|
+
*/
|
|
1169
|
+
omit?: Prisma.FieldRecordOmit<ExtArgs> | null;
|
|
1170
|
+
/**
|
|
1171
|
+
* Choose, which related nodes to fetch as well
|
|
1172
|
+
*/
|
|
1173
|
+
include?: Prisma.FieldRecordInclude<ExtArgs> | null;
|
|
1174
|
+
/**
|
|
1175
|
+
* Filter, which FieldRecord to fetch.
|
|
1176
|
+
*/
|
|
1177
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
1178
|
+
};
|
|
1179
|
+
/**
|
|
1180
|
+
* FieldRecord findUniqueOrThrow
|
|
1181
|
+
*/
|
|
1182
|
+
export type FieldRecordFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1183
|
+
/**
|
|
1184
|
+
* Select specific fields to fetch from the FieldRecord
|
|
1185
|
+
*/
|
|
1186
|
+
select?: Prisma.FieldRecordSelect<ExtArgs> | null;
|
|
1187
|
+
/**
|
|
1188
|
+
* Omit specific fields from the FieldRecord
|
|
1189
|
+
*/
|
|
1190
|
+
omit?: Prisma.FieldRecordOmit<ExtArgs> | null;
|
|
1191
|
+
/**
|
|
1192
|
+
* Choose, which related nodes to fetch as well
|
|
1193
|
+
*/
|
|
1194
|
+
include?: Prisma.FieldRecordInclude<ExtArgs> | null;
|
|
1195
|
+
/**
|
|
1196
|
+
* Filter, which FieldRecord to fetch.
|
|
1197
|
+
*/
|
|
1198
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
1199
|
+
};
|
|
1200
|
+
/**
|
|
1201
|
+
* FieldRecord findFirst
|
|
1202
|
+
*/
|
|
1203
|
+
export type FieldRecordFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1204
|
+
/**
|
|
1205
|
+
* Select specific fields to fetch from the FieldRecord
|
|
1206
|
+
*/
|
|
1207
|
+
select?: Prisma.FieldRecordSelect<ExtArgs> | null;
|
|
1208
|
+
/**
|
|
1209
|
+
* Omit specific fields from the FieldRecord
|
|
1210
|
+
*/
|
|
1211
|
+
omit?: Prisma.FieldRecordOmit<ExtArgs> | null;
|
|
1212
|
+
/**
|
|
1213
|
+
* Choose, which related nodes to fetch as well
|
|
1214
|
+
*/
|
|
1215
|
+
include?: Prisma.FieldRecordInclude<ExtArgs> | null;
|
|
1216
|
+
/**
|
|
1217
|
+
* Filter, which FieldRecord to fetch.
|
|
1218
|
+
*/
|
|
1219
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
1220
|
+
/**
|
|
1221
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1222
|
+
*
|
|
1223
|
+
* Determine the order of FieldRecords to fetch.
|
|
1224
|
+
*/
|
|
1225
|
+
orderBy?: Prisma.FieldRecordOrderByWithRelationInput | Prisma.FieldRecordOrderByWithRelationInput[];
|
|
1226
|
+
/**
|
|
1227
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1228
|
+
*
|
|
1229
|
+
* Sets the position for searching for FieldRecords.
|
|
1230
|
+
*/
|
|
1231
|
+
cursor?: Prisma.FieldRecordWhereUniqueInput;
|
|
1232
|
+
/**
|
|
1233
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1234
|
+
*
|
|
1235
|
+
* Take `±n` FieldRecords from the position of the cursor.
|
|
1236
|
+
*/
|
|
1237
|
+
take?: number;
|
|
1238
|
+
/**
|
|
1239
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1240
|
+
*
|
|
1241
|
+
* Skip the first `n` FieldRecords.
|
|
1242
|
+
*/
|
|
1243
|
+
skip?: number;
|
|
1244
|
+
/**
|
|
1245
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1246
|
+
*
|
|
1247
|
+
* Filter by unique combinations of FieldRecords.
|
|
1248
|
+
*/
|
|
1249
|
+
distinct?: Prisma.FieldRecordScalarFieldEnum | Prisma.FieldRecordScalarFieldEnum[];
|
|
1250
|
+
};
|
|
1251
|
+
/**
|
|
1252
|
+
* FieldRecord findFirstOrThrow
|
|
1253
|
+
*/
|
|
1254
|
+
export type FieldRecordFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1255
|
+
/**
|
|
1256
|
+
* Select specific fields to fetch from the FieldRecord
|
|
1257
|
+
*/
|
|
1258
|
+
select?: Prisma.FieldRecordSelect<ExtArgs> | null;
|
|
1259
|
+
/**
|
|
1260
|
+
* Omit specific fields from the FieldRecord
|
|
1261
|
+
*/
|
|
1262
|
+
omit?: Prisma.FieldRecordOmit<ExtArgs> | null;
|
|
1263
|
+
/**
|
|
1264
|
+
* Choose, which related nodes to fetch as well
|
|
1265
|
+
*/
|
|
1266
|
+
include?: Prisma.FieldRecordInclude<ExtArgs> | null;
|
|
1267
|
+
/**
|
|
1268
|
+
* Filter, which FieldRecord to fetch.
|
|
1269
|
+
*/
|
|
1270
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
1271
|
+
/**
|
|
1272
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1273
|
+
*
|
|
1274
|
+
* Determine the order of FieldRecords to fetch.
|
|
1275
|
+
*/
|
|
1276
|
+
orderBy?: Prisma.FieldRecordOrderByWithRelationInput | Prisma.FieldRecordOrderByWithRelationInput[];
|
|
1277
|
+
/**
|
|
1278
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1279
|
+
*
|
|
1280
|
+
* Sets the position for searching for FieldRecords.
|
|
1281
|
+
*/
|
|
1282
|
+
cursor?: Prisma.FieldRecordWhereUniqueInput;
|
|
1283
|
+
/**
|
|
1284
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1285
|
+
*
|
|
1286
|
+
* Take `±n` FieldRecords from the position of the cursor.
|
|
1287
|
+
*/
|
|
1288
|
+
take?: number;
|
|
1289
|
+
/**
|
|
1290
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1291
|
+
*
|
|
1292
|
+
* Skip the first `n` FieldRecords.
|
|
1293
|
+
*/
|
|
1294
|
+
skip?: number;
|
|
1295
|
+
/**
|
|
1296
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1297
|
+
*
|
|
1298
|
+
* Filter by unique combinations of FieldRecords.
|
|
1299
|
+
*/
|
|
1300
|
+
distinct?: Prisma.FieldRecordScalarFieldEnum | Prisma.FieldRecordScalarFieldEnum[];
|
|
1301
|
+
};
|
|
1302
|
+
/**
|
|
1303
|
+
* FieldRecord findMany
|
|
1304
|
+
*/
|
|
1305
|
+
export type FieldRecordFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1306
|
+
/**
|
|
1307
|
+
* Select specific fields to fetch from the FieldRecord
|
|
1308
|
+
*/
|
|
1309
|
+
select?: Prisma.FieldRecordSelect<ExtArgs> | null;
|
|
1310
|
+
/**
|
|
1311
|
+
* Omit specific fields from the FieldRecord
|
|
1312
|
+
*/
|
|
1313
|
+
omit?: Prisma.FieldRecordOmit<ExtArgs> | null;
|
|
1314
|
+
/**
|
|
1315
|
+
* Choose, which related nodes to fetch as well
|
|
1316
|
+
*/
|
|
1317
|
+
include?: Prisma.FieldRecordInclude<ExtArgs> | null;
|
|
1318
|
+
/**
|
|
1319
|
+
* Filter, which FieldRecords to fetch.
|
|
1320
|
+
*/
|
|
1321
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
1322
|
+
/**
|
|
1323
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1324
|
+
*
|
|
1325
|
+
* Determine the order of FieldRecords to fetch.
|
|
1326
|
+
*/
|
|
1327
|
+
orderBy?: Prisma.FieldRecordOrderByWithRelationInput | Prisma.FieldRecordOrderByWithRelationInput[];
|
|
1328
|
+
/**
|
|
1329
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1330
|
+
*
|
|
1331
|
+
* Sets the position for listing FieldRecords.
|
|
1332
|
+
*/
|
|
1333
|
+
cursor?: Prisma.FieldRecordWhereUniqueInput;
|
|
1334
|
+
/**
|
|
1335
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1336
|
+
*
|
|
1337
|
+
* Take `±n` FieldRecords from the position of the cursor.
|
|
1338
|
+
*/
|
|
1339
|
+
take?: number;
|
|
1340
|
+
/**
|
|
1341
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1342
|
+
*
|
|
1343
|
+
* Skip the first `n` FieldRecords.
|
|
1344
|
+
*/
|
|
1345
|
+
skip?: number;
|
|
1346
|
+
/**
|
|
1347
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1348
|
+
*
|
|
1349
|
+
* Filter by unique combinations of FieldRecords.
|
|
1350
|
+
*/
|
|
1351
|
+
distinct?: Prisma.FieldRecordScalarFieldEnum | Prisma.FieldRecordScalarFieldEnum[];
|
|
1352
|
+
};
|
|
1353
|
+
/**
|
|
1354
|
+
* FieldRecord create
|
|
1355
|
+
*/
|
|
1356
|
+
export type FieldRecordCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1357
|
+
/**
|
|
1358
|
+
* Select specific fields to fetch from the FieldRecord
|
|
1359
|
+
*/
|
|
1360
|
+
select?: Prisma.FieldRecordSelect<ExtArgs> | null;
|
|
1361
|
+
/**
|
|
1362
|
+
* Omit specific fields from the FieldRecord
|
|
1363
|
+
*/
|
|
1364
|
+
omit?: Prisma.FieldRecordOmit<ExtArgs> | null;
|
|
1365
|
+
/**
|
|
1366
|
+
* Choose, which related nodes to fetch as well
|
|
1367
|
+
*/
|
|
1368
|
+
include?: Prisma.FieldRecordInclude<ExtArgs> | null;
|
|
1369
|
+
/**
|
|
1370
|
+
* The data needed to create a FieldRecord.
|
|
1371
|
+
*/
|
|
1372
|
+
data: Prisma.XOR<Prisma.FieldRecordCreateInput, Prisma.FieldRecordUncheckedCreateInput>;
|
|
1373
|
+
};
|
|
1374
|
+
/**
|
|
1375
|
+
* FieldRecord createMany
|
|
1376
|
+
*/
|
|
1377
|
+
export type FieldRecordCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1378
|
+
/**
|
|
1379
|
+
* The data used to create many FieldRecords.
|
|
1380
|
+
*/
|
|
1381
|
+
data: Prisma.FieldRecordCreateManyInput | Prisma.FieldRecordCreateManyInput[];
|
|
1382
|
+
};
|
|
1383
|
+
/**
|
|
1384
|
+
* FieldRecord createManyAndReturn
|
|
1385
|
+
*/
|
|
1386
|
+
export type FieldRecordCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1387
|
+
/**
|
|
1388
|
+
* Select specific fields to fetch from the FieldRecord
|
|
1389
|
+
*/
|
|
1390
|
+
select?: Prisma.FieldRecordSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1391
|
+
/**
|
|
1392
|
+
* Omit specific fields from the FieldRecord
|
|
1393
|
+
*/
|
|
1394
|
+
omit?: Prisma.FieldRecordOmit<ExtArgs> | null;
|
|
1395
|
+
/**
|
|
1396
|
+
* The data used to create many FieldRecords.
|
|
1397
|
+
*/
|
|
1398
|
+
data: Prisma.FieldRecordCreateManyInput | Prisma.FieldRecordCreateManyInput[];
|
|
1399
|
+
/**
|
|
1400
|
+
* Choose, which related nodes to fetch as well
|
|
1401
|
+
*/
|
|
1402
|
+
include?: Prisma.FieldRecordIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1403
|
+
};
|
|
1404
|
+
/**
|
|
1405
|
+
* FieldRecord update
|
|
1406
|
+
*/
|
|
1407
|
+
export type FieldRecordUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1408
|
+
/**
|
|
1409
|
+
* Select specific fields to fetch from the FieldRecord
|
|
1410
|
+
*/
|
|
1411
|
+
select?: Prisma.FieldRecordSelect<ExtArgs> | null;
|
|
1412
|
+
/**
|
|
1413
|
+
* Omit specific fields from the FieldRecord
|
|
1414
|
+
*/
|
|
1415
|
+
omit?: Prisma.FieldRecordOmit<ExtArgs> | null;
|
|
1416
|
+
/**
|
|
1417
|
+
* Choose, which related nodes to fetch as well
|
|
1418
|
+
*/
|
|
1419
|
+
include?: Prisma.FieldRecordInclude<ExtArgs> | null;
|
|
1420
|
+
/**
|
|
1421
|
+
* The data needed to update a FieldRecord.
|
|
1422
|
+
*/
|
|
1423
|
+
data: Prisma.XOR<Prisma.FieldRecordUpdateInput, Prisma.FieldRecordUncheckedUpdateInput>;
|
|
1424
|
+
/**
|
|
1425
|
+
* Choose, which FieldRecord to update.
|
|
1426
|
+
*/
|
|
1427
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
1428
|
+
};
|
|
1429
|
+
/**
|
|
1430
|
+
* FieldRecord updateMany
|
|
1431
|
+
*/
|
|
1432
|
+
export type FieldRecordUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1433
|
+
/**
|
|
1434
|
+
* The data used to update FieldRecords.
|
|
1435
|
+
*/
|
|
1436
|
+
data: Prisma.XOR<Prisma.FieldRecordUpdateManyMutationInput, Prisma.FieldRecordUncheckedUpdateManyInput>;
|
|
1437
|
+
/**
|
|
1438
|
+
* Filter which FieldRecords to update
|
|
1439
|
+
*/
|
|
1440
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
1441
|
+
/**
|
|
1442
|
+
* Limit how many FieldRecords to update.
|
|
1443
|
+
*/
|
|
1444
|
+
limit?: number;
|
|
1445
|
+
};
|
|
1446
|
+
/**
|
|
1447
|
+
* FieldRecord updateManyAndReturn
|
|
1448
|
+
*/
|
|
1449
|
+
export type FieldRecordUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1450
|
+
/**
|
|
1451
|
+
* Select specific fields to fetch from the FieldRecord
|
|
1452
|
+
*/
|
|
1453
|
+
select?: Prisma.FieldRecordSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1454
|
+
/**
|
|
1455
|
+
* Omit specific fields from the FieldRecord
|
|
1456
|
+
*/
|
|
1457
|
+
omit?: Prisma.FieldRecordOmit<ExtArgs> | null;
|
|
1458
|
+
/**
|
|
1459
|
+
* The data used to update FieldRecords.
|
|
1460
|
+
*/
|
|
1461
|
+
data: Prisma.XOR<Prisma.FieldRecordUpdateManyMutationInput, Prisma.FieldRecordUncheckedUpdateManyInput>;
|
|
1462
|
+
/**
|
|
1463
|
+
* Filter which FieldRecords to update
|
|
1464
|
+
*/
|
|
1465
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
1466
|
+
/**
|
|
1467
|
+
* Limit how many FieldRecords to update.
|
|
1468
|
+
*/
|
|
1469
|
+
limit?: number;
|
|
1470
|
+
/**
|
|
1471
|
+
* Choose, which related nodes to fetch as well
|
|
1472
|
+
*/
|
|
1473
|
+
include?: Prisma.FieldRecordIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1474
|
+
};
|
|
1475
|
+
/**
|
|
1476
|
+
* FieldRecord upsert
|
|
1477
|
+
*/
|
|
1478
|
+
export type FieldRecordUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1479
|
+
/**
|
|
1480
|
+
* Select specific fields to fetch from the FieldRecord
|
|
1481
|
+
*/
|
|
1482
|
+
select?: Prisma.FieldRecordSelect<ExtArgs> | null;
|
|
1483
|
+
/**
|
|
1484
|
+
* Omit specific fields from the FieldRecord
|
|
1485
|
+
*/
|
|
1486
|
+
omit?: Prisma.FieldRecordOmit<ExtArgs> | null;
|
|
1487
|
+
/**
|
|
1488
|
+
* Choose, which related nodes to fetch as well
|
|
1489
|
+
*/
|
|
1490
|
+
include?: Prisma.FieldRecordInclude<ExtArgs> | null;
|
|
1491
|
+
/**
|
|
1492
|
+
* The filter to search for the FieldRecord to update in case it exists.
|
|
1493
|
+
*/
|
|
1494
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
1495
|
+
/**
|
|
1496
|
+
* In case the FieldRecord found by the `where` argument doesn't exist, create a new FieldRecord with this data.
|
|
1497
|
+
*/
|
|
1498
|
+
create: Prisma.XOR<Prisma.FieldRecordCreateInput, Prisma.FieldRecordUncheckedCreateInput>;
|
|
1499
|
+
/**
|
|
1500
|
+
* In case the FieldRecord was found with the provided `where` argument, update it with this data.
|
|
1501
|
+
*/
|
|
1502
|
+
update: Prisma.XOR<Prisma.FieldRecordUpdateInput, Prisma.FieldRecordUncheckedUpdateInput>;
|
|
1503
|
+
};
|
|
1504
|
+
/**
|
|
1505
|
+
* FieldRecord delete
|
|
1506
|
+
*/
|
|
1507
|
+
export type FieldRecordDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1508
|
+
/**
|
|
1509
|
+
* Select specific fields to fetch from the FieldRecord
|
|
1510
|
+
*/
|
|
1511
|
+
select?: Prisma.FieldRecordSelect<ExtArgs> | null;
|
|
1512
|
+
/**
|
|
1513
|
+
* Omit specific fields from the FieldRecord
|
|
1514
|
+
*/
|
|
1515
|
+
omit?: Prisma.FieldRecordOmit<ExtArgs> | null;
|
|
1516
|
+
/**
|
|
1517
|
+
* Choose, which related nodes to fetch as well
|
|
1518
|
+
*/
|
|
1519
|
+
include?: Prisma.FieldRecordInclude<ExtArgs> | null;
|
|
1520
|
+
/**
|
|
1521
|
+
* Filter which FieldRecord to delete.
|
|
1522
|
+
*/
|
|
1523
|
+
where: Prisma.FieldRecordWhereUniqueInput;
|
|
1524
|
+
};
|
|
1525
|
+
/**
|
|
1526
|
+
* FieldRecord deleteMany
|
|
1527
|
+
*/
|
|
1528
|
+
export type FieldRecordDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1529
|
+
/**
|
|
1530
|
+
* Filter which FieldRecords to delete
|
|
1531
|
+
*/
|
|
1532
|
+
where?: Prisma.FieldRecordWhereInput;
|
|
1533
|
+
/**
|
|
1534
|
+
* Limit how many FieldRecords to delete.
|
|
1535
|
+
*/
|
|
1536
|
+
limit?: number;
|
|
1537
|
+
};
|
|
1538
|
+
/**
|
|
1539
|
+
* FieldRecord.fieldValues
|
|
1540
|
+
*/
|
|
1541
|
+
export type FieldRecord$fieldValuesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1542
|
+
/**
|
|
1543
|
+
* Select specific fields to fetch from the FieldValue
|
|
1544
|
+
*/
|
|
1545
|
+
select?: Prisma.FieldValueSelect<ExtArgs> | null;
|
|
1546
|
+
/**
|
|
1547
|
+
* Omit specific fields from the FieldValue
|
|
1548
|
+
*/
|
|
1549
|
+
omit?: Prisma.FieldValueOmit<ExtArgs> | null;
|
|
1550
|
+
/**
|
|
1551
|
+
* Choose, which related nodes to fetch as well
|
|
1552
|
+
*/
|
|
1553
|
+
include?: Prisma.FieldValueInclude<ExtArgs> | null;
|
|
1554
|
+
where?: Prisma.FieldValueWhereInput;
|
|
1555
|
+
orderBy?: Prisma.FieldValueOrderByWithRelationInput | Prisma.FieldValueOrderByWithRelationInput[];
|
|
1556
|
+
cursor?: Prisma.FieldValueWhereUniqueInput;
|
|
1557
|
+
take?: number;
|
|
1558
|
+
skip?: number;
|
|
1559
|
+
distinct?: Prisma.FieldValueScalarFieldEnum | Prisma.FieldValueScalarFieldEnum[];
|
|
1560
|
+
};
|
|
1561
|
+
/**
|
|
1562
|
+
* FieldRecord.stepRuns
|
|
1563
|
+
*/
|
|
1564
|
+
export type FieldRecord$stepRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1565
|
+
/**
|
|
1566
|
+
* Select specific fields to fetch from the StepRun
|
|
1567
|
+
*/
|
|
1568
|
+
select?: Prisma.StepRunSelect<ExtArgs> | null;
|
|
1569
|
+
/**
|
|
1570
|
+
* Omit specific fields from the StepRun
|
|
1571
|
+
*/
|
|
1572
|
+
omit?: Prisma.StepRunOmit<ExtArgs> | null;
|
|
1573
|
+
/**
|
|
1574
|
+
* Choose, which related nodes to fetch as well
|
|
1575
|
+
*/
|
|
1576
|
+
include?: Prisma.StepRunInclude<ExtArgs> | null;
|
|
1577
|
+
where?: Prisma.StepRunWhereInput;
|
|
1578
|
+
orderBy?: Prisma.StepRunOrderByWithRelationInput | Prisma.StepRunOrderByWithRelationInput[];
|
|
1579
|
+
cursor?: Prisma.StepRunWhereUniqueInput;
|
|
1580
|
+
take?: number;
|
|
1581
|
+
skip?: number;
|
|
1582
|
+
distinct?: Prisma.StepRunScalarFieldEnum | Prisma.StepRunScalarFieldEnum[];
|
|
1583
|
+
};
|
|
1584
|
+
/**
|
|
1585
|
+
* FieldRecord.itemInstances
|
|
1586
|
+
*/
|
|
1587
|
+
export type FieldRecord$itemInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1588
|
+
/**
|
|
1589
|
+
* Select specific fields to fetch from the ItemInstance
|
|
1590
|
+
*/
|
|
1591
|
+
select?: Prisma.ItemInstanceSelect<ExtArgs> | null;
|
|
1592
|
+
/**
|
|
1593
|
+
* Omit specific fields from the ItemInstance
|
|
1594
|
+
*/
|
|
1595
|
+
omit?: Prisma.ItemInstanceOmit<ExtArgs> | null;
|
|
1596
|
+
/**
|
|
1597
|
+
* Choose, which related nodes to fetch as well
|
|
1598
|
+
*/
|
|
1599
|
+
include?: Prisma.ItemInstanceInclude<ExtArgs> | null;
|
|
1600
|
+
where?: Prisma.ItemInstanceWhereInput;
|
|
1601
|
+
orderBy?: Prisma.ItemInstanceOrderByWithRelationInput | Prisma.ItemInstanceOrderByWithRelationInput[];
|
|
1602
|
+
cursor?: Prisma.ItemInstanceWhereUniqueInput;
|
|
1603
|
+
take?: number;
|
|
1604
|
+
skip?: number;
|
|
1605
|
+
distinct?: Prisma.ItemInstanceScalarFieldEnum | Prisma.ItemInstanceScalarFieldEnum[];
|
|
1606
|
+
};
|
|
1607
|
+
/**
|
|
1608
|
+
* FieldRecord without action
|
|
1609
|
+
*/
|
|
1610
|
+
export type FieldRecordDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1611
|
+
/**
|
|
1612
|
+
* Select specific fields to fetch from the FieldRecord
|
|
1613
|
+
*/
|
|
1614
|
+
select?: Prisma.FieldRecordSelect<ExtArgs> | null;
|
|
1615
|
+
/**
|
|
1616
|
+
* Omit specific fields from the FieldRecord
|
|
1617
|
+
*/
|
|
1618
|
+
omit?: Prisma.FieldRecordOmit<ExtArgs> | null;
|
|
1619
|
+
/**
|
|
1620
|
+
* Choose, which related nodes to fetch as well
|
|
1621
|
+
*/
|
|
1622
|
+
include?: Prisma.FieldRecordInclude<ExtArgs> | null;
|
|
1623
|
+
};
|
|
1624
|
+
export {};
|
|
1625
|
+
//# sourceMappingURL=FieldRecord.d.ts.map
|