@mui-toolpad-extended-tuni/users 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 +330 -9
- package/dist/index.cjs +226 -8
- package/dist/index.d.ts +3 -1
- package/dist/index.es.js +19145 -667
- package/dist/network/users.d.ts +1 -1
- package/dist/store/useUserStore.d.ts +2 -2
- package/package.json +12 -4
package/dist/network/users.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UserData } from 'mui-toolpad-extended-tuni';
|
|
1
|
+
import { UserData } from '@mui-toolpad-extended-tuni/main';
|
|
2
2
|
export declare const getCurrentUser: () => Promise<UserData>;
|
|
3
3
|
export declare const getUsers: (courseId?: string) => Promise<UserData[]>;
|
|
4
4
|
export declare const createUser: (userData: Partial<UserData>) => Promise<UserData>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { fetchState, UserData } from 'mui-toolpad-extended-tuni';
|
|
2
|
-
export type { UserData, PlatformRole, userId, navigationTypes, gender } from 'mui-toolpad-extended-tuni';
|
|
1
|
+
import { fetchState, UserData } from '@mui-toolpad-extended-tuni/main';
|
|
2
|
+
export type { UserData, PlatformRole, userId, navigationTypes, gender } from '@mui-toolpad-extended-tuni/main';
|
|
3
3
|
export interface UserState {
|
|
4
4
|
fetchState: fetchState;
|
|
5
5
|
user: UserData | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui-toolpad-extended-tuni/users",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Users microservice for MUI Toolpad Extended TUNI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -30,21 +30,29 @@
|
|
|
30
30
|
"users"
|
|
31
31
|
],
|
|
32
32
|
"license": "MIT",
|
|
33
|
-
"sideEffects": [
|
|
33
|
+
"sideEffects": [
|
|
34
|
+
"./dist/index.es.js",
|
|
35
|
+
"./dist/index.cjs",
|
|
36
|
+
"./dist/configureUserBus.js"
|
|
37
|
+
],
|
|
34
38
|
"scripts": {
|
|
35
39
|
"build": "tsc --skipLibCheck && vite build",
|
|
36
40
|
"dev": "vite build --watch"
|
|
37
41
|
},
|
|
38
42
|
"peerDependencies": {
|
|
39
|
-
"mui-toolpad-extended-tuni": "^3.0.0",
|
|
40
43
|
"@emotion/react": "^11.0.0",
|
|
41
44
|
"@emotion/styled": "^11.0.0",
|
|
45
|
+
"@mui-toolpad-extended-tuni/core": "^3.2.0",
|
|
46
|
+
"@mui-toolpad-extended-tuni/main": "^3.4.0",
|
|
42
47
|
"@mui/icons-material": "^7.0.0",
|
|
43
48
|
"@mui/material": "^7.0.0",
|
|
49
|
+
"axios": "^1.7.0",
|
|
44
50
|
"react": "^19.0.0",
|
|
45
51
|
"react-dom": "^19.0.0",
|
|
46
52
|
"react-router-dom": "^7.0.0",
|
|
47
|
-
"axios": "^1.7.0",
|
|
48
53
|
"zustand": "^4.5.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@mui-toolpad-extended-tuni/main": "^3.4.0"
|
|
49
57
|
}
|
|
50
58
|
}
|