@playcademy/sandbox 0.7.1-beta.8 → 0.8.0

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.
Files changed (4) hide show
  1. package/dist/cli.js +17946 -7595
  2. package/dist/constants.js +8 -3
  3. package/dist/server.js +17947 -7596
  4. package/package.json +1 -1
package/dist/constants.js CHANGED
@@ -84,8 +84,13 @@ var init_game = __esm(() => {
84
84
  });
85
85
 
86
86
  // ../constants/src/platform.ts
87
- var PLAYCADEMY_BROWSER_TIME_ZONE_HEADER = "x-playcademy-browser-time-zone", CORE_GAME_UUIDS;
87
+ var CACHE_CONTROL, PLAYCADEMY_BROWSER_TIME_ZONE_HEADER = "x-playcademy-browser-time-zone", PLAYCADEMY_ASSESSMENT_ASSET_SHA256_HEADER = "x-playcademy-content-sha256", ASSESSMENT_ASSET_KEY_PREFIX = "assessment-assets/", ASSESSMENT_ASSET_MAX_BYTES, ASSESSMENT_ASSET_MAX_PIXELS = 25000000, CORE_GAME_UUIDS;
88
88
  var init_platform = __esm(() => {
89
+ CACHE_CONTROL = {
90
+ IMMUTABLE: "public, max-age=31536000, immutable",
91
+ JSON_DATA: "public, max-age=86400, s-maxage=31536000, must-revalidate"
92
+ };
93
+ ASSESSMENT_ASSET_MAX_BYTES = 4 * 1024 * 1024;
89
94
  CORE_GAME_UUIDS = {
90
95
  DEMO: "00000000-0000-0000-0000-000000000001"
91
96
  };
@@ -109,10 +114,10 @@ var init_timeback = __esm(() => {
109
114
  "Math",
110
115
  "None"
111
116
  ];
112
- ASSESSMENT_PURPOSES = ["end_of_course", "diagnostic", "review"];
117
+ ASSESSMENT_PURPOSES = ["end_of_course", "diagnostic", "review", "mastery"];
113
118
  TIMEBACK_ASSESSMENT_REVIEW_REQUEST_LIMITS = {
114
119
  standards: 20,
115
- itemsPerStandard: 5,
120
+ candidateItemsPerStandard: 2,
116
121
  standardFieldLength: 128
117
122
  };
118
123
  TIMEBACK_COURSE_DEFAULTS = {