@brightspace-hmc/siren-sdk
Advanced tools
Comparing version 2.120.0 to 2.121.0
{ | ||
"name": "@brightspace-hmc/siren-sdk", | ||
"version": "2.120.0", | ||
"version": "2.121.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -195,3 +195,4 @@ export const Rels = { | ||
courseMergeLogDetail: 'https://ipsis.api.brightspace.com/rels/course-merge-log-detail', | ||
courseMergeLogDetails: 'https://ipsis.api.brightspace.com/rels/course-merge-log-details' | ||
courseMergeLogDetails: 'https://ipsis.api.brightspace.com/rels/course-merge-log-details', | ||
logUser: 'https://ipsis.api.brightspace.com/rels/log-user' | ||
} | ||
@@ -198,0 +199,0 @@ }, |
@@ -5,3 +5,3 @@ /** | ||
*/ | ||
import { Classes } from '../../hypermedia-constants.js'; | ||
import { Classes, Rels } from '../../hypermedia-constants.js'; | ||
import { Entity } from '../../es6/Entity.js'; | ||
@@ -18,4 +18,4 @@ | ||
user() { | ||
return this._entity?.getSubEntityByClass(Classes.ipsis.sisCourseMerge.logUser); | ||
userHref() { | ||
return this._entity?.getSubEntityByClass(Classes.ipsis.sisCourseMerge.logUser)?.getLinkByRel(Rels.ipsis.sisCourseMerge.logUser)?.href; | ||
} | ||
@@ -22,0 +22,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
403527
11183