classe et espece
This commit is contained in:
@@ -27,6 +27,9 @@ const classes = defineCollection({
|
||||
.object({
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
encre: z
|
||||
.enum(["martial", "arcane", "divin", "primal", "hybride"])
|
||||
.default("martial"),
|
||||
})
|
||||
.passthrough(),
|
||||
});
|
||||
@@ -37,6 +40,9 @@ const especes = defineCollection({
|
||||
.object({
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
spectre: z
|
||||
.enum(["solaire", "elementaire", "terrestre", "sylvestre", "ombre"])
|
||||
.default("terrestre"),
|
||||
})
|
||||
.passthrough(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user