@ndla/types-backend 0.2.28 → 0.2.30

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.
@@ -50,6 +50,7 @@ export interface IFolder {
50
50
  updated: string;
51
51
  shared?: string;
52
52
  description?: string;
53
+ owner?: IOwner;
53
54
  }
54
55
  export type IFolderData = IFolder;
55
56
  export interface IIntroduction {
@@ -148,12 +149,24 @@ export interface IMessage {
148
149
  message: string;
149
150
  date: string;
150
151
  }
152
+ export interface IMyNDLAGroup {
153
+ id: string;
154
+ displayName: string;
155
+ isPrimarySchool: boolean;
156
+ parentId?: string;
157
+ }
151
158
  export interface IMyNDLAUser {
152
159
  id: number;
160
+ feideId: string;
161
+ username: string;
162
+ email: string;
163
+ displayName: string;
153
164
  favoriteSubjects: string[];
154
165
  role: string;
155
166
  organization: string;
167
+ groups: IMyNDLAGroup[];
156
168
  arenaEnabled: boolean;
169
+ shareName: boolean;
157
170
  }
158
171
  export interface INewFolder {
159
172
  name: string;
@@ -167,6 +180,9 @@ export interface INewResource {
167
180
  tags?: string[];
168
181
  resourceId: string;
169
182
  }
183
+ export interface IOwner {
184
+ name: string;
185
+ }
170
186
  export interface IResource {
171
187
  id: string;
172
188
  resourceType: string;
package/package.json CHANGED
@@ -26,5 +26,5 @@
26
26
  "devDependencies": {
27
27
  "typescript": "^5.0.2"
28
28
  },
29
- "version": "0.2.28"
29
+ "version": "0.2.30"
30
30
  }