Move the Item data models into their own folder for better organization
This commit is contained in:
parent
703aca9eef
commit
9522e28f4b
3 changed files with 2 additions and 2 deletions
14
module/models/Item/DescribedItemData.mjs
Normal file
14
module/models/Item/DescribedItemData.mjs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { CommonItemData } from "./CommonItemData.mjs";
|
||||
|
||||
export class DescribedItemData extends CommonItemData {
|
||||
static defineSchema() {
|
||||
const fields = foundry.data.fields;
|
||||
return mergeObject(super.defineSchema(), {
|
||||
description: new fields.StringField({
|
||||
initial: ``,
|
||||
blank: true,
|
||||
trim: true,
|
||||
}),
|
||||
});
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue