Files
fvtt-adventures-with-emmy/module/models/kit.mjs
T

12 lines
362 B
JavaScript

export default class AwEKit extends foundry.abstract.TypeDataModel {
static defineSchema() {
const fields = foundry.data.fields
const schema = {}
schema.description = new fields.HTMLField({ required: true, textSearch: true })
schema.fieldName = new fields.StringField({ initial: "", required: false, nullable: true })
return schema
}
}