@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
@@ -0,0 +1,2054 @@
|
|
1
|
+
import type { ValueOf } from "../../types/utils.d.mts";
|
2
|
+
|
3
|
+
/**
|
4
|
+
* The shortened software name
|
5
|
+
*/
|
6
|
+
export declare const vtt: "Foundry VTT";
|
7
|
+
|
8
|
+
/**
|
9
|
+
* The full software name
|
10
|
+
*/
|
11
|
+
export declare const VTT: "Foundry Virtual Tabletop";
|
12
|
+
|
13
|
+
/**
|
14
|
+
* The software website URL
|
15
|
+
*/
|
16
|
+
export declare const WEBSITE_URL: "https://foundryvtt.com";
|
17
|
+
|
18
|
+
/**
|
19
|
+
* The serverless API URL
|
20
|
+
*/
|
21
|
+
export declare const WEBSITE_API_URL: "https://api.foundryvtt.com";
|
22
|
+
|
23
|
+
/**
|
24
|
+
* An ASCII greeting displayed to the client
|
25
|
+
*/
|
26
|
+
export const ASCII = `_______________________________________________________________
|
27
|
+
_____ ___ _ _ _ _ ____ ______ __ __ _______ _____
|
28
|
+
| ___/ _ \\| | | | \\ | | _ \\| _ \\ \\ / / \\ \\ / |_ _|_ _|
|
29
|
+
| |_ | | | | | | | \\| | | | | |_) \\ V / \\ \\ / / | | | |
|
30
|
+
| _|| |_| | |_| | |\\ | |_| | _ < | | \\ V / | | | |
|
31
|
+
|_| \\___/ \\___/|_| \\_|____/|_| \\_\\|_| \\_/ |_| |_|
|
32
|
+
===============================================================`;
|
33
|
+
|
34
|
+
/**
|
35
|
+
* Define the allowed ActiveEffect application modes
|
36
|
+
* @remarks (by Foundry) Other arbitrary mode numbers can be used by systems and modules to identify special behaviors and are ignored
|
37
|
+
*/
|
38
|
+
export declare const ACTIVE_EFFECT_MODES: Readonly<{
|
39
|
+
/**
|
40
|
+
* Used to denote that the handling of the effect is programmatically provided by a system or module.
|
41
|
+
*/
|
42
|
+
CUSTOM: 0;
|
43
|
+
|
44
|
+
/**
|
45
|
+
* Multiplies a numeric base value by the numeric effect value
|
46
|
+
* @example
|
47
|
+
* 2 (base value) * 3 (effect value) = 6 (derived value)
|
48
|
+
*/
|
49
|
+
MULTIPLY: 1;
|
50
|
+
|
51
|
+
/**
|
52
|
+
* Adds a numeric base value to a numeric effect value, or concatenates strings
|
53
|
+
* @example
|
54
|
+
* 2 (base value) + 3 (effect value) = 5 (derived value)
|
55
|
+
* @example
|
56
|
+
* "Hello" (base value) + " World" (effect value) = "Hello World"
|
57
|
+
*/
|
58
|
+
ADD: 2;
|
59
|
+
|
60
|
+
/**
|
61
|
+
* Keeps the lower value of the base value and the effect value
|
62
|
+
* @example
|
63
|
+
* 2 (base value), 0 (effect value) = 0 (derived value)
|
64
|
+
* @example
|
65
|
+
* 2 (base value), 3 (effect value) = 2 (derived value)
|
66
|
+
*/
|
67
|
+
DOWNGRADE: 3;
|
68
|
+
|
69
|
+
/**
|
70
|
+
* Keeps the greater value of the base value and the effect value
|
71
|
+
* @example
|
72
|
+
* 2 (base value), 4 (effect value) = 4 (derived value)
|
73
|
+
* @example
|
74
|
+
* 2 (base value), 1 (effect value) = 2 (derived value)
|
75
|
+
*/
|
76
|
+
UPGRADE: 4;
|
77
|
+
|
78
|
+
/**
|
79
|
+
* Directly replaces the base value with the effect value
|
80
|
+
* @example
|
81
|
+
* 2 (base value), 4 (effect value) = 4 (derived value)
|
82
|
+
*/
|
83
|
+
OVERRIDE: 5;
|
84
|
+
}>;
|
85
|
+
export type ACTIVE_EFFECT_MODES = ValueOf<typeof ACTIVE_EFFECT_MODES>;
|
86
|
+
|
87
|
+
/**
|
88
|
+
* Define the string name used for the base document type when specific sub-types are not defined by the system
|
89
|
+
*/
|
90
|
+
export declare const BASE_DOCUMENT_TYPE: "base";
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Define the methods by which a Card can be drawn from a Cards stack
|
94
|
+
* TOP and FIRST are synonymous, as are BOTTOM and LAST.
|
95
|
+
*/
|
96
|
+
export declare const CARD_DRAW_MODES: Readonly<{
|
97
|
+
/**
|
98
|
+
* Draw the first card from the stack
|
99
|
+
* Synonymous with @see CARD_DRAW_MODES.TOP
|
100
|
+
*/
|
101
|
+
FIRST: 0;
|
102
|
+
|
103
|
+
/**
|
104
|
+
* Draw the top card from the stack
|
105
|
+
* Synonymous with @see CARD_DRAW_MODES.FIRST
|
106
|
+
*/
|
107
|
+
TOP: 0;
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Draw the last card from the stack
|
111
|
+
* Synonymous with @see CARD_DRAW_MODES.BOTTOM
|
112
|
+
*/
|
113
|
+
LAST: 1;
|
114
|
+
|
115
|
+
/**
|
116
|
+
* Draw the bottom card from the stack
|
117
|
+
* Synonymous with @see CARD_DRAW_MODES.LAST
|
118
|
+
*/
|
119
|
+
BOTTOM: 1;
|
120
|
+
|
121
|
+
/**
|
122
|
+
* Draw a random card from the stack
|
123
|
+
*/
|
124
|
+
RANDOM: 2;
|
125
|
+
}>;
|
126
|
+
export type CARD_DRAW_MODES = ValueOf<typeof CARD_DRAW_MODES>;
|
127
|
+
|
128
|
+
/**
|
129
|
+
* An enumeration of canvas performance modes.
|
130
|
+
*/
|
131
|
+
export declare const CANVAS_PERFORMANCE_MODES: Readonly<{
|
132
|
+
LOW: 0;
|
133
|
+
MED: 1;
|
134
|
+
HIGH: 2;
|
135
|
+
MAX: 3;
|
136
|
+
}>;
|
137
|
+
export type CANVAS_PERFORMANCE_MODES = ValueOf<typeof CANVAS_PERFORMANCE_MODES>;
|
138
|
+
|
139
|
+
/**
|
140
|
+
* Valid Chat Message styles which affect how the message is presented in the chat log.
|
141
|
+
*/
|
142
|
+
export declare const CHAT_MESSAGE_STYLES: Readonly<{
|
143
|
+
/**
|
144
|
+
* An uncategorized chat message
|
145
|
+
*/
|
146
|
+
OTHER: 0;
|
147
|
+
|
148
|
+
/**
|
149
|
+
* The message is spoken out of character (OOC).
|
150
|
+
* OOC messages will be outlined by the player's color to make them more easily recognizable.
|
151
|
+
*/
|
152
|
+
OOC: 1;
|
153
|
+
|
154
|
+
/**
|
155
|
+
* The message is spoken by an associated character.
|
156
|
+
*/
|
157
|
+
IC: 2;
|
158
|
+
|
159
|
+
/**
|
160
|
+
* The message is an emote performed by the selected character.
|
161
|
+
* Entering "/emote waves his hand." while controlling a character named Simon will send the message, "Simon waves his hand."
|
162
|
+
*/
|
163
|
+
EMOTE: 3;
|
164
|
+
|
165
|
+
/**
|
166
|
+
* @deprecated since v12
|
167
|
+
*
|
168
|
+
* @remarks Define rolls directly in ChatMessage#rolls instead.
|
169
|
+
*/
|
170
|
+
ROLL: 0;
|
171
|
+
|
172
|
+
/**
|
173
|
+
* @deprecated since v12
|
174
|
+
*
|
175
|
+
* @remarks Define whispers directly in ChatMessage#whisper instead.
|
176
|
+
*/
|
177
|
+
WHISPER: 0;
|
178
|
+
}>;
|
179
|
+
export type CHAT_MESSAGE_STYLES = ValueOf<typeof CHAT_MESSAGE_STYLES>;
|
180
|
+
|
181
|
+
/**
|
182
|
+
* Define the set of languages which have built-in support in the core software
|
183
|
+
*/
|
184
|
+
export declare const CORE_SUPPORTED_LANGUAGES: readonly ["en"];
|
185
|
+
|
186
|
+
/**
|
187
|
+
* Configure the severity of compatibility warnings.
|
188
|
+
*/
|
189
|
+
export declare const COMPATIBILITY_MODES: Readonly<{
|
190
|
+
/**
|
191
|
+
* Nothing will be logged
|
192
|
+
*/
|
193
|
+
SILENT: 0;
|
194
|
+
|
195
|
+
/**
|
196
|
+
* A message will be logged at the "warn" level
|
197
|
+
*/
|
198
|
+
WARNING: 1;
|
199
|
+
|
200
|
+
/**
|
201
|
+
* A message will be logged at the "error" level
|
202
|
+
*/
|
203
|
+
ERROR: 2;
|
204
|
+
|
205
|
+
/**
|
206
|
+
* An Error will be thrown
|
207
|
+
*/
|
208
|
+
FAILURE: 3;
|
209
|
+
}>;
|
210
|
+
export type COMPATIBILITY_MODES = ValueOf<typeof COMPATIBILITY_MODES>;
|
211
|
+
|
212
|
+
/**
|
213
|
+
* The lighting illumination levels which are supported.
|
214
|
+
*/
|
215
|
+
export declare const LIGHTING_LEVELS: Readonly<{
|
216
|
+
DARKNESS: -2;
|
217
|
+
HALFDARK: -1;
|
218
|
+
UNLIT: 0;
|
219
|
+
DIM: 1;
|
220
|
+
BRIGHT: 2;
|
221
|
+
BRIGHTEST: 3;
|
222
|
+
}>;
|
223
|
+
export type LIGHTING_LEVELS = ValueOf<typeof LIGHTING_LEVELS>;
|
224
|
+
|
225
|
+
/**
|
226
|
+
* The CSS themes which are currently supported for the V11 Setup menu.
|
227
|
+
*/
|
228
|
+
export declare const CSS_THEMES: Readonly<{
|
229
|
+
foundry: "THEME.foundry";
|
230
|
+
fantasy: "THEME.fantasy";
|
231
|
+
scifi: "THEME.scifi";
|
232
|
+
}>;
|
233
|
+
export type CSS_THEMES = ValueOf<typeof CSS_THEMES>;
|
234
|
+
|
235
|
+
/**
|
236
|
+
* The default artwork used for Token images if none is provided
|
237
|
+
*/
|
238
|
+
export declare const DEFAULT_TOKEN: "icons/svg/mystery-man.svg";
|
239
|
+
|
240
|
+
/**
|
241
|
+
* Define the allowed Document class types.
|
242
|
+
*/
|
243
|
+
export declare const PRIMARY_DOCUMENT_TYPES: readonly [
|
244
|
+
"Actor",
|
245
|
+
"Adventure",
|
246
|
+
"Cards",
|
247
|
+
"ChatMessage",
|
248
|
+
"Combat",
|
249
|
+
"FogExploration",
|
250
|
+
"Folder",
|
251
|
+
"Item",
|
252
|
+
"JournalEntry",
|
253
|
+
"Macro",
|
254
|
+
"Playlist",
|
255
|
+
"RollTable",
|
256
|
+
"Scene",
|
257
|
+
"Setting",
|
258
|
+
"User",
|
259
|
+
];
|
260
|
+
export type PRIMARY_DOCUMENT_TYPES = ValueOf<typeof PRIMARY_DOCUMENT_TYPES>;
|
261
|
+
|
262
|
+
/**
|
263
|
+
* The embedded Document types.
|
264
|
+
*/
|
265
|
+
export const EMBEDDED_DOCUMENT_TYPES: readonly [
|
266
|
+
"ActiveEffect",
|
267
|
+
"ActorDelta",
|
268
|
+
"AmbientLight",
|
269
|
+
"AmbientSound",
|
270
|
+
"Card",
|
271
|
+
"Combatant",
|
272
|
+
"Drawing",
|
273
|
+
"Item",
|
274
|
+
"JournalEntryPage",
|
275
|
+
"MeasuredTemplate",
|
276
|
+
"Note",
|
277
|
+
"PlaylistSound",
|
278
|
+
"Region",
|
279
|
+
"RegionBehavior",
|
280
|
+
"TableResult",
|
281
|
+
"Tile",
|
282
|
+
"Token",
|
283
|
+
"Wall",
|
284
|
+
];
|
285
|
+
export type EMBEDDED_DOCUMENT_TYPES = ValueOf<typeof EMBEDDED_DOCUMENT_TYPES>;
|
286
|
+
|
287
|
+
/**
|
288
|
+
* A listing of all valid Document types, both primary and embedded.
|
289
|
+
*/
|
290
|
+
export const ALL_DOCUMENT_TYPES: ALL_DOCUMENT_TYPES[];
|
291
|
+
export type ALL_DOCUMENT_TYPES = PRIMARY_DOCUMENT_TYPES | EMBEDDED_DOCUMENT_TYPES;
|
292
|
+
|
293
|
+
/**
|
294
|
+
* The allowed primary Document types which may exist within a World.
|
295
|
+
*/
|
296
|
+
export declare const WORLD_DOCUMENT_TYPES: readonly [
|
297
|
+
"Actor",
|
298
|
+
"Cards",
|
299
|
+
"ChatMessage",
|
300
|
+
"Combat",
|
301
|
+
"FogExploration",
|
302
|
+
"Folder",
|
303
|
+
"Item",
|
304
|
+
"JournalEntry",
|
305
|
+
"Macro",
|
306
|
+
"Playlist",
|
307
|
+
"RollTable",
|
308
|
+
"Scene",
|
309
|
+
"Setting",
|
310
|
+
"User",
|
311
|
+
];
|
312
|
+
export type WORLD_DOCUMENT_TYPES = ValueOf<typeof WORLD_DOCUMENT_TYPES>;
|
313
|
+
|
314
|
+
/**
|
315
|
+
* The allowed primary Document types which may exist within a Compendium pack.
|
316
|
+
*/
|
317
|
+
export declare const COMPENDIUM_DOCUMENT_TYPES: readonly [
|
318
|
+
"Actor",
|
319
|
+
"Adventure",
|
320
|
+
"Cards",
|
321
|
+
"Item",
|
322
|
+
"JournalEntry",
|
323
|
+
"Macro",
|
324
|
+
"Playlist",
|
325
|
+
"RollTable",
|
326
|
+
"Scene",
|
327
|
+
];
|
328
|
+
export type COMPENDIUM_DOCUMENT_TYPES = ValueOf<typeof COMPENDIUM_DOCUMENT_TYPES>;
|
329
|
+
|
330
|
+
/**
|
331
|
+
* Define the allowed ownership levels for a Document.
|
332
|
+
* Each level is assigned a value in ascending order.
|
333
|
+
* Higher levels grant more permissions.
|
334
|
+
* @see https://foundryvtt.com/article/users/
|
335
|
+
*/
|
336
|
+
export declare const DOCUMENT_OWNERSHIP_LEVELS: Readonly<{
|
337
|
+
/**
|
338
|
+
* The User inherits permissions from the parent Folder.
|
339
|
+
*/
|
340
|
+
INHERIT: -1;
|
341
|
+
|
342
|
+
/**
|
343
|
+
* Restricts the associated Document so that it may not be seen by this User.
|
344
|
+
*/
|
345
|
+
NONE: 0;
|
346
|
+
|
347
|
+
/**
|
348
|
+
* Allows the User to interact with the Document in basic ways, allowing them to see it in sidebars and see only limited aspects of its contents. The limits of this interaction are defined by the game system being used.
|
349
|
+
*/
|
350
|
+
LIMITED: 1;
|
351
|
+
|
352
|
+
/**
|
353
|
+
* Allows the User to view this Document as if they were owner, but prevents them from making any changes to it.
|
354
|
+
*/
|
355
|
+
OBSERVER: 2;
|
356
|
+
|
357
|
+
/**
|
358
|
+
* Allows the User to view and make changes to the Document as its owner. Owned documents cannot be deleted by anyone other than a gamemaster level User.
|
359
|
+
*/
|
360
|
+
OWNER: 3;
|
361
|
+
}>;
|
362
|
+
export type DOCUMENT_OWNERSHIP_LEVELS = ValueOf<typeof DOCUMENT_OWNERSHIP_LEVELS>;
|
363
|
+
|
364
|
+
/**
|
365
|
+
* Meta ownership levels that are used in the UI but never stored.
|
366
|
+
*/
|
367
|
+
export declare const DOCUMENT_META_OWNERSHIP_LEVELS: Readonly<{
|
368
|
+
DEFAULT: -20;
|
369
|
+
NOCHANGE: -10;
|
370
|
+
}>;
|
371
|
+
export type DOCUMENT_META_OWNERSHIP_LEVELS = ValueOf<typeof DOCUMENT_META_OWNERSHIP_LEVELS>;
|
372
|
+
|
373
|
+
/**
|
374
|
+
* Define the allowed Document types which may be dynamically linked in chat
|
375
|
+
*/
|
376
|
+
export declare const DOCUMENT_LINK_TYPES: readonly [
|
377
|
+
"Actor",
|
378
|
+
"Cards",
|
379
|
+
"Item",
|
380
|
+
"Scene",
|
381
|
+
"JournalEntry",
|
382
|
+
"Macro",
|
383
|
+
"RollTable",
|
384
|
+
"PlaylistSound",
|
385
|
+
];
|
386
|
+
export type DOCUMENT_LINK_TYPES = ValueOf<typeof DOCUMENT_LINK_TYPES>;
|
387
|
+
|
388
|
+
/**
|
389
|
+
* The supported dice roll visibility modes
|
390
|
+
* @see https://foundryvtt.com/article/dice/
|
391
|
+
*/
|
392
|
+
export declare const DICE_ROLL_MODES: Readonly<{
|
393
|
+
/**
|
394
|
+
* This roll is visible to all players.
|
395
|
+
*/
|
396
|
+
PUBLIC: "publicroll";
|
397
|
+
|
398
|
+
/**
|
399
|
+
* Rolls of this type are only visible to the player that rolled and any Game Master users.
|
400
|
+
*/
|
401
|
+
PRIVATE: "gmroll";
|
402
|
+
|
403
|
+
/**
|
404
|
+
* A private dice roll only visible to Game Master users. The rolling player will not see the result of their own roll.
|
405
|
+
*/
|
406
|
+
BLIND: "blindroll";
|
407
|
+
|
408
|
+
/**
|
409
|
+
* A private dice roll which is only visible to the user who rolled it.
|
410
|
+
*/
|
411
|
+
SELF: "selfroll";
|
412
|
+
}>;
|
413
|
+
export type DICE_ROLL_MODES = ValueOf<typeof DICE_ROLL_MODES>;
|
414
|
+
|
415
|
+
/**
|
416
|
+
* The allowed fill types which a Drawing object may display
|
417
|
+
* @see https://foundryvtt.com/article/drawings/
|
418
|
+
*/
|
419
|
+
export declare const DRAWING_FILL_TYPES: Readonly<{
|
420
|
+
/**
|
421
|
+
* The drawing is not filled
|
422
|
+
*/
|
423
|
+
NONE: 0;
|
424
|
+
|
425
|
+
/**
|
426
|
+
* The drawing is filled with a solid color
|
427
|
+
*/
|
428
|
+
SOLID: 1;
|
429
|
+
|
430
|
+
/**
|
431
|
+
* The drawing is filled with a tiled image pattern
|
432
|
+
*/
|
433
|
+
PATTERN: 2;
|
434
|
+
}>;
|
435
|
+
export type DRAWING_FILL_TYPES = ValueOf<typeof DRAWING_FILL_TYPES>;
|
436
|
+
|
437
|
+
/**
|
438
|
+
* Define the allowed Document types which Folders may contain
|
439
|
+
*/
|
440
|
+
export declare const FOLDER_DOCUMENT_TYPES: readonly [
|
441
|
+
"Actor",
|
442
|
+
"Adventure",
|
443
|
+
"Item",
|
444
|
+
"Scene",
|
445
|
+
"JournalEntry",
|
446
|
+
"Playlist",
|
447
|
+
"RollTable",
|
448
|
+
"Cards",
|
449
|
+
"Macro",
|
450
|
+
"Compendium",
|
451
|
+
];
|
452
|
+
export type FOLDER_DOCUMENT_TYPES = ValueOf<typeof FOLDER_DOCUMENT_TYPES>;
|
453
|
+
|
454
|
+
/**
|
455
|
+
* The maximum allowed level of depth for Folder nesting
|
456
|
+
*/
|
457
|
+
export declare const FOLDER_MAX_DEPTH: 4;
|
458
|
+
|
459
|
+
/**
|
460
|
+
* A list of allowed game URL names
|
461
|
+
*/
|
462
|
+
export declare const GAME_VIEWS: readonly ["game", "stream"];
|
463
|
+
|
464
|
+
/**
|
465
|
+
* The directions of movement.
|
466
|
+
*/
|
467
|
+
export declare const MOVEMENT_DIRECTIONS: Readonly<{
|
468
|
+
UP: 0x1;
|
469
|
+
DOWN: 0x2;
|
470
|
+
LEFT: 0x4;
|
471
|
+
RIGHT: 0x8;
|
472
|
+
UP_LEFT: 0x1 | 0x4;
|
473
|
+
UP_RIGHT: 0x1 | 0x8;
|
474
|
+
DOWN_LEFT: 0x2 | 0x4;
|
475
|
+
DOWN_RIGHT: 0x2 | 0x8;
|
476
|
+
}>;
|
477
|
+
export type MOVEMENT_DIRECTIONS = ValueOf<typeof MOVEMENT_DIRECTIONS>;
|
478
|
+
|
479
|
+
/**
|
480
|
+
* The minimum allowed grid size which is supported by the software
|
481
|
+
*/
|
482
|
+
export declare const GRID_MIN_SIZE: 20;
|
483
|
+
|
484
|
+
/**
|
485
|
+
* The allowed Grid types which are supported by the software
|
486
|
+
* @see https://foundryvtt.com/article/scenes/
|
487
|
+
*/
|
488
|
+
export declare const GRID_TYPES: Readonly<{
|
489
|
+
/**
|
490
|
+
* No fixed grid is used on this Scene allowing free-form point-to-point measurement without grid lines.
|
491
|
+
*/
|
492
|
+
GRIDLESS: 0;
|
493
|
+
|
494
|
+
/**
|
495
|
+
* A square grid is used with width and height of each grid space equal to the chosen grid size.
|
496
|
+
*/
|
497
|
+
SQUARE: 1;
|
498
|
+
|
499
|
+
/**
|
500
|
+
* A row-wise hexagon grid (pointy-topped) where odd-numbered rows are offset.
|
501
|
+
*/
|
502
|
+
HEXODDR: 2;
|
503
|
+
|
504
|
+
/**
|
505
|
+
* A row-wise hexagon grid (pointy-topped) where even-numbered rows are offset.
|
506
|
+
*/
|
507
|
+
HEXEVENR: 3;
|
508
|
+
|
509
|
+
/**
|
510
|
+
* A column-wise hexagon grid (flat-topped) where odd-numbered columns are offset.
|
511
|
+
*/
|
512
|
+
HEXODDQ: 4;
|
513
|
+
|
514
|
+
/**
|
515
|
+
* A column-wise hexagon grid (flat-topped) where even-numbered columns are offset.
|
516
|
+
*/
|
517
|
+
HEXEVENQ: 5;
|
518
|
+
}>;
|
519
|
+
export type GRID_TYPES = ValueOf<typeof GRID_TYPES>;
|
520
|
+
|
521
|
+
/**
|
522
|
+
* The different rules to define and measure diagonal distance/cost in a square grid.
|
523
|
+
* The description of each option refers to the distance/cost of moving diagonally relative to the distance/cost of a horizontal or vertical move.
|
524
|
+
*/
|
525
|
+
export declare const GRID_DIAGONALS: Readonly<{
|
526
|
+
/**
|
527
|
+
* The diagonal distance is 1. Diagonal movement costs the same as horizontal/vertical movement.
|
528
|
+
*/
|
529
|
+
EQUIDISTANT: 0;
|
530
|
+
|
531
|
+
/**
|
532
|
+
* The diagonal distance is √2. Diagonal movement costs √2 times as much as horizontal/vertical movement.
|
533
|
+
*/
|
534
|
+
EXACT: 1;
|
535
|
+
|
536
|
+
/**
|
537
|
+
* The diagonal distance is 1.5. Diagonal movement costs 1.5 times as much as horizontal/vertical movement.
|
538
|
+
*/
|
539
|
+
APPROXIMATE: 2;
|
540
|
+
|
541
|
+
/**
|
542
|
+
* The diagonal distance is 2. Diagonal movement costs 2 times as much as horizontal/vertical movement.
|
543
|
+
*/
|
544
|
+
RECTILINEAR: 3;
|
545
|
+
|
546
|
+
/**
|
547
|
+
* The diagonal distance alternates between 1 and 2 starting at 1.
|
548
|
+
* The first diagonal movement costs the same as horizontal/vertical movement
|
549
|
+
* The second diagonal movement costs 2 times as much as horizontal/vertical movement.
|
550
|
+
* And so on...
|
551
|
+
*/
|
552
|
+
ALTERNATING_1: 4;
|
553
|
+
|
554
|
+
/**
|
555
|
+
* The diagonal distance alternates between 2 and 1 starting at 2.
|
556
|
+
* The first diagonal movement costs 2 times as much as horizontal/vertical movement.
|
557
|
+
* The second diagonal movement costs the same as horizontal/vertical movement.
|
558
|
+
* And so on...
|
559
|
+
*/
|
560
|
+
ALTERNATING_2: 5;
|
561
|
+
|
562
|
+
/**
|
563
|
+
* The diagonal distance is ∞. Diagonal movement is not allowed/possible.
|
564
|
+
*/
|
565
|
+
ILLEGAL: 6;
|
566
|
+
}>;
|
567
|
+
export type GRID_DIAGONALS = ValueOf<typeof GRID_DIAGONALS>;
|
568
|
+
|
569
|
+
/**
|
570
|
+
* The grid snapping modes.
|
571
|
+
*/
|
572
|
+
export declare const GRID_SNAPPING_MODES: Readonly<{
|
573
|
+
/**
|
574
|
+
* Nearest center point.
|
575
|
+
*/
|
576
|
+
CENTER: 0x1;
|
577
|
+
|
578
|
+
/**
|
579
|
+
* Nearest edge midpoint.
|
580
|
+
*/
|
581
|
+
EDGE_MIDPOINT: 0x2;
|
582
|
+
|
583
|
+
/**
|
584
|
+
* Nearest top-left vertex.
|
585
|
+
*/
|
586
|
+
TOP_LEFT_VERTEX: 0x10;
|
587
|
+
|
588
|
+
/**
|
589
|
+
* Nearest top-right vertex.
|
590
|
+
*/
|
591
|
+
TOP_RIGHT_VERTEX: 0x20;
|
592
|
+
|
593
|
+
/**
|
594
|
+
* Nearest bottom-left vertex.
|
595
|
+
*/
|
596
|
+
BOTTOM_LEFT_VERTEX: 0x40;
|
597
|
+
|
598
|
+
/**
|
599
|
+
* Nearest bottom-right vertex.
|
600
|
+
*/
|
601
|
+
BOTTOM_RIGHT_VERTEX: 0x80;
|
602
|
+
|
603
|
+
/**
|
604
|
+
* Nearest vertex.
|
605
|
+
* Alias for `TOP_LEFT_VERTEX | TOP_RIGHT_VERTEX | BOTTOM_LEFT_VERTEX | BOTTOM_RIGHT_VERTEX`.
|
606
|
+
*/
|
607
|
+
VERTEX: 0xf0;
|
608
|
+
|
609
|
+
/**
|
610
|
+
* Nearest top-left corner.
|
611
|
+
*/
|
612
|
+
TOP_LEFT_CORNER: 0x100;
|
613
|
+
|
614
|
+
/**
|
615
|
+
* Nearest top-right corner.
|
616
|
+
*/
|
617
|
+
TOP_RIGHT_CORNER: 0x200;
|
618
|
+
|
619
|
+
/**
|
620
|
+
* Nearest bottom-left corner.
|
621
|
+
*/
|
622
|
+
BOTTOM_LEFT_CORNER: 0x400;
|
623
|
+
|
624
|
+
/**
|
625
|
+
* Nearest bottom-right corner.
|
626
|
+
*/
|
627
|
+
BOTTOM_RIGHT_CORNER: 0x800;
|
628
|
+
|
629
|
+
/**
|
630
|
+
* Nearest corner.
|
631
|
+
* Alias for `TOP_LEFT_CORNER | TOP_RIGHT_CORNER | BOTTOM_LEFT_CORNER | BOTTOM_RIGHT_CORNER`.
|
632
|
+
*/
|
633
|
+
CORNER: 0xf00;
|
634
|
+
|
635
|
+
/**
|
636
|
+
* Nearest top side midpoint.
|
637
|
+
*/
|
638
|
+
TOP_SIDE_MIDPOINT: 0x1000;
|
639
|
+
|
640
|
+
/**
|
641
|
+
* Nearest bottom side midpoint.
|
642
|
+
*/
|
643
|
+
BOTTOM_SIDE_MIDPOINT: 0x2000;
|
644
|
+
|
645
|
+
/**
|
646
|
+
* Nearest left side midpoint.
|
647
|
+
*/
|
648
|
+
LEFT_SIDE_MIDPOINT: 0x4000;
|
649
|
+
|
650
|
+
/**
|
651
|
+
* Nearest right side midpoint.
|
652
|
+
*/
|
653
|
+
RIGHT_SIDE_MIDPOINT: 0x8000;
|
654
|
+
|
655
|
+
/**
|
656
|
+
* Nearest side midpoint.
|
657
|
+
* Alias for `TOP_SIDE_MIDPOINT | BOTTOM_SIDE_MIDPOINT | LEFT_SIDE_MIDPOINT | RIGHT_SIDE_MIDPOINT`.
|
658
|
+
*/
|
659
|
+
SIDE_MIDPOINT: 0xf000;
|
660
|
+
}>;
|
661
|
+
export type GRID_SNAPPING_MODES = ValueOf<typeof GRID_SNAPPING_MODES>;
|
662
|
+
|
663
|
+
/**
|
664
|
+
* A list of supported setup URL names
|
665
|
+
*/
|
666
|
+
export declare const SETUP_VIEWS: readonly ["auth", "license", "setup", "players", "join", "update"];
|
667
|
+
|
668
|
+
/**
|
669
|
+
* An Array of valid MacroAction scope values
|
670
|
+
*/
|
671
|
+
export declare const MACRO_SCOPES: readonly ["global", "actors", "actor"];
|
672
|
+
export type MACRO_SCOPES = ValueOf<typeof MACRO_SCOPES>;
|
673
|
+
|
674
|
+
/**
|
675
|
+
* An enumeration of valid Macro types
|
676
|
+
* @see https://foundryvtt.com/article/macros/
|
677
|
+
*/
|
678
|
+
export declare const MACRO_TYPES: Readonly<{
|
679
|
+
/**
|
680
|
+
* Complex and powerful macros which leverage the FVTT API through plain JavaScript to perform functions as simple or as advanced as you can imagine.
|
681
|
+
*/
|
682
|
+
SCRIPT: "script";
|
683
|
+
|
684
|
+
/**
|
685
|
+
* Simple and easy to use, chat macros post pre-defined chat messages to the chat log when executed. All users can execute chat macros by default.
|
686
|
+
*/
|
687
|
+
CHAT: "chat";
|
688
|
+
}>;
|
689
|
+
export type MACRO_TYPES = ValueOf<typeof MACRO_TYPES>;
|
690
|
+
|
691
|
+
/**
|
692
|
+
* The allowed channels for audio playback.
|
693
|
+
*/
|
694
|
+
export declare const AUDIO_CHANNELS: Readonly<{
|
695
|
+
music: "AUDIO.CHANNELS.MUSIC.label";
|
696
|
+
environment: "AUDIO.CHANNELS.ENVIRONMENT.label";
|
697
|
+
interface: "AUDIO.CHANNELS.INTERFACE.label";
|
698
|
+
}>;
|
699
|
+
export type AUDIO_CHANNELS = ValueOf<typeof AUDIO_CHANNELS>;
|
700
|
+
|
701
|
+
/**
|
702
|
+
* The allowed playback modes for an audio Playlist
|
703
|
+
* @see https://foundryvtt.com/article/playlists/
|
704
|
+
*/
|
705
|
+
export declare const PLAYLIST_MODES: Readonly<{
|
706
|
+
/**
|
707
|
+
* The playlist does not play on its own, only individual Sound tracks played as a soundboard.
|
708
|
+
*/
|
709
|
+
DISABLED: -1;
|
710
|
+
|
711
|
+
/**
|
712
|
+
* The playlist plays sounds one at a time in sequence.
|
713
|
+
*/
|
714
|
+
SEQUENTIAL: 0;
|
715
|
+
|
716
|
+
/**
|
717
|
+
* The playlist plays sounds one at a time in randomized order.
|
718
|
+
*/
|
719
|
+
SHUFFLE: 1;
|
720
|
+
|
721
|
+
/**
|
722
|
+
* The playlist plays all contained sounds at the same time.
|
723
|
+
*/
|
724
|
+
SIMULTANEOUS: 2;
|
725
|
+
}>;
|
726
|
+
export type PLAYLIST_MODES = ValueOf<typeof PLAYLIST_MODES>;
|
727
|
+
|
728
|
+
/**
|
729
|
+
* The available sort modes for an audio Playlist.
|
730
|
+
* @defaultValue `"a"`
|
731
|
+
* @see https://foundryvtt.com/article/playlists/
|
732
|
+
*/
|
733
|
+
export declare const PLAYLIST_SORT_MODES: Readonly<{
|
734
|
+
/**
|
735
|
+
* Sort sounds alphabetically.
|
736
|
+
* @defaultValue
|
737
|
+
*/
|
738
|
+
ALPHABETICAL: "a";
|
739
|
+
|
740
|
+
/**
|
741
|
+
* Sort sounds by manual drag-and-drop.
|
742
|
+
*/
|
743
|
+
MANUAL: "m";
|
744
|
+
}>;
|
745
|
+
export type PLAYLIST_SORT_MODES = ValueOf<typeof PLAYLIST_SORT_MODES>;
|
746
|
+
|
747
|
+
/**
|
748
|
+
* The available modes for searching within a DirectoryCollection
|
749
|
+
*/
|
750
|
+
export declare const DIRECTORY_SEARCH_MODES: Readonly<{
|
751
|
+
FULL: "full";
|
752
|
+
NAME: "name";
|
753
|
+
}>;
|
754
|
+
export type DIRECTORY_SEARCH_MODES = ValueOf<typeof DIRECTORY_SEARCH_MODES>;
|
755
|
+
|
756
|
+
/**
|
757
|
+
* The allowed package types
|
758
|
+
*/
|
759
|
+
export declare const PACKAGE_TYPES: readonly ["world", "system", "module"];
|
760
|
+
export type PACKAGE_TYPES = ValueOf<typeof PACKAGE_TYPES>;
|
761
|
+
|
762
|
+
/**
|
763
|
+
* Encode the reasons why a package may be available or unavailable for use
|
764
|
+
*/
|
765
|
+
export declare const PACKAGE_AVAILABILITY_CODES: Readonly<{
|
766
|
+
/**
|
767
|
+
* Package availability could not be determined
|
768
|
+
*/
|
769
|
+
UNKNOWN: 0;
|
770
|
+
|
771
|
+
/**
|
772
|
+
* The Package is verified to be compatible with the current core software build
|
773
|
+
*/
|
774
|
+
VERIFIED: 1;
|
775
|
+
|
776
|
+
/**
|
777
|
+
* Package is available for use, but not verified for the current core software build
|
778
|
+
*/
|
779
|
+
UNVERIFIED_BUILD: 2;
|
780
|
+
|
781
|
+
/**
|
782
|
+
* One or more installed system is incompatible with the Package.
|
783
|
+
*/
|
784
|
+
UNVERIFIED_SYSTEM: 3;
|
785
|
+
|
786
|
+
/**
|
787
|
+
* Package is available for use, but not verified for the current core software generation
|
788
|
+
*/
|
789
|
+
UNVERIFIED_GENERATION: 4;
|
790
|
+
|
791
|
+
/**
|
792
|
+
* The System that the Package relies on is not available
|
793
|
+
*/
|
794
|
+
MISSING_SYSTEM: 5;
|
795
|
+
|
796
|
+
/**
|
797
|
+
* A dependency of the Package is not available
|
798
|
+
*/
|
799
|
+
MISSING_DEPENDENCY: 6;
|
800
|
+
|
801
|
+
/**
|
802
|
+
* The Package is compatible with an older version of Foundry than the currently installed version
|
803
|
+
*/
|
804
|
+
REQUIRES_CORE_DOWNGRADE: 7;
|
805
|
+
|
806
|
+
/**
|
807
|
+
* The Package is compatible with a newer version of Foundry than the currently installed version, and that version is Stable
|
808
|
+
*/
|
809
|
+
REQUIRES_CORE_UPGRADE_STABLE: 8;
|
810
|
+
|
811
|
+
/**
|
812
|
+
* The Package is compatible with a newer version of Foundry than the currently installed version, and that version is not yet Stable
|
813
|
+
*/
|
814
|
+
REQUIRES_CORE_UPGRADE_UNSTABLE: 9;
|
815
|
+
|
816
|
+
/**
|
817
|
+
* A required dependency is not compatible with the current version of Foundry
|
818
|
+
*/
|
819
|
+
REQUIRES_DEPENDENCY_UPDATE: 10;
|
820
|
+
}>;
|
821
|
+
export type PACKAGE_AVAILABILITY_CODES = ValueOf<typeof PACKAGE_AVAILABILITY_CODES>;
|
822
|
+
|
823
|
+
/**
|
824
|
+
* A safe password string which can be displayed
|
825
|
+
*/
|
826
|
+
export declare const PASSWORD_SAFE_STRING: "••••••••••••••••";
|
827
|
+
|
828
|
+
/**
|
829
|
+
* The allowed software update channels
|
830
|
+
*/
|
831
|
+
export declare const SOFTWARE_UPDATE_CHANNELS: Readonly<{
|
832
|
+
/**
|
833
|
+
* The Stable release channel
|
834
|
+
*/
|
835
|
+
stable: "SETUP.UpdateStable";
|
836
|
+
|
837
|
+
/**
|
838
|
+
* The User Testing release channel
|
839
|
+
*/
|
840
|
+
testing: "SETUP.UpdateTesting";
|
841
|
+
|
842
|
+
/**
|
843
|
+
* The Development release channel
|
844
|
+
*/
|
845
|
+
development: "SETUP.UpdateDevelopment";
|
846
|
+
|
847
|
+
/**
|
848
|
+
* The Prototype release channel
|
849
|
+
*/
|
850
|
+
prototype: "SETUP.UpdatePrototype";
|
851
|
+
}>;
|
852
|
+
export type SOFTWARE_UPDATE_CHANNELS = ValueOf<typeof SOFTWARE_UPDATE_CHANNELS>;
|
853
|
+
|
854
|
+
/**
|
855
|
+
* The default sorting density for manually ordering child objects within a parent
|
856
|
+
*/
|
857
|
+
export declare const SORT_INTEGER_DENSITY: 100000;
|
858
|
+
|
859
|
+
/**
|
860
|
+
* The allowed types of a TableResult document
|
861
|
+
* @see https://foundryvtt.com/article/roll-tables/
|
862
|
+
*/
|
863
|
+
export declare const TABLE_RESULT_TYPES: Readonly<{
|
864
|
+
/**
|
865
|
+
* Plain text or HTML scripted entries which will be output to Chat.
|
866
|
+
*/
|
867
|
+
TEXT: "text";
|
868
|
+
|
869
|
+
/**
|
870
|
+
* An in-World Document reference which will be linked to in the chat message.
|
871
|
+
*/
|
872
|
+
DOCUMENT: "document";
|
873
|
+
|
874
|
+
/**
|
875
|
+
* A Compendium Pack reference which will be linked to in the chat message.
|
876
|
+
*/
|
877
|
+
COMPENDIUM: "pack";
|
878
|
+
}>;
|
879
|
+
export type TABLE_RESULT_TYPES = ValueOf<typeof TABLE_RESULT_TYPES>;
|
880
|
+
|
881
|
+
/**
|
882
|
+
* The allowed formats of a Journal Entry Page.
|
883
|
+
* @see https://foundryvtt.com/article/journal/
|
884
|
+
*/
|
885
|
+
export declare const JOURNAL_ENTRY_PAGE_FORMATS: Readonly<{
|
886
|
+
/**
|
887
|
+
* The page is formatted as HTML.
|
888
|
+
*/
|
889
|
+
HTML: 1;
|
890
|
+
|
891
|
+
/**
|
892
|
+
* The page is formatted as Markdown.
|
893
|
+
*/
|
894
|
+
MARKDOWN: 2;
|
895
|
+
}>;
|
896
|
+
export type JOURNAL_ENTRY_PAGE_FORMATS = ValueOf<typeof JOURNAL_ENTRY_PAGE_FORMATS>;
|
897
|
+
|
898
|
+
/**
|
899
|
+
* Define the valid anchor locations for a Tooltip displayed on a Placeable Object
|
900
|
+
* @see TooltipManager
|
901
|
+
*/
|
902
|
+
export declare const TEXT_ANCHOR_POINTS: Readonly<{
|
903
|
+
/**
|
904
|
+
* Anchor the tooltip to the center of the element.
|
905
|
+
*/
|
906
|
+
CENTER: 0;
|
907
|
+
|
908
|
+
/**
|
909
|
+
* Anchor the tooltip to the bottom of the element.
|
910
|
+
*/
|
911
|
+
BOTTOM: 1;
|
912
|
+
|
913
|
+
/**
|
914
|
+
* Anchor the tooltip to the top of the element.
|
915
|
+
*/
|
916
|
+
TOP: 2;
|
917
|
+
|
918
|
+
/**
|
919
|
+
* Anchor the tooltip to the left of the element.
|
920
|
+
*/
|
921
|
+
LEFT: 3;
|
922
|
+
|
923
|
+
/**
|
924
|
+
* Anchor the tooltip to the right of the element.
|
925
|
+
*/
|
926
|
+
RIGHT: 4;
|
927
|
+
}>;
|
928
|
+
export type TEXT_ANCHOR_POINTS = ValueOf<typeof TEXT_ANCHOR_POINTS>;
|
929
|
+
|
930
|
+
/**
|
931
|
+
* Define the valid occlusion modes which a tile can use
|
932
|
+
* @defaultValue `1`
|
933
|
+
* @see https://foundryvtt.com/article/tiles/
|
934
|
+
*/
|
935
|
+
export declare const OCCLUSION_MODES: Readonly<{
|
936
|
+
/**
|
937
|
+
* Turns off occlusion, making the tile never fade while tokens are under it.
|
938
|
+
*/
|
939
|
+
NONE: 0;
|
940
|
+
|
941
|
+
/**
|
942
|
+
* Causes the whole tile to fade when an actor token moves under it.
|
943
|
+
* @defaultValue
|
944
|
+
*/
|
945
|
+
FADE: 1;
|
946
|
+
|
947
|
+
// ROOF: 2; This mode is no longer supported so we don't use 2 for any other mode
|
948
|
+
|
949
|
+
/**
|
950
|
+
* Causes the tile to reveal the background in the vicinity of an actor token under it. The radius is determined by the token's size.
|
951
|
+
*/
|
952
|
+
RADIAL: 3;
|
953
|
+
|
954
|
+
/**
|
955
|
+
* Causes the tile to be partially revealed based on the vision of the actor, which does not need to be under the tile to see what's beneath it.
|
956
|
+
* @remarks (by Foundry) This is useful for rooves on buildings where players could see through a window or door, viewing only a portion of what is obscured by the roof itself.
|
957
|
+
*/
|
958
|
+
VISION: 4;
|
959
|
+
}>;
|
960
|
+
export type OCCLUSION_MODES = ValueOf<typeof OCCLUSION_MODES>;
|
961
|
+
|
962
|
+
/**
|
963
|
+
* Alias for old tile occlusion modes definition
|
964
|
+
*/
|
965
|
+
export declare const TILE_OCCLUSION_MODES: typeof OCCLUSION_MODES;
|
966
|
+
export type TILE_OCCLUSION_MODES = ValueOf<typeof TILE_OCCLUSION_MODES>;
|
967
|
+
|
968
|
+
/**
|
969
|
+
* The occlusion modes that define the set of tokens that trigger occlusion.
|
970
|
+
*/
|
971
|
+
export declare const TOKEN_OCCLUSION_MODES: Readonly<{
|
972
|
+
/**
|
973
|
+
* Owned tokens that aren't hidden.
|
974
|
+
*/
|
975
|
+
OWNED: 0x1;
|
976
|
+
|
977
|
+
/**
|
978
|
+
* Controlled tokens.
|
979
|
+
*/
|
980
|
+
CONTROLLED: 0x2;
|
981
|
+
|
982
|
+
/**
|
983
|
+
* Hovered tokens that are visible.
|
984
|
+
*/
|
985
|
+
HOVERED: 0x4;
|
986
|
+
|
987
|
+
/**
|
988
|
+
* Highlighted tokens that are visible.
|
989
|
+
*/
|
990
|
+
HIGHLIGHTED: 0x8;
|
991
|
+
|
992
|
+
/**
|
993
|
+
* All visible tokens.
|
994
|
+
*/
|
995
|
+
VISIBLE: 0x10;
|
996
|
+
}>;
|
997
|
+
export type TOKEN_OCCLUSION_MODES = ValueOf<typeof TOKEN_OCCLUSION_MODES>;
|
998
|
+
|
999
|
+
/**
|
1000
|
+
* Describe the various thresholds of token control upon which to show certain pieces of information
|
1001
|
+
* @see https://foundryvtt.com/article/tokens/
|
1002
|
+
*/
|
1003
|
+
export declare const TOKEN_DISPLAY_MODES: Readonly<{
|
1004
|
+
/**
|
1005
|
+
* No information is displayed.
|
1006
|
+
*/
|
1007
|
+
NONE: 0;
|
1008
|
+
|
1009
|
+
/**
|
1010
|
+
* Displayed when the token is controlled.
|
1011
|
+
*/
|
1012
|
+
CONTROL: 10;
|
1013
|
+
|
1014
|
+
/**
|
1015
|
+
* Displayed when hovered by a GM or a user who owns the actor.
|
1016
|
+
*/
|
1017
|
+
OWNER_HOVER: 20;
|
1018
|
+
|
1019
|
+
/**
|
1020
|
+
* Displayed when hovered by any user.
|
1021
|
+
*/
|
1022
|
+
HOVER: 30;
|
1023
|
+
|
1024
|
+
/**
|
1025
|
+
* Always displayed for a GM or for a user who owns the actor.
|
1026
|
+
*/
|
1027
|
+
OWNER: 40;
|
1028
|
+
|
1029
|
+
/**
|
1030
|
+
* Always displayed for everyone.
|
1031
|
+
*/
|
1032
|
+
ALWAYS: 50;
|
1033
|
+
}>;
|
1034
|
+
export type TOKEN_DISPLAY_MODES = ValueOf<typeof TOKEN_DISPLAY_MODES>;
|
1035
|
+
|
1036
|
+
/**
|
1037
|
+
* The allowed Token disposition types
|
1038
|
+
* @see https://foundryvtt.com/article/tokens/
|
1039
|
+
*/
|
1040
|
+
export declare const TOKEN_DISPOSITIONS: Readonly<{
|
1041
|
+
/**
|
1042
|
+
* Displayed with a purple borders for owners and with no borders for others (and no pointer change).
|
1043
|
+
*/
|
1044
|
+
SECRET: -2;
|
1045
|
+
|
1046
|
+
/**
|
1047
|
+
* Displayed as an enemy with a red border.
|
1048
|
+
*/
|
1049
|
+
HOSTILE: -1;
|
1050
|
+
|
1051
|
+
/**
|
1052
|
+
* Displayed as neutral with a yellow border.
|
1053
|
+
*/
|
1054
|
+
NEUTRAL: 0;
|
1055
|
+
|
1056
|
+
/**
|
1057
|
+
* Displayed as an ally with a cyan border.
|
1058
|
+
*/
|
1059
|
+
FRIENDLY: 1;
|
1060
|
+
}>;
|
1061
|
+
export type TOKEN_DISPOSITIONS = ValueOf<typeof TOKEN_DISPOSITIONS>;
|
1062
|
+
|
1063
|
+
/**
|
1064
|
+
* The possible shapes of Tokens in hexagonal grids.
|
1065
|
+
*/
|
1066
|
+
export declare const TOKEN_HEXAGONAL_SHAPES: Readonly<{
|
1067
|
+
/**
|
1068
|
+
* Ellipse (Variant 1)
|
1069
|
+
*/
|
1070
|
+
ELLIPSE_1: 0;
|
1071
|
+
|
1072
|
+
/**
|
1073
|
+
* Ellipse (Variant 2)
|
1074
|
+
*/
|
1075
|
+
ELLIPSE_2: 1;
|
1076
|
+
|
1077
|
+
/**
|
1078
|
+
* Trapezoid (Variant 1)
|
1079
|
+
*/
|
1080
|
+
TRAPEZOID_1: 2;
|
1081
|
+
|
1082
|
+
/**
|
1083
|
+
* Trapezoid (Variant 2)
|
1084
|
+
*/
|
1085
|
+
TRAPEZOID_2: 3;
|
1086
|
+
|
1087
|
+
/**
|
1088
|
+
* Rectangle (Variant 1)
|
1089
|
+
*/
|
1090
|
+
RECTANGLE_1: 4;
|
1091
|
+
|
1092
|
+
/**
|
1093
|
+
* Rectangle (Variant 2)
|
1094
|
+
*/
|
1095
|
+
RECTANGLE_2: 5;
|
1096
|
+
}>;
|
1097
|
+
export type TOKEN_HEXAGONAL_SHAPES = ValueOf<typeof TOKEN_HEXAGONAL_SHAPES>;
|
1098
|
+
|
1099
|
+
/**
|
1100
|
+
* Define the allowed User permission levels.
|
1101
|
+
* Each level is assigned a value in ascending order. Higher levels grant more permissions.
|
1102
|
+
* @see https://foundryvtt.com/article/users/
|
1103
|
+
*/
|
1104
|
+
export declare const USER_ROLES: Readonly<{
|
1105
|
+
/**
|
1106
|
+
* The User is blocked from taking actions in Foundry Virtual Tabletop.
|
1107
|
+
* You can use this role to temporarily or permanently ban a user from joining the game.
|
1108
|
+
*/
|
1109
|
+
NONE: 0;
|
1110
|
+
|
1111
|
+
/**
|
1112
|
+
* The User is able to join the game with permissions available to a standard player.
|
1113
|
+
* They cannot take some more advanced actions which require Trusted permissions, but they have the basic functionalities needed to operate in the virtual tabletop.
|
1114
|
+
*/
|
1115
|
+
PLAYER: 1;
|
1116
|
+
|
1117
|
+
/**
|
1118
|
+
* Similar to the Player role, except a Trusted User has the ability to perform some more advanced actions like create drawings, measured templates, or even to (optionally) upload media files to the server.
|
1119
|
+
*/
|
1120
|
+
TRUSTED: 2;
|
1121
|
+
|
1122
|
+
/**
|
1123
|
+
* A special User who has many of the same in-game controls as a Game Master User, but does not have the ability to perform administrative actions like changing User roles or modifying World-level settings.
|
1124
|
+
*/
|
1125
|
+
ASSISTANT: 3;
|
1126
|
+
|
1127
|
+
/**
|
1128
|
+
* A special User who has administrative control over this specific World.
|
1129
|
+
* Game Masters behave quite differently than Players in that they have the ability to see all Documents and Objects within the world as well as the capability to configure World settings.
|
1130
|
+
*/
|
1131
|
+
GAMEMASTER: 4;
|
1132
|
+
}>;
|
1133
|
+
export type USER_ROLES = ValueOf<typeof USER_ROLES>;
|
1134
|
+
|
1135
|
+
/**
|
1136
|
+
* Invert the User Role mapping to recover role names from a role integer
|
1137
|
+
*/
|
1138
|
+
export declare const USER_ROLE_NAMES: Readonly<{ [Key in keyof typeof USER_ROLES as (typeof USER_ROLES)[Key]]: Key }>;
|
1139
|
+
export type USER_ROLE_NAMES = ValueOf<typeof USER_ROLE_NAMES>;
|
1140
|
+
|
1141
|
+
/**
|
1142
|
+
* An enumeration of the allowed types for a MeasuredTemplate embedded document
|
1143
|
+
* @see https://foundryvtt.com/article/measurement/
|
1144
|
+
*/
|
1145
|
+
export declare const MEASURED_TEMPLATE_TYPES: Readonly<{
|
1146
|
+
/**
|
1147
|
+
* Circular templates create a radius around the starting point.
|
1148
|
+
*/
|
1149
|
+
CIRCLE: "circle";
|
1150
|
+
|
1151
|
+
/**
|
1152
|
+
* Cones create an effect in the shape of a triangle or pizza slice from the starting point.
|
1153
|
+
*/
|
1154
|
+
CONE: "cone";
|
1155
|
+
|
1156
|
+
/**
|
1157
|
+
* A rectangle uses the origin point as one of the corners, treating the origin as being inside of the rectangle's area.
|
1158
|
+
*/
|
1159
|
+
RECTANGLE: "rect";
|
1160
|
+
|
1161
|
+
/**
|
1162
|
+
* A ray creates a single line that is one square in width and as long as you want it to be.
|
1163
|
+
*/
|
1164
|
+
RAY: "ray";
|
1165
|
+
}>;
|
1166
|
+
export type MEASURED_TEMPLATE_TYPES = ValueOf<typeof MEASURED_TEMPLATE_TYPES>;
|
1167
|
+
|
1168
|
+
export interface UserPermission {
|
1169
|
+
disableGM: boolean;
|
1170
|
+
hint: string;
|
1171
|
+
label: string;
|
1172
|
+
defaultRole: USER_ROLES;
|
1173
|
+
}
|
1174
|
+
|
1175
|
+
/**
|
1176
|
+
* Define the recognized User capabilities which individual Users or role levels may be permitted to perform
|
1177
|
+
*/
|
1178
|
+
export declare const USER_PERMISSIONS: Readonly<{
|
1179
|
+
/**
|
1180
|
+
* @defaultValue
|
1181
|
+
* ```typescript
|
1182
|
+
* {
|
1183
|
+
* label: "PERMISSION.ActorCreate",
|
1184
|
+
* hint: "PERMISSION.ActorCreateHint",
|
1185
|
+
* disableGM: false,
|
1186
|
+
* defaultRole: USER_ROLES.ASSISTANT
|
1187
|
+
* }
|
1188
|
+
* ```
|
1189
|
+
*/
|
1190
|
+
ACTOR_CREATE: UserPermission;
|
1191
|
+
|
1192
|
+
/**
|
1193
|
+
* @defaultValue
|
1194
|
+
* ```typescript
|
1195
|
+
* {
|
1196
|
+
* label: "PERMISSION.BroadcastAudio",
|
1197
|
+
* hint: "PERMISSION.BroadcastAudioHint",
|
1198
|
+
* disableGM: true,
|
1199
|
+
* defaultRole: USER_ROLES.TRUSTED
|
1200
|
+
* }
|
1201
|
+
* ```
|
1202
|
+
*/
|
1203
|
+
BROADCAST_AUDIO: UserPermission;
|
1204
|
+
|
1205
|
+
/**
|
1206
|
+
* @defaultValue
|
1207
|
+
* ```typescript
|
1208
|
+
* {
|
1209
|
+
* label: "PERMISSION.BroadcastVideo",
|
1210
|
+
* hint: "PERMISSION.BroadcastVideoHint",
|
1211
|
+
* disableGM: true,
|
1212
|
+
* defaultRole: USER_ROLES.TRUSTED
|
1213
|
+
* }
|
1214
|
+
* ```
|
1215
|
+
*/
|
1216
|
+
BROADCAST_VIDEO: UserPermission;
|
1217
|
+
|
1218
|
+
/**
|
1219
|
+
* @defaultValue
|
1220
|
+
* ```typescript
|
1221
|
+
* {
|
1222
|
+
* label: "PERMISSION.CardsCreate",
|
1223
|
+
* hint: "PERMISSION.CardsCreateHint",
|
1224
|
+
* disableGM: false,
|
1225
|
+
* defaultRole: USER_ROLES.ASSISTANT
|
1226
|
+
* }
|
1227
|
+
* ```
|
1228
|
+
*/
|
1229
|
+
|
1230
|
+
CARDS_CREATE: UserPermission;
|
1231
|
+
|
1232
|
+
/**
|
1233
|
+
* @defaultValue
|
1234
|
+
* ```typescript
|
1235
|
+
* {
|
1236
|
+
* label: "PERMISSION.DrawingCreate",
|
1237
|
+
* hint: "PERMISSION.DrawingCreateHint",
|
1238
|
+
* disableGM: false,
|
1239
|
+
* defaultRole: USER_ROLES.TRUSTED
|
1240
|
+
* }
|
1241
|
+
* ```
|
1242
|
+
*/
|
1243
|
+
DRAWING_CREATE: UserPermission;
|
1244
|
+
|
1245
|
+
/**
|
1246
|
+
* @defaultValue
|
1247
|
+
* ```typescript
|
1248
|
+
* {
|
1249
|
+
* label: "PERMISSION.ItemCreate",
|
1250
|
+
* hint: "PERMISSION.ItemCreateHint",
|
1251
|
+
* disableGM: false,
|
1252
|
+
* defaultRole: USER_ROLES.ASSISTANT
|
1253
|
+
* }
|
1254
|
+
* ```
|
1255
|
+
*/
|
1256
|
+
ITEM_CREATE: UserPermission;
|
1257
|
+
|
1258
|
+
/**
|
1259
|
+
* @defaultValue
|
1260
|
+
* ```typescript
|
1261
|
+
* {
|
1262
|
+
* label: "PERMISSION.FilesBrowse",
|
1263
|
+
* hint: "PERMISSION.FilesBrowseHint",
|
1264
|
+
* disableGM: false,
|
1265
|
+
* defaultRole: USER_ROLES.TRUSTED
|
1266
|
+
* }
|
1267
|
+
* ```
|
1268
|
+
*/
|
1269
|
+
FILES_BROWSE: UserPermission;
|
1270
|
+
|
1271
|
+
/**
|
1272
|
+
* @defaultValue
|
1273
|
+
* ```typescript
|
1274
|
+
* {
|
1275
|
+
* label: "PERMISSION.FilesUpload",
|
1276
|
+
* hint: "PERMISSION.FilesUploadHint",
|
1277
|
+
* disableGM: false,
|
1278
|
+
* defaultRole: USER_ROLES.ASSISTANT
|
1279
|
+
* }
|
1280
|
+
* ```
|
1281
|
+
*/
|
1282
|
+
FILES_UPLOAD: UserPermission;
|
1283
|
+
|
1284
|
+
/**
|
1285
|
+
* @defaultValue
|
1286
|
+
* ```typescript
|
1287
|
+
* {
|
1288
|
+
* label: "PERMISSION.JournalCreate"
|
1289
|
+
* hint: "PERMISSION.JournalCreateHint",
|
1290
|
+
* disableGM: false,
|
1291
|
+
* defaultRole: USER_ROLES.TRUSTED
|
1292
|
+
* }
|
1293
|
+
* ```
|
1294
|
+
*/
|
1295
|
+
JOURNAL_CREATE: UserPermission;
|
1296
|
+
|
1297
|
+
/**
|
1298
|
+
* @defaultValue
|
1299
|
+
* ```typescript
|
1300
|
+
* {
|
1301
|
+
* label: "PERMISSION.MacroScript",
|
1302
|
+
* hint: "PERMISSION.MacroScriptHint",
|
1303
|
+
* disableGM: false,
|
1304
|
+
* defaultRole: USER_ROLES.PLAYER
|
1305
|
+
* }
|
1306
|
+
* ```
|
1307
|
+
*/
|
1308
|
+
MACRO_SCRIPT: UserPermission;
|
1309
|
+
|
1310
|
+
/**
|
1311
|
+
* @defaultValue
|
1312
|
+
* ```typescript
|
1313
|
+
* {
|
1314
|
+
* label: "PERMISSION.ManualRolls",
|
1315
|
+
* hint: "PERMISSION.ManualRollsHint",
|
1316
|
+
* disableGM: true,
|
1317
|
+
* defaultRole: USER_ROLES.TRUSTED
|
1318
|
+
* }
|
1319
|
+
* ```
|
1320
|
+
*/
|
1321
|
+
MANUAL_ROLLS: UserPermission;
|
1322
|
+
|
1323
|
+
/**
|
1324
|
+
* @defaultValue
|
1325
|
+
* ```typescript
|
1326
|
+
* {
|
1327
|
+
* label: "PERMISSION.MessageWhisper",
|
1328
|
+
* hint: "PERMISSION.MessageWhisperHint",
|
1329
|
+
* disableGM: false,
|
1330
|
+
* defaultRole: USER_ROLES.PLAYER
|
1331
|
+
* }
|
1332
|
+
* ```
|
1333
|
+
*/
|
1334
|
+
MESSAGE_WHISPER: UserPermission;
|
1335
|
+
|
1336
|
+
/**
|
1337
|
+
* @defaultValue
|
1338
|
+
* ```typescript
|
1339
|
+
* {
|
1340
|
+
* label: "PERMISSION.NoteCreate",
|
1341
|
+
* hint: "PERMISSION.NoteCreateHint",
|
1342
|
+
* disableGM: false,
|
1343
|
+
* defaultRole: USER_ROLES.TRUSTED
|
1344
|
+
* }
|
1345
|
+
* ```
|
1346
|
+
*/
|
1347
|
+
NOTE_CREATE: UserPermission;
|
1348
|
+
|
1349
|
+
/**
|
1350
|
+
* @defaultValue
|
1351
|
+
* ```typescript
|
1352
|
+
* {
|
1353
|
+
* label: "PERMISSION.NoteCreate",
|
1354
|
+
* hint: "PERMISSION.NoteCreateHint",
|
1355
|
+
* disableGM: false,
|
1356
|
+
* defaultRole: USER_ROLES.TRUSTED
|
1357
|
+
* }
|
1358
|
+
* ```
|
1359
|
+
*/
|
1360
|
+
PING_CANVAS: UserPermission;
|
1361
|
+
|
1362
|
+
/**
|
1363
|
+
* @defaultValue
|
1364
|
+
* ```typescript
|
1365
|
+
* {
|
1366
|
+
* label: "PERMISSION.PlaylistCreate",
|
1367
|
+
* hint: "PERMISSION.PlaylistCreateHint",
|
1368
|
+
* disableGM: false,
|
1369
|
+
* defaultRole: USER_ROLES.ASSISTANT
|
1370
|
+
* }
|
1371
|
+
* ```
|
1372
|
+
*/
|
1373
|
+
PLAYLIST_CREATE: UserPermission;
|
1374
|
+
|
1375
|
+
/**
|
1376
|
+
* @defaultValue
|
1377
|
+
* ```typescript
|
1378
|
+
* {
|
1379
|
+
* label: "PERMISSION.SettingsModify",
|
1380
|
+
* hint: "PERMISSION.SettingsModifyHint",
|
1381
|
+
* disableGM: false,
|
1382
|
+
* defaultRole: USER_ROLES.ASSISTANT
|
1383
|
+
* }
|
1384
|
+
* ```
|
1385
|
+
*/
|
1386
|
+
SETTINGS_MODIFY: UserPermission;
|
1387
|
+
|
1388
|
+
/**
|
1389
|
+
* @defaultValue
|
1390
|
+
* ```typescript
|
1391
|
+
* {
|
1392
|
+
* label: "PERMISSION.ShowCursor",
|
1393
|
+
* hint: "PERMISSION.ShowCursorHint",
|
1394
|
+
* disableGM: true,
|
1395
|
+
* defaultRole: USER_ROLES.PLAYER
|
1396
|
+
* }
|
1397
|
+
* ```
|
1398
|
+
*/
|
1399
|
+
SHOW_CURSOR: UserPermission;
|
1400
|
+
|
1401
|
+
/**
|
1402
|
+
* @defaultValue
|
1403
|
+
* ```typescript
|
1404
|
+
* {
|
1405
|
+
* label: "PERMISSION.ShowRuler",
|
1406
|
+
* hint: "PERMISSION.ShowRulerHint",
|
1407
|
+
* disableGM: true,
|
1408
|
+
* defaultRole: USER_ROLES.PLAYER
|
1409
|
+
* }
|
1410
|
+
* ```
|
1411
|
+
*/
|
1412
|
+
SHOW_RULER: UserPermission;
|
1413
|
+
|
1414
|
+
/**
|
1415
|
+
* @defaultValue
|
1416
|
+
* ```typescript
|
1417
|
+
* {
|
1418
|
+
* label: "PERMISSION.TemplateCreate",
|
1419
|
+
* hint: "PERMISSION.TemplateCreateHint",
|
1420
|
+
* disableGM: false,
|
1421
|
+
* defaultRole: USER_ROLES.PLAYER
|
1422
|
+
* }
|
1423
|
+
* ```
|
1424
|
+
*/
|
1425
|
+
TEMPLATE_CREATE: UserPermission;
|
1426
|
+
|
1427
|
+
/**
|
1428
|
+
* @defaultValue
|
1429
|
+
* ```typescript
|
1430
|
+
* {
|
1431
|
+
* label: "PERMISSION.TokenCreate",
|
1432
|
+
* hint: "PERMISSION.TokenCreateHint",
|
1433
|
+
* disableGM: false,
|
1434
|
+
* defaultRole: USER_ROLES.ASSISTANT
|
1435
|
+
* }
|
1436
|
+
* ```
|
1437
|
+
*/
|
1438
|
+
TOKEN_CREATE: UserPermission;
|
1439
|
+
|
1440
|
+
/**
|
1441
|
+
* @defaultValue
|
1442
|
+
* ```typescript
|
1443
|
+
* {
|
1444
|
+
* label: "PERMISSION.TokenDelete",
|
1445
|
+
* hint: "PERMISSION.TokenDeleteHint",
|
1446
|
+
* disableGM: false,
|
1447
|
+
* defaultRole: USER_ROLES.ASSISTANT
|
1448
|
+
* }
|
1449
|
+
* ```
|
1450
|
+
*/
|
1451
|
+
TOKEN_DELETE: UserPermission;
|
1452
|
+
|
1453
|
+
/**
|
1454
|
+
* @defaultValue
|
1455
|
+
* ```typescript
|
1456
|
+
* {
|
1457
|
+
* label: "PERMISSION.TokenConfigure",
|
1458
|
+
* hint: "PERMISSION.TokenConfigureHint",
|
1459
|
+
* disableGM: false,
|
1460
|
+
* defaultRole: USER_ROLES.TRUSTED
|
1461
|
+
* }
|
1462
|
+
* ```
|
1463
|
+
*/
|
1464
|
+
TOKEN_CONFIGURE: UserPermission;
|
1465
|
+
|
1466
|
+
/**
|
1467
|
+
* @defaultValue
|
1468
|
+
* ```typescript
|
1469
|
+
* {
|
1470
|
+
* label: "PERMISSION.WallDoors",
|
1471
|
+
* hint: "PERMISSION.WallDoorsHint",
|
1472
|
+
* disableGM: false,
|
1473
|
+
* defaultRole: USER_ROLES.PLAYER
|
1474
|
+
* }
|
1475
|
+
* ```
|
1476
|
+
*/
|
1477
|
+
WALL_DOORS: UserPermission;
|
1478
|
+
}>;
|
1479
|
+
|
1480
|
+
/**
|
1481
|
+
* The allowed directions of effect that a Wall can have
|
1482
|
+
* @see https://foundryvtt.com/article/walls/
|
1483
|
+
*/
|
1484
|
+
export declare const WALL_DIRECTIONS: Readonly<{
|
1485
|
+
/**
|
1486
|
+
* The wall collides from both directions.
|
1487
|
+
*/
|
1488
|
+
BOTH: 0;
|
1489
|
+
|
1490
|
+
/**
|
1491
|
+
* The wall collides only when a ray strikes its left side.
|
1492
|
+
*/
|
1493
|
+
LEFT: 1;
|
1494
|
+
|
1495
|
+
/**
|
1496
|
+
* The wall collides only when a ray strikes its right side.
|
1497
|
+
*/
|
1498
|
+
RIGHT: 2;
|
1499
|
+
}>;
|
1500
|
+
export type WALL_DIRECTIONS = ValueOf<typeof WALL_DIRECTIONS>;
|
1501
|
+
|
1502
|
+
/**
|
1503
|
+
* The allowed door types which a Wall may contain
|
1504
|
+
* @see https://foundryvtt.com/article/walls/
|
1505
|
+
*/
|
1506
|
+
export declare const WALL_DOOR_TYPES: Readonly<{
|
1507
|
+
/**
|
1508
|
+
* The wall does not contain a door.
|
1509
|
+
*/
|
1510
|
+
NONE: 0;
|
1511
|
+
|
1512
|
+
/**
|
1513
|
+
* The wall contains a regular door.
|
1514
|
+
*/
|
1515
|
+
DOOR: 1;
|
1516
|
+
|
1517
|
+
/**
|
1518
|
+
* The wall contains a secret door.
|
1519
|
+
*/
|
1520
|
+
SECRET: 2;
|
1521
|
+
}>;
|
1522
|
+
export type WALL_DOOR_TYPES = ValueOf<typeof WALL_DOOR_TYPES>;
|
1523
|
+
|
1524
|
+
/**
|
1525
|
+
* The allowed door states which may describe a Wall that contains a door
|
1526
|
+
* @see https://foundryvtt.com/article/walls/
|
1527
|
+
*/
|
1528
|
+
export declare const WALL_DOOR_STATES: Readonly<{
|
1529
|
+
/**
|
1530
|
+
* The door is closed.
|
1531
|
+
*/
|
1532
|
+
CLOSED: 0;
|
1533
|
+
|
1534
|
+
/**
|
1535
|
+
* The door is open.
|
1536
|
+
*/
|
1537
|
+
OPEN: 1;
|
1538
|
+
|
1539
|
+
/**
|
1540
|
+
* The door is closed and locked.
|
1541
|
+
*/
|
1542
|
+
LOCKED: 2;
|
1543
|
+
}>;
|
1544
|
+
export type WALL_DOOR_STATES = ValueOf<typeof WALL_DOOR_STATES>;
|
1545
|
+
|
1546
|
+
/**
|
1547
|
+
* The possible ways to interact with a door
|
1548
|
+
*/
|
1549
|
+
export declare const WALL_DOOR_INTERACTIONS: ["open", "close", "lock", "unlock", "test"];
|
1550
|
+
export type WALL_DOOR_INTERACTIONS = ValueOf<typeof WALL_DOOR_INTERACTIONS>;
|
1551
|
+
|
1552
|
+
/**
|
1553
|
+
* The wall properties which restrict the way interaction occurs with a specific wall
|
1554
|
+
*/
|
1555
|
+
export declare const WALL_RESTRICTION_TYPES: readonly ["light", "sight", "sound", "move"];
|
1556
|
+
export type WALL_RESTRICTION_TYPES = ValueOf<typeof WALL_RESTRICTION_TYPES>;
|
1557
|
+
|
1558
|
+
/**
|
1559
|
+
* The types of sensory collision which a Wall may impose
|
1560
|
+
* @see https://foundryvtt.com/article/walls/
|
1561
|
+
*/
|
1562
|
+
export declare const WALL_SENSE_TYPES: Readonly<{
|
1563
|
+
/**
|
1564
|
+
* Senses do not collide with this wall.
|
1565
|
+
*/
|
1566
|
+
NONE: 0;
|
1567
|
+
|
1568
|
+
/**
|
1569
|
+
* Senses collide with this wall.
|
1570
|
+
*/
|
1571
|
+
LIMITED: 10;
|
1572
|
+
|
1573
|
+
/**
|
1574
|
+
* Senses collide with the second intersection, bypassing the first.
|
1575
|
+
*/
|
1576
|
+
NORMAL: 20;
|
1577
|
+
|
1578
|
+
/**
|
1579
|
+
* Senses bypass the wall within a certain proximity threshold.
|
1580
|
+
*/
|
1581
|
+
PROXIMITY: 30;
|
1582
|
+
|
1583
|
+
/**
|
1584
|
+
* Senses bypass the wall outside a certain proximity threshold.
|
1585
|
+
*/
|
1586
|
+
DISTANCE: 40;
|
1587
|
+
}>;
|
1588
|
+
export type WALL_SENSE_TYPES = ValueOf<typeof WALL_SENSE_TYPES>;
|
1589
|
+
|
1590
|
+
/**
|
1591
|
+
* The types of movement collision which a Wall may impose
|
1592
|
+
* @see https://foundryvtt.com/article/walls/
|
1593
|
+
*/
|
1594
|
+
export declare const WALL_MOVEMENT_TYPES: Readonly<{
|
1595
|
+
/**
|
1596
|
+
* Movement does not collide with this wall.
|
1597
|
+
*/
|
1598
|
+
NONE: typeof WALL_SENSE_TYPES.NONE;
|
1599
|
+
|
1600
|
+
/**
|
1601
|
+
* Movement collides with this wall.
|
1602
|
+
*/
|
1603
|
+
NORMAL: typeof WALL_SENSE_TYPES.NORMAL;
|
1604
|
+
}>;
|
1605
|
+
export type WALL_MOVEMENT_TYPES = ValueOf<typeof WALL_MOVEMENT_TYPES>;
|
1606
|
+
|
1607
|
+
/**
|
1608
|
+
* The possible precedence values a Keybinding might run in
|
1609
|
+
* @see https://foundryvtt.com/article/keybinds/
|
1610
|
+
*/
|
1611
|
+
export declare const KEYBINDING_PRECEDENCE: Readonly<{
|
1612
|
+
/**
|
1613
|
+
* Runs in the first group along with other PRIORITY keybindings.
|
1614
|
+
*/
|
1615
|
+
PRIORITY: 0;
|
1616
|
+
|
1617
|
+
/**
|
1618
|
+
* Runs after the PRIORITY group along with other NORMAL keybindings.
|
1619
|
+
*/
|
1620
|
+
NORMAL: 1;
|
1621
|
+
|
1622
|
+
/**
|
1623
|
+
* Runs in the last group along with other DEFERRED keybindings.
|
1624
|
+
*/
|
1625
|
+
DEFERRED: 2;
|
1626
|
+
}>;
|
1627
|
+
export type KEYBINDING_PRECEDENCE = ValueOf<typeof KEYBINDING_PRECEDENCE>;
|
1628
|
+
|
1629
|
+
/**
|
1630
|
+
* The allowed set of HTML template extensions
|
1631
|
+
*/
|
1632
|
+
export declare const HTML_FILE_EXTENSIONS: readonly ["html", "handlebars", "hbs"];
|
1633
|
+
export declare type HTML_FILE_EXTENSIONS = ValueOf<typeof HTML_FILE_EXTENSIONS>;
|
1634
|
+
|
1635
|
+
interface _IMAGE_FILE_EXTENSIONS {
|
1636
|
+
apng: "image/apng";
|
1637
|
+
avif: "image/avif";
|
1638
|
+
bmp: "image/bmp";
|
1639
|
+
gif: "image/gif";
|
1640
|
+
jpg: "image/jpeg";
|
1641
|
+
jpeg: "image/jpeg";
|
1642
|
+
png: "image/png";
|
1643
|
+
svg: "image/svg+xml";
|
1644
|
+
tiff: "image/tiff";
|
1645
|
+
webp: "image/webp";
|
1646
|
+
}
|
1647
|
+
|
1648
|
+
/**
|
1649
|
+
* The supported file extensions for image-type files, and their corresponding mime types.
|
1650
|
+
*/
|
1651
|
+
export declare const IMAGE_FILE_EXTENSIONS: Readonly<_IMAGE_FILE_EXTENSIONS>;
|
1652
|
+
export type IMAGE_FILE_EXTENSIONS = ValueOf<_IMAGE_FILE_EXTENSIONS>;
|
1653
|
+
|
1654
|
+
interface _VIDEO_FILE_EXTENSIONS {
|
1655
|
+
m4v: "video/mp4";
|
1656
|
+
mp4: "video/mp4";
|
1657
|
+
ogg: "video/ogg";
|
1658
|
+
webm: "video/webm";
|
1659
|
+
}
|
1660
|
+
|
1661
|
+
/**
|
1662
|
+
* The supported file extensions for video-type files, and their corresponding mime types.
|
1663
|
+
*/
|
1664
|
+
export declare const VIDEO_FILE_EXTENSIONS: Readonly<_VIDEO_FILE_EXTENSIONS>;
|
1665
|
+
export type VIDEO_FILE_EXTENSIONS = ValueOf<_VIDEO_FILE_EXTENSIONS>;
|
1666
|
+
|
1667
|
+
interface _AUDIO_FILE_EXTENSIONS {
|
1668
|
+
aac: "audio/aac";
|
1669
|
+
flac: "audio/flac";
|
1670
|
+
m4a: "audio/mp4";
|
1671
|
+
mid: "audio/midi";
|
1672
|
+
mp3: "audio/mpeg";
|
1673
|
+
ogg: "audio/ogg";
|
1674
|
+
opus: "audio/opus";
|
1675
|
+
wav: "audio/wav";
|
1676
|
+
webm: "audio/webm";
|
1677
|
+
}
|
1678
|
+
/**
|
1679
|
+
* The supported file extensions for audio-type files, and their corresponding mime types.
|
1680
|
+
*/
|
1681
|
+
export declare const AUDIO_FILE_EXTENSIONS: Readonly<_AUDIO_FILE_EXTENSIONS>;
|
1682
|
+
export type AUDIO_FILE_EXTENSIONS = ValueOf<_AUDIO_FILE_EXTENSIONS>;
|
1683
|
+
|
1684
|
+
interface _TEXT_FILE_EXTENSIONS {
|
1685
|
+
csv: "text/csv";
|
1686
|
+
json: "application/json";
|
1687
|
+
md: "text/markdown";
|
1688
|
+
pdf: "application/pdf";
|
1689
|
+
tsv: "text/tab-separated-values";
|
1690
|
+
txt: "text/plain";
|
1691
|
+
xml: "application/xml";
|
1692
|
+
yml: "application/yaml";
|
1693
|
+
yaml: "application/yaml";
|
1694
|
+
}
|
1695
|
+
/**
|
1696
|
+
* The supported file extensions for text files, and their corresponding mime types.
|
1697
|
+
*/
|
1698
|
+
export declare const TEXT_FILE_EXTENSIONS: Readonly<_TEXT_FILE_EXTENSIONS>;
|
1699
|
+
export type TEXT_FILE_EXTENSIONS = ValueOf<_TEXT_FILE_EXTENSIONS>;
|
1700
|
+
|
1701
|
+
interface _FONT_FILE_EXTENSIONS {
|
1702
|
+
ttf: "font/ttf";
|
1703
|
+
otf: "font/otf";
|
1704
|
+
woff: "font/woff";
|
1705
|
+
woff2: "font/woff2";
|
1706
|
+
}
|
1707
|
+
/**
|
1708
|
+
* Supported file extensions for font files, and their corresponding mime types.
|
1709
|
+
*/
|
1710
|
+
export declare const FONT_FILE_EXTENSIONS: Readonly<_FONT_FILE_EXTENSIONS>;
|
1711
|
+
export type FONT_FILE_EXTENSIONS = ValueOf<_FONT_FILE_EXTENSIONS>;
|
1712
|
+
|
1713
|
+
interface _GRAPHICS_FILE_EXTENSIONS {
|
1714
|
+
fbx: "application/octet-stream";
|
1715
|
+
glb: "model/gltf-binary";
|
1716
|
+
gltf: "model/gltf+json";
|
1717
|
+
mtl: "model/mtl";
|
1718
|
+
obj: "model/obj";
|
1719
|
+
stl: "model/stl";
|
1720
|
+
usdz: "model/vnd.usdz+zip";
|
1721
|
+
}
|
1722
|
+
/**
|
1723
|
+
* Supported file extensions for 3D files, and their corresponding mime types.
|
1724
|
+
*/
|
1725
|
+
export declare const GRAPHICS_FILE_EXTENSIONS: Readonly<_GRAPHICS_FILE_EXTENSIONS>;
|
1726
|
+
export type GRAPHICS_FILE_EXTENSIONS = ValueOf<_GRAPHICS_FILE_EXTENSIONS>;
|
1727
|
+
|
1728
|
+
interface _UPLOADABLE_FILE_EXTENSIONS
|
1729
|
+
extends _IMAGE_FILE_EXTENSIONS,
|
1730
|
+
Omit<_VIDEO_FILE_EXTENSIONS, "ogg" | "webm">,
|
1731
|
+
_AUDIO_FILE_EXTENSIONS,
|
1732
|
+
_TEXT_FILE_EXTENSIONS,
|
1733
|
+
_FONT_FILE_EXTENSIONS,
|
1734
|
+
_GRAPHICS_FILE_EXTENSIONS {}
|
1735
|
+
|
1736
|
+
export declare const UPLOADABLE_FILE_EXTENSIONS: _UPLOADABLE_FILE_EXTENSIONS;
|
1737
|
+
export type UPLOADABLE_FILE_EXTENSIONS = ValueOf<_UPLOADABLE_FILE_EXTENSIONS>;
|
1738
|
+
|
1739
|
+
/**
|
1740
|
+
* A list of MIME types which are treated as uploaded "media", which are allowed to overwrite existing files.
|
1741
|
+
* Any non-media MIME type is not allowed to replace an existing file.
|
1742
|
+
*/
|
1743
|
+
export declare const MEDIA_MIME_TYPES: ValueOf<_UPLOADABLE_FILE_EXTENSIONS>;
|
1744
|
+
export type MEDIA_MIME_TYPES = typeof MEDIA_MIME_TYPES;
|
1745
|
+
|
1746
|
+
/**
|
1747
|
+
* An enumeration of file type categories which can be selected
|
1748
|
+
*/
|
1749
|
+
export declare const FILE_CATEGORIES: {
|
1750
|
+
HTML: HTML_FILE_EXTENSIONS;
|
1751
|
+
IMAGE: _IMAGE_FILE_EXTENSIONS;
|
1752
|
+
VIDEO: _VIDEO_FILE_EXTENSIONS;
|
1753
|
+
AUDIO: _AUDIO_FILE_EXTENSIONS;
|
1754
|
+
TEXT: _TEXT_FILE_EXTENSIONS;
|
1755
|
+
FONT: _FONT_FILE_EXTENSIONS;
|
1756
|
+
GRAPHICS: _GRAPHICS_FILE_EXTENSIONS;
|
1757
|
+
MEDIA: MEDIA_MIME_TYPES;
|
1758
|
+
};
|
1759
|
+
|
1760
|
+
/**
|
1761
|
+
* A font weight to name mapping.
|
1762
|
+
*/
|
1763
|
+
export declare const FONT_WEIGHTS: {
|
1764
|
+
Thin: 100;
|
1765
|
+
ExtraLight: 200;
|
1766
|
+
Light: 300;
|
1767
|
+
Regular: 400;
|
1768
|
+
Medium: 500;
|
1769
|
+
SemiBold: 600;
|
1770
|
+
Bold: 700;
|
1771
|
+
ExtraBold: 800;
|
1772
|
+
Black: 900;
|
1773
|
+
};
|
1774
|
+
export type FONT_WEIGHTS = ValueOf<typeof FONT_WEIGHTS>;
|
1775
|
+
|
1776
|
+
/**
|
1777
|
+
* Stores shared commonly used timeouts, measured in MS
|
1778
|
+
*/
|
1779
|
+
export declare const TIMEOUTS: Readonly<{
|
1780
|
+
/**
|
1781
|
+
* The default timeout for interacting with the foundryvtt.com API.
|
1782
|
+
*/
|
1783
|
+
FOUNDRY_WEBSITE: 10000;
|
1784
|
+
|
1785
|
+
/**
|
1786
|
+
* The specific timeout for loading the list of packages from the foundryvtt.com API.
|
1787
|
+
*/
|
1788
|
+
PACKAGE_REPOSITORY: 5000;
|
1789
|
+
|
1790
|
+
/**
|
1791
|
+
* The specific timeout for the IP address lookup service.
|
1792
|
+
*/
|
1793
|
+
IP_DISCOVERY: 5000;
|
1794
|
+
}>;
|
1795
|
+
export type TIMEOUTS = ValueOf<typeof TIMEOUTS>;
|
1796
|
+
|
1797
|
+
/**
|
1798
|
+
* A subset of Compendium types which require a specific system to be designated
|
1799
|
+
*/
|
1800
|
+
export declare const SYSTEM_SPECIFIC_COMPENDIUM_TYPES: readonly ["Actor", "Item"];
|
1801
|
+
export type SYSTEM_SPECIFIC_COMPENDIUM_TYPES = ValueOf<typeof SYSTEM_SPECIFIC_COMPENDIUM_TYPES>;
|
1802
|
+
|
1803
|
+
/**
|
1804
|
+
* The configured showdown bi-directional HTML \<-\> Markdown converter options.
|
1805
|
+
*/
|
1806
|
+
export declare const SHOWDOWN_OPTIONS: Readonly<{
|
1807
|
+
disableForced4SpacesIndentedSublists: true;
|
1808
|
+
noHeaderId: true;
|
1809
|
+
parseImgDimensions: true;
|
1810
|
+
strikethrough: true;
|
1811
|
+
tables: true;
|
1812
|
+
tablesHeaderId: true;
|
1813
|
+
}>;
|
1814
|
+
export type SHOWDOWN_OPTIONS = ValueOf<typeof SHOWDOWN_OPTIONS>;
|
1815
|
+
|
1816
|
+
/**
|
1817
|
+
* The list of allowed attributes in HTML elements.
|
1818
|
+
*/
|
1819
|
+
export const ALLOWED_HTML_ATTRIBUTES: Readonly<{
|
1820
|
+
"*": [
|
1821
|
+
"class",
|
1822
|
+
"data-*",
|
1823
|
+
"id",
|
1824
|
+
"title",
|
1825
|
+
"style",
|
1826
|
+
"draggable",
|
1827
|
+
"aria-*",
|
1828
|
+
"tabindex",
|
1829
|
+
"dir",
|
1830
|
+
"hidden",
|
1831
|
+
"inert",
|
1832
|
+
"role",
|
1833
|
+
"is",
|
1834
|
+
"lang",
|
1835
|
+
"popover",
|
1836
|
+
];
|
1837
|
+
a: ["href", "name", "target", "rel"];
|
1838
|
+
area: ["alt", "coords", "href", "rel", "shape", "target"];
|
1839
|
+
audio: ["controls", "loop", "muted", "src", "autoplay"];
|
1840
|
+
blockquote: ["cite"];
|
1841
|
+
button: ["disabled", "name", "type", "value"];
|
1842
|
+
col: ["span"];
|
1843
|
+
colgroup: ["span"];
|
1844
|
+
details: ["open"];
|
1845
|
+
fieldset: ["disabled"];
|
1846
|
+
form: ["name"];
|
1847
|
+
iframe: ["src", "srcdoc", "name", "height", "width", "loading", "sandbox"];
|
1848
|
+
img: ["height", "src", "width", "usemap", "sizes", "srcset", "alt"];
|
1849
|
+
input: [
|
1850
|
+
"checked",
|
1851
|
+
"disabled",
|
1852
|
+
"name",
|
1853
|
+
"value",
|
1854
|
+
"placeholder",
|
1855
|
+
"type",
|
1856
|
+
"alt",
|
1857
|
+
"height",
|
1858
|
+
"list",
|
1859
|
+
"max",
|
1860
|
+
"min",
|
1861
|
+
"placeholder",
|
1862
|
+
"readonly",
|
1863
|
+
"size",
|
1864
|
+
"src",
|
1865
|
+
"step",
|
1866
|
+
"width",
|
1867
|
+
];
|
1868
|
+
label: ["for"];
|
1869
|
+
li: ["value"];
|
1870
|
+
map: ["name"];
|
1871
|
+
meter: ["value", "min", "max", "low", "high", "optimum"];
|
1872
|
+
ol: ["reversed", "start", "type"];
|
1873
|
+
optgroup: ["disabled", "label"];
|
1874
|
+
option: ["disabled", "selected", "label", "value"];
|
1875
|
+
progress: ["max", "value"];
|
1876
|
+
select: ["name", "disabled", "multiple", "size"];
|
1877
|
+
source: ["media", "sizes", "src", "srcset", "type"];
|
1878
|
+
table: ["border"];
|
1879
|
+
td: ["colspan", "headers", "rowspan"];
|
1880
|
+
textarea: ["rows", "cols", "disabled", "name", "readonly", "wrap"];
|
1881
|
+
time: ["datetime"];
|
1882
|
+
th: ["abbr", "colspan", "headers", "rowspan", "scope", "sorted"];
|
1883
|
+
track: ["default", "kind", "label", "src", "srclang"];
|
1884
|
+
video: ["controls", "height", "width", "loop", "muted", "poster", "src", "autoplay"];
|
1885
|
+
}>;
|
1886
|
+
export type ALLOWED_HTML_ATTRIBUTES = ValueOf<typeof ALLOWED_HTML_ATTRIBUTES>;
|
1887
|
+
|
1888
|
+
/**
|
1889
|
+
* The list of trusted iframe domains.
|
1890
|
+
*/
|
1891
|
+
export declare const TRUSTED_IFRAME_DOMAINS: ["google.com", "youtube.com"];
|
1892
|
+
export type TRUSTED_IFRAME_DOMAINS = ValueOf<typeof TRUSTED_IFRAME_DOMAINS>;
|
1893
|
+
|
1894
|
+
/**
|
1895
|
+
* Available themes for the world join page.
|
1896
|
+
*/
|
1897
|
+
export const WORLD_JOIN_THEMES: Readonly<{
|
1898
|
+
default: "WORLD.JoinThemeDefault";
|
1899
|
+
minimal: "WORLD.JoinThemeMinimal";
|
1900
|
+
}>;
|
1901
|
+
export type WORLD_JOIN_THEMES = ValueOf<typeof WORLD_JOIN_THEMES>;
|
1902
|
+
|
1903
|
+
/**
|
1904
|
+
* Setup page package progress protocol.
|
1905
|
+
*/
|
1906
|
+
export declare const SETUP_PACKAGE_PROGRESS: Readonly<{
|
1907
|
+
ACTIONS: {
|
1908
|
+
CREATE_BACKUP: "createBackup";
|
1909
|
+
RESTORE_BACKUP: "restoreBackup";
|
1910
|
+
DELETE_BACKUP: "deleteBackup";
|
1911
|
+
CREATE_SNAPSHOT: "createSnapshot";
|
1912
|
+
RESTORE_SNAPSHOT: "restoreSnapshot";
|
1913
|
+
DELETE_SNAPSHOT: "deleteSnapshot";
|
1914
|
+
INSTALL_PKG: "installPackage";
|
1915
|
+
LAUNCH_WORLD: "launchWorld";
|
1916
|
+
UPDATE_CORE: "updateCore";
|
1917
|
+
UPDATE_DOWNLOAD: "updateDownload";
|
1918
|
+
};
|
1919
|
+
|
1920
|
+
STEPS: {
|
1921
|
+
ARCHIVE: "archive";
|
1922
|
+
CHECK_DISK_SPACE: "checkDiskSpace";
|
1923
|
+
CONNECT_WORLD: "connectWorld";
|
1924
|
+
MIGRATE_WORLD: "migrateWorld";
|
1925
|
+
CONNECT_PKG: "connectPackage";
|
1926
|
+
MIGRATE_PKG: "migratePackage";
|
1927
|
+
MIGRATE_CORE: "migrateCore";
|
1928
|
+
MIGRATE_SYSTEM: "migrateSystem";
|
1929
|
+
DOWNLOAD: "download";
|
1930
|
+
EXTRACT: "extract";
|
1931
|
+
INSTALL: "install";
|
1932
|
+
CLEANUP: "cleanup";
|
1933
|
+
COMPLETE: "complete";
|
1934
|
+
DELETE: "delete";
|
1935
|
+
ERROR: "error";
|
1936
|
+
VEND: "vend";
|
1937
|
+
SNAPSHOT_MODULES: "snapshotModules";
|
1938
|
+
SNAPSHOT_SYSTEMS: "snapshotSystems";
|
1939
|
+
SNAPSHOT_WORLDS: "snapshotWorlds";
|
1940
|
+
};
|
1941
|
+
}>;
|
1942
|
+
declare namespace SETUP_PACKAGE_PROGRESS {
|
1943
|
+
export type ACTIONS = ValueOf<typeof SETUP_PACKAGE_PROGRESS.ACTIONS>;
|
1944
|
+
export type STEPS = ValueOf<typeof SETUP_PACKAGE_PROGRESS.STEPS>;
|
1945
|
+
}
|
1946
|
+
|
1947
|
+
/**
|
1948
|
+
* The combat announcements.
|
1949
|
+
*/
|
1950
|
+
export declare const COMBAT_ANNOUNCEMENTS: readonly ["startEncounter", "nextUp", "yourTurn"];
|
1951
|
+
export type COMBAT_ANNOUNCEMENTS = ValueOf<typeof COMBAT_ANNOUNCEMENTS>;
|
1952
|
+
|
1953
|
+
/**
|
1954
|
+
* The fit modes of {@link foundry.data.TextureData#fit}.
|
1955
|
+
*/
|
1956
|
+
export declare const TEXTURE_DATA_FIT_MODES: readonly ["fill", "contain", "cover", "width", "height"];
|
1957
|
+
export type TEXTURE_DATA_FIT_MODES = ValueOf<typeof TEXTURE_DATA_FIT_MODES>;
|
1958
|
+
|
1959
|
+
/**
|
1960
|
+
* The maximum depth to recurse to when embedding enriched text.
|
1961
|
+
*/
|
1962
|
+
export const TEXT_ENRICH_EMBED_MAX_DEPTH = 5;
|
1963
|
+
|
1964
|
+
/**
|
1965
|
+
* The Region events that are supported by core.
|
1966
|
+
*/
|
1967
|
+
export declare const REGION_EVENTS: Readonly<{
|
1968
|
+
/**
|
1969
|
+
* Triggered when the shapes or bottom/top elevation of the Region are changed.
|
1970
|
+
*/
|
1971
|
+
REGION_BOUNDARY: "regionBoundary";
|
1972
|
+
|
1973
|
+
/**
|
1974
|
+
* Triggered when the behavior is enabled/disabled or the Scene its Region is in is viewed/unviewed.
|
1975
|
+
*/
|
1976
|
+
BEHAVIOR_STATUS: "behaviorStatus";
|
1977
|
+
|
1978
|
+
/**
|
1979
|
+
* Triggered when a Token enters a Region.
|
1980
|
+
*/
|
1981
|
+
TOKEN_ENTER: "tokenEnter";
|
1982
|
+
|
1983
|
+
/**
|
1984
|
+
* Triggered when a Token exists a Region.
|
1985
|
+
*/
|
1986
|
+
TOKEN_EXIT: "tokenExit";
|
1987
|
+
|
1988
|
+
/**
|
1989
|
+
* Triggered when a Token is about to move into, out of, through, or within a Region.
|
1990
|
+
*/
|
1991
|
+
TOKEN_PRE_MOVE: "tokenPreMove";
|
1992
|
+
|
1993
|
+
/**
|
1994
|
+
* Triggered when a Token moves into, out of, through, or within a Region.
|
1995
|
+
*/
|
1996
|
+
TOKEN_MOVE: "tokenMove";
|
1997
|
+
|
1998
|
+
/**
|
1999
|
+
* Triggered when a Token moves into a Region.
|
2000
|
+
*/
|
2001
|
+
TOKEN_MOVE_IN: "tokenMoveIn";
|
2002
|
+
|
2003
|
+
/**
|
2004
|
+
* Triggered when a Token moves out of a Region.
|
2005
|
+
*/
|
2006
|
+
TOKEN_MOVE_OUT: "tokenMoveOut";
|
2007
|
+
|
2008
|
+
/**
|
2009
|
+
* Triggered when a Token starts its Combat turn in a Region.
|
2010
|
+
*/
|
2011
|
+
TOKEN_TURN_START: "tokenTurnStart";
|
2012
|
+
|
2013
|
+
/**
|
2014
|
+
* Triggered when a Token ends its Combat turn in a Region.
|
2015
|
+
*/
|
2016
|
+
TOKEN_TURN_END: "tokenTurnEnd";
|
2017
|
+
|
2018
|
+
/**
|
2019
|
+
* Triggered when a Token starts the Combat round in a Region.
|
2020
|
+
*/
|
2021
|
+
TOKEN_ROUND_START: "tokenRoundStart";
|
2022
|
+
|
2023
|
+
/**
|
2024
|
+
* Triggered when a Token ends the Combat round in a Region.
|
2025
|
+
*/
|
2026
|
+
TOKEN_ROUND_END: "tokenRoundEnd";
|
2027
|
+
}>;
|
2028
|
+
export type REGION_EVENTS = ValueOf<typeof REGION_EVENTS>;
|
2029
|
+
|
2030
|
+
/**
|
2031
|
+
* The possible visibility state of Region.
|
2032
|
+
*/
|
2033
|
+
export declare const REGION_VISIBILITY: Readonly<{
|
2034
|
+
/**
|
2035
|
+
* Only visible on the RegionLayer.
|
2036
|
+
*/
|
2037
|
+
LAYER: 0;
|
2038
|
+
|
2039
|
+
/**
|
2040
|
+
* Only visible to Gamemasters.
|
2041
|
+
*/
|
2042
|
+
GAMEMASTER: 1;
|
2043
|
+
|
2044
|
+
/**
|
2045
|
+
* Visible to anyone.
|
2046
|
+
*/
|
2047
|
+
ALWAYS: 2;
|
2048
|
+
}>;
|
2049
|
+
export type REGION_VISIBILITY = ValueOf<typeof REGION_VISIBILITY>;
|
2050
|
+
|
2051
|
+
/**
|
2052
|
+
* @deprecated since v12
|
2053
|
+
*/
|
2054
|
+
export type DOCUMENT_TYPES = Exclude<WORLD_DOCUMENT_TYPES, "FogExploration" | "Setting">;
|