@appcorp/fusion-storybook 0.2.46 → 0.2.47

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.
@@ -10,6 +10,7 @@ import { ATTENDANCE_STATUS } from "../../type";
10
10
  export declare const pageLimit: number;
11
11
  export declare const ATTENDANCE_API_ROUTES: {
12
12
  readonly UNIT: "/api/v1/attendance";
13
+ readonly STUDENT_PROFILE: "/api/v1/student-profile";
13
14
  };
14
15
  export declare const ATTENDANCE_STATUS_OPTIONS: {
15
16
  label: string;
@@ -16,6 +16,7 @@ export const pageLimit = Number(process.env.NEXT_PUBLIC_PAGE_LIMIT) || 10;
16
16
  // ============================================================================
17
17
  export const ATTENDANCE_API_ROUTES = {
18
18
  UNIT: "/api/v1/attendance",
19
+ STUDENT_PROFILE: "/api/v1/student-profile",
19
20
  };
20
21
  // ============================================================================
21
22
  // STATUS OPTIONS
@@ -56,7 +56,7 @@ export const AttendanceForm = () => {
56
56
  }),
57
57
  placeholder: t("formStudentProfilePlaceholder"),
58
58
  required: true,
59
- searchEndpoint: ATTENDANCE_API_ROUTES.UNIT,
59
+ searchEndpoint: ATTENDANCE_API_ROUTES.STUDENT_PROFILE,
60
60
  searchPlaceholder: t("formSearchStatusPlaceholder"),
61
61
  emptyText: t("formNoStatusEmpty"),
62
62
  value: status,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/fusion-storybook",
3
- "version": "0.2.46",
3
+ "version": "0.2.47",
4
4
  "scripts": {
5
5
  "build-storybook": "storybook build",
6
6
  "build:next": "next build",