Changes all documents to have an explicit type

This commit is contained in:
2025-06-27 21:58:58 -07:00
parent 611eaca5b6
commit c00eb1d965
29 changed files with 309 additions and 363 deletions

View File

@@ -25,11 +25,10 @@ export const NewMonsterForm = ({
try {
const monsterDoc: Monster = await pb.collection("documents").create({
campaign,
type: "monster",
data: {
monster: {
name,
description,
},
name,
description,
},
});
setName("");