playcademy 0.18.1 → 0.18.2
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 +1 -1
- package/dist/index.d.ts +24 -12
- package/dist/index.js +465 -255
- package/dist/utils.js +558 -351
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/constants/src/achievements.ts +0 -107
- package/dist/constants/src/auth.ts +0 -13
- package/dist/constants/src/character.ts +0 -16
- package/dist/constants/src/domains.ts +0 -50
- package/dist/constants/src/env-vars.ts +0 -20
- package/dist/constants/src/index.ts +0 -18
- package/dist/constants/src/overworld.ts +0 -330
- package/dist/constants/src/system.ts +0 -10
- package/dist/constants/src/timeback.ts +0 -118
- package/dist/constants/src/typescript.ts +0 -21
- package/dist/constants/src/workers.ts +0 -36
- package/dist/edge-play/src/constants.ts +0 -27
- package/dist/edge-play/src/entry/middleware.ts +0 -247
- package/dist/edge-play/src/entry/queue.test.ts +0 -279
- package/dist/edge-play/src/entry/queue.ts +0 -107
- package/dist/edge-play/src/entry/session.ts +0 -45
- package/dist/edge-play/src/entry/setup.ts +0 -78
- package/dist/edge-play/src/entry/types.ts +0 -30
- package/dist/edge-play/src/entry.ts +0 -94
- package/dist/edge-play/src/html.d.ts +0 -5
- package/dist/edge-play/src/index.ts +0 -4
- package/dist/edge-play/src/lib/errors.ts +0 -51
- package/dist/edge-play/src/lib/index.ts +0 -3
- package/dist/edge-play/src/lib/self-dispatch.test.ts +0 -244
- package/dist/edge-play/src/lib/self-dispatch.ts +0 -41
- package/dist/edge-play/src/lib/validation.test.ts +0 -190
- package/dist/edge-play/src/lib/validation.ts +0 -64
- package/dist/edge-play/src/polyfills.js +0 -54
- package/dist/edge-play/src/register-routes.ts +0 -59
- package/dist/edge-play/src/routes/health.ts +0 -104
- package/dist/edge-play/src/routes/index.ts +0 -66
- package/dist/edge-play/src/routes/integrations/timeback/end-activity.ts +0 -181
- package/dist/edge-play/src/routes/integrations/timeback/get-xp.ts +0 -159
- package/dist/edge-play/src/routes/root.html +0 -253
- package/dist/edge-play/src/routes/root.ts +0 -22
- package/dist/edge-play/src/stub-entry.ts +0 -161
- package/dist/edge-play/src/types.ts +0 -124
package/dist/cli.js
CHANGED
|
@@ -3015,7 +3015,7 @@ import { existsSync as existsSync11, mkdirSync as mkdirSync5, readFileSync as re
|
|
|
3015
3015
|
import { join as join13 } from "node:path";
|
|
3016
3016
|
|
|
3017
3017
|
// src/version.ts
|
|
3018
|
-
var cliVersion = false ? "0.0.0-dev" : "0.18.
|
|
3018
|
+
var cliVersion = false ? "0.0.0-dev" : "0.18.2";
|
|
3019
3019
|
|
|
3020
3020
|
// src/lib/init/database.ts
|
|
3021
3021
|
var drizzleConfigTemplate = loadTemplateString("database/drizzle-config.ts");
|
package/dist/index.d.ts
CHANGED
|
@@ -1190,20 +1190,32 @@ interface BundleOptions {
|
|
|
1190
1190
|
minify?: boolean;
|
|
1191
1191
|
}
|
|
1192
1192
|
/**
|
|
1193
|
-
*
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1193
|
+
* Metadata describing the sealed backend runtime artifact.
|
|
1194
|
+
*/
|
|
1195
|
+
interface BackendRuntimeManifest {
|
|
1196
|
+
cliVersion: string;
|
|
1197
|
+
sdkVersion: string;
|
|
1198
|
+
runtimeBuildId: string;
|
|
1199
|
+
inputFingerprint: string;
|
|
1200
|
+
entry: string;
|
|
1201
|
+
polyfills: string;
|
|
1202
|
+
}
|
|
1203
|
+
/**
|
|
1204
|
+
* Resolved runtime artifact paths for backend bundling.
|
|
1205
|
+
*/
|
|
1206
|
+
interface BackendRuntimePaths {
|
|
1207
|
+
/** Directory containing the sealed backend runtime artifact */
|
|
1208
|
+
runtimeDir: string;
|
|
1209
|
+
/** Runtime entry point used by the final worker bundler */
|
|
1210
|
+
runtimeEntry: string;
|
|
1211
|
+
/** Polyfills entry used for user backend code */
|
|
1212
|
+
polyfillsEntry: string;
|
|
1203
1213
|
/** User's workspace node_modules */
|
|
1204
1214
|
workspaceNodeModules: string;
|
|
1205
|
-
/** Resolution root for CLI dependencies — monorepo root in dev
|
|
1215
|
+
/** Resolution root for CLI dependencies — monorepo root in dev, .playcademy/node_modules in compiled binary */
|
|
1206
1216
|
cliDepsRoot: string;
|
|
1217
|
+
/** Runtime metadata exposed by /api/health */
|
|
1218
|
+
manifest: BackendRuntimeManifest;
|
|
1207
1219
|
}
|
|
1208
1220
|
|
|
1209
1221
|
/**
|
|
@@ -1690,4 +1702,4 @@ interface ApplySecretsOptions {
|
|
|
1690
1702
|
workspace: string;
|
|
1691
1703
|
}
|
|
1692
1704
|
|
|
1693
|
-
export type { ApiConfig, ApiErrorResponse, ApiKeyListItem, ApiKeyWithSecret, ApiRequestOptions, ApplySecretsOptions, AuthProfile, AuthStore, AuthStrategy, BackendBundle, BackendDeploymentMetadata, BackendDiff, BackendFeatures, BaseKVOptions, BucketBulkOptions, BucketDeleteOptions, BucketGetOptions, BucketListOptions, BucketPutOptions, BuildDiff, BulkCollectionResult, BundleOptions, CallbackServerResult, CheckSecretsOptions, CollectedFile, ComponentConfig, ComponentResourceConfig, ConfigDiff, CreateApiKeyResponse, CustomRoutesIntegrationOptions, DatabaseIntegrationOptions, DeployConfig, DeployNewGameOptions, DeployedGameInfo, DeploymentChanges, DeploymentContext, DeploymentDiffOptions, DeploymentPlan, DeploymentResult, DevServerOptions,
|
|
1705
|
+
export type { ApiConfig, ApiErrorResponse, ApiKeyListItem, ApiKeyWithSecret, ApiRequestOptions, ApplySecretsOptions, AuthProfile, AuthStore, AuthStrategy, BackendBundle, BackendDeploymentMetadata, BackendDiff, BackendFeatures, BackendRuntimeManifest, BackendRuntimePaths, BaseKVOptions, BucketBulkOptions, BucketDeleteOptions, BucketGetOptions, BucketListOptions, BucketPutOptions, BuildDiff, BulkCollectionResult, BundleOptions, CallbackServerResult, CheckSecretsOptions, CollectedFile, ComponentConfig, ComponentResourceConfig, ConfigDiff, CreateApiKeyResponse, CustomRoutesIntegrationOptions, DatabaseIntegrationOptions, DeployConfig, DeployNewGameOptions, DeployedGameInfo, DeploymentChanges, DeploymentContext, DeploymentDiffOptions, DeploymentPlan, DeploymentResult, DevServerOptions, EngineConfig, EngineType, EnvironmentAuthProfiles, GameStore, IntegrationChangeDetector, IntegrationChangeDetectors, IntegrationConfigChange, IntegrationsConfig, IntegrationsDiff, KVClearOptions, KVDeleteOptions, KVDumpOptions, KVGetOptions, KVInspectOptions, KVListOptions, KVSeedOptions, KVSetOptions, KVStatsOptions, KeyMetadata, KeyStats, LoadConfigResult, LogEntry, LogStreamConfig, LogStreamUrlOptions, LoginCredentials, LoginResponse, MissingSecret, OrganizationConfig, PlaycademyConfig, PluginLogger, PreviewOptions, PreviewResponse, ProjectDirectoryInfo, QueueConfig, ResourceConfig, ScaffoldResult, SecretCommandOptions, SecretListOptions, SecretPushOptions, SecretsSyncOptions, SecretsSyncResult, SignInResponse, SsoCallbackData, Template, TemplateFramework, TemplateHook, TemplateHookOptions, TemplateSource, TimebackBaseConfig, TimebackCourseConfig, TimebackCourseConfigWithOverrides, TimebackGrade, TimebackIntegrationConfig, TimebackSourcedIds, TimebackSubject, TokenType, UpdateExistingGameOptions };
|