@mui-toolpad-extended-tuni/courses 3.0.3 → 3.1.0
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/README.md +411 -6
- package/dist/CourseTools.d.ts +1 -1
- package/dist/Forms/CourseSettings/CourseSettingsTabs.d.ts +1 -1
- package/dist/Forms/CourseSettings/tabs/EnrollmentTab.d.ts +1 -1
- package/dist/Forms/CourseSettings/tabs/StaffTab.d.ts +1 -1
- package/dist/components/ToolDisplayer/ToolCard.d.ts +1 -1
- package/dist/components/ToolDisplayer/ToolDisplayer.d.ts +1 -1
- package/dist/context/CourseMicroserviceContext.d.ts +1 -1
- package/dist/index.cjs +250 -32
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +25322 -6206
- package/dist/store/useCourseStore.d.ts +2 -2
- package/package.json +6 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fetchState } from 'mui-toolpad-extended-tuni';
|
|
1
|
+
import { fetchState } from '@mui-toolpad-extended-tuni/main';
|
|
2
2
|
export type courseRole = "student" | "teacher" | "guest";
|
|
3
3
|
export type visibilityMode = "public" | "enrolled" | "private";
|
|
4
4
|
export type courseEventType = "lecture" | "exercise" | "exam" | "deadline" | "other";
|
|
@@ -142,5 +142,5 @@ interface CourseStore {
|
|
|
142
142
|
* - Updated Course interface requires code and instance fields
|
|
143
143
|
* - Changed course identification logic to use code + instance
|
|
144
144
|
*/
|
|
145
|
-
declare const useCourseStore: import('zustand/traditional').UseBoundStoreWithEqualityFn<import('zustand
|
|
145
|
+
declare const useCourseStore: import('zustand/traditional').UseBoundStoreWithEqualityFn<import('zustand').StoreApi<CourseStore>>;
|
|
146
146
|
export default useCourseStore;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui-toolpad-extended-tuni/courses",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Courses microservice for MUI Toolpad Extended TUNI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"dev": "vite build --watch"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"mui-toolpad-extended-tuni": "^3.
|
|
39
|
+
"@mui-toolpad-extended-tuni/core": "^3.2.0",
|
|
40
|
+
"@mui-toolpad-extended-tuni/main": "^3.4.0",
|
|
40
41
|
"@emotion/react": "^11.0.0",
|
|
41
42
|
"@emotion/styled": "^11.0.0",
|
|
42
43
|
"@mui/icons-material": "^7.0.0",
|
|
@@ -47,6 +48,8 @@
|
|
|
47
48
|
"react-router-dom": "^7.0.0",
|
|
48
49
|
"axios": "^1.7.0",
|
|
49
50
|
"zustand": "^4.5.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@mui-toolpad-extended-tuni/main": "^3.4.0"
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
|
-
|