kcommons 14.18.1 → 14.18.2
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.
|
@@ -8,7 +8,7 @@ export interface ITemporaryWorkerForm {
|
|
|
8
8
|
last_name: string;
|
|
9
9
|
age: number;
|
|
10
10
|
gender: GENDER;
|
|
11
|
-
contact: string;
|
|
11
|
+
contact: string | null;
|
|
12
12
|
email: string | null;
|
|
13
13
|
pincode: string | null;
|
|
14
14
|
area: string | null;
|
|
@@ -29,6 +29,7 @@ export interface ITemporaryWorkerForm {
|
|
|
29
29
|
company: INestedCompany | null;
|
|
30
30
|
created_by_user: INestedUser | null;
|
|
31
31
|
last_updated_by_user: INestedUser | null;
|
|
32
|
+
dob: string | null;
|
|
32
33
|
}
|
|
33
34
|
export interface INestedTemporaryWorkerForm extends Omit<ITemporaryWorkerForm, "company" | "created_by_usr" | "last_updated_by_user"> {
|
|
34
35
|
}
|
|
@@ -100,3 +101,4 @@ export interface AadhaarParsedData {
|
|
|
100
101
|
}
|
|
101
102
|
export declare const parseAadhaarXML: (xmlString: string) => AadhaarParsedData | null;
|
|
102
103
|
export declare const calculateAge: (dob: string) => number;
|
|
104
|
+
export declare const UNDER_AGE_LIMIT = 18;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.calculateAge = exports.parseAadhaarXML = exports.GENDER = exports.TEMPORARY_WORKER_FORM_INCLUDE = void 0;
|
|
3
|
+
exports.UNDER_AGE_LIMIT = exports.calculateAge = exports.parseAadhaarXML = exports.GENDER = exports.TEMPORARY_WORKER_FORM_INCLUDE = void 0;
|
|
4
4
|
var TEMPORARY_WORKER_FORM_INCLUDE;
|
|
5
5
|
(function (TEMPORARY_WORKER_FORM_INCLUDE) {
|
|
6
6
|
TEMPORARY_WORKER_FORM_INCLUDE["company"] = "company";
|
|
@@ -78,3 +78,4 @@ const calculateAge = (dob) => {
|
|
|
78
78
|
return age;
|
|
79
79
|
};
|
|
80
80
|
exports.calculateAge = calculateAge;
|
|
81
|
+
exports.UNDER_AGE_LIMIT = 18;
|