@asaleh37/ui-base 25.9.24-1 → 25.9.24-2
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/layout/TopBar.tsx +1 -1
- package/src/main.tsx +1 -1
- package/src/redux/features/administration/AdministrationStoresMetaData.ts +7 -0
- package/vite.config.ts +1 -1
package/package.json
CHANGED
package/src/layout/TopBar.tsx
CHANGED
package/src/main.tsx
CHANGED
|
@@ -3,7 +3,7 @@ import { BaseApp } from "./components";
|
|
|
3
3
|
|
|
4
4
|
createRoot(document.getElementById("root")!).render(
|
|
5
5
|
<BaseApp
|
|
6
|
-
apiBaseUrl="http://
|
|
6
|
+
apiBaseUrl="http://localhost:8080/api-base"
|
|
7
7
|
enableUINotifications={false}
|
|
8
8
|
appLogo={"/logo.png"}
|
|
9
9
|
appName="UI Base Library"
|
|
@@ -28,6 +28,7 @@ export const ADMINISTRATION_STORES: CommonStores = {
|
|
|
28
28
|
SystemWorkflows: {
|
|
29
29
|
autoLoad: true,
|
|
30
30
|
url: "api/v1/dev/workflowdocument/all",
|
|
31
|
+
authority: "DEVELOPMENT_ADMIN",
|
|
31
32
|
data: [],
|
|
32
33
|
},
|
|
33
34
|
SystemWidgetTypes: {
|
|
@@ -67,26 +68,31 @@ export const ADMINISTRATION_STORES: CommonStores = {
|
|
|
67
68
|
},
|
|
68
69
|
SystemOrganizationRanks: {
|
|
69
70
|
autoLoad: true,
|
|
71
|
+
authority: "SYSTEM_ADMIN",
|
|
70
72
|
url: "api/v1/public/organization/ranks/all",
|
|
71
73
|
data: [],
|
|
72
74
|
},
|
|
73
75
|
CurrentOrganizationRanks: {
|
|
74
76
|
autoLoad: true,
|
|
77
|
+
authority: "SYSTEM_ADMIN",
|
|
75
78
|
url: "api/v1/public/organizationrank/all",
|
|
76
79
|
data: [],
|
|
77
80
|
},
|
|
78
81
|
SystemOrganizationUnits: {
|
|
79
82
|
autoLoad: true,
|
|
83
|
+
authority: "SYSTEM_ADMIN",
|
|
80
84
|
url: "api/v1/public/organization/units/all",
|
|
81
85
|
data: [],
|
|
82
86
|
},
|
|
83
87
|
CurrentOrganizationUnits: {
|
|
84
88
|
autoLoad: true,
|
|
89
|
+
authority: "SYSTEM_ADMIN",
|
|
85
90
|
url: "api/v1/public/organizationunit/all",
|
|
86
91
|
data: [],
|
|
87
92
|
},
|
|
88
93
|
SystemOrganizationUnitType: {
|
|
89
94
|
autoLoad: true,
|
|
95
|
+
authority: "SYSTEM_ADMIN",
|
|
90
96
|
url: "api/v1/public/organizationunittype/all",
|
|
91
97
|
data: [],
|
|
92
98
|
},
|
|
@@ -153,6 +159,7 @@ export const ADMINISTRATION_STORES: CommonStores = {
|
|
|
153
159
|
persons: {
|
|
154
160
|
autoLoad: true,
|
|
155
161
|
data: [],
|
|
162
|
+
authority: "SYSTEM_ADMIN",
|
|
156
163
|
url: "api/v1/public/person/all",
|
|
157
164
|
},
|
|
158
165
|
};
|