@ndla/types-backend 1.0.25 → 1.0.26

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.
@@ -41,7 +41,7 @@ export interface IMyNDLAUserDTO {
41
41
  email: string;
42
42
  displayName: string;
43
43
  favoriteSubjects: string[];
44
- role: string;
44
+ role: UserRole;
45
45
  organization: string;
46
46
  groups: IMyNDLAGroupDTO[];
47
47
  arenaEnabled: boolean;
@@ -112,3 +112,4 @@ export interface IUserFolderDTO {
112
112
  sharedFolders: IFolderDTO[];
113
113
  }
114
114
  export type ResourceType = ("article" | "audio" | "concept" | "image" | "learningpath" | "multidisciplinary" | "topic" | "video");
115
+ export type UserRole = ("employee" | "student");
package/package.json CHANGED
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.3.3"
29
29
  },
30
- "version": "1.0.25"
30
+ "version": "1.0.26"
31
31
  }