@playcademy/sandbox 0.3.19-beta.5 → 0.3.19-beta.6
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/README.md +2 -2
- package/dist/cli.js +693 -5702
- package/dist/constants.d.ts +1 -17
- package/dist/constants.js +10 -278
- package/dist/infrastructure/api/index.d.ts +6 -6
- package/dist/server.d.ts +1 -1
- package/dist/server.js +686 -5695
- package/package.json +2 -4
package/README.md
CHANGED
|
@@ -155,7 +155,7 @@ const client = await PlaycademyClient.init({
|
|
|
155
155
|
|
|
156
156
|
| Feature | Description |
|
|
157
157
|
| :------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
158
|
-
| **API Simulation** | Emulates the
|
|
158
|
+
| **API Simulation** | Emulates the Playcademy backend API for users, games, scores, etc. |
|
|
159
159
|
| **Data Persistence** | Persists data to disk by default (survives restarts). Use `--recreate-db` to reset, `--memory` for in-memory only, or `--db-path` for custom location. |
|
|
160
160
|
| **Mock Data** | Automatically seeds with demo users and data on first run or when database is empty. |
|
|
161
161
|
| **Game Context** | When run via the Vite plugin, it automatically registers your current project as a mock game. |
|
|
@@ -167,7 +167,7 @@ Once running, the sandbox provides several key endpoints:
|
|
|
167
167
|
- **Health Check**: `GET /health`
|
|
168
168
|
- **API Base URL**: `/api`
|
|
169
169
|
|
|
170
|
-
All production Playcademy APIs are available under the `/api` prefix, including `/users`, `/games`, `/
|
|
170
|
+
All production Playcademy APIs are available under the `/api` prefix, including `/users`, `/games`, `/scores`, and more.
|
|
171
171
|
|
|
172
172
|
## TimeBack Integration Testing
|
|
173
173
|
|