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
|
|
@ -1,16 +0,0 @@
|
|||
export class CommonItemData extends foundry.abstract.DataModel {
|
||||
static defineSchema() {
|
||||
const fields = foundry.data.fields;
|
||||
return {
|
||||
name: new fields.StringField({
|
||||
initial: ``,
|
||||
blank: true,
|
||||
trim: true,
|
||||
}),
|
||||
cost: new fields.NumberField({
|
||||
initial: null,
|
||||
nullable: true,
|
||||
}),
|
||||
};
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue