@eeplatform/basic-edu 1.10.40 → 1.10.42

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @eeplatform/basic-edu
2
2
 
3
+ ## 1.10.42
4
+
5
+ ### Patch Changes
6
+
7
+ - ede67a3: Update dependencies
8
+
9
+ ## 1.10.41
10
+
11
+ ### Patch Changes
12
+
13
+ - e72b0b8: Update dependencies
14
+
3
15
  ## 1.10.40
4
16
 
5
17
  ### Patch Changes
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
- type: roleType,
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
  );
@@ -35246,7 +35245,7 @@ function useSchoolService() {
35246
35245
  name: `${user.firstName} ${user.lastName}`,
35247
35246
  role: roleId.toString(),
35248
35247
  roleName,
35249
- type: roleType
35248
+ app: roleType
35250
35249
  },
35251
35250
  session
35252
35251
  );
@@ -35280,12 +35279,11 @@ function useSchoolService() {
35280
35279
  const roleName = "Admin";
35281
35280
  const roleId = await addRole(
35282
35281
  {
35283
- id: schoolId.toString(),
35284
- type: roleType,
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
  );
@@ -35304,7 +35302,7 @@ function useSchoolService() {
35304
35302
  name: `${user.firstName} ${user.lastName}`,
35305
35303
  role: roleId.toString(),
35306
35304
  roleName,
35307
- type: roleType
35305
+ app: roleType
35308
35306
  },
35309
35307
  session
35310
35308
  );
@@ -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
- id: schoolId.toString(),
35444
- type: "basic-edu-school",
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
- id: division.toString(),
36924
+ org: division.toString(),
36928
36925
  name: "Admin",
36929
- type: "basic-edu-sdo",
36926
+ app: "basic-edu-sdo",
36930
36927
  permissions: ["*"],
36931
- status: "active",
36932
- default: true
36928
+ status: "active"
36933
36929
  },
36934
36930
  session
36935
36931
  );