gst-common 1.4.87 → 1.5.1

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 CHANGED
@@ -254,10 +254,7 @@ var COMMON_ROUTES = {
254
254
  registeredProgram: "/registered-program",
255
255
  studentClassList: "/student-class",
256
256
  classDetail: (id) => {
257
- return `/class-detail/${id}`;
258
- },
259
- studentClassDetail: (id) => {
260
- return `/student-class-detail/${id}`;
257
+ return `${URL_CLASS_DETAIL}/${id}`;
261
258
  },
262
259
  programDetail: (id, tab) => {
263
260
  if (tab) return `/program-detail/${id}?tab=${tab}`;
package/dist/index.d.cts CHANGED
@@ -445,7 +445,6 @@ declare const COMMON_ROUTES: {
445
445
  registeredProgram: string;
446
446
  studentClassList: string;
447
447
  classDetail: (id: string) => string;
448
- studentClassDetail: (id: string) => string;
449
448
  programDetail: (id: string, tab: PROGRAM_DETAIL_TABS) => string;
450
449
  classDetailReport: (classId: string, reportId: string) => string;
451
450
  };
package/dist/index.d.ts CHANGED
@@ -445,7 +445,6 @@ declare const COMMON_ROUTES: {
445
445
  registeredProgram: string;
446
446
  studentClassList: string;
447
447
  classDetail: (id: string) => string;
448
- studentClassDetail: (id: string) => string;
449
448
  programDetail: (id: string, tab: PROGRAM_DETAIL_TABS) => string;
450
449
  classDetailReport: (classId: string, reportId: string) => string;
451
450
  };
package/dist/index.mjs CHANGED
@@ -171,10 +171,7 @@ var COMMON_ROUTES = {
171
171
  registeredProgram: "/registered-program",
172
172
  studentClassList: "/student-class",
173
173
  classDetail: (id) => {
174
- return `/class-detail/${id}`;
175
- },
176
- studentClassDetail: (id) => {
177
- return `/student-class-detail/${id}`;
174
+ return `${URL_CLASS_DETAIL}/${id}`;
178
175
  },
179
176
  programDetail: (id, tab) => {
180
177
  if (tab) return `/program-detail/${id}?tab=${tab}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.4.87",
3
+ "version": "1.5.1",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",