mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-23 06:29:38 +00:00
base64
This commit is contained in:
+1
-4
@@ -187,10 +187,7 @@ export const AttackIntentSchema = BaseIntentSchema.extend({
|
||||
|
||||
export const SpawnIntentSchema = BaseIntentSchema.extend({
|
||||
flag: z.string().optional(),
|
||||
pattern: z
|
||||
.string()
|
||||
.regex(/^[A-Za-z0-9+/=]*$/)
|
||||
.optional(),
|
||||
pattern: z.string().base64().optional(),
|
||||
type: z.literal("spawn"),
|
||||
name: SafeString,
|
||||
playerType: PlayerTypeSchema,
|
||||
|
||||
Reference in New Issue
Block a user