gst-common 1.4.60 → 1.4.61
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 +54 -45
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +53 -45
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -26,6 +26,7 @@ __export(index_exports, {
|
|
|
26
26
|
AT_LEAST_ALLOW_RATING_PROGRAM_HOUR: () => AT_LEAST_ALLOW_RATING_PROGRAM_HOUR,
|
|
27
27
|
AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS: () => AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS,
|
|
28
28
|
CLASS_STATUS: () => CLASS_STATUS,
|
|
29
|
+
CLASS_STATUS_ORDER: () => CLASS_STATUS_ORDER,
|
|
29
30
|
CLASS_STATUS_STUDENT_EDIT: () => CLASS_STATUS_STUDENT_EDIT,
|
|
30
31
|
CLASS_STATUS_TUTOR_EDIT: () => CLASS_STATUS_TUTOR_EDIT,
|
|
31
32
|
COMMON_ROUTES: () => COMMON_ROUTES,
|
|
@@ -68,47 +69,6 @@ __export(index_exports, {
|
|
|
68
69
|
});
|
|
69
70
|
module.exports = __toCommonJS(index_exports);
|
|
70
71
|
|
|
71
|
-
// src/constant.ts
|
|
72
|
-
var OTP_RESEND_TIME = 20;
|
|
73
|
-
var COMMON_ROUTES = {
|
|
74
|
-
classList: "/class",
|
|
75
|
-
registeredProgram: "/registered-program",
|
|
76
|
-
studentClassList: "/student-class",
|
|
77
|
-
classDetail: (id) => {
|
|
78
|
-
return `/class-detail/${id}`;
|
|
79
|
-
},
|
|
80
|
-
studentClassDetail: (id) => {
|
|
81
|
-
return `/student-class-detail/${id}`;
|
|
82
|
-
},
|
|
83
|
-
programDetail: (id, tab) => {
|
|
84
|
-
if (tab) return `/program-detail/${id}?tab=${tab}`;
|
|
85
|
-
return `/program-detail/${id}`;
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
var REGISTER_PROGRAM_TIME = 12 * 60 * 60;
|
|
89
|
-
var AT_LEAST_ALLOW_RATING_PROGRAM_HOUR = 1;
|
|
90
|
-
var AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS = 1;
|
|
91
|
-
var ACCEPTED_IMAGE_TYPES = [
|
|
92
|
-
"image/jpeg",
|
|
93
|
-
"image/png",
|
|
94
|
-
"image/gif",
|
|
95
|
-
"image/webp",
|
|
96
|
-
"image/svg+xml",
|
|
97
|
-
"image/bmp",
|
|
98
|
-
"image/x-icon",
|
|
99
|
-
"image/vnd.microsoft.icon",
|
|
100
|
-
"image/heic",
|
|
101
|
-
"image/heif",
|
|
102
|
-
"image/avif"
|
|
103
|
-
];
|
|
104
|
-
var ACCEPTED_VIDEO_TYPES = [
|
|
105
|
-
"video/mp4",
|
|
106
|
-
"video/ogg",
|
|
107
|
-
"video/webm",
|
|
108
|
-
"video/x-matroska",
|
|
109
|
-
"video/quicktime"
|
|
110
|
-
];
|
|
111
|
-
|
|
112
72
|
// src/type.ts
|
|
113
73
|
var CUSTOMER_TYPE = /* @__PURE__ */ ((CUSTOMER_TYPE2) => {
|
|
114
74
|
CUSTOMER_TYPE2["TUTOR"] = "tutor";
|
|
@@ -227,10 +187,10 @@ var SESSION_GROUP_QUESTION = /* @__PURE__ */ ((SESSION_GROUP_QUESTION2) => {
|
|
|
227
187
|
SESSION_GROUP_QUESTION2["FINISHED"] = "FINISHED";
|
|
228
188
|
return SESSION_GROUP_QUESTION2;
|
|
229
189
|
})(SESSION_GROUP_QUESTION || {});
|
|
230
|
-
var PROGRAM_DETAIL_TABS = /* @__PURE__ */ ((
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
return
|
|
190
|
+
var PROGRAM_DETAIL_TABS = /* @__PURE__ */ ((PROGRAM_DETAIL_TABS3) => {
|
|
191
|
+
PROGRAM_DETAIL_TABS3["INTRODUCTION"] = "INTRODUCTION";
|
|
192
|
+
PROGRAM_DETAIL_TABS3["RATING"] = "RATING";
|
|
193
|
+
return PROGRAM_DETAIL_TABS3;
|
|
234
194
|
})(PROGRAM_DETAIL_TABS || {});
|
|
235
195
|
var POST_TYPE = /* @__PURE__ */ ((POST_TYPE2) => {
|
|
236
196
|
POST_TYPE2["DOCUMENT_SHARE"] = "DOCUMENT_SHARE";
|
|
@@ -244,6 +204,54 @@ var ANSWER_QUESTION_TYPE = /* @__PURE__ */ ((ANSWER_QUESTION_TYPE2) => {
|
|
|
244
204
|
return ANSWER_QUESTION_TYPE2;
|
|
245
205
|
})(ANSWER_QUESTION_TYPE || {});
|
|
246
206
|
|
|
207
|
+
// src/constant.ts
|
|
208
|
+
var OTP_RESEND_TIME = 20;
|
|
209
|
+
var COMMON_ROUTES = {
|
|
210
|
+
classList: "/class",
|
|
211
|
+
registeredProgram: "/registered-program",
|
|
212
|
+
studentClassList: "/student-class",
|
|
213
|
+
classDetail: (id) => {
|
|
214
|
+
return `/class-detail/${id}`;
|
|
215
|
+
},
|
|
216
|
+
studentClassDetail: (id) => {
|
|
217
|
+
return `/student-class-detail/${id}`;
|
|
218
|
+
},
|
|
219
|
+
programDetail: (id, tab) => {
|
|
220
|
+
if (tab) return `/program-detail/${id}?tab=${tab}`;
|
|
221
|
+
return `/program-detail/${id}`;
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
var REGISTER_PROGRAM_TIME = 12 * 60 * 60;
|
|
225
|
+
var AT_LEAST_ALLOW_RATING_PROGRAM_HOUR = 1;
|
|
226
|
+
var AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS = 1;
|
|
227
|
+
var ACCEPTED_IMAGE_TYPES = [
|
|
228
|
+
"image/jpeg",
|
|
229
|
+
"image/png",
|
|
230
|
+
"image/gif",
|
|
231
|
+
"image/webp",
|
|
232
|
+
"image/svg+xml",
|
|
233
|
+
"image/bmp",
|
|
234
|
+
"image/x-icon",
|
|
235
|
+
"image/vnd.microsoft.icon",
|
|
236
|
+
"image/heic",
|
|
237
|
+
"image/heif",
|
|
238
|
+
"image/avif"
|
|
239
|
+
];
|
|
240
|
+
var ACCEPTED_VIDEO_TYPES = [
|
|
241
|
+
"video/mp4",
|
|
242
|
+
"video/ogg",
|
|
243
|
+
"video/webm",
|
|
244
|
+
"video/x-matroska",
|
|
245
|
+
"video/quicktime"
|
|
246
|
+
];
|
|
247
|
+
var CLASS_STATUS_ORDER = [
|
|
248
|
+
"HAPPENING" /* HAPPENING */,
|
|
249
|
+
"WAIT_FOR_ACCEPTING" /* WAIT_FOR_ACCEPTING */,
|
|
250
|
+
"PENDING" /* PENDING */,
|
|
251
|
+
"FINISHED" /* FINISHED */,
|
|
252
|
+
"CANCELED" /* CANCELED */
|
|
253
|
+
];
|
|
254
|
+
|
|
247
255
|
// src/object-enum.ts
|
|
248
256
|
var OBJECT_REGISTER_METHOD = {
|
|
249
257
|
["email" /* EMAIL */]: {
|
|
@@ -533,6 +541,7 @@ var OBJECT_ANSWER_QUESTION_TYPE = {
|
|
|
533
541
|
AT_LEAST_ALLOW_RATING_PROGRAM_HOUR,
|
|
534
542
|
AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS,
|
|
535
543
|
CLASS_STATUS,
|
|
544
|
+
CLASS_STATUS_ORDER,
|
|
536
545
|
CLASS_STATUS_STUDENT_EDIT,
|
|
537
546
|
CLASS_STATUS_TUTOR_EDIT,
|
|
538
547
|
COMMON_ROUTES,
|
package/dist/index.d.cts
CHANGED
|
@@ -386,6 +386,7 @@ declare const AT_LEAST_ALLOW_RATING_PROGRAM_HOUR = 1;
|
|
|
386
386
|
declare const AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS = 1;
|
|
387
387
|
declare const ACCEPTED_IMAGE_TYPES: string[];
|
|
388
388
|
declare const ACCEPTED_VIDEO_TYPES: string[];
|
|
389
|
+
declare const CLASS_STATUS_ORDER: CLASS_STATUS[];
|
|
389
390
|
|
|
390
391
|
declare const OBJECT_REGISTER_METHOD: {
|
|
391
392
|
email: {
|
|
@@ -1717,4 +1718,4 @@ type TProgramPublicLearnedProgramRes = {
|
|
|
1717
1718
|
total: number;
|
|
1718
1719
|
};
|
|
1719
1720
|
|
|
1720
|
-
export { ACCEPTED_IMAGE_TYPES, ACCEPTED_VIDEO_TYPES, ANSWER_QUESTION_TYPE, AT_LEAST_ALLOW_RATING_PROGRAM_HOUR, AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, POST_TYPE, PROGRAM_DETAIL_TABS, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, type TAccountEntity, type TAccountFollow, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicPreviewRes, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TClassCountStatus, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationStudentList, type TClassNotificationStudentListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassNotificationUpload, type TClassNotificationUploadRes, type TClassSelectOptions, type TClassSelectOptionsRes, type TClassStatisticGroupByClass, type TClassStatisticGroupByClassRes, type TClassStatisticGroupByMonth, type TClassStatisticGroupByMonthRes, type TClassStudentChangeStatus, type TClassStudentChangeStatusRes, type TClassStudentCountStatus, type TClassStudentCountStatusRes, type TClassStudentDetailRes, type TClassStudentList, type TClassStudentListRes, type TClassStudentSelectOptionsRes, type TClassStudentStatisticGroupByClass, type TClassStudentStatisticGroupByClassRes, type TClassStudentStatisticGroupByMonth, type TClassStudentStatisticGroupByMonthRes, type TClassUpdate, type TClassUpdateRes, type TCompletedAndNotPaidLessonsRes, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteEditorRes, type TDocumentDeleteFileRes, type TDocumentList, type TDocumentListRes, type TDocumentProgramListRes, type TDocumentUpload, type TDocumentUploadRes, type TDocumentsEntity, type TEditorDeleteRes, type TEditorDetailRes, type TEditorEntity, type TEditorStudentDetailRes, type TEditorUpdate, type TEditorUpdateRes, type TExtendLessonTimesDTO, type TFileDeleteRes, type TFileEntity, type TFileLessonEntity, type TFileLessonListRes, type TFileLessonStudentListRes, type TFileLessonUpdate, type TFileLessonUpdateRes, type TFileLessonUpload, type TFileLessonUploadRes, type TFileUpdate, type TFileUpdateRes, type TFileUploadCommonRes, type TGroupQuestionChangeAnswerQuestionType, type TGroupQuestionChangeAnswerQuestionTypeRes, type TGroupQuestionCreate, type TGroupQuestionCreateRes, type TGroupQuestionDeleteGroupQuestion, type TGroupQuestionDetailRes, type TGroupQuestionEntity, type TGroupQuestionResultRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, type TLesson, type TLessonAllDocuments, type TLessonAllDocumentsRes, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonConfirm, type TLessonConfirmRes, type TLessonCreateEditor, type TLessonCreateEditorRes, type TLessonCreateGroupQuestion, type TLessonCreateGroupQuestionRes, type TLessonDetailRes, type TLessonDocumentsRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonImport, type TLessonImportRes, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonListUnconfirmedRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentAllDocuments, type TLessonStudentAllDocumentsRes, type TLessonStudentCompletedAndNotPaidLessonsRes, type TLessonStudentDetailRes, type TLessonStudentDocumentsRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TPostAllComment, type TPostAllCommentDeleteRes, type TPostAllCommentRes, type TPostAllCommentUpdate, type TPostAllCommentUpdateRes, type TPostAllCreateDiscussion, type TPostAllCreateDiscussionRes, type TPostAllListPostByAccount, type TPostAllListPostByAccountRes, type TPostAllMyPost, type TPostAllMyPostRes, type TPostAllRemoveUpvote, type TPostAllReplyComment, type TPostAllReplyCommentRes, type TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, type TPostEntity, type TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, type TProgramRatingEntity, type TProgramRatingPublicCountByScore, type TProgramRatingPublicCountByScoreRes, type TProgramRatingPublicList, type TProgramRatingPublicListRes, type TProgramRatingStudentCanRate, type TProgramRatingStudentCanRateRes, type TProgramRatingStudentCreateRating, type TProgramRatingStudentCreateRatingRes, type TProgramRatingStudentDeleteRatingRes, type TProgramRatingStudentHasRated, type TProgramRatingStudentHasRatedRes, type TProgramRatingStudentUpdateRating, type TProgramRatingStudentUpdateRatingRes, type TProgramRatingUpload, type TProgramRatingUploadRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProposedLearningCreate, type TProposedLearningCreateRes, type TProposedLearningDetail, type TProposedLearningDetailRes, type TProposedLearningEdit, type TProposedLearningEditRes, type TProposedLearningEntity, type TProposedLearningLessonEntity, type TProposedLearningList, type TProposedLearningListRes, type TProposedLearningStudentDetail, type TProposedLearningStudentDetailRes, type TProposedLearningStudentList, type TProposedLearningStudentListRes, type TProvinceEntity, type TQuestionEntity, type TQuestionTypeChoiceEntity, type TQuestionTypeEssayEntity, type TQuestionTypeWordArrangementEntity, type TRegisteredProgramCountStatus, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TSessionGroupQuestionEntity, type TStudent, type TStudentEntity, type TSubmitGroupQuestion, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes };
|
|
1721
|
+
export { ACCEPTED_IMAGE_TYPES, ACCEPTED_VIDEO_TYPES, ANSWER_QUESTION_TYPE, AT_LEAST_ALLOW_RATING_PROGRAM_HOUR, AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, POST_TYPE, PROGRAM_DETAIL_TABS, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, type TAccountEntity, type TAccountFollow, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicPreviewRes, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TClassCountStatus, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationStudentList, type TClassNotificationStudentListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassNotificationUpload, type TClassNotificationUploadRes, type TClassSelectOptions, type TClassSelectOptionsRes, type TClassStatisticGroupByClass, type TClassStatisticGroupByClassRes, type TClassStatisticGroupByMonth, type TClassStatisticGroupByMonthRes, type TClassStudentChangeStatus, type TClassStudentChangeStatusRes, type TClassStudentCountStatus, type TClassStudentCountStatusRes, type TClassStudentDetailRes, type TClassStudentList, type TClassStudentListRes, type TClassStudentSelectOptionsRes, type TClassStudentStatisticGroupByClass, type TClassStudentStatisticGroupByClassRes, type TClassStudentStatisticGroupByMonth, type TClassStudentStatisticGroupByMonthRes, type TClassUpdate, type TClassUpdateRes, type TCompletedAndNotPaidLessonsRes, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteEditorRes, type TDocumentDeleteFileRes, type TDocumentList, type TDocumentListRes, type TDocumentProgramListRes, type TDocumentUpload, type TDocumentUploadRes, type TDocumentsEntity, type TEditorDeleteRes, type TEditorDetailRes, type TEditorEntity, type TEditorStudentDetailRes, type TEditorUpdate, type TEditorUpdateRes, type TExtendLessonTimesDTO, type TFileDeleteRes, type TFileEntity, type TFileLessonEntity, type TFileLessonListRes, type TFileLessonStudentListRes, type TFileLessonUpdate, type TFileLessonUpdateRes, type TFileLessonUpload, type TFileLessonUploadRes, type TFileUpdate, type TFileUpdateRes, type TFileUploadCommonRes, type TGroupQuestionChangeAnswerQuestionType, type TGroupQuestionChangeAnswerQuestionTypeRes, type TGroupQuestionCreate, type TGroupQuestionCreateRes, type TGroupQuestionDeleteGroupQuestion, type TGroupQuestionDetailRes, type TGroupQuestionEntity, type TGroupQuestionResultRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, type TLesson, type TLessonAllDocuments, type TLessonAllDocumentsRes, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonConfirm, type TLessonConfirmRes, type TLessonCreateEditor, type TLessonCreateEditorRes, type TLessonCreateGroupQuestion, type TLessonCreateGroupQuestionRes, type TLessonDetailRes, type TLessonDocumentsRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonImport, type TLessonImportRes, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonListUnconfirmedRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentAllDocuments, type TLessonStudentAllDocumentsRes, type TLessonStudentCompletedAndNotPaidLessonsRes, type TLessonStudentDetailRes, type TLessonStudentDocumentsRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TPostAllComment, type TPostAllCommentDeleteRes, type TPostAllCommentRes, type TPostAllCommentUpdate, type TPostAllCommentUpdateRes, type TPostAllCreateDiscussion, type TPostAllCreateDiscussionRes, type TPostAllListPostByAccount, type TPostAllListPostByAccountRes, type TPostAllMyPost, type TPostAllMyPostRes, type TPostAllRemoveUpvote, type TPostAllReplyComment, type TPostAllReplyCommentRes, type TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, type TPostEntity, type TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, type TProgramRatingEntity, type TProgramRatingPublicCountByScore, type TProgramRatingPublicCountByScoreRes, type TProgramRatingPublicList, type TProgramRatingPublicListRes, type TProgramRatingStudentCanRate, type TProgramRatingStudentCanRateRes, type TProgramRatingStudentCreateRating, type TProgramRatingStudentCreateRatingRes, type TProgramRatingStudentDeleteRatingRes, type TProgramRatingStudentHasRated, type TProgramRatingStudentHasRatedRes, type TProgramRatingStudentUpdateRating, type TProgramRatingStudentUpdateRatingRes, type TProgramRatingUpload, type TProgramRatingUploadRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProposedLearningCreate, type TProposedLearningCreateRes, type TProposedLearningDetail, type TProposedLearningDetailRes, type TProposedLearningEdit, type TProposedLearningEditRes, type TProposedLearningEntity, type TProposedLearningLessonEntity, type TProposedLearningList, type TProposedLearningListRes, type TProposedLearningStudentDetail, type TProposedLearningStudentDetailRes, type TProposedLearningStudentList, type TProposedLearningStudentListRes, type TProvinceEntity, type TQuestionEntity, type TQuestionTypeChoiceEntity, type TQuestionTypeEssayEntity, type TQuestionTypeWordArrangementEntity, type TRegisteredProgramCountStatus, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TSessionGroupQuestionEntity, type TStudent, type TStudentEntity, type TSubmitGroupQuestion, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes };
|
package/dist/index.d.ts
CHANGED
|
@@ -386,6 +386,7 @@ declare const AT_LEAST_ALLOW_RATING_PROGRAM_HOUR = 1;
|
|
|
386
386
|
declare const AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS = 1;
|
|
387
387
|
declare const ACCEPTED_IMAGE_TYPES: string[];
|
|
388
388
|
declare const ACCEPTED_VIDEO_TYPES: string[];
|
|
389
|
+
declare const CLASS_STATUS_ORDER: CLASS_STATUS[];
|
|
389
390
|
|
|
390
391
|
declare const OBJECT_REGISTER_METHOD: {
|
|
391
392
|
email: {
|
|
@@ -1717,4 +1718,4 @@ type TProgramPublicLearnedProgramRes = {
|
|
|
1717
1718
|
total: number;
|
|
1718
1719
|
};
|
|
1719
1720
|
|
|
1720
|
-
export { ACCEPTED_IMAGE_TYPES, ACCEPTED_VIDEO_TYPES, ANSWER_QUESTION_TYPE, AT_LEAST_ALLOW_RATING_PROGRAM_HOUR, AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, POST_TYPE, PROGRAM_DETAIL_TABS, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, type TAccountEntity, type TAccountFollow, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicPreviewRes, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TClassCountStatus, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationStudentList, type TClassNotificationStudentListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassNotificationUpload, type TClassNotificationUploadRes, type TClassSelectOptions, type TClassSelectOptionsRes, type TClassStatisticGroupByClass, type TClassStatisticGroupByClassRes, type TClassStatisticGroupByMonth, type TClassStatisticGroupByMonthRes, type TClassStudentChangeStatus, type TClassStudentChangeStatusRes, type TClassStudentCountStatus, type TClassStudentCountStatusRes, type TClassStudentDetailRes, type TClassStudentList, type TClassStudentListRes, type TClassStudentSelectOptionsRes, type TClassStudentStatisticGroupByClass, type TClassStudentStatisticGroupByClassRes, type TClassStudentStatisticGroupByMonth, type TClassStudentStatisticGroupByMonthRes, type TClassUpdate, type TClassUpdateRes, type TCompletedAndNotPaidLessonsRes, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteEditorRes, type TDocumentDeleteFileRes, type TDocumentList, type TDocumentListRes, type TDocumentProgramListRes, type TDocumentUpload, type TDocumentUploadRes, type TDocumentsEntity, type TEditorDeleteRes, type TEditorDetailRes, type TEditorEntity, type TEditorStudentDetailRes, type TEditorUpdate, type TEditorUpdateRes, type TExtendLessonTimesDTO, type TFileDeleteRes, type TFileEntity, type TFileLessonEntity, type TFileLessonListRes, type TFileLessonStudentListRes, type TFileLessonUpdate, type TFileLessonUpdateRes, type TFileLessonUpload, type TFileLessonUploadRes, type TFileUpdate, type TFileUpdateRes, type TFileUploadCommonRes, type TGroupQuestionChangeAnswerQuestionType, type TGroupQuestionChangeAnswerQuestionTypeRes, type TGroupQuestionCreate, type TGroupQuestionCreateRes, type TGroupQuestionDeleteGroupQuestion, type TGroupQuestionDetailRes, type TGroupQuestionEntity, type TGroupQuestionResultRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, type TLesson, type TLessonAllDocuments, type TLessonAllDocumentsRes, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonConfirm, type TLessonConfirmRes, type TLessonCreateEditor, type TLessonCreateEditorRes, type TLessonCreateGroupQuestion, type TLessonCreateGroupQuestionRes, type TLessonDetailRes, type TLessonDocumentsRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonImport, type TLessonImportRes, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonListUnconfirmedRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentAllDocuments, type TLessonStudentAllDocumentsRes, type TLessonStudentCompletedAndNotPaidLessonsRes, type TLessonStudentDetailRes, type TLessonStudentDocumentsRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TPostAllComment, type TPostAllCommentDeleteRes, type TPostAllCommentRes, type TPostAllCommentUpdate, type TPostAllCommentUpdateRes, type TPostAllCreateDiscussion, type TPostAllCreateDiscussionRes, type TPostAllListPostByAccount, type TPostAllListPostByAccountRes, type TPostAllMyPost, type TPostAllMyPostRes, type TPostAllRemoveUpvote, type TPostAllReplyComment, type TPostAllReplyCommentRes, type TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, type TPostEntity, type TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, type TProgramRatingEntity, type TProgramRatingPublicCountByScore, type TProgramRatingPublicCountByScoreRes, type TProgramRatingPublicList, type TProgramRatingPublicListRes, type TProgramRatingStudentCanRate, type TProgramRatingStudentCanRateRes, type TProgramRatingStudentCreateRating, type TProgramRatingStudentCreateRatingRes, type TProgramRatingStudentDeleteRatingRes, type TProgramRatingStudentHasRated, type TProgramRatingStudentHasRatedRes, type TProgramRatingStudentUpdateRating, type TProgramRatingStudentUpdateRatingRes, type TProgramRatingUpload, type TProgramRatingUploadRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProposedLearningCreate, type TProposedLearningCreateRes, type TProposedLearningDetail, type TProposedLearningDetailRes, type TProposedLearningEdit, type TProposedLearningEditRes, type TProposedLearningEntity, type TProposedLearningLessonEntity, type TProposedLearningList, type TProposedLearningListRes, type TProposedLearningStudentDetail, type TProposedLearningStudentDetailRes, type TProposedLearningStudentList, type TProposedLearningStudentListRes, type TProvinceEntity, type TQuestionEntity, type TQuestionTypeChoiceEntity, type TQuestionTypeEssayEntity, type TQuestionTypeWordArrangementEntity, type TRegisteredProgramCountStatus, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TSessionGroupQuestionEntity, type TStudent, type TStudentEntity, type TSubmitGroupQuestion, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes };
|
|
1721
|
+
export { ACCEPTED_IMAGE_TYPES, ACCEPTED_VIDEO_TYPES, ANSWER_QUESTION_TYPE, AT_LEAST_ALLOW_RATING_PROGRAM_HOUR, AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, POST_TYPE, PROGRAM_DETAIL_TABS, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, type TAccountEntity, type TAccountFollow, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicPreviewRes, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TClassCountStatus, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationStudentList, type TClassNotificationStudentListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassNotificationUpload, type TClassNotificationUploadRes, type TClassSelectOptions, type TClassSelectOptionsRes, type TClassStatisticGroupByClass, type TClassStatisticGroupByClassRes, type TClassStatisticGroupByMonth, type TClassStatisticGroupByMonthRes, type TClassStudentChangeStatus, type TClassStudentChangeStatusRes, type TClassStudentCountStatus, type TClassStudentCountStatusRes, type TClassStudentDetailRes, type TClassStudentList, type TClassStudentListRes, type TClassStudentSelectOptionsRes, type TClassStudentStatisticGroupByClass, type TClassStudentStatisticGroupByClassRes, type TClassStudentStatisticGroupByMonth, type TClassStudentStatisticGroupByMonthRes, type TClassUpdate, type TClassUpdateRes, type TCompletedAndNotPaidLessonsRes, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteEditorRes, type TDocumentDeleteFileRes, type TDocumentList, type TDocumentListRes, type TDocumentProgramListRes, type TDocumentUpload, type TDocumentUploadRes, type TDocumentsEntity, type TEditorDeleteRes, type TEditorDetailRes, type TEditorEntity, type TEditorStudentDetailRes, type TEditorUpdate, type TEditorUpdateRes, type TExtendLessonTimesDTO, type TFileDeleteRes, type TFileEntity, type TFileLessonEntity, type TFileLessonListRes, type TFileLessonStudentListRes, type TFileLessonUpdate, type TFileLessonUpdateRes, type TFileLessonUpload, type TFileLessonUploadRes, type TFileUpdate, type TFileUpdateRes, type TFileUploadCommonRes, type TGroupQuestionChangeAnswerQuestionType, type TGroupQuestionChangeAnswerQuestionTypeRes, type TGroupQuestionCreate, type TGroupQuestionCreateRes, type TGroupQuestionDeleteGroupQuestion, type TGroupQuestionDetailRes, type TGroupQuestionEntity, type TGroupQuestionResultRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, type TLesson, type TLessonAllDocuments, type TLessonAllDocumentsRes, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonConfirm, type TLessonConfirmRes, type TLessonCreateEditor, type TLessonCreateEditorRes, type TLessonCreateGroupQuestion, type TLessonCreateGroupQuestionRes, type TLessonDetailRes, type TLessonDocumentsRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonImport, type TLessonImportRes, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonListUnconfirmedRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentAllDocuments, type TLessonStudentAllDocumentsRes, type TLessonStudentCompletedAndNotPaidLessonsRes, type TLessonStudentDetailRes, type TLessonStudentDocumentsRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TPostAllComment, type TPostAllCommentDeleteRes, type TPostAllCommentRes, type TPostAllCommentUpdate, type TPostAllCommentUpdateRes, type TPostAllCreateDiscussion, type TPostAllCreateDiscussionRes, type TPostAllListPostByAccount, type TPostAllListPostByAccountRes, type TPostAllMyPost, type TPostAllMyPostRes, type TPostAllRemoveUpvote, type TPostAllReplyComment, type TPostAllReplyCommentRes, type TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, type TPostEntity, type TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, type TProgramRatingEntity, type TProgramRatingPublicCountByScore, type TProgramRatingPublicCountByScoreRes, type TProgramRatingPublicList, type TProgramRatingPublicListRes, type TProgramRatingStudentCanRate, type TProgramRatingStudentCanRateRes, type TProgramRatingStudentCreateRating, type TProgramRatingStudentCreateRatingRes, type TProgramRatingStudentDeleteRatingRes, type TProgramRatingStudentHasRated, type TProgramRatingStudentHasRatedRes, type TProgramRatingStudentUpdateRating, type TProgramRatingStudentUpdateRatingRes, type TProgramRatingUpload, type TProgramRatingUploadRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProposedLearningCreate, type TProposedLearningCreateRes, type TProposedLearningDetail, type TProposedLearningDetailRes, type TProposedLearningEdit, type TProposedLearningEditRes, type TProposedLearningEntity, type TProposedLearningLessonEntity, type TProposedLearningList, type TProposedLearningListRes, type TProposedLearningStudentDetail, type TProposedLearningStudentDetailRes, type TProposedLearningStudentList, type TProposedLearningStudentListRes, type TProvinceEntity, type TQuestionEntity, type TQuestionTypeChoiceEntity, type TQuestionTypeEssayEntity, type TQuestionTypeWordArrangementEntity, type TRegisteredProgramCountStatus, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TSessionGroupQuestionEntity, type TStudent, type TStudentEntity, type TSubmitGroupQuestion, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes };
|
package/dist/index.mjs
CHANGED
|
@@ -1,44 +1,3 @@
|
|
|
1
|
-
// src/constant.ts
|
|
2
|
-
var OTP_RESEND_TIME = 20;
|
|
3
|
-
var COMMON_ROUTES = {
|
|
4
|
-
classList: "/class",
|
|
5
|
-
registeredProgram: "/registered-program",
|
|
6
|
-
studentClassList: "/student-class",
|
|
7
|
-
classDetail: (id) => {
|
|
8
|
-
return `/class-detail/${id}`;
|
|
9
|
-
},
|
|
10
|
-
studentClassDetail: (id) => {
|
|
11
|
-
return `/student-class-detail/${id}`;
|
|
12
|
-
},
|
|
13
|
-
programDetail: (id, tab) => {
|
|
14
|
-
if (tab) return `/program-detail/${id}?tab=${tab}`;
|
|
15
|
-
return `/program-detail/${id}`;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
var REGISTER_PROGRAM_TIME = 12 * 60 * 60;
|
|
19
|
-
var AT_LEAST_ALLOW_RATING_PROGRAM_HOUR = 1;
|
|
20
|
-
var AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS = 1;
|
|
21
|
-
var ACCEPTED_IMAGE_TYPES = [
|
|
22
|
-
"image/jpeg",
|
|
23
|
-
"image/png",
|
|
24
|
-
"image/gif",
|
|
25
|
-
"image/webp",
|
|
26
|
-
"image/svg+xml",
|
|
27
|
-
"image/bmp",
|
|
28
|
-
"image/x-icon",
|
|
29
|
-
"image/vnd.microsoft.icon",
|
|
30
|
-
"image/heic",
|
|
31
|
-
"image/heif",
|
|
32
|
-
"image/avif"
|
|
33
|
-
];
|
|
34
|
-
var ACCEPTED_VIDEO_TYPES = [
|
|
35
|
-
"video/mp4",
|
|
36
|
-
"video/ogg",
|
|
37
|
-
"video/webm",
|
|
38
|
-
"video/x-matroska",
|
|
39
|
-
"video/quicktime"
|
|
40
|
-
];
|
|
41
|
-
|
|
42
1
|
// src/type.ts
|
|
43
2
|
var CUSTOMER_TYPE = /* @__PURE__ */ ((CUSTOMER_TYPE2) => {
|
|
44
3
|
CUSTOMER_TYPE2["TUTOR"] = "tutor";
|
|
@@ -157,10 +116,10 @@ var SESSION_GROUP_QUESTION = /* @__PURE__ */ ((SESSION_GROUP_QUESTION2) => {
|
|
|
157
116
|
SESSION_GROUP_QUESTION2["FINISHED"] = "FINISHED";
|
|
158
117
|
return SESSION_GROUP_QUESTION2;
|
|
159
118
|
})(SESSION_GROUP_QUESTION || {});
|
|
160
|
-
var PROGRAM_DETAIL_TABS = /* @__PURE__ */ ((
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
return
|
|
119
|
+
var PROGRAM_DETAIL_TABS = /* @__PURE__ */ ((PROGRAM_DETAIL_TABS3) => {
|
|
120
|
+
PROGRAM_DETAIL_TABS3["INTRODUCTION"] = "INTRODUCTION";
|
|
121
|
+
PROGRAM_DETAIL_TABS3["RATING"] = "RATING";
|
|
122
|
+
return PROGRAM_DETAIL_TABS3;
|
|
164
123
|
})(PROGRAM_DETAIL_TABS || {});
|
|
165
124
|
var POST_TYPE = /* @__PURE__ */ ((POST_TYPE2) => {
|
|
166
125
|
POST_TYPE2["DOCUMENT_SHARE"] = "DOCUMENT_SHARE";
|
|
@@ -174,6 +133,54 @@ var ANSWER_QUESTION_TYPE = /* @__PURE__ */ ((ANSWER_QUESTION_TYPE2) => {
|
|
|
174
133
|
return ANSWER_QUESTION_TYPE2;
|
|
175
134
|
})(ANSWER_QUESTION_TYPE || {});
|
|
176
135
|
|
|
136
|
+
// src/constant.ts
|
|
137
|
+
var OTP_RESEND_TIME = 20;
|
|
138
|
+
var COMMON_ROUTES = {
|
|
139
|
+
classList: "/class",
|
|
140
|
+
registeredProgram: "/registered-program",
|
|
141
|
+
studentClassList: "/student-class",
|
|
142
|
+
classDetail: (id) => {
|
|
143
|
+
return `/class-detail/${id}`;
|
|
144
|
+
},
|
|
145
|
+
studentClassDetail: (id) => {
|
|
146
|
+
return `/student-class-detail/${id}`;
|
|
147
|
+
},
|
|
148
|
+
programDetail: (id, tab) => {
|
|
149
|
+
if (tab) return `/program-detail/${id}?tab=${tab}`;
|
|
150
|
+
return `/program-detail/${id}`;
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
var REGISTER_PROGRAM_TIME = 12 * 60 * 60;
|
|
154
|
+
var AT_LEAST_ALLOW_RATING_PROGRAM_HOUR = 1;
|
|
155
|
+
var AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS = 1;
|
|
156
|
+
var ACCEPTED_IMAGE_TYPES = [
|
|
157
|
+
"image/jpeg",
|
|
158
|
+
"image/png",
|
|
159
|
+
"image/gif",
|
|
160
|
+
"image/webp",
|
|
161
|
+
"image/svg+xml",
|
|
162
|
+
"image/bmp",
|
|
163
|
+
"image/x-icon",
|
|
164
|
+
"image/vnd.microsoft.icon",
|
|
165
|
+
"image/heic",
|
|
166
|
+
"image/heif",
|
|
167
|
+
"image/avif"
|
|
168
|
+
];
|
|
169
|
+
var ACCEPTED_VIDEO_TYPES = [
|
|
170
|
+
"video/mp4",
|
|
171
|
+
"video/ogg",
|
|
172
|
+
"video/webm",
|
|
173
|
+
"video/x-matroska",
|
|
174
|
+
"video/quicktime"
|
|
175
|
+
];
|
|
176
|
+
var CLASS_STATUS_ORDER = [
|
|
177
|
+
"HAPPENING" /* HAPPENING */,
|
|
178
|
+
"WAIT_FOR_ACCEPTING" /* WAIT_FOR_ACCEPTING */,
|
|
179
|
+
"PENDING" /* PENDING */,
|
|
180
|
+
"FINISHED" /* FINISHED */,
|
|
181
|
+
"CANCELED" /* CANCELED */
|
|
182
|
+
];
|
|
183
|
+
|
|
177
184
|
// src/object-enum.ts
|
|
178
185
|
var OBJECT_REGISTER_METHOD = {
|
|
179
186
|
["email" /* EMAIL */]: {
|
|
@@ -462,6 +469,7 @@ export {
|
|
|
462
469
|
AT_LEAST_ALLOW_RATING_PROGRAM_HOUR,
|
|
463
470
|
AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS,
|
|
464
471
|
CLASS_STATUS,
|
|
472
|
+
CLASS_STATUS_ORDER,
|
|
465
473
|
CLASS_STATUS_STUDENT_EDIT,
|
|
466
474
|
CLASS_STATUS_TUTOR_EDIT,
|
|
467
475
|
COMMON_ROUTES,
|