@playcademy/sandbox 0.10.1-beta.6 → 0.10.1-beta.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 +18 -3
- package/dist/server.js +18 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1128,7 +1128,7 @@ var package_default;
|
|
|
1128
1128
|
var init_package = __esm(() => {
|
|
1129
1129
|
package_default = {
|
|
1130
1130
|
name: "@playcademy/sandbox",
|
|
1131
|
-
version: "0.10.1-beta.
|
|
1131
|
+
version: "0.10.1-beta.7",
|
|
1132
1132
|
description: "Local development server for Playcademy game development",
|
|
1133
1133
|
type: "module",
|
|
1134
1134
|
exports: {
|
|
@@ -47590,7 +47590,7 @@ var init_emoji = __esm(() => {
|
|
|
47590
47590
|
function requestsBinding(binding) {
|
|
47591
47591
|
return binding === true || Array.isArray(binding) && binding.length > 0;
|
|
47592
47592
|
}
|
|
47593
|
-
var HttpUrlSchema, GameEmojiSchema, GamePermissionsSchema, GameMetadataRecordSchema, InsertGameSchema, UpdateGameSchema, InsertGameDeploymentSchema, InsertGameDeployJobSchema, InsertGameDeploymentStateSchema, UpsertGameMetadataSchema, PatchGameMetadataSchema, AddGameMemberSchema, UpdateGameMemberRoleSchema, AddGameDashboardUserSchema, VerifyGameDashboardLoginSchema, AcceptGameDashboardInviteSchema, AcceptGameDashboardResetSchema, ALLOWED_UPLOAD_EXTENSIONS, InitiateUploadSchema, AddCustomHostnameSchema, SetSecretsRequestSchema, SecretsDiffRequestSchema, SeedRequestSchema, SchemaInfoSchema, VerifyTokenSchema, KVSeedRequestSchema, DeployMigrationSchema, DeployDatabaseSchema, DatabaseResetDatabaseSchema, DatabaseResetRequestSchema, BaselineEvidenceSchema, DeployBaselineSchema, DeploymentStateBaselineSchema, MigrationRealignSchema, MigrationResolveSchema, DatabaseRestoreSchema, DeployBlockedReportSchema, DeployRequestSchema;
|
|
47593
|
+
var HttpUrlSchema, GameEmojiSchema, GamePermissionsSchema, GameMetadataRecordSchema, InsertGameSchema, UpdateGameSchema, InsertGameDeploymentSchema, InsertGameDeployJobSchema, InsertGameDeploymentStateSchema, UpsertGameMetadataSchema, PatchGameMetadataSchema, AddGameMemberSchema, UpdateGameMemberRoleSchema, AddGameDashboardUserSchema, VerifyGameDashboardLoginSchema, AcceptGameDashboardInviteSchema, AcceptGameDashboardResetSchema, ALLOWED_UPLOAD_EXTENSIONS, InitiateUploadSchema, AddCustomHostnameSchema, SetSecretsRequestSchema, SecretsDiffRequestSchema, SeedRequestSchema, SchemaInfoSchema, VerifyTokenSchema, KVSeedRequestSchema, DeployMigrationSchema, DeployDatabaseSchema, DatabaseResetDatabaseSchema, DatabaseResetRequestSchema, BaselineEvidenceSchema, DeployBaselineSchema, DeploySourceSchema, DeploymentStateBaselineSchema, MigrationRealignSchema, MigrationResolveSchema, DatabaseRestoreSchema, DeployBlockedReportSchema, DeployRequestSchema;
|
|
47594
47594
|
var init_schemas2 = __esm(() => {
|
|
47595
47595
|
init_drizzle_zod();
|
|
47596
47596
|
init_esm();
|
|
@@ -47836,6 +47836,19 @@ var init_schemas2 = __esm(() => {
|
|
|
47836
47836
|
message: "A baseline must claim something — migration history, a schema snapshot, or artifact hashes",
|
|
47837
47837
|
path: ["lastAppliedMigrationTag"]
|
|
47838
47838
|
});
|
|
47839
|
+
DeploySourceSchema = exports_external.object({
|
|
47840
|
+
repository: exports_external.string().url().nullable().transform((value) => {
|
|
47841
|
+
if (value === null) {
|
|
47842
|
+
return null;
|
|
47843
|
+
}
|
|
47844
|
+
const url = new URL(value);
|
|
47845
|
+
return url.username || url.password || url.search || url.hash ? null : value;
|
|
47846
|
+
}),
|
|
47847
|
+
commit: exports_external.string().regex(/^[0-9a-f]{40}$/, "commit must be a full 40-character lowercase SHA").nullable(),
|
|
47848
|
+
branch: exports_external.string().min(1).nullable(),
|
|
47849
|
+
dirty: exports_external.boolean(),
|
|
47850
|
+
externalBuild: exports_external.boolean().default(false)
|
|
47851
|
+
});
|
|
47839
47852
|
DeploymentStateBaselineSchema = exports_external.object({
|
|
47840
47853
|
lastAppliedMigrationTag: exports_external.string().min(1).optional(),
|
|
47841
47854
|
journal: exports_external.array(exports_external.object({
|
|
@@ -47907,6 +47920,7 @@ var init_schemas2 = __esm(() => {
|
|
|
47907
47920
|
buildHash: exports_external.string().min(1).optional(),
|
|
47908
47921
|
integrationsHash: exports_external.string().min(1).optional(),
|
|
47909
47922
|
pruneSecrets: exports_external.array(exports_external.string().min(1)).optional(),
|
|
47923
|
+
source: DeploySourceSchema.optional(),
|
|
47910
47924
|
metadata: exports_external.object({
|
|
47911
47925
|
displayName: exports_external.string().optional(),
|
|
47912
47926
|
description: exports_external.string().optional(),
|
|
@@ -169246,7 +169260,8 @@ var init_deploy = __esm(async () => {
|
|
|
169246
169260
|
config: body2.config,
|
|
169247
169261
|
bindings: body2.bindings,
|
|
169248
169262
|
schema: body2.schema,
|
|
169249
|
-
metadata: body2.metadata
|
|
169263
|
+
metadata: body2.metadata,
|
|
169264
|
+
source: body2.source
|
|
169250
169265
|
},
|
|
169251
169266
|
events,
|
|
169252
169267
|
result: {
|
package/dist/server.js
CHANGED
|
@@ -1127,7 +1127,7 @@ var package_default;
|
|
|
1127
1127
|
var init_package = __esm(() => {
|
|
1128
1128
|
package_default = {
|
|
1129
1129
|
name: "@playcademy/sandbox",
|
|
1130
|
-
version: "0.10.1-beta.
|
|
1130
|
+
version: "0.10.1-beta.7",
|
|
1131
1131
|
description: "Local development server for Playcademy game development",
|
|
1132
1132
|
type: "module",
|
|
1133
1133
|
exports: {
|
|
@@ -47589,7 +47589,7 @@ var init_emoji = __esm(() => {
|
|
|
47589
47589
|
function requestsBinding(binding) {
|
|
47590
47590
|
return binding === true || Array.isArray(binding) && binding.length > 0;
|
|
47591
47591
|
}
|
|
47592
|
-
var HttpUrlSchema, GameEmojiSchema, GamePermissionsSchema, GameMetadataRecordSchema, InsertGameSchema, UpdateGameSchema, InsertGameDeploymentSchema, InsertGameDeployJobSchema, InsertGameDeploymentStateSchema, UpsertGameMetadataSchema, PatchGameMetadataSchema, AddGameMemberSchema, UpdateGameMemberRoleSchema, AddGameDashboardUserSchema, VerifyGameDashboardLoginSchema, AcceptGameDashboardInviteSchema, AcceptGameDashboardResetSchema, ALLOWED_UPLOAD_EXTENSIONS, InitiateUploadSchema, AddCustomHostnameSchema, SetSecretsRequestSchema, SecretsDiffRequestSchema, SeedRequestSchema, SchemaInfoSchema, VerifyTokenSchema, KVSeedRequestSchema, DeployMigrationSchema, DeployDatabaseSchema, DatabaseResetDatabaseSchema, DatabaseResetRequestSchema, BaselineEvidenceSchema, DeployBaselineSchema, DeploymentStateBaselineSchema, MigrationRealignSchema, MigrationResolveSchema, DatabaseRestoreSchema, DeployBlockedReportSchema, DeployRequestSchema;
|
|
47592
|
+
var HttpUrlSchema, GameEmojiSchema, GamePermissionsSchema, GameMetadataRecordSchema, InsertGameSchema, UpdateGameSchema, InsertGameDeploymentSchema, InsertGameDeployJobSchema, InsertGameDeploymentStateSchema, UpsertGameMetadataSchema, PatchGameMetadataSchema, AddGameMemberSchema, UpdateGameMemberRoleSchema, AddGameDashboardUserSchema, VerifyGameDashboardLoginSchema, AcceptGameDashboardInviteSchema, AcceptGameDashboardResetSchema, ALLOWED_UPLOAD_EXTENSIONS, InitiateUploadSchema, AddCustomHostnameSchema, SetSecretsRequestSchema, SecretsDiffRequestSchema, SeedRequestSchema, SchemaInfoSchema, VerifyTokenSchema, KVSeedRequestSchema, DeployMigrationSchema, DeployDatabaseSchema, DatabaseResetDatabaseSchema, DatabaseResetRequestSchema, BaselineEvidenceSchema, DeployBaselineSchema, DeploySourceSchema, DeploymentStateBaselineSchema, MigrationRealignSchema, MigrationResolveSchema, DatabaseRestoreSchema, DeployBlockedReportSchema, DeployRequestSchema;
|
|
47593
47593
|
var init_schemas2 = __esm(() => {
|
|
47594
47594
|
init_drizzle_zod();
|
|
47595
47595
|
init_esm();
|
|
@@ -47835,6 +47835,19 @@ var init_schemas2 = __esm(() => {
|
|
|
47835
47835
|
message: "A baseline must claim something — migration history, a schema snapshot, or artifact hashes",
|
|
47836
47836
|
path: ["lastAppliedMigrationTag"]
|
|
47837
47837
|
});
|
|
47838
|
+
DeploySourceSchema = exports_external.object({
|
|
47839
|
+
repository: exports_external.string().url().nullable().transform((value) => {
|
|
47840
|
+
if (value === null) {
|
|
47841
|
+
return null;
|
|
47842
|
+
}
|
|
47843
|
+
const url = new URL(value);
|
|
47844
|
+
return url.username || url.password || url.search || url.hash ? null : value;
|
|
47845
|
+
}),
|
|
47846
|
+
commit: exports_external.string().regex(/^[0-9a-f]{40}$/, "commit must be a full 40-character lowercase SHA").nullable(),
|
|
47847
|
+
branch: exports_external.string().min(1).nullable(),
|
|
47848
|
+
dirty: exports_external.boolean(),
|
|
47849
|
+
externalBuild: exports_external.boolean().default(false)
|
|
47850
|
+
});
|
|
47838
47851
|
DeploymentStateBaselineSchema = exports_external.object({
|
|
47839
47852
|
lastAppliedMigrationTag: exports_external.string().min(1).optional(),
|
|
47840
47853
|
journal: exports_external.array(exports_external.object({
|
|
@@ -47906,6 +47919,7 @@ var init_schemas2 = __esm(() => {
|
|
|
47906
47919
|
buildHash: exports_external.string().min(1).optional(),
|
|
47907
47920
|
integrationsHash: exports_external.string().min(1).optional(),
|
|
47908
47921
|
pruneSecrets: exports_external.array(exports_external.string().min(1)).optional(),
|
|
47922
|
+
source: DeploySourceSchema.optional(),
|
|
47909
47923
|
metadata: exports_external.object({
|
|
47910
47924
|
displayName: exports_external.string().optional(),
|
|
47911
47925
|
description: exports_external.string().optional(),
|
|
@@ -169245,7 +169259,8 @@ var init_deploy = __esm(async () => {
|
|
|
169245
169259
|
config: body2.config,
|
|
169246
169260
|
bindings: body2.bindings,
|
|
169247
169261
|
schema: body2.schema,
|
|
169248
|
-
metadata: body2.metadata
|
|
169262
|
+
metadata: body2.metadata,
|
|
169263
|
+
source: body2.source
|
|
169249
169264
|
},
|
|
169250
169265
|
events,
|
|
169251
169266
|
result: {
|