@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/cjs/tests/tests.js
CHANGED
|
@@ -3813,6 +3813,62 @@ var role_based_access_permissions_tests = function () { return __awaiter(void 0,
|
|
|
3813
3813
|
});
|
|
3814
3814
|
}); };
|
|
3815
3815
|
exports.role_based_access_permissions_tests = role_based_access_permissions_tests;
|
|
3816
|
+
var example_hep_record = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
3817
|
+
return __generator(this, function (_a) {
|
|
3818
|
+
switch (_a.label) {
|
|
3819
|
+
case 0: return [4 /*yield*/, sdk.api.managed_content_records.createOne({
|
|
3820
|
+
"title": "Squats For Days (output.title)",
|
|
3821
|
+
"assignmentType": "Individual",
|
|
3822
|
+
"enduserId": "tellescope_enduser_id_here",
|
|
3823
|
+
"htmlContent": "",
|
|
3824
|
+
"textContent": "",
|
|
3825
|
+
"blocks": [
|
|
3826
|
+
{
|
|
3827
|
+
"type": "h1",
|
|
3828
|
+
"info": {
|
|
3829
|
+
"text": "Standing stability in partial squat with support from table/chair"
|
|
3830
|
+
}
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
"type": "h2",
|
|
3834
|
+
"info": {
|
|
3835
|
+
"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."
|
|
3836
|
+
}
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
"type": "html",
|
|
3840
|
+
"info": {
|
|
3841
|
+
"html": "<div>custom content synthesizing weight, repetition, frequency, duration, sets, etc.</div>"
|
|
3842
|
+
},
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
"type": "image",
|
|
3846
|
+
"info": {
|
|
3847
|
+
"link": "https://hep.physiotec.ca/image.php?param=ZzZySkRIVXBqN2JTejF5U0cvZWtaSkk5MUdyNDYvRmQ3YkFjMm1CU2NEbm9iOENKNEs1ZXlXTXhWcXZyRWZQOERBNVBYVkpNTXlIOVlBWm5PTkVJaFE9PQ=="
|
|
3848
|
+
}
|
|
3849
|
+
},
|
|
3850
|
+
{
|
|
3851
|
+
"type": "image",
|
|
3852
|
+
"info": {
|
|
3853
|
+
"link": "https://hep.physiotec.ca/image.php?param=ZzZySkRIVXBqN2JTejF5U0cvZWtaSkk5MUdyNDYvRmQ3YkFjMm1CU2NEazBlY1g2TFpaYVZsa0wrT3F3aGdsMGd6dTkyVXFvNVdBOUlVUFZpcmltM0E9PQ=="
|
|
3854
|
+
}
|
|
3855
|
+
},
|
|
3856
|
+
{
|
|
3857
|
+
"type": "iframe",
|
|
3858
|
+
"info": {
|
|
3859
|
+
"link": "videos.sproutvideo.com/embed/a09bdeb3191ae5c428/50796be0534425e7?type=sd",
|
|
3860
|
+
"width": 630,
|
|
3861
|
+
"height": 354
|
|
3862
|
+
}
|
|
3863
|
+
}
|
|
3864
|
+
]
|
|
3865
|
+
})];
|
|
3866
|
+
case 1:
|
|
3867
|
+
_a.sent();
|
|
3868
|
+
return [2 /*return*/];
|
|
3869
|
+
}
|
|
3870
|
+
});
|
|
3871
|
+
}); };
|
|
3816
3872
|
var NO_TEST = function () { };
|
|
3817
3873
|
var tests = {
|
|
3818
3874
|
role_based_access_permissions: exports.role_based_access_permissions_tests,
|