@playcademy/vite-plugin 0.2.21-beta.1 → 0.2.22-beta.1
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/index.js +17 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25334,7 +25334,7 @@ var package_default;
|
|
|
25334
25334
|
var init_package = __esm(() => {
|
|
25335
25335
|
package_default = {
|
|
25336
25336
|
name: "@playcademy/sandbox",
|
|
25337
|
-
version: "0.3.
|
|
25337
|
+
version: "0.3.16-beta.1",
|
|
25338
25338
|
description: "Local development server for Playcademy game development",
|
|
25339
25339
|
type: "module",
|
|
25340
25340
|
exports: {
|
|
@@ -54043,6 +54043,7 @@ class TimebackService {
|
|
|
54043
54043
|
timingData,
|
|
54044
54044
|
xpEarned,
|
|
54045
54045
|
masteredUnits,
|
|
54046
|
+
extensions,
|
|
54046
54047
|
user
|
|
54047
54048
|
}) {
|
|
54048
54049
|
const client = this.requireClient();
|
|
@@ -54062,6 +54063,7 @@ class TimebackService {
|
|
|
54062
54063
|
sessionDurationSeconds: timingData.durationSeconds,
|
|
54063
54064
|
xpEarned,
|
|
54064
54065
|
masteredUnits,
|
|
54066
|
+
extensions,
|
|
54065
54067
|
activityId: activityData.activityId,
|
|
54066
54068
|
activityName: activityData.activityName,
|
|
54067
54069
|
subject: activityData.subject,
|
|
@@ -118147,7 +118149,8 @@ var init_schemas11 = __esm(() => {
|
|
|
118147
118149
|
durationSeconds: exports_external.number().positive()
|
|
118148
118150
|
}),
|
|
118149
118151
|
xpEarned: exports_external.number().optional(),
|
|
118150
|
-
masteredUnits: exports_external.number().nonnegative().optional()
|
|
118152
|
+
masteredUnits: exports_external.number().nonnegative().optional(),
|
|
118153
|
+
extensions: exports_external.record(exports_external.string(), exports_external.unknown()).optional()
|
|
118151
118154
|
});
|
|
118152
118155
|
PopulateStudentRequestSchema = exports_external.object({
|
|
118153
118156
|
firstName: exports_external.string().min(1).optional(),
|
|
@@ -120501,7 +120504,16 @@ var init_timeback_controller = __esm(() => {
|
|
|
120501
120504
|
}
|
|
120502
120505
|
throw ApiError.badRequest("Invalid JSON body");
|
|
120503
120506
|
}
|
|
120504
|
-
const {
|
|
120507
|
+
const {
|
|
120508
|
+
gameId,
|
|
120509
|
+
studentId,
|
|
120510
|
+
activityData,
|
|
120511
|
+
scoreData,
|
|
120512
|
+
timingData,
|
|
120513
|
+
xpEarned,
|
|
120514
|
+
masteredUnits,
|
|
120515
|
+
extensions
|
|
120516
|
+
} = body2;
|
|
120505
120517
|
logger62.debug("Ending activity", { userId: ctx.user.id, gameId });
|
|
120506
120518
|
return ctx.services.timeback.endActivity({
|
|
120507
120519
|
gameId,
|
|
@@ -120511,6 +120523,7 @@ var init_timeback_controller = __esm(() => {
|
|
|
120511
120523
|
timingData,
|
|
120512
120524
|
xpEarned,
|
|
120513
120525
|
masteredUnits,
|
|
120526
|
+
extensions,
|
|
120514
120527
|
user: ctx.user
|
|
120515
120528
|
});
|
|
120516
120529
|
});
|
|
@@ -123134,7 +123147,7 @@ var import_picocolors12 = __toESM(require_picocolors(), 1);
|
|
|
123134
123147
|
// package.json
|
|
123135
123148
|
var package_default2 = {
|
|
123136
123149
|
name: "@playcademy/vite-plugin",
|
|
123137
|
-
version: "0.2.
|
|
123150
|
+
version: "0.2.22-beta.1",
|
|
123138
123151
|
type: "module",
|
|
123139
123152
|
exports: {
|
|
123140
123153
|
".": {
|