@league-of-foundry-developers/foundry-vtt-types 13.346.0-beta.20250718083608 → 13.346.0-beta.20250720082736
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 +1 -1
- package/src/foundry/client/applications/ui/game-pause.d.mts +17 -2
- package/src/foundry/client/applications/ui/hotbar.d.mts +96 -2
- package/src/foundry/client/applications/ui/main-menu.d.mts +29 -2
- package/src/foundry/client/applications/ui/players.d.mts +77 -2
- package/src/foundry/client/applications/ui/region-legend.d.mts +1 -0
- package/src/foundry/client/applications/ui/scene-navigation.d.mts +1 -1
- package/src/foundry/client/canvas/containers/advanced/cached-container.d.mts +15 -15
- package/src/foundry/client/canvas/containers/advanced/full-canvas-mixin.d.mts +2 -2
- package/src/foundry/client/canvas/containers/elements/control-icon.d.mts +12 -32
- package/src/foundry/client/canvas/containers/elements/cursor.d.mts +14 -1
- package/src/foundry/client/canvas/containers/elements/door-control.d.mts +2 -2
- package/src/foundry/client/canvas/containers/elements/door-mesh.d.mts +215 -3
- package/src/foundry/client/canvas/containers/elements/grid-highlight.d.mts +3 -3
- package/src/foundry/client/canvas/containers/elements/grid-mesh.d.mts +4 -4
- package/src/foundry/client/canvas/containers/elements/particles/leaves.d.mts +7 -6
- package/src/foundry/client/canvas/containers/elements/particles/particle-effect.d.mts +4 -5
- package/src/foundry/client/canvas/containers/elements/point-source-mesh.d.mts +18 -23
- package/src/foundry/client/canvas/containers/elements/precise-text.d.mts +9 -10
- package/src/foundry/client/canvas/containers/elements/quad-mesh.d.mts +1 -2
- package/src/foundry/client/canvas/containers/elements/resize-handle.d.mts +37 -11
- package/src/foundry/client/canvas/containers/elements/sprite-mesh.d.mts +34 -26
- package/src/foundry/client/canvas/layers/masks/depth.d.mts +1 -1
- package/src/foundry/client/canvas/layers/masks/occlusion.d.mts +1 -1
- package/src/foundry/client/canvas/primary/primary-canvas-container.d.mts +32 -0
- package/src/foundry/client/canvas/primary/primary-canvas-object.d.mts +39 -38
- package/src/foundry/client/canvas/primary/primary-graphics.d.mts +22 -18
- package/src/foundry/client/canvas/primary/primary-occludable-object.d.mts +59 -29
- package/src/foundry/client/canvas/primary/primary-particle-effect.d.mts +51 -0
- package/src/foundry/client/canvas/primary/primary-sprite-mesh.d.mts +72 -66
- package/src/foundry/client/config.d.mts +444 -311
- package/src/foundry/client/documents/wall.d.mts +13 -2
- package/src/foundry/client/hooks.d.mts +14 -4
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { InexactPartial, Merge } from "#utils";
|
1
|
+
import type { InexactPartial, InterfaceToObject, Merge } from "#utils";
|
2
2
|
import type Document from "#common/abstract/document.d.mts";
|
3
3
|
import type { DataSchema } from "#common/data/fields.d.mts";
|
4
4
|
import type BaseWall from "#common/documents/wall.mjs";
|
@@ -211,6 +211,7 @@ declare namespace WallDocument {
|
|
211
211
|
type: fields.StringField<{ initial: "swing"; blank: true }>;
|
212
212
|
}
|
213
213
|
|
214
|
+
/** @remarks See {@linkcode foundry.canvas.containers.DoorMesh.AnimationConfiguration} */
|
214
215
|
interface AnimationData extends fields.SchemaField.InitializedData<AnimationSchema> {}
|
215
216
|
|
216
217
|
/**
|
@@ -388,7 +389,17 @@ declare namespace WallDocument {
|
|
388
389
|
* An object of optional key/value flags
|
389
390
|
* @defaultValue `{}`
|
390
391
|
*/
|
391
|
-
flags: fields.DocumentFlagsField<Name
|
392
|
+
flags: fields.DocumentFlagsField<Name, InterfaceToObject<CoreFlags>>;
|
393
|
+
}
|
394
|
+
|
395
|
+
interface CoreFlags {
|
396
|
+
core?: {
|
397
|
+
/** @remarks Checked in `DoorMesh##getClosedPosition` */
|
398
|
+
textureGridSize?: number;
|
399
|
+
|
400
|
+
/** @remarks Checked in `DoorMesh##getClosedPosition` */
|
401
|
+
elevation?: number;
|
402
|
+
};
|
392
403
|
}
|
393
404
|
|
394
405
|
namespace Database {
|
@@ -970,16 +970,15 @@ export interface AllHooks extends DynamicHooks {
|
|
970
970
|
initializeDynamicTokenRingConfig: (ringConfig: TokenRingConfig) => void;
|
971
971
|
|
972
972
|
/**
|
973
|
-
* A hook event that fires when the context menu for a
|
973
|
+
* A hook event that fires when the context menu for a Players entry is constructed.
|
974
974
|
* @param app - The Application instance that the context menu is constructed in
|
975
975
|
* @param contextOptions - The context menu entries
|
976
|
-
* @remarks This is called by {@linkcode Hooks.
|
977
|
-
* @see {@link PlayerList.activateListeners | `PlayerList#activateListeners`}
|
976
|
+
* @remarks This is called by {@linkcode Hooks.callAll}.
|
978
977
|
*/
|
979
978
|
getUserContextOptions: (
|
980
979
|
app: foundry.applications.ui.Players,
|
981
980
|
contextOptions: ContextMenu.Entry<HTMLElement>[],
|
982
|
-
) =>
|
981
|
+
) => void;
|
983
982
|
|
984
983
|
/**
|
985
984
|
* A hook event that fires when the context menu for a SceneNavigation entry is constructed.
|
@@ -991,6 +990,17 @@ export interface AllHooks extends DynamicHooks {
|
|
991
990
|
app: foundry.applications.ui.SceneNavigation,
|
992
991
|
contextOptions: ContextMenu.Entry<HTMLElement>[],
|
993
992
|
) => void;
|
993
|
+
|
994
|
+
/**
|
995
|
+
* A hook event that fires when the context menu for a Macro Hotbar entry is constructed.
|
996
|
+
* @param app - The Application instance that the context menu is constructed in
|
997
|
+
* @param contextOptions - The context menu entries
|
998
|
+
* @remarks This is called by {@linkcode Hooks.callAll}.
|
999
|
+
*/
|
1000
|
+
getMacroContextOptions: (
|
1001
|
+
app: foundry.applications.ui.Hotbar,
|
1002
|
+
contextOptions: ContextMenu.Entry<HTMLElement>[],
|
1003
|
+
) => void;
|
994
1004
|
}
|
995
1005
|
|
996
1006
|
declare global {
|