@itutoring/itutoring_application_js_api 1.2.13 → 1.2.15

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.
@@ -16,16 +16,20 @@ class AttendanceManager
16
16
  for (const [key, value] of Object.entries(data))
17
17
  {
18
18
  var atEvents = []
19
- for (const [k1, v1] of Object.entries(value))
19
+ for (const [k0, v0] of Object.entries(value))
20
20
  {
21
- var ev = new AttendanceEvent();
22
- ev.Date = v1['Date'];
23
- ev.Presence = v1['Presence'];
24
- ev.Note = v1['Note'];
25
- ev.ID = v1['ID'];
26
- ev.EventName = v1['EventName'];
27
- ev.Subject = v1['Subject'];
28
- atEvents.push(ev);
21
+ var atEventsStudent = [];
22
+ for (const [k1, v1] of Object.entries(v0))
23
+ {
24
+ var ev = new AttendanceEvent();
25
+ ev.Date = v1['Date'];
26
+ ev.Presence = v1['Presence'];
27
+ ev.Note = v1['Note'];
28
+ ev.ID = v1['ID'];
29
+ ev.EventName = v1['EventName'];
30
+ ev.Subject = v1['Subject'];
31
+ atEvents.push(ev);
32
+ }
29
33
  }
30
34
  events.push(atEvents);
31
35
  }
package/objects/Event.js CHANGED
@@ -82,6 +82,7 @@ class iEvent
82
82
  State;
83
83
  Place;
84
84
  Class;
85
+ Students;
85
86
 
86
87
 
87
88
  CreateFromJSON(json)
@@ -106,6 +107,7 @@ class iEvent
106
107
  this.State = json['State'];
107
108
  this.Class = json['Class'];
108
109
  this.Place = json['Place'];
110
+ this.Students = json['Students'];
109
111
  }
110
112
  }
111
113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.2.13",
3
+ "version": "1.2.15",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",