@eeplatform/basic-edu 1.10.40 → 1.10.41
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/CHANGELOG.md +6 -0
- package/dist/index.js +12 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -35222,12 +35222,11 @@ function useSchoolService() {
|
|
|
35222
35222
|
const roleName = "Admin";
|
|
35223
35223
|
const roleId = await addRole(
|
|
35224
35224
|
{
|
|
35225
|
-
id,
|
|
35226
|
-
|
|
35225
|
+
org: id,
|
|
35226
|
+
app: roleType,
|
|
35227
35227
|
name: roleName,
|
|
35228
35228
|
permissions: ["*"],
|
|
35229
|
-
status: "active"
|
|
35230
|
-
default: true
|
|
35229
|
+
status: "active"
|
|
35231
35230
|
},
|
|
35232
35231
|
session
|
|
35233
35232
|
);
|
|
@@ -35280,12 +35279,11 @@ function useSchoolService() {
|
|
|
35280
35279
|
const roleName = "Admin";
|
|
35281
35280
|
const roleId = await addRole(
|
|
35282
35281
|
{
|
|
35283
|
-
|
|
35284
|
-
|
|
35282
|
+
org: schoolId.toString(),
|
|
35283
|
+
app: roleType,
|
|
35285
35284
|
name: roleName,
|
|
35286
35285
|
permissions: ["*"],
|
|
35287
|
-
status: "active"
|
|
35288
|
-
default: true
|
|
35286
|
+
status: "active"
|
|
35289
35287
|
},
|
|
35290
35288
|
session
|
|
35291
35289
|
);
|
|
@@ -35440,12 +35438,11 @@ ${errors.slice(0, 5).join("\n")}${errors.length > 5 ? `
|
|
|
35440
35438
|
const schoolId = await addSchool(school, session, false);
|
|
35441
35439
|
await addRole(
|
|
35442
35440
|
{
|
|
35443
|
-
|
|
35444
|
-
|
|
35441
|
+
org: schoolId.toString(),
|
|
35442
|
+
app: "basic-edu-school",
|
|
35445
35443
|
name: "Admin",
|
|
35446
35444
|
permissions: ["*"],
|
|
35447
|
-
status: "active"
|
|
35448
|
-
default: true
|
|
35445
|
+
status: "active"
|
|
35449
35446
|
},
|
|
35450
35447
|
session,
|
|
35451
35448
|
false
|
|
@@ -36924,12 +36921,11 @@ function useDivisionService() {
|
|
|
36924
36921
|
const division = await _add(value, session);
|
|
36925
36922
|
await addRole(
|
|
36926
36923
|
{
|
|
36927
|
-
|
|
36924
|
+
org: division.toString(),
|
|
36928
36925
|
name: "Admin",
|
|
36929
|
-
|
|
36926
|
+
app: "basic-edu-sdo",
|
|
36930
36927
|
permissions: ["*"],
|
|
36931
|
-
status: "active"
|
|
36932
|
-
default: true
|
|
36928
|
+
status: "active"
|
|
36933
36929
|
},
|
|
36934
36930
|
session
|
|
36935
36931
|
);
|