mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-23 21:03:36 +00:00
optional()
This commit is contained in:
+2
-2
@@ -204,8 +204,8 @@ export const AttackIntentSchema = BaseIntentSchema.extend({
|
||||
});
|
||||
|
||||
export const SpawnIntentSchema = BaseIntentSchema.extend({
|
||||
flag: z.string().nullable(),
|
||||
pattern: z.string().nullable(),
|
||||
flag: z.string().optional(),
|
||||
pattern: z.string().optional(),
|
||||
type: z.literal("spawn"),
|
||||
name: SafeString,
|
||||
playerType: PlayerTypeSchema,
|
||||
|
||||
Reference in New Issue
Block a user