@machynx/data-db 1.0.1 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/edge.js +45 -12
- package/client/index-browser.js +41 -8
- package/client/index.d.ts +5556 -1121
- package/client/index.js +45 -12
- package/client/package.json +3 -3
- package/client/schema.prisma +110 -43
- package/package.json +6 -6
- package/prisma/migrations/{20251121171653_init → 20260120112931_init}/migration.sql +138 -57
package/client/index-browser.js
CHANGED
|
@@ -24,12 +24,12 @@ exports.Prisma = Prisma
|
|
|
24
24
|
exports.$Enums = {}
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Prisma Client JS version: 7.
|
|
28
|
-
* Query Engine version:
|
|
27
|
+
* Prisma Client JS version: 7.2.0
|
|
28
|
+
* Query Engine version: 0c8ef2ce45c83248ab3df073180d5eda9e8be7a3
|
|
29
29
|
*/
|
|
30
30
|
Prisma.prismaVersion = {
|
|
31
|
-
client: "7.
|
|
32
|
-
engine: "
|
|
31
|
+
client: "7.2.0",
|
|
32
|
+
engine: "0c8ef2ce45c83248ab3df073180d5eda9e8be7a3"
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
Prisma.PrismaClientKnownRequestError = () => {
|
|
@@ -267,7 +267,7 @@ exports.Prisma.AuditLogScalarFieldEnum = {
|
|
|
267
267
|
entityId: 'entityId',
|
|
268
268
|
action: 'action',
|
|
269
269
|
userId: 'userId',
|
|
270
|
-
|
|
270
|
+
organizationId: 'organizationId',
|
|
271
271
|
timestamp: 'timestamp',
|
|
272
272
|
httpMethod: 'httpMethod',
|
|
273
273
|
route: 'route',
|
|
@@ -329,7 +329,7 @@ exports.Prisma.DeviceScalarFieldEnum = {
|
|
|
329
329
|
deviceUid: 'deviceUid',
|
|
330
330
|
deviceName: 'deviceName',
|
|
331
331
|
isActive: 'isActive',
|
|
332
|
-
|
|
332
|
+
organizationId: 'organizationId',
|
|
333
333
|
gatewayId: 'gatewayId',
|
|
334
334
|
machineId: 'machineId',
|
|
335
335
|
assemblyLineId: 'assemblyLineId',
|
|
@@ -490,6 +490,7 @@ exports.Prisma.FloorSettingScalarFieldEnum = {
|
|
|
490
490
|
|
|
491
491
|
exports.Prisma.AssemblyLineScalarFieldEnum = {
|
|
492
492
|
id: 'id',
|
|
493
|
+
organizationId: 'organizationId',
|
|
493
494
|
code: 'code',
|
|
494
495
|
name: 'name',
|
|
495
496
|
description: 'description',
|
|
@@ -616,7 +617,7 @@ exports.Prisma.MachineAlertSubscriptionScalarFieldEnum = {
|
|
|
616
617
|
exports.Prisma.MaintenanceLogScalarFieldEnum = {
|
|
617
618
|
id: 'id',
|
|
618
619
|
machineId: 'machineId',
|
|
619
|
-
|
|
620
|
+
organizationId: 'organizationId',
|
|
620
621
|
reportedById: 'reportedById',
|
|
621
622
|
description: 'description',
|
|
622
623
|
status: 'status',
|
|
@@ -700,7 +701,8 @@ exports.Prisma.OperatorScalarFieldEnum = {
|
|
|
700
701
|
id: 'id',
|
|
701
702
|
rfid: 'rfid',
|
|
702
703
|
externalId: 'externalId',
|
|
703
|
-
|
|
704
|
+
firstName: 'firstName',
|
|
705
|
+
lastName: 'lastName',
|
|
704
706
|
description: 'description',
|
|
705
707
|
organizationId: 'organizationId',
|
|
706
708
|
factoryId: 'factoryId',
|
|
@@ -815,6 +817,34 @@ exports.Prisma.ProductionUnitQCScalarFieldEnum = {
|
|
|
815
817
|
exports.Prisma.OrganizationUserFactoryEntityAccessScalarFieldEnum = {
|
|
816
818
|
id: 'id',
|
|
817
819
|
userId: 'userId',
|
|
820
|
+
organizationId: 'organizationId',
|
|
821
|
+
factoryId: 'factoryId',
|
|
822
|
+
floorId: 'floorId',
|
|
823
|
+
assemblyLineId: 'assemblyLineId',
|
|
824
|
+
machineId: 'machineId',
|
|
825
|
+
createdAt: 'createdAt',
|
|
826
|
+
updatedAt: 'updatedAt'
|
|
827
|
+
};
|
|
828
|
+
|
|
829
|
+
exports.Prisma.MaintenanceSpecializationScalarFieldEnum = {
|
|
830
|
+
id: 'id',
|
|
831
|
+
organizationId: 'organizationId',
|
|
832
|
+
name: 'name'
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
exports.Prisma.OrganizationCustomerScalarFieldEnum = {
|
|
836
|
+
id: 'id',
|
|
837
|
+
organizationId: 'organizationId',
|
|
838
|
+
name: 'name',
|
|
839
|
+
description: 'description',
|
|
840
|
+
createdAt: 'createdAt',
|
|
841
|
+
updatedAt: 'updatedAt'
|
|
842
|
+
};
|
|
843
|
+
|
|
844
|
+
exports.Prisma.AssemblyLineTypeScalarFieldEnum = {
|
|
845
|
+
id: 'id',
|
|
846
|
+
name: 'name',
|
|
847
|
+
organizationId: 'organizationId',
|
|
818
848
|
createdAt: 'createdAt',
|
|
819
849
|
updatedAt: 'updatedAt'
|
|
820
850
|
};
|
|
@@ -1133,6 +1163,9 @@ exports.Prisma.ModelName = {
|
|
|
1133
1163
|
ProductionRouteStep: 'ProductionRouteStep',
|
|
1134
1164
|
ProductionUnitQC: 'ProductionUnitQC',
|
|
1135
1165
|
OrganizationUserFactoryEntityAccess: 'OrganizationUserFactoryEntityAccess',
|
|
1166
|
+
MaintenanceSpecialization: 'MaintenanceSpecialization',
|
|
1167
|
+
OrganizationCustomer: 'OrganizationCustomer',
|
|
1168
|
+
AssemblyLineType: 'AssemblyLineType',
|
|
1136
1169
|
OperatorOperationCategory: 'OperatorOperationCategory',
|
|
1137
1170
|
Task: 'Task',
|
|
1138
1171
|
TaskGroup: 'TaskGroup',
|