@tellescope/sdk 1.4.18 → 1.4.19
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/lib/esm/tests/tests.js
CHANGED
|
@@ -3776,6 +3776,62 @@ export var role_based_access_permissions_tests = function () { return __awaiter(
|
|
|
3776
3776
|
}
|
|
3777
3777
|
});
|
|
3778
3778
|
}); };
|
|
3779
|
+
var example_hep_record = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
3780
|
+
return __generator(this, function (_a) {
|
|
3781
|
+
switch (_a.label) {
|
|
3782
|
+
case 0: return [4 /*yield*/, sdk.api.managed_content_records.createOne({
|
|
3783
|
+
"title": "Squats For Days (output.title)",
|
|
3784
|
+
"assignmentType": "Individual",
|
|
3785
|
+
"enduserId": "tellescope_enduser_id_here",
|
|
3786
|
+
"htmlContent": "",
|
|
3787
|
+
"textContent": "",
|
|
3788
|
+
"blocks": [
|
|
3789
|
+
{
|
|
3790
|
+
"type": "h1",
|
|
3791
|
+
"info": {
|
|
3792
|
+
"text": "Standing stability in partial squat with support from table/chair"
|
|
3793
|
+
}
|
|
3794
|
+
},
|
|
3795
|
+
{
|
|
3796
|
+
"type": "h2",
|
|
3797
|
+
"info": {
|
|
3798
|
+
"text": "Stand in front of a counter and hold onto the countertop.\nWhile maintaining your back straight and your hips above the level of your knees, slowly lower your body into a semi-squat position without leaning forward and keeping your heels in contact with the ground at all times."
|
|
3799
|
+
}
|
|
3800
|
+
},
|
|
3801
|
+
{
|
|
3802
|
+
"type": "html",
|
|
3803
|
+
"info": {
|
|
3804
|
+
"html": "<div>custom content synthesizing weight, repetition, frequency, duration, sets, etc.</div>"
|
|
3805
|
+
},
|
|
3806
|
+
},
|
|
3807
|
+
{
|
|
3808
|
+
"type": "image",
|
|
3809
|
+
"info": {
|
|
3810
|
+
"link": "https://hep.physiotec.ca/image.php?param=ZzZySkRIVXBqN2JTejF5U0cvZWtaSkk5MUdyNDYvRmQ3YkFjMm1CU2NEbm9iOENKNEs1ZXlXTXhWcXZyRWZQOERBNVBYVkpNTXlIOVlBWm5PTkVJaFE9PQ=="
|
|
3811
|
+
}
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
"type": "image",
|
|
3815
|
+
"info": {
|
|
3816
|
+
"link": "https://hep.physiotec.ca/image.php?param=ZzZySkRIVXBqN2JTejF5U0cvZWtaSkk5MUdyNDYvRmQ3YkFjMm1CU2NEazBlY1g2TFpaYVZsa0wrT3F3aGdsMGd6dTkyVXFvNVdBOUlVUFZpcmltM0E9PQ=="
|
|
3817
|
+
}
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
"type": "iframe",
|
|
3821
|
+
"info": {
|
|
3822
|
+
"link": "videos.sproutvideo.com/embed/a09bdeb3191ae5c428/50796be0534425e7?type=sd",
|
|
3823
|
+
"width": 630,
|
|
3824
|
+
"height": 354
|
|
3825
|
+
}
|
|
3826
|
+
}
|
|
3827
|
+
]
|
|
3828
|
+
})];
|
|
3829
|
+
case 1:
|
|
3830
|
+
_a.sent();
|
|
3831
|
+
return [2 /*return*/];
|
|
3832
|
+
}
|
|
3833
|
+
});
|
|
3834
|
+
}); };
|
|
3779
3835
|
var NO_TEST = function () { };
|
|
3780
3836
|
var tests = {
|
|
3781
3837
|
role_based_access_permissions: role_based_access_permissions_tests,
|