UNPKG

xapi-activities

Version:
43 lines 2.11 kB
"use strict"; var __assign = (this && this.__assign) || Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; Object.defineProperty(exports, "__esModule", { value: true }); var scopes_1 = require("./scopes"); exports.TEST_CLIENT = { isTrusted: true, lrs_id: '58fe13e34effd3c26a7fc4b7', organisation: '58fe13e34effd3c26a7fc4b6', scopes: [scopes_1.ALL], }; exports.TEST_INVALID_SCOPE_TOKEN = 'invalid_scope_client'; exports.TEST_INVALID_SCOPE_CLIENT = __assign({}, exports.TEST_CLIENT, { scopes: ['invalid_scope'] }); exports.TEST_VALID_SCOPE_TOKEN = 'valid_scope_client'; exports.TEST_VALID_SCOPE_CLIENT = __assign({}, exports.TEST_CLIENT, { scopes: [scopes_1.XAPI_PROFILE_ALL] }); exports.TEST_OUTSIDE_STORE_TOKEN = 'outside_store_client'; exports.TEST_CLIENT_OUTSIDE_STORE = __assign({}, exports.TEST_CLIENT, { lrs_id: '58fe13e34effd3c26a7fc4c7' }); exports.TEST_OUTSIDE_ORG_TOKEN = 'outside_org_client'; exports.TEST_CLIENT_OUTSIDE_ORG = __assign({}, exports.TEST_CLIENT, { organisation: '58fe13e34effd3c26a7fc4c6' }); exports.TEST_MISSING_TOKEN = 'Basic missing_token'; exports.TEST_ACTIVITY_ID = 'http://www.example.com'; exports.TEST_IMMUTABLE_ACTIVITY_ID = 'http://www.example.org'; exports.TEST_INVALID_ACTIVITY_ID = 'http'; exports.TEST_PROFILE_ID = 'dummy_profile_id'; exports.TEST_IMMUTABLE_PROFILE_ID = 'immutable_profile_id'; exports.TEST_INVALID_TIMESTAMP = '2'; exports.TEST_CONTENT = 'dummy_content'; exports.TEST_IMMUTABLE_CONTENT = 'immutable_content'; exports.TEST_JSON_CONTENT = '[]'; exports.TEST_OBJECT_CONTENT = '{"foo":1}'; exports.TEST_OBJECT_PATCH_CONTENT = '{"bar":2}'; exports.TEST_OBJECT_MERGED_CONTENT = '{"foo":1,"bar":2}'; exports.TEST_INVALID_JSON_CONTENT = '{"foo:1,"bar":2}'; exports.TEXT_CONTENT_TYPE = 'text/plain'; exports.JSON_CONTENT_TYPE = 'application/json'; exports.ALTERNATE_CONTENT_TYPE = 'application/x-www-form-urlencoded'; //# sourceMappingURL=testValues.js.map