@7365admin1/layer-common 3.0.31-staging.14 → 3.0.31-staging.16

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.
@@ -26,7 +26,7 @@ export interface NFCPatrolReportFilterOptions {
26
26
 
27
27
  export interface NFCPatrolReportLocation {
28
28
  name?: string;
29
- address?: string;
29
+ address?: string;
30
30
  }
31
31
 
32
32
  export interface NFCPatrolRouteSummary {
@@ -77,3 +77,17 @@ export interface NFCPatrolSummaryReport {
77
77
  title: string;
78
78
  rows: NFCPatrolReportSummaryRow[];
79
79
  }
80
+
81
+ export interface NFCPatrolMonthlyReportRow {
82
+ month: string;
83
+ checked: number;
84
+ checkedPercentage: number;
85
+ missed: number;
86
+ missedPercentage: number;
87
+ }
88
+
89
+ export interface NFCPatrolMonthlyReport {
90
+ location: NFCPatrolReportLocation;
91
+ title: string;
92
+ rows: NFCPatrolMonthlyReportRow[];
93
+ }
@@ -0,0 +1,38 @@
1
+
2
+ export const mockPhoneNumberSearchResults: Partial<TPeople>[] = [
3
+ {
4
+ _id: "mock-phone-multiple-options",
5
+ name: "James Smith",
6
+ nric: "1323232499",
7
+ contacts: ["653939394", "81234567"],
8
+ visitorPlateNumbers: ["34566", "SMA1234A"],
9
+ companyName: ["Mock Company Pte Ltd"],
10
+ },
11
+ {
12
+ _id: "mock-phone-single-option",
13
+ name: "Jane Tan",
14
+ nric: "S1234567A",
15
+ contacts: ["91234567"],
16
+ visitorPlateNumbers: ["SGB5678B"],
17
+ companyName: ["Single Option Company"],
18
+ },
19
+ ];
20
+
21
+ export const mockVehicleNumberSearchResults: Partial<TPeople>[] = [
22
+ {
23
+ _id: "mock-vehicle-multiple-options",
24
+ name: "James Smith",
25
+ nric: "1323232499",
26
+ contacts: ["653939394", "81234567"],
27
+ visitorPlateNumbers: ["34566", "SMA1234A"],
28
+ companyName: ["Mock Company Pte Ltd"],
29
+ },
30
+ {
31
+ _id: "mock-vehicle-single-option",
32
+ name: "Ali Lim",
33
+ nric: "T7654321B",
34
+ contacts: ["98765432"],
35
+ visitorPlateNumbers: ["SKX2468C"],
36
+ companyName: ["Vehicle Single Company"],
37
+ },
38
+ ];