@playcademy/sandbox 0.3.6 → 0.3.7
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 +361 -187
- package/dist/mocks/timeback.d.ts +5 -0
- package/dist/server.js +361 -187
- package/package.json +1 -1
package/dist/mocks/timeback.d.ts
CHANGED
|
@@ -24,6 +24,11 @@ export declare function getMockEnrollments(db: DatabaseInstance): Promise<UserEn
|
|
|
24
24
|
* Generate complete mock TimeBack data for a user.
|
|
25
25
|
*/
|
|
26
26
|
export declare function getMockTimebackData(db: DatabaseInstance, timebackId: string, gameId?: string): Promise<UserTimebackData>;
|
|
27
|
+
/**
|
|
28
|
+
* Get mock timeback user data for the current sandbox user.
|
|
29
|
+
* Uses the configured timebackId from sandbox config.
|
|
30
|
+
*/
|
|
31
|
+
export declare function getMockTimebackUser(db: DatabaseInstance, gameId?: string): Promise<UserTimebackData>;
|
|
27
32
|
/**
|
|
28
33
|
* Build a complete user response with mock timeback data.
|
|
29
34
|
* Used to bypass api-core when in mock mode (avoids real API calls).
|