FIX: ForeignDocumentUUIDField initialize like a getter

FEAT: ForeignDocumentUUIDArrayField created and used
This commit is contained in:
Joaquin Pereyra 2025-06-17 19:09:09 -03:00
parent 5463f71526
commit d18141bb65
7 changed files with 32 additions and 20 deletions

View file

@ -5,7 +5,6 @@
* @property {string} type - The system type that this data model represents.
* @property {boolean} hasDescription - Indicates whether items of this type have description field
* @property {boolean} isQuantifiable - Indicates whether items of this type have quantity field
* @property {Record<string,string>} embedded - Record of document names of pseudo-documents and the path to the collection
*/
const fields = foundry.data.fields;
@ -18,7 +17,6 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
type: "base",
hasDescription: false,
isQuantifiable: false,
embedded: {},
};
}