gst-common 1.1.7 → 1.1.9
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.cjs +5 -0
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.mjs +4 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -23,12 +23,16 @@ __export(index_exports, {
|
|
|
23
23
|
CUSTOMER_TYPE: () => CUSTOMER_TYPE,
|
|
24
24
|
OBJECT_CUSTOMER_TYPE: () => OBJECT_CUSTOMER_TYPE,
|
|
25
25
|
OBJECT_REGISTER_METHOD: () => OBJECT_REGISTER_METHOD,
|
|
26
|
+
OTP_RESEND_TIME: () => OTP_RESEND_TIME,
|
|
26
27
|
REGISTER_METHOD: () => REGISTER_METHOD,
|
|
27
28
|
ResponseStatus: () => ResponseStatus,
|
|
28
29
|
sayHello: () => sayHello
|
|
29
30
|
});
|
|
30
31
|
module.exports = __toCommonJS(index_exports);
|
|
31
32
|
|
|
33
|
+
// src/constant.ts
|
|
34
|
+
var OTP_RESEND_TIME = 20;
|
|
35
|
+
|
|
32
36
|
// src/functions.ts
|
|
33
37
|
function sayHello() {
|
|
34
38
|
console.log("HELLO WORLD");
|
|
@@ -81,6 +85,7 @@ var OBJECT_CUSTOMER_TYPE = {
|
|
|
81
85
|
CUSTOMER_TYPE,
|
|
82
86
|
OBJECT_CUSTOMER_TYPE,
|
|
83
87
|
OBJECT_REGISTER_METHOD,
|
|
88
|
+
OTP_RESEND_TIME,
|
|
84
89
|
REGISTER_METHOD,
|
|
85
90
|
ResponseStatus,
|
|
86
91
|
sayHello
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
declare const OTP_RESEND_TIME = 20;
|
|
2
|
+
|
|
1
3
|
declare function sayHello(): void;
|
|
2
4
|
|
|
3
5
|
declare enum CUSTOMER_TYPE {
|
|
@@ -21,6 +23,11 @@ type BaseResponse<T = any> = {
|
|
|
21
23
|
message: string;
|
|
22
24
|
data?: T;
|
|
23
25
|
};
|
|
26
|
+
type DATA_THIRD_PARTY_LOGIN = {
|
|
27
|
+
fullname: string;
|
|
28
|
+
providerId: string;
|
|
29
|
+
provider: REGISTER_METHOD;
|
|
30
|
+
};
|
|
24
31
|
|
|
25
32
|
declare const OBJECT_REGISTER_METHOD: {
|
|
26
33
|
email: {
|
|
@@ -43,4 +50,4 @@ declare const OBJECT_CUSTOMER_TYPE: {
|
|
|
43
50
|
};
|
|
44
51
|
};
|
|
45
52
|
|
|
46
|
-
export { type BaseResponse, CUSTOMER_TYPE, OBJECT_CUSTOMER_TYPE, OBJECT_REGISTER_METHOD, REGISTER_METHOD, ResponseStatus, sayHello };
|
|
53
|
+
export { type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, OBJECT_CUSTOMER_TYPE, OBJECT_REGISTER_METHOD, OTP_RESEND_TIME, REGISTER_METHOD, ResponseStatus, sayHello };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
declare const OTP_RESEND_TIME = 20;
|
|
2
|
+
|
|
1
3
|
declare function sayHello(): void;
|
|
2
4
|
|
|
3
5
|
declare enum CUSTOMER_TYPE {
|
|
@@ -21,6 +23,11 @@ type BaseResponse<T = any> = {
|
|
|
21
23
|
message: string;
|
|
22
24
|
data?: T;
|
|
23
25
|
};
|
|
26
|
+
type DATA_THIRD_PARTY_LOGIN = {
|
|
27
|
+
fullname: string;
|
|
28
|
+
providerId: string;
|
|
29
|
+
provider: REGISTER_METHOD;
|
|
30
|
+
};
|
|
24
31
|
|
|
25
32
|
declare const OBJECT_REGISTER_METHOD: {
|
|
26
33
|
email: {
|
|
@@ -43,4 +50,4 @@ declare const OBJECT_CUSTOMER_TYPE: {
|
|
|
43
50
|
};
|
|
44
51
|
};
|
|
45
52
|
|
|
46
|
-
export { type BaseResponse, CUSTOMER_TYPE, OBJECT_CUSTOMER_TYPE, OBJECT_REGISTER_METHOD, REGISTER_METHOD, ResponseStatus, sayHello };
|
|
53
|
+
export { type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, OBJECT_CUSTOMER_TYPE, OBJECT_REGISTER_METHOD, OTP_RESEND_TIME, REGISTER_METHOD, ResponseStatus, sayHello };
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// src/constant.ts
|
|
2
|
+
var OTP_RESEND_TIME = 20;
|
|
3
|
+
|
|
1
4
|
// src/functions.ts
|
|
2
5
|
function sayHello() {
|
|
3
6
|
console.log("HELLO WORLD");
|
|
@@ -49,6 +52,7 @@ export {
|
|
|
49
52
|
CUSTOMER_TYPE,
|
|
50
53
|
OBJECT_CUSTOMER_TYPE,
|
|
51
54
|
OBJECT_REGISTER_METHOD,
|
|
55
|
+
OTP_RESEND_TIME,
|
|
52
56
|
REGISTER_METHOD,
|
|
53
57
|
ResponseStatus,
|
|
54
58
|
sayHello
|