@league-of-foundry-developers/foundry-vtt-types 9.280.0 → 12.331.1-beta
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/README.md +21 -18
- package/index-lenient.d.mts +7 -0
- package/index.d.mts +5 -0
- package/package.json +67 -39
- package/src/foundry/client/apps/app.d.mts +595 -0
- package/src/foundry/client/apps/av/av-config.d.mts +93 -0
- package/src/foundry/client/apps/av/cameras.d.mts +189 -0
- package/src/foundry/client/apps/av/index.d.mts +3 -0
- package/src/foundry/client/apps/dialogs/folder-export.d.mts +16 -0
- package/src/foundry/client/apps/dialogs/index.d.mts +1 -0
- package/src/foundry/client/apps/form.d.mts +469 -0
- package/src/foundry/client/apps/forms/actor.d.mts +176 -0
- package/src/foundry/client/apps/forms/adventure-exporter.d.mts +132 -0
- package/src/foundry/client/apps/forms/adventure-importer.d.mts +85 -0
- package/src/foundry/client/apps/forms/base-sheet.d.mts +45 -0
- package/src/foundry/client/apps/forms/card-config.d.mts +48 -0
- package/src/foundry/client/apps/forms/cards-config.d.mts +141 -0
- package/src/foundry/client/apps/forms/combat-config.d.mts +51 -0
- package/src/foundry/client/apps/forms/combatant-config.d.mts +45 -0
- package/src/foundry/client/apps/forms/default-sheets-config.d.mts +46 -0
- package/src/foundry/client/apps/forms/effect-config.d.mts +77 -0
- package/src/foundry/client/apps/forms/folder-config.d.mts +60 -0
- package/src/foundry/client/apps/forms/fonts.d.mts +168 -0
- package/src/foundry/client/apps/forms/grid-config.d.mts +144 -0
- package/src/foundry/client/apps/forms/image-popout.d.mts +179 -0
- package/src/foundry/client/apps/forms/index.d.mts +26 -0
- package/src/foundry/client/apps/forms/item.d.mts +58 -0
- package/src/foundry/client/apps/forms/journal-page-sheet.d.mts +313 -0
- package/src/foundry/client/apps/forms/journal-sheet.d.mts +312 -0
- package/src/foundry/client/apps/forms/macro-config.d.mts +59 -0
- package/src/foundry/client/apps/forms/measure-template.d.mts +59 -0
- package/src/foundry/client/apps/forms/ownership.d.mts +66 -0
- package/src/foundry/client/apps/forms/playlist-config.d.mts +46 -0
- package/src/foundry/client/apps/forms/playlist-sound-config.d.mts +63 -0
- package/src/foundry/client/apps/forms/roll-table-config.d.mts +160 -0
- package/src/foundry/client/apps/forms/scene-config.d.mts +157 -0
- package/src/foundry/client/apps/forms/sheet-config.d.mts +202 -0
- package/src/foundry/client/apps/forms/user-config.d.mts +71 -0
- package/src/foundry/client/apps/hud/chatbubble.d.mts +113 -0
- package/src/foundry/client/apps/hud/container.d.mts +54 -0
- package/src/foundry/client/apps/hud/controls.d.mts +166 -0
- package/src/foundry/client/apps/hud/hotbar.d.mts +169 -0
- package/src/foundry/client/apps/hud/hud.d.mts +87 -0
- package/src/foundry/client/apps/hud/index.d.mts +9 -0
- package/src/foundry/client/apps/hud/menu.d.mts +77 -0
- package/src/foundry/client/apps/hud/navigation.d.mts +116 -0
- package/src/foundry/client/apps/hud/pause.d.mts +32 -0
- package/src/foundry/client/apps/hud/players.d.mts +82 -0
- package/src/foundry/client/apps/i18n.d.mts +162 -0
- package/src/foundry/client/apps/index.d.mts +10 -0
- package/src/foundry/client/apps/placeables/drawing-config.d.mts +80 -0
- package/src/foundry/client/apps/placeables/drawing-hud.d.mts +31 -0
- package/src/foundry/client/apps/placeables/index.d.mts +10 -0
- package/src/foundry/client/apps/placeables/light-config.d.mts +100 -0
- package/src/foundry/client/apps/placeables/note-config.d.mts +65 -0
- package/src/foundry/client/apps/placeables/sound-config.d.mts +43 -0
- package/src/foundry/client/apps/placeables/tile-config.d.mts +54 -0
- package/src/foundry/client/apps/placeables/tile-hud.d.mts +37 -0
- package/src/foundry/client/apps/placeables/token-config.d.mts +244 -0
- package/src/foundry/client/apps/placeables/token-hud.d.mts +134 -0
- package/src/foundry/client/apps/placeables/wall-config.d.mts +63 -0
- package/src/foundry/client/apps/sidebar/apps/chat-popout.d.mts +39 -0
- package/src/foundry/client/apps/sidebar/apps/client-settings.d.mts +98 -0
- package/src/foundry/client/apps/sidebar/apps/compendium.d.mts +93 -0
- package/src/foundry/client/apps/sidebar/apps/index.d.mts +10 -0
- package/src/foundry/client/apps/sidebar/apps/invitation-links.d.mts +32 -0
- package/src/foundry/client/apps/sidebar/apps/keybindings-config.d.mts +180 -0
- package/src/foundry/client/apps/sidebar/apps/module-management.d.mts +135 -0
- package/src/foundry/client/apps/sidebar/apps/permission-config.d.mts +72 -0
- package/src/foundry/client/apps/sidebar/apps/support-details.d.mts +121 -0
- package/src/foundry/client/apps/sidebar/apps/tours-management.d.mts +54 -0
- package/src/foundry/client/apps/sidebar/apps/world-config.d.mts +57 -0
- package/src/foundry/client/apps/sidebar/directory-tab-mixin.d.mts +276 -0
- package/src/foundry/client/apps/sidebar/document-directory.d.mts +164 -0
- package/src/foundry/client/apps/sidebar/index.d.mts +7 -0
- package/src/foundry/client/apps/sidebar/package-configuration.d.mts +86 -0
- package/src/foundry/client/apps/sidebar/sidebar-tab.d.mts +80 -0
- package/src/foundry/client/apps/sidebar/sidebar.d.mts +95 -0
- package/src/foundry/client/apps/sidebar/tabs/actors-directory.d.mts +20 -0
- package/src/foundry/client/apps/sidebar/tabs/cards-directory.d.mts +12 -0
- package/src/foundry/client/apps/sidebar/tabs/chat-log.d.mts +364 -0
- package/src/foundry/client/apps/sidebar/tabs/combat-tracker.d.mts +156 -0
- package/src/foundry/client/apps/sidebar/tabs/compendium-directory.d.mts +105 -0
- package/src/foundry/client/apps/sidebar/tabs/index.d.mts +12 -0
- package/src/foundry/client/apps/sidebar/tabs/items-directory.d.mts +14 -0
- package/src/foundry/client/apps/sidebar/tabs/journal-directory.d.mts +13 -0
- package/src/foundry/client/apps/sidebar/tabs/macros-directory.d.mts +16 -0
- package/src/foundry/client/apps/sidebar/tabs/playlists-directory.d.mts +275 -0
- package/src/foundry/client/apps/sidebar/tabs/roll-table-directory.d.mts +13 -0
- package/src/foundry/client/apps/sidebar/tabs/scenes-directory.d.mts +34 -0
- package/src/foundry/client/apps/sidebar/tabs/settings.d.mts +72 -0
- package/src/foundry/client/apps/templates.d.mts +546 -0
- package/src/foundry/client/audio/audio.d.mts +390 -0
- package/src/foundry/client/audio/container.d.mts +176 -0
- package/src/foundry/client/audio/index.d.mts +3 -0
- package/src/foundry/client/audio/sound.d.mts +307 -0
- package/src/foundry/client/av/client.d.mts +162 -0
- package/src/foundry/client/av/clients/index.d.mts +1 -0
- package/src/foundry/client/av/clients/simplepeer.d.mts +155 -0
- package/src/foundry/client/av/index.d.mts +4 -0
- package/src/foundry/client/av/master.d.mts +191 -0
- package/src/foundry/client/av/settings.d.mts +315 -0
- package/src/foundry/client/config.d.mts +2856 -0
- package/src/foundry/client/core/clipboard.d.mts +20 -0
- package/src/foundry/client/core/document-index.d.mts +118 -0
- package/src/foundry/client/core/gamepad.d.mts +62 -0
- package/src/foundry/client/core/hooks.d.mts +132 -0
- package/src/foundry/client/core/image.d.mts +190 -0
- package/src/foundry/client/core/index.d.mts +20 -0
- package/src/foundry/client/core/issues.d.mts +102 -0
- package/src/foundry/client/core/keybindings.d.mts +312 -0
- package/src/foundry/client/core/keyboard.d.mts +224 -0
- package/src/foundry/client/core/mouse.d.mts +28 -0
- package/src/foundry/client/core/nue.d.mts +38 -0
- package/src/foundry/client/core/packages.d.mts +185 -0
- package/src/foundry/client/core/settings.d.mts +260 -0
- package/src/foundry/client/core/socket.d.mts +16 -0
- package/src/foundry/client/core/sorting.d.mts +76 -0
- package/src/foundry/client/core/time.d.mts +73 -0
- package/src/foundry/client/core/tooltip.d.mts +198 -0
- package/src/foundry/client/core/tour.d.mts +279 -0
- package/src/foundry/client/core/tours.d.mts +22 -0
- package/src/foundry/client/core/utils.d.mts +71 -0
- package/src/foundry/client/core/video.d.mts +161 -0
- package/src/foundry/client/core/workers.d.mts +128 -0
- package/src/foundry/client/data/abstract/canvas-document.d.mts +63 -0
- package/src/foundry/client/data/abstract/client-document.d.mts +717 -0
- package/src/foundry/client/data/abstract/directory-collection-mixin.d.mts +135 -0
- package/src/foundry/client/data/abstract/document-collection.d.mts +204 -0
- package/src/foundry/client/data/abstract/index.d.mts +5 -0
- package/src/foundry/client/data/abstract/world-collection.d.mts +171 -0
- package/src/foundry/client/data/collections/actors.d.mts +41 -0
- package/src/foundry/client/data/collections/cards.d.mts +12 -0
- package/src/foundry/client/data/collections/combats.d.mts +43 -0
- package/src/foundry/client/data/collections/compendium-collection.d.mts +504 -0
- package/src/foundry/client/data/collections/compendium-folders.d.mts +13 -0
- package/src/foundry/client/data/collections/compendium-packs.d.mts +27 -0
- package/src/foundry/client/data/collections/fog.d.mts +17 -0
- package/src/foundry/client/data/collections/folder.d.mts +27 -0
- package/src/foundry/client/data/collections/index.d.mts +17 -0
- package/src/foundry/client/data/collections/items.d.mts +14 -0
- package/src/foundry/client/data/collections/journal.d.mts +62 -0
- package/src/foundry/client/data/collections/macros.d.mts +32 -0
- package/src/foundry/client/data/collections/messages.d.mts +35 -0
- package/src/foundry/client/data/collections/playlists.d.mts +34 -0
- package/src/foundry/client/data/collections/scenes.d.mts +68 -0
- package/src/foundry/client/data/collections/settings.d.mts +29 -0
- package/src/foundry/client/data/collections/tables.d.mts +21 -0
- package/src/foundry/client/data/collections/users.d.mts +50 -0
- package/src/foundry/client/data/documents/active-effect.d.mts +348 -0
- package/src/foundry/client/data/documents/actor-delta.d.mts +88 -0
- package/src/foundry/client/data/documents/actor.d.mts +301 -0
- package/src/foundry/client/data/documents/adventure.d.mts +94 -0
- package/src/foundry/client/data/documents/ambient-light.d.mts +32 -0
- package/src/foundry/client/data/documents/ambient-sound.d.mts +19 -0
- package/src/foundry/client/data/documents/card.d.mts +115 -0
- package/src/foundry/client/data/documents/cards.d.mts +342 -0
- package/src/foundry/client/data/documents/chat-message.d.mts +218 -0
- package/src/foundry/client/data/documents/combat.d.mts +315 -0
- package/src/foundry/client/data/documents/combatant.d.mts +90 -0
- package/src/foundry/client/data/documents/drawing.d.mts +24 -0
- package/src/foundry/client/data/documents/fog-exploration.d.mts +51 -0
- package/src/foundry/client/data/documents/folder.d.mts +123 -0
- package/src/foundry/client/data/documents/index.d.mts +30 -0
- package/src/foundry/client/data/documents/item.d.mts +55 -0
- package/src/foundry/client/data/documents/journal-entry-page.d.mts +219 -0
- package/src/foundry/client/data/documents/journal-entry.d.mts +71 -0
- package/src/foundry/client/data/documents/macro.d.mts +73 -0
- package/src/foundry/client/data/documents/measured-template.d.mts +29 -0
- package/src/foundry/client/data/documents/note.d.mts +35 -0
- package/src/foundry/client/data/documents/playlist-sound.d.mts +114 -0
- package/src/foundry/client/data/documents/playlist.d.mts +196 -0
- package/src/foundry/client/data/documents/scene.d.mts +228 -0
- package/src/foundry/client/data/documents/setting.d.mts +43 -0
- package/src/foundry/client/data/documents/table-result.d.mts +29 -0
- package/src/foundry/client/data/documents/table.d.mts +310 -0
- package/src/foundry/client/data/documents/tile.d.mts +21 -0
- package/src/foundry/client/data/documents/token.d.mts +342 -0
- package/src/foundry/client/data/documents/user.d.mts +153 -0
- package/src/foundry/client/data/documents/wall.d.mts +19 -0
- package/src/foundry/client/data/index.d.mts +3 -0
- package/src/foundry/client/game.d.mts +702 -0
- package/src/foundry/client/head.d.mts +87 -0
- package/src/foundry/client/hooks.d.mts +1184 -0
- package/src/foundry/client/index.d.mts +13 -0
- package/src/foundry/client/pixi/board.d.mts +927 -0
- package/src/foundry/client/pixi/core/containers/base-canvas-group.d.mts +83 -0
- package/src/foundry/client/pixi/core/containers/cached-container.d.mts +116 -0
- package/src/foundry/client/pixi/core/containers/full-canvas-container.d.mts +35 -0
- package/src/foundry/client/pixi/core/containers/index.d.mts +8 -0
- package/src/foundry/client/pixi/core/containers/point-source-mesh.d.mts +62 -0
- package/src/foundry/client/pixi/core/containers/quad-mesh.d.mts +43 -0
- package/src/foundry/client/pixi/core/containers/quadtree.d.mts +199 -0
- package/src/foundry/client/pixi/core/containers/sprite-mesh.d.mts +326 -0
- package/src/foundry/client/pixi/core/containers/unbound-container.d.mts +21 -0
- package/src/foundry/client/pixi/core/index.d.mts +4 -0
- package/src/foundry/client/pixi/core/interaction/canvas-animation.d.mts +160 -0
- package/src/foundry/client/pixi/core/interaction/control-icon.d.mts +80 -0
- package/src/foundry/client/pixi/core/interaction/index.d.mts +8 -0
- package/src/foundry/client/pixi/core/interaction/mouse-handler.d.mts +264 -0
- package/src/foundry/client/pixi/core/interaction/ping.d.mts +58 -0
- package/src/foundry/client/pixi/core/interaction/pings/chevron.d.mts +73 -0
- package/src/foundry/client/pixi/core/interaction/pings/index.d.mts +2 -0
- package/src/foundry/client/pixi/core/interaction/pings/pulse.d.mts +115 -0
- package/src/foundry/client/pixi/core/interaction/render-flags.d.mts +103 -0
- package/src/foundry/client/pixi/core/interaction/resize-handle.d.mts +52 -0
- package/src/foundry/client/pixi/core/interaction/targets.d.mts +45 -0
- package/src/foundry/client/pixi/core/loader.d.mts +206 -0
- package/src/foundry/client/pixi/core/shapes/index.d.mts +6 -0
- package/src/foundry/client/pixi/core/shapes/limited-angle-polygon.d.mts +119 -0
- package/src/foundry/client/pixi/core/shapes/polygon-helpers.d.mts +31 -0
- package/src/foundry/client/pixi/core/shapes/polygon-mesher.d.mts +110 -0
- package/src/foundry/client/pixi/core/shapes/precise-text.d.mts +27 -0
- package/src/foundry/client/pixi/core/shapes/ray.d.mts +165 -0
- package/src/foundry/client/pixi/core/shapes/source-polygon.d.mts +251 -0
- package/src/foundry/client/pixi/extensions/circle.d.mts +130 -0
- package/src/foundry/client/pixi/extensions/index.d.mts +3 -0
- package/src/foundry/client/pixi/extensions/polygon.d.mts +152 -0
- package/src/foundry/client/pixi/extensions/rectangle.d.mts +226 -0
- package/src/foundry/client/pixi/groups/effects.d.mts +189 -0
- package/src/foundry/client/pixi/groups/environment.d.mts +80 -0
- package/src/foundry/client/pixi/groups/hidden.d.mts +40 -0
- package/src/foundry/client/pixi/groups/index.d.mts +7 -0
- package/src/foundry/client/pixi/groups/interface.d.mts +74 -0
- package/src/foundry/client/pixi/groups/overlay.d.mts +18 -0
- package/src/foundry/client/pixi/groups/primary.d.mts +207 -0
- package/src/foundry/client/pixi/groups/rendered.d.mts +18 -0
- package/src/foundry/client/pixi/index.d.mts +10 -0
- package/src/foundry/client/pixi/layers/base/canvas-layer.d.mts +79 -0
- package/src/foundry/client/pixi/layers/base/index.d.mts +3 -0
- package/src/foundry/client/pixi/layers/base/interaction-layer.d.mts +139 -0
- package/src/foundry/client/pixi/layers/base/placeables-layer.d.mts +598 -0
- package/src/foundry/client/pixi/layers/controls/cursor.d.mts +27 -0
- package/src/foundry/client/pixi/layers/controls/door.d.mts +70 -0
- package/src/foundry/client/pixi/layers/controls/hud.d.mts +114 -0
- package/src/foundry/client/pixi/layers/controls/index.d.mts +5 -0
- package/src/foundry/client/pixi/layers/controls/layer.d.mts +229 -0
- package/src/foundry/client/pixi/layers/controls/ruler.d.mts +316 -0
- package/src/foundry/client/pixi/layers/effects/background-effects.d.mts +34 -0
- package/src/foundry/client/pixi/layers/effects/coloration-effects.d.mts +27 -0
- package/src/foundry/client/pixi/layers/effects/illumination-effects.d.mts +74 -0
- package/src/foundry/client/pixi/layers/effects/index.d.mts +6 -0
- package/src/foundry/client/pixi/layers/effects/visibility.d.mts +194 -0
- package/src/foundry/client/pixi/layers/effects/weather/particles/effect.d.mts +47 -0
- package/src/foundry/client/pixi/layers/effects/weather/particles/index.d.mts +2 -0
- package/src/foundry/client/pixi/layers/effects/weather/particles/leaves.d.mts +20 -0
- package/src/foundry/client/pixi/layers/effects/weather-effects.d.mts +172 -0
- package/src/foundry/client/pixi/layers/grid/highlight.d.mts +32 -0
- package/src/foundry/client/pixi/layers/grid/index.d.mts +2 -0
- package/src/foundry/client/pixi/layers/grid/layer.d.mts +225 -0
- package/src/foundry/client/pixi/layers/index.d.mts +6 -0
- package/src/foundry/client/pixi/layers/masks/depth.d.mts +37 -0
- package/src/foundry/client/pixi/layers/masks/index.d.mts +3 -0
- package/src/foundry/client/pixi/layers/masks/occlusion.d.mts +55 -0
- package/src/foundry/client/pixi/layers/masks/vision.d.mts +85 -0
- package/src/foundry/client/pixi/layers/placeables/drawings.d.mts +92 -0
- package/src/foundry/client/pixi/layers/placeables/index.d.mts +8 -0
- package/src/foundry/client/pixi/layers/placeables/lighting.d.mts +137 -0
- package/src/foundry/client/pixi/layers/placeables/notes.d.mts +99 -0
- package/src/foundry/client/pixi/layers/placeables/sounds.d.mts +129 -0
- package/src/foundry/client/pixi/layers/placeables/templates.d.mts +60 -0
- package/src/foundry/client/pixi/layers/placeables/tiles.d.mts +114 -0
- package/src/foundry/client/pixi/layers/placeables/tokens.d.mts +180 -0
- package/src/foundry/client/pixi/layers/placeables/walls.d.mts +210 -0
- package/src/foundry/client/pixi/perception/clockwise-sweep.d.mts +169 -0
- package/src/foundry/client/pixi/perception/color-manager.d.mts +86 -0
- package/src/foundry/client/pixi/perception/detection-mode.d.mts +196 -0
- package/src/foundry/client/pixi/perception/fog.d.mts +102 -0
- package/src/foundry/client/pixi/perception/index.d.mts +7 -0
- package/src/foundry/client/pixi/perception/perception-manager.d.mts +166 -0
- package/src/foundry/client/pixi/perception/vision-mode.d.mts +197 -0
- package/src/foundry/client/pixi/perception/weiler-atherton-clipping.d.mts +152 -0
- package/src/foundry/client/pixi/placeable.d.mts +586 -0
- package/src/foundry/client/pixi/placeables/drawing.d.mts +292 -0
- package/src/foundry/client/pixi/placeables/index.d.mts +9 -0
- package/src/foundry/client/pixi/placeables/light.d.mts +140 -0
- package/src/foundry/client/pixi/placeables/note.d.mts +114 -0
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/drawing-shape.d.mts +143 -0
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/index.d.mts +5 -0
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/occludable-object.d.mts +175 -0
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-canvas-object.d.mts +159 -0
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/tile-mesh.d.mts +52 -0
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/token-mesh.d.mts +62 -0
- package/src/foundry/client/pixi/placeables/sound.d.mts +133 -0
- package/src/foundry/client/pixi/placeables/template.d.mts +211 -0
- package/src/foundry/client/pixi/placeables/tile.d.mts +284 -0
- package/src/foundry/client/pixi/placeables/token.d.mts +825 -0
- package/src/foundry/client/pixi/placeables/wall.d.mts +275 -0
- package/src/foundry/client/pixi/webgl/extensions/batch-renderer.d.mts +60 -0
- package/src/foundry/client/pixi/webgl/extensions/batch-shader-generator.d.mts +21 -0
- package/src/foundry/client/pixi/webgl/extensions/blend-modes.d.mts +53 -0
- package/src/foundry/client/pixi/webgl/extensions/index.d.mts +3 -0
- package/src/foundry/client/pixi/webgl/helpers/framebugger-snapshot.d.mts +22 -0
- package/src/foundry/client/pixi/webgl/helpers/index.d.mts +3 -0
- package/src/foundry/client/pixi/webgl/helpers/smooth-noise.d.mts +61 -0
- package/src/foundry/client/pixi/webgl/helpers/texture-extractor.d.mts +80 -0
- package/src/foundry/client/pixi/webgl/index.d.mts +3 -0
- package/src/foundry/client/pixi/webgl/shaders/base.d.mts +691 -0
- package/src/foundry/client/pixi/webgl/shaders/effects/index.d.mts +3 -0
- package/src/foundry/client/pixi/webgl/shaders/effects/lighting.d.mts +642 -0
- package/src/foundry/client/pixi/webgl/shaders/effects/vision.d.mts +216 -0
- package/src/foundry/client/pixi/webgl/shaders/effects/weather/base.d.mts +102 -0
- package/src/foundry/client/pixi/webgl/shaders/effects/weather/effect.d.mts +38 -0
- package/src/foundry/client/pixi/webgl/shaders/effects/weather/fog.d.mts +34 -0
- package/src/foundry/client/pixi/webgl/shaders/effects/weather/index.d.mts +5 -0
- package/src/foundry/client/pixi/webgl/shaders/effects/weather/rain.d.mts +24 -0
- package/src/foundry/client/pixi/webgl/shaders/effects/weather/snow.d.mts +20 -0
- package/src/foundry/client/pixi/webgl/shaders/filters/blur.d.mts +163 -0
- package/src/foundry/client/pixi/webgl/shaders/filters/filters.d.mts +462 -0
- package/src/foundry/client/pixi/webgl/shaders/filters/fxaa.d.mts +74 -0
- package/src/foundry/client/pixi/webgl/shaders/filters/index.d.mts +3 -0
- package/src/foundry/client/pixi/webgl/shaders/index.d.mts +4 -0
- package/src/foundry/client/pixi/webgl/shaders/samplers/color-adjustment.d.mts +101 -0
- package/src/foundry/client/pixi/webgl/shaders/samplers/fog-of-war.d.mts +16 -0
- package/src/foundry/client/pixi/webgl/shaders/samplers/index.d.mts +6 -0
- package/src/foundry/client/pixi/webgl/shaders/samplers/inverse-occlusion.d.mts +47 -0
- package/src/foundry/client/pixi/webgl/shaders/samplers/invisibility.d.mts +28 -0
- package/src/foundry/client/pixi/webgl/shaders/samplers/monochromatic.d.mts +30 -0
- package/src/foundry/client/pixi/webgl/shaders/samplers/occlusion.d.mts +69 -0
- package/src/foundry/client/pixi/workers/index.d.mts +1 -0
- package/src/foundry/client/pixi/workers/texture-worker.d.mts +125 -0
- package/src/foundry/client/tours/canvas-tour.d.mts +9 -0
- package/src/foundry/client/tours/index.d.mts +3 -0
- package/src/foundry/client/tours/setup-tour.d.mts +26 -0
- package/src/foundry/client/tours/sidebar-tour.d.mts +9 -0
- package/src/foundry/client/ui/context.d.mts +213 -0
- package/src/foundry/client/ui/dialog.d.mts +326 -0
- package/src/foundry/client/ui/drag.d.mts +128 -0
- package/src/foundry/client/ui/dragdrop.d.mts +124 -0
- package/src/foundry/client/ui/editor.d.mts +546 -0
- package/src/foundry/client/ui/filepicker.d.mts +477 -0
- package/src/foundry/client/ui/filter.d.mts +148 -0
- package/src/foundry/client/ui/forms.d.mts +85 -0
- package/src/foundry/client/ui/index.d.mts +12 -0
- package/src/foundry/client/ui/notifications.d.mts +136 -0
- package/src/foundry/client/ui/prosemirror.d.mts +171 -0
- package/src/foundry/client/ui/secrets.d.mts +75 -0
- package/src/foundry/client/ui/tabs.d.mts +117 -0
- package/src/foundry/client-esm/applications/_module.d.mts +25 -0
- package/src/foundry/client-esm/applications/_types.d.mts +38 -0
- package/src/foundry/client-esm/applications/api/_module.d.mts +9 -0
- package/src/foundry/client-esm/applications/api/application.d.mts +705 -0
- package/src/foundry/client-esm/applications/api/dialog.d.mts +268 -0
- package/src/foundry/client-esm/applications/api/document-sheet.d.mts +119 -0
- package/src/foundry/client-esm/applications/api/handlebars-application.d.mts +180 -0
- package/src/foundry/client-esm/applications/apps/_module.d.mts +7 -0
- package/src/foundry/client-esm/applications/apps/compendium-art-config.d.mts +53 -0
- package/src/foundry/client-esm/applications/apps/permission-config.d.mts +60 -0
- package/src/foundry/client-esm/applications/dice/_module.d.mts +6 -0
- package/src/foundry/client-esm/applications/dice/roll-resolver.d.mts +98 -0
- package/src/foundry/client-esm/applications/elements/_module.d.mts +16 -0
- package/src/foundry/client-esm/applications/elements/color-picker.d.mts +26 -0
- package/src/foundry/client-esm/applications/elements/document-tags.d.mts +90 -0
- package/src/foundry/client-esm/applications/elements/file-picker.d.mts +62 -0
- package/src/foundry/client-esm/applications/elements/form-element.d.mts +106 -0
- package/src/foundry/client-esm/applications/elements/hue-slider.d.mts +20 -0
- package/src/foundry/client-esm/applications/elements/multi-select.d.mts +95 -0
- package/src/foundry/client-esm/applications/elements/prosemirror-editor.d.mts +53 -0
- package/src/foundry/client-esm/applications/elements/range-picker.d.mts +41 -0
- package/src/foundry/client-esm/applications/elements/string-tags.d.mts +73 -0
- package/src/foundry/client-esm/applications/forms/fields.d.mts +219 -0
- package/src/foundry/client-esm/applications/sheets/_module.d.mts +12 -0
- package/src/foundry/client-esm/applications/sheets/actor-sheet.d.mts +31 -0
- package/src/foundry/client-esm/applications/sheets/ambient-light-config.d.mts +18 -0
- package/src/foundry/client-esm/applications/sheets/ambient-sound-config.d.mts +18 -0
- package/src/foundry/client-esm/applications/sheets/item-sheet.d.mts +22 -0
- package/src/foundry/client-esm/applications/sheets/region-behavior-config.d.mts +13 -0
- package/src/foundry/client-esm/applications/sheets/region-config.d.mts +13 -0
- package/src/foundry/client-esm/applications/sheets/user-config.d.mts +18 -0
- package/src/foundry/client-esm/applications/ui/_module.d.mts +6 -0
- package/src/foundry/client-esm/applications/ui/region-legend.d.mts +12 -0
- package/src/foundry/client-esm/audio/_module.d.mts +13 -0
- package/src/foundry/client-esm/audio/_types.d.mts +1 -0
- package/src/foundry/client-esm/canvas/_module.d.mts +11 -0
- package/src/foundry/client-esm/canvas/edges/_module.d.mts +9 -0
- package/src/foundry/client-esm/canvas/edges/collision.d.mts +93 -0
- package/src/foundry/client-esm/canvas/edges/edge.d.mts +184 -0
- package/src/foundry/client-esm/canvas/edges/edges.d.mts +23 -0
- package/src/foundry/client-esm/canvas/edges/vertex.d.mts +134 -0
- package/src/foundry/client-esm/canvas/regions/_module.d.mts +10 -0
- package/src/foundry/client-esm/canvas/scene-manager.d.mts +1 -0
- package/src/foundry/client-esm/canvas/smaa/blend.d.mts +6 -0
- package/src/foundry/client-esm/canvas/smaa/edges.d.mts +6 -0
- package/src/foundry/client-esm/canvas/smaa/smaa.d.mts +56 -0
- package/src/foundry/client-esm/canvas/smaa/weights.d.mts +6 -0
- package/src/foundry/client-esm/canvas/sources/_module.d.mts +15 -0
- package/src/foundry/client-esm/canvas/sources/base-effect-source.d.mts +243 -0
- package/src/foundry/client-esm/canvas/sources/base-light-source.d.mts +162 -0
- package/src/foundry/client-esm/canvas/sources/global-light-source.d.mts +47 -0
- package/src/foundry/client-esm/canvas/sources/point-darkness-source.d.mts +77 -0
- package/src/foundry/client-esm/canvas/sources/point-effect-source.d.mts +91 -0
- package/src/foundry/client-esm/canvas/sources/point-light-source.d.mts +43 -0
- package/src/foundry/client-esm/canvas/sources/point-movement-source.d.mts +15 -0
- package/src/foundry/client-esm/canvas/sources/point-sound-source.d.mts +29 -0
- package/src/foundry/client-esm/canvas/sources/point-vision-source.d.mts +206 -0
- package/src/foundry/client-esm/canvas/sources/rendered-effect-source.d.mts +328 -0
- package/src/foundry/client-esm/canvas/tokens/_module.d.mts +7 -0
- package/src/foundry/client-esm/client.d.mts +291 -0
- package/src/foundry/client-esm/data/_module.d.mts +8 -0
- package/src/foundry/client-esm/data/client-backend.d.mts +52 -0
- package/src/foundry/client-esm/data/region-behaviors/_module.d.mts +14 -0
- package/src/foundry/client-esm/dice/_module.d.mts +13 -0
- package/src/foundry/client-esm/dice/_types.d.mts +61 -0
- package/src/foundry/client-esm/dice/parser.d.mts +205 -0
- package/src/foundry/client-esm/dice/roll.d.mts +645 -0
- package/src/foundry/client-esm/dice/terms/_module.d.mts +17 -0
- package/src/foundry/client-esm/dice/terms/coin.d.mts +68 -0
- package/src/foundry/client-esm/dice/terms/dice.d.mts +381 -0
- package/src/foundry/client-esm/dice/terms/die.d.mts +241 -0
- package/src/foundry/client-esm/dice/terms/fate.d.mts +50 -0
- package/src/foundry/client-esm/dice/terms/function.d.mts +104 -0
- package/src/foundry/client-esm/dice/terms/numeric.d.mts +56 -0
- package/src/foundry/client-esm/dice/terms/operator.d.mts +55 -0
- package/src/foundry/client-esm/dice/terms/parenthetical.d.mts +105 -0
- package/src/foundry/client-esm/dice/terms/pool.d.mts +278 -0
- package/src/foundry/client-esm/dice/terms/string.d.mts +34 -0
- package/src/foundry/client-esm/dice/terms/term.d.mts +160 -0
- package/src/foundry/client-esm/dice/twister.d.mts +134 -0
- package/src/foundry/client-esm/helpers/_module.d.mts +8 -0
- package/src/foundry/client-esm/helpers/_types.d.mts +51 -0
- package/src/foundry/client-esm/helpers/compendium-art.d.mts +47 -0
- package/src/foundry/clipper/clipper.d.mts +927 -0
- package/src/foundry/clipper/index.d.mts +1 -0
- package/src/foundry/common/abstract/_types.d.mts +274 -0
- package/src/foundry/common/abstract/backend.d.mts +190 -0
- package/src/foundry/common/abstract/data.d.mts +457 -0
- package/src/foundry/common/abstract/document.d.mts +1372 -0
- package/src/foundry/common/abstract/embedded-collection-delta.d.mts +96 -0
- package/src/foundry/common/abstract/embedded-collection.d.mts +252 -0
- package/src/foundry/common/abstract/module.d.mts +13 -0
- package/src/foundry/common/abstract/singleton-collection.d.mts +19 -0
- package/src/foundry/common/abstract/socket.d.mts +36 -0
- package/src/foundry/common/abstract/type-data.d.mts +337 -0
- package/src/foundry/common/config.d.mts +302 -0
- package/src/foundry/common/constants.d.mts +2054 -0
- package/src/foundry/common/data/data.d.mts +667 -0
- package/src/foundry/common/data/fields.d.mts +3388 -0
- package/src/foundry/common/data/module.d.mts +9 -0
- package/src/foundry/common/data/validation-failure.d.mts +174 -0
- package/src/foundry/common/data/validators.d.mts +30 -0
- package/src/foundry/common/documents/_module.d.mts +35 -0
- package/src/foundry/common/documents/_types.d.mts +143 -0
- package/src/foundry/common/documents/active-effect.d.mts +229 -0
- package/src/foundry/common/documents/actor-delta.d.mts +132 -0
- package/src/foundry/common/documents/actor.d.mts +209 -0
- package/src/foundry/common/documents/adventure.d.mts +212 -0
- package/src/foundry/common/documents/ambient-light.d.mts +107 -0
- package/src/foundry/common/documents/ambient-sound.d.mts +142 -0
- package/src/foundry/common/documents/card.d.mts +254 -0
- package/src/foundry/common/documents/cards.d.mts +191 -0
- package/src/foundry/common/documents/chat-message.d.mts +208 -0
- package/src/foundry/common/documents/combat.d.mts +124 -0
- package/src/foundry/common/documents/combatant.d.mts +127 -0
- package/src/foundry/common/documents/drawing.d.mts +255 -0
- package/src/foundry/common/documents/fog-exploration.d.mts +110 -0
- package/src/foundry/common/documents/folder.d.mts +130 -0
- package/src/foundry/common/documents/item.d.mts +181 -0
- package/src/foundry/common/documents/journal-entry-page.d.mts +229 -0
- package/src/foundry/common/documents/journal-entry.d.mts +133 -0
- package/src/foundry/common/documents/macro.d.mts +190 -0
- package/src/foundry/common/documents/measured-template.d.mts +183 -0
- package/src/foundry/common/documents/module.d.mts +35 -0
- package/src/foundry/common/documents/note.d.mts +195 -0
- package/src/foundry/common/documents/playlist-sound.d.mts +131 -0
- package/src/foundry/common/documents/playlist.d.mts +160 -0
- package/src/foundry/common/documents/roll-table.d.mts +153 -0
- package/src/foundry/common/documents/scene.d.mts +395 -0
- package/src/foundry/common/documents/setting.d.mts +88 -0
- package/src/foundry/common/documents/table-result.d.mts +157 -0
- package/src/foundry/common/documents/tile.d.mts +204 -0
- package/src/foundry/common/documents/token.d.mts +515 -0
- package/src/foundry/common/documents/user.d.mts +247 -0
- package/src/foundry/common/documents/wall.d.mts +196 -0
- package/src/foundry/common/grid/_module.d.mts +10 -0
- package/src/foundry/common/grid/base.d.mts +640 -0
- package/src/foundry/common/grid/grid-hex.d.mts +55 -0
- package/src/foundry/common/grid/gridless.d.mts +71 -0
- package/src/foundry/common/grid/hexagonal.d.mts +391 -0
- package/src/foundry/common/grid/square.d.mts +100 -0
- package/src/foundry/common/packages/base-module.d.mts +46 -0
- package/src/foundry/common/packages/base-package.d.mts +677 -0
- package/src/foundry/common/packages/base-system.d.mts +90 -0
- package/src/foundry/common/packages/base-world.d.mts +116 -0
- package/src/foundry/common/packages/module.d.mts +28 -0
- package/src/foundry/common/packages/sub-types.d.mts +42 -0
- package/src/foundry/common/primitives/array.d.mts +56 -0
- package/src/foundry/common/primitives/date.d.mts +24 -0
- package/src/foundry/common/primitives/math.d.mts +103 -0
- package/src/foundry/common/primitives/module.d.mts +8 -0
- package/src/foundry/common/primitives/number.d.mts +91 -0
- package/src/foundry/common/primitives/regex.d.mts +12 -0
- package/src/foundry/common/primitives/regexp.d.mts +12 -0
- package/src/foundry/common/primitives/set.d.mts +105 -0
- package/src/foundry/common/primitives/string.d.mts +58 -0
- package/src/foundry/common/primitives/url.d.mts +18 -0
- package/src/foundry/common/prosemirror/_module.d.mts +82 -0
- package/src/foundry/common/prosemirror/click-handler.d.mts +34 -0
- package/src/foundry/common/prosemirror/content-link-plugin.d.mts +47 -0
- package/src/foundry/common/prosemirror/dirty-plugin.d.mts +13 -0
- package/src/foundry/common/prosemirror/dom-parser.d.mts +9 -0
- package/src/foundry/common/prosemirror/dropdown.d.mts +65 -0
- package/src/foundry/common/prosemirror/extensions.d.mts +12 -0
- package/src/foundry/common/prosemirror/highlight-matches-plugin.d.mts +82 -0
- package/src/foundry/common/prosemirror/image-plugin.d.mts +82 -0
- package/src/foundry/common/prosemirror/index.d.mts +22 -0
- package/src/foundry/common/prosemirror/input-rules.d.mts +34 -0
- package/src/foundry/common/prosemirror/keymaps.d.mts +47 -0
- package/src/foundry/common/prosemirror/menu.d.mts +255 -0
- package/src/foundry/common/prosemirror/paste-transformer.d.mts +22 -0
- package/src/foundry/common/prosemirror/plugin.d.mts +24 -0
- package/src/foundry/common/prosemirror/schema/attribute-capture.d.mts +39 -0
- package/src/foundry/common/prosemirror/schema/core.d.mts +51 -0
- package/src/foundry/common/prosemirror/schema/image-link-node.d.mts +29 -0
- package/src/foundry/common/prosemirror/schema/image-node.d.mts +19 -0
- package/src/foundry/common/prosemirror/schema/index.d.mts +12 -0
- package/src/foundry/common/prosemirror/schema/link-mark.d.mts +30 -0
- package/src/foundry/common/prosemirror/schema/lists.d.mts +55 -0
- package/src/foundry/common/prosemirror/schema/marks.d.mts +44 -0
- package/src/foundry/common/prosemirror/schema/other.d.mts +149 -0
- package/src/foundry/common/prosemirror/schema/schema-definition.d.mts +39 -0
- package/src/foundry/common/prosemirror/schema/secret-node.d.mts +27 -0
- package/src/foundry/common/prosemirror/schema/tables.d.mts +106 -0
- package/src/foundry/common/prosemirror/schema/utils.d.mts +37 -0
- package/src/foundry/common/prosemirror/schema.d.mts +138 -0
- package/src/foundry/common/prosemirror/string-serializer.d.mts +120 -0
- package/src/foundry/common/prosemirror/util.d.mts +43 -0
- package/src/foundry/common/types.d.mts +332 -0
- package/src/foundry/common/utils/bitmask.d.mts +110 -0
- package/src/foundry/common/utils/collection.d.mts +176 -0
- package/src/foundry/common/utils/color.d.mts +291 -0
- package/src/foundry/common/utils/event-emitter.d.mts +62 -0
- package/src/foundry/common/utils/geometry.d.mts +198 -0
- package/src/foundry/common/utils/helpers.d.mts +752 -0
- package/src/foundry/common/utils/http.d.mts +52 -0
- package/src/foundry/common/utils/iterable-weak-map.d.mts +80 -0
- package/src/foundry/common/utils/iterable-weak-set.d.mts +47 -0
- package/src/foundry/common/utils/logging.d.mts +42 -0
- package/src/foundry/common/utils/module.d.mts +18 -0
- package/src/foundry/common/utils/semaphore.d.mts +82 -0
- package/src/foundry/common/utils/string-tree.d.mts +95 -0
- package/src/foundry/common/utils/word-tree.d.mts +66 -0
- package/src/foundry/index.d.mts +5 -0
- package/src/foundry/public/index.d.mts +1 -0
- package/src/foundry/public/scripts/earcut-edges/earcut-edges.d.mts +11 -0
- package/src/foundry/public/scripts/earcut-edges/index.d.mts +1 -0
- package/src/foundry/public/scripts/index.d.mts +1 -0
- package/src/index.d.mts +2 -0
- package/src/types/augments/index.d.mts +4 -0
- package/src/types/augments/pixi.d.mts +38 -0
- package/src/types/augments/simple-peer.d.mts +13 -0
- package/src/types/augments/socket.io-client.d.mts +12 -0
- package/src/types/augments/tinyMCE.d.mts +72 -0
- package/src/types/config.d.mts +331 -0
- package/src/types/configuredDocuments.d.mts +103 -0
- package/src/types/helperTypes.d.mts +261 -0
- package/src/types/index.d.mts +4 -0
- package/src/types/utils.d.mts +406 -0
- package/index-lenient.d.ts +0 -10
- package/index.d.ts +0 -4
- package/src/foundry/client/apps/app.d.ts +0 -560
- package/src/foundry/client/apps/av/av-config.d.ts +0 -85
- package/src/foundry/client/apps/av/cameras.d.ts +0 -174
- package/src/foundry/client/apps/av/index.d.ts +0 -3
- package/src/foundry/client/apps/form.d.ts +0 -384
- package/src/foundry/client/apps/forms/actor.d.ts +0 -192
- package/src/foundry/client/apps/forms/card-config.d.ts +0 -51
- package/src/foundry/client/apps/forms/cards-config.d.ts +0 -128
- package/src/foundry/client/apps/forms/combat-config.d.ts +0 -41
- package/src/foundry/client/apps/forms/combatant-config.d.ts +0 -49
- package/src/foundry/client/apps/forms/effect-config.d.ts +0 -65
- package/src/foundry/client/apps/forms/folder-config.d.ts +0 -63
- package/src/foundry/client/apps/forms/grid-config.d.ts +0 -151
- package/src/foundry/client/apps/forms/image-popout.d.ts +0 -166
- package/src/foundry/client/apps/forms/index.d.ts +0 -20
- package/src/foundry/client/apps/forms/item.d.ts +0 -71
- package/src/foundry/client/apps/forms/journal-sheet.d.ts +0 -107
- package/src/foundry/client/apps/forms/macro-config.d.ts +0 -71
- package/src/foundry/client/apps/forms/measure-template.d.ts +0 -53
- package/src/foundry/client/apps/forms/permission.d.ts +0 -58
- package/src/foundry/client/apps/forms/playlist-config.d.ts +0 -43
- package/src/foundry/client/apps/forms/playlist-sound-config.d.ts +0 -61
- package/src/foundry/client/apps/forms/roll-table-config.d.ts +0 -175
- package/src/foundry/client/apps/forms/scene-config.d.ts +0 -148
- package/src/foundry/client/apps/forms/sheet-config.d.ts +0 -184
- package/src/foundry/client/apps/forms/user-config.d.ts +0 -74
- package/src/foundry/client/apps/hud/chatbubble.d.ts +0 -89
- package/src/foundry/client/apps/hud/container.d.ts +0 -46
- package/src/foundry/client/apps/hud/controls.d.ts +0 -156
- package/src/foundry/client/apps/hud/hotbar.d.ts +0 -143
- package/src/foundry/client/apps/hud/hud.d.ts +0 -84
- package/src/foundry/client/apps/hud/index.d.ts +0 -9
- package/src/foundry/client/apps/hud/menu.d.ts +0 -71
- package/src/foundry/client/apps/hud/navigation.d.ts +0 -110
- package/src/foundry/client/apps/hud/pause.d.ts +0 -20
- package/src/foundry/client/apps/hud/players.d.ts +0 -55
- package/src/foundry/client/apps/i18n.d.ts +0 -136
- package/src/foundry/client/apps/index.d.ts +0 -9
- package/src/foundry/client/apps/placeables/drawing-config.d.ts +0 -99
- package/src/foundry/client/apps/placeables/drawing-hud.d.ts +0 -32
- package/src/foundry/client/apps/placeables/index.d.ts +0 -10
- package/src/foundry/client/apps/placeables/light-config.d.ts +0 -95
- package/src/foundry/client/apps/placeables/note-config.d.ts +0 -57
- package/src/foundry/client/apps/placeables/sound-config.d.ts +0 -47
- package/src/foundry/client/apps/placeables/tile-config.d.ts +0 -55
- package/src/foundry/client/apps/placeables/tile-hud.d.ts +0 -37
- package/src/foundry/client/apps/placeables/token-config.d.ts +0 -226
- package/src/foundry/client/apps/placeables/token-hud.d.ts +0 -140
- package/src/foundry/client/apps/placeables/wall-config.d.ts +0 -75
- package/src/foundry/client/apps/sidebar/apps/chat-popout.d.ts +0 -34
- package/src/foundry/client/apps/sidebar/apps/client-settings.d.ts +0 -116
- package/src/foundry/client/apps/sidebar/apps/compendium.d.ts +0 -86
- package/src/foundry/client/apps/sidebar/apps/controls-reference.d.ts +0 -30
- package/src/foundry/client/apps/sidebar/apps/index.d.ts +0 -10
- package/src/foundry/client/apps/sidebar/apps/invitation-links.d.ts +0 -37
- package/src/foundry/client/apps/sidebar/apps/keybindings-config.d.ts +0 -247
- package/src/foundry/client/apps/sidebar/apps/module-management.d.ts +0 -120
- package/src/foundry/client/apps/sidebar/apps/permission-config.d.ts +0 -64
- package/src/foundry/client/apps/sidebar/apps/support-details.d.ts +0 -76
- package/src/foundry/client/apps/sidebar/apps/world-config.d.ts +0 -77
- package/src/foundry/client/apps/sidebar/index.d.ts +0 -5
- package/src/foundry/client/apps/sidebar/sidebar.d.ts +0 -102
- package/src/foundry/client/apps/sidebar/tab-base.d.ts +0 -68
- package/src/foundry/client/apps/sidebar/tab-directory.d.ts +0 -236
- package/src/foundry/client/apps/sidebar/tabs/actors-directory.d.ts +0 -16
- package/src/foundry/client/apps/sidebar/tabs/cards-directory.d.ts +0 -6
- package/src/foundry/client/apps/sidebar/tabs/chat-log.d.ts +0 -351
- package/src/foundry/client/apps/sidebar/tabs/combat-tracker.d.ts +0 -205
- package/src/foundry/client/apps/sidebar/tabs/compendium-directory.d.ts +0 -77
- package/src/foundry/client/apps/sidebar/tabs/index.d.ts +0 -12
- package/src/foundry/client/apps/sidebar/tabs/items-directory.d.ts +0 -10
- package/src/foundry/client/apps/sidebar/tabs/journal-directory.d.ts +0 -11
- package/src/foundry/client/apps/sidebar/tabs/macros-directory.d.ts +0 -12
- package/src/foundry/client/apps/sidebar/tabs/playlists-directory.d.ts +0 -306
- package/src/foundry/client/apps/sidebar/tabs/roll-table-directory.d.ts +0 -9
- package/src/foundry/client/apps/sidebar/tabs/scenes-directory.d.ts +0 -18
- package/src/foundry/client/apps/sidebar/tabs/settings.d.ts +0 -88
- package/src/foundry/client/apps/templates.d.ts +0 -425
- package/src/foundry/client/audio/audio.d.ts +0 -343
- package/src/foundry/client/audio/container.d.ts +0 -175
- package/src/foundry/client/audio/index.d.ts +0 -3
- package/src/foundry/client/audio/sound.d.ts +0 -303
- package/src/foundry/client/av/client.d.ts +0 -158
- package/src/foundry/client/av/clients/index.d.ts +0 -1
- package/src/foundry/client/av/clients/simplepeer.d.ts +0 -151
- package/src/foundry/client/av/index.d.ts +0 -4
- package/src/foundry/client/av/master.d.ts +0 -187
- package/src/foundry/client/av/settings.d.ts +0 -236
- package/src/foundry/client/config.d.ts +0 -1425
- package/src/foundry/client/core/gamepad.d.ts +0 -53
- package/src/foundry/client/core/hooks.d.ts +0 -967
- package/src/foundry/client/core/image.d.ts +0 -129
- package/src/foundry/client/core/index.d.ts +0 -13
- package/src/foundry/client/core/keybindings.d.ts +0 -298
- package/src/foundry/client/core/keyboard.d.ts +0 -247
- package/src/foundry/client/core/mouse.d.ts +0 -18
- package/src/foundry/client/core/nue.d.ts +0 -34
- package/src/foundry/client/core/settings.d.ts +0 -222
- package/src/foundry/client/core/socket.d.ts +0 -46
- package/src/foundry/client/core/sorting.d.ts +0 -78
- package/src/foundry/client/core/time.d.ts +0 -67
- package/src/foundry/client/core/utils.d.ts +0 -33
- package/src/foundry/client/core/video.d.ts +0 -65
- package/src/foundry/client/data/abstract/canvas-document.d.ts +0 -70
- package/src/foundry/client/data/abstract/client-backend.d.ts +0 -206
- package/src/foundry/client/data/abstract/client-document.d.ts +0 -439
- package/src/foundry/client/data/abstract/document-collection.d.ts +0 -192
- package/src/foundry/client/data/abstract/index.d.ts +0 -5
- package/src/foundry/client/data/abstract/world-collection.d.ts +0 -167
- package/src/foundry/client/data/collections/actors.d.ts +0 -35
- package/src/foundry/client/data/collections/cards.d.ts +0 -8
- package/src/foundry/client/data/collections/combats.d.ts +0 -43
- package/src/foundry/client/data/collections/compendium.d.ts +0 -321
- package/src/foundry/client/data/collections/fog.d.ts +0 -7
- package/src/foundry/client/data/collections/folder.d.ts +0 -27
- package/src/foundry/client/data/collections/index.d.ts +0 -15
- package/src/foundry/client/data/collections/items.d.ts +0 -10
- package/src/foundry/client/data/collections/journal.d.ts +0 -26
- package/src/foundry/client/data/collections/macros.d.ts +0 -26
- package/src/foundry/client/data/collections/messages.d.ts +0 -39
- package/src/foundry/client/data/collections/playlists.d.ts +0 -41
- package/src/foundry/client/data/collections/scenes.d.ts +0 -62
- package/src/foundry/client/data/collections/settings.d.ts +0 -25
- package/src/foundry/client/data/collections/tables.d.ts +0 -17
- package/src/foundry/client/data/collections/users.d.ts +0 -43
- package/src/foundry/client/data/documents/active-effect.d.ts +0 -172
- package/src/foundry/client/data/documents/actor.d.ts +0 -231
- package/src/foundry/client/data/documents/ambient-light.d.ts +0 -18
- package/src/foundry/client/data/documents/ambient-sound.d.ts +0 -9
- package/src/foundry/client/data/documents/card.d.ts +0 -133
- package/src/foundry/client/data/documents/cards.d.ts +0 -376
- package/src/foundry/client/data/documents/chat-message.d.ts +0 -267
- package/src/foundry/client/data/documents/combat.d.ts +0 -227
- package/src/foundry/client/data/documents/combatant.d.ts +0 -104
- package/src/foundry/client/data/documents/drawing.d.ts +0 -19
- package/src/foundry/client/data/documents/fog-exploration.d.ts +0 -64
- package/src/foundry/client/data/documents/folder.d.ts +0 -115
- package/src/foundry/client/data/documents/index.d.ts +0 -27
- package/src/foundry/client/data/documents/item.d.ts +0 -59
- package/src/foundry/client/data/documents/journal-entry.d.ts +0 -71
- package/src/foundry/client/data/documents/macro.d.ts +0 -60
- package/src/foundry/client/data/documents/measured-template.d.ts +0 -21
- package/src/foundry/client/data/documents/note.d.ts +0 -19
- package/src/foundry/client/data/documents/playlist-sound.d.ts +0 -117
- package/src/foundry/client/data/documents/playlist.d.ts +0 -192
- package/src/foundry/client/data/documents/scene.d.ts +0 -465
- package/src/foundry/client/data/documents/setting.d.ts +0 -35
- package/src/foundry/client/data/documents/table-result.d.ts +0 -30
- package/src/foundry/client/data/documents/table.d.ts +0 -220
- package/src/foundry/client/data/documents/tile.d.ts +0 -13
- package/src/foundry/client/data/documents/token.d.ts +0 -281
- package/src/foundry/client/data/documents/user.d.ts +0 -155
- package/src/foundry/client/data/documents/wall.d.ts +0 -9
- package/src/foundry/client/data/index.d.ts +0 -3
- package/src/foundry/client/dice/dice/coin.d.ts +0 -49
- package/src/foundry/client/dice/dice/die.d.ts +0 -230
- package/src/foundry/client/dice/dice/fate.d.ts +0 -37
- package/src/foundry/client/dice/dice/index.d.ts +0 -3
- package/src/foundry/client/dice/index.d.ts +0 -5
- package/src/foundry/client/dice/roll.d.ts +0 -495
- package/src/foundry/client/dice/term.d.ts +0 -123
- package/src/foundry/client/dice/terms/dice.d.ts +0 -277
- package/src/foundry/client/dice/terms/index.d.ts +0 -7
- package/src/foundry/client/dice/terms/math.d.ts +0 -69
- package/src/foundry/client/dice/terms/numeric.d.ts +0 -53
- package/src/foundry/client/dice/terms/operator.d.ts +0 -18
- package/src/foundry/client/dice/terms/parenthetical.d.ts +0 -51
- package/src/foundry/client/dice/terms/pool.d.ts +0 -235
- package/src/foundry/client/dice/terms/string.d.ts +0 -31
- package/src/foundry/client/dice/twister.d.ts +0 -134
- package/src/foundry/client/game.d.ts +0 -682
- package/src/foundry/client/head.d.ts +0 -44
- package/src/foundry/client/index.d.ts +0 -12
- package/src/foundry/client/pixi/board.d.ts +0 -626
- package/src/foundry/client/pixi/core/containers/cached-container.d.ts +0 -64
- package/src/foundry/client/pixi/core/containers/index.d.ts +0 -3
- package/src/foundry/client/pixi/core/containers/quadtree.d.ts +0 -166
- package/src/foundry/client/pixi/core/containers/sampler-mesh.d.ts +0 -22
- package/src/foundry/client/pixi/core/culling.d.ts +0 -37
- package/src/foundry/client/pixi/core/index.d.ts +0 -5
- package/src/foundry/client/pixi/core/interaction/canvas-animation.d.ts +0 -148
- package/src/foundry/client/pixi/core/interaction/control-icon.d.ts +0 -58
- package/src/foundry/client/pixi/core/interaction/index.d.ts +0 -5
- package/src/foundry/client/pixi/core/interaction/mouse-handler.d.ts +0 -323
- package/src/foundry/client/pixi/core/interaction/resize-handle.d.ts +0 -48
- package/src/foundry/client/pixi/core/interaction/targets.d.ts +0 -51
- package/src/foundry/client/pixi/core/loader.d.ts +0 -157
- package/src/foundry/client/pixi/core/shapes/index.d.ts +0 -5
- package/src/foundry/client/pixi/core/shapes/normalized-rectangle.d.ts +0 -31
- package/src/foundry/client/pixi/core/shapes/polygon-helpers.d.ts +0 -263
- package/src/foundry/client/pixi/core/shapes/precise-text.d.ts +0 -18
- package/src/foundry/client/pixi/core/shapes/ray.d.ts +0 -200
- package/src/foundry/client/pixi/core/shapes/source-polygon.d.ts +0 -110
- package/src/foundry/client/pixi/groups/effects.d.ts +0 -29
- package/src/foundry/client/pixi/groups/index.d.ts +0 -3
- package/src/foundry/client/pixi/groups/interface.d.ts +0 -27
- package/src/foundry/client/pixi/groups/primary.d.ts +0 -40
- package/src/foundry/client/pixi/index.d.ts +0 -10
- package/src/foundry/client/pixi/layer.d.ts +0 -105
- package/src/foundry/client/pixi/layers/controls/cursor.d.ts +0 -27
- package/src/foundry/client/pixi/layers/controls/door.d.ts +0 -67
- package/src/foundry/client/pixi/layers/controls/hud.d.ts +0 -117
- package/src/foundry/client/pixi/layers/controls/index.d.ts +0 -4
- package/src/foundry/client/pixi/layers/controls/ruler.d.ts +0 -207
- package/src/foundry/client/pixi/layers/controls.d.ts +0 -144
- package/src/foundry/client/pixi/layers/drawings.d.ts +0 -116
- package/src/foundry/client/pixi/layers/effects/effect.d.ts +0 -133
- package/src/foundry/client/pixi/layers/effects/index.d.ts +0 -4
- package/src/foundry/client/pixi/layers/effects/leaves.d.ts +0 -79
- package/src/foundry/client/pixi/layers/effects/rain.d.ts +0 -107
- package/src/foundry/client/pixi/layers/effects/snow.d.ts +0 -62
- package/src/foundry/client/pixi/layers/effects.d.ts +0 -61
- package/src/foundry/client/pixi/layers/grid/grid.d.ts +0 -171
- package/src/foundry/client/pixi/layers/grid/hex.d.ts +0 -118
- package/src/foundry/client/pixi/layers/grid/highlight.d.ts +0 -28
- package/src/foundry/client/pixi/layers/grid/index.d.ts +0 -4
- package/src/foundry/client/pixi/layers/grid/square.d.ts +0 -48
- package/src/foundry/client/pixi/layers/grid.d.ts +0 -204
- package/src/foundry/client/pixi/layers/index.d.ts +0 -15
- package/src/foundry/client/pixi/layers/lighting.d.ts +0 -229
- package/src/foundry/client/pixi/layers/map.d.ts +0 -263
- package/src/foundry/client/pixi/layers/notes.d.ts +0 -64
- package/src/foundry/client/pixi/layers/sight.d.ts +0 -313
- package/src/foundry/client/pixi/layers/sounds.d.ts +0 -112
- package/src/foundry/client/pixi/layers/templates.d.ts +0 -51
- package/src/foundry/client/pixi/layers/tokens.d.ts +0 -169
- package/src/foundry/client/pixi/layers/walls.d.ts +0 -321
- package/src/foundry/client/pixi/perception/clockwise-sweep.d.ts +0 -406
- package/src/foundry/client/pixi/perception/index.d.ts +0 -2
- package/src/foundry/client/pixi/perception/perception-manager.d.ts +0 -107
- package/src/foundry/client/pixi/placeable.d.ts +0 -414
- package/src/foundry/client/pixi/placeables/drawing.d.ts +0 -289
- package/src/foundry/client/pixi/placeables/index.d.ts +0 -8
- package/src/foundry/client/pixi/placeables/light.d.ts +0 -126
- package/src/foundry/client/pixi/placeables/note.d.ts +0 -67
- package/src/foundry/client/pixi/placeables/sound.d.ts +0 -131
- package/src/foundry/client/pixi/placeables/template.d.ts +0 -153
- package/src/foundry/client/pixi/placeables/tile.d.ts +0 -315
- package/src/foundry/client/pixi/placeables/token.d.ts +0 -722
- package/src/foundry/client/pixi/placeables/wall.d.ts +0 -268
- package/src/foundry/client/pixi/placeables.d.ts +0 -520
- package/src/foundry/client/pixi/sources/base-source.d.ts +0 -145
- package/src/foundry/client/pixi/sources/index.d.ts +0 -4
- package/src/foundry/client/pixi/sources/light-source.d.ts +0 -413
- package/src/foundry/client/pixi/sources/sound-source.d.ts +0 -45
- package/src/foundry/client/pixi/sources/vision-source.d.ts +0 -123
- package/src/foundry/client/pixi/webgl/base.d.ts +0 -69
- package/src/foundry/client/pixi/webgl/blend_modes.d.ts +0 -33
- package/src/foundry/client/pixi/webgl/filters.d.ts +0 -182
- package/src/foundry/client/pixi/webgl/index.d.ts +0 -5
- package/src/foundry/client/pixi/webgl/lighting.d.ts +0 -480
- package/src/foundry/client/pixi/webgl/sampler.d.ts +0 -19
- package/src/foundry/client/ui/context.d.ts +0 -136
- package/src/foundry/client/ui/dialog.d.ts +0 -286
- package/src/foundry/client/ui/drag.d.ts +0 -105
- package/src/foundry/client/ui/dragdrop.d.ts +0 -118
- package/src/foundry/client/ui/editor.d.ts +0 -321
- package/src/foundry/client/ui/filepicker.d.ts +0 -510
- package/src/foundry/client/ui/filter.d.ts +0 -106
- package/src/foundry/client/ui/forms.d.ts +0 -47
- package/src/foundry/client/ui/index.d.ts +0 -10
- package/src/foundry/client/ui/notifications.d.ts +0 -110
- package/src/foundry/client/ui/tabs.d.ts +0 -103
- package/src/foundry/common/abstract/backend.mjs.d.ts +0 -253
- package/src/foundry/common/abstract/data.mjs.d.ts +0 -316
- package/src/foundry/common/abstract/document.mjs.d.ts +0 -838
- package/src/foundry/common/abstract/embedded-collection.mjs.d.ts +0 -79
- package/src/foundry/common/abstract/module.mjs.d.ts +0 -6
- package/src/foundry/common/config.mjs/index.d.ts +0 -1
- package/src/foundry/common/config.mjs/releaseData.d.ts +0 -100
- package/src/foundry/common/constants.mjs.d.ts +0 -940
- package/src/foundry/common/data/data.mjs/activeEffectData.d.ts +0 -168
- package/src/foundry/common/data/data.mjs/actorData.d.ts +0 -219
- package/src/foundry/common/data/data.mjs/adventureData.d.ts +0 -166
- package/src/foundry/common/data/data.mjs/ambientLightData.d.ts +0 -154
- package/src/foundry/common/data/data.mjs/ambientSoundData.d.ts +0 -195
- package/src/foundry/common/data/data.mjs/animationData.d.ts +0 -91
- package/src/foundry/common/data/data.mjs/cardData.d.ts +0 -264
- package/src/foundry/common/data/data.mjs/cardFaceData.d.ts +0 -67
- package/src/foundry/common/data/data.mjs/cardsData.d.ts +0 -237
- package/src/foundry/common/data/data.mjs/chatMessageData.d.ts +0 -220
- package/src/foundry/common/data/data.mjs/chatSpeakerData.d.ts +0 -80
- package/src/foundry/common/data/data.mjs/combatData.d.ts +0 -149
- package/src/foundry/common/data/data.mjs/combatantData.d.ts +0 -136
- package/src/foundry/common/data/data.mjs/darknessActivation.d.ts +0 -55
- package/src/foundry/common/data/data.mjs/drawingData.d.ts +0 -407
- package/src/foundry/common/data/data.mjs/effectChangeData.d.ts +0 -80
- package/src/foundry/common/data/data.mjs/effectDurationData.d.ts +0 -109
- package/src/foundry/common/data/data.mjs/fogExplorationData.d.ts +0 -115
- package/src/foundry/common/data/data.mjs/folderData.d.ts +0 -155
- package/src/foundry/common/data/data.mjs/index.d.ts +0 -31
- package/src/foundry/common/data/data.mjs/itemData.d.ts +0 -184
- package/src/foundry/common/data/data.mjs/journalEntryData.d.ts +0 -132
- package/src/foundry/common/data/data.mjs/lightData.d.ts +0 -227
- package/src/foundry/common/data/data.mjs/macroData.d.ts +0 -199
- package/src/foundry/common/data/data.mjs/measuredTemplateData.d.ts +0 -212
- package/src/foundry/common/data/data.mjs/noteData.d.ts +0 -233
- package/src/foundry/common/data/data.mjs/playlistData.d.ts +0 -201
- package/src/foundry/common/data/data.mjs/playlistSoundData.d.ts +0 -159
- package/src/foundry/common/data/data.mjs/prototypeTokenData.d.ts +0 -75
- package/src/foundry/common/data/data.mjs/rollTableData.d.ts +0 -189
- package/src/foundry/common/data/data.mjs/sceneData.d.ts +0 -665
- package/src/foundry/common/data/data.mjs/settingData.d.ts +0 -86
- package/src/foundry/common/data/data.mjs/tableResultData.d.ts +0 -167
- package/src/foundry/common/data/data.mjs/tileData.d.ts +0 -246
- package/src/foundry/common/data/data.mjs/tileOcclusion.d.ts +0 -62
- package/src/foundry/common/data/data.mjs/tokenBarData.d.ts +0 -47
- package/src/foundry/common/data/data.mjs/tokenData.d.ts +0 -505
- package/src/foundry/common/data/data.mjs/userData.d.ts +0 -177
- package/src/foundry/common/data/data.mjs/videoData.d.ts +0 -70
- package/src/foundry/common/data/data.mjs/wallData.d.ts +0 -222
- package/src/foundry/common/data/fields.mjs.d.ts +0 -526
- package/src/foundry/common/data/module.mjs.d.ts +0 -3
- package/src/foundry/common/data/validators.mjs.d.ts +0 -56
- package/src/foundry/common/documents.mjs/baseActiveEffect.d.ts +0 -44
- package/src/foundry/common/documents.mjs/baseActor.d.ts +0 -68
- package/src/foundry/common/documents.mjs/baseAdventure.d.ts +0 -38
- package/src/foundry/common/documents.mjs/baseAmbientLight.d.ts +0 -31
- package/src/foundry/common/documents.mjs/baseAmbientSound.d.ts +0 -29
- package/src/foundry/common/documents.mjs/baseCard.d.ts +0 -58
- package/src/foundry/common/documents.mjs/baseCards.d.ts +0 -39
- package/src/foundry/common/documents.mjs/baseChatMessage.d.ts +0 -49
- package/src/foundry/common/documents.mjs/baseCombat.d.ts +0 -40
- package/src/foundry/common/documents.mjs/baseCombatant.d.ts +0 -48
- package/src/foundry/common/documents.mjs/baseDrawing.d.ts +0 -54
- package/src/foundry/common/documents.mjs/baseFogExploration.d.ts +0 -41
- package/src/foundry/common/documents.mjs/baseFolder.d.ts +0 -30
- package/src/foundry/common/documents.mjs/baseItem.d.ts +0 -57
- package/src/foundry/common/documents.mjs/baseJournalEntry.d.ts +0 -26
- package/src/foundry/common/documents.mjs/baseMacro.d.ts +0 -42
- package/src/foundry/common/documents.mjs/baseMeasuredTemplate.d.ts +0 -66
- package/src/foundry/common/documents.mjs/baseNote.d.ts +0 -39
- package/src/foundry/common/documents.mjs/basePlaylist.d.ts +0 -32
- package/src/foundry/common/documents.mjs/basePlaylistSound.d.ts +0 -37
- package/src/foundry/common/documents.mjs/baseRollTable.d.ts +0 -31
- package/src/foundry/common/documents.mjs/baseScene.d.ts +0 -120
- package/src/foundry/common/documents.mjs/baseSetting.d.ts +0 -38
- package/src/foundry/common/documents.mjs/baseTableResult.d.ts +0 -52
- package/src/foundry/common/documents.mjs/baseTile.d.ts +0 -29
- package/src/foundry/common/documents.mjs/baseToken.d.ts +0 -44
- package/src/foundry/common/documents.mjs/baseUser.d.ts +0 -102
- package/src/foundry/common/documents.mjs/baseWall.d.ts +0 -43
- package/src/foundry/common/documents.mjs/index.d.ts +0 -28
- package/src/foundry/common/module.mjs.d.ts +0 -114
- package/src/foundry/common/packages.mjs/index.d.ts +0 -8
- package/src/foundry/common/packages.mjs/moduleData.d.ts +0 -55
- package/src/foundry/common/packages.mjs/packageAuthorData.d.ts +0 -58
- package/src/foundry/common/packages.mjs/packageCompendiumData.d.ts +0 -88
- package/src/foundry/common/packages.mjs/packageData.d.ts +0 -319
- package/src/foundry/common/packages.mjs/packageDependencyData.d.ts +0 -69
- package/src/foundry/common/packages.mjs/packageLanguageData.d.ts +0 -75
- package/src/foundry/common/packages.mjs/systemData.d.ts +0 -58
- package/src/foundry/common/packages.mjs/tagPackageAvailability.d.ts +0 -9
- package/src/foundry/common/packages.mjs/worldData.d.ts +0 -76
- package/src/foundry/common/types.mjs.d.ts +0 -299
- package/src/foundry/common/utils/collection.mjs.d.ts +0 -151
- package/src/foundry/common/utils/geometry.mjs.d.ts +0 -148
- package/src/foundry/common/utils/helpers.mjs.d.ts +0 -498
- package/src/foundry/common/utils/http.mjs.d.ts +0 -52
- package/src/foundry/common/utils/module.mjs.d.ts +0 -5
- package/src/foundry/common/utils/primitives.mjs.d.ts +0 -287
- package/src/foundry/common/utils/semaphore.mjs.d.ts +0 -83
- package/src/foundry/index.d.ts +0 -3
- package/src/foundry/templates/index.d.ts +0 -1
- package/src/foundry/templates/views/layouts/main.hbs.d.ts +0 -11
- package/src/index.d.ts +0 -2
- package/src/types/augments/index.d.ts +0 -6
- package/src/types/augments/pixiGraphicsSmooth.d.ts +0 -7
- package/src/types/augments/pixiLegacyGraphics.d.ts +0 -7
- package/src/types/augments/pixiParticles.d.ts +0 -7
- package/src/types/augments/simple-peer.d.ts +0 -13
- package/src/types/augments/socket.io-client.d.ts +0 -12
- package/src/types/augments/tinyMCE.d.ts +0 -82
- package/src/types/config.d.ts +0 -183
- package/src/types/helperTypes.d.ts +0 -151
- package/src/types/index.d.ts +0 -3
- package/src/types/utils.d.ts +0 -143
- /package/src/foundry/client/apps/av/{camera-popout.d.ts → camera-popout.d.mts} +0 -0
- /package/src/foundry/client/{tail.d.ts → tail.d.mts} +0 -0
@@ -1,967 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
ConfiguredDocumentClass,
|
3
|
-
ConfiguredDocumentClassForName,
|
4
|
-
ConfiguredObjectClassForName,
|
5
|
-
DocumentConstructor,
|
6
|
-
ToObjectFalseType
|
7
|
-
} from '../../../types/helperTypes';
|
8
|
-
import { DocumentModificationOptions } from '../../common/abstract/document.mjs';
|
9
|
-
import { EffectChangeData } from '../../common/data/data.mjs/effectChangeData';
|
10
|
-
import { DropData } from '../data/abstract/client-document';
|
11
|
-
|
12
|
-
declare global {
|
13
|
-
/**
|
14
|
-
* A simple event framework used throughout Foundry Virtual Tabletop.
|
15
|
-
* When key actions or events occur, a "hook" is defined where user-defined callback functions can execute.
|
16
|
-
* This class manages the registration and execution of hooked callback functions.
|
17
|
-
*/
|
18
|
-
class Hooks {
|
19
|
-
/**
|
20
|
-
* Register a callback handler which should be triggered when a hook is triggered.
|
21
|
-
*
|
22
|
-
* @param hook - The unique name of the hooked event
|
23
|
-
* @param fn - The callback function which should be triggered when the hook event occurs
|
24
|
-
* @returns An ID number of the hooked function which can be used to turn off the hook later
|
25
|
-
*/
|
26
|
-
static on<K extends keyof Hooks.StaticCallbacks>(hook: K, fn: Hooks.StaticCallbacks[K]): number;
|
27
|
-
static on<H extends Hooks.DynamicCallbacks>(hook: string, fn: H): number;
|
28
|
-
static on<H extends (...args: any) => any>(hook: string, fn: H): number;
|
29
|
-
|
30
|
-
/**
|
31
|
-
* Register a callback handler for an event which is only triggered once the first time the event occurs.
|
32
|
-
* After a "once" hook is triggered the hook is automatically removed.
|
33
|
-
*
|
34
|
-
* @param hook - The unique name of the hooked event
|
35
|
-
* @param fn - The callback function which should be triggered when the hook event occurs
|
36
|
-
* @returns An ID number of the hooked function which can be used to turn off the hook later
|
37
|
-
*/
|
38
|
-
static once<K extends keyof Hooks.StaticCallbacks>(
|
39
|
-
hook: K,
|
40
|
-
fn: Hooks.StaticCallbacks[K]
|
41
|
-
): ReturnType<typeof Hooks['on']>;
|
42
|
-
static once<H extends Hooks.DynamicCallbacks>(hook: string, fn: H): ReturnType<typeof Hooks['on']>;
|
43
|
-
static once<H extends (...args: any) => any>(hook: string, fn: H): ReturnType<typeof Hooks['on']>;
|
44
|
-
|
45
|
-
/**
|
46
|
-
* Unregister a callback handler for a particular hook event
|
47
|
-
*
|
48
|
-
* @param hook - The unique name of the hooked event
|
49
|
-
* @param fn - The function, or ID number for the function, that should be turned off
|
50
|
-
*/
|
51
|
-
static off<K extends keyof Hooks.StaticCallbacks>(hook: K, fn: number | Hooks.StaticCallbacks[K]): void;
|
52
|
-
static off<H extends Hooks.DynamicCallbacks>(hook: string, fn: number | H): void;
|
53
|
-
static off<H extends (...args: any) => any>(hook: string, fn: number | H): void;
|
54
|
-
|
55
|
-
/**
|
56
|
-
* Call all hook listeners in the order in which they were registered
|
57
|
-
* Hooks called this way can not be handled by returning false and will always trigger every hook callback.
|
58
|
-
*
|
59
|
-
* @param hook - The hook being triggered
|
60
|
-
* @param args - Arguments passed to the hook callback functions
|
61
|
-
*/
|
62
|
-
static callAll<K extends keyof Hooks.StaticCallbacks>(hook: K, ...args: Parameters<Hooks.StaticCallbacks[K]>): true;
|
63
|
-
static callAll<H extends Hooks.DynamicCallbacks>(hook: string, ...args: Parameters<H>): true;
|
64
|
-
static callAll<H extends (...args: any) => any>(hook: string, ...args: Parameters<H>): true;
|
65
|
-
|
66
|
-
/**
|
67
|
-
* Call hook listeners in the order in which they were registered.
|
68
|
-
* Continue calling hooks until either all have been called or one returns false.
|
69
|
-
*
|
70
|
-
* Hook listeners which return false denote that the original event has been adequately handled and no further
|
71
|
-
* hooks should be called.
|
72
|
-
*
|
73
|
-
* @param hook - The hook being triggered
|
74
|
-
* @param args - Arguments passed to the hook callback functions
|
75
|
-
*/
|
76
|
-
static call<K extends keyof Hooks.StaticCallbacks>(hook: K, ...args: Parameters<Hooks.StaticCallbacks[K]>): boolean;
|
77
|
-
static call<H extends Hooks.DynamicCallbacks>(hook: string, ...args: Parameters<H>): boolean;
|
78
|
-
static call<H extends (...args: any) => any>(hook: string, ...args: Parameters<H>): boolean;
|
79
|
-
|
80
|
-
/**
|
81
|
-
* Call a hooked function using provided arguments and perhaps unregister it.
|
82
|
-
*/
|
83
|
-
protected static _call<K extends keyof Hooks.StaticCallbacks>(
|
84
|
-
hook: K,
|
85
|
-
fn: Hooks.StaticCallbacks[K],
|
86
|
-
...args: Parameters<Hooks.StaticCallbacks[K]>
|
87
|
-
): ReturnType<Hooks.StaticCallbacks[K]> | undefined;
|
88
|
-
protected static _call<H extends Hooks.DynamicCallbacks>(
|
89
|
-
hook: string,
|
90
|
-
fn: H,
|
91
|
-
...args: Parameters<H>
|
92
|
-
): ReturnType<H> | undefined;
|
93
|
-
protected static _call<H extends (...args: any) => any>(
|
94
|
-
hook: string,
|
95
|
-
fn: H,
|
96
|
-
...args: Parameters<H>
|
97
|
-
): ReturnType<H> | undefined;
|
98
|
-
|
99
|
-
/**
|
100
|
-
* Notify subscribers that an error has occurred within foundry.
|
101
|
-
* @param location - The method where the error was caught.
|
102
|
-
* @param err - The error.
|
103
|
-
* @param options - Additional options to configure behaviour.
|
104
|
-
*/
|
105
|
-
static onError(
|
106
|
-
location: string,
|
107
|
-
err: Error,
|
108
|
-
{
|
109
|
-
msg,
|
110
|
-
notify,
|
111
|
-
log,
|
112
|
-
...data
|
113
|
-
}?: {
|
114
|
-
/**
|
115
|
-
* Additional data to pass to the hook subscribers.
|
116
|
-
* @defaultValue `{}`
|
117
|
-
*/
|
118
|
-
[key: string]: unknown;
|
119
|
-
|
120
|
-
/**
|
121
|
-
* A message to prefix the caught error with and/or to use in the notification.
|
122
|
-
* @defaultValue `""`
|
123
|
-
*/
|
124
|
-
msg?: string | undefined;
|
125
|
-
|
126
|
-
/**
|
127
|
-
* The level at which to log the error to console (if at all).
|
128
|
-
* @defaultValue `null`
|
129
|
-
*/
|
130
|
-
notify?: keyof NonNullable<typeof ui['notifications']> | null | undefined;
|
131
|
-
|
132
|
-
/**
|
133
|
-
* The level at which to spawn a notification in the UI (if at all).
|
134
|
-
* @defaultValue `null`
|
135
|
-
*/
|
136
|
-
log?: keyof typeof console | null | undefined;
|
137
|
-
}
|
138
|
-
): void;
|
139
|
-
|
140
|
-
/**
|
141
|
-
* @defaultValue `{}`
|
142
|
-
*/
|
143
|
-
protected static _hooks: Record<string, (...args: any) => any>;
|
144
|
-
|
145
|
-
/**
|
146
|
-
* @defaultValue `[]`
|
147
|
-
*/
|
148
|
-
protected static _once: Array<(...args: any) => any>;
|
149
|
-
|
150
|
-
/**
|
151
|
-
* @defaultValue `{}`
|
152
|
-
*/
|
153
|
-
protected static _ids: Record<number, Array<(...args: any) => any>>;
|
154
|
-
|
155
|
-
/**
|
156
|
-
* @defaultValue `1`
|
157
|
-
*/
|
158
|
-
protected static _id: number;
|
159
|
-
}
|
160
|
-
|
161
|
-
/**
|
162
|
-
* This namespace contains typescript specific type definitions for the {@link Hooks} callback functions. It contains an
|
163
|
-
* interface ({@link Hooks.StaticCallbacks}) for callbacks with static names. There are more function types in the
|
164
|
-
* namespace for the dynamic hooks, whose names are generated at runtime. There is also a union of all of the dynamic
|
165
|
-
* hooks ({@link Hooks.DynamicCallbacks}).
|
166
|
-
*
|
167
|
-
* Callback types remarked to be called with {@link Hooks.callAll} do not care about the return value of the callback.
|
168
|
-
* Callback types remarked to be called with {@link Hooks.call} do care about the return value and will stop executing
|
169
|
-
* remaining callbacks if `false` is returned. If a callback type does not have such a remark, pay attention to the
|
170
|
-
* return value documentation.
|
171
|
-
*
|
172
|
-
* @example Using a callback type with a static name
|
173
|
-
* ```typescript
|
174
|
-
* Hooks.on("updateWorldTime", (worldTime, dt) => {
|
175
|
-
* worldTime; // number
|
176
|
-
* dt; // number
|
177
|
-
* // [...]
|
178
|
-
* })
|
179
|
-
* ```
|
180
|
-
*
|
181
|
-
* @example Using a callback with a dynamic name and generic parameter
|
182
|
-
* ```typescript
|
183
|
-
* Hooks.on<Hooks.CloseApplication<FormApplication>>("closeFormApplication", (app, jq) => {
|
184
|
-
* app; // FormApplication
|
185
|
-
* jq; // JQuery
|
186
|
-
* // [...]
|
187
|
-
* })
|
188
|
-
* ```
|
189
|
-
*
|
190
|
-
* @example Using the `error` callback type
|
191
|
-
* ```typescript
|
192
|
-
* Hooks.on("error", (...args) => {
|
193
|
-
* if (args[0] === "Canvas#draw")
|
194
|
-
* args[2].layer // CanvasLayer
|
195
|
-
* // [...]
|
196
|
-
* })
|
197
|
-
* ```
|
198
|
-
*/
|
199
|
-
namespace Hooks {
|
200
|
-
interface StaticCallbacks {
|
201
|
-
/**
|
202
|
-
* A hook event that fires when a custom active effect is applied.
|
203
|
-
* @param actor - The actor the active effect is being applied to
|
204
|
-
* @param change - The change data being applied
|
205
|
-
* @remarks This is called by {@link Hooks.call}.
|
206
|
-
* @see {@link ActiveEffect#_applyCustom}
|
207
|
-
*/
|
208
|
-
applyActiveEffect: (
|
209
|
-
actor: InstanceType<ConfiguredDocumentClass<typeof Actor>>,
|
210
|
-
change: EffectChangeData
|
211
|
-
) => boolean | void;
|
212
|
-
|
213
|
-
/**
|
214
|
-
* A hook event that fires immediately prior to PIXI Application construction with the configuration parameters.
|
215
|
-
* @param canvasConfig - Canvas configuration parameters that will be used
|
216
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
217
|
-
*/
|
218
|
-
canvasConfig: (canvasConfig: {
|
219
|
-
view: HTMLCanvasElement;
|
220
|
-
width: number;
|
221
|
-
height: number;
|
222
|
-
transparent: boolean;
|
223
|
-
resolution: number;
|
224
|
-
autoDensity: boolean;
|
225
|
-
backgroundColor: string | null;
|
226
|
-
antialias: boolean;
|
227
|
-
powerPreference: string;
|
228
|
-
}) => void;
|
229
|
-
|
230
|
-
/**
|
231
|
-
* A hook event that fires when the Canvas is initialized.
|
232
|
-
* @param canvas - the Canvas
|
233
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
234
|
-
* @see {@link Canvas#draw}
|
235
|
-
*/
|
236
|
-
canvasInit: (canvas: Canvas) => void;
|
237
|
-
|
238
|
-
/**
|
239
|
-
* A hook event that fires when the Canvas is panned.
|
240
|
-
* @param canvas - The canvas
|
241
|
-
* @param view - The applied translate/transform
|
242
|
-
* @remarks When called during animated panning, the callback is called on every tick.
|
243
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
244
|
-
* @see {@link Canvas#pan}
|
245
|
-
* @see {@link Canvas#animatePan}
|
246
|
-
*/
|
247
|
-
canvasPan: (canvas: Canvas, view: Canvas.View) => void;
|
248
|
-
|
249
|
-
/**
|
250
|
-
* A hook event that fires when the Canvas is ready.
|
251
|
-
* @param canvas - the canvas
|
252
|
-
* @remarks This is called by {@link Hooks.call}.
|
253
|
-
* @see {@link Canvas#draw}
|
254
|
-
*/
|
255
|
-
canvasReady: (canvas: Canvas) => boolean | void;
|
256
|
-
|
257
|
-
/**
|
258
|
-
* A hook event that fires when the Sidebar tab is changed.
|
259
|
-
* @param app - The SidebarTab application which is now active
|
260
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
261
|
-
* @see {@link Sidebar#_onChangeTab}
|
262
|
-
*/
|
263
|
-
changeSidebarTab: (app: SidebarTab) => void;
|
264
|
-
|
265
|
-
/**
|
266
|
-
* A hook event that fires when a chat bubble is rendered.
|
267
|
-
* @param token - The speaking token
|
268
|
-
* @param html - The HTML for the chat bubble
|
269
|
-
* @param message - The spoken message text
|
270
|
-
* @param options - additional options
|
271
|
-
* @remarks This is called when creating a {@link ChatBubble}, but before displaying it.
|
272
|
-
* @remarks This is called by {@link Hooks.call}.
|
273
|
-
* @remarks An explicit return value of `false` prevents the chat bubble being shown.
|
274
|
-
* @see {@link ChatBubbles#say}
|
275
|
-
*/
|
276
|
-
chatBubble: (
|
277
|
-
token: Token,
|
278
|
-
html: JQuery,
|
279
|
-
message: string,
|
280
|
-
options: {
|
281
|
-
/** Whether to style the speech bubble as an emote */
|
282
|
-
emote: boolean;
|
283
|
-
}
|
284
|
-
) => boolean | void;
|
285
|
-
|
286
|
-
/**
|
287
|
-
* A hook event that fires when a user sends a message through the ChatLog.
|
288
|
-
* @param chatLog - The ChatLog instance
|
289
|
-
* @param message - The trimmed message content
|
290
|
-
* @param chatData - The basic chat data
|
291
|
-
* @remarks This is called by {@link Hooks.call}.
|
292
|
-
* @remarks An explicit return value of `false` prevents the chat message from being created.
|
293
|
-
* @see {@link ChatLog#processMessage}
|
294
|
-
*/
|
295
|
-
chatMessage: (
|
296
|
-
chatLog: ChatLog,
|
297
|
-
message: string,
|
298
|
-
chatData: {
|
299
|
-
/** The User sending the message */
|
300
|
-
user: string;
|
301
|
-
|
302
|
-
/** The identified speaker data, see {@link ChatMessage.getSpeaker} */
|
303
|
-
speaker: ReturnType<ConfiguredDocumentClass<typeof ChatMessage>['getSpeaker']>;
|
304
|
-
}
|
305
|
-
) => boolean | void;
|
306
|
-
|
307
|
-
/**
|
308
|
-
* A hook event that fires when the SceneNavigation menu is expanded or collapsed.
|
309
|
-
* @param nav - The SceneNavigation application
|
310
|
-
* @param collapsed - Whether the navigation is now collapsed or not
|
311
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
312
|
-
* @see {@link SceneNavigation#expand}
|
313
|
-
* @see {@link SceneNavigation#collapse}
|
314
|
-
*/
|
315
|
-
collapseSceneNavigation: (nav: SceneNavigation, collapsed: boolean) => void;
|
316
|
-
|
317
|
-
/**
|
318
|
-
* A hook event that fires when the Sidebar is collapsed or expanded.
|
319
|
-
* @param sidebar - The Sidebar application
|
320
|
-
* @param collapsed - Whether the Sidebar is now collapsed or not
|
321
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
322
|
-
* @see {@link Sidebar#expand}
|
323
|
-
* @see {@link Sidebar#collapse}
|
324
|
-
*/
|
325
|
-
collapseSidebar: (sidebar: Sidebar, collapsed: boolean) => void;
|
326
|
-
|
327
|
-
/**
|
328
|
-
* A hook event that fires when Cards are dealt from a deck to other hands
|
329
|
-
* @param origin - The origin Cards document
|
330
|
-
* @param destinations - An array of destination Cards documents
|
331
|
-
* @param context - Additional context which describes the operation
|
332
|
-
* @remarks This is called by {@link Hooks.call}.
|
333
|
-
* @remarks An explicit return value of `false` prevents the operation.
|
334
|
-
*/
|
335
|
-
dealCards: (
|
336
|
-
origin: InstanceType<ConfiguredDocumentClassForName<'Cards'>>,
|
337
|
-
destinations: InstanceType<ConfiguredDocumentClassForName<'Cards'>>[],
|
338
|
-
context: Cards.DealContext
|
339
|
-
) => boolean | void;
|
340
|
-
|
341
|
-
/**
|
342
|
-
* A hook event that fires when some useful data is dropped onto an ActorSheet.
|
343
|
-
* @param actor - The Actor
|
344
|
-
* @param sheet - The ActorSheet application
|
345
|
-
* @param data - The data that has been dropped onto the sheet
|
346
|
-
* @remarks This is called by {@link Hooks.call}.
|
347
|
-
* @remarks An explicit return value of `false` prevents the Document being created.
|
348
|
-
* @see {@link ActorSheet#_onDrop}
|
349
|
-
*/
|
350
|
-
dropActorSheetData: (
|
351
|
-
actor: InstanceType<ConfiguredDocumentClass<typeof Actor>>,
|
352
|
-
sheet: ActorSheet,
|
353
|
-
data: ActorSheet.DropData
|
354
|
-
) => boolean | void;
|
355
|
-
|
356
|
-
/**
|
357
|
-
* A hook event that fires when some useful data is dropped onto the Canvas.
|
358
|
-
* @param canvas - The Canvas
|
359
|
-
* @param data - The data that has been dropped onto the Canvas
|
360
|
-
* @remarks This is called by {@link Hooks.call}.
|
361
|
-
* @remarks An explicit return value of `false` prevents the Document being created.
|
362
|
-
* @see {@link Canvas#_onDrop}
|
363
|
-
*/
|
364
|
-
dropCanvasData: (
|
365
|
-
canvas: Canvas,
|
366
|
-
data: TokenLayer.DropData | NotesLayer.DropData | MapLayer.DropData
|
367
|
-
) => boolean | void;
|
368
|
-
|
369
|
-
/**
|
370
|
-
* A hook event that fires when some useful data is dropped onto a RollTableConfig.
|
371
|
-
* @param table - The RollTable
|
372
|
-
* @param config - The RollTableConfig application
|
373
|
-
* @param data - The data dropped onto the RollTableConfig
|
374
|
-
* @remarks This is called by {@link Hooks.call}.
|
375
|
-
* @remarks An explicit return value of `false` prevents the Document being created.
|
376
|
-
* @see {@link RollTableConfig#_onDrop}
|
377
|
-
*/
|
378
|
-
dropRollTableSheetData: (
|
379
|
-
table: InstanceType<ConfiguredDocumentClass<typeof RollTable>>,
|
380
|
-
config: RollTableConfig,
|
381
|
-
data: object
|
382
|
-
) => boolean | void;
|
383
|
-
|
384
|
-
/**
|
385
|
-
* A hook event that fires whenever foundry experiences an error.
|
386
|
-
*
|
387
|
-
* @param location - The method where the error was caught.
|
388
|
-
* @param err - The error.
|
389
|
-
* @param data - Additional data that might be provided, based on the nature of the error.
|
390
|
-
* (default: `{}`)
|
391
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
392
|
-
* @see {@link Hooks.onError}
|
393
|
-
*/
|
394
|
-
error: (...args: ValueOf<ErrorCallbackParameters>) => void;
|
395
|
-
|
396
|
-
/**
|
397
|
-
* A hook event that fires when the Scene controls are initialized.
|
398
|
-
* @param controls - The SceneControl configurations
|
399
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
400
|
-
* @see {@link SceneControls#_getControlButtons}
|
401
|
-
*/
|
402
|
-
getSceneControlButtons: (controls: SceneControl[]) => void;
|
403
|
-
|
404
|
-
/**
|
405
|
-
* A hook event that fires when the context menu for a SceneNavigation entry is constructed.
|
406
|
-
* @param html - The HTML element to which the context options are attached
|
407
|
-
* @param entryOptions - The context menu entries
|
408
|
-
* @remarks This is called by {@link Hooks.call}.
|
409
|
-
* @see {@link SceneNavigation#activateListeners}
|
410
|
-
*/
|
411
|
-
getSceneNavigationContext: (html: JQuery, entryOptions: ContextMenuEntry[]) => boolean | void;
|
412
|
-
|
413
|
-
/**
|
414
|
-
* A hook event that fires when the context menu for a PlayersList entry is constructed.
|
415
|
-
* @param html - The HTML element to which the context options are attached
|
416
|
-
* @param entryOptions - The context menu entries
|
417
|
-
* @remarks This is called by {@link Hooks.call}.
|
418
|
-
* @see {@link PlayerList#activateListeners}
|
419
|
-
*/
|
420
|
-
getUserContextOptions: (html: JQuery, entryOptions: ContextMenuEntry[]) => boolean | void;
|
421
|
-
|
422
|
-
/**
|
423
|
-
* A hook event that fires whenever data is dropped into a Hotbar slot.
|
424
|
-
* The hook provides a reference to the Hotbar application, the dropped data, and the target slot.
|
425
|
-
* Default handling of the drop event can be prevented by returning false within the hooked function.
|
426
|
-
* @param hotbar - The Hotbar application instance
|
427
|
-
* @param data - The dropped data object
|
428
|
-
* @param slot - The target hotbar slot
|
429
|
-
* @remarks This is called by {@link Hooks.call}.
|
430
|
-
* @remarks An explicit return value of `false` prevents the Document being created.
|
431
|
-
* @see {@link Hotbar#_onDrop}
|
432
|
-
*/
|
433
|
-
hotbarDrop: (
|
434
|
-
hotbar: Hotbar,
|
435
|
-
data: DropData<InstanceType<ConfiguredDocumentClass<typeof Macro>>>,
|
436
|
-
slot: number
|
437
|
-
) => boolean | void;
|
438
|
-
|
439
|
-
/**
|
440
|
-
* A hook event that fires once Localization translations have been loaded and are ready for use.
|
441
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
442
|
-
* @see {@link Localization#initialize}
|
443
|
-
*/
|
444
|
-
i18nInit: () => void;
|
445
|
-
|
446
|
-
/**
|
447
|
-
* A hook event that fires as Foundry is initializing, right before any initialization tasks have begun.
|
448
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
449
|
-
* @see {@link Game#initialize}
|
450
|
-
*/
|
451
|
-
init: () => void;
|
452
|
-
|
453
|
-
/**
|
454
|
-
* A hook event that fires after LightSource shaders have initialized.
|
455
|
-
* @param source - The LightSource being initialized
|
456
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
457
|
-
* @see {@link LightSource#_initializeShaders}
|
458
|
-
*/
|
459
|
-
initializeLightSourceShaders: (source: LightSource) => void;
|
460
|
-
|
461
|
-
/**
|
462
|
-
* A hook event that fires when the LightingLayer is refreshed.
|
463
|
-
* @param layer - the LightingLayer
|
464
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
465
|
-
* @see {@link LightingLayer#refresh}
|
466
|
-
*/
|
467
|
-
lightingRefresh: (layer: LightingLayer) => void;
|
468
|
-
|
469
|
-
/**
|
470
|
-
* A hook event that fires when a token's resource bar attribute has been modified.
|
471
|
-
* @param data - A object describing the modification
|
472
|
-
* @param updates - The update delta that will be applied to the Token's actor
|
473
|
-
* @returns whether the Actor should be updated
|
474
|
-
* @remarks This is called by {@link Hooks.call}.
|
475
|
-
* @see {@link Actor#modifyTokenAttribute}
|
476
|
-
* @see {@link Actor#update}
|
477
|
-
*/
|
478
|
-
modifyTokenAttribute: (
|
479
|
-
data: {
|
480
|
-
/** The attribute path */
|
481
|
-
attribute: string;
|
482
|
-
|
483
|
-
/** The target attribute value */
|
484
|
-
value: number;
|
485
|
-
|
486
|
-
/** Whether the number represents a relative change (true) or an absolute change (false) */
|
487
|
-
isDelta: boolean;
|
488
|
-
|
489
|
-
/** Whether the new value is part of an attribute bar, or just a direct value */
|
490
|
-
isBar: boolean;
|
491
|
-
},
|
492
|
-
updates: Record<string, number>
|
493
|
-
) => boolean;
|
494
|
-
|
495
|
-
/**
|
496
|
-
* A hook event that fires when Cards are passed from one stack to another
|
497
|
-
* @param origin - The origin Cards document
|
498
|
-
* @param destination - The destination Cards document
|
499
|
-
* @param context - Additional context which describes the operation
|
500
|
-
* @remarks This is called by {@link Hooks.call}.
|
501
|
-
* @remarks An explicit return value of `false` prevents the operation.
|
502
|
-
*/
|
503
|
-
passCards: (
|
504
|
-
origin: InstanceType<ConfiguredDocumentClassForName<'Cards'>>,
|
505
|
-
destination: InstanceType<ConfiguredDocumentClassForName<'Cards'>>,
|
506
|
-
context: Cards.DealContext
|
507
|
-
) => boolean | void;
|
508
|
-
|
509
|
-
/**
|
510
|
-
* A hook event that fires when the game is paused or un-paused.
|
511
|
-
* @param paused - Is the game now paused (true) or un-paused (false)
|
512
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
513
|
-
* @see {@link Game#togglePause}
|
514
|
-
*/
|
515
|
-
pauseGame: (paused: boolean) => void;
|
516
|
-
|
517
|
-
/**
|
518
|
-
* A hook event that fires when the game is fully ready.
|
519
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
520
|
-
* @see {@link Game#setupGame}
|
521
|
-
*/
|
522
|
-
ready: () => void;
|
523
|
-
|
524
|
-
/**
|
525
|
-
* A hook event that fires for each ChatMessage which is rendered for addition to the ChatLog.
|
526
|
-
* This hook allows for final customization of the message HTML before it is added to the log.
|
527
|
-
* @param message - The ChatMessage document being rendered
|
528
|
-
* @param html - The pending HTML as a jQuery object
|
529
|
-
* @param data - The input data provided for template rendering
|
530
|
-
* @remarks This is called by {@link Hooks.call}.
|
531
|
-
* @see {@link ChatMessage#render}
|
532
|
-
*/
|
533
|
-
renderChatMessage: (
|
534
|
-
message: ChatMessage,
|
535
|
-
html: JQuery,
|
536
|
-
data: {
|
537
|
-
message: ToObjectFalseType<InstanceType<ConfiguredDocumentClass<typeof ChatMessage>>>;
|
538
|
-
user: Game['user'];
|
539
|
-
author: InstanceType<ConfiguredDocumentClass<typeof ChatMessage>>['user'];
|
540
|
-
alias: InstanceType<ConfiguredDocumentClass<typeof ChatMessage>>['alias'];
|
541
|
-
cssClass: string;
|
542
|
-
isWhisper: boolean;
|
543
|
-
whisperTo: string;
|
544
|
-
borderColor?: string;
|
545
|
-
}
|
546
|
-
) => boolean | void;
|
547
|
-
|
548
|
-
/**
|
549
|
-
* A hook event that fires when a stack of Cards are returned to the decks they originally came from.
|
550
|
-
* @param origin - The origin Cards document.
|
551
|
-
* @param returned - The cards being returned.
|
552
|
-
* @param context - Additional context which describes the operation.
|
553
|
-
*/
|
554
|
-
returnCards: (
|
555
|
-
origin: InstanceType<ConfiguredDocumentClassForName<'Cards'>>,
|
556
|
-
returned: InstanceType<ConfiguredDocumentClassForName<'Card'>>[],
|
557
|
-
context: Cards.ReturnContext
|
558
|
-
) => boolean | void;
|
559
|
-
|
560
|
-
/**
|
561
|
-
* A hook event that fires when the AV settings are changed.
|
562
|
-
* @param settings - The AVSettings manager
|
563
|
-
* @param changed - The delta of the settings that have been changed
|
564
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
565
|
-
* @see {@link AVSettings#_onSettingsChanged}
|
566
|
-
*/
|
567
|
-
rtcSettingsChanged: (settings: AVSettings, changed: DeepPartial<AVSettings.Settings>) => void;
|
568
|
-
|
569
|
-
/**
|
570
|
-
* A hook event that fires when Foundry has finished initializing but
|
571
|
-
* before the game state has been set up. Fires before any Documents, UI
|
572
|
-
* applications, or the Canvas have been initialized.
|
573
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
574
|
-
* @see {@link Game#setupGame}
|
575
|
-
*/
|
576
|
-
setup: () => void;
|
577
|
-
|
578
|
-
/**
|
579
|
-
* A hook event that fires when the SightLayer has been refreshed.
|
580
|
-
* @param layer - The SightLayer
|
581
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
582
|
-
* @see {@link SightLayer#restrictVisibility}
|
583
|
-
*/
|
584
|
-
sightRefresh: (layer: SightLayer) => void;
|
585
|
-
|
586
|
-
/**
|
587
|
-
* A hook event that fires when a token is targeted or un-targeted.
|
588
|
-
* @param user - The User doing the targeting
|
589
|
-
* @param token - The targeted Token
|
590
|
-
* @param targeted - Whether the Token has been targeted or untargeted
|
591
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
592
|
-
* @see {@link UserTargets#_hook}
|
593
|
-
*/
|
594
|
-
targetToken: (
|
595
|
-
user: InstanceType<ConfiguredDocumentClass<typeof User>>,
|
596
|
-
token: ConfiguredObjectClassForName<'Token'>,
|
597
|
-
targeted: boolean
|
598
|
-
) => void;
|
599
|
-
|
600
|
-
/**
|
601
|
-
* A hook event that fires whenever the contents of a Compendium pack were modified.
|
602
|
-
* This hook fires for all connected clients after the update has been processed.
|
603
|
-
*
|
604
|
-
* @param pack - The Compendium pack being modified
|
605
|
-
* @param documents - The locally-cached Documents which were modified in the operation
|
606
|
-
* @param options - Additional options which modified the modification request
|
607
|
-
* @param userId - The ID of the User who triggered the modification workflow
|
608
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
609
|
-
* @see {@link CompendiumCollection#_onModifyContents}
|
610
|
-
*/
|
611
|
-
updateCompendium: (
|
612
|
-
pack: CompendiumCollection<any>,
|
613
|
-
documents: foundry.abstract.Document<any, any>[],
|
614
|
-
options: DocumentModificationOptions,
|
615
|
-
userId: string
|
616
|
-
) => void;
|
617
|
-
|
618
|
-
/**
|
619
|
-
* A hook event that fires when the World time has been updated.
|
620
|
-
* @param worldTime - The new canonical World time
|
621
|
-
* @param delta - The time delta
|
622
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
623
|
-
* @see {@link GameTime#onUpdateWorldTime}
|
624
|
-
*/
|
625
|
-
updateWorldTime: (worldTime: number, delta: number) => void;
|
626
|
-
}
|
627
|
-
|
628
|
-
/**
|
629
|
-
* A hook event that fires whenever this Application is closed.
|
630
|
-
* @param app - The Application instance being closed
|
631
|
-
* @param html - The application HTML when it is closed
|
632
|
-
* @typeParam A - the type of the Application
|
633
|
-
* @remarks The name for this hook is dynamically created by joining 'close' with the type name of the Application.
|
634
|
-
* @remarks This is called by {@link Hooks.call}.
|
635
|
-
* @see {@link Application#close}
|
636
|
-
*/
|
637
|
-
type CloseApplication<A extends Application = Application> = (app: A, html: JQuery) => boolean | void;
|
638
|
-
|
639
|
-
/**
|
640
|
-
* A hook event that fires when any PlaceableObject is selected or
|
641
|
-
* deselected. Substitute the PlaceableObject name in the hook event to
|
642
|
-
* target a specific PlaceableObject type, for example "controlToken".
|
643
|
-
* @param object - The PlaceableObject
|
644
|
-
* @param controlled - Whether the PlaceableObject is selected or not
|
645
|
-
* @typeParam P - the type of the PlaceableObject
|
646
|
-
* @remarks The name for this hook is dynamically created by joining 'control' and the type name of the
|
647
|
-
* PlaceableObject.
|
648
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
649
|
-
* @see {@link PlaceableObject#control}
|
650
|
-
* @see {@link PlaceableObject#release}
|
651
|
-
*/
|
652
|
-
type ControlPlaceableObject<P extends PlaceableObject = PlaceableObject> = (object: P, controlled: boolean) => void;
|
653
|
-
|
654
|
-
/**
|
655
|
-
* A hook event that fires for every embedded Document type after conclusion of a creation workflow.
|
656
|
-
* Substitute the Document name in the hook event to target a specific type, for example "createToken".
|
657
|
-
* This hook fires for all connected clients after the creation has been processed.
|
658
|
-
*
|
659
|
-
* @param document - The new Document instance which has been created
|
660
|
-
* @param options - Additional options which modified the creation request
|
661
|
-
* @param userId - The ID of the User who triggered the creation workflow
|
662
|
-
* @typeParam D - the type of the Document constructor
|
663
|
-
* @remarks The name for this hook is dynamically created by joining 'create' and the type name of the Document.
|
664
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
665
|
-
* @see {@link ClientDatabaseBackend#_postCreateDocumentCallbacks}
|
666
|
-
* @see {@link TokenDocument#_onUpdateTokenActor}
|
667
|
-
*/
|
668
|
-
type CreateDocument<D extends DocumentConstructor = DocumentConstructor> = (
|
669
|
-
document: InstanceType<ConfiguredDocumentClass<D>>,
|
670
|
-
options: DocumentModificationOptions,
|
671
|
-
userId: string
|
672
|
-
) => void;
|
673
|
-
|
674
|
-
/**
|
675
|
-
* A hook event that fires for every Document type after conclusion of an deletion workflow.
|
676
|
-
* Substitute the Document name in the hook event to target a specific Document type, for example "deleteActor".
|
677
|
-
* This hook fires for all connected clients after the deletion has been processed.
|
678
|
-
*
|
679
|
-
* @param document - The existing Document which was deleted
|
680
|
-
* @param options - Additional options which modified the deletion request
|
681
|
-
* @param userId - The ID of the User who triggered the deletion workflow
|
682
|
-
* @typeParam D - the type of the Document constructor
|
683
|
-
* @remarks The name for this hook is dynamically created by joining 'delete' with the type name of the Document.
|
684
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
685
|
-
* @see {@link ClientDatabaseBackend#_postDeleteDocumentCallbacks}
|
686
|
-
* @see {@link TokenDocument#_onUpdateTokenActor}
|
687
|
-
*/
|
688
|
-
type DeleteDocument<D extends DocumentConstructor = DocumentConstructor> = (
|
689
|
-
document: InstanceType<ConfiguredDocumentClass<D>>,
|
690
|
-
options: DocumentModificationOptions,
|
691
|
-
userId: string
|
692
|
-
) => void;
|
693
|
-
|
694
|
-
/**
|
695
|
-
* A hook event that fires whenever this Application is first rendered to add buttons to its header.
|
696
|
-
* @param app - The Application instance being rendered
|
697
|
-
* @param buttons - The array of header buttons which will be displayed
|
698
|
-
* @typeParam A - the type of the Application
|
699
|
-
* @remarks The name for this hook is dynamically created by joining 'get' with the type name of the Application and
|
700
|
-
* 'HeaderButtons'.
|
701
|
-
* @remarks This is called by {@link Hooks.call}.
|
702
|
-
* @see {@link Application#_getHeaderButtons}
|
703
|
-
*/
|
704
|
-
type GetApplicationHeaderButtons<A extends Application = Application> = (
|
705
|
-
app: A,
|
706
|
-
buttons: Application.HeaderButton[]
|
707
|
-
) => boolean | void;
|
708
|
-
|
709
|
-
/**
|
710
|
-
* A hook event that fires when the context menu for entries in an Application is constructed. Substitute the
|
711
|
-
* Application name in the hook event to target a specific Application, for example
|
712
|
-
* "getActorDirectoryEntryContext".
|
713
|
-
* @param html - The HTML element to which the context options are attached
|
714
|
-
* @param entryOptions - The context menu entries
|
715
|
-
* @remarks This is called by {@link Hooks.call}.
|
716
|
-
* @see {@link ContextMenu.create}
|
717
|
-
*/
|
718
|
-
type GetEntryContext = (html: JQuery, entryOptions: ContextMenuEntry[]) => boolean | void;
|
719
|
-
|
720
|
-
/**
|
721
|
-
* A hook event that fires when the context menu for a Sound in the PlaylistDirectory is constructed.
|
722
|
-
* @param html - The HTML element to which the context options are attached
|
723
|
-
* @param entryOptions - The context menu entries
|
724
|
-
* @remarks The name for this hook is dynamically created by joining 'get' with the type name of the PlaylistDirectory
|
725
|
-
* and 'SoundContext'.
|
726
|
-
* @remarks This is called by {@link Hooks.call}.
|
727
|
-
* @see {@link PlaylistDirectory#_contextMenu}
|
728
|
-
*/
|
729
|
-
type GetPlaylistDirectorySoundContext = (html: JQuery, entryOptions: ContextMenuEntry[]) => boolean | void;
|
730
|
-
|
731
|
-
/**
|
732
|
-
* A hook event that fires when the context menu for folders in a SidebarTab
|
733
|
-
* is constructed. Substitute the SidebarTab name in the hook event to target
|
734
|
-
* a specific SidebarTab, for example "getActorDirectoryFolderContext".
|
735
|
-
* @param html - The HTML element to which the context options are attached
|
736
|
-
* @param entryOptions - The context menu entries
|
737
|
-
* @remarks The name for this hook is dynamically created by joining 'get' with the type name of the SidebarDirectory
|
738
|
-
* and 'FolderContext'.
|
739
|
-
* @remarks This is called by {@link Hooks.call}.
|
740
|
-
* @see {@link SidebarDirectory#_contextMenu}
|
741
|
-
*/
|
742
|
-
type GetSidebarDirectoryFolderContext = (html: JQuery, entryOptions: ContextMenuEntry[]) => boolean | void;
|
743
|
-
|
744
|
-
/**
|
745
|
-
* A hook event that fires when the user modifies a global volume slider.
|
746
|
-
* The hook name needs to be customized to include the type of global volume being changed, one of:
|
747
|
-
* `globalPlaylistVolumeChanged`, `globalAmbientVolumeChanged`, or `globalInterfaceVolumeChanged`.
|
748
|
-
* @param volume - The new volume level
|
749
|
-
* @remarks The name for this hook is dynamically created by joining the name of the volume with 'Changed'.
|
750
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
751
|
-
* @see {@link AudioHelper#_onChangeGlobalVolume}
|
752
|
-
*/
|
753
|
-
type GlobalVolumeChanged = (volume: number) => void;
|
754
|
-
|
755
|
-
/**
|
756
|
-
* A hook event that fires when any PlaceableObject is hovered over or out.
|
757
|
-
* Substitute the PlaceableObject name in the hook event to target a specific
|
758
|
-
* PlaceableObject type, for example "hoverToken".
|
759
|
-
* @param object - The PlaceableObject
|
760
|
-
* @param hover - Whether the PlaceableObject is hovered over or not
|
761
|
-
* @typeParam P - the type of the PlaceableObject
|
762
|
-
* @remarks The name for this hook is dynamically created by joining 'hover' and the type name of the PlaceableObject.
|
763
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
764
|
-
* @see {@link PlaceableObject#_onHoverIn}
|
765
|
-
* @see {@link PlaceableObject#_onHoverOut}
|
766
|
-
*/
|
767
|
-
type HoverPlaceableObject<P extends PlaceableObject = PlaceableObject> = (object: P, hover: boolean) => void;
|
768
|
-
|
769
|
-
/**
|
770
|
-
* A hook event that fires when any PlaceableObject is pasted onto the
|
771
|
-
* Scene. Substitute the PlaceableObject name in the hook event to target a
|
772
|
-
* specific PlaceableObject type, for example "pasteToken".
|
773
|
-
* @param copied - The PlaceableObjects that were copied
|
774
|
-
* @param createData - The new objects that will be added to the Scene
|
775
|
-
* @typeParam P - the type of the PlaceableObject
|
776
|
-
* @remarks The name for this hook is dynamically created by joining 'paste' with the type name of the
|
777
|
-
* PlaceableObject.
|
778
|
-
* @remarks This is called by {@link Hooks.call}.
|
779
|
-
* @see {@link PlaceablesLayer#pasteObjects}
|
780
|
-
*/
|
781
|
-
type PastePlaceableObject<P extends PlaceableObject = PlaceableObject> = (
|
782
|
-
copied: P[],
|
783
|
-
createData: Array<P['document']['data']['_source']>
|
784
|
-
) => boolean | void;
|
785
|
-
|
786
|
-
/**
|
787
|
-
* A hook event that fires for every Document type before execution of a creation workflow. Substitute the
|
788
|
-
* Document name in the hook event to target a specific Document type, for example "preCreateActor". This hook
|
789
|
-
* only fires for the client who is initiating the creation request.
|
790
|
-
*
|
791
|
-
* The hook provides the pending document instance which will be used for the Document creation. Hooked functions
|
792
|
-
* may modify that data or prevent the workflow entirely by explicitly returning false.
|
793
|
-
*
|
794
|
-
* @param document - The pending document which is requested for creation
|
795
|
-
* @param data - The initial data object provided to the document creation request
|
796
|
-
* @param options - Additional options which modify the creation request
|
797
|
-
* @param userId - The ID of the requesting user, always game.user.id
|
798
|
-
* @typeParam D - the type of the Document constructor
|
799
|
-
* @returns Explicitly return false to prevent creation of this Document
|
800
|
-
* @remarks The name for this hook is dynamically created by joining 'preCreate' with the name of the Document.
|
801
|
-
* @remarks This is called by {@link Hooks.call}.
|
802
|
-
* @see {@link ClientDatabaseBackend#_preCreateDocumentArray}
|
803
|
-
* @see {@link TokenDocument#_preUpdateTokenActor}
|
804
|
-
*/
|
805
|
-
type PreCreateDocument<D extends DocumentConstructor = DocumentConstructor> = (
|
806
|
-
document: InstanceType<ConfiguredDocumentClass<D>>,
|
807
|
-
data: ConstructorParameters<D>[0],
|
808
|
-
options: DocumentModificationOptions,
|
809
|
-
userId: string
|
810
|
-
) => boolean | void;
|
811
|
-
|
812
|
-
/**
|
813
|
-
* A hook event that fires for every Document type before execution of a deletion workflow. Substitute the
|
814
|
-
* Document name in the hook event to target a specific Document type, for example "preDeleteActor". This hook
|
815
|
-
* only fires for the client who is initiating the update request.
|
816
|
-
*
|
817
|
-
* The hook provides the Document instance which is requested for deletion. Hooked functions may prevent the
|
818
|
-
* workflow entirely by explicitly returning false.
|
819
|
-
*
|
820
|
-
* @param document - The Document instance being deleted
|
821
|
-
* @param options - Additional options which modify the deletion request
|
822
|
-
* @param userId - The ID of the requesting user, always game.user.id
|
823
|
-
* @typeParam D - the type of the Document constructor
|
824
|
-
* @returns Explicitly return false to prevent deletion of this Document
|
825
|
-
* @remarks The name for this hook is dynamically created by joining 'preDelete' with the type name of the Document.
|
826
|
-
* @remarks This is called by {@link Hooks.call}.
|
827
|
-
* @see {@link ClientDatabaseBackend#_preDeleteDocumentArray}.
|
828
|
-
* @see {@link TokenDocument#_preUpdateTokenActor}
|
829
|
-
*/
|
830
|
-
type PreDeleteDocument<D extends DocumentConstructor = DocumentConstructor> = (
|
831
|
-
document: InstanceType<ConfiguredDocumentClass<D>>,
|
832
|
-
options: DocumentModificationOptions,
|
833
|
-
userId: string
|
834
|
-
) => boolean | void;
|
835
|
-
|
836
|
-
/**
|
837
|
-
* A hook event that fires for every Document type before execution of an update workflow. Substitute the Document
|
838
|
-
* name in the hook event to target a specific Document type, for example "preUpdateActor". This hook only fires
|
839
|
-
* for the client who is initiating the update request.
|
840
|
-
*
|
841
|
-
* The hook provides the differential data which will be used to update the Document. Hooked functions may modify
|
842
|
-
* that data or prevent the workflow entirely by explicitly returning false.
|
843
|
-
*
|
844
|
-
* @param document - The Document instance being updated
|
845
|
-
* @param change - Differential data that will be used to update the document
|
846
|
-
* @param options - Additional options which modify the update request
|
847
|
-
* @param userId - The ID of the requesting user, always game.user.id
|
848
|
-
* @typeParam D - the type of the Document constructor
|
849
|
-
* @returns Explicitly return false to prevent update of this Document
|
850
|
-
* @remarks The name for this hook is dynamically created by joining 'preUpdate' with the type name of the Document.
|
851
|
-
* @remarks This is called {@link Hooks.call}.
|
852
|
-
* @see {@link ClientDatabaseBackend#_preUpdateDocumentArray}
|
853
|
-
* @see {@link TokenDocument#_preUpdateTokenActor}
|
854
|
-
*/
|
855
|
-
type PreUpdateDocument<D extends DocumentConstructor = DocumentConstructor> = (
|
856
|
-
document: InstanceType<ConfiguredDocumentClass<D>>,
|
857
|
-
change: DeepPartial<ConstructorParameters<D>[0]>,
|
858
|
-
options: DocumentModificationOptions,
|
859
|
-
userId: string
|
860
|
-
) => boolean | void;
|
861
|
-
|
862
|
-
/**
|
863
|
-
* A hook event that fires whenever this Application is rendered.
|
864
|
-
* The hook provides the pending application HTML which will be added to the DOM.
|
865
|
-
* Hooked functions may modify that HTML or attach interactive listeners to it.
|
866
|
-
*
|
867
|
-
* @param app - The Application instance being rendered
|
868
|
-
* @param html - The inner HTML of the document that will be displayed and may be modified
|
869
|
-
* @param data - The object of data used when rendering the application
|
870
|
-
* @typeParam A - the type of the Application
|
871
|
-
* @remarks The name for this hook is dynamically created by joining 'render' with the type name of the Application.
|
872
|
-
* @remarks This is called by {@link Hooks.call}.
|
873
|
-
* @see {@link Application#_render}
|
874
|
-
*/
|
875
|
-
type RenderApplication<A extends Application = Application> = (
|
876
|
-
app: A,
|
877
|
-
html: JQuery,
|
878
|
-
data: ReturnType<A['getData']> extends Promise<infer T> ? T : ReturnType<A['getData']>
|
879
|
-
) => boolean | void;
|
880
|
-
|
881
|
-
/**
|
882
|
-
* A hook event that fires for every Document type after conclusion of an update workflow.
|
883
|
-
* Substitute the Document name in the hook event to target a specific Document type, for example "updateActor".
|
884
|
-
* This hook fires for all connected clients after the update has been processed.
|
885
|
-
*
|
886
|
-
* @param document - The existing Document which was updated
|
887
|
-
* @param change - Differential data that was used used to update the document
|
888
|
-
* @param options - Additional options which modified the update request
|
889
|
-
* @param userId - The ID of the User who triggered the update workflow
|
890
|
-
* @typeParam D - the type of the Document constructor
|
891
|
-
* @remarks The name for this hook is dynamically created by joining 'update' with the type name of the Document.
|
892
|
-
* @remarks This is called by {@link Hooks.callAll}.
|
893
|
-
* @see {@link ClientDatabaseBackend#_postUpdateDocumentCallbacks}
|
894
|
-
* @see {@link TokenDocument#_onUpdateTokenActor}
|
895
|
-
*/
|
896
|
-
type UpdateDocument<D extends DocumentConstructor = DocumentConstructor> = (
|
897
|
-
document: InstanceType<ConfiguredDocumentClass<D>>,
|
898
|
-
change: DeepPartial<ConstructorParameters<D>[0]>,
|
899
|
-
options: DocumentModificationOptions,
|
900
|
-
userId: string
|
901
|
-
) => void;
|
902
|
-
|
903
|
-
type DynamicCallbacks =
|
904
|
-
| CloseApplication
|
905
|
-
| ControlPlaceableObject
|
906
|
-
| CreateDocument
|
907
|
-
| DeleteDocument
|
908
|
-
| GetApplicationHeaderButtons
|
909
|
-
| GetEntryContext
|
910
|
-
| GetPlaylistDirectorySoundContext
|
911
|
-
| GetSidebarDirectoryFolderContext
|
912
|
-
| HoverPlaceableObject
|
913
|
-
| PastePlaceableObject
|
914
|
-
| PreCreateDocument
|
915
|
-
| PreDeleteDocument
|
916
|
-
| PreUpdateDocument
|
917
|
-
| RenderApplication
|
918
|
-
| UpdateDocument;
|
919
|
-
|
920
|
-
interface ErrorCallbackParameters {
|
921
|
-
'Canvas#draw': [location: 'Canvas#draw', err: Error, data: { layer: CanvasLayer }];
|
922
|
-
'Application#render': [location: 'Application#render', err: Error, data: Application.RenderOptions];
|
923
|
-
'Localization#_loadTranslationFile': [
|
924
|
-
location: 'Localization#_loadTranslationFile',
|
925
|
-
err: Error,
|
926
|
-
data: { src: string }
|
927
|
-
];
|
928
|
-
'ClientDatabaseBackend#_preCreateDocumentArray': [
|
929
|
-
location: 'ClientDatabaseBackend#_preCreateDocumentArray',
|
930
|
-
err: Error,
|
931
|
-
data: { id: string }
|
932
|
-
];
|
933
|
-
'ClientDatabaseBackend#_preUpdateDocumentArray': [
|
934
|
-
location: 'ClientDatabaseBackend#_preUpdateDocumentArray',
|
935
|
-
err: Error,
|
936
|
-
data: { id: string }
|
937
|
-
];
|
938
|
-
'WorldCollection#_initialize': [location: 'WorldCollection#_initialize', err: Error, data: { id: string }];
|
939
|
-
'ClientDocumentMixin#_initialize': [
|
940
|
-
location: 'ClientDocumentMixin#_initialize',
|
941
|
-
err: Error,
|
942
|
-
data: { id: string }
|
943
|
-
];
|
944
|
-
'Actor#getTokenImages': [location: 'Actor#getTokenImages', err: Error, data: Record<string, never>];
|
945
|
-
'Macro#executeChat': [location: 'Macro#executeChat', err: Error, data: { command: string }];
|
946
|
-
'ChatMessage#roll': [location: 'ChatMessage#roll', err: Error, data: { command: string }];
|
947
|
-
'DefaultTokenConfig#_updateObject': [
|
948
|
-
location: 'DefaultTokenConfig#_updateObject',
|
949
|
-
err: Error,
|
950
|
-
data: Record<string, never>
|
951
|
-
];
|
952
|
-
'SceneConfig#_updateObject': [location: 'SceneConfig#_updateObject', err: Error, data: { scene: string }];
|
953
|
-
'SidebarDirectory.setupFolders': [
|
954
|
-
location: 'SidebarDirectory.setupFolders',
|
955
|
-
err: Error,
|
956
|
-
data: Record<string, never>
|
957
|
-
];
|
958
|
-
'Sidebar#_render': [location: 'Sidebar#_render', err: Error, data: { name: string }];
|
959
|
-
'Game#initializeCanvas': [location: 'Game#initializeCanvas', err: Error, data: Record<string, never>];
|
960
|
-
'EmbeddedCollection#_initialize': [
|
961
|
-
location: 'EmbeddedCollection#_initialize',
|
962
|
-
err: Error,
|
963
|
-
data: { id: string; documentName: string }
|
964
|
-
];
|
965
|
-
}
|
966
|
-
}
|
967
|
-
}
|