DAtaModels + Appv2 migration : OK

This commit is contained in:
2026-04-02 21:33:56 +02:00
parent 4def580296
commit a37ad2cc82
779 changed files with 391512 additions and 305 deletions

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

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