@brightspace-hmc/siren-sdk
Advanced tools
Comparing version 2.86.0 to 2.87.0
{ | ||
"name": "@brightspace-hmc/siren-sdk", | ||
"version": "2.86.0", | ||
"version": "2.87.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -93,2 +93,15 @@ import { Actions, Classes, Rels } from '../hypermedia-constants.js'; | ||
/** | ||
* @returns {Array} Available completion criteria values for this activity, for use with the updateCompletionCriteria action | ||
*/ | ||
availableCriteria() { | ||
const completionCriteriaEntity = this._getSubEntityByClass(Classes.content.completionCriteria); | ||
if (!completionCriteriaEntity) { | ||
return; | ||
} | ||
return completionCriteriaEntity.properties.availableCriteria; | ||
} | ||
/** | ||
* @returns {Array} Enabled completion criteria values for this activity, for use with the updateCompletionCriteria action | ||
@@ -95,0 +108,0 @@ */ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
389155
10712