playcademy 0.14.25 → 0.14.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/src/timeback.ts +66 -0
- package/dist/index.js +303 -444
- package/dist/templates/config/integrations-config.js.template +1 -1
- package/dist/utils.js +32 -49
- package/dist/version.js +2 -2
- package/package.json +1 -1
|
@@ -30,3 +30,69 @@ export const TIMEBACK_ROUTES = {
|
|
|
30
30
|
* This is the default organization sourcedId for Playcademy games
|
|
31
31
|
*/
|
|
32
32
|
export const TIMEBACK_ORG_SOURCED_ID = 'PLAYCADEMY' as const
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Default organization name for Playcademy games
|
|
36
|
+
*/
|
|
37
|
+
export const TIMEBACK_ORG_NAME = 'Playcademy Studios' as const
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Default organization type for Playcademy games
|
|
41
|
+
*/
|
|
42
|
+
export const TIMEBACK_ORG_TYPE = 'department' as const
|
|
43
|
+
|
|
44
|
+
// ============================================================================
|
|
45
|
+
// TimeBack Resource Defaults
|
|
46
|
+
// ============================================================================
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Default course configuration values
|
|
50
|
+
*/
|
|
51
|
+
export const TIMEBACK_COURSE_DEFAULTS = {
|
|
52
|
+
gradingScheme: 'STANDARD',
|
|
53
|
+
level: {
|
|
54
|
+
elementary: 'Elementary',
|
|
55
|
+
middle: 'Middle',
|
|
56
|
+
high: 'High',
|
|
57
|
+
ap: 'AP',
|
|
58
|
+
},
|
|
59
|
+
goals: {
|
|
60
|
+
dailyXp: 50,
|
|
61
|
+
dailyLessons: 3,
|
|
62
|
+
},
|
|
63
|
+
metrics: {
|
|
64
|
+
totalXp: 1000,
|
|
65
|
+
totalLessons: 50,
|
|
66
|
+
},
|
|
67
|
+
} as const
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Default resource configuration values
|
|
71
|
+
*/
|
|
72
|
+
export const TIMEBACK_RESOURCE_DEFAULTS = {
|
|
73
|
+
vendorId: 'playcademy',
|
|
74
|
+
roles: ['primary'] as const,
|
|
75
|
+
importance: 'primary' as const,
|
|
76
|
+
metadata: {
|
|
77
|
+
type: 'interactive' as const,
|
|
78
|
+
toolProvider: 'Playcademy',
|
|
79
|
+
instructionalMethod: 'exploratory' as const,
|
|
80
|
+
language: 'en-US',
|
|
81
|
+
},
|
|
82
|
+
} as const
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Default component configuration values
|
|
86
|
+
*/
|
|
87
|
+
export const TIMEBACK_COMPONENT_DEFAULTS = {
|
|
88
|
+
sortOrder: 1,
|
|
89
|
+
prerequisiteCriteria: 'ALL' as const,
|
|
90
|
+
} as const
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Default componentResource configuration values
|
|
94
|
+
*/
|
|
95
|
+
export const TIMEBACK_COMPONENT_RESOURCE_DEFAULTS = {
|
|
96
|
+
sortOrder: 1,
|
|
97
|
+
lessonType: 'quiz',
|
|
98
|
+
} as const
|