@playcademy/sandbox 0.10.1 → 0.10.2-beta.2
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/cli.js +385 -106
- package/dist/constants.js +14 -0
- package/dist/server.js +385 -106
- package/package.json +1 -1
package/dist/constants.js
CHANGED
|
@@ -96,6 +96,19 @@ var init_platform = __esm(() => {
|
|
|
96
96
|
};
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
+
// ../constants/src/skills.ts
|
|
100
|
+
var SKILL_STATUS_ROUTE = "/__playcademy/skills/status", SKILL_STATUS_TOKEN_AUDIENCE = "playcademy-game-skill-status", SKILL_STATUS_MAX_SKILLS = 50, SKILL_STATUSES, SKILL_MASTERY_SOURCES;
|
|
101
|
+
var init_skills = __esm(() => {
|
|
102
|
+
SKILL_STATUSES = [
|
|
103
|
+
"locked",
|
|
104
|
+
"unlocked",
|
|
105
|
+
"in_progress",
|
|
106
|
+
"mastered",
|
|
107
|
+
"unknown_skill"
|
|
108
|
+
];
|
|
109
|
+
SKILL_MASTERY_SOURCES = ["assessment", "placement", "test_out", "manual"];
|
|
110
|
+
});
|
|
111
|
+
|
|
99
112
|
// ../constants/src/system.ts
|
|
100
113
|
var PLATFORM_TIMEZONE = "America/New_York";
|
|
101
114
|
|
|
@@ -188,6 +201,7 @@ var init_src = __esm(() => {
|
|
|
188
201
|
init_env_vars();
|
|
189
202
|
init_game();
|
|
190
203
|
init_platform();
|
|
204
|
+
init_skills();
|
|
191
205
|
init_timeback();
|
|
192
206
|
init_cloudflare();
|
|
193
207
|
});
|