lamp-core-lst 2025.11.1-3.basic

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.
Files changed (130) hide show
  1. package/.github/workflows/publish.yml +34 -0
  2. package/LICENSE.md +29 -0
  3. package/MANUAL.md +26 -0
  4. package/README.md +126 -0
  5. package/cli.js +2 -0
  6. package/dist/index.d.ts +64 -0
  7. package/dist/index.js +311 -0
  8. package/dist/model/Activity.d.ts +81 -0
  9. package/dist/model/Activity.js +30 -0
  10. package/dist/model/ActivityEvent.d.ts +51 -0
  11. package/dist/model/ActivityEvent.js +21 -0
  12. package/dist/model/ActivitySpec.d.ts +38 -0
  13. package/dist/model/ActivitySpec.js +12 -0
  14. package/dist/model/Credential.d.ts +21 -0
  15. package/dist/model/Credential.js +12 -0
  16. package/dist/model/DynamicAttachment.d.ts +34 -0
  17. package/dist/model/DynamicAttachment.js +12 -0
  18. package/dist/model/Participant.d.ts +30 -0
  19. package/dist/model/Participant.js +12 -0
  20. package/dist/model/Researcher.d.ts +27 -0
  21. package/dist/model/Researcher.js +12 -0
  22. package/dist/model/ResearcherSettings.d.ts +57 -0
  23. package/dist/model/ResearcherSettings.js +12 -0
  24. package/dist/model/Sensor.d.ts +22 -0
  25. package/dist/model/Sensor.js +12 -0
  26. package/dist/model/SensorEvent.d.ts +18 -0
  27. package/dist/model/SensorEvent.js +12 -0
  28. package/dist/model/SensorSpec.d.ts +13 -0
  29. package/dist/model/SensorSpec.js +12 -0
  30. package/dist/model/Study.d.ts +24 -0
  31. package/dist/model/Study.js +12 -0
  32. package/dist/model/Type.d.ts +56 -0
  33. package/dist/model/Type.js +30 -0
  34. package/dist/model/index.d.ts +12 -0
  35. package/dist/model/index.js +24 -0
  36. package/dist/service/API.service.d.ts +12 -0
  37. package/dist/service/API.service.js +82 -0
  38. package/dist/service/Activity.service.d.ts +101 -0
  39. package/dist/service/Activity.service.js +756 -0
  40. package/dist/service/ActivityEvent.service.d.ts +46 -0
  41. package/dist/service/ActivityEvent.service.js +303 -0
  42. package/dist/service/ActivitySpec.service.d.ts +31 -0
  43. package/dist/service/ActivitySpec.service.js +173 -0
  44. package/dist/service/Credential.service.d.ts +38 -0
  45. package/dist/service/Credential.service.js +319 -0
  46. package/dist/service/Demo.d.ts +14 -0
  47. package/dist/service/Demo.js +24 -0
  48. package/dist/service/Fetch.d.ts +30 -0
  49. package/dist/service/Fetch.js +245 -0
  50. package/dist/service/Participant.service.d.ts +42 -0
  51. package/dist/service/Participant.service.js +312 -0
  52. package/dist/service/Researcher.service.d.ts +34 -0
  53. package/dist/service/Researcher.service.js +252 -0
  54. package/dist/service/ResearcherSettings.service.d.ts +16 -0
  55. package/dist/service/ResearcherSettings.service.js +114 -0
  56. package/dist/service/Sensor.service.d.ts +47 -0
  57. package/dist/service/Sensor.service.js +372 -0
  58. package/dist/service/SensorEvent.service.d.ts +44 -0
  59. package/dist/service/SensorEvent.service.js +302 -0
  60. package/dist/service/SensorSpec.service.d.ts +31 -0
  61. package/dist/service/SensorSpec.service.js +171 -0
  62. package/dist/service/Study.service.d.ts +42 -0
  63. package/dist/service/Study.service.js +286 -0
  64. package/dist/service/Type.service.d.ts +48 -0
  65. package/dist/service/Type.service.js +352 -0
  66. package/dist/service/index.d.ts +13 -0
  67. package/dist/service/index.js +25 -0
  68. package/docs/APIApi.md +82 -0
  69. package/docs/AccessCitation.md +11 -0
  70. package/docs/Activity.md +13 -0
  71. package/docs/ActivityApi.md +356 -0
  72. package/docs/ActivityEvent.md +13 -0
  73. package/docs/ActivityEventApi.md +251 -0
  74. package/docs/ActivitySpec.md +14 -0
  75. package/docs/ActivitySpecApi.md +222 -0
  76. package/docs/Credential.md +12 -0
  77. package/docs/CredentialApi.md +175 -0
  78. package/docs/Document.md +9 -0
  79. package/docs/DurationInterval.md +11 -0
  80. package/docs/DurationIntervalLegacy.md +10 -0
  81. package/docs/DynamicAttachment.md +14 -0
  82. package/docs/Error.md +8 -0
  83. package/docs/Metadata.md +8 -0
  84. package/docs/Participant.md +14 -0
  85. package/docs/ParticipantApi.md +312 -0
  86. package/docs/Researcher.md +12 -0
  87. package/docs/ResearcherApi.md +223 -0
  88. package/docs/Sensor.md +12 -0
  89. package/docs/SensorApi.md +356 -0
  90. package/docs/SensorEvent.md +11 -0
  91. package/docs/SensorEventApi.md +250 -0
  92. package/docs/SensorSpec.md +10 -0
  93. package/docs/SensorSpecApi.md +222 -0
  94. package/docs/Study.md +11 -0
  95. package/docs/StudyApi.md +268 -0
  96. package/docs/TemporalSlice.md +13 -0
  97. package/docs/TypeApi.md +274 -0
  98. package/package.json +44 -0
  99. package/src/index.ts +256 -0
  100. package/src/model/Activity.ts +93 -0
  101. package/src/model/ActivityEvent.ts +63 -0
  102. package/src/model/ActivitySpec.ts +45 -0
  103. package/src/model/Credential.ts +26 -0
  104. package/src/model/DynamicAttachment.ts +42 -0
  105. package/src/model/Participant.ts +37 -0
  106. package/src/model/Researcher.ts +33 -0
  107. package/src/model/ResearcherSettings.ts +65 -0
  108. package/src/model/Sensor.ts +27 -0
  109. package/src/model/SensorEvent.ts +22 -0
  110. package/src/model/SensorSpec.ts +16 -0
  111. package/src/model/Study.ts +29 -0
  112. package/src/model/Type.ts +68 -0
  113. package/src/model/index.ts +12 -0
  114. package/src/service/API.service.ts +29 -0
  115. package/src/service/Activity.service.ts +625 -0
  116. package/src/service/ActivityEvent.service.ts +244 -0
  117. package/src/service/ActivitySpec.service.ts +98 -0
  118. package/src/service/Credential.service.ts +268 -0
  119. package/src/service/Demo.ts +21 -0
  120. package/src/service/Fetch.ts +187 -0
  121. package/src/service/Participant.service.ts +217 -0
  122. package/src/service/Researcher.service.ts +147 -0
  123. package/src/service/ResearcherSettings.service.ts +62 -0
  124. package/src/service/Sensor.service.ts +256 -0
  125. package/src/service/SensorEvent.service.ts +239 -0
  126. package/src/service/SensorSpec.service.ts +96 -0
  127. package/src/service/Study.service.ts +187 -0
  128. package/src/service/Type.service.ts +297 -0
  129. package/src/service/index.ts +13 -0
  130. package/tsconfig.json +29 -0
