@league-of-foundry-developers/foundry-vtt-types 13.346.0-beta.20250923173308 → 13.346.0-beta.20250924172319
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
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
3
3
|
"name": "@league-of-foundry-developers/foundry-vtt-types",
|
4
|
-
"version": "13.346.0-beta.
|
4
|
+
"version": "13.346.0-beta.20250924172319",
|
5
5
|
"description": "TypeScript type definitions for Foundry VTT",
|
6
6
|
"type": "module",
|
7
7
|
"types": "./src/index.d.mts",
|
@@ -372,10 +372,9 @@ declare namespace CompendiumCollection {
|
|
372
372
|
}
|
373
373
|
|
374
374
|
// The type that's passed to `new CompendiumCollection(...)`
|
375
|
-
|
375
|
+
interface ConstructorMetadata<Type extends CompendiumCollection.DocumentName> extends Metadata<Type> {
|
376
376
|
index: IndexTypeForMetadata<Type>;
|
377
|
-
|
378
|
-
};
|
377
|
+
}
|
379
378
|
|
380
379
|
/** The type that appears in `compendium.metadata` after initialization. */
|
381
380
|
// Note that the `Omit` is because `delete metadata.index` and `delete metadata.folder` is called.
|
@@ -814,7 +814,7 @@ declare namespace Game {
|
|
814
814
|
* `for ( const metadata of this.data.packs ) {`.
|
815
815
|
*/
|
816
816
|
// TODO(LukeAbby): Technically a bit underspecified; may be more specific, though unlikely.
|
817
|
-
folders?: Folder.Source;
|
817
|
+
folders?: Folder.Source[];
|
818
818
|
}
|
819
819
|
}
|
820
820
|
|