@league-of-foundry-developers/foundry-vtt-types 9.245.0 → 9.249.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -2,7 +2,6 @@ import { ConfiguredDocumentClass, ConfiguredObjectClassForName, DocumentConstruc
|
|
2
2
|
import { DocumentModificationOptions } from '../../common/abstract/document.mjs';
|
3
3
|
import EmbeddedCollection from '../../common/abstract/embedded-collection.mjs';
|
4
4
|
import type { ActorDataConstructorData } from '../../common/data/data.mjs/actorData.js';
|
5
|
-
import type { ItemDataSource } from '../../common/data/data.mjs/itemData';
|
6
5
|
|
7
6
|
declare global {
|
8
7
|
/**
|
@@ -65,13 +64,10 @@ declare global {
|
|
65
64
|
/**
|
66
65
|
* Provide an object which organizes all embedded Item instances by their type
|
67
66
|
*/
|
68
|
-
get itemTypes():
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
}
|
73
|
-
>;
|
74
|
-
};
|
67
|
+
get itemTypes(): Record<
|
68
|
+
foundry.documents.BaseItem['data']['type'],
|
69
|
+
Array<InstanceType<ConfiguredDocumentClass<typeof foundry.documents.BaseItem>>>
|
70
|
+
>;
|
75
71
|
/**
|
76
72
|
* Test whether an Actor entity is a synthetic representation of a Token (if true) or a full Entity (if false)
|
77
73
|
*/
|