FIX: imports

FIX: items sheet new paths
FIX: ItemDataModelMetadata type jsdoc
This commit is contained in:
Joaquin Pereyra 2025-06-03 19:26:41 -03:00
parent 08a21dcb2f
commit 80cedbe4d2
5 changed files with 29 additions and 40 deletions

View file

@ -1,4 +1,4 @@
import { DualityRollColor } from './settings/Appearance.mjs';
import { DualityRollColor } from "../settings/Appearance.mjs";
const fields = foundry.data.fields;
const diceField = () =>

View file

@ -1,7 +1,9 @@
/**
* Describes metadata about the item data model type
* @typedef {Object} ItemDataModelMetadata
* @property {String} type - System type that this type data model represents
* @property {Boolean} hasDescription
* @property {string} type - The system type that this data model represents (e.g., "weapon", "armor", "consumable")
* @property {boolean} hasDescription - Indicates whether items of this type have description field
* @property {boolean} isQuantifiable - Indicates whether items of this type have quantity field
*/
const fields = foundry.data.fields;