You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wanderhome-foundry-system/module/data/base-item.mjs

14 lines
322 B
JavaScript

import WanderhomeDataModel from "./base-model.mjs";
export default class WanderhomeItemBase extends WanderhomeDataModel {
static defineSchema() {
const fields = foundry.data.fields;
const schema = {};
schema.description = new fields.StringField({ required: true, blank: true });
return schema;
}
}