gst-common 1.6.23 → 1.6.24
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 +4 -3
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +4 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -296,9 +296,10 @@ var COMMON_ROUTES = {
|
|
|
296
296
|
classDetail: (id) => {
|
|
297
297
|
return `${URL_CLASS_DETAIL}/${id}`;
|
|
298
298
|
},
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
return
|
|
299
|
+
programDetailUrl: "chuong-trinh-hoc",
|
|
300
|
+
programDetail(id, tab) {
|
|
301
|
+
if (tab) return `${this.programDetailUrl}/${id}?tab=${tab}`;
|
|
302
|
+
return `${this.programDetailUrl}/${id}`;
|
|
302
303
|
},
|
|
303
304
|
classDetailReport: (classId, reportId) => {
|
|
304
305
|
return `${URL_CLASS_DETAIL}/${classId}/report/${reportId}`;
|
package/dist/index.d.cts
CHANGED
|
@@ -558,7 +558,8 @@ declare const COMMON_ROUTES: {
|
|
|
558
558
|
studentClassList: string;
|
|
559
559
|
wallet: string;
|
|
560
560
|
classDetail: (id: string) => string;
|
|
561
|
-
|
|
561
|
+
programDetailUrl: string;
|
|
562
|
+
programDetail(id: string, tab: PROGRAM_DETAIL_TABS): string;
|
|
562
563
|
classDetailReport: (classId: string, reportId: string) => string;
|
|
563
564
|
};
|
|
564
565
|
declare const REGISTER_PROGRAM_TIME: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -558,7 +558,8 @@ declare const COMMON_ROUTES: {
|
|
|
558
558
|
studentClassList: string;
|
|
559
559
|
wallet: string;
|
|
560
560
|
classDetail: (id: string) => string;
|
|
561
|
-
|
|
561
|
+
programDetailUrl: string;
|
|
562
|
+
programDetail(id: string, tab: PROGRAM_DETAIL_TABS): string;
|
|
562
563
|
classDetailReport: (classId: string, reportId: string) => string;
|
|
563
564
|
};
|
|
564
565
|
declare const REGISTER_PROGRAM_TIME: number;
|
package/dist/index.mjs
CHANGED
|
@@ -204,9 +204,10 @@ var COMMON_ROUTES = {
|
|
|
204
204
|
classDetail: (id) => {
|
|
205
205
|
return `${URL_CLASS_DETAIL}/${id}`;
|
|
206
206
|
},
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
return
|
|
207
|
+
programDetailUrl: "chuong-trinh-hoc",
|
|
208
|
+
programDetail(id, tab) {
|
|
209
|
+
if (tab) return `${this.programDetailUrl}/${id}?tab=${tab}`;
|
|
210
|
+
return `${this.programDetailUrl}/${id}`;
|
|
210
211
|
},
|
|
211
212
|
classDetailReport: (classId, reportId) => {
|
|
212
213
|
return `${URL_CLASS_DETAIL}/${classId}/report/${reportId}`;
|