@playcademy/sandbox 0.3.13 → 0.3.14
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 +492 -110
- package/dist/constants.js +3 -2
- package/dist/server.d.ts +1 -1
- package/dist/server.js +492 -110
- package/package.json +1 -1
package/dist/constants.js
CHANGED
|
@@ -129,7 +129,7 @@ var init_auth = __esm(() => {
|
|
|
129
129
|
});
|
|
130
130
|
|
|
131
131
|
// ../constants/src/typescript.ts
|
|
132
|
-
var TSC_PACKAGE = "
|
|
132
|
+
var TSC_PACKAGE = "typescript", USE_NATIVE_TSC;
|
|
133
133
|
var init_typescript = __esm(() => {
|
|
134
134
|
USE_NATIVE_TSC = TSC_PACKAGE.includes("native-preview");
|
|
135
135
|
});
|
|
@@ -200,7 +200,8 @@ var PLATFORM_TIMEZONE = "America/New_York";
|
|
|
200
200
|
var TIMEBACK_ROUTES, TIMEBACK_ORG_SOURCED_ID = "PLAYCADEMY";
|
|
201
201
|
var init_timeback = __esm(() => {
|
|
202
202
|
TIMEBACK_ROUTES = {
|
|
203
|
-
END_ACTIVITY: "/integrations/timeback/end-activity"
|
|
203
|
+
END_ACTIVITY: "/integrations/timeback/end-activity",
|
|
204
|
+
GET_XP: "/integrations/timeback/xp"
|
|
204
205
|
};
|
|
205
206
|
});
|
|
206
207
|
|
package/dist/server.d.ts
CHANGED
|
@@ -289,7 +289,7 @@ declare const version: string;
|
|
|
289
289
|
declare function startServer(port: number, project?: ProjectInfo, options?: Omit<ServerOptions, 'port' | 'project'>): Promise<{
|
|
290
290
|
main: _hono_node_server.ServerType;
|
|
291
291
|
gameId: string | undefined;
|
|
292
|
-
timebackMode: "local" | "
|
|
292
|
+
timebackMode: "local" | "remote" | "mock" | null;
|
|
293
293
|
setRole: (role: TimebackUserRole) => void;
|
|
294
294
|
stop: () => Promise<void>;
|
|
295
295
|
}>;
|