@@ -0,0 +1,81 @@
1
+ import { Identifier, Timestamp } from "./Type";
2
+ /**
3
+ *
4
+ */
5
+ export declare class DurationInterval {
6
+ /**
7
+ *
8
+ */
9
+ start?: Timestamp;
10
+ /**
11
+ *
12
+ */
13
+ interval?: Array<any>;
14
+ /**
15
+ *
16
+ */
17
+ repeatCount?: number;
18
+ /**
19
+ *
20
+ */
21
+ end?: Timestamp;
22
+ }
23
+ /**
24
+ *
25
+ */
26
+ export declare class DurationIntervalLegacy {
27
+ /**
28
+ *
29
+ */
30
+ repeatType?: string;
31
+ /**
32
+ *
33
+ */
34
+ date?: Timestamp;
35
+ /**
36
+ *
37
+ */
38
+ customTimes?: Array<any>;
39
+ }
40
+ /**
41
+ * tab setting for Activity
42
+ */
43
+ declare type Tab = "learn" | "assess" | "manage" | "prevent";
44
+ /**
45
+ * An activity that may be performed by a participant in a study.
46
+ */
47
+ export declare class Activity {
48
+ /**
49
+ *
50
+ */
51
+ id?: Identifier;
52
+ /**
53
+ * The study id of the activity.
54
+ */
55
+ studyId?: Identifier;
56
+ /**
57
+ *
58
+ */
59
+ spec?: Identifier;
60
+ /**
61
+ * The name of the activity.
62
+ */
63
+ name?: string;
64
+ /**
65
+ *
66
+ */
67
+ schedule?: DurationIntervalLegacy;
68
+ /**
69
+ * The configuration settings for the activity.
70
+ */
71
+ settings?: any;
72
+ /**
73
+ * The tab settings for the activity.
74
+ */
75
+ category?: Tab[] | null;
76
+ /**
77
+ * The type of streak for the activity.
78
+ */
79
+ streakType?: string;
80
+ }
81
+ export {};
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Activity = exports.DurationIntervalLegacy = exports.DurationInterval = void 0;
4
+ /**
5
+ *
6
+ */
7
+ var DurationInterval = /** @class */ (function () {
8
+ function DurationInterval() {
9
+ }
10
+ return DurationInterval;
11
+ }());
12
+ exports.DurationInterval = DurationInterval;
13
+ /**
14
+ *
15
+ */
16
+ var DurationIntervalLegacy = /** @class */ (function () {
17
+ function DurationIntervalLegacy() {
18
+ }
19
+ return DurationIntervalLegacy;
20
+ }());
21
+ exports.DurationIntervalLegacy = DurationIntervalLegacy;
22
+ /**
23
+ * An activity that may be performed by a participant in a study.
24
+ */
25
+ var Activity = /** @class */ (function () {
26
+ function Activity() {
27
+ }
28
+ return Activity;
29
+ }());
30
+ exports.Activity = Activity;
@@ -0,0 +1,51 @@
1
+ import { Identifier, Timestamp } from './Type';
2
+ /**
3
+ * A specific sub-detail of a `ActivityEvent` that contains specific interaction information that comprises the parent `ActivityEvent`.
4
+ */
5
+ export declare class TemporalEvent {
6
+ /**
7
+ * The item that was interacted with for example, in a Jewels game, the corresponding alphabet, or in a survey, the question index.
8
+ */
9
+ item?: any;
10
+ /**
11
+ * The value of the item that was interacted with in most games, this field is `null`, but in a survey, this field is the question choice index.
12
+ */
13
+ value?: any;
14
+ /**
15
+ * The type of interaction that for this detail for example, in a Jewels game, `none` if the tapped jewel was incorrect, or `correct` if it was correct, or in a survey, this field will be `null`.
16
+ */
17
+ type?: string;
18
+ /**
19
+ * The time difference from the previous detail or the start of the parent result.
20
+ */
21
+ duration?: number;
22
+ /**
23
+ * The level of activity for this detail for example, in games with multiple levels, this field might be `2` or `4`, but for surveys and other games this field will be `null`.
24
+ */
25
+ level?: number;
26
+ }
27
+ /**
28
+ * An event generated by the participant interacting with an `Activity`.
29
+ */
30
+ export declare class ActivityEvent {
31
+ /**
32
+ *
33
+ */
34
+ timestamp?: Timestamp;
35
+ /**
36
+ * The duration this event lasted before recording ended.
37
+ */
38
+ duration?: number;
39
+ /**
40
+ *
41
+ */
42
+ activity?: Identifier;
43
+ /**
44
+ * The summary information for the activity event as determined by the activity that created this activity event.
45
+ */
46
+ static_data?: any;
47
+ /**
48
+ * The specific interaction details of the activity event.
49
+ */
50
+ temporalSlices?: Array<any>;
51
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActivityEvent = exports.TemporalEvent = void 0;
4
+ /**
5
+ * A specific sub-detail of a `ActivityEvent` that contains specific interaction information that comprises the parent `ActivityEvent`.
6
+ */
7
+ var TemporalEvent = /** @class */ (function () {
8
+ function TemporalEvent() {
9
+ }
10
+ return TemporalEvent;
11
+ }());
12
+ exports.TemporalEvent = TemporalEvent;
13
+ /**
14
+ * An event generated by the participant interacting with an `Activity`.
15
+ */
16
+ var ActivityEvent = /** @class */ (function () {
17
+ function ActivityEvent() {
18
+ }
19
+ return ActivityEvent;
20
+ }());
21
+ exports.ActivityEvent = ActivityEvent;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * tab setting for Activity Spec
3
+ */
4
+ declare type Tab = 'learn' | 'assess' | 'manage' | 'prevent';
5
+ /**
6
+ * The ActivitySpec determines the parameters and properties of an Activity and its corresponding generated ActivityEvents.
7
+ */
8
+ export declare class ActivitySpec {
9
+ /**
10
+ * The name of the activity spec.
11
+ */
12
+ name?: string;
13
+ /**
14
+ * Either a binary blob containing a document or video, or a string containing instructional aid about the Activity.
15
+ */
16
+ description?: string;
17
+ /**
18
+ * The WebView-compatible script that provides this Activity on mobile or desktop (IFrame) clients.
19
+ */
20
+ executable?: string | null;
21
+ /**
22
+ * The data definition of an ActivitySpec.
23
+ */
24
+ data?: any;
25
+ /**
26
+ * The temporal slice data definition of an ActivitySpec.
27
+ */
28
+ temporalSlices?: any;
29
+ /**
30
+ * The Activity settings definition of an ActivitySpec.
31
+ */
32
+ settings?: any;
33
+ /**
34
+ * The tab settings definition of an ActivitySpec.
35
+ */
36
+ category?: Tab[] | null;
37
+ }
38
+ export {};
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActivitySpec = void 0;
4
+ /**
5
+ * The ActivitySpec determines the parameters and properties of an Activity and its corresponding generated ActivityEvents.
6
+ */
7
+ var ActivitySpec = /** @class */ (function () {
8
+ function ActivitySpec() {
9
+ }
10
+ return ActivitySpec;
11
+ }());
12
+ exports.ActivitySpec = ActivitySpec;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Every object can have one or more credential(s) associated with it. i.e. my_researcher.credentials = ['person A', 'person B', 'api A', 'person C', 'api B']
3
+ */
4
+ export declare class Credential {
5
+ /**
6
+ * The root object this credential is attached to. The scope of this credential is limited to the object itself and any children.
7
+ */
8
+ origin?: string;
9
+ /**
10
+ * Username or machine-readable public key (access).
11
+ */
12
+ accessKey?: string;
13
+ /**
14
+ * SALTED HASH OF Password or machine-readable private key (secret).
15
+ */
16
+ secretKey?: string;
17
+ /**
18
+ * The user-visible description of the credential.
19
+ */
20
+ description?: string;
21
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Credential = void 0;
4
+ /**
5
+ * Every object can have one or more credential(s) associated with it. i.e. my_researcher.credentials = ['person A', 'person B', 'api A', 'person C', 'api B']
6
+ */
7
+ var Credential = /** @class */ (function () {
8
+ function Credential() {
9
+ }
10
+ return Credential;
11
+ }());
12
+ exports.Credential = Credential;
@@ -0,0 +1,34 @@
1
+ import { Identifier } from './Type';
2
+ /**
3
+ *
4
+ */
5
+ export declare class DynamicAttachment {
6
+ /**
7
+ * The key.
8
+ */
9
+ key?: string;
10
+ /**
11
+ *
12
+ */
13
+ from?: Identifier;
14
+ /**
15
+ * Either \"me\" to apply to the attachment owner only, the ID of an object owned by the attachment owner, or a string representing the child object type to apply to.
16
+ */
17
+ to?: string;
18
+ /**
19
+ * The API triggers that activate script execution. These will be event stream types or object types in the API, or, if scheduling execution periodically, a cron-job string prefixed with \"!\" (exclamation point).
20
+ */
21
+ triggers?: Array<any>;
22
+ /**
23
+ * The script language.
24
+ */
25
+ language?: string;
26
+ /**
27
+ * The script contents.
28
+ */
29
+ contents?: string;
30
+ /**
31
+ * The script requirements.
32
+ */
33
+ requirements?: Array<any>;
34
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DynamicAttachment = void 0;
4
+ /**
5
+ *
6
+ */
7
+ var DynamicAttachment = /** @class */ (function () {
8
+ function DynamicAttachment() {
9
+ }
10
+ return DynamicAttachment;
11
+ }());
12
+ exports.DynamicAttachment = DynamicAttachment;
@@ -0,0 +1,30 @@
1
+ import { Identifier } from './Type';
2
+ /**
3
+ * A participant within a study a participant cannot be enrolled in more than one study at a time.
4
+ */
5
+ export declare class Participant {
6
+ /**
7
+ *
8
+ */
9
+ id?: Identifier;
10
+ /**
11
+ * The researcher-provided study code for the participant.
12
+ */
13
+ studyCode?: string;
14
+ /**
15
+ * The participant's selected language code for the LAMP app.
16
+ */
17
+ language?: string;
18
+ /**
19
+ * The participant's selected theme for the LAMP app.
20
+ */
21
+ theme?: string;
22
+ /**
23
+ * The participant's emergency contact number.
24
+ */
25
+ emergencyContact?: string;
26
+ /**
27
+ * The participant's selected personal helpline number.
28
+ */
29
+ helpline?: string;
30
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Participant = void 0;
4
+ /**
5
+ * A participant within a study a participant cannot be enrolled in more than one study at a time.
6
+ */
7
+ var Participant = /** @class */ (function () {
8
+ function Participant() {
9
+ }
10
+ return Participant;
11
+ }());
12
+ exports.Participant = Participant;
@@ -0,0 +1,27 @@
1
+ import { Identifier } from './Type';
2
+ import { Study } from './Study';
3
+ /**
4
+ *
5
+ */
6
+ export declare class Researcher {
7
+ /**
8
+ *
9
+ */
10
+ id?: Identifier;
11
+ /**
12
+ * The name of the researcher.
13
+ */
14
+ name?: string;
15
+ /**
16
+ * The email address of the researcher.
17
+ */
18
+ email?: string;
19
+ /**
20
+ * The physical address of the researcher.
21
+ */
22
+ address?: string;
23
+ /**
24
+ * The set of all studies conducted by the researcher.
25
+ */
26
+ studies?: Study[];
27
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Researcher = void 0;
4
+ /**
5
+ *
6
+ */
7
+ var Researcher = /** @class */ (function () {
8
+ function Researcher() {
9
+ }
10
+ return Researcher;
11
+ }());
12
+ exports.Researcher = Researcher;
@@ -0,0 +1,57 @@
1
+ import { Timestamp } from "./Type";
2
+ /**
3
+ *
4
+ */
5
+ export declare class ResearcherSettings {
6
+ /**
7
+ * The banner greeting.
8
+ */
9
+ bannerSettings?: string;
10
+ /**
11
+ * The banner heading
12
+ */
13
+ bannerHeading?: string;
14
+ /**
15
+ * The banner sub heading
16
+ */
17
+ bannerSubHeading?: string;
18
+ /**
19
+ * The image icon for banner
20
+ */
21
+ imageBase64?: string;
22
+ /**
23
+ * The selected activity
24
+ */
25
+ selectedActivity?: string;
26
+ /**
27
+ * The selected group
28
+ */
29
+ selectedGroup?: string;
30
+ /**
31
+ * The button text
32
+ */
33
+ buttonText?: string;
34
+ /**
35
+ * The activityId
36
+ */
37
+ activityId?: string;
38
+ /**
39
+ * The favourite activities
40
+ */
41
+ favouriteActivities?: any;
42
+ /**
43
+ * The featured activity
44
+ */
45
+ featuredActivity?: string;
46
+ /**
47
+ * The timestamp
48
+ */
49
+ timestamp?: Timestamp;
50
+ /**
51
+ * The deleted flag
52
+ */
53
+ deleted?: boolean;
54
+ }
55
+ export declare type ResearcherBanner = {
56
+ data: ResearcherSettings;
57
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResearcherSettings = void 0;
4
+ /**
5
+ *
6
+ */
7
+ var ResearcherSettings = /** @class */ (function () {
8
+ function ResearcherSettings() {
9
+ }
10
+ return ResearcherSettings;
11
+ }());
12
+ exports.ResearcherSettings = ResearcherSettings;
@@ -0,0 +1,22 @@
1
+ import { Identifier } from './Type';
2
+ /**
3
+ * A sensor that may or may not be available on a physical device.
4
+ */
5
+ export declare class Sensor {
6
+ /**
7
+ * The self-referencing identifier to this object.
8
+ */
9
+ id?: Identifier;
10
+ /**
11
+ * The specification, parameters, and type of the sensor.
12
+ */
13
+ spec?: Identifier;
14
+ /**
15
+ * The name of the sensor.
16
+ */
17
+ name?: string;
18
+ /**
19
+ * The configuration settings for the sensor.
20
+ */
21
+ settings?: any;
22
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Sensor = void 0;
4
+ /**
5
+ * A sensor that may or may not be available on a physical device.
6
+ */
7
+ var Sensor = /** @class */ (function () {
8
+ function Sensor() {
9
+ }
10
+ return Sensor;
11
+ }());
12
+ exports.Sensor = Sensor;
@@ -0,0 +1,18 @@
1
+ import { Timestamp } from './Type';
2
+ /**
3
+ * An event generated by a participant interacting with the LAMP app.
4
+ */
5
+ export declare class SensorEvent {
6
+ /**
7
+ *
8
+ */
9
+ timestamp?: Timestamp;
10
+ /**
11
+ * The type of the sensor event.
12
+ */
13
+ sensor?: string;
14
+ /**
15
+ * The item information recorded within the sensor event.
16
+ */
17
+ data?: any;
18
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SensorEvent = void 0;
4
+ /**
5
+ * An event generated by a participant interacting with the LAMP app.
6
+ */
7
+ var SensorEvent = /** @class */ (function () {
8
+ function SensorEvent() {
9
+ }
10
+ return SensorEvent;
11
+ }());
12
+ exports.SensorEvent = SensorEvent;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The SensorSpec determines the parameters of generated SensorEvents.
3
+ */
4
+ export declare class SensorSpec {
5
+ /**
6
+ * The name of the sensor.
7
+ */
8
+ name?: string;
9
+ /**
10
+ * The data definition of a SensorSpec.
11
+ */
12
+ settingsSchema?: any;
13
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SensorSpec = void 0;
4
+ /**
5
+ * The SensorSpec determines the parameters of generated SensorEvents.
6
+ */
7
+ var SensorSpec = /** @class */ (function () {
8
+ function SensorSpec() {
9
+ }
10
+ return SensorSpec;
11
+ }());
12
+ exports.SensorSpec = SensorSpec;
@@ -0,0 +1,24 @@
1
+ import { Identifier } from './Type';
2
+ import { Activity } from './Activity';
3
+ import { Participant } from './Participant';
4
+ /**
5
+ *
6
+ */
7
+ export declare class Study {
8
+ /**
9
+ *
10
+ */
11
+ id?: Identifier;
12
+ /**
13
+ * The name of the study.
14
+ */
15
+ name?: string;
16
+ /**
17
+ * The set of all activities available in the study.
18
+ */
19
+ activities?: Activity[];
20
+ /**
21
+ * The set of all enrolled participants in the study.
22
+ */
23
+ participants?: Participant[];
24
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Study = void 0;
4
+ /**
5
+ *
6
+ */
7
+ var Study = /** @class */ (function () {
8
+ function Study() {
9
+ }
10
+ return Study;
11
+ }());
12
+ exports.Study = Study;
@@ -0,0 +1,56 @@
1
+ /**
2
+ * A globally unique reference for objects.
3
+ */
4
+ export declare type Identifier = string;
5
+ /**
6
+ * The UNIX Epoch date-time representation: number of milliseconds since 1/1/1970 12:00 AM.
7
+ */
8
+ export declare type Timestamp = number;
9
+ /**
10
+ * Runtime type specification for each object in the LAMP platform.
11
+ */
12
+ export interface Type {
13
+ }
14
+ /**
15
+ *
16
+ */
17
+ export declare class AccessCitation {
18
+ /**
19
+ *
20
+ */
21
+ _in?: string;
22
+ /**
23
+ *
24
+ */
25
+ at?: string;
26
+ /**
27
+ *
28
+ */
29
+ on?: Timestamp;
30
+ /**
31
+ *
32
+ */
33
+ by?: string;
34
+ }
35
+ /**
36
+ *
37
+ */
38
+ export declare class Metadata {
39
+ /**
40
+ *
41
+ */
42
+ access?: AccessCitation;
43
+ }
44
+ /**
45
+ *
46
+ */
47
+ export declare class Document {
48
+ /**
49
+ *
50
+ */
51
+ meta?: Metadata;
52
+ /**
53
+ *
54
+ */
55
+ data?: Array<any>;
56
+ }