gst-common 1.1.18 → 1.1.19

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.cts CHANGED
@@ -1,7 +1,5 @@
1
1
  declare const OTP_RESEND_TIME = 20;
2
2
 
3
- declare function sayHello(): void;
4
-
5
3
  declare enum CUSTOMER_TYPE {
6
4
  TUTOR = "tutor",
7
5
  STUDENT = "student"
@@ -37,6 +35,24 @@ declare enum PROGRAM_SUITABLE_LEARNER {
37
35
  WORKING_PEOPLE = "working_people"
38
36
  }
39
37
 
38
+ type ProgramSuitableLearnerEntity = {
39
+ suitableLeanerCode: PROGRAM_SUITABLE_LEARNER;
40
+ program: ProgramEntity;
41
+ };
42
+ type ProgramEntity = {
43
+ thumbnail: string;
44
+ name: string;
45
+ shortDescription: string;
46
+ detailDescription: string;
47
+ suitableLearners: ProgramSuitableLearnerEntity[];
48
+ fromPrice: number;
49
+ toPrice: number;
50
+ fromTeachingHour: number;
51
+ toTeachingHour: number;
52
+ };
53
+
54
+ declare function sayHello(): void;
55
+
40
56
  declare const OBJECT_REGISTER_METHOD: {
41
57
  email: {
42
58
  value: REGISTER_METHOD;
@@ -110,4 +126,4 @@ type AccountPostMeResponse = {
110
126
  providerId: string;
111
127
  };
112
128
 
113
- export { type AccountPostMeResponse, type AccountSignInResponse, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, OBJECT_CUSTOMER_TYPE, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTER_METHOD, OTP_RESEND_TIME, PROGRAM_SUITABLE_LEARNER, REGISTER_METHOD, ResponseStatus, sayHello };
129
+ export { type AccountPostMeResponse, type AccountSignInResponse, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, OBJECT_CUSTOMER_TYPE, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTER_METHOD, OTP_RESEND_TIME, PROGRAM_SUITABLE_LEARNER, type ProgramEntity, type ProgramSuitableLearnerEntity, REGISTER_METHOD, ResponseStatus, sayHello };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,5 @@
1
1
  declare const OTP_RESEND_TIME = 20;
2
2
 
3
- declare function sayHello(): void;
4
-
5
3
  declare enum CUSTOMER_TYPE {
6
4
  TUTOR = "tutor",
7
5
  STUDENT = "student"
@@ -37,6 +35,24 @@ declare enum PROGRAM_SUITABLE_LEARNER {
37
35
  WORKING_PEOPLE = "working_people"
38
36
  }
39
37
 
38
+ type ProgramSuitableLearnerEntity = {
39
+ suitableLeanerCode: PROGRAM_SUITABLE_LEARNER;
40
+ program: ProgramEntity;
41
+ };
42
+ type ProgramEntity = {
43
+ thumbnail: string;
44
+ name: string;
45
+ shortDescription: string;
46
+ detailDescription: string;
47
+ suitableLearners: ProgramSuitableLearnerEntity[];
48
+ fromPrice: number;
49
+ toPrice: number;
50
+ fromTeachingHour: number;
51
+ toTeachingHour: number;
52
+ };
53
+
54
+ declare function sayHello(): void;
55
+
40
56
  declare const OBJECT_REGISTER_METHOD: {
41
57
  email: {
42
58
  value: REGISTER_METHOD;
@@ -110,4 +126,4 @@ type AccountPostMeResponse = {
110
126
  providerId: string;
111
127
  };
112
128
 
113
- export { type AccountPostMeResponse, type AccountSignInResponse, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, OBJECT_CUSTOMER_TYPE, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTER_METHOD, OTP_RESEND_TIME, PROGRAM_SUITABLE_LEARNER, REGISTER_METHOD, ResponseStatus, sayHello };
129
+ export { type AccountPostMeResponse, type AccountSignInResponse, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, OBJECT_CUSTOMER_TYPE, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTER_METHOD, OTP_RESEND_TIME, PROGRAM_SUITABLE_LEARNER, type ProgramEntity, type ProgramSuitableLearnerEntity, REGISTER_METHOD, ResponseStatus, sayHello };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",