Migration vers DataModels et appv2

This commit is contained in:
2026-01-10 15:08:28 +01:00
parent 939cfb1e86
commit b113f630bf
75 changed files with 8232 additions and 11 deletions

12
modules/models/profil.mjs Normal file
View File

@@ -0,0 +1,12 @@
/**
* Data model pour les profils
*/
export default class ProfilDataModel extends foundry.abstract.TypeDataModel {
static defineSchema() {
const fields = foundry.data.fields;
return {
profiltype: new fields.StringField({ initial: "majeur" }),
description: new fields.HTMLField({ initial: "" })
};
}
}