gst-common 1.1.19 → 1.1.20

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
@@ -21,6 +21,10 @@ type BaseResponse<T = any> = {
21
21
  message: string;
22
22
  data: T;
23
23
  };
24
+ type BasePaginationParams = {
25
+ page?: number;
26
+ limit?: number;
27
+ };
24
28
  type DATA_THIRD_PARTY_LOGIN = {
25
29
  fullname: string;
26
30
  providerId: string;
@@ -126,4 +130,4 @@ type AccountPostMeResponse = {
126
130
  providerId: string;
127
131
  };
128
132
 
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 };
133
+ export { type AccountPostMeResponse, type AccountSignInResponse, type BasePaginationParams, 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
@@ -21,6 +21,10 @@ type BaseResponse<T = any> = {
21
21
  message: string;
22
22
  data: T;
23
23
  };
24
+ type BasePaginationParams = {
25
+ page?: number;
26
+ limit?: number;
27
+ };
24
28
  type DATA_THIRD_PARTY_LOGIN = {
25
29
  fullname: string;
26
30
  providerId: string;
@@ -126,4 +130,4 @@ type AccountPostMeResponse = {
126
130
  providerId: string;
127
131
  };
128
132
 
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 };
133
+ export { type AccountPostMeResponse, type AccountSignInResponse, type BasePaginationParams, 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.19",
3
+ "version": "1.1.20",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",