Get the foundation Trait type defined
This commit is contained in:
parent
507c9b0341
commit
8de63e91c7
4 changed files with 29 additions and 2 deletions
11
module/data/Item/Trait.mjs
Normal file
11
module/data/Item/Trait.mjs
Normal 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
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue