placementt-core 1.400.472 → 1.400.474

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/lib/config.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore<import("@reduxjs/toolkit").EmptyObject & {
1
+ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
2
2
  upcomingStudentPlacements: import("./features/placements/studentPlacements/upcomingStudentPlacementsSlice").UpcomingPlacementState;
3
3
  completedStudentPlacements: import("./features/placements/types").PlacementState;
4
4
  contacts: {
@@ -25,34 +25,36 @@ export declare const store: import("@reduxjs/toolkit/dist/configureStore").Toolk
25
25
  [key: string]: import("@firebase/firestore").DocumentData;
26
26
  };
27
27
  };
28
- } & import("redux-persist/es/persistReducer").PersistPartial, import("@reduxjs/toolkit").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<[import("@reduxjs/toolkit").ThunkMiddleware<import("@reduxjs/toolkit").EmptyObject & {
29
- upcomingStudentPlacements: import("./features/placements/studentPlacements/upcomingStudentPlacementsSlice").UpcomingPlacementState;
30
- completedStudentPlacements: import("./features/placements/types").PlacementState;
31
- contacts: {
32
- status: string;
33
- lastContact: import("@firebase/firestore").QueryDocumentSnapshot<import("@firebase/firestore").DocumentData> | undefined;
34
- values: {
35
- [key: string]: {
36
- [key: string]: unknown;
28
+ } & import("redux-persist/es/persistReducer").PersistPartial, import("redux").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
29
+ dispatch: import("redux-thunk").ThunkDispatch<{
30
+ upcomingStudentPlacements: import("./features/placements/studentPlacements/upcomingStudentPlacementsSlice").UpcomingPlacementState;
31
+ completedStudentPlacements: import("./features/placements/types").PlacementState;
32
+ contacts: {
33
+ status: string;
34
+ lastContact: import("@firebase/firestore").QueryDocumentSnapshot<import("@firebase/firestore").DocumentData> | undefined;
35
+ values: {
36
+ [key: string]: {
37
+ [key: string]: unknown;
38
+ };
37
39
  };
38
40
  };
39
- };
40
- activePlacement: {
41
- status: string;
42
- values: import("./typeDefinitions").StudentPlacementData | undefined;
43
- };
44
- jobs: {
45
- values: {
46
- [jobId: string]: import("./features/jobs/jobsSlice").Job;
41
+ activePlacement: {
42
+ status: string;
43
+ values: import("./typeDefinitions").StudentPlacementData | undefined;
47
44
  };
48
- };
49
- logs: {
50
- status: string;
51
- values: {
52
- [key: string]: import("@firebase/firestore").DocumentData;
45
+ jobs: {
46
+ values: {
47
+ [jobId: string]: import("./features/jobs/jobsSlice").Job;
48
+ };
53
49
  };
54
- };
55
- } & import("redux-persist/es/persistReducer").PersistPartial, import("@reduxjs/toolkit").AnyAction>]>>;
50
+ logs: {
51
+ status: string;
52
+ values: {
53
+ [key: string]: import("@firebase/firestore").DocumentData;
54
+ };
55
+ };
56
+ } & import("redux-persist/es/persistReducer").PersistPartial, undefined, import("redux").UnknownAction>;
57
+ }>, import("redux").StoreEnhancer]>>;
56
58
  export type RootStateType = ReturnType<typeof store.getState>;
57
59
  export type RootState = {
58
60
  upcomingStudentPlacements: RootStateType["upcomingStudentPlacements"];
@@ -11,71 +11,35 @@ type InitialContactState = {
11
11
  };
12
12
  export declare const fetchContacts: import("@reduxjs/toolkit").AsyncThunk<QuerySnapshot<DocumentData>, {
13
13
  formattedConstraints?: QueryConstraint | QueryConstraint[];
14
- }, {
15
- state?: unknown;
16
- dispatch?: import("@reduxjs/toolkit").Dispatch;
17
- extra?: unknown;
18
- rejectValue?: unknown;
19
- serializedErrorType?: unknown;
20
- pendingMeta?: unknown;
21
- fulfilledMeta?: unknown;
22
- rejectedMeta?: unknown;
23
- }>;
14
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
24
15
  export declare const addContact: import("@reduxjs/toolkit").AsyncThunk<Contact, {
25
16
  contactForm: Contact;
26
17
  userId: string;
27
- }, {
28
- state?: unknown;
29
- dispatch?: import("@reduxjs/toolkit").Dispatch;
30
- extra?: unknown;
31
- rejectValue?: unknown;
32
- serializedErrorType?: unknown;
33
- pendingMeta?: unknown;
34
- fulfilledMeta?: unknown;
35
- rejectedMeta?: unknown;
36
- }>;
18
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
37
19
  export declare const updateContact: import("@reduxjs/toolkit").AsyncThunk<{
38
20
  contactId: string;
39
21
  attributes: any;
40
22
  }, {
41
23
  contactId: string;
42
24
  attributes: any;
43
- }, {
44
- state?: unknown;
45
- dispatch?: import("@reduxjs/toolkit").Dispatch;
46
- extra?: unknown;
47
- rejectValue?: unknown;
48
- serializedErrorType?: unknown;
49
- pendingMeta?: unknown;
50
- fulfilledMeta?: unknown;
51
- rejectedMeta?: unknown;
52
- }>;
25
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
53
26
  export declare const deleteContact: import("@reduxjs/toolkit").AsyncThunk<string, {
54
27
  contactId: string;
55
- }, {
56
- state?: unknown;
57
- dispatch?: import("@reduxjs/toolkit").Dispatch;
58
- extra?: unknown;
59
- rejectValue?: unknown;
60
- serializedErrorType?: unknown;
61
- pendingMeta?: unknown;
62
- fulfilledMeta?: unknown;
63
- rejectedMeta?: unknown;
64
- }>;
28
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
65
29
  export declare const contactsSlice: import("@reduxjs/toolkit").Slice<InitialContactState, {
66
- setContacts: (state: import("immer/dist/internal").WritableDraft<InitialContactState>, action: {
30
+ setContacts: (state: import("immer").WritableDraft<InitialContactState>, action: {
67
31
  payload: any;
68
32
  type: string;
69
33
  }) => void;
70
- addContacts: (state: import("immer/dist/internal").WritableDraft<InitialContactState>, action: {
34
+ addContacts: (state: import("immer").WritableDraft<InitialContactState>, action: {
71
35
  payload: any;
72
36
  type: string;
73
37
  }) => void;
74
- setLastContact: (state: import("immer/dist/internal").WritableDraft<InitialContactState>, action: {
38
+ setLastContact: (state: import("immer").WritableDraft<InitialContactState>, action: {
75
39
  payload: any;
76
40
  type: string;
77
41
  }) => void;
78
- }, "contacts">;
42
+ }, "contacts", "contacts", import("@reduxjs/toolkit").SliceSelectors<InitialContactState>>;
79
43
  export declare const setContacts: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "contacts/setContacts">, setLastContact: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "contacts/setLastContact">, addContacts: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "contacts/addContacts">;
80
- declare const _default: import("@reduxjs/toolkit").Reducer<InitialContactState>;
44
+ declare const _default: import("redux").Reducer<InitialContactState>;
81
45
  export default _default;
@@ -24,27 +24,27 @@ type InitialJobState = {
24
24
  };
25
25
  };
26
26
  export declare const JobsSlice: import("@reduxjs/toolkit").Slice<InitialJobState, {
27
- setJobs: (state: import("immer/dist/internal").WritableDraft<InitialJobState>, action: {
27
+ setJobs: (state: import("immer").WritableDraft<InitialJobState>, action: {
28
28
  payload: any;
29
29
  type: string;
30
30
  }) => void;
31
- addJob: (state: import("immer/dist/internal").WritableDraft<InitialJobState>, action: {
31
+ addJob: (state: import("immer").WritableDraft<InitialJobState>, action: {
32
32
  payload: any;
33
33
  type: string;
34
34
  }) => void;
35
- setMarkRead: (state: import("immer/dist/internal").WritableDraft<InitialJobState>, action: {
35
+ setMarkRead: (state: import("immer").WritableDraft<InitialJobState>, action: {
36
36
  payload: any;
37
37
  type: string;
38
38
  }) => void;
39
- setJobStatus: (state: import("immer/dist/internal").WritableDraft<InitialJobState>, action: {
39
+ setJobStatus: (state: import("immer").WritableDraft<InitialJobState>, action: {
40
40
  payload: any;
41
41
  type: string;
42
42
  }) => void;
43
- updateJob: (state: import("immer/dist/internal").WritableDraft<InitialJobState>, action: {
43
+ updateJob: (state: import("immer").WritableDraft<InitialJobState>, action: {
44
44
  payload: any;
45
45
  type: string;
46
46
  }) => void;
47
- }, "jobs">;
47
+ }, "jobs", "jobs", import("@reduxjs/toolkit").SliceSelectors<InitialJobState>>;
48
48
  export declare const setJobs: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "jobs/setJobs">, addJob: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "jobs/addJob">, setMarkRead: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "jobs/setMarkRead">, setJobStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "jobs/setJobStatus">, updateJob: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "jobs/updateJob">;
49
- declare const _default: import("@reduxjs/toolkit").Reducer<InitialJobState>;
49
+ declare const _default: import("redux").Reducer<InitialJobState>;
50
50
  export default _default;
@@ -11,16 +11,7 @@ export declare const fetchLogs: import("@reduxjs/toolkit").AsyncThunk<{
11
11
  }, {
12
12
  placementId: string;
13
13
  selectedDate: string;
14
- }, {
15
- state?: unknown;
16
- dispatch?: import("@reduxjs/toolkit").Dispatch;
17
- extra?: unknown;
18
- rejectValue?: unknown;
19
- serializedErrorType?: unknown;
20
- pendingMeta?: unknown;
21
- fulfilledMeta?: unknown;
22
- rejectedMeta?: unknown;
23
- }>;
14
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
24
15
  export declare const editLog: import("@reduxjs/toolkit").AsyncThunk<{
25
16
  data: unknown;
26
17
  selectedDate: string;
@@ -32,16 +23,7 @@ export declare const editLog: import("@reduxjs/toolkit").AsyncThunk<{
32
23
  selectedDate: string;
33
24
  userType: string;
34
25
  placementId: string;
35
- }, {
36
- state?: unknown;
37
- dispatch?: import("@reduxjs/toolkit").Dispatch;
38
- extra?: unknown;
39
- rejectValue?: unknown;
40
- serializedErrorType?: unknown;
41
- pendingMeta?: unknown;
42
- fulfilledMeta?: unknown;
43
- rejectedMeta?: unknown;
44
- }>;
26
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
45
27
  export declare const addLogFile: import("@reduxjs/toolkit").AsyncThunk<{
46
28
  data: string[];
47
29
  userType: string;
@@ -53,16 +35,7 @@ export declare const addLogFile: import("@reduxjs/toolkit").AsyncThunk<{
53
35
  userType: string;
54
36
  selectedDate: string;
55
37
  placementId: string;
56
- }, {
57
- state?: unknown;
58
- dispatch?: import("@reduxjs/toolkit").Dispatch;
59
- extra?: unknown;
60
- rejectValue?: unknown;
61
- serializedErrorType?: unknown;
62
- pendingMeta?: unknown;
63
- fulfilledMeta?: unknown;
64
- rejectedMeta?: unknown;
65
- }>;
38
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
66
39
  export declare const deleteLogFile: import("@reduxjs/toolkit").AsyncThunk<{
67
40
  openFile: {
68
41
  name: string;
@@ -78,16 +51,7 @@ export declare const deleteLogFile: import("@reduxjs/toolkit").AsyncThunk<{
78
51
  userType: string;
79
52
  selectedDate: string;
80
53
  placementId: string;
81
- }, {
82
- state?: unknown;
83
- dispatch?: import("@reduxjs/toolkit").Dispatch;
84
- extra?: unknown;
85
- rejectValue?: unknown;
86
- serializedErrorType?: unknown;
87
- pendingMeta?: unknown;
88
- fulfilledMeta?: unknown;
89
- rejectedMeta?: unknown;
90
- }>;
91
- export declare const logsSlice: import("@reduxjs/toolkit").Slice<InitialLogsState, {}, "logs">;
92
- declare const _default: import("@reduxjs/toolkit").Reducer<InitialLogsState>;
54
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
55
+ export declare const logsSlice: import("@reduxjs/toolkit").Slice<InitialLogsState, {}, "logs", "logs", import("@reduxjs/toolkit").SliceSelectors<InitialLogsState>>;
56
+ declare const _default: import("redux").Reducer<InitialLogsState>;
93
57
  export default _default;
@@ -5,26 +5,17 @@ type InitialActivePlacementSlice = {
5
5
  };
6
6
  export declare const fetchActivePlacement: import("@reduxjs/toolkit").AsyncThunk<StudentPlacementData | undefined, {
7
7
  userId: string;
8
- }, {
9
- state?: unknown;
10
- dispatch?: import("@reduxjs/toolkit").Dispatch;
11
- extra?: unknown;
12
- rejectValue?: unknown;
13
- serializedErrorType?: unknown;
14
- pendingMeta?: unknown;
15
- fulfilledMeta?: unknown;
16
- rejectedMeta?: unknown;
17
- }>;
8
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
18
9
  export declare const activePlacementSlice: import("@reduxjs/toolkit").Slice<InitialActivePlacementSlice, {
19
- setActivePlacement: (state: import("immer/dist/internal").WritableDraft<InitialActivePlacementSlice>, action: {
10
+ setActivePlacement: (state: import("immer").WritableDraft<InitialActivePlacementSlice>, action: {
20
11
  payload: any;
21
12
  type: string;
22
13
  }) => void;
23
- editActivePlacement: (state: import("immer/dist/internal").WritableDraft<InitialActivePlacementSlice>, action: {
14
+ editActivePlacement: (state: import("immer").WritableDraft<InitialActivePlacementSlice>, action: {
24
15
  payload: any;
25
16
  type: string;
26
17
  }) => void;
27
- }, "activePlacement">;
18
+ }, "activePlacement", "activePlacement", import("@reduxjs/toolkit").SliceSelectors<InitialActivePlacementSlice>>;
28
19
  export declare const setActivePlacement: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "activePlacement/setActivePlacement">, editActivePlacement: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "activePlacement/editActivePlacement">;
29
- declare const _default: import("@reduxjs/toolkit").Reducer<InitialActivePlacementSlice>;
20
+ declare const _default: import("redux").Reducer<InitialActivePlacementSlice>;
30
21
  export default _default;
@@ -6,54 +6,36 @@ export declare const updateCompletedStudentPlacement: import("@reduxjs/toolkit")
6
6
  }, {
7
7
  placementId: string;
8
8
  attributes: Partial<StudentPlacementData>;
9
- }, {
10
- state?: unknown;
11
- dispatch?: import("@reduxjs/toolkit").Dispatch;
12
- extra?: unknown;
13
- rejectValue?: unknown;
14
- serializedErrorType?: unknown;
15
- pendingMeta?: unknown;
16
- fulfilledMeta?: unknown;
17
- rejectedMeta?: unknown;
18
- }>;
9
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
19
10
  export declare const deleteCompletedStudentPlacement: import("@reduxjs/toolkit").AsyncThunk<string, {
20
11
  placementId: string;
21
- }, {
22
- state?: unknown;
23
- dispatch?: import("@reduxjs/toolkit").Dispatch;
24
- extra?: unknown;
25
- rejectValue?: unknown;
26
- serializedErrorType?: unknown;
27
- pendingMeta?: unknown;
28
- fulfilledMeta?: unknown;
29
- rejectedMeta?: unknown;
30
- }>;
12
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
31
13
  export declare const completedStudentPlacementsSlice: import("@reduxjs/toolkit").Slice<PlacementState, {
32
- setCompletedStudentPlacements: (state: import("immer/dist/internal").WritableDraft<PlacementState>, action: {
14
+ setCompletedStudentPlacements: (state: import("immer").WritableDraft<PlacementState>, action: {
33
15
  payload: any;
34
16
  type: string;
35
17
  }) => void;
36
- setCompletedStatus: (state: import("immer/dist/internal").WritableDraft<PlacementState>, action: {
18
+ setCompletedStatus: (state: import("immer").WritableDraft<PlacementState>, action: {
37
19
  payload: any;
38
20
  type: string;
39
21
  }) => void;
40
- addCompletedStudentPlacements: (state: import("immer/dist/internal").WritableDraft<PlacementState>, action: {
22
+ addCompletedStudentPlacements: (state: import("immer").WritableDraft<PlacementState>, action: {
41
23
  payload: any;
42
24
  type: string;
43
25
  }) => void;
44
- setCompletedIsDraft: (state: import("immer/dist/internal").WritableDraft<PlacementState>, action: {
26
+ setCompletedIsDraft: (state: import("immer").WritableDraft<PlacementState>, action: {
45
27
  payload: any;
46
28
  type: string;
47
29
  }) => void;
48
- addCompletedStudentPlacement: (state: import("immer/dist/internal").WritableDraft<PlacementState>, action: {
30
+ addCompletedStudentPlacement: (state: import("immer").WritableDraft<PlacementState>, action: {
49
31
  payload: any;
50
32
  type: string;
51
33
  }) => void;
52
- setLastCompletedPlacement: (state: import("immer/dist/internal").WritableDraft<PlacementState>, action: {
34
+ setLastCompletedPlacement: (state: import("immer").WritableDraft<PlacementState>, action: {
53
35
  payload: any;
54
36
  type: string;
55
37
  }) => void;
56
- }, "completedStudentPlacements">;
38
+ }, "completedStudentPlacements", "completedStudentPlacements", import("@reduxjs/toolkit").SliceSelectors<PlacementState>>;
57
39
  export declare const addCompletedStudentPlacements: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "completedStudentPlacements/addCompletedStudentPlacements">, addCompletedStudentPlacement: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "completedStudentPlacements/addCompletedStudentPlacement">, setCompletedStudentPlacements: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "completedStudentPlacements/setCompletedStudentPlacements">, setLastCompletedPlacement: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "completedStudentPlacements/setLastCompletedPlacement">, setCompletedStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "completedStudentPlacements/setCompletedStatus">, setCompletedIsDraft: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "completedStudentPlacements/setCompletedIsDraft">;
58
- declare const _default: import("@reduxjs/toolkit").Reducer<PlacementState>;
40
+ declare const _default: import("redux").Reducer<PlacementState>;
59
41
  export default _default;
@@ -9,58 +9,40 @@ export declare const updateUpcomingStudentPlacement: import("@reduxjs/toolkit").
9
9
  }, {
10
10
  placementId: string;
11
11
  attributes: Partial<StudentPlacementData>;
12
- }, {
13
- state?: unknown;
14
- dispatch?: import("@reduxjs/toolkit").Dispatch;
15
- extra?: unknown;
16
- rejectValue?: unknown;
17
- serializedErrorType?: unknown;
18
- pendingMeta?: unknown;
19
- fulfilledMeta?: unknown;
20
- rejectedMeta?: unknown;
21
- }>;
12
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
22
13
  export declare const deleteUpcomingStudentPlacement: import("@reduxjs/toolkit").AsyncThunk<string, {
23
14
  placementId: string;
24
- }, {
25
- state?: unknown;
26
- dispatch?: import("@reduxjs/toolkit").Dispatch;
27
- extra?: unknown;
28
- rejectValue?: unknown;
29
- serializedErrorType?: unknown;
30
- pendingMeta?: unknown;
31
- fulfilledMeta?: unknown;
32
- rejectedMeta?: unknown;
33
- }>;
15
+ }, import("@reduxjs/toolkit").AsyncThunkConfig>;
34
16
  export declare const upcomingStudentsPlacementsSlice: import("@reduxjs/toolkit").Slice<UpcomingPlacementState, {
35
- setUpcomingStudentPlacements: (state: import("immer/dist/internal").WritableDraft<UpcomingPlacementState>, action: {
17
+ setUpcomingStudentPlacements: (state: import("immer").WritableDraft<UpcomingPlacementState>, action: {
36
18
  payload: any;
37
19
  type: string;
38
20
  }) => void;
39
- setUpcomingStatus: (state: import("immer/dist/internal").WritableDraft<UpcomingPlacementState>, action: {
21
+ setUpcomingStatus: (state: import("immer").WritableDraft<UpcomingPlacementState>, action: {
40
22
  payload: any;
41
23
  type: string;
42
24
  }) => void;
43
- setUpcoming: (state: import("immer/dist/internal").WritableDraft<UpcomingPlacementState>, action: {
25
+ setUpcoming: (state: import("immer").WritableDraft<UpcomingPlacementState>, action: {
44
26
  payload: any;
45
27
  type: string;
46
28
  }) => void;
47
- setUpcomingIsDraft: (state: import("immer/dist/internal").WritableDraft<UpcomingPlacementState>, action: {
29
+ setUpcomingIsDraft: (state: import("immer").WritableDraft<UpcomingPlacementState>, action: {
48
30
  payload: any;
49
31
  type: string;
50
32
  }) => void;
51
- addUpcomingStudentPlacements: (state: import("immer/dist/internal").WritableDraft<UpcomingPlacementState>, action: {
33
+ addUpcomingStudentPlacements: (state: import("immer").WritableDraft<UpcomingPlacementState>, action: {
52
34
  payload: any;
53
35
  type: string;
54
36
  }) => void;
55
- addUpcomingStudentPlacement: (state: import("immer/dist/internal").WritableDraft<UpcomingPlacementState>, action: {
37
+ addUpcomingStudentPlacement: (state: import("immer").WritableDraft<UpcomingPlacementState>, action: {
56
38
  payload: any;
57
39
  type: string;
58
40
  }) => void;
59
- setLastUpcomingPlacement: (state: import("immer/dist/internal").WritableDraft<UpcomingPlacementState>, action: {
41
+ setLastUpcomingPlacement: (state: import("immer").WritableDraft<UpcomingPlacementState>, action: {
60
42
  payload: any;
61
43
  type: string;
62
44
  }) => void;
63
- }, "upcomingStudentsPlacements">;
45
+ }, "upcomingStudentsPlacements", "upcomingStudentsPlacements", import("@reduxjs/toolkit").SliceSelectors<UpcomingPlacementState>>;
64
46
  export declare const addUpcomingStudentPlacements: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "upcomingStudentsPlacements/addUpcomingStudentPlacements">, addUpcomingStudentPlacement: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "upcomingStudentsPlacements/addUpcomingStudentPlacement">, setUpcomingStudentPlacements: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "upcomingStudentsPlacements/setUpcomingStudentPlacements">, setLastUpcomingPlacement: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "upcomingStudentsPlacements/setLastUpcomingPlacement">, setUpcoming: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "upcomingStudentsPlacements/setUpcoming">, setUpcomingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "upcomingStudentsPlacements/setUpcomingStatus">, setUpcomingIsDraft: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "upcomingStudentsPlacements/setUpcomingIsDraft">;
65
- declare const _default: import("@reduxjs/toolkit").Reducer<UpcomingPlacementState>;
47
+ declare const _default: import("redux").Reducer<UpcomingPlacementState>;
66
48
  export default _default;
@@ -4,7 +4,7 @@ import { RootState } from "./config";
4
4
  import { Job } from "./features/jobs/jobsSlice";
5
5
  import { Address, Application, CohortData, Contact, EmailTemplate, FileItem, InstituteData, PlacementListing, ProviderData, StudentPlacementData, UserData, UserGroupData } from "./typeDefinitions";
6
6
  export declare const useAppSelector: TypedUseSelectorHook<RootState>;
7
- export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispatch<import("@reduxjs/toolkit").EmptyObject & {
7
+ export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<{
8
8
  upcomingStudentPlacements: import("./features/placements/studentPlacements/upcomingStudentPlacementsSlice").UpcomingPlacementState;
9
9
  completedStudentPlacements: import("./features/placements/types").PlacementState;
10
10
  contacts: {
@@ -31,7 +31,7 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
31
31
  [key: string]: DocumentData;
32
32
  };
33
33
  };
34
- } & import("redux-persist/es/persistReducer").PersistPartial, undefined, import("@reduxjs/toolkit").AnyAction> & import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction>;
34
+ } & import("redux-persist/es/persistReducer").PersistPartial, undefined, import("redux").UnknownAction> & import("redux").Dispatch<import("redux").UnknownAction>;
35
35
  export declare function useStudent({ user }: {
36
36
  user: UserData;
37
37
  }): {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "placementt-core",
4
4
  "author": "Placementt",
5
- "version": "1.400.472",
5
+ "version": "1.400.474",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@react-native-async-storage/async-storage": "1.23.1",
20
- "@reduxjs/toolkit": "^1.9.7",
20
+ "@reduxjs/toolkit": "^2.11.2",
21
21
  "@types/jest": "29.5.0",
22
22
  "@types/ngeohash": "0.6.4",
23
23
  "@types/scheduler": "0.26.0",
@@ -29,8 +29,8 @@
29
29
  "jspdf": "^2.5.1",
30
30
  "ngeohash": "^0.6.3",
31
31
  "path": "^0.12.7",
32
- "react": "18.2.0",
33
- "react-dom": "18.2.0",
32
+ "react": "19.2.3",
33
+ "react-dom": "19.2.3",
34
34
  "react-redux": "9.2.0",
35
35
  "redux": "^5.0.1",
36
36
  "redux-persist": "^6.0.0",