@brightspace-hmc/siren-sdk
Advanced tools
Comparing version 2.59.0 to 2.60.0
{ | ||
"name": "@brightspace-hmc/siren-sdk", | ||
"version": "2.59.0", | ||
"version": "2.60.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -11,2 +11,8 @@ import { Classes } from '../../hypermedia-constants.js'; | ||
} | ||
isAllGroups() { | ||
if (!this._entity) { | ||
return false; | ||
} | ||
return this._entity.hasClass(Classes.discussions.allGroups); | ||
} | ||
isSection() { | ||
@@ -18,2 +24,8 @@ if (!this._entity) { | ||
} | ||
isAllSections() { | ||
if (!this._entity) { | ||
return false; | ||
} | ||
return this._entity.hasClass(Classes.discussions.allSections); | ||
} | ||
name() { | ||
@@ -20,0 +32,0 @@ if (!this._entity) { |
@@ -390,3 +390,5 @@ export const Rels = { | ||
groupCategory: 'group-category', | ||
section: 'section' | ||
section: 'section', | ||
allGroups: 'all-groups', | ||
allSections: 'all-sections' | ||
}, | ||
@@ -393,0 +395,0 @@ enrollments: { |
369956
10208