Skip to content
This repository was archived by the owner on Dec 14, 2020. It is now read-only.

Commit 30c43c5

Browse files
committed
feat(Activity Types): Adds logEntry, report, resources, roles, and workflows.
1 parent c5c1dcb commit 30c43c5

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

src/statementConstants/activityTypes.ts

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// tslint:disable:max-file-line-count
22

3+
const customBaseUrl = 'https://learninglocker.net/xapi';
4+
35
/**
46
* Represents objects such as news articles, knowledge base entries, or other similar construct.
57
* Such objects generally consist of paragraphs of text.
@@ -86,6 +88,11 @@ export const issue = 'http://activitystrea.ms/schema/1.0/issue';
8688
*/
8789
export const link = 'http://adlnet.gov/expapi/activities/link';
8890

91+
/**
92+
* Represents a record of an event.
93+
*/
94+
export const logEntry = `${customBaseUrl}/log-entry`;
95+
8996
/**
9097
* Information that is communicated by or to or between individual actors or groups of actors.
9198
*/
@@ -120,6 +127,31 @@ export const question = 'http://adlnet.gov/expapi/activities/question';
120127
*/
121128
export const review = 'http://activitystrea.ms/schema/1.0/review';
122129

130+
/**
131+
* Represents an account given of a particular matter, usually in the form of a document.
132+
*/
133+
export const report = `${customBaseUrl}/report`;
134+
135+
/**
136+
* Represents the resource being assigned to an actor.
137+
*/
138+
export const resourceAssignment = `${customBaseUrl}/resource-assignment`;
139+
140+
/**
141+
* Represents a resource structure.
142+
*/
143+
export const resourceStructure = `${customBaseUrl}/resource-structure`;
144+
145+
/**
146+
* Represents a node in a resource structure.
147+
*/
148+
export const resourceStructureNode = `${customBaseUrl}/resource-structure-node`;
149+
150+
/**
151+
* Represents a feature to enable admins to manage access on a per-user or per-group basis.
152+
*/
153+
export const securityRole = 'http://id.tincanapi.com/activitytype/security-role';
154+
123155
/**
124156
* Represents a site. Usually provided in the grouping context activities.
125157
* Usually the URL for an instance of a platform (e.g. "https://moodle.org").
@@ -172,3 +204,8 @@ export const tutorSession = 'http://id.tincanapi.com/activitytype/tutor-session'
172204
* A recording of both the visual and audible components made available on a display screen.
173205
*/
174206
export const video = 'https://w3id.org/xapi/video/activity-type/video';
207+
208+
/**
209+
* This represents a sequence of processes.
210+
*/
211+
export const workflow = `${customBaseUrl}/workflow`;

0 commit comments

Comments
 (0)