forked from JMU-CIME/CPR-Music
-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.js
42 lines (39 loc) · 1.18 KB
/
types.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
export const SELECT_COURSE = 'SELECT_COURSE';
export const Action = Object.freeze({
GotEnrollments: 'GotEnrollments',
NewEnrollment: 'NewEnrollment',
AddedRoster: 'AddedRoster',
GotInstruments: 'GotInstruments',
GotRoster: 'GotRoster',
UpdatedEnrollmentInstrument: 'UpdatedEnrollmentInstrument',
GotAssignments: 'GotAssignments',
LoggedOut: 'LoggedOut',
GotActivities: 'GotActivities',
GotPieces: 'GotPieces',
AssignedPiece: 'AssignedPiece',
UnassignedPiece: 'UnassignedPiece',
HaveUser: 'HaveUser',
GotProfile: 'GotProfile',
SelectedEnrollment: 'SelectedEnrollment',
SelectedAssignment: 'SelectedAssignment',
GotSingleAssignment: 'GotSingleAssignment',
SetInstrumentActive: 'SetInstrumentActive',
SetPieceChangeState: 'SetPieceChangeState',
DidInstrument: 'DidInstrument',
BeginUpload: 'BeginUpload',
UploadSucceeded: 'UploadSucceeded',
UploadFailed: 'UploadFailed',
UploadFinished: 'UploadFinished',
});
export const ActivityState = Object.freeze({
Inactive: 'Inactive',
Active: 'Active',
Erroneous: 'Erroneous',
Success: 'Success',
});
export const UploadStatusEnum = Object.freeze({
Inactive: 0,
Active: 1,
Success: 2,
Erroneous: 3,
});