@ndla/types-backend 0.2.30 → 0.2.32

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.
@@ -22,6 +22,7 @@ export interface IConcept {
22
22
  responsible?: IConceptResponsible;
23
23
  conceptType: string;
24
24
  glossData?: IGlossData;
25
+ editorNotes?: IEditorNote[];
25
26
  }
26
27
  export interface IConceptContent {
27
28
  content: string;
@@ -116,6 +117,12 @@ export interface IDraftCopyright {
116
117
  validTo?: string;
117
118
  processed: boolean;
118
119
  }
120
+ export interface IEditorNote {
121
+ note: string;
122
+ updatedBy: string;
123
+ status: IStatus;
124
+ timestamp: string;
125
+ }
119
126
  export interface IGlossData {
120
127
  gloss: string;
121
128
  wordClass: string;
@@ -0,0 +1,82 @@
1
+ export interface IBreadcrumb {
2
+ id: string;
3
+ name: string;
4
+ }
5
+ export interface IConfigMeta {
6
+ key: string;
7
+ value: (boolean | string[]);
8
+ updatedAt: string;
9
+ updatedBy: string;
10
+ }
11
+ export interface IConfigMetaRestricted {
12
+ key: string;
13
+ value: (boolean | string[]);
14
+ }
15
+ export interface IFolder {
16
+ id: string;
17
+ name: string;
18
+ status: string;
19
+ parentId?: string;
20
+ breadcrumbs: IBreadcrumb[];
21
+ subfolders: IFolderData[];
22
+ resources: IResource[];
23
+ rank?: number;
24
+ created: string;
25
+ updated: string;
26
+ shared?: string;
27
+ description?: string;
28
+ owner?: IOwner;
29
+ }
30
+ export type IFolderData = IFolder;
31
+ export interface IMyNDLAGroup {
32
+ id: string;
33
+ displayName: string;
34
+ isPrimarySchool: boolean;
35
+ parentId?: string;
36
+ }
37
+ export interface IMyNDLAUser {
38
+ id: number;
39
+ feideId: string;
40
+ username: string;
41
+ email: string;
42
+ displayName: string;
43
+ favoriteSubjects: string[];
44
+ role: string;
45
+ organization: string;
46
+ groups: IMyNDLAGroup[];
47
+ arenaEnabled: boolean;
48
+ shareName: boolean;
49
+ }
50
+ export interface INewFolder {
51
+ name: string;
52
+ parentId?: string;
53
+ status?: string;
54
+ description?: string;
55
+ }
56
+ export interface INewResource {
57
+ resourceType: string;
58
+ path: string;
59
+ tags?: string[];
60
+ resourceId: string;
61
+ }
62
+ export interface IOwner {
63
+ name: string;
64
+ }
65
+ export interface IResource {
66
+ id: string;
67
+ resourceType: string;
68
+ path: string;
69
+ created: string;
70
+ tags: string[];
71
+ resourceId: string;
72
+ rank?: number;
73
+ }
74
+ export interface IUpdatedFolder {
75
+ name?: string;
76
+ status?: string;
77
+ description?: string;
78
+ }
79
+ export interface IUpdatedResource {
80
+ tags?: string[];
81
+ resourceId?: string;
82
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // DO NOT EDIT: generated file by scala-tsi
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=myndla-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"myndla-api.js","sourceRoot":"","sources":["../myndla-api.ts"],"names":[],"mappings":";AAAA,2CAA2C"}
package/package.json CHANGED
@@ -26,5 +26,5 @@
26
26
  "devDependencies": {
27
27
  "typescript": "^5.0.2"
28
28
  },
29
- "version": "0.2.30"
29
+ "version": "0.2.32"
30
30
  }