From 1ea8f6bc8b5ac01d936717a654dce0b5d14b67bb Mon Sep 17 00:00:00 2001 From: Tristan Devos Date: Mon, 7 Oct 2024 15:26:23 -0400 Subject: [PATCH 1/2] add aa rels and classes --- index.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 8c78097..4446775 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,6 @@ export const Rels = { + // rels with no domain (IANA) + self: 'self', // default Brightspace domain rels assessment: 'https://api.brightspace.com/rels/assessment', assessorUser: 'https://api.brightspace.com/rels/assessor-user', @@ -84,6 +86,7 @@ export const Rels = { myActivitiesEmpty: 'https://activities.api.brightspace.com/rels/my-activities#empty', myActivityUsage: 'https://activities.api.brightspace.com/rels/my-activity-usage', myUnassessedActivities: 'https://activities.api.brightspace.com/rels/my-unassessed-activities', + nextPage: 'https://activities.api.brightspace.com/rels/next-page', nextPeriod: 'https://activities.api.brightspace.com/rels/next-period', nextWeek: 'https://activities.api.brightspace.com/rels/next-week', overdue: 'https://activities.api.brightspace.com/rels/overdue', @@ -96,6 +99,7 @@ export const Rels = { selectedPublishers: 'https://activities.api.brightspace.com/rels/selected-publisher-candidates', user: 'https://activities.api.brightspace.com/rels/user', userActivityUsage: 'https://activities.api.brightspace.com/rels/user-activity-usage', + userEnrollment: 'https://activities.api.brightspace.com/rels/user-enrollment', }, // Assessments Assessments: { @@ -311,7 +315,14 @@ export const Classes = { unsaved: 'unsaved' }, advancedAssessments: { - removed:'removed' + evaluator: 'evaluator-candidate', + learner: 'learner-candidate', + learnerEvaluator: 'learner-evaluator', + publisher: 'publisher-candidate', + removed:'removed', + selectable: 'selectable', + selected: 'selected', + uncoveredEvaluator:'uncovered-section-evaluator' }, alignments: { alignment: 'alignment', From 60ae058caf4c009957de4b0a7d6321c3c9af40f2 Mon Sep 17 00:00:00 2001 From: Tristan Devos Date: Mon, 7 Oct 2024 15:41:52 -0400 Subject: [PATCH 2/2] remove self --- index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.js b/index.js index 4446775..1eb6ce9 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,4 @@ export const Rels = { - // rels with no domain (IANA) - self: 'self', // default Brightspace domain rels assessment: 'https://api.brightspace.com/rels/assessment', assessorUser: 'https://api.brightspace.com/rels/assessor-user',