@machynx/data-db 1.0.0 → 1.0.4
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 +43 -11
- package/client/index-browser.js +39 -7
- package/client/index.d.ts +5459 -1072
- package/client/index.js +43 -11
- package/client/package.json +3 -3
- package/client/schema.prisma +108 -42
- package/index.d.ts +10 -1
- package/index.js +11 -4
- package/package.json +10 -6
- package/prisma/migrations/{20251121171653_init → 20260113113840_init}/migration.sql +136 -56
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',
|
|
@@ -815,6 +816,34 @@ exports.Prisma.ProductionUnitQCScalarFieldEnum = {
|
|
|
815
816
|
exports.Prisma.OrganizationUserFactoryEntityAccessScalarFieldEnum = {
|
|
816
817
|
id: 'id',
|
|
817
818
|
userId: 'userId',
|
|
819
|
+
organizationId: 'organizationId',
|
|
820
|
+
factoryId: 'factoryId',
|
|
821
|
+
floorId: 'floorId',
|
|
822
|
+
assemblyLineId: 'assemblyLineId',
|
|
823
|
+
machineId: 'machineId',
|
|
824
|
+
createdAt: 'createdAt',
|
|
825
|
+
updatedAt: 'updatedAt'
|
|
826
|
+
};
|
|
827
|
+
|
|
828
|
+
exports.Prisma.MaintenanceSpecializationScalarFieldEnum = {
|
|
829
|
+
id: 'id',
|
|
830
|
+
organizationId: 'organizationId',
|
|
831
|
+
name: 'name'
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
exports.Prisma.OrganizationCustomerScalarFieldEnum = {
|
|
835
|
+
id: 'id',
|
|
836
|
+
organizationId: 'organizationId',
|
|
837
|
+
name: 'name',
|
|
838
|
+
description: 'description',
|
|
839
|
+
createdAt: 'createdAt',
|
|
840
|
+
updatedAt: 'updatedAt'
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
exports.Prisma.AssemblyLineTypeScalarFieldEnum = {
|
|
844
|
+
id: 'id',
|
|
845
|
+
name: 'name',
|
|
846
|
+
organizationId: 'organizationId',
|
|
818
847
|
createdAt: 'createdAt',
|
|
819
848
|
updatedAt: 'updatedAt'
|
|
820
849
|
};
|
|
@@ -1133,6 +1162,9 @@ exports.Prisma.ModelName = {
|
|
|
1133
1162
|
ProductionRouteStep: 'ProductionRouteStep',
|
|
1134
1163
|
ProductionUnitQC: 'ProductionUnitQC',
|
|
1135
1164
|
OrganizationUserFactoryEntityAccess: 'OrganizationUserFactoryEntityAccess',
|
|
1165
|
+
MaintenanceSpecialization: 'MaintenanceSpecialization',
|
|
1166
|
+
OrganizationCustomer: 'OrganizationCustomer',
|
|
1167
|
+
AssemblyLineType: 'AssemblyLineType',
|
|
1136
1168
|
OperatorOperationCategory: 'OperatorOperationCategory',
|
|
1137
1169
|
Task: 'Task',
|
|
1138
1170
|
TaskGroup: 'TaskGroup',
|