tango-app-api-audit 3.3.0-alpha.16 → 3.3.0-alpha.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-audit",
3
- "version": "3.3.0-alpha.16",
3
+ "version": "3.3.0-alpha.17",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2295,6 +2295,7 @@ export async function userMetrics( req, res ) {
2295
2295
  afterCount: 1,
2296
2296
  checkIntime: 1,
2297
2297
  checkOutTime: 1,
2298
+ mappingPerc: 1,
2298
2299
  hours: {
2299
2300
  $cond: {
2300
2301
  if: { $lt: [ '$hours', 10 ] },
@@ -2330,6 +2331,7 @@ export async function userMetrics( req, res ) {
2330
2331
  checkIntime: 1,
2331
2332
  zoneName: 1,
2332
2333
  checkOutTime: 1,
2334
+ mappingPerc: 1,
2333
2335
  workingHours: {
2334
2336
  $concat: [ '$hours', ':', '$minutes', ':', '$seconds' ],
2335
2337
  },
@@ -2370,6 +2372,7 @@ export async function userMetrics( req, res ) {
2370
2372
  totalCompletedFiles: 1,
2371
2373
  beforeCount: 1,
2372
2374
  afterCount: 1,
2375
+ mappingPerc: 1,
2373
2376
  checkIntime: {
2374
2377
  $dateToString: {
2375
2378
  format: '%Y-%m-%d %H:%M:%S',
@@ -2430,6 +2433,7 @@ export async function userMetrics( req, res ) {
2430
2433
  'check Intime': '$checkIntime',
2431
2434
  'check OutTime': '$checkOutTime',
2432
2435
  'working Hours': '$workingHours',
2436
+ 'Mapping Percentage': '$mappingPerc',
2433
2437
  },
2434
2438
  },
2435
2439
  );