@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,366 @@
|
|
|
1
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// biome-ignore-all lint: generated file
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/*
|
|
6
|
+
* WARNING: This is an internal file that is subject to change!
|
|
7
|
+
*
|
|
8
|
+
* 🛑 Under no circumstances should you import this file directly! 🛑
|
|
9
|
+
*
|
|
10
|
+
* All exports from this file are wrapped under a `Prisma` namespace object in the client.ts file.
|
|
11
|
+
* While this enables partial backward compatibility, it is not part of the stable public API.
|
|
12
|
+
*
|
|
13
|
+
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
|
|
14
|
+
* model files in the `model` directory!
|
|
15
|
+
*/
|
|
16
|
+
import * as runtime from "@prisma/client/runtime/client";
|
|
17
|
+
/**
|
|
18
|
+
* Prisma Errors
|
|
19
|
+
*/
|
|
20
|
+
export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
|
|
21
|
+
export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
|
|
22
|
+
export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
|
|
23
|
+
export const PrismaClientInitializationError = runtime.PrismaClientInitializationError;
|
|
24
|
+
export const PrismaClientValidationError = runtime.PrismaClientValidationError;
|
|
25
|
+
/**
|
|
26
|
+
* Re-export of sql-template-tag
|
|
27
|
+
*/
|
|
28
|
+
export const sql = runtime.sqltag;
|
|
29
|
+
export const empty = runtime.empty;
|
|
30
|
+
export const join = runtime.join;
|
|
31
|
+
export const raw = runtime.raw;
|
|
32
|
+
export const Sql = runtime.Sql;
|
|
33
|
+
/**
|
|
34
|
+
* Decimal.js
|
|
35
|
+
*/
|
|
36
|
+
export const Decimal = runtime.Decimal;
|
|
37
|
+
export const getExtensionContext = runtime.Extensions.getExtensionContext;
|
|
38
|
+
/**
|
|
39
|
+
* Prisma Client JS version: 7.5.0
|
|
40
|
+
* Query Engine version: 280c870be64f457428992c43c1f6d557fab6e29e
|
|
41
|
+
*/
|
|
42
|
+
export const prismaVersion = {
|
|
43
|
+
client: "7.5.0",
|
|
44
|
+
engine: "280c870be64f457428992c43c1f6d557fab6e29e"
|
|
45
|
+
};
|
|
46
|
+
export const NullTypes = {
|
|
47
|
+
DbNull: runtime.NullTypes.DbNull,
|
|
48
|
+
JsonNull: runtime.NullTypes.JsonNull,
|
|
49
|
+
AnyNull: runtime.NullTypes.AnyNull,
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
53
|
+
*
|
|
54
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
55
|
+
*/
|
|
56
|
+
export const DbNull = runtime.DbNull;
|
|
57
|
+
/**
|
|
58
|
+
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
59
|
+
*
|
|
60
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
61
|
+
*/
|
|
62
|
+
export const JsonNull = runtime.JsonNull;
|
|
63
|
+
/**
|
|
64
|
+
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
65
|
+
*
|
|
66
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
67
|
+
*/
|
|
68
|
+
export const AnyNull = runtime.AnyNull;
|
|
69
|
+
export const ModelName = {
|
|
70
|
+
Order: 'Order',
|
|
71
|
+
OrderRevision: 'OrderRevision',
|
|
72
|
+
Operation: 'Operation',
|
|
73
|
+
OperationFieldRef: 'OperationFieldRef',
|
|
74
|
+
OperationDependency: 'OperationDependency',
|
|
75
|
+
WorkCenter: 'WorkCenter',
|
|
76
|
+
WorkCenterUser: 'WorkCenterUser',
|
|
77
|
+
FieldSet: 'FieldSet',
|
|
78
|
+
FieldRecord: 'FieldRecord',
|
|
79
|
+
Field: 'Field',
|
|
80
|
+
Step: 'Step',
|
|
81
|
+
OrderRun: 'OrderRun',
|
|
82
|
+
OperationRun: 'OperationRun',
|
|
83
|
+
StepRun: 'StepRun',
|
|
84
|
+
FieldValue: 'FieldValue',
|
|
85
|
+
Item: 'Item',
|
|
86
|
+
ItemInstance: 'ItemInstance',
|
|
87
|
+
User: 'User',
|
|
88
|
+
UserPermission: 'UserPermission',
|
|
89
|
+
Session: 'Session',
|
|
90
|
+
SchemaVersion: 'SchemaVersion',
|
|
91
|
+
LaborTicket: 'LaborTicket',
|
|
92
|
+
AuditLog: 'AuditLog',
|
|
93
|
+
Attachment: 'Attachment',
|
|
94
|
+
FieldAttachment: 'FieldAttachment',
|
|
95
|
+
OperationRunComment: 'OperationRunComment'
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Enums
|
|
99
|
+
*/
|
|
100
|
+
export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
|
101
|
+
Serializable: 'Serializable'
|
|
102
|
+
});
|
|
103
|
+
export const OrderScalarFieldEnum = {
|
|
104
|
+
id: 'id',
|
|
105
|
+
key: 'key',
|
|
106
|
+
description: 'description',
|
|
107
|
+
status: 'status',
|
|
108
|
+
itemId: 'itemId',
|
|
109
|
+
createdById: 'createdById',
|
|
110
|
+
createdAt: 'createdAt',
|
|
111
|
+
updatedById: 'updatedById',
|
|
112
|
+
updatedAt: 'updatedAt'
|
|
113
|
+
};
|
|
114
|
+
export const OrderRevisionScalarFieldEnum = {
|
|
115
|
+
id: 'id',
|
|
116
|
+
orderId: 'orderId',
|
|
117
|
+
revNo: 'revNo',
|
|
118
|
+
status: 'status',
|
|
119
|
+
description: 'description',
|
|
120
|
+
changeSummary: 'changeSummary',
|
|
121
|
+
createdAt: 'createdAt',
|
|
122
|
+
createdById: 'createdById',
|
|
123
|
+
updatedAt: 'updatedAt',
|
|
124
|
+
updatedById: 'updatedById'
|
|
125
|
+
};
|
|
126
|
+
export const OperationScalarFieldEnum = {
|
|
127
|
+
id: 'id',
|
|
128
|
+
orderRevId: 'orderRevId',
|
|
129
|
+
workCenterId: 'workCenterId',
|
|
130
|
+
seqNo: 'seqNo',
|
|
131
|
+
title: 'title',
|
|
132
|
+
description: 'description',
|
|
133
|
+
createdAt: 'createdAt',
|
|
134
|
+
createdById: 'createdById',
|
|
135
|
+
updatedAt: 'updatedAt',
|
|
136
|
+
updatedById: 'updatedById'
|
|
137
|
+
};
|
|
138
|
+
export const OperationFieldRefScalarFieldEnum = {
|
|
139
|
+
id: 'id',
|
|
140
|
+
operationId: 'operationId',
|
|
141
|
+
seqNo: 'seqNo',
|
|
142
|
+
title: 'title',
|
|
143
|
+
sourceStepId: 'sourceStepId',
|
|
144
|
+
createdAt: 'createdAt',
|
|
145
|
+
createdById: 'createdById'
|
|
146
|
+
};
|
|
147
|
+
export const OperationDependencyScalarFieldEnum = {
|
|
148
|
+
id: 'id',
|
|
149
|
+
successorId: 'successorId',
|
|
150
|
+
predecessorId: 'predecessorId',
|
|
151
|
+
createdAt: 'createdAt',
|
|
152
|
+
createdById: 'createdById'
|
|
153
|
+
};
|
|
154
|
+
export const WorkCenterScalarFieldEnum = {
|
|
155
|
+
id: 'id',
|
|
156
|
+
key: 'key',
|
|
157
|
+
description: 'description',
|
|
158
|
+
createdAt: 'createdAt',
|
|
159
|
+
createdById: 'createdById',
|
|
160
|
+
updatedAt: 'updatedAt',
|
|
161
|
+
updatedById: 'updatedById'
|
|
162
|
+
};
|
|
163
|
+
export const WorkCenterUserScalarFieldEnum = {
|
|
164
|
+
workCenterId: 'workCenterId',
|
|
165
|
+
userId: 'userId',
|
|
166
|
+
createdAt: 'createdAt',
|
|
167
|
+
createdById: 'createdById'
|
|
168
|
+
};
|
|
169
|
+
export const FieldSetScalarFieldEnum = {
|
|
170
|
+
id: 'id',
|
|
171
|
+
createdAt: 'createdAt',
|
|
172
|
+
createdById: 'createdById'
|
|
173
|
+
};
|
|
174
|
+
export const FieldRecordScalarFieldEnum = {
|
|
175
|
+
id: 'id',
|
|
176
|
+
fieldSetId: 'fieldSetId',
|
|
177
|
+
createdAt: 'createdAt',
|
|
178
|
+
createdById: 'createdById'
|
|
179
|
+
};
|
|
180
|
+
export const FieldScalarFieldEnum = {
|
|
181
|
+
id: 'id',
|
|
182
|
+
fieldSetId: 'fieldSetId',
|
|
183
|
+
seqNo: 'seqNo',
|
|
184
|
+
label: 'label',
|
|
185
|
+
type: 'type',
|
|
186
|
+
isArray: 'isArray',
|
|
187
|
+
required: 'required',
|
|
188
|
+
createdAt: 'createdAt',
|
|
189
|
+
createdById: 'createdById',
|
|
190
|
+
updatedAt: 'updatedAt',
|
|
191
|
+
updatedById: 'updatedById'
|
|
192
|
+
};
|
|
193
|
+
export const StepScalarFieldEnum = {
|
|
194
|
+
id: 'id',
|
|
195
|
+
operationId: 'operationId',
|
|
196
|
+
fieldSetId: 'fieldSetId',
|
|
197
|
+
seqNo: 'seqNo',
|
|
198
|
+
title: 'title',
|
|
199
|
+
instructions: 'instructions',
|
|
200
|
+
multiSet: 'multiSet',
|
|
201
|
+
createdAt: 'createdAt',
|
|
202
|
+
createdById: 'createdById',
|
|
203
|
+
updatedAt: 'updatedAt',
|
|
204
|
+
updatedById: 'updatedById'
|
|
205
|
+
};
|
|
206
|
+
export const OrderRunScalarFieldEnum = {
|
|
207
|
+
id: 'id',
|
|
208
|
+
runNo: 'runNo',
|
|
209
|
+
orderId: 'orderId',
|
|
210
|
+
orderRevId: 'orderRevId',
|
|
211
|
+
status: 'status',
|
|
212
|
+
priority: 'priority',
|
|
213
|
+
cost: 'cost',
|
|
214
|
+
dueAt: 'dueAt',
|
|
215
|
+
releaseNote: 'releaseNote',
|
|
216
|
+
createdAt: 'createdAt',
|
|
217
|
+
createdById: 'createdById',
|
|
218
|
+
updatedAt: 'updatedAt',
|
|
219
|
+
updatedById: 'updatedById'
|
|
220
|
+
};
|
|
221
|
+
export const OperationRunScalarFieldEnum = {
|
|
222
|
+
id: 'id',
|
|
223
|
+
orderRunId: 'orderRunId',
|
|
224
|
+
operationId: 'operationId',
|
|
225
|
+
status: 'status',
|
|
226
|
+
assignedToId: 'assignedToId',
|
|
227
|
+
cost: 'cost',
|
|
228
|
+
statusNote: 'statusNote',
|
|
229
|
+
completedAt: 'completedAt',
|
|
230
|
+
createdAt: 'createdAt',
|
|
231
|
+
createdById: 'createdById',
|
|
232
|
+
updatedAt: 'updatedAt',
|
|
233
|
+
updatedById: 'updatedById'
|
|
234
|
+
};
|
|
235
|
+
export const StepRunScalarFieldEnum = {
|
|
236
|
+
id: 'id',
|
|
237
|
+
operationRunId: 'operationRunId',
|
|
238
|
+
stepId: 'stepId',
|
|
239
|
+
fieldRecordId: 'fieldRecordId',
|
|
240
|
+
completed: 'completed',
|
|
241
|
+
statusNote: 'statusNote',
|
|
242
|
+
createdAt: 'createdAt',
|
|
243
|
+
createdById: 'createdById',
|
|
244
|
+
updatedAt: 'updatedAt',
|
|
245
|
+
updatedById: 'updatedById'
|
|
246
|
+
};
|
|
247
|
+
export const FieldValueScalarFieldEnum = {
|
|
248
|
+
id: 'id',
|
|
249
|
+
fieldRecordId: 'fieldRecordId',
|
|
250
|
+
fieldId: 'fieldId',
|
|
251
|
+
setIndex: 'setIndex',
|
|
252
|
+
value: 'value',
|
|
253
|
+
createdAt: 'createdAt',
|
|
254
|
+
createdById: 'createdById',
|
|
255
|
+
updatedAt: 'updatedAt',
|
|
256
|
+
updatedById: 'updatedById'
|
|
257
|
+
};
|
|
258
|
+
export const ItemScalarFieldEnum = {
|
|
259
|
+
id: 'id',
|
|
260
|
+
key: 'key',
|
|
261
|
+
description: 'description',
|
|
262
|
+
fieldSetId: 'fieldSetId',
|
|
263
|
+
createdAt: 'createdAt',
|
|
264
|
+
createdById: 'createdById',
|
|
265
|
+
updatedAt: 'updatedAt',
|
|
266
|
+
updatedById: 'updatedById'
|
|
267
|
+
};
|
|
268
|
+
export const ItemInstanceScalarFieldEnum = {
|
|
269
|
+
id: 'id',
|
|
270
|
+
itemId: 'itemId',
|
|
271
|
+
orderRunId: 'orderRunId',
|
|
272
|
+
fieldRecordId: 'fieldRecordId',
|
|
273
|
+
key: 'key',
|
|
274
|
+
quantity: 'quantity',
|
|
275
|
+
createdAt: 'createdAt',
|
|
276
|
+
createdById: 'createdById',
|
|
277
|
+
updatedAt: 'updatedAt',
|
|
278
|
+
updatedById: 'updatedById'
|
|
279
|
+
};
|
|
280
|
+
export const UserScalarFieldEnum = {
|
|
281
|
+
id: 'id',
|
|
282
|
+
uuid: 'uuid',
|
|
283
|
+
username: 'username',
|
|
284
|
+
passwordHash: 'passwordHash',
|
|
285
|
+
apiKey: 'apiKey',
|
|
286
|
+
isAgent: 'isAgent',
|
|
287
|
+
createdAt: 'createdAt',
|
|
288
|
+
updatedAt: 'updatedAt',
|
|
289
|
+
deletedAt: 'deletedAt'
|
|
290
|
+
};
|
|
291
|
+
export const UserPermissionScalarFieldEnum = {
|
|
292
|
+
id: 'id',
|
|
293
|
+
userId: 'userId',
|
|
294
|
+
permission: 'permission',
|
|
295
|
+
grantedAt: 'grantedAt',
|
|
296
|
+
grantedBy: 'grantedBy'
|
|
297
|
+
};
|
|
298
|
+
export const SessionScalarFieldEnum = {
|
|
299
|
+
id: 'id',
|
|
300
|
+
userId: 'userId',
|
|
301
|
+
tokenHash: 'tokenHash',
|
|
302
|
+
expiresAt: 'expiresAt',
|
|
303
|
+
createdAt: 'createdAt'
|
|
304
|
+
};
|
|
305
|
+
export const SchemaVersionScalarFieldEnum = {
|
|
306
|
+
id: 'id',
|
|
307
|
+
version: 'version',
|
|
308
|
+
updated: 'updated'
|
|
309
|
+
};
|
|
310
|
+
export const LaborTicketScalarFieldEnum = {
|
|
311
|
+
id: 'id',
|
|
312
|
+
operationRunId: 'operationRunId',
|
|
313
|
+
userId: 'userId',
|
|
314
|
+
runId: 'runId',
|
|
315
|
+
clockIn: 'clockIn',
|
|
316
|
+
clockOut: 'clockOut',
|
|
317
|
+
cost: 'cost',
|
|
318
|
+
createdAt: 'createdAt',
|
|
319
|
+
createdById: 'createdById',
|
|
320
|
+
updatedAt: 'updatedAt',
|
|
321
|
+
updatedById: 'updatedById'
|
|
322
|
+
};
|
|
323
|
+
export const AuditLogScalarFieldEnum = {
|
|
324
|
+
id: 'id',
|
|
325
|
+
entityType: 'entityType',
|
|
326
|
+
entityId: 'entityId',
|
|
327
|
+
action: 'action',
|
|
328
|
+
field: 'field',
|
|
329
|
+
oldValue: 'oldValue',
|
|
330
|
+
newValue: 'newValue',
|
|
331
|
+
userId: 'userId',
|
|
332
|
+
createdAt: 'createdAt'
|
|
333
|
+
};
|
|
334
|
+
export const AttachmentScalarFieldEnum = {
|
|
335
|
+
id: 'id',
|
|
336
|
+
publicId: 'publicId',
|
|
337
|
+
filepath: 'filepath',
|
|
338
|
+
filename: 'filename',
|
|
339
|
+
fileSize: 'fileSize',
|
|
340
|
+
fileHash: 'fileHash',
|
|
341
|
+
uploadedById: 'uploadedById',
|
|
342
|
+
createdAt: 'createdAt'
|
|
343
|
+
};
|
|
344
|
+
export const FieldAttachmentScalarFieldEnum = {
|
|
345
|
+
fieldValueId: 'fieldValueId',
|
|
346
|
+
attachmentId: 'attachmentId',
|
|
347
|
+
createdAt: 'createdAt'
|
|
348
|
+
};
|
|
349
|
+
export const OperationRunCommentScalarFieldEnum = {
|
|
350
|
+
id: 'id',
|
|
351
|
+
operationRunId: 'operationRunId',
|
|
352
|
+
type: 'type',
|
|
353
|
+
body: 'body',
|
|
354
|
+
createdAt: 'createdAt',
|
|
355
|
+
createdById: 'createdById'
|
|
356
|
+
};
|
|
357
|
+
export const SortOrder = {
|
|
358
|
+
asc: 'asc',
|
|
359
|
+
desc: 'desc'
|
|
360
|
+
};
|
|
361
|
+
export const NullsOrder = {
|
|
362
|
+
first: 'first',
|
|
363
|
+
last: 'last'
|
|
364
|
+
};
|
|
365
|
+
export const defineExtension = runtime.Extensions.defineExtension;
|
|
366
|
+
//# sourceMappingURL=prismaNamespace.js.map
|