autosync_backend2 1.1.58 → 1.1.59

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/dist/index.d.ts CHANGED
@@ -6498,9 +6498,9 @@ export declare const app: Elysia<"", {
6498
6498
  deletedAt: string | null;
6499
6499
  };
6500
6500
  employee: {
6501
- firstname: string | null;
6502
- name: never;
6503
- };
6501
+ firstname: string;
6502
+ lastname: string;
6503
+ } | null;
6504
6504
  }[];
6505
6505
  };
6506
6506
  422: {
package/dist/index.js CHANGED
@@ -146214,7 +146214,7 @@ var CrmInspectionLogic;
146214
146214
  totalCount: totalCountSql,
146215
146215
  employee: {
146216
146216
  firstname: companyEmployeeTable.firstname,
146217
- name: companyCompanyTable.name
146217
+ lastname: companyEmployeeTable.lastname
146218
146218
  }
146219
146219
  }).from(crmInspectionTable).where(CrmInspectionLogic.getFilter(query, user2)).orderBy(desc(crmInspectionTable.createdAt)).innerJoin(crmVehicleTable, eq(crmInspectionTable.vehicleId, crmVehicleTable.id)).leftJoin(companyEmployeeTable, eq(crmInspectionTable.employeeId, companyEmployeeTable.id)).$dynamic();
146220
146220
  const result = await pagination_helper_default(baseQuery, query.pagination);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autosync_backend2",
3
- "version": "1.1.58",
3
+ "version": "1.1.59",
4
4
  "module": "src/index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",