Get the foundation Trait type defined

This commit is contained in:
Eldritch-Oliver 2025-10-10 18:07:02 -06:00
parent 507c9b0341
commit 8de63e91c7
4 changed files with 29 additions and 2 deletions

View file

@ -0,0 +1,11 @@
const { fields } = foundry.data;
export class TraitData extends foundry.abstract.TypeDataModel {
// #region Schema
static defineSchema() {
return {
description: fields.HTMLField({ blank: true, nullable: false, trim: true }),
};
};
// #endregion Schema
};