@modelhealth/modelhealth 0.2.0 → 0.3.0
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.
- package/dist/index.d.ts +154 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +199 -17
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +220 -4
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
- package/wasm/model_health_wasm.d.ts +150 -8
- package/wasm/model_health_wasm.js +207 -17
- package/wasm/model_health_wasm_bg.wasm +0 -0
- package/wasm/model_health_wasm_bg.wasm.d.ts +10 -5
|
@@ -12,19 +12,23 @@ export class ModelHealthService {
|
|
|
12
12
|
wasm.__wbg_modelhealthservice_free(ptr, 0);
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* # Errors
|
|
16
|
+
*
|
|
17
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
18
|
+
* @param {number} subject_id
|
|
16
19
|
* @param {number} start_index
|
|
17
20
|
* @param {number} count
|
|
18
21
|
* @param {any} sort
|
|
19
22
|
* @returns {Promise<any>}
|
|
20
23
|
*/
|
|
21
24
|
activitiesForSubject(subject_id, start_index, count, sort) {
|
|
22
|
-
const
|
|
23
|
-
const len0 = WASM_VECTOR_LEN;
|
|
24
|
-
const ret = wasm.modelhealthservice_activitiesForSubject(this.__wbg_ptr, ptr0, len0, start_index, count, addHeapObject(sort));
|
|
25
|
+
const ret = wasm.modelhealthservice_activitiesForSubject(this.__wbg_ptr, subject_id, start_index, count, addHeapObject(sort));
|
|
25
26
|
return takeObject(ret);
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
29
|
+
* # Errors
|
|
30
|
+
*
|
|
31
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
28
32
|
* @param {any} trial_json
|
|
29
33
|
* @returns {Promise<any>}
|
|
30
34
|
*/
|
|
@@ -33,6 +37,9 @@ export class ModelHealthService {
|
|
|
33
37
|
return takeObject(ret);
|
|
34
38
|
}
|
|
35
39
|
/**
|
|
40
|
+
* # Errors
|
|
41
|
+
*
|
|
42
|
+
* Returns an error if the network request fails or the response cannot be parsed.
|
|
36
43
|
* @returns {Promise<any>}
|
|
37
44
|
*/
|
|
38
45
|
activityTags() {
|
|
@@ -40,6 +47,9 @@ export class ModelHealthService {
|
|
|
40
47
|
return takeObject(ret);
|
|
41
48
|
}
|
|
42
49
|
/**
|
|
50
|
+
* # Errors
|
|
51
|
+
*
|
|
52
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
43
53
|
* @param {any} trial_json
|
|
44
54
|
* @param {any} data_types_json
|
|
45
55
|
* @returns {Promise<any>}
|
|
@@ -49,6 +59,9 @@ export class ModelHealthService {
|
|
|
49
59
|
return takeObject(ret);
|
|
50
60
|
}
|
|
51
61
|
/**
|
|
62
|
+
* # Errors
|
|
63
|
+
*
|
|
64
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
52
65
|
* @param {any} task_json
|
|
53
66
|
* @returns {Promise<any>}
|
|
54
67
|
*/
|
|
@@ -57,6 +70,44 @@ export class ModelHealthService {
|
|
|
57
70
|
return takeObject(ret);
|
|
58
71
|
}
|
|
59
72
|
/**
|
|
73
|
+
* # Errors
|
|
74
|
+
*
|
|
75
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
76
|
+
* @param {any} archive_json
|
|
77
|
+
* @returns {Promise<Uint8Array>}
|
|
78
|
+
*/
|
|
79
|
+
archiveData(archive_json) {
|
|
80
|
+
const ret = wasm.modelhealthservice_archiveData(this.__wbg_ptr, addHeapObject(archive_json));
|
|
81
|
+
return takeObject(ret);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* # Errors
|
|
85
|
+
*
|
|
86
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
87
|
+
* @param {any} archive_json
|
|
88
|
+
* @returns {Promise<any>}
|
|
89
|
+
*/
|
|
90
|
+
archiveStatus(archive_json) {
|
|
91
|
+
const ret = wasm.modelhealthservice_archiveStatus(this.__wbg_ptr, addHeapObject(archive_json));
|
|
92
|
+
return takeObject(ret);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* # Errors
|
|
96
|
+
*
|
|
97
|
+
* Returns an error if the input cannot be deserialized, the config is invalid,
|
|
98
|
+
* or the network request fails.
|
|
99
|
+
* @param {any} session_js
|
|
100
|
+
* @param {any} config_js
|
|
101
|
+
* @returns {Promise<void>}
|
|
102
|
+
*/
|
|
103
|
+
configureSession(session_js, config_js) {
|
|
104
|
+
const ret = wasm.modelhealthservice_configureSession(this.__wbg_ptr, addHeapObject(session_js), addHeapObject(config_js));
|
|
105
|
+
return takeObject(ret);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* # Errors
|
|
109
|
+
*
|
|
110
|
+
* Returns an error if the network request fails or the response cannot be parsed.
|
|
60
111
|
* @returns {Promise<any>}
|
|
61
112
|
*/
|
|
62
113
|
createSession() {
|
|
@@ -64,6 +115,9 @@ export class ModelHealthService {
|
|
|
64
115
|
return takeObject(ret);
|
|
65
116
|
}
|
|
66
117
|
/**
|
|
118
|
+
* # Errors
|
|
119
|
+
*
|
|
120
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
67
121
|
* @param {any} parameters
|
|
68
122
|
* @returns {Promise<any>}
|
|
69
123
|
*/
|
|
@@ -72,6 +126,9 @@ export class ModelHealthService {
|
|
|
72
126
|
return takeObject(ret);
|
|
73
127
|
}
|
|
74
128
|
/**
|
|
129
|
+
* # Errors
|
|
130
|
+
*
|
|
131
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
75
132
|
* @param {any} activity_json
|
|
76
133
|
* @returns {Promise<void>}
|
|
77
134
|
*/
|
|
@@ -80,6 +137,9 @@ export class ModelHealthService {
|
|
|
80
137
|
return takeObject(ret);
|
|
81
138
|
}
|
|
82
139
|
/**
|
|
140
|
+
* # Errors
|
|
141
|
+
*
|
|
142
|
+
* Returns an error if the network request fails or the response cannot be parsed.
|
|
83
143
|
* @param {string} activity_id
|
|
84
144
|
* @returns {Promise<any>}
|
|
85
145
|
*/
|
|
@@ -90,6 +150,9 @@ export class ModelHealthService {
|
|
|
90
150
|
return takeObject(ret);
|
|
91
151
|
}
|
|
92
152
|
/**
|
|
153
|
+
* # Errors
|
|
154
|
+
*
|
|
155
|
+
* Returns an error if the network request fails or the response cannot be parsed.
|
|
93
156
|
* @param {string} session_id
|
|
94
157
|
* @returns {Promise<any>}
|
|
95
158
|
*/
|
|
@@ -100,6 +163,29 @@ export class ModelHealthService {
|
|
|
100
163
|
return takeObject(ret);
|
|
101
164
|
}
|
|
102
165
|
/**
|
|
166
|
+
* Import a set of activities into Model Health.
|
|
167
|
+
*
|
|
168
|
+
* `status_callback` is a JS function called with a status object at each step.
|
|
169
|
+
*
|
|
170
|
+
* # Errors
|
|
171
|
+
*
|
|
172
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
173
|
+
* @param {string} activities_json
|
|
174
|
+
* @param {any} subject_js
|
|
175
|
+
* @param {any} config_js
|
|
176
|
+
* @param {Function} status_callback
|
|
177
|
+
* @returns {Promise<any>}
|
|
178
|
+
*/
|
|
179
|
+
importSession(activities_json, subject_js, config_js, status_callback) {
|
|
180
|
+
const ptr0 = passStringToWasm0(activities_json, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
181
|
+
const len0 = WASM_VECTOR_LEN;
|
|
182
|
+
const ret = wasm.modelhealthservice_importSession(this.__wbg_ptr, ptr0, len0, addHeapObject(subject_js), addHeapObject(config_js), addHeapObject(status_callback));
|
|
183
|
+
return takeObject(ret);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* # Errors
|
|
187
|
+
*
|
|
188
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
103
189
|
* @param {any} trial_json
|
|
104
190
|
* @param {any} data_types_json
|
|
105
191
|
* @returns {Promise<any>}
|
|
@@ -109,6 +195,11 @@ export class ModelHealthService {
|
|
|
109
195
|
return takeObject(ret);
|
|
110
196
|
}
|
|
111
197
|
/**
|
|
198
|
+
* Create a new `ModelHealthService` with the given API key.
|
|
199
|
+
*
|
|
200
|
+
* # Errors
|
|
201
|
+
*
|
|
202
|
+
* Returns an error if the API key is empty or if the provider cannot be initialized.
|
|
112
203
|
* @param {string} api_key
|
|
113
204
|
*/
|
|
114
205
|
constructor(api_key) {
|
|
@@ -131,6 +222,21 @@ export class ModelHealthService {
|
|
|
131
222
|
}
|
|
132
223
|
}
|
|
133
224
|
/**
|
|
225
|
+
* # Errors
|
|
226
|
+
*
|
|
227
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
228
|
+
* @param {any} session_json
|
|
229
|
+
* @param {boolean} with_videos
|
|
230
|
+
* @returns {Promise<any>}
|
|
231
|
+
*/
|
|
232
|
+
prepareArchive(session_json, with_videos) {
|
|
233
|
+
const ret = wasm.modelhealthservice_prepareArchive(this.__wbg_ptr, addHeapObject(session_json), with_videos);
|
|
234
|
+
return takeObject(ret);
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* # Errors
|
|
238
|
+
*
|
|
239
|
+
* Returns an error if the network request fails or the response cannot be parsed.
|
|
134
240
|
* @returns {Promise<any>}
|
|
135
241
|
*/
|
|
136
242
|
sessionList() {
|
|
@@ -138,27 +244,37 @@ export class ModelHealthService {
|
|
|
138
244
|
return takeObject(ret);
|
|
139
245
|
}
|
|
140
246
|
/**
|
|
141
|
-
*
|
|
247
|
+
* # Errors
|
|
248
|
+
*
|
|
249
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
250
|
+
* @param {any} activity_type_json
|
|
142
251
|
* @param {any} trial_json
|
|
143
252
|
* @param {any} session_json
|
|
144
253
|
* @returns {Promise<any>}
|
|
145
254
|
*/
|
|
146
|
-
startAnalysis(
|
|
147
|
-
const ret = wasm.modelhealthservice_startAnalysis(this.__wbg_ptr, addHeapObject(
|
|
255
|
+
startAnalysis(activity_type_json, trial_json, session_json) {
|
|
256
|
+
const ret = wasm.modelhealthservice_startAnalysis(this.__wbg_ptr, addHeapObject(activity_type_json), addHeapObject(trial_json), addHeapObject(session_json));
|
|
148
257
|
return takeObject(ret);
|
|
149
258
|
}
|
|
150
259
|
/**
|
|
260
|
+
* # Errors
|
|
261
|
+
*
|
|
262
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
151
263
|
* @param {string} trial_name
|
|
152
264
|
* @param {any} session_json
|
|
265
|
+
* @param {any} activity_type_json
|
|
153
266
|
* @returns {Promise<any>}
|
|
154
267
|
*/
|
|
155
|
-
startRecording(trial_name, session_json) {
|
|
268
|
+
startRecording(trial_name, session_json, activity_type_json) {
|
|
156
269
|
const ptr0 = passStringToWasm0(trial_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
157
270
|
const len0 = WASM_VECTOR_LEN;
|
|
158
|
-
const ret = wasm.modelhealthservice_startRecording(this.__wbg_ptr, ptr0, len0, addHeapObject(session_json));
|
|
271
|
+
const ret = wasm.modelhealthservice_startRecording(this.__wbg_ptr, ptr0, len0, addHeapObject(session_json), addHeapObject(activity_type_json));
|
|
159
272
|
return takeObject(ret);
|
|
160
273
|
}
|
|
161
274
|
/**
|
|
275
|
+
* # Errors
|
|
276
|
+
*
|
|
277
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
162
278
|
* @param {any} session_json
|
|
163
279
|
* @returns {Promise<void>}
|
|
164
280
|
*/
|
|
@@ -167,6 +283,9 @@ export class ModelHealthService {
|
|
|
167
283
|
return takeObject(ret);
|
|
168
284
|
}
|
|
169
285
|
/**
|
|
286
|
+
* # Errors
|
|
287
|
+
*
|
|
288
|
+
* Returns an error if the network request fails or the response cannot be parsed.
|
|
170
289
|
* @returns {Promise<any>}
|
|
171
290
|
*/
|
|
172
291
|
subjectList() {
|
|
@@ -174,6 +293,9 @@ export class ModelHealthService {
|
|
|
174
293
|
return takeObject(ret);
|
|
175
294
|
}
|
|
176
295
|
/**
|
|
296
|
+
* # Errors
|
|
297
|
+
*
|
|
298
|
+
* Returns an error if the network request fails or the response cannot be parsed.
|
|
177
299
|
* @param {string} session_id
|
|
178
300
|
* @returns {Promise<any>}
|
|
179
301
|
*/
|
|
@@ -184,6 +306,9 @@ export class ModelHealthService {
|
|
|
184
306
|
return takeObject(ret);
|
|
185
307
|
}
|
|
186
308
|
/**
|
|
309
|
+
* # Errors
|
|
310
|
+
*
|
|
311
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
187
312
|
* @param {any} activity_json
|
|
188
313
|
* @returns {Promise<any>}
|
|
189
314
|
*/
|
|
@@ -192,6 +317,9 @@ export class ModelHealthService {
|
|
|
192
317
|
return takeObject(ret);
|
|
193
318
|
}
|
|
194
319
|
/**
|
|
320
|
+
* # Errors
|
|
321
|
+
*
|
|
322
|
+
* Returns an error if the input cannot be deserialized or the network request fails.
|
|
195
323
|
* @param {any} trial_json
|
|
196
324
|
* @param {any} version_json
|
|
197
325
|
* @returns {Promise<Array<any>>}
|
|
@@ -253,6 +381,12 @@ function __wbg_get_imports() {
|
|
|
253
381
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
254
382
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
255
383
|
},
|
|
384
|
+
__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: function(arg0, arg1) {
|
|
385
|
+
const v = getObject(arg1);
|
|
386
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
387
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
388
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
389
|
+
},
|
|
256
390
|
__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: function(arg0) {
|
|
257
391
|
const v = getObject(arg0);
|
|
258
392
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
@@ -269,10 +403,18 @@ function __wbg_get_imports() {
|
|
|
269
403
|
const ret = getObject(arg0) in getObject(arg1);
|
|
270
404
|
return ret;
|
|
271
405
|
},
|
|
406
|
+
__wbg___wbindgen_is_bigint_31b12575b56f32fc: function(arg0) {
|
|
407
|
+
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
408
|
+
return ret;
|
|
409
|
+
},
|
|
272
410
|
__wbg___wbindgen_is_function_0095a73b8b156f76: function(arg0) {
|
|
273
411
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
274
412
|
return ret;
|
|
275
413
|
},
|
|
414
|
+
__wbg___wbindgen_is_null_ac34f5003991759a: function(arg0) {
|
|
415
|
+
const ret = getObject(arg0) === null;
|
|
416
|
+
return ret;
|
|
417
|
+
},
|
|
276
418
|
__wbg___wbindgen_is_object_5ae8e5880f2c1fbd: function(arg0) {
|
|
277
419
|
const val = getObject(arg0);
|
|
278
420
|
const ret = typeof(val) === 'object' && val !== null;
|
|
@@ -286,6 +428,10 @@ function __wbg_get_imports() {
|
|
|
286
428
|
const ret = getObject(arg0) === undefined;
|
|
287
429
|
return ret;
|
|
288
430
|
},
|
|
431
|
+
__wbg___wbindgen_jsval_eq_11888390b0186270: function(arg0, arg1) {
|
|
432
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
433
|
+
return ret;
|
|
434
|
+
},
|
|
289
435
|
__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: function(arg0, arg1) {
|
|
290
436
|
const ret = getObject(arg0) == getObject(arg1);
|
|
291
437
|
return ret;
|
|
@@ -313,9 +459,18 @@ function __wbg_get_imports() {
|
|
|
313
459
|
__wbg_abort_2f0584e03e8e3950: function(arg0) {
|
|
314
460
|
getObject(arg0).abort();
|
|
315
461
|
},
|
|
462
|
+
__wbg_append_5050a4a2867113b7: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
463
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
464
|
+
}, arguments); },
|
|
465
|
+
__wbg_append_68324d5b44b13a25: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
466
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getObject(arg3), getStringFromWasm0(arg4, arg5));
|
|
467
|
+
}, arguments); },
|
|
316
468
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
317
469
|
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
318
470
|
}, arguments); },
|
|
471
|
+
__wbg_append_f397817515023c29: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
472
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
473
|
+
}, arguments); },
|
|
319
474
|
__wbg_arrayBuffer_bb54076166006c39: function() { return handleError(function (arg0) {
|
|
320
475
|
const ret = getObject(arg0).arrayBuffer();
|
|
321
476
|
return addHeapObject(ret);
|
|
@@ -397,6 +552,16 @@ function __wbg_get_imports() {
|
|
|
397
552
|
const ret = result;
|
|
398
553
|
return ret;
|
|
399
554
|
},
|
|
555
|
+
__wbg_instanceof_Map_53af74335dec57f4: function(arg0) {
|
|
556
|
+
let result;
|
|
557
|
+
try {
|
|
558
|
+
result = getObject(arg0) instanceof Map;
|
|
559
|
+
} catch (_) {
|
|
560
|
+
result = false;
|
|
561
|
+
}
|
|
562
|
+
const ret = result;
|
|
563
|
+
return ret;
|
|
564
|
+
},
|
|
400
565
|
__wbg_instanceof_Response_ee1d54d79ae41977: function(arg0) {
|
|
401
566
|
let result;
|
|
402
567
|
try {
|
|
@@ -462,6 +627,14 @@ function __wbg_get_imports() {
|
|
|
462
627
|
const ret = new Headers();
|
|
463
628
|
return addHeapObject(ret);
|
|
464
629
|
}, arguments); },
|
|
630
|
+
__wbg_new_72b49615380db768: function(arg0, arg1) {
|
|
631
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
632
|
+
return addHeapObject(ret);
|
|
633
|
+
},
|
|
634
|
+
__wbg_new_738c2e238e869a5e: function() { return handleError(function () {
|
|
635
|
+
const ret = new FormData();
|
|
636
|
+
return addHeapObject(ret);
|
|
637
|
+
}, arguments); },
|
|
465
638
|
__wbg_new_8a6f238a6ece86ea: function() {
|
|
466
639
|
const ret = new Error();
|
|
467
640
|
return addHeapObject(ret);
|
|
@@ -473,7 +646,7 @@ function __wbg_get_imports() {
|
|
|
473
646
|
const a = state0.a;
|
|
474
647
|
state0.a = 0;
|
|
475
648
|
try {
|
|
476
|
-
return
|
|
649
|
+
return __wasm_bindgen_func_elem_1483(a, state0.b, arg0, arg1);
|
|
477
650
|
} finally {
|
|
478
651
|
state0.a = a;
|
|
479
652
|
}
|
|
@@ -504,6 +677,10 @@ function __wbg_get_imports() {
|
|
|
504
677
|
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
505
678
|
return addHeapObject(ret);
|
|
506
679
|
}, arguments); },
|
|
680
|
+
__wbg_new_with_u8_array_sequence_and_options_cc0f8f2c1ef62e68: function() { return handleError(function (arg0, arg1) {
|
|
681
|
+
const ret = new Blob(getObject(arg0), getObject(arg1));
|
|
682
|
+
return addHeapObject(ret);
|
|
683
|
+
}, arguments); },
|
|
507
684
|
__wbg_next_3482f54c49e8af19: function() { return handleError(function (arg0) {
|
|
508
685
|
const ret = getObject(arg0).next();
|
|
509
686
|
return addHeapObject(ret);
|
|
@@ -562,6 +739,9 @@ function __wbg_get_imports() {
|
|
|
562
739
|
__wbg_set_signal_f2d3f8599248896d: function(arg0, arg1) {
|
|
563
740
|
getObject(arg0).signal = getObject(arg1);
|
|
564
741
|
},
|
|
742
|
+
__wbg_set_type_148de20768639245: function(arg0, arg1, arg2) {
|
|
743
|
+
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
|
|
744
|
+
},
|
|
565
745
|
__wbg_signal_d1285ecab4ebc5ad: function(arg0) {
|
|
566
746
|
const ret = getObject(arg0).signal;
|
|
567
747
|
return addHeapObject(ret);
|
|
@@ -620,8 +800,8 @@ function __wbg_get_imports() {
|
|
|
620
800
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
621
801
|
},
|
|
622
802
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
623
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
624
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
803
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 458, function: Function { arguments: [Externref], shim_idx: 459, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
804
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1059, __wasm_bindgen_func_elem_1060);
|
|
625
805
|
return addHeapObject(ret);
|
|
626
806
|
},
|
|
627
807
|
__wbindgen_cast_0000000000000002: function(arg0) {
|
|
@@ -629,11 +809,21 @@ function __wbg_get_imports() {
|
|
|
629
809
|
const ret = arg0;
|
|
630
810
|
return addHeapObject(ret);
|
|
631
811
|
},
|
|
632
|
-
__wbindgen_cast_0000000000000003: function(arg0
|
|
812
|
+
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
813
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
814
|
+
const ret = arg0;
|
|
815
|
+
return addHeapObject(ret);
|
|
816
|
+
},
|
|
817
|
+
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
633
818
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
634
819
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
635
820
|
return addHeapObject(ret);
|
|
636
821
|
},
|
|
822
|
+
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
823
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
824
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
825
|
+
return addHeapObject(ret);
|
|
826
|
+
},
|
|
637
827
|
__wbindgen_object_clone_ref: function(arg0) {
|
|
638
828
|
const ret = getObject(arg0);
|
|
639
829
|
return addHeapObject(ret);
|
|
@@ -648,12 +838,12 @@ function __wbg_get_imports() {
|
|
|
648
838
|
};
|
|
649
839
|
}
|
|
650
840
|
|
|
651
|
-
function
|
|
652
|
-
wasm.
|
|
841
|
+
function __wasm_bindgen_func_elem_1060(arg0, arg1, arg2) {
|
|
842
|
+
wasm.__wasm_bindgen_func_elem_1060(arg0, arg1, addHeapObject(arg2));
|
|
653
843
|
}
|
|
654
844
|
|
|
655
|
-
function
|
|
656
|
-
wasm.
|
|
845
|
+
function __wasm_bindgen_func_elem_1483(arg0, arg1, arg2, arg3) {
|
|
846
|
+
wasm.__wasm_bindgen_func_elem_1483(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
657
847
|
}
|
|
658
848
|
|
|
659
849
|
|
|
Binary file
|
|
@@ -4,30 +4,35 @@ export const memory: WebAssembly.Memory;
|
|
|
4
4
|
export const __wbg_modelhealthservice_free: (a: number, b: number) => void;
|
|
5
5
|
export const calibrateCamera: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
6
6
|
export const calibrateSubject: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
7
|
-
export const modelhealthservice_activitiesForSubject: (a: number, b: number, c: number, d: number, e: number
|
|
7
|
+
export const modelhealthservice_activitiesForSubject: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
8
8
|
export const modelhealthservice_activityStatus: (a: number, b: number) => number;
|
|
9
9
|
export const modelhealthservice_activityTags: (a: number) => number;
|
|
10
10
|
export const modelhealthservice_analysisDataForActivity: (a: number, b: number, c: number) => number;
|
|
11
11
|
export const modelhealthservice_analysisStatus: (a: number, b: number) => number;
|
|
12
|
+
export const modelhealthservice_archiveData: (a: number, b: number) => number;
|
|
13
|
+
export const modelhealthservice_archiveStatus: (a: number, b: number) => number;
|
|
14
|
+
export const modelhealthservice_configureSession: (a: number, b: number, c: number) => number;
|
|
12
15
|
export const modelhealthservice_createSession: (a: number) => number;
|
|
13
16
|
export const modelhealthservice_createSubject: (a: number, b: number) => number;
|
|
14
17
|
export const modelhealthservice_deleteActivity: (a: number, b: number) => number;
|
|
15
18
|
export const modelhealthservice_fetchActivity: (a: number, b: number, c: number) => number;
|
|
16
19
|
export const modelhealthservice_getSession: (a: number, b: number, c: number) => number;
|
|
20
|
+
export const modelhealthservice_importSession: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
17
21
|
export const modelhealthservice_motionDataForActivity: (a: number, b: number, c: number) => number;
|
|
18
22
|
export const modelhealthservice_new: (a: number, b: number, c: number) => void;
|
|
23
|
+
export const modelhealthservice_prepareArchive: (a: number, b: number, c: number) => number;
|
|
19
24
|
export const modelhealthservice_sessionList: (a: number) => number;
|
|
20
25
|
export const modelhealthservice_startAnalysis: (a: number, b: number, c: number, d: number) => number;
|
|
21
|
-
export const modelhealthservice_startRecording: (a: number, b: number, c: number, d: number) => number;
|
|
26
|
+
export const modelhealthservice_startRecording: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
22
27
|
export const modelhealthservice_stopRecording: (a: number, b: number) => number;
|
|
23
28
|
export const modelhealthservice_subjectList: (a: number) => number;
|
|
24
29
|
export const modelhealthservice_trialList: (a: number, b: number, c: number) => number;
|
|
25
30
|
export const modelhealthservice_updateActivity: (a: number, b: number) => number;
|
|
26
31
|
export const modelhealthservice_videosForActivity: (a: number, b: number, c: number) => number;
|
|
27
32
|
export const init: () => void;
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
33
|
+
export const __wasm_bindgen_func_elem_1059: (a: number, b: number) => void;
|
|
34
|
+
export const __wasm_bindgen_func_elem_1483: (a: number, b: number, c: number, d: number) => void;
|
|
35
|
+
export const __wasm_bindgen_func_elem_1060: (a: number, b: number, c: number) => void;
|
|
31
36
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
32
37
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
33
38
|
export const __wbindgen_export3: (a: number) => void;
|