Update and begin work on a new data model
This commit is contained in:
parent
99546cd0e3
commit
25dfe354ea
2 changed files with 16 additions and 2 deletions
12
module/models/DescribedItemData.mjs
Normal file
12
module/models/DescribedItemData.mjs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
export class DescribedItemData extends CommonItemData {
|
||||
static defineSchema() {
|
||||
const fields = foundry.data.fields;
|
||||
return mergeObject(super.defineSchema(), {
|
||||
description: fields.StringField({
|
||||
initial: ``,
|
||||
blank: true,
|
||||
trim: true,
|
||||
}),
|
||||
});
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue