@league-of-foundry-developers/foundry-vtt-types 9.280.1 → 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 -632
- 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,1425 +0,0 @@
|
|
1
|
-
import { DocumentConstructor, PlaceableObjectConstructor } from '../../types/helperTypes';
|
2
|
-
import type { StatusEffect } from './data/documents/token';
|
3
|
-
|
4
|
-
declare global {
|
5
|
-
/**
|
6
|
-
* Runtime configuration settings for Foundry VTT which exposes a large number of variables which determine how
|
7
|
-
* aspects of the software behaves.
|
8
|
-
*
|
9
|
-
* Unlike the CONST analog which is frozen and immutable, the CONFIG object may be updated during the course of a
|
10
|
-
* session or modified by system and module developers to adjust how the application behaves.
|
11
|
-
*/
|
12
|
-
interface CONFIG {
|
13
|
-
/**
|
14
|
-
* Configure debugging flags to display additional information
|
15
|
-
*/
|
16
|
-
debug: {
|
17
|
-
/** @defaultValue `false` */
|
18
|
-
dice: boolean;
|
19
|
-
|
20
|
-
/** @defaultValue `false` */
|
21
|
-
documents: boolean;
|
22
|
-
|
23
|
-
/** @defaultValue `false` */
|
24
|
-
fog: boolean;
|
25
|
-
|
26
|
-
/** @defaultValue `false` */
|
27
|
-
hooks: boolean;
|
28
|
-
|
29
|
-
/** @defaultValue `false` */
|
30
|
-
av: boolean;
|
31
|
-
|
32
|
-
/** @defaultValue `false` */
|
33
|
-
avclient: boolean;
|
34
|
-
|
35
|
-
/** @defaultValue `false` */
|
36
|
-
mouseInteraction: boolean;
|
37
|
-
|
38
|
-
/** @defaultValue `false` */
|
39
|
-
time: boolean;
|
40
|
-
|
41
|
-
/** @defaultValue `false` */
|
42
|
-
keybindings: boolean;
|
43
|
-
|
44
|
-
/** @defaultValue `false` */
|
45
|
-
polygons: boolean;
|
46
|
-
|
47
|
-
/** @defaultValue `false` */
|
48
|
-
gamepad: boolean;
|
49
|
-
};
|
50
|
-
|
51
|
-
/**
|
52
|
-
* Configure the DatabaseBackend used to perform Document operations
|
53
|
-
* @defaultValue `new ClientDatabaseBackend()`
|
54
|
-
*/
|
55
|
-
DatabaseBackend: ClientDatabaseBackend;
|
56
|
-
|
57
|
-
/**
|
58
|
-
* Configuration for the Actor document
|
59
|
-
*/
|
60
|
-
Actor: {
|
61
|
-
/** @defaultValue `Actor` */
|
62
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof Actor>;
|
63
|
-
|
64
|
-
/** @defaultValue `Actors` */
|
65
|
-
collection: ConstructorOf<Actors>;
|
66
|
-
|
67
|
-
/** @defaultValue `'fas fa-user'` */
|
68
|
-
sidebarIcon: string;
|
69
|
-
|
70
|
-
/** @defaultValue `{}` */
|
71
|
-
typeLabels: Record<string, string>;
|
72
|
-
};
|
73
|
-
|
74
|
-
/**
|
75
|
-
* Configuration for the Adventure document.
|
76
|
-
* Currently for internal use only.
|
77
|
-
* @internal
|
78
|
-
*/
|
79
|
-
Adventure: {
|
80
|
-
/** @defaultValue `foundry.documents.BaseAdventure` */
|
81
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof foundry.documents.BaseAdventure>;
|
82
|
-
};
|
83
|
-
|
84
|
-
/**
|
85
|
-
* Configuration for the Cards primary Document type
|
86
|
-
*/
|
87
|
-
Cards: {
|
88
|
-
/** @defaultValue `CardStacks` */
|
89
|
-
collection: ConstructorOf<CardStacks>;
|
90
|
-
|
91
|
-
/** @defaultValue `Cards` */
|
92
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof Cards>;
|
93
|
-
|
94
|
-
/** @defaultValue `"fas fa-id-badge"` */
|
95
|
-
sidebarIcon: string;
|
96
|
-
|
97
|
-
/**
|
98
|
-
* @defaultValue
|
99
|
-
* ```typescript
|
100
|
-
* {
|
101
|
-
* pokerDark: {
|
102
|
-
* type: "deck",
|
103
|
-
* label: "CARDS.DeckPresetPokerDark",
|
104
|
-
* src: "cards/poker-deck-dark.json"
|
105
|
-
* },
|
106
|
-
* pokerLight: {
|
107
|
-
* type: "deck",
|
108
|
-
* label: "CARDS.DeckPresetPokerLight",
|
109
|
-
* src: "cards/poker-deck-light.json"
|
110
|
-
* }
|
111
|
-
* }
|
112
|
-
* ```
|
113
|
-
*/
|
114
|
-
presets: Record<string, CONFIG.Cards.Preset>;
|
115
|
-
};
|
116
|
-
|
117
|
-
/**
|
118
|
-
* Configuration for the ChatMessage document
|
119
|
-
*/
|
120
|
-
ChatMessage: {
|
121
|
-
/** @defaultValue `ChatMessage` */
|
122
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof ChatMessage>;
|
123
|
-
|
124
|
-
/** @defaultValue `Messages` */
|
125
|
-
collection: ConstructorOf<Messages>;
|
126
|
-
|
127
|
-
/** @defaultValue `'templates/sidebar/chat-message.html'` */
|
128
|
-
template: string;
|
129
|
-
|
130
|
-
/** @defaultValue `'fas fa-comments'` */
|
131
|
-
sidebarIcon: string;
|
132
|
-
|
133
|
-
/** @defaultValue `100` */
|
134
|
-
batchSize: number;
|
135
|
-
};
|
136
|
-
|
137
|
-
/**
|
138
|
-
* Configuration for the Combat document
|
139
|
-
*/
|
140
|
-
Combat: {
|
141
|
-
/** @defaultValue `Combat` */
|
142
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof Combat>;
|
143
|
-
|
144
|
-
/** @defaultValue `CombatEncounters` */
|
145
|
-
collection: ConstructorOf<CombatEncounters>;
|
146
|
-
|
147
|
-
/** @defaultValue `'dead'` */
|
148
|
-
defeatedStatusId: string;
|
149
|
-
|
150
|
-
/** @defaultValue `'fas fa-fist-raised'` */
|
151
|
-
sidebarIcon: string;
|
152
|
-
|
153
|
-
initiative: {
|
154
|
-
/** @defaultValue `null` */
|
155
|
-
formula: string | null;
|
156
|
-
|
157
|
-
/** @defaultValue `2` */
|
158
|
-
decimals: number;
|
159
|
-
};
|
160
|
-
};
|
161
|
-
|
162
|
-
/**
|
163
|
-
* Configuration for dice rolling behaviors in the Foundry VTT client
|
164
|
-
*/
|
165
|
-
Dice: {
|
166
|
-
/** @defaultValue `[Die, FateDie]` */
|
167
|
-
types: Array<ConstructorOf<DiceTerm>>;
|
168
|
-
|
169
|
-
rollModes: CONFIG.Dice.RollModes;
|
170
|
-
|
171
|
-
/** @defaultValue `[Roll]` */
|
172
|
-
rolls: Array<ConstructorOf<Roll>>;
|
173
|
-
|
174
|
-
/**
|
175
|
-
* @defaultValue
|
176
|
-
* ```typescript
|
177
|
-
* {
|
178
|
-
* DiceTerm: typeof DiceTerm,
|
179
|
-
* MathTerm: typeof MathTerm,
|
180
|
-
* NumericTerm: typeof NumericTerm,
|
181
|
-
* OperatorTerm: typeof OperatorTerm,
|
182
|
-
* ParentheticalTerm: typeof ParentheticalTerm,
|
183
|
-
* PoolTerm: typeof PoolTerm,
|
184
|
-
* StringTerm: typeof StringTerm
|
185
|
-
* }
|
186
|
-
* ```
|
187
|
-
*/
|
188
|
-
termTypes: Record<string, ConstructorOf<RollTerm>>;
|
189
|
-
|
190
|
-
terms: {
|
191
|
-
c: typeof Coin;
|
192
|
-
d: typeof Die;
|
193
|
-
f: typeof FateDie;
|
194
|
-
} & Record<string, ConstructorOf<DiceTerm>>;
|
195
|
-
|
196
|
-
/** @defaultValue `MersenneTwister.random` */
|
197
|
-
randomUniform: () => number;
|
198
|
-
};
|
199
|
-
|
200
|
-
/**
|
201
|
-
* Configuration for the FogExploration document
|
202
|
-
*/
|
203
|
-
FogExploration: {
|
204
|
-
/** @defaultValue `FogExploration` */
|
205
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof FogExploration>;
|
206
|
-
|
207
|
-
/** @defaultValue `FogExplorations` */
|
208
|
-
collection: ConstructorOf<FogExplorations>;
|
209
|
-
};
|
210
|
-
|
211
|
-
/**
|
212
|
-
* Configuration for the Folder entity
|
213
|
-
*/
|
214
|
-
Folder: {
|
215
|
-
/** @defaultValue `Folder` */
|
216
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof Folder>;
|
217
|
-
|
218
|
-
/** @defaultValue `Folders` */
|
219
|
-
collection: ConstructorOf<Folders>;
|
220
|
-
|
221
|
-
/** @defaultValue `'fas fa-folder'` */
|
222
|
-
sidebarIcon: string;
|
223
|
-
};
|
224
|
-
|
225
|
-
/**
|
226
|
-
* Configuration for the default Item entity class
|
227
|
-
*/
|
228
|
-
Item: {
|
229
|
-
/** @defaultValue `Item` */
|
230
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof Item>;
|
231
|
-
|
232
|
-
/** @defaultValue `Items` */
|
233
|
-
collection: ConstructorOf<Items>;
|
234
|
-
|
235
|
-
/** @defaultValue `'fas fa-suitcase'` */
|
236
|
-
sidebarIcon: string;
|
237
|
-
|
238
|
-
/** @defaultValue `{}` */
|
239
|
-
typeLabels: Record<string, string>;
|
240
|
-
};
|
241
|
-
|
242
|
-
/**
|
243
|
-
* Configuration for the JournalEntry entity
|
244
|
-
*/
|
245
|
-
JournalEntry: {
|
246
|
-
/** @defaultValue `JournalEntry` */
|
247
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof JournalEntry>;
|
248
|
-
|
249
|
-
/** @defaultValue `Journal` */
|
250
|
-
collection: ConstructorOf<Journal>;
|
251
|
-
|
252
|
-
noteIcons: {
|
253
|
-
/** @defaultValue `'icons/svg/anchor.svg'` */
|
254
|
-
Anchor: string;
|
255
|
-
|
256
|
-
/** @defaultValue `'icons/svg/barrel.svg'` */
|
257
|
-
Barrel: string;
|
258
|
-
|
259
|
-
/** @defaultValue `'icons/svg/book.svg'` */
|
260
|
-
Book: string;
|
261
|
-
|
262
|
-
/** @defaultValue `'icons/svg/bridge.svg'` */
|
263
|
-
Bridge: string;
|
264
|
-
|
265
|
-
/** @defaultValue `'icons/svg/cave.svg'` */
|
266
|
-
Cave: string;
|
267
|
-
|
268
|
-
/** @defaultValue `'icons/svg/castle.svg` */
|
269
|
-
Castle: string;
|
270
|
-
|
271
|
-
/** @defaultValue `'icons/svg/chest.svg'` */
|
272
|
-
Chest: string;
|
273
|
-
|
274
|
-
/** @defaultValue `'icons/svg/city.svg'` */
|
275
|
-
City: string;
|
276
|
-
|
277
|
-
/** @defaultValue `'icons/svg/coins.svg'` */
|
278
|
-
Coins: string;
|
279
|
-
|
280
|
-
/** @defaultValue `'icons/svg/fire.svg'` */
|
281
|
-
Fire: string;
|
282
|
-
|
283
|
-
/** @defaultValue `'icons/svg/hanging-sign.svg'` */
|
284
|
-
'Hanging Sign': string;
|
285
|
-
|
286
|
-
/** @defaultValue `'icons/svg/house.svg'` */
|
287
|
-
House: string;
|
288
|
-
|
289
|
-
/** @defaultValue `'icons/svg/mountain.svg'` */
|
290
|
-
Mountain: string;
|
291
|
-
|
292
|
-
/** @defaultValue `'icons/svg/oak.svg'` */
|
293
|
-
'Oak Tree': string;
|
294
|
-
|
295
|
-
/** @defaultValue `'icons/svg/obelisk.svg'` */
|
296
|
-
Obelisk: string;
|
297
|
-
|
298
|
-
/** @defaultValue `'icons/svg/pawprint.svg'` */
|
299
|
-
Pawprint: string;
|
300
|
-
|
301
|
-
/** @defaultValue `'icons/svg/ruins.svg'` */
|
302
|
-
Ruins: string;
|
303
|
-
|
304
|
-
/** @defaultValue `'icons/svg/tankard.svg'` */
|
305
|
-
Tankard: string;
|
306
|
-
|
307
|
-
/** @defaultValue `'icons/svg/temple.svg'` */
|
308
|
-
Temple: string;
|
309
|
-
|
310
|
-
/** @defaultValue `'icons/svg/tower.svg'` */
|
311
|
-
Tower: string;
|
312
|
-
|
313
|
-
/** @defaultValue `'icons/svg/trap.svg'` */
|
314
|
-
Trap: string;
|
315
|
-
|
316
|
-
/** @defaultValue `'icons/svg/skull.svg'` */
|
317
|
-
Skull: string;
|
318
|
-
|
319
|
-
/** @defaultValue `'icons/svg/statue.svg'` */
|
320
|
-
Statue: string;
|
321
|
-
|
322
|
-
/** @defaultValue `'icons/svg/sword.svg'` */
|
323
|
-
Sword: string;
|
324
|
-
|
325
|
-
/** @defaultValue `'icons/svg/village.svg'` */
|
326
|
-
Village: string;
|
327
|
-
|
328
|
-
/** @defaultValue `'icons/svg/waterfall.svg'` */
|
329
|
-
Waterfall: string;
|
330
|
-
|
331
|
-
/** @defaultValue `'icons/svg/windmill.svg'` */
|
332
|
-
Windmill: string;
|
333
|
-
} & Record<string, string>;
|
334
|
-
|
335
|
-
/** @defaultValue `'fas fa-book-open'` */
|
336
|
-
sidebarIcon: string;
|
337
|
-
};
|
338
|
-
|
339
|
-
/**
|
340
|
-
* Configuration for the Macro entity
|
341
|
-
*/
|
342
|
-
Macro: {
|
343
|
-
/** @defaultValue `Macro` */
|
344
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof Macro>;
|
345
|
-
|
346
|
-
/** @defaultValue `Macros` */
|
347
|
-
collection: ConstructorOf<Macros>;
|
348
|
-
|
349
|
-
/** @defaultValue `'fas fa-code'` */
|
350
|
-
sidebarIcon: string;
|
351
|
-
};
|
352
|
-
|
353
|
-
/**
|
354
|
-
* Configuration for the default Playlist entity class
|
355
|
-
*/
|
356
|
-
Playlist: {
|
357
|
-
/** @defaultValue `Playlist` */
|
358
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof Playlist>;
|
359
|
-
|
360
|
-
/** @defaultValue `Playlists` */
|
361
|
-
collection: ConstructorOf<Playlists>;
|
362
|
-
|
363
|
-
/** @defaultValue `'fas fa-music'` */
|
364
|
-
sidebarIcon: string;
|
365
|
-
|
366
|
-
/** @defaultValue `20` */
|
367
|
-
autoPreloadSeconds: number;
|
368
|
-
};
|
369
|
-
|
370
|
-
/**
|
371
|
-
* Configuration for RollTable random draws
|
372
|
-
*/
|
373
|
-
RollTable: {
|
374
|
-
/** @defaultValue `RollTable` */
|
375
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof RollTable>;
|
376
|
-
|
377
|
-
/** @defaultValue `RollTables` */
|
378
|
-
collection: ConstructorOf<RollTables>;
|
379
|
-
|
380
|
-
/** @defaultValue `'fas fa-th-list'` */
|
381
|
-
sidebarIcon: string;
|
382
|
-
|
383
|
-
/** @defaultValue `'icons/svg/d20-black.svg'` */
|
384
|
-
resultIcon: string;
|
385
|
-
|
386
|
-
/** @defaultValue `'templates/dice/table-result.html'` */
|
387
|
-
resultTemplate: string;
|
388
|
-
};
|
389
|
-
|
390
|
-
/**
|
391
|
-
* Configuration for the default Scene entity class
|
392
|
-
*/
|
393
|
-
Scene: {
|
394
|
-
/** @defaultValue `Scene` */
|
395
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof Scene>;
|
396
|
-
|
397
|
-
/** @defaultValue `Scenes` */
|
398
|
-
collection: ConstructorOf<Scenes>;
|
399
|
-
|
400
|
-
/** @defaultValue `'fas fa-map'` */
|
401
|
-
sidebarIcon: string;
|
402
|
-
};
|
403
|
-
|
404
|
-
Setting: {
|
405
|
-
/** @defaultValue `Setting` */
|
406
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof Setting>;
|
407
|
-
|
408
|
-
/** @defaultValue `WorldSettings` */
|
409
|
-
collection: ConstructorOf<WorldSettings>;
|
410
|
-
};
|
411
|
-
|
412
|
-
/**
|
413
|
-
* Configuration for the User entity, it's roles, and permissions
|
414
|
-
*/
|
415
|
-
User: {
|
416
|
-
/** @defaultValue `User` */
|
417
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof User>;
|
418
|
-
|
419
|
-
/** @defaultValue `Users` */
|
420
|
-
collection: ConstructorOf<Users>;
|
421
|
-
};
|
422
|
-
|
423
|
-
/**
|
424
|
-
* Configuration settings for the Canvas and its contained layers and objects
|
425
|
-
*/
|
426
|
-
Canvas: {
|
427
|
-
/** @defaultValue `8` */
|
428
|
-
blurStrength: number;
|
429
|
-
|
430
|
-
/** @defaultValue `ScreenCulling` */
|
431
|
-
cullingBackend: ConstructorOf<typeof ScreenCulling | typeof QuadtreeCulling>;
|
432
|
-
|
433
|
-
/** @defaultValue `0x242448` */
|
434
|
-
darknessColor: number;
|
435
|
-
|
436
|
-
/** @defaultValue `0.25` */
|
437
|
-
darknessLightPenalty: number;
|
438
|
-
|
439
|
-
/** @defaultValue `0xeeeeee` */
|
440
|
-
daylightColor: number;
|
441
|
-
|
442
|
-
dispositionColors: {
|
443
|
-
/** @defaultValue `0xe72124` */
|
444
|
-
HOSTILE: number;
|
445
|
-
|
446
|
-
/** @defaultValue `0xf1d836` */
|
447
|
-
NEUTRAL: number;
|
448
|
-
|
449
|
-
/** @defaultValue `0x43dfdf` */
|
450
|
-
FRIENDLY: number;
|
451
|
-
|
452
|
-
/** @defaultValue `0x555555` */
|
453
|
-
INACTIVE: number;
|
454
|
-
|
455
|
-
/** @defaultValue `0x33bc4e` */
|
456
|
-
PARTY: number;
|
457
|
-
|
458
|
-
/** @defaultValue `0xff9829` */
|
459
|
-
CONTROLLED: number;
|
460
|
-
};
|
461
|
-
|
462
|
-
/** @defaultValue `0x7f7f7f` */
|
463
|
-
exploredColor: number;
|
464
|
-
|
465
|
-
/** @defaultValue `0x000000` */
|
466
|
-
unexploredColor: number;
|
467
|
-
|
468
|
-
groups: CONFIG.Canvas.Groups;
|
469
|
-
|
470
|
-
layers: CONFIG.Canvas.Layers;
|
471
|
-
|
472
|
-
lightLevels: {
|
473
|
-
/** @defaultValue `0` */
|
474
|
-
dark: number;
|
475
|
-
|
476
|
-
/** @defaultValue `0.25` */
|
477
|
-
dim: number;
|
478
|
-
|
479
|
-
/** @defaultValue `1.0` */
|
480
|
-
bright: number;
|
481
|
-
};
|
482
|
-
|
483
|
-
/** @defaultValue `0xb86200` */
|
484
|
-
normalLightColor: number;
|
485
|
-
|
486
|
-
/** @defaultValue `3.0` */
|
487
|
-
maxZoom: number;
|
488
|
-
|
489
|
-
/** @defaultValue `4` */
|
490
|
-
objectBorderThickness: number;
|
491
|
-
|
492
|
-
lightAnimations: {
|
493
|
-
torch: {
|
494
|
-
/** @defaultValue `'LIGHT.AnimationTorch'` */
|
495
|
-
label: string;
|
496
|
-
|
497
|
-
/** @defaultValue `LightSource.prototype.animateTorch` */
|
498
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
499
|
-
|
500
|
-
/** @defaultValue `TorchIlluminationShader` */
|
501
|
-
illuminationShader: ConstructorOf<AbstractBaseShader>;
|
502
|
-
|
503
|
-
/** @defaultValue `TorchColorationShader` */
|
504
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
505
|
-
};
|
506
|
-
|
507
|
-
pulse: {
|
508
|
-
/** @defaultValue `'LIGHT.AnimationPulse'` */
|
509
|
-
label: string;
|
510
|
-
|
511
|
-
/** @defaultValue `LightSource.prototype.animatePulse` */
|
512
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
513
|
-
|
514
|
-
/** @defaultValue `PulseIlluminationShader` */
|
515
|
-
illuminationShader: ConstructorOf<AbstractBaseShader>;
|
516
|
-
|
517
|
-
/** @defaultValue `PulseColorationShader` */
|
518
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
519
|
-
};
|
520
|
-
|
521
|
-
chroma: {
|
522
|
-
/** @defaultValue `'LIGHT.AnimationChroma'` */
|
523
|
-
label: string;
|
524
|
-
|
525
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
526
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
527
|
-
|
528
|
-
/** @defaultValue `ChromaColorationShader` */
|
529
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
530
|
-
};
|
531
|
-
|
532
|
-
wave: {
|
533
|
-
/** @defaultValue `'LIGHT.AnimationWave'` */
|
534
|
-
label: string;
|
535
|
-
|
536
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
537
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
538
|
-
|
539
|
-
/** @defaultValue `WaveIlluminationShader` */
|
540
|
-
illuminationShader: ConstructorOf<AbstractBaseShader>;
|
541
|
-
|
542
|
-
/** @defaultValue `WaveColorationShader` */
|
543
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
544
|
-
};
|
545
|
-
|
546
|
-
fog: {
|
547
|
-
/** @defaultValue `'LIGHT.AnimationFog'` */
|
548
|
-
label: string;
|
549
|
-
|
550
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
551
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
552
|
-
|
553
|
-
/** @defaultValue `FogColorationShader` */
|
554
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
555
|
-
};
|
556
|
-
|
557
|
-
sunburst: {
|
558
|
-
/** @defaultValue `'LIGHT.AnimationSunburst'` */
|
559
|
-
label: string;
|
560
|
-
|
561
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
562
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
563
|
-
|
564
|
-
/** @defaultValue `SunburstIlluminationShader` */
|
565
|
-
illuminationShader: ConstructorOf<AbstractBaseShader>;
|
566
|
-
|
567
|
-
/** @defaultValue `SunburstColorationShader` */
|
568
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
569
|
-
};
|
570
|
-
|
571
|
-
dome: {
|
572
|
-
/** @defaultValue `'LIGHT.AnimationLightDome'` */
|
573
|
-
label: string;
|
574
|
-
|
575
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
576
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
577
|
-
|
578
|
-
/** @defaultValue `LightDomeColorationShader` */
|
579
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
580
|
-
};
|
581
|
-
|
582
|
-
emanation: {
|
583
|
-
/** @defaultValue `'LIGHT.AnimationEmanation'` */
|
584
|
-
label: string;
|
585
|
-
|
586
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
587
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
588
|
-
|
589
|
-
/** @defaultValue `EmanationColorationShader` */
|
590
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
591
|
-
};
|
592
|
-
|
593
|
-
hexa: {
|
594
|
-
/** @defaultValue `'LIGHT.AnimationHexaDome';` */
|
595
|
-
label: string;
|
596
|
-
|
597
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
598
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
599
|
-
|
600
|
-
/** @defaultValue `HexaDomeColorationShader` */
|
601
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
602
|
-
};
|
603
|
-
|
604
|
-
ghost: {
|
605
|
-
/** @defaultValue `'LIGHT.AnimationGhostLight'` */
|
606
|
-
label: string;
|
607
|
-
|
608
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
609
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
610
|
-
|
611
|
-
/** @defaultValue `GhostLightIlluminationShader` */
|
612
|
-
illuminationShader: ConstructorOf<AbstractBaseShader>;
|
613
|
-
|
614
|
-
/** @defaultValue `GhostLightColorationShader` */
|
615
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
616
|
-
};
|
617
|
-
|
618
|
-
energy: {
|
619
|
-
/** @defaultValue `'LIGHT.AnimationEnergyField'` */
|
620
|
-
label: string;
|
621
|
-
|
622
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
623
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
624
|
-
|
625
|
-
/** @defaultValue `EnergyFieldColorationShader` */
|
626
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
627
|
-
};
|
628
|
-
|
629
|
-
roiling: {
|
630
|
-
/** @defaultValue `'LIGHT.AnimationRoilingMass'` */
|
631
|
-
label: string;
|
632
|
-
|
633
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
634
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
635
|
-
|
636
|
-
/** @defaultValue `RoilingIlluminationShader` */
|
637
|
-
illuminationShader: ConstructorOf<AbstractBaseShader>;
|
638
|
-
};
|
639
|
-
|
640
|
-
hole: {
|
641
|
-
/** @defaultValue `'LIGHT.AnimationBlackHole'` */
|
642
|
-
label: string;
|
643
|
-
|
644
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
645
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
646
|
-
|
647
|
-
/** @defaultValue `BlackHoleIlluminationShader` */
|
648
|
-
illuminationShader: ConstructorOf<AbstractBaseShader>;
|
649
|
-
};
|
650
|
-
|
651
|
-
vortex: {
|
652
|
-
/** @defaultValue `'LIGHT.AnimationVortex'` */
|
653
|
-
label: string;
|
654
|
-
|
655
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
656
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
657
|
-
|
658
|
-
/** @defaultValue `VortexIlluminationShader` */
|
659
|
-
illuminationShader: ConstructorOf<AbstractBaseShader>;
|
660
|
-
|
661
|
-
/** @defaultValue `VortexColorationShader` */
|
662
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
663
|
-
};
|
664
|
-
|
665
|
-
witchwave: {
|
666
|
-
/** @defaultValue `'LIGHT.AnimationBewitchingWave'` */
|
667
|
-
label: string;
|
668
|
-
|
669
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
670
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
671
|
-
|
672
|
-
/** @defaultValue `BewitchingWaveIlluminationShader` */
|
673
|
-
illuminationShader: ConstructorOf<AbstractBaseShader>;
|
674
|
-
|
675
|
-
/** @defaultValue `BewitchingWaveColorationShader` */
|
676
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
677
|
-
};
|
678
|
-
|
679
|
-
rainbowswirl: {
|
680
|
-
/** @defaultValue `'LIGHT.AnimationSwirlingRainbow'` */
|
681
|
-
label: string;
|
682
|
-
|
683
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
684
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
685
|
-
|
686
|
-
/** @defaultValue `SwirlingRainbowColorationShader` */
|
687
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
688
|
-
};
|
689
|
-
|
690
|
-
radialrainbow: {
|
691
|
-
/** @defaultValue `'LIGHT.AnimationRadialRainbow'` */
|
692
|
-
label: string;
|
693
|
-
|
694
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
695
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
696
|
-
|
697
|
-
/** @defaultValue `RadialRainbowColorationShader` */
|
698
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
699
|
-
};
|
700
|
-
|
701
|
-
fairy: {
|
702
|
-
/** @defaultValue `'LIGHT.AnimationFairyLight'` */
|
703
|
-
label: string;
|
704
|
-
|
705
|
-
/** @defaultValue `LightSource.prototype.animateTime` */
|
706
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
707
|
-
|
708
|
-
/** @defaultValue `FairyLightIlluminationShader` */
|
709
|
-
illuminationShader: ConstructorOf<AbstractBaseShader>;
|
710
|
-
|
711
|
-
/** @defaultValue `FairyLightColorationShader` */
|
712
|
-
colorationShader: ConstructorOf<AbstractBaseShader>;
|
713
|
-
};
|
714
|
-
} & Record<
|
715
|
-
string,
|
716
|
-
{
|
717
|
-
label: string;
|
718
|
-
animation: CONFIG.Canvas.LightAnimationFunction;
|
719
|
-
illuminationShader?: ConstructorOf<AbstractBaseShader>;
|
720
|
-
colorationShader?: ConstructorOf<AbstractBaseShader>;
|
721
|
-
}
|
722
|
-
>;
|
723
|
-
};
|
724
|
-
|
725
|
-
/**
|
726
|
-
* Configure the default Token text style so that it may be reused and overridden by modules
|
727
|
-
* @defaultValue
|
728
|
-
* ```typescript
|
729
|
-
* new PIXI.TextStyle({
|
730
|
-
* fontFamily: 'Signika',
|
731
|
-
* fontSize: 36,
|
732
|
-
* fill: '#FFFFFF',
|
733
|
-
* stroke: '#111111',
|
734
|
-
* strokeThickness: 1,
|
735
|
-
* dropShadow: true,
|
736
|
-
* dropShadowColor: '#000000',
|
737
|
-
* dropShadowBlur: 4,
|
738
|
-
* dropShadowAngle: 0,
|
739
|
-
* dropShadowDistance: 0,
|
740
|
-
* align: 'center',
|
741
|
-
* wordWrap: false,
|
742
|
-
* padding: 1
|
743
|
-
* })
|
744
|
-
* ```
|
745
|
-
**/
|
746
|
-
canvasTextStyle: PIXI.TextStyle;
|
747
|
-
|
748
|
-
/**
|
749
|
-
* Available Weather Effects implementations
|
750
|
-
*/
|
751
|
-
weatherEffects: {
|
752
|
-
/** @defaultValue `AutumnLeavesWeatherEffect` */
|
753
|
-
leaves: ConstructorOf<SpecialEffect>;
|
754
|
-
|
755
|
-
/** @defaultValue `RainWeatherEffect` */
|
756
|
-
rain: ConstructorOf<SpecialEffect>;
|
757
|
-
|
758
|
-
/** @defaultValue `SnowWeatherEffect` */
|
759
|
-
snow: ConstructorOf<SpecialEffect>;
|
760
|
-
} & Record<string, ConstructorOf<SpecialEffect>>;
|
761
|
-
|
762
|
-
/**
|
763
|
-
* The control icons used for rendering common HUD operations
|
764
|
-
*/
|
765
|
-
controlIcons: {
|
766
|
-
/** @defaultValue `'icons/svg/combat.svg'` */
|
767
|
-
combat: string;
|
768
|
-
|
769
|
-
/** @defaultValue `'icons/svg/cowled.svg'` */
|
770
|
-
visibility: string;
|
771
|
-
|
772
|
-
/** @defaultValue `'icons/svg/aura.svg'` */
|
773
|
-
effects: string;
|
774
|
-
|
775
|
-
/** @defaultValue `'icons/svg/padlock.svg'` */
|
776
|
-
lock: string;
|
777
|
-
|
778
|
-
/** @defaultValue `'icons/svg/up.svg'` */
|
779
|
-
up: string;
|
780
|
-
|
781
|
-
/** @defaultValue `'icons/svg/down.svg'` */
|
782
|
-
down: string;
|
783
|
-
|
784
|
-
/** @defaultValue `'icons/svg/skull.svg'` */
|
785
|
-
defeated: string;
|
786
|
-
|
787
|
-
/** @defaultValue `'icons/svg/light.svg'` */
|
788
|
-
light: string;
|
789
|
-
|
790
|
-
/** @defaultValue `'icons/svg/light-off.svg'` */
|
791
|
-
lightOff: string;
|
792
|
-
|
793
|
-
/** @defaultValue `'icons/svg/explosion.svg'` */
|
794
|
-
template: string;
|
795
|
-
|
796
|
-
/** @defaultValue `'icons/svg/sound.svg'` */
|
797
|
-
sound: string;
|
798
|
-
|
799
|
-
/** @defaultValue `'icons/svg/sound-off.svg'` */
|
800
|
-
soundOff: string;
|
801
|
-
|
802
|
-
/** @defaultValue `'icons/svg/door-closed-outline.svg'` */
|
803
|
-
doorClosed: string;
|
804
|
-
|
805
|
-
/** @defaultValue `'icons/svg/door-open-outline.svg'` */
|
806
|
-
doorOpen: string;
|
807
|
-
|
808
|
-
/** @defaultValue `'icons/svg/door-secret-outline.svg'` */
|
809
|
-
doorSecret: string;
|
810
|
-
|
811
|
-
/** @defaultValue `'icons/svg/door-locked-outline.svg'` */
|
812
|
-
doorLocked: string;
|
813
|
-
} & Record<string, string>;
|
814
|
-
|
815
|
-
/**
|
816
|
-
* Suggested font families that are displayed wherever a choice is presented
|
817
|
-
* @defaultValue `["Arial", "Courier", "Courier New", "Helvetica", "Signika", "Times", "Times New Roman", "Modesto Condensed"]`
|
818
|
-
*/
|
819
|
-
fontFamilies: string[];
|
820
|
-
|
821
|
-
/**
|
822
|
-
* The default font family used for text labels on the PIXI Canvas
|
823
|
-
* @defaultValue `'Signika'`
|
824
|
-
*/
|
825
|
-
defaultFontFamily: string;
|
826
|
-
|
827
|
-
/**
|
828
|
-
* An array of status effect icons which can be applied to Tokens
|
829
|
-
* @defaultValue
|
830
|
-
* ```typescript
|
831
|
-
* [
|
832
|
-
* {
|
833
|
-
* id: 'dead';
|
834
|
-
* label: 'EFFECT.StatusDead';
|
835
|
-
* icon: 'icons/svg/skull.svg';
|
836
|
-
* },
|
837
|
-
* {
|
838
|
-
* id: 'unconscious';
|
839
|
-
* label: 'EFFECT.StatusUnconscious';
|
840
|
-
* icon: 'icons/svg/unconscious.svg';
|
841
|
-
* },
|
842
|
-
* {
|
843
|
-
* id: 'sleep';
|
844
|
-
* label: 'EFFECT.StatusAsleep';
|
845
|
-
* icon: 'icons/svg/sleep.svg';
|
846
|
-
* },
|
847
|
-
* {
|
848
|
-
* id: 'stun';
|
849
|
-
* label: 'EFFECT.StatusStunned';
|
850
|
-
* icon: 'icons/svg/daze.svg';
|
851
|
-
* },
|
852
|
-
* {
|
853
|
-
* id: 'prone';
|
854
|
-
* label: 'EFFECT.StatusProne';
|
855
|
-
* icon: 'icons/svg/falling.svg';
|
856
|
-
* },
|
857
|
-
* {
|
858
|
-
* id: 'restrain';
|
859
|
-
* label: 'EFFECT.StatusRestrained';
|
860
|
-
* icon: 'icons/svg/net.svg';
|
861
|
-
* },
|
862
|
-
* {
|
863
|
-
* id: 'paralysis';
|
864
|
-
* label: 'EFFECT.StatusParalysis';
|
865
|
-
* icon: 'icons/svg/paralysis.svg';
|
866
|
-
* },
|
867
|
-
* {
|
868
|
-
* id: 'fly';
|
869
|
-
* label: 'EFFECT.StatusFlying';
|
870
|
-
* icon: 'icons/svg/wing.svg';
|
871
|
-
* },
|
872
|
-
* {
|
873
|
-
* id: 'blind';
|
874
|
-
* label: 'EFFECT.StatusBlind';
|
875
|
-
* icon: 'icons/svg/blind.svg';
|
876
|
-
* },
|
877
|
-
* {
|
878
|
-
* id: 'deaf';
|
879
|
-
* label: 'EFFECT.StatusDeaf';
|
880
|
-
* icon: 'icons/svg/deaf.svg';
|
881
|
-
* },
|
882
|
-
* {
|
883
|
-
* id: 'silence';
|
884
|
-
* label: 'EFFECT.StatusSilenced';
|
885
|
-
* icon: 'icons/svg/silenced.svg';
|
886
|
-
* },
|
887
|
-
* {
|
888
|
-
* id: 'fear';
|
889
|
-
* label: 'EFFECT.StatusFear';
|
890
|
-
* icon: 'icons/svg/terror.svg';
|
891
|
-
* },
|
892
|
-
* {
|
893
|
-
* id: 'burning';
|
894
|
-
* label: 'EFFECT.StatusBurning';
|
895
|
-
* icon: 'icons/svg/fire.svg';
|
896
|
-
* },
|
897
|
-
* {
|
898
|
-
* id: 'frozen';
|
899
|
-
* label: 'EFFECT.StatusFrozen';
|
900
|
-
* icon: 'icons/svg/frozen.svg';
|
901
|
-
* },
|
902
|
-
* {
|
903
|
-
* id: 'shock';
|
904
|
-
* label: 'EFFECT.StatusShocked';
|
905
|
-
* icon: 'icons/svg/lightning.svg';
|
906
|
-
* },
|
907
|
-
* {
|
908
|
-
* id: 'corrode';
|
909
|
-
* label: 'EFFECT.StatusCorrode';
|
910
|
-
* icon: 'icons/svg/acid.svg';
|
911
|
-
* },
|
912
|
-
* {
|
913
|
-
* id: 'bleeding';
|
914
|
-
* label: 'EFFECT.StatusBleeding';
|
915
|
-
* icon: 'icons/svg/blood.svg';
|
916
|
-
* },
|
917
|
-
* {
|
918
|
-
* id: 'disease';
|
919
|
-
* label: 'EFFECT.StatusDisease';
|
920
|
-
* icon: 'icons/svg/biohazard.svg';
|
921
|
-
* },
|
922
|
-
* {
|
923
|
-
* id: 'poison';
|
924
|
-
* label: 'EFFECT.StatusPoison';
|
925
|
-
* icon: 'icons/svg/poison.svg';
|
926
|
-
* },
|
927
|
-
* {
|
928
|
-
* id: 'radiation';
|
929
|
-
* label: 'EFFECT.StatusRadiation';
|
930
|
-
* icon: 'icons/svg/radiation.svg';
|
931
|
-
* },
|
932
|
-
* {
|
933
|
-
* id: 'regen';
|
934
|
-
* label: 'EFFECT.StatusRegen';
|
935
|
-
* icon: 'icons/svg/regen.svg';
|
936
|
-
* },
|
937
|
-
* {
|
938
|
-
* id: 'degen';
|
939
|
-
* label: 'EFFECT.StatusDegen';
|
940
|
-
* icon: 'icons/svg/degen.svg';
|
941
|
-
* },
|
942
|
-
* {
|
943
|
-
* id: 'upgrade';
|
944
|
-
* label: 'EFFECT.StatusUpgrade';
|
945
|
-
* icon: 'icons/svg/upgrade.svg';
|
946
|
-
* },
|
947
|
-
* {
|
948
|
-
* id: 'downgrade';
|
949
|
-
* label: 'EFFECT.StatusDowngrade';
|
950
|
-
* icon: 'icons/svg/downgrade.svg';
|
951
|
-
* },
|
952
|
-
* {
|
953
|
-
* id: 'target';
|
954
|
-
* label: 'EFFECT.StatusTarget';
|
955
|
-
* icon: 'icons/svg/target.svg';
|
956
|
-
* },
|
957
|
-
* {
|
958
|
-
* id: 'eye';
|
959
|
-
* label: 'EFFECT.StatusMarked';
|
960
|
-
* icon: 'icons/svg/eye.svg';
|
961
|
-
* },
|
962
|
-
* {
|
963
|
-
* id: 'curse';
|
964
|
-
* label: 'EFFECT.StatusCursed';
|
965
|
-
* icon: 'icons/svg/sun.svg';
|
966
|
-
* },
|
967
|
-
* {
|
968
|
-
* id: 'bless';
|
969
|
-
* label: 'EFFECT.StatusBlessed';
|
970
|
-
* icon: 'icons/svg/angel.svg';
|
971
|
-
* },
|
972
|
-
* {
|
973
|
-
* id: 'fireShield';
|
974
|
-
* label: 'EFFECT.StatusFireShield';
|
975
|
-
* icon: 'icons/svg/fire-shield.svg';
|
976
|
-
* },
|
977
|
-
* {
|
978
|
-
* id: 'coldShield';
|
979
|
-
* label: 'EFFECT.StatusIceShield';
|
980
|
-
* icon: 'icons/svg/ice-shield.svg';
|
981
|
-
* },
|
982
|
-
* {
|
983
|
-
* id: 'magicShield';
|
984
|
-
* label: 'EFFECT.StatusMagicShield';
|
985
|
-
* icon: 'icons/svg/mage-shield.svg';
|
986
|
-
* },
|
987
|
-
* {
|
988
|
-
* id: 'holyShield';
|
989
|
-
* label: 'EFFECT.StatusHolyShield';
|
990
|
-
* icon: 'icons/svg/holy-shield.svg';
|
991
|
-
* }
|
992
|
-
* ]
|
993
|
-
* ```
|
994
|
-
*/
|
995
|
-
statusEffects: StatusEffect[];
|
996
|
-
|
997
|
-
/**
|
998
|
-
* A mapping of core audio effects used which can be replaced by systems or mods
|
999
|
-
*/
|
1000
|
-
sounds: {
|
1001
|
-
/** @defaultValue `'sounds/dice.wav'` */
|
1002
|
-
dice: string;
|
1003
|
-
|
1004
|
-
/** @defaultValue `'sounds/lock.wav'` */
|
1005
|
-
lock: string;
|
1006
|
-
|
1007
|
-
/** @defaultValue `'sounds/notify.wav'` */
|
1008
|
-
notification: string;
|
1009
|
-
|
1010
|
-
/** @defaultValue `'sounds/drums.wav'` */
|
1011
|
-
combat: string;
|
1012
|
-
};
|
1013
|
-
|
1014
|
-
/**
|
1015
|
-
* Define the set of supported languages for localization
|
1016
|
-
* @defaultValue `{ en: 'English' }`
|
1017
|
-
*/
|
1018
|
-
supportedLanguages: {
|
1019
|
-
en: string;
|
1020
|
-
} & Record<string, string>;
|
1021
|
-
|
1022
|
-
/**
|
1023
|
-
* Configuration for time tracking
|
1024
|
-
*/
|
1025
|
-
time: {
|
1026
|
-
/** @defaultValue `0` */
|
1027
|
-
turnTime: number;
|
1028
|
-
|
1029
|
-
/** @defaultValue `0` */
|
1030
|
-
roundTime: number;
|
1031
|
-
};
|
1032
|
-
|
1033
|
-
/**
|
1034
|
-
* Configuration for the ActiveEffect embedded document type
|
1035
|
-
*/
|
1036
|
-
ActiveEffect: {
|
1037
|
-
/** @defaultValue `ActiveEffect` */
|
1038
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof ActiveEffect>;
|
1039
|
-
};
|
1040
|
-
|
1041
|
-
/**
|
1042
|
-
* Configuration for the Card embedded Document type
|
1043
|
-
*/
|
1044
|
-
Card: {
|
1045
|
-
/** @defaultValue `Card` */
|
1046
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof Card>;
|
1047
|
-
};
|
1048
|
-
|
1049
|
-
/**
|
1050
|
-
* Configuration for the TableResult embedded document type
|
1051
|
-
*/
|
1052
|
-
TableResult: {
|
1053
|
-
/** @defaultValue `TableResult` */
|
1054
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof TableResult>;
|
1055
|
-
};
|
1056
|
-
|
1057
|
-
/**
|
1058
|
-
* Configuration for the ActiveEffect embedded document type
|
1059
|
-
*/
|
1060
|
-
PlaylistSound: {
|
1061
|
-
/** @defaultValue `PlaylistSound` */
|
1062
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof PlaylistSound>;
|
1063
|
-
};
|
1064
|
-
|
1065
|
-
/**
|
1066
|
-
* Configuration for the AmbientLight embedded document type and its representation on the game Canvas
|
1067
|
-
*/
|
1068
|
-
AmbientLight: {
|
1069
|
-
/** @defaultValue `AmbientLightDocument` */
|
1070
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof AmbientLightDocument>;
|
1071
|
-
|
1072
|
-
/** @defaultValue `AmbientLightDocument` */
|
1073
|
-
objectClass: ConfiguredObjectClassOrDefault<typeof AmbientLight>;
|
1074
|
-
|
1075
|
-
/** @defaultValue `AmbientLightDocument` */
|
1076
|
-
layerClass: typeof LightingLayer;
|
1077
|
-
};
|
1078
|
-
|
1079
|
-
/**
|
1080
|
-
* Configuration for the AmbientSound embedded document type and its representation on the game Canvas
|
1081
|
-
*/
|
1082
|
-
AmbientSound: {
|
1083
|
-
/** @defaultValue `AmbientSoundDocument` */
|
1084
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof AmbientSoundDocument>;
|
1085
|
-
|
1086
|
-
/** @defaultValue `AmbientSound` */
|
1087
|
-
objectClass: ConfiguredObjectClassOrDefault<typeof AmbientSound>;
|
1088
|
-
|
1089
|
-
/** @defaultValue `SoundsLayer` */
|
1090
|
-
layerClass: typeof SoundsLayer;
|
1091
|
-
};
|
1092
|
-
|
1093
|
-
/**
|
1094
|
-
* Configuration for the Combatant embedded document type within a Combat document
|
1095
|
-
*/
|
1096
|
-
Combatant: {
|
1097
|
-
/** @defaultValue `Combatant` */
|
1098
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof Combatant>;
|
1099
|
-
};
|
1100
|
-
|
1101
|
-
/**
|
1102
|
-
* Configuration for the Drawing embedded document type and its representation on the game Canvas
|
1103
|
-
*/
|
1104
|
-
Drawing: {
|
1105
|
-
/** @defaultValue `DrawingDocument` */
|
1106
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof DrawingDocument>;
|
1107
|
-
|
1108
|
-
/** @defaultValue `Drawing` */
|
1109
|
-
objectClass: ConfiguredObjectClassOrDefault<typeof Drawing>;
|
1110
|
-
|
1111
|
-
/** @defaultValue `DrawingsLayer` */
|
1112
|
-
layerClass: typeof DrawingsLayer;
|
1113
|
-
};
|
1114
|
-
|
1115
|
-
/**
|
1116
|
-
* Configuration for the MeasuredTemplate embedded document type and its representation on the game Canvas
|
1117
|
-
*/
|
1118
|
-
MeasuredTemplate: {
|
1119
|
-
defaults: {
|
1120
|
-
/** @defaultValue `53.13` */
|
1121
|
-
angle: number;
|
1122
|
-
|
1123
|
-
/** @defaultValue `1` */
|
1124
|
-
width: number;
|
1125
|
-
};
|
1126
|
-
|
1127
|
-
types: {
|
1128
|
-
/** @defaultValue `'Circle'` */
|
1129
|
-
circle: string;
|
1130
|
-
|
1131
|
-
/** @defaultValue `'Cone'` */
|
1132
|
-
cone: string;
|
1133
|
-
|
1134
|
-
/** @defaultValue `'Rectangle'` */
|
1135
|
-
rect: string;
|
1136
|
-
|
1137
|
-
/** @defaultValue `'Ray'` */
|
1138
|
-
ray: string;
|
1139
|
-
};
|
1140
|
-
|
1141
|
-
/** @defaultValue `MeasuredTemplateDocument` */
|
1142
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof MeasuredTemplateDocument>;
|
1143
|
-
|
1144
|
-
/** @defaultValue `MeasuredTemplate` */
|
1145
|
-
objectClass: ConfiguredObjectClassOrDefault<typeof MeasuredTemplate>;
|
1146
|
-
|
1147
|
-
/** @defaultValue `TemplateLayer` */
|
1148
|
-
layerClass: typeof TemplateLayer;
|
1149
|
-
};
|
1150
|
-
|
1151
|
-
/**
|
1152
|
-
* Configuration for the Note embedded document type and its representation on the game Canvas
|
1153
|
-
*/
|
1154
|
-
Note: {
|
1155
|
-
/** @defaultValue `NoteDocument` */
|
1156
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof NoteDocument>;
|
1157
|
-
|
1158
|
-
/** @defaultValue `Note` */
|
1159
|
-
objectClass: ConfiguredObjectClassOrDefault<typeof Note>;
|
1160
|
-
|
1161
|
-
/** @defaultValue `NotesLayer` */
|
1162
|
-
layerClass: typeof NotesLayer;
|
1163
|
-
};
|
1164
|
-
|
1165
|
-
/**
|
1166
|
-
* Configuration for the Tile embedded document type and its representation on the game Canvas
|
1167
|
-
*/
|
1168
|
-
Tile: {
|
1169
|
-
/** @defaultValue `TileDocument` */
|
1170
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof TileDocument>;
|
1171
|
-
|
1172
|
-
/** @defaultValue `Tile` */
|
1173
|
-
objectClass: ConfiguredObjectClassOrDefault<typeof Tile>;
|
1174
|
-
|
1175
|
-
/** @defaultValue `BackgroundLayer` */
|
1176
|
-
layerClass: typeof BackgroundLayer;
|
1177
|
-
};
|
1178
|
-
|
1179
|
-
/**
|
1180
|
-
* Configuration for the Token embedded document type and its representation on the game Canvas
|
1181
|
-
*/
|
1182
|
-
Token: {
|
1183
|
-
/** @defaultValue `TokenDocument` */
|
1184
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof TokenDocument>;
|
1185
|
-
|
1186
|
-
/** @defaultValue `Token` */
|
1187
|
-
objectClass: ConfiguredObjectClassOrDefault<typeof Token>;
|
1188
|
-
|
1189
|
-
/** @defaultValue `TokenLayer` */
|
1190
|
-
layerClass: typeof TokenLayer;
|
1191
|
-
|
1192
|
-
/** @defaultValue `TokenConfig` */
|
1193
|
-
prototypeSheetClass: ConstructorOf<TokenConfig>;
|
1194
|
-
};
|
1195
|
-
|
1196
|
-
/**
|
1197
|
-
* Configuration for the Wall embedded document type and its representation on the game Canvas
|
1198
|
-
*/
|
1199
|
-
Wall: {
|
1200
|
-
/** @defaultValue `WallDocument` */
|
1201
|
-
documentClass: ConfiguredDocumentClassOrDefault<typeof WallDocument>;
|
1202
|
-
|
1203
|
-
/** @defaultValue `Wall` */
|
1204
|
-
objectClass: ConfiguredObjectClassOrDefault<typeof Wall>;
|
1205
|
-
|
1206
|
-
/** @defaultValue `WallsLayer` */
|
1207
|
-
layerClass: typeof WallsLayer;
|
1208
|
-
};
|
1209
|
-
|
1210
|
-
/**
|
1211
|
-
* Default configuration options for TinyMCE editors
|
1212
|
-
*/
|
1213
|
-
TinyMCE: tinyMCE.RawEditorSettings;
|
1214
|
-
|
1215
|
-
/**
|
1216
|
-
* Configuration for the WebRTC implementation class
|
1217
|
-
*/
|
1218
|
-
WebRTC: {
|
1219
|
-
/** @defaultValue `SimplePeerAVClient` */
|
1220
|
-
clientClass: PropertyTypeOrFallback<WebRTCConfig, 'clientClass', typeof AVClient>;
|
1221
|
-
|
1222
|
-
/** @defaultValue `50` */
|
1223
|
-
detectPeerVolumeInterval: number;
|
1224
|
-
|
1225
|
-
/** @defaultValue `20` */
|
1226
|
-
detectSelfVolumeInterval: number;
|
1227
|
-
|
1228
|
-
/** @defaultValue `25` */
|
1229
|
-
emitVolumeInterval: number;
|
1230
|
-
|
1231
|
-
/** @defaultValue `2` */
|
1232
|
-
speakingThresholdEvents: number;
|
1233
|
-
|
1234
|
-
/** @defaultValue `10` */
|
1235
|
-
speakingHistoryLength: number;
|
1236
|
-
|
1237
|
-
/** @defaultValue `8` */
|
1238
|
-
connectedUserPollIntervalS: number;
|
1239
|
-
};
|
1240
|
-
|
1241
|
-
/**
|
1242
|
-
* Configure the Application classes used to render various core UI elements in the application
|
1243
|
-
*/
|
1244
|
-
ui: CONFIG.UI;
|
1245
|
-
}
|
1246
|
-
|
1247
|
-
namespace CONFIG {
|
1248
|
-
interface UI {
|
1249
|
-
/** @defaultValue `MainMenu` */
|
1250
|
-
menu: ConstructorOf<MainMenu>;
|
1251
|
-
|
1252
|
-
/** @defaultValue `Sidebar` */
|
1253
|
-
sidebar: ConstructorOf<Sidebar>;
|
1254
|
-
|
1255
|
-
/** @defaultValue `Pause` */
|
1256
|
-
pause: ConstructorOf<Pause>;
|
1257
|
-
|
1258
|
-
/** @defaultValue `SceneNavigation` */
|
1259
|
-
nav: ConstructorOf<SceneNavigation>;
|
1260
|
-
|
1261
|
-
/** @defaultValue `Notifications` */
|
1262
|
-
notifications: ConstructorOf<Notifications>;
|
1263
|
-
|
1264
|
-
/** @defaultValue `ActorDirectory` */
|
1265
|
-
actors: ConstructorOf<ActorDirectory>;
|
1266
|
-
|
1267
|
-
/** @defaultValue `CardsDirectory` */
|
1268
|
-
cards: ConstructorOf<CardsDirectory>;
|
1269
|
-
|
1270
|
-
/** @defaultValue `ChatLog` */
|
1271
|
-
chat: ConstructorOf<ChatLog>;
|
1272
|
-
|
1273
|
-
/** @defaultValue `CombatTracker` */
|
1274
|
-
combat: ConstructorOf<CombatTracker>;
|
1275
|
-
|
1276
|
-
/** @defaultValue `CompendiumDirectory` */
|
1277
|
-
compendium: ConstructorOf<CompendiumDirectory>;
|
1278
|
-
|
1279
|
-
/** @defaultValue `SceneControls` */
|
1280
|
-
controls: ConstructorOf<SceneControls>;
|
1281
|
-
|
1282
|
-
/** @defaultValue `Hotbar` */
|
1283
|
-
hotbar: ConstructorOf<Hotbar>;
|
1284
|
-
|
1285
|
-
/** @defaultValue `ItemDirectory` */
|
1286
|
-
items: ConstructorOf<ItemDirectory>;
|
1287
|
-
|
1288
|
-
/** @defaultValue `JournalDirectory` */
|
1289
|
-
journal: ConstructorOf<JournalDirectory>;
|
1290
|
-
|
1291
|
-
/** @defaultValue `MacroDirectory` */
|
1292
|
-
macros: ConstructorOf<MacroDirectory>;
|
1293
|
-
|
1294
|
-
/** @defaultValue `PlayerList` */
|
1295
|
-
players: ConstructorOf<PlayerList>;
|
1296
|
-
|
1297
|
-
/** @defaultValue `PlaylistDirectory` */
|
1298
|
-
playlists: ConstructorOf<PlaylistDirectory>;
|
1299
|
-
|
1300
|
-
/** @defaultValue `SceneDirectory` */
|
1301
|
-
scenes: ConstructorOf<SceneDirectory>;
|
1302
|
-
|
1303
|
-
/** @defaultValue `Settings` */
|
1304
|
-
settings: ConstructorOf<Settings>;
|
1305
|
-
|
1306
|
-
/** @defaultValue `RollTableDirectory` */
|
1307
|
-
tables: ConstructorOf<RollTableDirectory>;
|
1308
|
-
|
1309
|
-
/** @defaultValue `CameraViews` */
|
1310
|
-
webrtc: ConstructorOf<CameraViews>;
|
1311
|
-
}
|
1312
|
-
|
1313
|
-
namespace Canvas {
|
1314
|
-
interface Groups {
|
1315
|
-
/** @defaultValue `{ groupClass: PrimaryCanvasGroup }` */
|
1316
|
-
primary: CONFIG.Canvas.GroupDefinition<typeof PrimaryCanvasGroup>;
|
1317
|
-
|
1318
|
-
/** @defaultValue `{ groupClass: EffectsCanvasGroup }` */
|
1319
|
-
effects: CONFIG.Canvas.GroupDefinition<typeof EffectsCanvasGroup>;
|
1320
|
-
|
1321
|
-
/** @defaultValue `{ groupClass: InterfaceCanvasGroup }` */
|
1322
|
-
interface: CONFIG.Canvas.GroupDefinition<typeof InterfaceCanvasGroup>;
|
1323
|
-
|
1324
|
-
[key: string]: CONFIG.Canvas.GroupDefinition;
|
1325
|
-
}
|
1326
|
-
|
1327
|
-
interface Layers {
|
1328
|
-
/** @defaultValue `{ layerClass: BackgroundLayer, group: "primary" }` */
|
1329
|
-
background: LayerDefinition<typeof BackgroundLayer>;
|
1330
|
-
|
1331
|
-
/** @defaultValue `{ layerClass: DrawingsLayer, group: "primary" }` */
|
1332
|
-
drawings: LayerDefinition<typeof DrawingsLayer>;
|
1333
|
-
|
1334
|
-
/** @defaultValue `{ layerClass: GridLayer, group: "primary" }` */
|
1335
|
-
grid: LayerDefinition<typeof GridLayer>;
|
1336
|
-
|
1337
|
-
/** @defaultValue `{ layerClass: TemplateLayer, group: "primary" }` */
|
1338
|
-
templates: LayerDefinition<typeof TemplateLayer>;
|
1339
|
-
|
1340
|
-
/** @defaultValue `{ layerClass: TokenLayer, group: "primary" }` */
|
1341
|
-
tokens: LayerDefinition<typeof TokenLayer>;
|
1342
|
-
|
1343
|
-
/** @defaultValue `{ layerClass: ForegroundLayer, group: "primary" }` */
|
1344
|
-
foreground: LayerDefinition<typeof ForegroundLayer>;
|
1345
|
-
|
1346
|
-
/** @defaultValue `{ layerClass: WallsLayer, group: "effects" }` */
|
1347
|
-
walls: LayerDefinition<typeof WallsLayer>;
|
1348
|
-
|
1349
|
-
/** @defaultValue `{ layerClass: LightingLayer, group: "effects" }` */
|
1350
|
-
lighting: LayerDefinition<typeof LightingLayer>;
|
1351
|
-
|
1352
|
-
/** @defaultValue `{ layerClass: WeatherLayer, group: "effects" }` */
|
1353
|
-
weather: LayerDefinition<typeof WeatherLayer>;
|
1354
|
-
|
1355
|
-
/** @defaultValue `{ layerClass: SightLayer, group: "effects" }` */
|
1356
|
-
sight: LayerDefinition<typeof SightLayer>;
|
1357
|
-
|
1358
|
-
/** @defaultValue `{ layerClass: SoundsLayer, group: "interface" }` */
|
1359
|
-
sounds: LayerDefinition<typeof SoundsLayer>;
|
1360
|
-
|
1361
|
-
/** @defaultValue `{ layerClass: NotesLayer, group: "interface" }` */
|
1362
|
-
notes: LayerDefinition<typeof NotesLayer>;
|
1363
|
-
|
1364
|
-
/** @defaultValue `{ layerClass: ControlsLayer, group: "interface" }` */
|
1365
|
-
controls: LayerDefinition<typeof ControlsLayer>;
|
1366
|
-
|
1367
|
-
[key: string]: LayerDefinition;
|
1368
|
-
}
|
1369
|
-
|
1370
|
-
interface GroupDefinition<GroupClass extends CanvasGroupConstructor = CanvasGroupConstructor> {
|
1371
|
-
groupClass: GroupClass;
|
1372
|
-
}
|
1373
|
-
|
1374
|
-
interface LayerDefinition<LayerClass extends ConstructorOf<CanvasLayer> = ConstructorOf<CanvasLayer>> {
|
1375
|
-
layerClass: LayerClass;
|
1376
|
-
group: keyof CONFIG['Canvas']['groups'];
|
1377
|
-
}
|
1378
|
-
|
1379
|
-
type LightAnimationFunction = (
|
1380
|
-
this: PointSource,
|
1381
|
-
dt: number,
|
1382
|
-
properties?: { speed?: number; intensity?: number; reverse?: false }
|
1383
|
-
) => void;
|
1384
|
-
}
|
1385
|
-
|
1386
|
-
namespace Cards {
|
1387
|
-
interface Preset {
|
1388
|
-
type: string;
|
1389
|
-
label: string;
|
1390
|
-
src: string;
|
1391
|
-
}
|
1392
|
-
}
|
1393
|
-
|
1394
|
-
namespace Dice {
|
1395
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
1396
|
-
interface RollModes extends Record<foundry.CONST.DICE_ROLL_MODES, string> {}
|
1397
|
-
}
|
1398
|
-
}
|
1399
|
-
|
1400
|
-
const CONFIG: CONFIG;
|
1401
|
-
}
|
1402
|
-
|
1403
|
-
type ConfiguredDocumentClassOrDefault<Fallback extends DocumentConstructor> =
|
1404
|
-
Fallback['metadata']['name'] extends keyof DocumentClassConfig
|
1405
|
-
? DocumentClassConfig[Fallback['metadata']['name']]
|
1406
|
-
: Fallback;
|
1407
|
-
|
1408
|
-
type ConfiguredObjectClassOrDefault<Fallback extends PlaceableObjectConstructor> =
|
1409
|
-
Fallback['embeddedName'] extends keyof PlaceableObjectClassConfig
|
1410
|
-
? PlaceableObjectClassConfig[Fallback['embeddedName']]
|
1411
|
-
: Fallback;
|
1412
|
-
|
1413
|
-
type PixiContainerConstructor = typeof PIXI.Container;
|
1414
|
-
interface CanvasGroup extends PIXI.Container {
|
1415
|
-
sortableChildren: boolean;
|
1416
|
-
}
|
1417
|
-
|
1418
|
-
interface CanvasGroupConstructor extends PixiContainerConstructor {
|
1419
|
-
new (): CanvasGroup;
|
1420
|
-
|
1421
|
-
/**
|
1422
|
-
* The name of this canvas group
|
1423
|
-
*/
|
1424
|
-
groupName: string;
|
1425
|
-
}
|