@league-of-foundry-developers/foundry-vtt-types 13.340.1 → 13.345.1-beta.20250704.94554
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 +11 -37
- package/package.json +34 -40
- package/src/configuration/configuration.d.mts +52 -18
- package/src/configuration/documents.d.mts +35 -14
- package/src/configuration/globals.d.mts +70 -115
- package/src/configuration/hooks.d.mts +96 -0
- package/src/configuration/index.d.mts +1 -0
- package/src/foundry/client/_types.d.mts +98 -0
- package/src/foundry/client/applications/_module.d.mts +30 -0
- package/src/foundry/client/applications/api/application.d.mts +966 -0
- package/src/foundry/client/applications/api/category-browser.d.mts +130 -0
- package/src/foundry/client/applications/api/dialog.d.mts +641 -0
- package/src/foundry/client/applications/api/document-sheet.d.mts +207 -0
- package/src/foundry/client/applications/api/handlebars-application.d.mts +240 -0
- package/src/foundry/client/applications/apps/av/camera-popout.d.mts +44 -0
- package/src/foundry/client/applications/apps/av/cameras.d.mts +118 -0
- package/src/foundry/client/applications/apps/combat-tracker-config.d.mts +45 -0
- package/src/foundry/client/applications/apps/compendium-art-config.d.mts +73 -0
- package/src/foundry/client/applications/apps/document-ownership.d.mts +51 -0
- package/src/foundry/client/applications/apps/document-sheet-config.d.mts +109 -0
- package/src/foundry/client/applications/apps/file-picker.d.mts +453 -0
- package/src/foundry/client/applications/apps/grid-config.d.mts +51 -0
- package/src/foundry/client/applications/apps/image-popout.d.mts +111 -0
- package/src/foundry/client/applications/apps/permission-config.d.mts +79 -0
- package/src/foundry/client/applications/dice/roll-resolver.d.mts +125 -0
- package/src/foundry/client/applications/elements/document-tags.d.mts +93 -0
- package/src/foundry/client/applications/elements/file-picker.d.mts +63 -0
- package/src/foundry/client/applications/elements/form-element.d.mts +108 -0
- package/src/foundry/client/applications/elements/multi-select.d.mts +107 -0
- package/src/foundry/client/applications/elements/prosemirror-editor.d.mts +54 -0
- package/src/foundry/client/applications/forms/fields.d.mts +271 -0
- package/src/foundry/client/applications/handlebars.d.mts +475 -0
- package/src/foundry/client/applications/hud/container.d.mts +50 -0
- package/src/foundry/client/applications/hud/drawing-hud.d.mts +47 -0
- package/src/foundry/client/applications/hud/placeable-hud.d.mts +66 -0
- package/src/foundry/client/applications/hud/tile-hud.d.mts +43 -0
- package/src/foundry/client/applications/hud/token-hud.d.mts +48 -0
- package/src/foundry/client/applications/quickstart.d.mts +45 -0
- package/src/foundry/client/applications/settings/_module.d.mts +8 -0
- package/src/foundry/client/applications/settings/config.d.mts +63 -0
- package/src/foundry/client/applications/settings/dependency-resolution.d.mts +40 -0
- package/src/foundry/client/applications/settings/menus/av-config.d.mts +50 -0
- package/src/foundry/client/applications/settings/menus/default-sheets-config.d.mts +49 -0
- package/src/foundry/client/applications/settings/menus/dice-config.d.mts +38 -0
- package/src/foundry/client/applications/settings/menus/font-config.d.mts +66 -0
- package/src/foundry/client/applications/settings/menus/prototype-overrides.d.mts +47 -0
- package/src/foundry/client/applications/settings/menus/ui-config.d.mts +49 -0
- package/src/foundry/client/applications/sheets/_module.d.mts +39 -0
- package/src/foundry/client/applications/sheets/active-effect-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/actor-sheet.d.mts +56 -0
- package/src/foundry/client/applications/sheets/adventure-exporter.d.mts +51 -0
- package/src/foundry/client/applications/sheets/adventure-importer.d.mts +49 -0
- package/src/foundry/client/applications/sheets/ambient-light-config.d.mts +115 -0
- package/src/foundry/client/applications/sheets/ambient-sound-config.d.mts +77 -0
- package/src/foundry/client/applications/sheets/base-sheet.d.mts +53 -0
- package/src/foundry/client/applications/sheets/card-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/cards-config.d.mts +135 -0
- package/src/foundry/client/applications/sheets/combatant-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/drawing-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/folder-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/item-sheet.d.mts +48 -0
- package/src/foundry/client/applications/sheets/journal/dialog-show.d.mts +42 -0
- package/src/foundry/client/applications/sheets/journal/journal-entry-category-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/journal/journal-entry-page-hbs-sheet.d.mts +41 -0
- package/src/foundry/client/applications/sheets/journal/journal-entry-page-image-sheet.d.mts +38 -0
- package/src/foundry/client/applications/sheets/journal/journal-entry-page-markdown-sheet.d.mts +38 -0
- package/src/foundry/client/applications/sheets/journal/journal-entry-page-pdf-sheet.d.mts +38 -0
- package/src/foundry/client/applications/sheets/journal/journal-entry-page-prose-mirror-sheet.d.mts +38 -0
- package/src/foundry/client/applications/sheets/journal/journal-entry-page-sheet.d.mts +50 -0
- package/src/foundry/client/applications/sheets/journal/journal-entry-page-text-sheet.d.mts +38 -0
- package/src/foundry/client/applications/sheets/journal/journal-entry-page-video-sheet.d.mts +40 -0
- package/src/foundry/client/applications/sheets/journal/journal-entry-sheet.d.mts +69 -0
- package/src/foundry/client/applications/sheets/macro-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/note-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/playlist-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/playlist-sound-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/region-behavior-config.d.mts +68 -0
- package/src/foundry/client/applications/sheets/region-config.d.mts +76 -0
- package/src/foundry/client/applications/sheets/roll-table-sheet.d.mts +51 -0
- package/src/foundry/client/applications/sheets/scene-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/table-result-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/template-config.d.mts +50 -0
- package/src/foundry/client/applications/sheets/tile-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/token/mixin.d.mts +47 -0
- package/src/foundry/client/applications/sheets/token/prototype-config.d.mts +41 -0
- package/src/foundry/client/applications/sheets/token/token-config.d.mts +51 -0
- package/src/foundry/client/applications/sheets/user-config.d.mts +65 -0
- package/src/foundry/client/applications/sheets/wall-config.d.mts +51 -0
- package/src/foundry/client/applications/sidebar/apps/chat-popout.d.mts +44 -0
- package/src/foundry/client/applications/sidebar/apps/compendium.d.mts +44 -0
- package/src/foundry/client/applications/sidebar/apps/controls-config.d.mts +49 -0
- package/src/foundry/client/applications/sidebar/apps/folder-export.d.mts +40 -0
- package/src/foundry/client/applications/sidebar/apps/frame-viewer.d.mts +44 -0
- package/src/foundry/client/applications/sidebar/apps/invitation-links.d.mts +39 -0
- package/src/foundry/client/applications/sidebar/apps/module-management.d.mts +42 -0
- package/src/foundry/client/applications/sidebar/apps/support-details.d.mts +39 -0
- package/src/foundry/client/applications/sidebar/apps/tours-management.d.mts +61 -0
- package/src/foundry/client/applications/sidebar/apps/world-config.d.mts +40 -0
- package/src/foundry/client/applications/sidebar/document-directory.d.mts +55 -0
- package/src/foundry/client/applications/sidebar/sidebar-tab.d.mts +106 -0
- package/src/foundry/client/applications/sidebar/sidebar.d.mts +129 -0
- package/src/foundry/client/applications/sidebar/tabs/actor-directory.d.mts +39 -0
- package/src/foundry/client/applications/sidebar/tabs/cards-directory.d.mts +39 -0
- package/src/foundry/client/applications/sidebar/tabs/chat.d.mts +36 -0
- package/src/foundry/client/applications/sidebar/tabs/combat-tracker.d.mts +283 -0
- package/src/foundry/client/applications/sidebar/tabs/compendium-directory.d.mts +40 -0
- package/src/foundry/client/applications/sidebar/tabs/item-directory.d.mts +39 -0
- package/src/foundry/client/applications/sidebar/tabs/journal-directory.d.mts +39 -0
- package/src/foundry/client/applications/sidebar/tabs/macro-directory.d.mts +39 -0
- package/src/foundry/client/applications/sidebar/tabs/playlist-directory.d.mts +39 -0
- package/src/foundry/client/applications/sidebar/tabs/roll-table-directory.d.mts +39 -0
- package/src/foundry/client/applications/sidebar/tabs/scene-directory.d.mts +39 -0
- package/src/foundry/client/applications/sidebar/tabs/settings.d.mts +39 -0
- package/src/foundry/client/applications/ui/game-pause.d.mts +49 -0
- package/src/foundry/client/applications/ui/hotbar.d.mts +52 -0
- package/src/foundry/client/applications/ui/main-menu.d.mts +50 -0
- package/src/foundry/client/applications/ui/players.d.mts +56 -0
- package/src/foundry/client/applications/ui/region-legend.d.mts +97 -0
- package/src/foundry/client/applications/ui/scene-controls.d.mts +117 -0
- package/src/foundry/client/applications/ui/scene-navigation.d.mts +55 -0
- package/src/foundry/client/applications/ux/context-menu.d.mts +327 -0
- package/src/foundry/client/applications/ux/drag-drop.d.mts +167 -0
- package/src/foundry/client/applications/ux/draggable.d.mts +156 -0
- package/src/foundry/client/applications/ux/form-data-extended.d.mts +89 -0
- package/src/foundry/client/applications/ux/html-secret.d.mts +75 -0
- package/src/foundry/client/applications/ux/prosemirror-editor.d.mts +199 -0
- package/src/foundry/client/applications/ux/search-filter.d.mts +148 -0
- package/src/foundry/client/applications/ux/tabs.d.mts +121 -0
- package/src/foundry/client/applications/ux/text-editor.d.mts +478 -0
- package/src/foundry/client/appv1/api/application-v1.d.mts +608 -0
- package/src/foundry/client/appv1/api/dialog-v1.d.mts +344 -0
- package/src/foundry/client/appv1/api/document-sheet-v1.d.mts +166 -0
- package/src/foundry/client/appv1/api/form-application-v1.d.mts +361 -0
- package/src/foundry/client/appv1/sheets/actor-sheet.d.mts +194 -0
- package/src/foundry/client/appv1/sheets/adventure-importer.d.mts +101 -0
- package/src/foundry/client/appv1/sheets/item-sheet.d.mts +68 -0
- package/src/foundry/client/appv1/sheets/journal-page-sheet.d.mts +179 -0
- package/src/foundry/client/appv1/sheets/journal-sheet.d.mts +325 -0
- package/src/foundry/client/audio/_types.d.mts +18 -0
- package/src/foundry/client/audio/biquad.d.mts +102 -0
- package/src/foundry/client/audio/cache.d.mts +79 -0
- package/src/foundry/client/audio/convolver.d.mts +94 -0
- package/src/foundry/client/audio/helper.d.mts +372 -0
- package/src/foundry/client/audio/sound.d.mts +509 -0
- package/src/foundry/client/audio/timeout.d.mts +101 -0
- package/src/foundry/client/av/client.d.mts +164 -161
- package/src/foundry/client/av/clients/simplepeer.d.mts +159 -156
- package/src/foundry/client/av/master.d.mts +194 -190
- package/src/foundry/client/av/settings.d.mts +323 -233
- package/src/foundry/client/canvas/_module.d.mts +23 -0
- package/src/foundry/client/canvas/animation/_module.d.mts +8 -0
- package/src/foundry/client/canvas/animation/_types.d.mts +20 -0
- package/src/foundry/client/canvas/animation/canvas-animation.d.mts +236 -0
- package/src/foundry/client/canvas/animation/chat-bubbles.d.mts +31 -0
- package/src/foundry/client/canvas/animation/smooth-noise.d.mts +80 -0
- package/src/foundry/client/canvas/board.d.mts +878 -0
- package/src/foundry/client/canvas/containers/_module.d.mts +25 -0
- package/src/foundry/client/canvas/containers/_types.d.mts +14 -0
- package/src/foundry/client/canvas/containers/advanced/cached-container.d.mts +138 -0
- package/src/foundry/client/canvas/containers/advanced/full-canvas-mixin.d.mts +28 -0
- package/src/foundry/client/canvas/containers/advanced/unbound-container.d.mts +21 -0
- package/src/foundry/client/canvas/containers/elements/control-icon.d.mts +129 -0
- package/src/foundry/client/canvas/containers/elements/cursor.d.mts +42 -0
- package/src/foundry/client/canvas/containers/elements/door-control.d.mts +90 -0
- package/src/foundry/client/canvas/containers/elements/door-mesh.d.mts +16 -0
- package/src/foundry/client/canvas/containers/elements/grid-highlight.d.mts +43 -0
- package/src/foundry/client/canvas/containers/elements/grid-mesh.d.mts +103 -0
- package/src/foundry/client/canvas/containers/elements/particles/leaves.d.mts +51 -0
- package/src/foundry/client/canvas/containers/elements/particles/particle-effect.d.mts +57 -0
- package/src/foundry/client/canvas/containers/elements/point-source-mesh.d.mts +73 -0
- package/src/foundry/client/canvas/containers/elements/precise-text.d.mts +46 -0
- package/src/foundry/client/canvas/containers/elements/quad-mesh.d.mts +54 -0
- package/src/foundry/client/canvas/containers/elements/resize-handle.d.mts +83 -0
- package/src/foundry/client/canvas/containers/elements/sprite-mesh.d.mts +370 -0
- package/src/foundry/client/canvas/extensions/_module.d.mts +9 -0
- package/src/foundry/client/canvas/extensions/circle-extension.d.mts +150 -0
- package/src/foundry/client/canvas/extensions/graphics-extension.d.mts +45 -0
- package/src/foundry/client/canvas/extensions/polygon-extension.d.mts +175 -0
- package/src/foundry/client/canvas/extensions/rectangle-extension.d.mts +287 -0
- package/src/foundry/client/canvas/framebuffer-snapshot.d.mts +33 -0
- package/src/foundry/client/canvas/geometry/_module.d.mts +17 -0
- package/src/foundry/client/canvas/geometry/_types.d.mts +34 -0
- package/src/foundry/client/canvas/geometry/clockwise-sweep.d.mts +281 -0
- package/src/foundry/client/canvas/geometry/edges/collision.d.mts +131 -0
- package/src/foundry/client/canvas/geometry/edges/edge.d.mts +258 -0
- package/src/foundry/client/canvas/geometry/edges/edges.d.mts +70 -0
- package/src/foundry/client/canvas/geometry/edges/vertex.d.mts +198 -0
- package/src/foundry/client/canvas/geometry/observable-transform.d.mts +39 -0
- package/src/foundry/client/canvas/geometry/quad-tree.d.mts +324 -0
- package/src/foundry/client/canvas/geometry/shapes/limited-angle-polygon.d.mts +143 -0
- package/src/foundry/client/canvas/geometry/shapes/polygon-mesher.d.mts +141 -0
- package/src/foundry/client/canvas/geometry/shapes/ray.d.mts +177 -0
- package/src/foundry/client/canvas/geometry/shapes/source-polygon.d.mts +368 -0
- package/src/foundry/client/canvas/geometry/unbound-transform.d.mts +22 -0
- package/src/foundry/client/canvas/geometry/weiler-atherton-clipping.d.mts +203 -0
- package/src/foundry/client/canvas/groups/_module.d.mts +14 -0
- package/src/foundry/client/canvas/groups/canvas-group-mixin.d.mts +178 -0
- package/src/foundry/client/canvas/groups/effects.d.mts +248 -0
- package/src/foundry/client/canvas/groups/environment.d.mts +137 -0
- package/src/foundry/client/canvas/groups/hidden.d.mts +65 -0
- package/src/foundry/client/canvas/groups/interface.d.mts +110 -0
- package/src/foundry/client/canvas/groups/overlay.d.mts +40 -0
- package/src/foundry/client/canvas/groups/primary.d.mts +237 -0
- package/src/foundry/client/canvas/groups/rendered.d.mts +39 -0
- package/src/foundry/client/canvas/groups/visibility.d.mts +263 -0
- package/src/foundry/client/canvas/interaction/_module.d.mts +24 -0
- package/src/foundry/client/canvas/interaction/_types.d.mts +18 -0
- package/src/foundry/client/canvas/interaction/mouse-handler.d.mts +362 -0
- package/src/foundry/client/canvas/interaction/ping/alert.d.mts +38 -0
- package/src/foundry/client/canvas/interaction/ping/arrow.d.mts +41 -0
- package/src/foundry/client/canvas/interaction/ping/chevron.d.mts +98 -0
- package/src/foundry/client/canvas/interaction/ping/ping.d.mts +86 -0
- package/src/foundry/client/canvas/interaction/ping/pulse.d.mts +104 -0
- package/src/foundry/client/canvas/interaction/render-flags.d.mts +182 -0
- package/src/foundry/client/canvas/interaction/ruler/base-ruler.d.mts +17 -0
- package/src/foundry/client/canvas/interaction/ruler/ruler.d.mts +498 -0
- package/src/foundry/client/canvas/layers/_module.d.mts +36 -0
- package/src/foundry/client/canvas/layers/_types.d.mts +26 -0
- package/src/foundry/client/canvas/layers/base/canvas-layer.d.mts +91 -0
- package/src/foundry/client/canvas/layers/base/interaction-layer.d.mts +165 -0
- package/src/foundry/client/canvas/layers/base/placeables-layer.d.mts +714 -0
- package/src/foundry/client/canvas/layers/controls.d.mts +288 -0
- package/src/foundry/client/canvas/layers/drawings.d.mts +123 -0
- package/src/foundry/client/canvas/layers/effects/background-effects.d.mts +56 -0
- package/src/foundry/client/canvas/layers/effects/coloration-effects.d.mts +51 -0
- package/src/foundry/client/canvas/layers/effects/darkness-effects.d.mts +42 -0
- package/src/foundry/client/canvas/layers/effects/illumination-effects.d.mts +162 -0
- package/src/foundry/client/canvas/layers/effects/weather-effects.d.mts +316 -0
- package/src/foundry/client/canvas/layers/grid.d.mts +284 -0
- package/src/foundry/client/canvas/layers/lighting.d.mts +92 -0
- package/src/foundry/client/canvas/layers/masks/depth.d.mts +68 -0
- package/src/foundry/client/canvas/layers/masks/occlusion.d.mts +101 -0
- package/src/foundry/client/canvas/layers/masks/vision.d.mts +206 -0
- package/src/foundry/client/canvas/layers/notes.d.mts +138 -0
- package/src/foundry/client/canvas/layers/regions.d.mts +123 -0
- package/src/foundry/client/canvas/layers/sounds.d.mts +345 -0
- package/src/foundry/client/canvas/layers/templates.d.mts +79 -0
- package/src/foundry/client/canvas/layers/tiles.d.mts +136 -0
- package/src/foundry/client/canvas/layers/tokens.d.mts +218 -0
- package/src/foundry/client/canvas/layers/walls.d.mts +218 -0
- package/src/foundry/client/canvas/loader.d.mts +319 -0
- package/src/foundry/client/canvas/perception/_module.d.mts +19 -0
- package/src/foundry/client/canvas/perception/_types.d.mts +12 -0
- package/src/foundry/client/canvas/perception/detection-mode.d.mts +173 -0
- package/src/foundry/client/canvas/perception/detection-modes/darkvision.d.mts +26 -0
- package/src/foundry/client/canvas/perception/detection-modes/invisibility-perception.d.mts +29 -0
- package/src/foundry/client/canvas/perception/detection-modes/light-perception.d.mts +33 -0
- package/src/foundry/client/canvas/perception/detection-modes/super-perception.d.mts +27 -0
- package/src/foundry/client/canvas/perception/detection-modes/tremor-perception.d.mts +26 -0
- package/src/foundry/client/canvas/perception/fog.d.mts +157 -0
- package/src/foundry/client/canvas/perception/perception-manager.d.mts +163 -0
- package/src/foundry/client/canvas/perception/vision-mode.d.mts +249 -0
- package/src/foundry/client/canvas/placeables/_module.d.mts +20 -0
- package/src/foundry/client/canvas/placeables/_types.d.mts +16 -0
- package/src/foundry/client/canvas/placeables/drawing.d.mts +412 -0
- package/src/foundry/client/canvas/placeables/light.d.mts +266 -0
- package/src/foundry/client/canvas/placeables/note.d.mts +203 -0
- package/src/foundry/client/canvas/placeables/placeable-object.d.mts +772 -0
- package/src/foundry/client/canvas/placeables/region.d.mts +275 -0
- package/src/foundry/client/canvas/placeables/regions/_module.d.mts +7 -0
- package/src/foundry/client/canvas/placeables/regions/geometry.d.mts +40 -0
- package/src/foundry/client/canvas/placeables/regions/mesh.d.mts +75 -0
- package/src/foundry/client/canvas/placeables/sound.d.mts +271 -0
- package/src/foundry/client/canvas/placeables/template.d.mts +290 -0
- package/src/foundry/client/canvas/placeables/tile.d.mts +349 -0
- package/src/foundry/client/canvas/placeables/token.d.mts +1295 -0
- package/src/foundry/client/canvas/placeables/tokens/_module.d.mts +13 -0
- package/src/foundry/client/canvas/placeables/tokens/base-ruler.d.mts +77 -0
- package/src/foundry/client/canvas/placeables/tokens/ring-config.d.mts +255 -0
- package/src/foundry/client/canvas/placeables/tokens/ring-data.d.mts +149 -0
- package/src/foundry/client/canvas/placeables/tokens/ring.d.mts +290 -0
- package/src/foundry/client/canvas/placeables/tokens/ruler.d.mts +219 -0
- package/src/foundry/client/canvas/placeables/tokens/targets.d.mts +50 -0
- package/src/foundry/client/canvas/placeables/tokens/turn-marker-data.d.mts +17 -0
- package/src/foundry/client/canvas/placeables/tokens/turn-marker.d.mts +16 -0
- package/src/foundry/client/canvas/placeables/wall.d.mts +393 -0
- package/src/foundry/client/canvas/primary/_module.d.mts +12 -0
- package/src/foundry/client/canvas/primary/primary-canvas-container.d.mts +17 -0
- package/src/foundry/client/canvas/primary/primary-canvas-object.d.mts +201 -0
- package/src/foundry/client/canvas/primary/primary-graphics.d.mts +62 -0
- package/src/foundry/client/canvas/primary/primary-occludable-object.d.mts +205 -0
- package/src/foundry/client/canvas/primary/primary-particle-effect.d.mts +17 -0
- package/src/foundry/client/canvas/primary/primary-sprite-mesh.d.mts +203 -0
- package/src/foundry/client/canvas/rendering/_module.d.mts +10 -0
- package/src/foundry/client/canvas/rendering/batching/_module.d.mts +7 -0
- package/src/foundry/client/canvas/rendering/batching/batch-renderer.d.mts +136 -0
- package/src/foundry/client/canvas/rendering/batching/batch-shader-generator.d.mts +30 -0
- package/src/foundry/client/canvas/rendering/blend-modes.d.mts +49 -0
- package/src/foundry/client/canvas/rendering/filters/_module.d.mts +23 -0
- package/src/foundry/client/canvas/rendering/filters/_types.d.mts +4 -0
- package/src/foundry/client/canvas/rendering/filters/base-filter.d.mts +47 -0
- package/src/foundry/client/canvas/rendering/filters/base-mask-filter.d.mts +32 -0
- package/src/foundry/client/canvas/rendering/filters/blur.d.mts +194 -0
- package/src/foundry/client/canvas/rendering/filters/effects-masking.d.mts +144 -0
- package/src/foundry/client/canvas/rendering/filters/environment.d.mts +43 -0
- package/src/foundry/client/canvas/rendering/filters/glow-overlay.d.mts +78 -0
- package/src/foundry/client/canvas/rendering/filters/invisibility.d.mts +32 -0
- package/src/foundry/client/canvas/rendering/filters/outline-overlay.d.mts +87 -0
- package/src/foundry/client/canvas/rendering/filters/smaa/_types.d.mts +13 -0
- package/src/foundry/client/canvas/rendering/filters/smaa/blend.d.mts +19 -0
- package/src/foundry/client/canvas/rendering/filters/smaa/edges.d.mts +22 -0
- package/src/foundry/client/canvas/rendering/filters/smaa/smaa.d.mts +165 -0
- package/src/foundry/client/canvas/rendering/filters/smaa/weights.d.mts +22 -0
- package/src/foundry/client/canvas/rendering/filters/transition.d.mts +130 -0
- package/src/foundry/client/canvas/rendering/filters/visibility.d.mts +82 -0
- package/src/foundry/client/canvas/rendering/filters/vision-mask-filter.d.mts +38 -0
- package/src/foundry/client/canvas/rendering/filters/void.d.mts +20 -0
- package/src/foundry/client/canvas/rendering/filters/weather-occlusion-mask.d.mts +59 -0
- package/src/foundry/client/canvas/rendering/mixins/_module.d.mts +7 -0
- package/src/foundry/client/canvas/rendering/mixins/base-shader-mixin.d.mts +134 -0
- package/src/foundry/client/canvas/rendering/mixins/fragment-channel-mixin.d.mts +66 -0
- package/src/foundry/client/canvas/rendering/shaders/_module.d.mts +93 -0
- package/src/foundry/client/canvas/rendering/shaders/_types.d.mts +16 -0
- package/src/foundry/client/canvas/rendering/shaders/base-shader.d.mts +109 -0
- package/src/foundry/client/canvas/rendering/shaders/graphics/dash-line.d.mts +48 -0
- package/src/foundry/client/canvas/rendering/shaders/grid/grid.d.mts +122 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/background-lighting.d.mts +69 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/base-lighting.d.mts +179 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/coloration-lighting.d.mts +76 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/darkness-lighting.d.mts +76 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/bewitching-wave.d.mts +37 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/black-hole.d.mts +20 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/chroma.d.mts +25 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/dense-smoke.d.mts +20 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/emanation.d.mts +25 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/energy-field.d.mts +25 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/fairy-light.d.mts +42 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/flame.d.mts +60 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/fog.d.mts +25 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/force-grid.d.mts +25 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/ghost-light.d.mts +37 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/hexa-dome.d.mts +25 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/light-dome.d.mts +25 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/magical-gloom.d.mts +20 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/pulse.d.mts +49 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/radial-rainbow.d.mts +25 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/revolving-light.d.mts +39 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/roiling-mass.d.mts +20 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/siren-light.d.mts +66 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/smoke-patch.d.mts +37 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/star-light.d.mts +25 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/sunburst.d.mts +37 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/swirling-rainbow.d.mts +25 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/torch.d.mts +50 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/vortex.d.mts +42 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/effects/wave.d.mts +37 -0
- package/src/foundry/client/canvas/rendering/shaders/lighting/illumination-lighting.d.mts +79 -0
- package/src/foundry/client/canvas/rendering/shaders/region/adjust-darkness-level.d.mts +137 -0
- package/src/foundry/client/canvas/rendering/shaders/region/base.d.mts +80 -0
- package/src/foundry/client/canvas/rendering/shaders/region/highlight.d.mts +97 -0
- package/src/foundry/client/canvas/rendering/shaders/samplers/amplification.d.mts +58 -0
- package/src/foundry/client/canvas/rendering/shaders/samplers/base-sampler.d.mts +223 -0
- package/src/foundry/client/canvas/rendering/shaders/samplers/baseline-illumination.d.mts +40 -0
- package/src/foundry/client/canvas/rendering/shaders/samplers/color-adjustments.d.mts +65 -0
- package/src/foundry/client/canvas/rendering/shaders/samplers/colorize-brightness.d.mts +40 -0
- package/src/foundry/client/canvas/rendering/shaders/samplers/fog-of-war.d.mts +27 -0
- package/src/foundry/client/canvas/rendering/shaders/samplers/primary/depth.d.mts +111 -0
- package/src/foundry/client/canvas/rendering/shaders/samplers/primary/occlusion.d.mts +109 -0
- package/src/foundry/client/canvas/rendering/shaders/samplers/primary/primary.d.mts +38 -0
- package/src/foundry/client/canvas/rendering/shaders/samplers/primary/token-ring.d.mts +79 -0
- package/src/foundry/client/canvas/rendering/shaders/vision/background-vision.d.mts +67 -0
- package/src/foundry/client/canvas/rendering/shaders/vision/base-vision.d.mts +35 -0
- package/src/foundry/client/canvas/rendering/shaders/vision/coloration-vision.d.mts +67 -0
- package/src/foundry/client/canvas/rendering/shaders/vision/effects/amplification.d.mts +34 -0
- package/src/foundry/client/canvas/rendering/shaders/vision/effects/wave.d.mts +62 -0
- package/src/foundry/client/canvas/rendering/shaders/vision/illumination-vision.d.mts +67 -0
- package/src/foundry/client/canvas/rendering/shaders/weather/base-weather.d.mts +120 -0
- package/src/foundry/client/canvas/rendering/shaders/weather/effect.d.mts +57 -0
- package/src/foundry/client/canvas/rendering/shaders/weather/fog.d.mts +52 -0
- package/src/foundry/client/canvas/rendering/shaders/weather/rain.d.mts +44 -0
- package/src/foundry/client/canvas/rendering/shaders/weather/snow.d.mts +36 -0
- package/src/foundry/client/canvas/scene-manager.d.mts +106 -0
- package/src/foundry/client/canvas/sources/base-effect-source.d.mts +297 -0
- package/src/foundry/client/canvas/sources/base-light-source.d.mts +306 -0
- package/src/foundry/client/canvas/sources/global-light-source.d.mts +141 -0
- package/src/foundry/client/canvas/sources/point-darkness-source.d.mts +160 -0
- package/src/foundry/client/canvas/sources/point-effect-source.d.mts +190 -0
- package/src/foundry/client/canvas/sources/point-light-source.d.mts +131 -0
- package/src/foundry/client/canvas/sources/point-movement-source.d.mts +65 -0
- package/src/foundry/client/canvas/sources/point-sound-source.d.mts +92 -0
- package/src/foundry/client/canvas/sources/point-vision-source.d.mts +357 -0
- package/src/foundry/client/canvas/sources/rendered-effect-source.d.mts +471 -0
- package/src/foundry/client/canvas/texture-extractor.d.mts +171 -0
- package/src/foundry/client/canvas/workers/_module.d.mts +6 -0
- package/src/foundry/client/canvas/workers/texture-worker.d.mts +147 -0
- package/src/foundry/client/client.d.mts +2489 -0
- package/src/foundry/client/config.d.mts +684 -238
- package/src/foundry/client/data/_module.d.mts +13 -0
- package/src/foundry/client/data/calendar.d.mts +341 -0
- package/src/foundry/client/data/client-backend.d.mts +52 -0
- package/src/foundry/client/data/region-behaviors/adjust-darkness-level.d.mts +56 -0
- package/src/foundry/client/data/region-behaviors/base.d.mts +60 -0
- package/src/foundry/client/data/region-behaviors/display-scrolling-text.d.mts +64 -0
- package/src/foundry/client/data/region-behaviors/teleport-token.d.mts +31 -0
- package/src/foundry/client/data/region-behaviors/toggle-behavior.d.mts +31 -0
- package/src/foundry/client/data/region-shapes/_module.d.mts +7 -0
- package/src/foundry/client/data/region-shapes/polygon-tree.d.mts +132 -0
- package/src/foundry/client/data/region-shapes/shape.d.mts +129 -0
- package/src/foundry/client/dice/_types.d.mts +65 -0
- package/src/foundry/client/dice/parser.d.mts +192 -0
- package/src/foundry/client/dice/roll.d.mts +663 -0
- package/src/foundry/client/dice/terms/coin.d.mts +71 -0
- package/src/foundry/client/dice/terms/dice.d.mts +424 -0
- package/src/foundry/client/dice/terms/die.d.mts +248 -0
- package/src/foundry/client/dice/terms/fate.d.mts +57 -0
- package/src/foundry/client/dice/terms/function.d.mts +106 -0
- package/src/foundry/client/dice/terms/numeric.d.mts +54 -0
- package/src/foundry/client/dice/terms/operator.d.mts +55 -0
- package/src/foundry/client/dice/terms/parenthetical.d.mts +104 -0
- package/src/foundry/client/dice/terms/pool.d.mts +272 -0
- package/src/foundry/client/dice/terms/string.d.mts +34 -0
- package/src/foundry/client/dice/terms/term.d.mts +178 -0
- package/src/foundry/client/documents/_module.d.mts +51 -0
- package/src/foundry/client/documents/_types.d.mts +134 -0
- package/src/foundry/client/documents/abstract/_module.d.mts +10 -0
- package/src/foundry/client/documents/abstract/canvas-document.d.mts +67 -0
- package/src/foundry/client/documents/abstract/client-document.d.mts +659 -0
- package/src/foundry/client/documents/abstract/directory-collection-mixin.d.mts +132 -0
- package/src/foundry/client/documents/abstract/document-collection.d.mts +243 -0
- package/src/foundry/client/documents/abstract/world-collection.d.mts +192 -0
- package/src/foundry/client/documents/active-effect.d.mts +977 -0
- package/src/foundry/client/documents/actor-delta.d.mts +769 -0
- package/src/foundry/client/documents/actor.d.mts +1036 -0
- package/src/foundry/client/documents/adventure.d.mts +569 -0
- package/src/foundry/client/documents/ambient-light.d.mts +457 -0
- package/src/foundry/client/documents/ambient-sound.d.mts +511 -0
- package/src/foundry/client/documents/card.d.mts +679 -0
- package/src/foundry/client/documents/cards.d.mts +1017 -0
- package/src/foundry/client/documents/chat-message.d.mts +831 -0
- package/src/foundry/client/documents/collections/_module.d.mts +23 -0
- package/src/foundry/client/documents/collections/actors.d.mts +51 -0
- package/src/foundry/client/documents/collections/card-stacks.d.mts +25 -0
- package/src/foundry/client/documents/collections/chat-messages.d.mts +48 -0
- package/src/foundry/client/documents/collections/combat-encounters.d.mts +56 -0
- package/src/foundry/client/documents/collections/compendium-collection.d.mts +491 -0
- package/src/foundry/client/documents/collections/compendium-folders.d.mts +30 -0
- package/src/foundry/client/documents/collections/compendium-packs.d.mts +30 -0
- package/src/foundry/client/documents/collections/fog-explorations.d.mts +32 -0
- package/src/foundry/client/documents/collections/folders.d.mts +49 -0
- package/src/foundry/client/documents/collections/items.d.mts +27 -0
- package/src/foundry/client/documents/collections/journal.d.mts +78 -0
- package/src/foundry/client/documents/collections/macros.d.mts +34 -0
- package/src/foundry/client/documents/collections/playlists.d.mts +45 -0
- package/src/foundry/client/documents/collections/roll-tables.d.mts +34 -0
- package/src/foundry/client/documents/collections/scenes.d.mts +63 -0
- package/src/foundry/client/documents/collections/users.d.mts +72 -0
- package/src/foundry/client/documents/collections/world-settings.d.mts +44 -0
- package/src/foundry/client/documents/combat.d.mts +1056 -0
- package/src/foundry/client/documents/combatant-group.d.mts +509 -0
- package/src/foundry/client/documents/combatant.d.mts +609 -0
- package/src/foundry/client/documents/drawing.d.mts +580 -0
- package/src/foundry/client/documents/fog-exploration.d.mts +495 -0
- package/src/foundry/client/documents/folder.d.mts +659 -0
- package/src/foundry/client/documents/item.d.mts +736 -0
- package/src/foundry/client/documents/journal-entry-category.d.mts +413 -0
- package/src/foundry/client/documents/journal-entry-page.d.mts +839 -0
- package/src/foundry/client/documents/journal-entry.d.mts +694 -0
- package/src/foundry/client/documents/macro.d.mts +610 -0
- package/src/foundry/client/documents/measured-template.d.mts +509 -0
- package/src/foundry/client/documents/note.d.mts +526 -0
- package/src/foundry/client/documents/playlist-sound.d.mts +558 -0
- package/src/foundry/client/documents/playlist.d.mts +830 -0
- package/src/foundry/client/documents/region-behavior.d.mts +524 -0
- package/src/foundry/client/documents/region.d.mts +898 -0
- package/src/foundry/client/documents/roll-table.d.mts +916 -0
- package/src/foundry/client/documents/scene.d.mts +1441 -0
- package/src/foundry/client/documents/setting.d.mts +449 -0
- package/src/foundry/client/documents/table-result.d.mts +526 -0
- package/src/foundry/client/documents/tile.d.mts +524 -0
- package/src/foundry/client/documents/token.d.mts +2168 -0
- package/src/foundry/client/documents/user.d.mts +785 -0
- package/src/foundry/client/documents/wall.d.mts +599 -0
- package/src/foundry/client/game.d.mts +210 -149
- package/src/foundry/client/head.d.mts +13 -11
- package/src/foundry/client/helpers/_module.d.mts +16 -0
- package/src/foundry/client/helpers/_types.d.mts +17 -0
- package/src/foundry/client/helpers/client-issues.d.mts +125 -0
- package/src/foundry/client/helpers/client-settings.d.mts +480 -0
- package/src/foundry/client/helpers/document-index.d.mts +173 -0
- package/src/foundry/client/helpers/hooks.d.mts +171 -0
- package/src/foundry/client/helpers/interaction/_module.d.mts +11 -0
- package/src/foundry/client/helpers/interaction/client-keybindings.d.mts +433 -0
- package/src/foundry/client/helpers/interaction/clipboard-helper.d.mts +20 -0
- package/src/foundry/client/helpers/interaction/gamepad-manager.d.mts +61 -0
- package/src/foundry/client/helpers/interaction/keyboard-manager.d.mts +331 -0
- package/src/foundry/client/helpers/interaction/mouse-manager.d.mts +42 -0
- package/src/foundry/client/helpers/interaction/tooltip-manager.d.mts +268 -0
- package/src/foundry/client/helpers/localization.d.mts +240 -0
- package/src/foundry/client/helpers/media/_module.d.mts +8 -0
- package/src/foundry/client/helpers/media/compendium-art.d.mts +107 -0
- package/src/foundry/client/helpers/media/image-helper.d.mts +235 -0
- package/src/foundry/client/helpers/media/video-helper.d.mts +161 -0
- package/src/foundry/client/helpers/socket-interface.d.mts +74 -0
- package/src/foundry/client/helpers/time.d.mts +87 -0
- package/src/foundry/client/helpers/workers.d.mts +145 -0
- package/src/foundry/client/hooks.d.mts +1156 -948
- package/src/foundry/client/index.d.mts +0 -7
- package/src/foundry/client/nue/tour.d.mts +280 -0
- package/src/foundry/client/nue/tours/canvas-tour.d.mts +15 -0
- package/src/foundry/client/nue/tours/setup-tour.d.mts +31 -0
- package/src/foundry/client/nue/tours/sidebar-tour.d.mts +13 -0
- package/src/foundry/client/packages/_module.d.mts +22 -0
- package/src/foundry/client/packages/client-package.d.mts +154 -0
- package/src/foundry/client/packages/module.d.mts +87 -0
- package/src/foundry/client/packages/system.d.mts +151 -0
- package/src/foundry/client/packages/world.d.mts +155 -0
- package/src/foundry/client/utils/_module.d.mts +25 -0
- package/src/foundry/client/utils/_types.d.mts +3 -0
- package/src/foundry/client/utils/helpers.d.mts +213 -0
- package/src/foundry/common/_types.d.mts +17 -6
- package/src/foundry/common/abstract/_types.d.mts +14 -14
- package/src/foundry/common/abstract/backend.d.mts +13 -7
- package/src/foundry/common/abstract/data.d.mts +227 -160
- package/src/foundry/common/abstract/document.d.mts +688 -531
- package/src/foundry/common/abstract/embedded-collection-delta.d.mts +1 -1
- package/src/foundry/common/abstract/embedded-collection.d.mts +9 -4
- package/src/foundry/common/abstract/singleton-collection.d.mts +1 -1
- package/src/foundry/common/abstract/socket.d.mts +1 -1
- package/src/foundry/common/abstract/type-data.d.mts +106 -87
- package/src/foundry/common/config.d.mts +7 -1
- package/src/foundry/common/constants.d.mts +607 -138
- package/src/foundry/common/data/_module.d.mts +1 -0
- package/src/foundry/common/data/_types.d.mts +14 -13
- package/src/foundry/common/data/data.d.mts +73 -34
- package/src/foundry/common/data/fields.d.mts +2004 -1092
- package/src/foundry/common/data/validation-failure.d.mts +31 -21
- package/src/foundry/common/data/validators.d.mts +2 -2
- package/src/foundry/common/documents/_module.d.mts +2 -0
- package/src/foundry/common/documents/_types.d.mts +89 -97
- package/src/foundry/common/documents/active-effect.d.mts +115 -94
- package/src/foundry/common/documents/actor-delta.d.mts +168 -95
- package/src/foundry/common/documents/actor.d.mts +140 -94
- package/src/foundry/common/documents/adventure.d.mts +103 -65
- package/src/foundry/common/documents/ambient-light.d.mts +84 -65
- package/src/foundry/common/documents/ambient-sound.d.mts +84 -65
- package/src/foundry/common/documents/card.d.mts +115 -93
- package/src/foundry/common/documents/cards.d.mts +129 -74
- package/src/foundry/common/documents/chat-message.d.mts +116 -83
- package/src/foundry/common/documents/combat.d.mts +130 -84
- package/src/foundry/common/documents/combatant-group.d.mts +328 -0
- package/src/foundry/common/documents/combatant.d.mts +113 -79
- package/src/foundry/common/documents/drawing.d.mts +107 -77
- package/src/foundry/common/documents/fog-exploration.d.mts +106 -70
- package/src/foundry/common/documents/folder.d.mts +117 -74
- package/src/foundry/common/documents/item.d.mts +129 -83
- package/src/foundry/common/documents/journal-entry-category.d.mts +316 -0
- package/src/foundry/common/documents/journal-entry-page.d.mts +104 -72
- package/src/foundry/common/documents/journal-entry.d.mts +117 -67
- package/src/foundry/common/documents/macro.d.mts +135 -86
- package/src/foundry/common/documents/measured-template.d.mts +95 -75
- package/src/foundry/common/documents/note.d.mts +91 -70
- package/src/foundry/common/documents/playlist-sound.d.mts +104 -75
- package/src/foundry/common/documents/playlist.d.mts +127 -77
- package/src/foundry/common/documents/region-behavior.d.mts +94 -73
- package/src/foundry/common/documents/region.d.mts +87 -69
- package/src/foundry/common/documents/roll-table.d.mts +90 -41
- package/src/foundry/common/documents/scene.d.mts +222 -71
- package/src/foundry/common/documents/setting.d.mts +113 -67
- package/src/foundry/common/documents/table-result.d.mts +127 -79
- package/src/foundry/common/documents/tile.d.mts +97 -68
- package/src/foundry/common/documents/token.d.mts +214 -88
- package/src/foundry/common/documents/user.d.mts +116 -114
- package/src/foundry/common/documents/wall.d.mts +64 -44
- package/src/foundry/common/grid/_types.d.mts +20 -17
- package/src/foundry/common/grid/base.d.mts +110 -21
- package/src/foundry/common/grid/grid-hex.d.mts +1 -0
- package/src/foundry/common/grid/gridless.d.mts +4 -3
- package/src/foundry/common/grid/hexagonal.d.mts +32 -6
- package/src/foundry/common/grid/square.d.mts +5 -4
- package/src/foundry/common/packages/base-module.d.mts +0 -1
- package/src/foundry/common/packages/base-package.d.mts +42 -17
- package/src/foundry/common/packages/base-system.d.mts +39 -1
- package/src/foundry/common/packages/base-world.d.mts +13 -4
- package/src/foundry/common/packages/sub-types.d.mts +7 -9
- package/src/foundry/common/primitives/array.d.mts +1 -1
- package/src/foundry/common/primitives/math.d.mts +3 -1
- package/src/foundry/common/primitives/number.d.mts +1 -1
- package/src/foundry/common/primitives/string.d.mts +1 -1
- package/src/foundry/common/prosemirror/_module.d.mts +44 -28
- package/src/foundry/common/prosemirror/_types.d.mts +16 -11
- package/src/foundry/common/prosemirror/click-handler.d.mts +8 -5
- package/src/foundry/common/prosemirror/content-link-plugin.d.mts +28 -8
- package/src/foundry/common/prosemirror/dirty-plugin.d.mts +2 -2
- package/src/foundry/common/prosemirror/dom-parser.d.mts +4 -4
- package/src/foundry/common/prosemirror/dropdown.d.mts +51 -19
- package/src/foundry/common/prosemirror/extensions.d.mts +5 -2
- package/src/foundry/common/prosemirror/highlight-matches-plugin.d.mts +43 -56
- package/src/foundry/common/prosemirror/image-plugin.d.mts +23 -18
- package/src/foundry/common/prosemirror/input-rules.d.mts +20 -15
- package/src/foundry/common/prosemirror/keymaps.d.mts +24 -21
- package/src/foundry/common/prosemirror/menu.d.mts +124 -85
- package/src/foundry/common/prosemirror/paste-transformer.d.mts +7 -13
- package/src/foundry/common/prosemirror/plugin.d.mts +11 -7
- package/src/foundry/common/prosemirror/schema/_types.d.mts +16 -0
- package/src/foundry/common/prosemirror/schema/attribute-capture.d.mts +20 -19
- package/src/foundry/common/prosemirror/schema/core.d.mts +7 -45
- package/src/foundry/common/prosemirror/schema/image-link-node.d.mts +15 -9
- package/src/foundry/common/prosemirror/schema/image-node.d.mts +11 -7
- package/src/foundry/common/prosemirror/schema/link-mark.d.mts +16 -11
- package/src/foundry/common/prosemirror/schema/lists.d.mts +5 -27
- package/src/foundry/common/prosemirror/schema/marks.d.mts +19 -44
- package/src/foundry/common/prosemirror/schema/other.d.mts +43 -149
- package/src/foundry/common/prosemirror/schema/schema-definition.d.mts +30 -9
- package/src/foundry/common/prosemirror/schema/secret-node.d.mts +8 -8
- package/src/foundry/common/prosemirror/schema/tables.d.mts +18 -90
- package/src/foundry/common/prosemirror/schema/utils.d.mts +3 -1
- package/src/foundry/common/prosemirror/schema.d.mts +51 -16
- package/src/foundry/common/prosemirror/string-serializer.d.mts +59 -40
- package/src/foundry/common/prosemirror/util.d.mts +38 -18
- package/src/foundry/common/utils/_module.d.mts +5 -2
- package/src/foundry/common/utils/_types.d.mts +27 -0
- package/src/foundry/common/utils/bitmask.d.mts +8 -7
- package/src/foundry/common/utils/collection.d.mts +7 -7
- package/src/foundry/common/utils/color.d.mts +11 -2
- package/src/foundry/common/utils/event-emitter.d.mts +12 -17
- package/src/foundry/common/utils/geometry.d.mts +13 -10
- package/src/foundry/common/utils/helpers.d.mts +320 -264
- package/src/foundry/common/utils/http.d.mts +36 -28
- package/src/foundry/common/utils/iterable-weak-map.d.mts +43 -30
- package/src/foundry/common/utils/iterable-weak-set.d.mts +21 -8
- package/src/foundry/common/utils/logging.d.mts +16 -9
- package/src/foundry/common/utils/semaphore.d.mts +19 -29
- package/src/foundry/common/utils/string-tree.d.mts +35 -32
- package/src/foundry/common/utils/word-tree.d.mts +53 -16
- package/src/foundry/index.d.mts +0 -2
- package/src/foundry/public/scripts/clipper/clipper.d.mts +3 -2
- package/src/foundry/public/scripts/index.d.mts +1 -0
- package/src/foundry/public/scripts/ktx2/basis_transcoder.d.mts +5 -0
- package/src/foundry/public/scripts/ktx2/index.d.mts +2 -0
- package/src/foundry/public/scripts/ktx2/pixi-ktx2.min.d.mts +5 -0
- package/src/foundry/public/scripts/workers/image-compressor.d.mts +12 -4
- package/src/types/augments/particles.d.mts +1 -1
- package/src/types/augments/pixi.d.mts +20 -11
- package/src/types/augments/smooth.d.mts +1 -1
- package/src/types/augments/socket.io-client.d.mts +0 -1
- package/src/types/augments/tinyMCE.d.mts +1 -1
- package/src/types/config.d.mts +3 -6
- package/src/types/documentConfiguration.d.mts +22 -21
- package/src/types/lib.d.mts +1 -1
- package/src/types/workers/image-compressor.d.mts +102 -67
- package/src/utils/index.d.mts +240 -117
- package/tsconfig.base.json +24 -0
- package/tsconfig.json +7 -24
- package/src/foundry/client/apps/app.d.mts +0 -609
- package/src/foundry/client/apps/av/av-config.d.mts +0 -98
- package/src/foundry/client/apps/av/camera-popout.d.mts +0 -49
- package/src/foundry/client/apps/av/cameras.d.mts +0 -194
- package/src/foundry/client/apps/av/index.d.mts +0 -3
- package/src/foundry/client/apps/dialogs/folder-export.d.mts +0 -16
- package/src/foundry/client/apps/dialogs/index.d.mts +0 -1
- package/src/foundry/client/apps/dice/dice-config.d.mts +0 -59
- package/src/foundry/client/apps/dice/index.d.mts +0 -1
- package/src/foundry/client/apps/form.d.mts +0 -511
- package/src/foundry/client/apps/forms/actor.d.mts +0 -186
- package/src/foundry/client/apps/forms/adventure-exporter.d.mts +0 -137
- package/src/foundry/client/apps/forms/adventure-importer.d.mts +0 -93
- package/src/foundry/client/apps/forms/base-sheet.d.mts +0 -53
- package/src/foundry/client/apps/forms/card-config.d.mts +0 -56
- package/src/foundry/client/apps/forms/cards-config.d.mts +0 -141
- package/src/foundry/client/apps/forms/combat-config.d.mts +0 -51
- package/src/foundry/client/apps/forms/combatant-config.d.mts +0 -45
- package/src/foundry/client/apps/forms/default-sheets-config.d.mts +0 -46
- package/src/foundry/client/apps/forms/effect-config.d.mts +0 -77
- package/src/foundry/client/apps/forms/folder-config.d.mts +0 -60
- package/src/foundry/client/apps/forms/fonts.d.mts +0 -175
- package/src/foundry/client/apps/forms/grid-config.d.mts +0 -139
- package/src/foundry/client/apps/forms/image-popout.d.mts +0 -185
- package/src/foundry/client/apps/forms/index.d.mts +0 -26
- package/src/foundry/client/apps/forms/item.d.mts +0 -58
- package/src/foundry/client/apps/forms/journal-page-sheet.d.mts +0 -315
- package/src/foundry/client/apps/forms/journal-sheet.d.mts +0 -322
- package/src/foundry/client/apps/forms/macro-config.d.mts +0 -59
- package/src/foundry/client/apps/forms/measure-template.d.mts +0 -57
- package/src/foundry/client/apps/forms/ownership.d.mts +0 -66
- package/src/foundry/client/apps/forms/playlist-config.d.mts +0 -44
- package/src/foundry/client/apps/forms/playlist-sound-config.d.mts +0 -63
- package/src/foundry/client/apps/forms/roll-table-config.d.mts +0 -161
- package/src/foundry/client/apps/forms/scene-config.d.mts +0 -156
- package/src/foundry/client/apps/forms/sheet-config.d.mts +0 -191
- package/src/foundry/client/apps/forms/user-config.d.mts +0 -72
- package/src/foundry/client/apps/hud/chatbubble.d.mts +0 -125
- package/src/foundry/client/apps/hud/container.d.mts +0 -54
- package/src/foundry/client/apps/hud/controls.d.mts +0 -211
- package/src/foundry/client/apps/hud/hotbar.d.mts +0 -174
- package/src/foundry/client/apps/hud/hud.d.mts +0 -87
- package/src/foundry/client/apps/hud/index.d.mts +0 -9
- package/src/foundry/client/apps/hud/menu.d.mts +0 -84
- package/src/foundry/client/apps/hud/navigation.d.mts +0 -121
- package/src/foundry/client/apps/hud/pause.d.mts +0 -37
- package/src/foundry/client/apps/hud/players.d.mts +0 -87
- package/src/foundry/client/apps/i18n.d.mts +0 -225
- package/src/foundry/client/apps/index.d.mts +0 -11
- package/src/foundry/client/apps/placeables/drawing-config.d.mts +0 -88
- package/src/foundry/client/apps/placeables/drawing-hud.d.mts +0 -31
- package/src/foundry/client/apps/placeables/index.d.mts +0 -8
- package/src/foundry/client/apps/placeables/note-config.d.mts +0 -75
- package/src/foundry/client/apps/placeables/tile-config.d.mts +0 -67
- package/src/foundry/client/apps/placeables/tile-hud.d.mts +0 -42
- package/src/foundry/client/apps/placeables/token-config.d.mts +0 -277
- package/src/foundry/client/apps/placeables/token-hud.d.mts +0 -139
- package/src/foundry/client/apps/placeables/wall-config.d.mts +0 -67
- package/src/foundry/client/apps/sidebar/apps/chat-popout.d.mts +0 -39
- package/src/foundry/client/apps/sidebar/apps/client-settings.d.mts +0 -98
- package/src/foundry/client/apps/sidebar/apps/compendium.d.mts +0 -95
- package/src/foundry/client/apps/sidebar/apps/index.d.mts +0 -10
- package/src/foundry/client/apps/sidebar/apps/invitation-links.d.mts +0 -32
- package/src/foundry/client/apps/sidebar/apps/keybindings-config.d.mts +0 -181
- package/src/foundry/client/apps/sidebar/apps/module-management.d.mts +0 -135
- package/src/foundry/client/apps/sidebar/apps/permission-config.d.mts +0 -72
- package/src/foundry/client/apps/sidebar/apps/support-details.d.mts +0 -126
- package/src/foundry/client/apps/sidebar/apps/tours-management.d.mts +0 -54
- package/src/foundry/client/apps/sidebar/apps/world-config.d.mts +0 -60
- package/src/foundry/client/apps/sidebar/directory-tab-mixin.d.mts +0 -291
- package/src/foundry/client/apps/sidebar/document-directory.d.mts +0 -177
- package/src/foundry/client/apps/sidebar/index.d.mts +0 -7
- package/src/foundry/client/apps/sidebar/package-configuration.d.mts +0 -86
- package/src/foundry/client/apps/sidebar/sidebar-tab.d.mts +0 -80
- package/src/foundry/client/apps/sidebar/sidebar.d.mts +0 -100
- package/src/foundry/client/apps/sidebar/tabs/actors-directory.d.mts +0 -29
- package/src/foundry/client/apps/sidebar/tabs/cards-directory.d.mts +0 -21
- package/src/foundry/client/apps/sidebar/tabs/chat-log.d.mts +0 -376
- package/src/foundry/client/apps/sidebar/tabs/combat-tracker.d.mts +0 -165
- package/src/foundry/client/apps/sidebar/tabs/compendium-directory.d.mts +0 -120
- package/src/foundry/client/apps/sidebar/tabs/index.d.mts +0 -12
- package/src/foundry/client/apps/sidebar/tabs/items-directory.d.mts +0 -23
- package/src/foundry/client/apps/sidebar/tabs/journal-directory.d.mts +0 -22
- package/src/foundry/client/apps/sidebar/tabs/macros-directory.d.mts +0 -25
- package/src/foundry/client/apps/sidebar/tabs/playlists-directory.d.mts +0 -283
- package/src/foundry/client/apps/sidebar/tabs/roll-table-directory.d.mts +0 -22
- package/src/foundry/client/apps/sidebar/tabs/scenes-directory.d.mts +0 -43
- package/src/foundry/client/apps/sidebar/tabs/settings.d.mts +0 -90
- package/src/foundry/client/apps/templates.d.mts +0 -486
- package/src/foundry/client/av/clients/index.d.mts +0 -1
- package/src/foundry/client/av/index.d.mts +0 -4
- package/src/foundry/client/core/clipboard.d.mts +0 -20
- package/src/foundry/client/core/document-index.d.mts +0 -126
- package/src/foundry/client/core/gamepad.d.mts +0 -76
- package/src/foundry/client/core/hooks.d.mts +0 -130
- package/src/foundry/client/core/image.d.mts +0 -240
- package/src/foundry/client/core/index.d.mts +0 -21
- package/src/foundry/client/core/issues.d.mts +0 -107
- package/src/foundry/client/core/keybindings.d.mts +0 -413
- package/src/foundry/client/core/keyboard.d.mts +0 -271
- package/src/foundry/client/core/mouse.d.mts +0 -28
- package/src/foundry/client/core/nue.d.mts +0 -38
- package/src/foundry/client/core/packages.d.mts +0 -538
- package/src/foundry/client/core/settings.d.mts +0 -386
- package/src/foundry/client/core/socket.d.mts +0 -62
- package/src/foundry/client/core/sorting.d.mts +0 -76
- package/src/foundry/client/core/time.d.mts +0 -76
- package/src/foundry/client/core/tooltip.d.mts +0 -198
- package/src/foundry/client/core/tour.d.mts +0 -288
- package/src/foundry/client/core/tours.d.mts +0 -22
- package/src/foundry/client/core/utils.d.mts +0 -94
- package/src/foundry/client/core/video.d.mts +0 -161
- package/src/foundry/client/core/workers.d.mts +0 -135
- package/src/foundry/client/data/abstract/canvas-document.d.mts +0 -74
- package/src/foundry/client/data/abstract/client-document.d.mts +0 -687
- package/src/foundry/client/data/abstract/directory-collection-mixin.d.mts +0 -119
- package/src/foundry/client/data/abstract/document-collection.d.mts +0 -242
- package/src/foundry/client/data/abstract/index.d.mts +0 -5
- package/src/foundry/client/data/abstract/world-collection.d.mts +0 -157
- package/src/foundry/client/data/collections/actors.d.mts +0 -51
- package/src/foundry/client/data/collections/cards.d.mts +0 -25
- package/src/foundry/client/data/collections/combats.d.mts +0 -56
- package/src/foundry/client/data/collections/compendium-collection.d.mts +0 -474
- package/src/foundry/client/data/collections/compendium-folders.d.mts +0 -27
- package/src/foundry/client/data/collections/compendium-packs.d.mts +0 -27
- package/src/foundry/client/data/collections/fog.d.mts +0 -30
- package/src/foundry/client/data/collections/folder.d.mts +0 -47
- package/src/foundry/client/data/collections/index.d.mts +0 -17
- package/src/foundry/client/data/collections/items.d.mts +0 -27
- package/src/foundry/client/data/collections/journal.d.mts +0 -79
- package/src/foundry/client/data/collections/macros.d.mts +0 -34
- package/src/foundry/client/data/collections/messages.d.mts +0 -48
- package/src/foundry/client/data/collections/playlists.d.mts +0 -44
- package/src/foundry/client/data/collections/scenes.d.mts +0 -65
- package/src/foundry/client/data/collections/settings.d.mts +0 -42
- package/src/foundry/client/data/collections/tables.d.mts +0 -34
- package/src/foundry/client/data/collections/users.d.mts +0 -62
- package/src/foundry/client/data/documents/active-effect.d.mts +0 -953
- package/src/foundry/client/data/documents/actor-delta.d.mts +0 -743
- package/src/foundry/client/data/documents/actor.d.mts +0 -980
- package/src/foundry/client/data/documents/adventure.d.mts +0 -539
- package/src/foundry/client/data/documents/ambient-light.d.mts +0 -449
- package/src/foundry/client/data/documents/ambient-sound.d.mts +0 -490
- package/src/foundry/client/data/documents/card.d.mts +0 -659
- package/src/foundry/client/data/documents/cards.d.mts +0 -1013
- package/src/foundry/client/data/documents/chat-message.d.mts +0 -764
- package/src/foundry/client/data/documents/combat.d.mts +0 -959
- package/src/foundry/client/data/documents/combatant.d.mts +0 -597
- package/src/foundry/client/data/documents/drawing.d.mts +0 -563
- package/src/foundry/client/data/documents/fog-exploration.d.mts +0 -458
- package/src/foundry/client/data/documents/folder.d.mts +0 -574
- package/src/foundry/client/data/documents/index.d.mts +0 -32
- package/src/foundry/client/data/documents/item.d.mts +0 -725
- package/src/foundry/client/data/documents/journal-entry-page.d.mts +0 -798
- package/src/foundry/client/data/documents/journal-entry.d.mts +0 -683
- package/src/foundry/client/data/documents/macro.d.mts +0 -591
- package/src/foundry/client/data/documents/measured-template.d.mts +0 -505
- package/src/foundry/client/data/documents/note.d.mts +0 -524
- package/src/foundry/client/data/documents/playlist-sound.d.mts +0 -530
- package/src/foundry/client/data/documents/playlist.d.mts +0 -798
- package/src/foundry/client/data/documents/region-behavior.d.mts +0 -508
- package/src/foundry/client/data/documents/region.d.mts +0 -786
- package/src/foundry/client/data/documents/scene.d.mts +0 -1101
- package/src/foundry/client/data/documents/setting.d.mts +0 -437
- package/src/foundry/client/data/documents/table-result.d.mts +0 -504
- package/src/foundry/client/data/documents/table.d.mts +0 -905
- package/src/foundry/client/data/documents/tile.d.mts +0 -519
- package/src/foundry/client/data/documents/token.d.mts +0 -1371
- package/src/foundry/client/data/documents/user.d.mts +0 -633
- package/src/foundry/client/data/documents/wall.d.mts +0 -566
- package/src/foundry/client/data/index.d.mts +0 -3
- package/src/foundry/client/pixi/board.d.mts +0 -827
- package/src/foundry/client/pixi/core/containers/base-canvas-group.d.mts +0 -155
- package/src/foundry/client/pixi/core/containers/cached-container.d.mts +0 -136
- package/src/foundry/client/pixi/core/containers/full-canvas-container.d.mts +0 -34
- package/src/foundry/client/pixi/core/containers/index.d.mts +0 -8
- package/src/foundry/client/pixi/core/containers/point-source-mesh.d.mts +0 -72
- package/src/foundry/client/pixi/core/containers/quad-mesh.d.mts +0 -53
- package/src/foundry/client/pixi/core/containers/quadtree.d.mts +0 -258
- package/src/foundry/client/pixi/core/containers/sprite-mesh.d.mts +0 -369
- package/src/foundry/client/pixi/core/containers/unbound-container.d.mts +0 -39
- package/src/foundry/client/pixi/core/index.d.mts +0 -4
- package/src/foundry/client/pixi/core/interaction/canvas-animation.d.mts +0 -242
- package/src/foundry/client/pixi/core/interaction/control-icon.d.mts +0 -128
- package/src/foundry/client/pixi/core/interaction/index.d.mts +0 -8
- package/src/foundry/client/pixi/core/interaction/mouse-handler.d.mts +0 -358
- package/src/foundry/client/pixi/core/interaction/ping.d.mts +0 -89
- package/src/foundry/client/pixi/core/interaction/pings/chevron.d.mts +0 -86
- package/src/foundry/client/pixi/core/interaction/pings/index.d.mts +0 -2
- package/src/foundry/client/pixi/core/interaction/pings/pulse.d.mts +0 -172
- package/src/foundry/client/pixi/core/interaction/render-flags.d.mts +0 -180
- package/src/foundry/client/pixi/core/interaction/resize-handle.d.mts +0 -82
- package/src/foundry/client/pixi/core/interaction/targets.d.mts +0 -48
- package/src/foundry/client/pixi/core/loader.d.mts +0 -256
- package/src/foundry/client/pixi/core/shapes/index.d.mts +0 -5
- package/src/foundry/client/pixi/core/shapes/limited-angle-polygon.d.mts +0 -144
- package/src/foundry/client/pixi/core/shapes/polygon-mesher.d.mts +0 -138
- package/src/foundry/client/pixi/core/shapes/precise-text.d.mts +0 -45
- package/src/foundry/client/pixi/core/shapes/ray.d.mts +0 -189
- package/src/foundry/client/pixi/core/shapes/source-polygon.d.mts +0 -344
- package/src/foundry/client/pixi/extensions/circle.d.mts +0 -143
- package/src/foundry/client/pixi/extensions/graphics.d.mts +0 -45
- package/src/foundry/client/pixi/extensions/index.d.mts +0 -5
- package/src/foundry/client/pixi/extensions/observable-transform.d.mts +0 -38
- package/src/foundry/client/pixi/extensions/polygon.d.mts +0 -163
- package/src/foundry/client/pixi/extensions/rectangle.d.mts +0 -274
- package/src/foundry/client/pixi/groups/effects.d.mts +0 -237
- package/src/foundry/client/pixi/groups/environment.d.mts +0 -129
- package/src/foundry/client/pixi/groups/hidden.d.mts +0 -56
- package/src/foundry/client/pixi/groups/index.d.mts +0 -7
- package/src/foundry/client/pixi/groups/interface.d.mts +0 -98
- package/src/foundry/client/pixi/groups/overlay.d.mts +0 -30
- package/src/foundry/client/pixi/groups/primary.d.mts +0 -222
- package/src/foundry/client/pixi/groups/rendered.d.mts +0 -30
- package/src/foundry/client/pixi/index.d.mts +0 -10
- package/src/foundry/client/pixi/layers/base/canvas-layer.d.mts +0 -91
- package/src/foundry/client/pixi/layers/base/index.d.mts +0 -3
- package/src/foundry/client/pixi/layers/base/interaction-layer.d.mts +0 -163
- package/src/foundry/client/pixi/layers/base/placeables-layer.d.mts +0 -677
- package/src/foundry/client/pixi/layers/controls/cursor.d.mts +0 -42
- package/src/foundry/client/pixi/layers/controls/door.d.mts +0 -89
- package/src/foundry/client/pixi/layers/controls/index.d.mts +0 -4
- package/src/foundry/client/pixi/layers/controls/layer.d.mts +0 -274
- package/src/foundry/client/pixi/layers/controls/ruler.d.mts +0 -500
- package/src/foundry/client/pixi/layers/effects/background-effects.d.mts +0 -47
- package/src/foundry/client/pixi/layers/effects/coloration-effects.d.mts +0 -41
- package/src/foundry/client/pixi/layers/effects/darkness-effects.d.mts +0 -33
- package/src/foundry/client/pixi/layers/effects/illumination-effects.d.mts +0 -151
- package/src/foundry/client/pixi/layers/effects/index.d.mts +0 -7
- package/src/foundry/client/pixi/layers/effects/visibility.d.mts +0 -245
- package/src/foundry/client/pixi/layers/effects/weather/particles/effect.d.mts +0 -56
- package/src/foundry/client/pixi/layers/effects/weather/particles/index.d.mts +0 -2
- package/src/foundry/client/pixi/layers/effects/weather/particles/leaves.d.mts +0 -49
- package/src/foundry/client/pixi/layers/effects/weather-effects.d.mts +0 -299
- package/src/foundry/client/pixi/layers/grid/highlight.d.mts +0 -43
- package/src/foundry/client/pixi/layers/grid/index.d.mts +0 -3
- package/src/foundry/client/pixi/layers/grid/layer.d.mts +0 -269
- package/src/foundry/client/pixi/layers/grid/mesh.d.mts +0 -94
- package/src/foundry/client/pixi/layers/index.d.mts +0 -6
- package/src/foundry/client/pixi/layers/masks/depth.d.mts +0 -67
- package/src/foundry/client/pixi/layers/masks/index.d.mts +0 -3
- package/src/foundry/client/pixi/layers/masks/occlusion.d.mts +0 -98
- package/src/foundry/client/pixi/layers/masks/vision.d.mts +0 -202
- package/src/foundry/client/pixi/layers/placeables/drawings.d.mts +0 -112
- package/src/foundry/client/pixi/layers/placeables/index.d.mts +0 -9
- package/src/foundry/client/pixi/layers/placeables/lighting.d.mts +0 -81
- package/src/foundry/client/pixi/layers/placeables/notes.d.mts +0 -127
- package/src/foundry/client/pixi/layers/placeables/regions.d.mts +0 -113
- package/src/foundry/client/pixi/layers/placeables/sounds.d.mts +0 -334
- package/src/foundry/client/pixi/layers/placeables/templates.d.mts +0 -68
- package/src/foundry/client/pixi/layers/placeables/tiles.d.mts +0 -125
- package/src/foundry/client/pixi/layers/placeables/tokens.d.mts +0 -210
- package/src/foundry/client/pixi/layers/placeables/walls.d.mts +0 -206
- package/src/foundry/client/pixi/perception/clockwise-sweep.d.mts +0 -192
- package/src/foundry/client/pixi/perception/detection-mode.d.mts +0 -286
- package/src/foundry/client/pixi/perception/fog.d.mts +0 -154
- package/src/foundry/client/pixi/perception/index.d.mts +0 -6
- package/src/foundry/client/pixi/perception/perception-manager.d.mts +0 -167
- package/src/foundry/client/pixi/perception/vision-mode.d.mts +0 -245
- package/src/foundry/client/pixi/perception/weiler-atherton-clipping.d.mts +0 -190
- package/src/foundry/client/pixi/placeable.d.mts +0 -734
- package/src/foundry/client/pixi/placeables/drawing.d.mts +0 -419
- package/src/foundry/client/pixi/placeables/index.d.mts +0 -10
- package/src/foundry/client/pixi/placeables/light.d.mts +0 -280
- package/src/foundry/client/pixi/placeables/note.d.mts +0 -210
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/index.d.mts +0 -4
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-canvas-object.d.mts +0 -199
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-graphics.d.mts +0 -60
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-occludable-object.d.mts +0 -202
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-sprite-mesh.d.mts +0 -194
- package/src/foundry/client/pixi/placeables/region.d.mts +0 -286
- package/src/foundry/client/pixi/placeables/sound.d.mts +0 -278
- package/src/foundry/client/pixi/placeables/template.d.mts +0 -298
- package/src/foundry/client/pixi/placeables/tile.d.mts +0 -355
- package/src/foundry/client/pixi/placeables/token.d.mts +0 -1293
- package/src/foundry/client/pixi/placeables/wall.d.mts +0 -400
- package/src/foundry/client/pixi/webgl/extensions/batch-renderer.d.mts +0 -134
- package/src/foundry/client/pixi/webgl/extensions/batch-shader-generator.d.mts +0 -31
- package/src/foundry/client/pixi/webgl/extensions/blend-modes.d.mts +0 -53
- package/src/foundry/client/pixi/webgl/extensions/index.d.mts +0 -3
- package/src/foundry/client/pixi/webgl/helpers/framebuffer-snapshot.d.mts +0 -31
- package/src/foundry/client/pixi/webgl/helpers/index.d.mts +0 -3
- package/src/foundry/client/pixi/webgl/helpers/smooth-noise.d.mts +0 -80
- package/src/foundry/client/pixi/webgl/helpers/texture-extractor.d.mts +0 -119
- package/src/foundry/client/pixi/webgl/index.d.mts +0 -3
- package/src/foundry/client/pixi/webgl/shaders/base-shader-mixin.d.mts +0 -119
- package/src/foundry/client/pixi/webgl/shaders/base-shader.d.mts +0 -111
- package/src/foundry/client/pixi/webgl/shaders/filters/base-filter.d.mts +0 -48
- package/src/foundry/client/pixi/webgl/shaders/filters/base-mask-filter.d.mts +0 -31
- package/src/foundry/client/pixi/webgl/shaders/filters/blur.d.mts +0 -187
- package/src/foundry/client/pixi/webgl/shaders/filters/effects-masking.d.mts +0 -125
- package/src/foundry/client/pixi/webgl/shaders/filters/environment.d.mts +0 -41
- package/src/foundry/client/pixi/webgl/shaders/filters/glow-overlay.d.mts +0 -76
- package/src/foundry/client/pixi/webgl/shaders/filters/index.d.mts +0 -13
- package/src/foundry/client/pixi/webgl/shaders/filters/invisibility.d.mts +0 -30
- package/src/foundry/client/pixi/webgl/shaders/filters/outline-overlay.d.mts +0 -87
- package/src/foundry/client/pixi/webgl/shaders/filters/transition.d.mts +0 -126
- package/src/foundry/client/pixi/webgl/shaders/filters/visibility.d.mts +0 -77
- package/src/foundry/client/pixi/webgl/shaders/filters/vision-mask-filter.d.mts +0 -36
- package/src/foundry/client/pixi/webgl/shaders/filters/void.d.mts +0 -19
- package/src/foundry/client/pixi/webgl/shaders/filters/weather-occlusion-masks.d.mts +0 -57
- package/src/foundry/client/pixi/webgl/shaders/fragment-channel-mixin.d.mts +0 -60
- package/src/foundry/client/pixi/webgl/shaders/grid/grid.d.mts +0 -113
- package/src/foundry/client/pixi/webgl/shaders/grid/index.d.mts +0 -1
- package/src/foundry/client/pixi/webgl/shaders/index.d.mts +0 -10
- package/src/foundry/client/pixi/webgl/shaders/lighting/background-lighting.d.mts +0 -66
- package/src/foundry/client/pixi/webgl/shaders/lighting/base-lighting.d.mts +0 -178
- package/src/foundry/client/pixi/webgl/shaders/lighting/coloration-lighting.d.mts +0 -74
- package/src/foundry/client/pixi/webgl/shaders/lighting/darkness-lighting.d.mts +0 -74
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/bewitching-wave.d.mts +0 -35
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/black-hole.d.mts +0 -19
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/chroma.d.mts +0 -24
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/emanation.d.mts +0 -24
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/energy-field.d.mts +0 -24
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/fairy-light.d.mts +0 -40
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/flame.d.mts +0 -57
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/fog.d.mts +0 -24
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/force-grid.d.mts +0 -24
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/ghost-light.d.mts +0 -35
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/hexa-dome.d.mts +0 -24
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/index.d.mts +0 -25
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/light-dome.d.mts +0 -24
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/magical-gloom.d.mts +0 -19
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/pulse.d.mts +0 -46
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/radial-rainbow.d.mts +0 -24
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/revolving-light.d.mts +0 -37
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/roiling-mass.d.mts +0 -19
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/siren-light.d.mts +0 -63
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/smoke-patch.d.mts +0 -35
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/star-light.d.mts +0 -24
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/sunburst.d.mts +0 -35
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/swirling-rainbow.d.mts +0 -24
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/torch.d.mts +0 -47
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/vortex.d.mts +0 -40
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/wave.d.mts +0 -35
- package/src/foundry/client/pixi/webgl/shaders/lighting/illumination-lighting.d.mts +0 -80
- package/src/foundry/client/pixi/webgl/shaders/lighting/index.d.mts +0 -6
- package/src/foundry/client/pixi/webgl/shaders/region/adjust-darkness-level.d.mts +0 -135
- package/src/foundry/client/pixi/webgl/shaders/region/base.d.mts +0 -79
- package/src/foundry/client/pixi/webgl/shaders/region/highlight.d.mts +0 -95
- package/src/foundry/client/pixi/webgl/shaders/region/index.d.mts +0 -3
- package/src/foundry/client/pixi/webgl/shaders/samplers/base-sampler.d.mts +0 -205
- package/src/foundry/client/pixi/webgl/shaders/samplers/baseline-illumination.d.mts +0 -39
- package/src/foundry/client/pixi/webgl/shaders/samplers/color-adjustment.d.mts +0 -118
- package/src/foundry/client/pixi/webgl/shaders/samplers/depth.d.mts +0 -107
- package/src/foundry/client/pixi/webgl/shaders/samplers/fog-of-war.d.mts +0 -25
- package/src/foundry/client/pixi/webgl/shaders/samplers/index.d.mts +0 -8
- package/src/foundry/client/pixi/webgl/shaders/samplers/occlusion.d.mts +0 -106
- package/src/foundry/client/pixi/webgl/shaders/samplers/primary.d.mts +0 -35
- package/src/foundry/client/pixi/webgl/shaders/samplers/token-ring.d.mts +0 -73
- package/src/foundry/client/pixi/webgl/shaders/vision/background-vision.d.mts +0 -43
- package/src/foundry/client/pixi/webgl/shaders/vision/base-vision.d.mts +0 -33
- package/src/foundry/client/pixi/webgl/shaders/vision/coloration-vision.d.mts +0 -42
- package/src/foundry/client/pixi/webgl/shaders/vision/effects/amplification.d.mts +0 -33
- package/src/foundry/client/pixi/webgl/shaders/vision/effects/index.d.mts +0 -2
- package/src/foundry/client/pixi/webgl/shaders/vision/effects/wave.d.mts +0 -61
- package/src/foundry/client/pixi/webgl/shaders/vision/illumination-vision.d.mts +0 -37
- package/src/foundry/client/pixi/webgl/shaders/vision/index.d.mts +0 -5
- package/src/foundry/client/pixi/webgl/shaders/weather/base-weather.d.mts +0 -110
- package/src/foundry/client/pixi/webgl/shaders/weather/effect.d.mts +0 -56
- package/src/foundry/client/pixi/webgl/shaders/weather/fog.d.mts +0 -51
- package/src/foundry/client/pixi/webgl/shaders/weather/index.d.mts +0 -5
- package/src/foundry/client/pixi/webgl/shaders/weather/rain.d.mts +0 -43
- package/src/foundry/client/pixi/webgl/shaders/weather/snow.d.mts +0 -35
- package/src/foundry/client/pixi/workers/index.d.mts +0 -1
- package/src/foundry/client/pixi/workers/texture-worker.d.mts +0 -105
- package/src/foundry/client/tours/canvas-tour.d.mts +0 -9
- package/src/foundry/client/tours/index.d.mts +0 -3
- package/src/foundry/client/tours/setup-tour.d.mts +0 -31
- package/src/foundry/client/tours/sidebar-tour.d.mts +0 -9
- package/src/foundry/client/ui/dialog.d.mts +0 -337
- package/src/foundry/client/ui/drag.d.mts +0 -128
- package/src/foundry/client/ui/dragdrop.d.mts +0 -130
- package/src/foundry/client/ui/editor.d.mts +0 -554
- package/src/foundry/client/ui/filepicker.d.mts +0 -482
- package/src/foundry/client/ui/filter.d.mts +0 -160
- package/src/foundry/client/ui/forms.d.mts +0 -85
- package/src/foundry/client/ui/index.d.mts +0 -10
- package/src/foundry/client/ui/prosemirror.d.mts +0 -179
- package/src/foundry/client/ui/secrets.d.mts +0 -90
- package/src/foundry/client/ui/tabs.d.mts +0 -124
- package/src/foundry/client-esm/_types.d.mts +0 -9
- package/src/foundry/client-esm/applications/_module.d.mts +0 -30
- package/src/foundry/client-esm/applications/api/application.d.mts +0 -939
- package/src/foundry/client-esm/applications/api/category-browser.d.mts +0 -40
- package/src/foundry/client-esm/applications/api/dialog.d.mts +0 -346
- package/src/foundry/client-esm/applications/api/document-sheet.d.mts +0 -193
- package/src/foundry/client-esm/applications/api/handlebars-application.d.mts +0 -210
- package/src/foundry/client-esm/applications/apps/av/camera-popout.d.mts +0 -23
- package/src/foundry/client-esm/applications/apps/av/cameras.d.mts +0 -95
- package/src/foundry/client-esm/applications/apps/combat-tracker-config.d.mts +0 -21
- package/src/foundry/client-esm/applications/apps/compendium-art-config.d.mts +0 -53
- package/src/foundry/client-esm/applications/apps/document-ownership.d.mts +0 -21
- package/src/foundry/client-esm/applications/apps/document-sheet-config.d.mts +0 -24
- package/src/foundry/client-esm/applications/apps/file-picker.d.mts +0 -410
- package/src/foundry/client-esm/applications/apps/grid-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/apps/image-popout.d.mts +0 -56
- package/src/foundry/client-esm/applications/apps/permission-config.d.mts +0 -60
- package/src/foundry/client-esm/applications/dice/roll-resolver.d.mts +0 -110
- package/src/foundry/client-esm/applications/elements/document-tags.d.mts +0 -92
- package/src/foundry/client-esm/applications/elements/file-picker.d.mts +0 -62
- package/src/foundry/client-esm/applications/elements/form-element.d.mts +0 -106
- package/src/foundry/client-esm/applications/elements/multi-select.d.mts +0 -105
- package/src/foundry/client-esm/applications/elements/prosemirror-editor.d.mts +0 -53
- package/src/foundry/client-esm/applications/forms/fields.d.mts +0 -270
- package/src/foundry/client-esm/applications/handlebars.d.mts +0 -3
- package/src/foundry/client-esm/applications/hud/container.d.mts +0 -15
- package/src/foundry/client-esm/applications/hud/drawing-hud.d.mts +0 -19
- package/src/foundry/client-esm/applications/hud/placeable-hud.d.mts +0 -41
- package/src/foundry/client-esm/applications/hud/tile-hud.d.mts +0 -19
- package/src/foundry/client-esm/applications/hud/token-hud.d.mts +0 -20
- package/src/foundry/client-esm/applications/quickstart.d.mts +0 -20
- package/src/foundry/client-esm/applications/settings/_module.d.mts +0 -7
- package/src/foundry/client-esm/applications/settings/config.d.mts +0 -21
- package/src/foundry/client-esm/applications/settings/dependency-resolution.d.mts +0 -19
- package/src/foundry/client-esm/applications/settings/menus/av-config.d.mts +0 -27
- package/src/foundry/client-esm/applications/settings/menus/default-sheets-config.d.mts +0 -19
- package/src/foundry/client-esm/applications/settings/menus/dice-config.d.mts +0 -18
- package/src/foundry/client-esm/applications/settings/menus/font-config.d.mts +0 -43
- package/src/foundry/client-esm/applications/settings/menus/prototype-overrides.d.mts +0 -21
- package/src/foundry/client-esm/applications/settings/menus/ui-config.d.mts +0 -26
- package/src/foundry/client-esm/applications/sheets/_module.d.mts +0 -37
- package/src/foundry/client-esm/applications/sheets/active-effect-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/actor-sheet.d.mts +0 -31
- package/src/foundry/client-esm/applications/sheets/adventure-exporter.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/adventure-importer.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/ambient-light-config.d.mts +0 -80
- package/src/foundry/client-esm/applications/sheets/ambient-sound-config.d.mts +0 -52
- package/src/foundry/client-esm/applications/sheets/base-sheet.d.mts +0 -23
- package/src/foundry/client-esm/applications/sheets/card-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/cards-config.d.mts +0 -49
- package/src/foundry/client-esm/applications/sheets/combatant-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/drawing-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/folder-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/item-sheet.d.mts +0 -22
- package/src/foundry/client-esm/applications/sheets/journal/dialog-show.d.mts +0 -19
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-category-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-hbs-sheet.d.mts +0 -19
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-image-sheet.d.mts +0 -18
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-markdown-sheet.d.mts +0 -18
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-pdf-sheet.d.mts +0 -18
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-prose-mirror-sheet.d.mts +0 -18
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-sheet.d.mts +0 -28
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-text-sheet.d.mts +0 -18
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-video-sheet.d.mts +0 -18
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-sheet.d.mts +0 -35
- package/src/foundry/client-esm/applications/sheets/macro-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/note-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/playlist-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/playlist-sound-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/region-behavior-config.d.mts +0 -37
- package/src/foundry/client-esm/applications/sheets/region-config.d.mts +0 -43
- package/src/foundry/client-esm/applications/sheets/roll-table-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/roll-table-sheet.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/scene-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/table-result-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/template-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/tile-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/token/mixin.d.mts +0 -28
- package/src/foundry/client-esm/applications/sheets/token/prototype-config.d.mts +0 -18
- package/src/foundry/client-esm/applications/sheets/token/token-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sheets/user-config.d.mts +0 -44
- package/src/foundry/client-esm/applications/sheets/wall-config.d.mts +0 -25
- package/src/foundry/client-esm/applications/sidebar/apps/chat-popout.d.mts +0 -22
- package/src/foundry/client-esm/applications/sidebar/apps/compendium.d.mts +0 -21
- package/src/foundry/client-esm/applications/sidebar/apps/controls-config.d.mts +0 -20
- package/src/foundry/client-esm/applications/sidebar/apps/folder-export.d.mts +0 -18
- package/src/foundry/client-esm/applications/sidebar/apps/frame-viewer.d.mts +0 -22
- package/src/foundry/client-esm/applications/sidebar/apps/invitation-links.d.mts +0 -17
- package/src/foundry/client-esm/applications/sidebar/apps/module-management.d.mts +0 -21
- package/src/foundry/client-esm/applications/sidebar/apps/support-details.d.mts +0 -17
- package/src/foundry/client-esm/applications/sidebar/apps/tours-management.d.mts +0 -20
- package/src/foundry/client-esm/applications/sidebar/apps/world-config.d.mts +0 -19
- package/src/foundry/client-esm/applications/sidebar/document-directory.d.mts +0 -30
- package/src/foundry/client-esm/applications/sidebar/sidebar-tab.d.mts +0 -86
- package/src/foundry/client-esm/applications/sidebar/sidebar.d.mts +0 -18
- package/src/foundry/client-esm/applications/sidebar/tabs/actor-directory.d.mts +0 -20
- package/src/foundry/client-esm/applications/sidebar/tabs/cards-directory.d.mts +0 -20
- package/src/foundry/client-esm/applications/sidebar/tabs/chat.d.mts +0 -19
- package/src/foundry/client-esm/applications/sidebar/tabs/combat-tracker.d.mts +0 -260
- package/src/foundry/client-esm/applications/sidebar/tabs/compendium-directory.d.mts +0 -19
- package/src/foundry/client-esm/applications/sidebar/tabs/item-directory.d.mts +0 -20
- package/src/foundry/client-esm/applications/sidebar/tabs/journal-directory.d.mts +0 -20
- package/src/foundry/client-esm/applications/sidebar/tabs/macro-directory.d.mts +0 -20
- package/src/foundry/client-esm/applications/sidebar/tabs/playlist-directory.d.mts +0 -20
- package/src/foundry/client-esm/applications/sidebar/tabs/roll-table-directory.d.mts +0 -20
- package/src/foundry/client-esm/applications/sidebar/tabs/scene-directory.d.mts +0 -20
- package/src/foundry/client-esm/applications/sidebar/tabs/settings.d.mts +0 -18
- package/src/foundry/client-esm/applications/ui/game-pause.d.mts +0 -22
- package/src/foundry/client-esm/applications/ui/hotbar.d.mts +0 -29
- package/src/foundry/client-esm/applications/ui/main-menu.d.mts +0 -27
- package/src/foundry/client-esm/applications/ui/players.d.mts +0 -26
- package/src/foundry/client-esm/applications/ui/region-legend.d.mts +0 -57
- package/src/foundry/client-esm/applications/ui/scene-controls.d.mts +0 -20
- package/src/foundry/client-esm/applications/ui/scene-navigation.d.mts +0 -28
- package/src/foundry/client-esm/applications/ux/context-menu.d.mts +0 -379
- package/src/foundry/client-esm/applications/ux/drag-drop.d.mts +0 -21
- package/src/foundry/client-esm/applications/ux/draggable.d.mts +0 -9
- package/src/foundry/client-esm/applications/ux/form-data-extended.d.mts +0 -17
- package/src/foundry/client-esm/applications/ux/html-secret.d.mts +0 -21
- package/src/foundry/client-esm/applications/ux/prosemirror-editor.d.mts +0 -9
- package/src/foundry/client-esm/applications/ux/search-filter.d.mts +0 -9
- package/src/foundry/client-esm/applications/ux/tabs.d.mts +0 -29
- package/src/foundry/client-esm/applications/ux/text-editor.d.mts +0 -9
- package/src/foundry/client-esm/appv1/api/application-v1.d.mts +0 -5
- package/src/foundry/client-esm/appv1/api/dialog-v1.d.mts +0 -5
- package/src/foundry/client-esm/appv1/api/document-sheet-v1.d.mts +0 -5
- package/src/foundry/client-esm/appv1/api/form-application-v1.d.mts +0 -5
- package/src/foundry/client-esm/appv1/sheets/actor-sheet.d.mts +0 -5
- package/src/foundry/client-esm/appv1/sheets/adventure-importer.d.mts +0 -5
- package/src/foundry/client-esm/appv1/sheets/item-sheet.d.mts +0 -5
- package/src/foundry/client-esm/appv1/sheets/journal-page-sheet.d.mts +0 -7
- package/src/foundry/client-esm/appv1/sheets/journal-sheet.d.mts +0 -5
- package/src/foundry/client-esm/audio/_types.d.mts +0 -18
- package/src/foundry/client-esm/audio/biquad.d.mts +0 -101
- package/src/foundry/client-esm/audio/cache.d.mts +0 -79
- package/src/foundry/client-esm/audio/convolver.d.mts +0 -93
- package/src/foundry/client-esm/audio/helper.d.mts +0 -370
- package/src/foundry/client-esm/audio/sound.d.mts +0 -506
- package/src/foundry/client-esm/audio/timeout.d.mts +0 -101
- package/src/foundry/client-esm/av/client.d.mts +0 -18
- package/src/foundry/client-esm/av/clients/simplepeer.d.mts +0 -11
- package/src/foundry/client-esm/av/master.d.mts +0 -12
- package/src/foundry/client-esm/av/settings.d.mts +0 -30
- package/src/foundry/client-esm/canvas/_module.d.mts +0 -11
- package/src/foundry/client-esm/canvas/edges/collision.d.mts +0 -144
- package/src/foundry/client-esm/canvas/edges/edge.d.mts +0 -253
- package/src/foundry/client-esm/canvas/edges/edges.d.mts +0 -33
- package/src/foundry/client-esm/canvas/edges/vertex.d.mts +0 -166
- package/src/foundry/client-esm/canvas/regions/_module.d.mts +0 -9
- package/src/foundry/client-esm/canvas/regions/geometry.d.mts +0 -38
- package/src/foundry/client-esm/canvas/regions/mesh.d.mts +0 -72
- package/src/foundry/client-esm/canvas/regions/polygon-tree.d.mts +0 -132
- package/src/foundry/client-esm/canvas/regions/shape.d.mts +0 -129
- package/src/foundry/client-esm/canvas/scene-manager.d.mts +0 -103
- package/src/foundry/client-esm/canvas/smaa/blend.d.mts +0 -17
- package/src/foundry/client-esm/canvas/smaa/edges.d.mts +0 -28
- package/src/foundry/client-esm/canvas/smaa/smaa.d.mts +0 -154
- package/src/foundry/client-esm/canvas/smaa/weights.d.mts +0 -29
- package/src/foundry/client-esm/canvas/sources/base-effect-source.d.mts +0 -294
- package/src/foundry/client-esm/canvas/sources/base-light-source.d.mts +0 -223
- package/src/foundry/client-esm/canvas/sources/global-light-source.d.mts +0 -121
- package/src/foundry/client-esm/canvas/sources/point-darkness-source.d.mts +0 -118
- package/src/foundry/client-esm/canvas/sources/point-effect-source.d.mts +0 -122
- package/src/foundry/client-esm/canvas/sources/point-light-source.d.mts +0 -84
- package/src/foundry/client-esm/canvas/sources/point-movement-source.d.mts +0 -42
- package/src/foundry/client-esm/canvas/sources/point-sound-source.d.mts +0 -62
- package/src/foundry/client-esm/canvas/sources/point-vision-source.d.mts +0 -258
- package/src/foundry/client-esm/canvas/sources/rendered-effect-source.d.mts +0 -441
- package/src/foundry/client-esm/canvas/tokens/_module.d.mts +0 -8
- package/src/foundry/client-esm/canvas/tokens/ring-config.d.mts +0 -252
- package/src/foundry/client-esm/canvas/tokens/ring-data.d.mts +0 -147
- package/src/foundry/client-esm/canvas/tokens/ring.d.mts +0 -287
- package/src/foundry/client-esm/client.d.mts +0 -279
- package/src/foundry/client-esm/config.d.mts +0 -1
- package/src/foundry/client-esm/data/_module.d.mts +0 -13
- package/src/foundry/client-esm/data/calendar.d.mts +0 -200
- package/src/foundry/client-esm/data/client-backend.d.mts +0 -51
- package/src/foundry/client-esm/data/region-behaviors/adjust-darkness-level.d.mts +0 -57
- package/src/foundry/client-esm/data/region-behaviors/base.d.mts +0 -59
- package/src/foundry/client-esm/data/region-behaviors/display-scrolling-text.d.mts +0 -64
- package/src/foundry/client-esm/data/region-behaviors/teleport-token.d.mts +0 -32
- package/src/foundry/client-esm/data/region-behaviors/toggle-behavior.d.mts +0 -31
- package/src/foundry/client-esm/dice/_types.d.mts +0 -61
- package/src/foundry/client-esm/dice/parser.d.mts +0 -191
- package/src/foundry/client-esm/dice/roll.d.mts +0 -662
- package/src/foundry/client-esm/dice/terms/coin.d.mts +0 -71
- package/src/foundry/client-esm/dice/terms/dice.d.mts +0 -411
- package/src/foundry/client-esm/dice/terms/die.d.mts +0 -248
- package/src/foundry/client-esm/dice/terms/fate.d.mts +0 -57
- package/src/foundry/client-esm/dice/terms/function.d.mts +0 -103
- package/src/foundry/client-esm/dice/terms/numeric.d.mts +0 -54
- package/src/foundry/client-esm/dice/terms/operator.d.mts +0 -55
- package/src/foundry/client-esm/dice/terms/parenthetical.d.mts +0 -104
- package/src/foundry/client-esm/dice/terms/pool.d.mts +0 -272
- package/src/foundry/client-esm/dice/terms/string.d.mts +0 -34
- package/src/foundry/client-esm/dice/terms/term.d.mts +0 -174
- package/src/foundry/client-esm/documents/_module.d.mts +0 -11
- package/src/foundry/client-esm/documents/_types.d.mts +0 -8
- package/src/foundry/client-esm/documents/abstract/_module.d.mts +0 -6
- package/src/foundry/client-esm/documents/collections/_module.d.mts +0 -6
- package/src/foundry/client-esm/game.d.mts +0 -7
- package/src/foundry/client-esm/helpers/_module.d.mts +0 -8
- package/src/foundry/client-esm/helpers/_types.d.mts +0 -17
- package/src/foundry/client-esm/helpers/compendium-art.d.mts +0 -100
- package/src/foundry/client-esm/hooks.d.mts +0 -1
- package/src/foundry/client-esm/nue/tour.d.mts +0 -9
- package/src/foundry/client-esm/nue/tours/canvas-tour.d.mts +0 -12
- package/src/foundry/client-esm/nue/tours/setup-tour.d.mts +0 -11
- package/src/foundry/client-esm/nue/tours/sidebar-tour.d.mts +0 -11
- package/src/foundry/client-esm/packages/_module.d.mts +0 -22
- package/src/foundry/client-esm/packages/client-package.d.mts +0 -11
- package/src/foundry/client-esm/packages/module.d.mts +0 -8
- package/src/foundry/client-esm/packages/system.d.mts +0 -8
- package/src/foundry/client-esm/packages/world.d.mts +0 -8
- package/src/foundry/client-esm/ui.d.mts +0 -1
- package/src/foundry/client-esm/utils/_module.d.mts +0 -7
- package/src/foundry/client-esm/utils/_types.d.mts +0 -3
- package/src/foundry/client-esm/utils/helpers.d.mts +0 -6
- package/src/foundry/common/prosemirror/index.d.mts +0 -22
- package/src/foundry/common/prosemirror/schema/index.d.mts +0 -11
- package/src/tsconfig.json +0 -15
- package/tsconfig.main.json +0 -8
- package/tsconfig.miscellaneous.json +0 -16
- /package/src/foundry/{client-esm → client}/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/_types.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/api/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/apps/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/apps/av/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/dice/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/elements/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/elements/codemirror/element.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/elements/codemirror/extensions.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/elements/codemirror/view.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/elements/color-picker.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/elements/document-embed.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/elements/enriched-content.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/elements/hue-slider.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/elements/range-picker.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/elements/secret-block.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/elements/string-tags.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/hud/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/settings/menus/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/sheets/journal/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/sheets/token/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/sidebar/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/sidebar/apps/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/sidebar/tabs/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/ui/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/ui/notifications.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/applications/ux/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/appv1/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/appv1/api/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/appv1/sheets/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/audio/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/av/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/av/clients/_module.d.mts +0 -0
- /package/src/foundry/{client-esm/canvas → client/canvas/geometry}/edges/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/canvas/sources/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/data/_types.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/data/combat-config.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/data/region-behaviors/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/data/region-behaviors/execute-macro.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/data/region-behaviors/execute-script.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/data/region-behaviors/pause-game.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/data/region-behaviors/suppress-weather.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/data/terrain-data.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/dice/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/dice/terms/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/dice/twister.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/nue/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/nue/nue-manager.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/nue/tours/_module.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/nue/tours-collection.d.mts +0 -0
- /package/src/foundry/{client-esm → client}/packages/_types.d.mts +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Brand, ValueOf } from "
|
1
|
+
import type { Brand, DeepReadonly, Identity, ValueOf } from "#utils";
|
2
2
|
|
3
3
|
/**
|
4
4
|
* The shortened software name
|
@@ -32,8 +32,8 @@ export const ASCII = `__________________________________________________________
|
|
32
32
|
===============================================================`;
|
33
33
|
|
34
34
|
/**
|
35
|
-
* Define the allowed ActiveEffect application modes
|
36
|
-
*
|
35
|
+
* Define the allowed ActiveEffect application modes.
|
36
|
+
* Other arbitrary mode numbers can be used by systems and modules to identify special behaviors and are ignored
|
37
37
|
*/
|
38
38
|
export declare const ACTIVE_EFFECT_MODES: Readonly<{
|
39
39
|
/**
|
@@ -88,34 +88,34 @@ export type ACTIVE_EFFECT_MODES = Brand<number, "constants.ACTIVE_EFFECT_MODES">
|
|
88
88
|
* Define the string name used for the base document type when specific sub-types are not defined by the system
|
89
89
|
*/
|
90
90
|
export declare const BASE_DOCUMENT_TYPE: "base";
|
91
|
-
export type BASE_DOCUMENT_TYPE =
|
91
|
+
export type BASE_DOCUMENT_TYPE = typeof BASE_DOCUMENT_TYPE;
|
92
92
|
|
93
93
|
/**
|
94
94
|
* Define the methods by which a Card can be drawn from a Cards stack
|
95
|
-
* TOP and FIRST are synonymous, as are BOTTOM and LAST
|
95
|
+
* @remarks `TOP` and `FIRST` are synonymous, as are `BOTTOM` and `LAST`.
|
96
96
|
*/
|
97
97
|
export declare const CARD_DRAW_MODES: Readonly<{
|
98
98
|
/**
|
99
99
|
* Draw the first card from the stack
|
100
|
-
* Synonymous with
|
100
|
+
* Synonymous with {@linkcode CARD_DRAW_MODES.TOP}
|
101
101
|
*/
|
102
102
|
FIRST: 0 & CARD_DRAW_MODES;
|
103
103
|
|
104
104
|
/**
|
105
105
|
* Draw the top card from the stack
|
106
|
-
* Synonymous with
|
106
|
+
* Synonymous with {@linkcode CARD_DRAW_MODES.FIRST}
|
107
107
|
*/
|
108
108
|
TOP: 0 & CARD_DRAW_MODES;
|
109
109
|
|
110
110
|
/**
|
111
111
|
* Draw the last card from the stack
|
112
|
-
* Synonymous with
|
112
|
+
* Synonymous with {@linkcode CARD_DRAW_MODES.BOTTOM}
|
113
113
|
*/
|
114
114
|
LAST: 1 & CARD_DRAW_MODES;
|
115
115
|
|
116
116
|
/**
|
117
117
|
* Draw the bottom card from the stack
|
118
|
-
* Synonymous with
|
118
|
+
* Synonymous with {@linkcode CARD_DRAW_MODES.LAST}
|
119
119
|
*/
|
120
120
|
BOTTOM: 1 & CARD_DRAW_MODES;
|
121
121
|
|
@@ -164,16 +164,15 @@ export declare const CHAT_MESSAGE_STYLES: Readonly<{
|
|
164
164
|
EMOTE: 3 & CHAT_MESSAGE_STYLES;
|
165
165
|
|
166
166
|
/**
|
167
|
-
* @deprecated
|
168
|
-
*
|
169
|
-
* @remarks Define rolls directly in ChatMessage#rolls instead.
|
167
|
+
* @deprecated "`CONST.CHAT_MESSAGE_STYLES.ROLL` is deprecated in favor of defining rolls directly in
|
168
|
+
* {@linkcode ChatMessage.rolls | ChatMessage#rolls}" (since v12, until v14)
|
170
169
|
*/
|
171
170
|
ROLL: 0 & CHAT_MESSAGE_STYLES;
|
172
171
|
|
173
172
|
/**
|
174
|
-
* @deprecated
|
175
|
-
*
|
176
|
-
*
|
173
|
+
* @deprecated "`CONST.CHAT_MESSAGE_STYLES.Whisper` is deprecated in favor of defining whisper recipients
|
174
|
+
* directly in {@linkcode ChatMessage.whisper | ChatMessage#whisper}"
|
175
|
+
* (since v12, until v14)
|
177
176
|
*/
|
178
177
|
WHISPER: 0 & CHAT_MESSAGE_STYLES;
|
179
178
|
}>;
|
@@ -183,6 +182,7 @@ export type CHAT_MESSAGE_STYLES = Brand<number, "constants.CHAT_MESSAGE_STYLES">
|
|
183
182
|
* Define the set of languages which have built-in support in the core software
|
184
183
|
*/
|
185
184
|
export declare const CORE_SUPPORTED_LANGUAGES: readonly ["en"];
|
185
|
+
export type CORE_SUPPORTED_LANGUAGES = ValueOf<typeof CORE_SUPPORTED_LANGUAGES>;
|
186
186
|
|
187
187
|
/**
|
188
188
|
* Configure the severity of compatibility warnings.
|
@@ -210,6 +210,21 @@ export declare const COMPATIBILITY_MODES: Readonly<{
|
|
210
210
|
}>;
|
211
211
|
export type COMPATIBILITY_MODES = Brand<number, "constants.COMPATIBILITY_MODES">;
|
212
212
|
|
213
|
+
/**
|
214
|
+
* Configure custom cursor images to use when interacting with the application.
|
215
|
+
*/
|
216
|
+
export declare const CURSOR_STYLES: Readonly<{
|
217
|
+
default: "default";
|
218
|
+
"default-down": "default";
|
219
|
+
pointer: "pointer";
|
220
|
+
"pointer-down": "pointer";
|
221
|
+
grab: "grab";
|
222
|
+
"grab-down": "grabbing";
|
223
|
+
text: "text";
|
224
|
+
"text-down": "text";
|
225
|
+
}>;
|
226
|
+
export type CURSOR_STYLES = keyof typeof CURSOR_STYLES;
|
227
|
+
|
213
228
|
/**
|
214
229
|
* The lighting illumination levels which are supported.
|
215
230
|
*/
|
@@ -237,6 +252,7 @@ export type CSS_THEMES = ValueOf<typeof CSS_THEMES>;
|
|
237
252
|
* The default artwork used for Token images if none is provided
|
238
253
|
*/
|
239
254
|
export declare const DEFAULT_TOKEN: "icons/svg/mystery-man.svg";
|
255
|
+
export type DEFAULT_TOKEN = typeof DEFAULT_TOKEN;
|
240
256
|
|
241
257
|
/**
|
242
258
|
* Define the allowed Document class types.
|
@@ -270,8 +286,10 @@ export const EMBEDDED_DOCUMENT_TYPES: readonly [
|
|
270
286
|
"AmbientSound",
|
271
287
|
"Card",
|
272
288
|
"Combatant",
|
289
|
+
"CombatantGroup",
|
273
290
|
"Drawing",
|
274
291
|
"Item",
|
292
|
+
"JournalEntryCategory",
|
275
293
|
"JournalEntryPage",
|
276
294
|
"MeasuredTemplate",
|
277
295
|
"Note",
|
@@ -288,7 +306,7 @@ export type EMBEDDED_DOCUMENT_TYPES = ValueOf<typeof EMBEDDED_DOCUMENT_TYPES>;
|
|
288
306
|
/**
|
289
307
|
* A listing of all valid Document types, both primary and embedded.
|
290
308
|
*/
|
291
|
-
export const ALL_DOCUMENT_TYPES: ALL_DOCUMENT_TYPES[];
|
309
|
+
export const ALL_DOCUMENT_TYPES: readonly ALL_DOCUMENT_TYPES[];
|
292
310
|
export type ALL_DOCUMENT_TYPES = PRIMARY_DOCUMENT_TYPES | EMBEDDED_DOCUMENT_TYPES;
|
293
311
|
|
294
312
|
/**
|
@@ -346,7 +364,8 @@ export declare const DOCUMENT_OWNERSHIP_LEVELS: Readonly<{
|
|
346
364
|
NONE: 0 & DOCUMENT_OWNERSHIP_LEVELS;
|
347
365
|
|
348
366
|
/**
|
349
|
-
* 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.
|
367
|
+
* 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.
|
368
|
+
* The limits of this interaction are defined by the game system being used.
|
350
369
|
*/
|
351
370
|
LIMITED: 1 & DOCUMENT_OWNERSHIP_LEVELS;
|
352
371
|
|
@@ -402,7 +421,7 @@ export declare const DICE_ROLL_MODES: Readonly<{
|
|
402
421
|
PRIVATE: "gmroll";
|
403
422
|
|
404
423
|
/**
|
405
|
-
* A private dice roll only visible to
|
424
|
+
* A private dice roll only visible to Gamemaster users. The rolling player will not see the result of their own roll.
|
406
425
|
*/
|
407
426
|
BLIND: "blindroll";
|
408
427
|
|
@@ -454,6 +473,7 @@ export type FOLDER_DOCUMENT_TYPES = ValueOf<typeof FOLDER_DOCUMENT_TYPES>;
|
|
454
473
|
|
455
474
|
/**
|
456
475
|
* The maximum allowed level of depth for Folder nesting
|
476
|
+
* @defaultValue `4`
|
457
477
|
*/
|
458
478
|
export declare const FOLDER_MAX_DEPTH: number;
|
459
479
|
|
@@ -461,6 +481,7 @@ export declare const FOLDER_MAX_DEPTH: number;
|
|
461
481
|
* A list of allowed game URL names
|
462
482
|
*/
|
463
483
|
export declare const GAME_VIEWS: readonly ["game", "stream"];
|
484
|
+
export type GAME_VIEWS = ValueOf<typeof GAME_VIEWS>;
|
464
485
|
|
465
486
|
/**
|
466
487
|
* The directions of movement.
|
@@ -470,15 +491,24 @@ export declare const MOVEMENT_DIRECTIONS: Readonly<{
|
|
470
491
|
DOWN: 0x2 & MOVEMENT_DIRECTIONS;
|
471
492
|
LEFT: 0x4 & MOVEMENT_DIRECTIONS;
|
472
493
|
RIGHT: 0x8 & MOVEMENT_DIRECTIONS;
|
494
|
+
|
495
|
+
/** @remarks `0x1 | 0x4` */
|
473
496
|
UP_LEFT: 0x5 & MOVEMENT_DIRECTIONS;
|
497
|
+
|
498
|
+
/** @remarks `0x1 | 0x8` */
|
474
499
|
UP_RIGHT: 0x9 & MOVEMENT_DIRECTIONS;
|
500
|
+
|
501
|
+
/** @remarks `0x2 | 0x4` */
|
475
502
|
DOWN_LEFT: 0x6 & MOVEMENT_DIRECTIONS;
|
503
|
+
|
504
|
+
/** @remarks `0x2 | 0x8` */
|
476
505
|
DOWN_RIGHT: 0xa & MOVEMENT_DIRECTIONS;
|
477
506
|
}>;
|
478
507
|
export type MOVEMENT_DIRECTIONS = Brand<number, "constants.MOVEMENT_DIRECTIONS">;
|
479
508
|
|
480
509
|
/**
|
481
510
|
* The minimum allowed grid size which is supported by the software
|
511
|
+
* @defaultValue `20`
|
482
512
|
*/
|
483
513
|
export declare const GRID_MIN_SIZE: number;
|
484
514
|
|
@@ -521,7 +551,8 @@ export type GRID_TYPES = Brand<number, "constants.GRID_TYPES">;
|
|
521
551
|
|
522
552
|
/**
|
523
553
|
* The different rules to define and measure diagonal distance/cost in a square grid.
|
524
|
-
* The description of each option refers to the distance/cost of moving diagonally relative to the distance/cost of a
|
554
|
+
* The description of each option refers to the distance/cost of moving diagonally relative to the distance/cost of a
|
555
|
+
* horizontal or vertical move.
|
525
556
|
*/
|
526
557
|
export declare const GRID_DIAGONALS: Readonly<{
|
527
558
|
/**
|
@@ -665,6 +696,7 @@ export type GRID_SNAPPING_MODES = Brand<number, "constants.GRID_SNAPPING_MODES">
|
|
665
696
|
* A list of supported setup URL names
|
666
697
|
*/
|
667
698
|
export declare const SETUP_VIEWS: readonly ["auth", "license", "setup", "players", "join", "update"];
|
699
|
+
export type SETUP_VIEWS = ValueOf<typeof SETUP_VIEWS>;
|
668
700
|
|
669
701
|
/**
|
670
702
|
* An Array of valid MacroAction scope values
|
@@ -854,6 +886,7 @@ export type SOFTWARE_UPDATE_CHANNELS = ValueOf<typeof SOFTWARE_UPDATE_CHANNELS>;
|
|
854
886
|
|
855
887
|
/**
|
856
888
|
* The default sorting density for manually ordering child objects within a parent
|
889
|
+
* @defaultValue `100000`
|
857
890
|
*/
|
858
891
|
export declare const SORT_INTEGER_DENSITY: number;
|
859
892
|
|
@@ -874,8 +907,10 @@ export declare const TABLE_RESULT_TYPES: Readonly<{
|
|
874
907
|
|
875
908
|
/**
|
876
909
|
* A Compendium Pack reference which will be linked to in the chat message.
|
910
|
+
* @deprecated "`CONST.TABLE_RESULT_TYPES.COMPENDIUM` is is deprecated in favor of {@linkcode CONST.TABLE_RESULT_TYPES.DOCUMENT}
|
911
|
+
* due to the "compendium" being merged with the "document" type." (since v13, until v15)
|
877
912
|
*/
|
878
|
-
COMPENDIUM: "pack";
|
913
|
+
get COMPENDIUM(): "pack";
|
879
914
|
}>;
|
880
915
|
export type TABLE_RESULT_TYPES = ValueOf<typeof TABLE_RESULT_TYPES>;
|
881
916
|
|
@@ -898,7 +933,7 @@ export type JOURNAL_ENTRY_PAGE_FORMATS = Brand<number, "constants.JOURNAL_ENTRY_
|
|
898
933
|
|
899
934
|
/**
|
900
935
|
* Define the valid anchor locations for a Tooltip displayed on a Placeable Object
|
901
|
-
* @see {@
|
936
|
+
* @see {@linkcode foundry.helpers.interaction.TooltipManager}
|
902
937
|
*/
|
903
938
|
export declare const TEXT_ANCHOR_POINTS: Readonly<{
|
904
939
|
/**
|
@@ -930,7 +965,7 @@ export type TEXT_ANCHOR_POINTS = Brand<number, "constants.TEXT_ANCHOR_POINTS">;
|
|
930
965
|
|
931
966
|
/**
|
932
967
|
* Define the valid occlusion modes which a tile can use
|
933
|
-
* @
|
968
|
+
* @remarks Foundry leaves a comment in the middle of the object: "// ROOF: 2; This mode is no longer supported so we don't use 2 for any other mode"
|
934
969
|
* @see {@link https://foundryvtt.com/article/tiles/}
|
935
970
|
*/
|
936
971
|
export declare const OCCLUSION_MODES: Readonly<{
|
@@ -945,8 +980,6 @@ export declare const OCCLUSION_MODES: Readonly<{
|
|
945
980
|
*/
|
946
981
|
FADE: 1 & OCCLUSION_MODES;
|
947
982
|
|
948
|
-
// ROOF: 2; This mode is no longer supported so we don't use 2 for any other mode
|
949
|
-
|
950
983
|
/**
|
951
984
|
* 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.
|
952
985
|
*/
|
@@ -954,7 +987,7 @@ export declare const OCCLUSION_MODES: Readonly<{
|
|
954
987
|
|
955
988
|
/**
|
956
989
|
* 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.
|
957
|
-
*
|
990
|
+
* This is useful for roofs on buildings where players could see through a window or door, viewing only a portion of what is obscured by the roof itself.
|
958
991
|
*/
|
959
992
|
VISION: 4 & OCCLUSION_MODES;
|
960
993
|
}>;
|
@@ -962,9 +995,31 @@ export type OCCLUSION_MODES = Brand<number, "constants.OCCLUSION_MODES">;
|
|
962
995
|
|
963
996
|
/**
|
964
997
|
* Alias for old tile occlusion modes definition
|
998
|
+
* @remarks Foundry leaves a comment in the middle of the object: "// ROOF: 2; This mode is no longer supported so we don't use 2 for any other mode"
|
999
|
+
* @privateRemarks Foundry just does `export const TILE_OCCLUSION_MODES = OCCLUSION_MODES` but we have to be un-DRY if we want a different brand
|
965
1000
|
*/
|
966
1001
|
export declare const TILE_OCCLUSION_MODES: {
|
967
|
-
|
1002
|
+
/**
|
1003
|
+
* Turns off occlusion, making the tile never fade while tokens are under it.
|
1004
|
+
*/
|
1005
|
+
NONE: 0 & TILE_OCCLUSION_MODES;
|
1006
|
+
|
1007
|
+
/**
|
1008
|
+
* Causes the whole tile to fade when an actor token moves under it.
|
1009
|
+
* @defaultValue
|
1010
|
+
*/
|
1011
|
+
FADE: 1 & TILE_OCCLUSION_MODES;
|
1012
|
+
|
1013
|
+
/**
|
1014
|
+
* 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.
|
1015
|
+
*/
|
1016
|
+
RADIAL: 3 & TILE_OCCLUSION_MODES;
|
1017
|
+
|
1018
|
+
/**
|
1019
|
+
* 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.
|
1020
|
+
* This is useful for roofs on buildings where players could see through a window or door, viewing only a portion of what is obscured by the roof itself.
|
1021
|
+
*/
|
1022
|
+
VISION: 4 & TILE_OCCLUSION_MODES;
|
968
1023
|
};
|
969
1024
|
export type TILE_OCCLUSION_MODES = Brand<number, "constants.TILE_OCCLUSION_MODES">;
|
970
1025
|
|
@@ -1064,40 +1119,61 @@ export declare const TOKEN_DISPOSITIONS: Readonly<{
|
|
1064
1119
|
export type TOKEN_DISPOSITIONS = Brand<number, "constants.TOKEN_DISPOSITIONS">;
|
1065
1120
|
|
1066
1121
|
/**
|
1067
|
-
* The
|
1122
|
+
* The allowed token turn markers modes.
|
1123
|
+
*/
|
1124
|
+
export declare const TOKEN_TURN_MARKER_MODES: Readonly<{
|
1125
|
+
/**
|
1126
|
+
* The turn marker is disabled for this token.
|
1127
|
+
*/
|
1128
|
+
DISABLED: 0 & TOKEN_TURN_MARKER_MODES;
|
1129
|
+
|
1130
|
+
/**
|
1131
|
+
* The turn marker for this token is using the combat tracker settings (which could be disabled).
|
1132
|
+
*/
|
1133
|
+
DEFAULT: 1 & TOKEN_TURN_MARKER_MODES;
|
1134
|
+
|
1135
|
+
/**
|
1136
|
+
* The turn marker is using the token settings (unless the combat tracker turn marker setting is disabled)
|
1137
|
+
*/
|
1138
|
+
CUSTOM: 2 & TOKEN_TURN_MARKER_MODES;
|
1139
|
+
}>;
|
1140
|
+
export type TOKEN_TURN_MARKER_MODES = Brand<number, "constants.TOKEN_TURN_MARKER_MODES">;
|
1141
|
+
|
1142
|
+
/**
|
1143
|
+
* The possible shapes of Tokens.
|
1068
1144
|
*/
|
1069
|
-
export declare const
|
1145
|
+
export declare const TOKEN_SHAPES: Readonly<{
|
1070
1146
|
/**
|
1071
1147
|
* Ellipse (Variant 1)
|
1072
1148
|
*/
|
1073
|
-
ELLIPSE_1: 0 &
|
1149
|
+
ELLIPSE_1: 0 & TOKEN_SHAPES;
|
1074
1150
|
|
1075
1151
|
/**
|
1076
1152
|
* Ellipse (Variant 2)
|
1077
1153
|
*/
|
1078
|
-
ELLIPSE_2: 1 &
|
1154
|
+
ELLIPSE_2: 1 & TOKEN_SHAPES;
|
1079
1155
|
|
1080
1156
|
/**
|
1081
1157
|
* Trapezoid (Variant 1)
|
1082
1158
|
*/
|
1083
|
-
TRAPEZOID_1: 2 &
|
1159
|
+
TRAPEZOID_1: 2 & TOKEN_SHAPES;
|
1084
1160
|
|
1085
1161
|
/**
|
1086
1162
|
* Trapezoid (Variant 2)
|
1087
1163
|
*/
|
1088
|
-
TRAPEZOID_2: 3 &
|
1164
|
+
TRAPEZOID_2: 3 & TOKEN_SHAPES;
|
1089
1165
|
|
1090
1166
|
/**
|
1091
1167
|
* Rectangle (Variant 1)
|
1092
1168
|
*/
|
1093
|
-
RECTANGLE_1: 4 &
|
1169
|
+
RECTANGLE_1: 4 & TOKEN_SHAPES;
|
1094
1170
|
|
1095
1171
|
/**
|
1096
1172
|
* Rectangle (Variant 2)
|
1097
1173
|
*/
|
1098
|
-
RECTANGLE_2: 5 &
|
1174
|
+
RECTANGLE_2: 5 & TOKEN_SHAPES;
|
1099
1175
|
}>;
|
1100
|
-
export type
|
1176
|
+
export type TOKEN_SHAPES = Brand<number, "constants.TOKEN_SHAPES">;
|
1101
1177
|
|
1102
1178
|
/**
|
1103
1179
|
* Define the allowed User permission levels.
|
@@ -1113,23 +1189,27 @@ export declare const USER_ROLES: Readonly<{
|
|
1113
1189
|
|
1114
1190
|
/**
|
1115
1191
|
* The User is able to join the game with permissions available to a standard player.
|
1116
|
-
* They cannot take some more advanced actions which require Trusted permissions, but they have the basic
|
1192
|
+
* They cannot take some more advanced actions which require Trusted permissions, but they have the basic
|
1193
|
+
* functionalities needed to operate in the virtual tabletop.
|
1117
1194
|
*/
|
1118
1195
|
PLAYER: 1 & USER_ROLES;
|
1119
1196
|
|
1120
1197
|
/**
|
1121
|
-
* Similar to the Player role, except a Trusted User has the ability to perform some more advanced actions
|
1198
|
+
* Similar to the Player role, except a Trusted User has the ability to perform some more advanced actions
|
1199
|
+
* like create drawings, measured templates, or even to (optionally) upload media files to the server.
|
1122
1200
|
*/
|
1123
1201
|
TRUSTED: 2 & USER_ROLES;
|
1124
1202
|
|
1125
1203
|
/**
|
1126
|
-
* A special User who has many of the same in-game controls as a Game Master User, but does not have the ability
|
1204
|
+
* A special User who has many of the same in-game controls as a Game Master User, but does not have the ability
|
1205
|
+
* to perform administrative actions like changing User roles or modifying World-level settings.
|
1127
1206
|
*/
|
1128
1207
|
ASSISTANT: 3 & USER_ROLES;
|
1129
1208
|
|
1130
1209
|
/**
|
1131
1210
|
* A special User who has administrative control over this specific World.
|
1132
|
-
* Game Masters behave quite differently than Players in that they have the ability to see all Documents and
|
1211
|
+
* Game Masters behave quite differently than Players in that they have the ability to see all Documents and
|
1212
|
+
* Objects within the world as well as the capability to configure World settings.
|
1133
1213
|
*/
|
1134
1214
|
GAMEMASTER: 4 & USER_ROLES;
|
1135
1215
|
}>;
|
@@ -1147,23 +1227,27 @@ export declare const USER_ROLE_NAMES: Readonly<{
|
|
1147
1227
|
|
1148
1228
|
/**
|
1149
1229
|
* The User is able to join the game with permissions available to a standard player.
|
1150
|
-
* They cannot take some more advanced actions which require Trusted permissions, but they have the basic
|
1230
|
+
* They cannot take some more advanced actions which require Trusted permissions, but they have the basic
|
1231
|
+
* functionalities needed to operate in the virtual tabletop.
|
1151
1232
|
*/
|
1152
1233
|
"1": "PLAYER";
|
1153
1234
|
|
1154
1235
|
/**
|
1155
|
-
* Similar to the Player role, except a Trusted User has the ability to perform some more advanced actions
|
1236
|
+
* Similar to the Player role, except a Trusted User has the ability to perform some more advanced actions
|
1237
|
+
* like create drawings, measured templates, or even to (optionally) upload media files to the server.
|
1156
1238
|
*/
|
1157
1239
|
"2": "TRUSTED";
|
1158
1240
|
|
1159
1241
|
/**
|
1160
|
-
* A special User who has many of the same in-game controls as a Game Master User, but does not have the
|
1242
|
+
* A special User who has many of the same in-game controls as a Game Master User, but does not have the
|
1243
|
+
* ability to perform administrative actions like changing User roles or modifying World-level settings.
|
1161
1244
|
*/
|
1162
1245
|
"3": "ASSISTANT";
|
1163
1246
|
|
1164
1247
|
/**
|
1165
1248
|
* A special User who has administrative control over this specific World.
|
1166
|
-
* Game Masters behave quite differently than Players in that they have the ability to see all Documents
|
1249
|
+
* Game Masters behave quite differently than Players in that they have the ability to see all Documents
|
1250
|
+
* and Objects within the world as well as the capability to configure World settings.
|
1167
1251
|
*/
|
1168
1252
|
"4": "GAMEMASTER";
|
1169
1253
|
}>;
|
@@ -1206,7 +1290,7 @@ export interface UserPermission {
|
|
1206
1290
|
/**
|
1207
1291
|
* Define the recognized User capabilities which individual Users or role levels may be permitted to perform
|
1208
1292
|
*/
|
1209
|
-
export declare const USER_PERMISSIONS:
|
1293
|
+
export declare const USER_PERMISSIONS: DeepReadonly<{
|
1210
1294
|
/**
|
1211
1295
|
* @defaultValue
|
1212
1296
|
* ```typescript
|
@@ -1506,7 +1590,21 @@ export declare const USER_PERMISSIONS: Readonly<{
|
|
1506
1590
|
* ```
|
1507
1591
|
*/
|
1508
1592
|
WALL_DOORS: UserPermission;
|
1593
|
+
|
1594
|
+
/**
|
1595
|
+
* @defaultValue
|
1596
|
+
* ```ts
|
1597
|
+
* {
|
1598
|
+
* label: "PERMISSION.QueryUser",
|
1599
|
+
* hint: "PERMISSION.QueryUserHint",
|
1600
|
+
* disableGM: false,
|
1601
|
+
* defaultRole: USER_ROLES.PLAYER
|
1602
|
+
* }
|
1603
|
+
* ```
|
1604
|
+
*/
|
1605
|
+
QUERY_USER: UserPermission;
|
1509
1606
|
}>;
|
1607
|
+
export type USER_PERMISSIONS = keyof typeof USER_PERMISSIONS;
|
1510
1608
|
|
1511
1609
|
/**
|
1512
1610
|
* The allowed directions of effect that a Wall can have
|
@@ -1577,7 +1675,7 @@ export type WALL_DOOR_STATES = Brand<number, "constants.WALL_DOOR_STATES">;
|
|
1577
1675
|
/**
|
1578
1676
|
* The possible ways to interact with a door
|
1579
1677
|
*/
|
1580
|
-
export declare const WALL_DOOR_INTERACTIONS: ["open", "close", "lock", "unlock", "test"];
|
1678
|
+
export declare const WALL_DOOR_INTERACTIONS: readonly ["open", "close", "lock", "unlock", "test"];
|
1581
1679
|
export type WALL_DOOR_INTERACTIONS = ValueOf<typeof WALL_DOOR_INTERACTIONS>;
|
1582
1680
|
|
1583
1681
|
/**
|
@@ -1621,19 +1719,20 @@ export type WALL_SENSE_TYPES = Brand<number, "constants.WALL_SENSE_TYPES">;
|
|
1621
1719
|
/**
|
1622
1720
|
* The types of movement collision which a Wall may impose
|
1623
1721
|
* @see {@link https://foundryvtt.com/article/walls/}
|
1722
|
+
* @privateRemarks Foundry just does `NONE: WALL_SENSE_TYPES.NONE` etc but we want to have a separate brand
|
1624
1723
|
*/
|
1625
1724
|
export declare const WALL_MOVEMENT_TYPES: Readonly<{
|
1626
1725
|
/**
|
1627
1726
|
* Movement does not collide with this wall.
|
1628
1727
|
*/
|
1629
|
-
NONE:
|
1728
|
+
NONE: 0 & WALL_MOVEMENT_TYPES;
|
1630
1729
|
|
1631
1730
|
/**
|
1632
1731
|
* Movement collides with this wall.
|
1633
1732
|
*/
|
1634
|
-
NORMAL:
|
1733
|
+
NORMAL: 20 & WALL_MOVEMENT_TYPES;
|
1635
1734
|
}>;
|
1636
|
-
export type WALL_MOVEMENT_TYPES =
|
1735
|
+
export type WALL_MOVEMENT_TYPES = Brand<number, "constants.WALL_MOVEMENT_TYPES">;
|
1637
1736
|
|
1638
1737
|
/**
|
1639
1738
|
* The possible precedence values a Keybinding might run in
|
@@ -1657,45 +1756,54 @@ export declare const KEYBINDING_PRECEDENCE: Readonly<{
|
|
1657
1756
|
}>;
|
1658
1757
|
export type KEYBINDING_PRECEDENCE = Brand<number, "constants.KEYBINDING_PRECEDENCE">;
|
1659
1758
|
|
1759
|
+
/**
|
1760
|
+
* Directories in the public storage path.
|
1761
|
+
*/
|
1762
|
+
export const FILE_PICKER_PUBLIC_DIRS: readonly ["cards", "css", "fonts", "icons", "lang", "scripts", "sounds", "ui"];
|
1763
|
+
export type FILE_PICKER_PUBLIC_DIRS = ValueOf<typeof FILE_PICKER_PUBLIC_DIRS>;
|
1764
|
+
|
1660
1765
|
/**
|
1661
1766
|
* The allowed set of HTML template extensions
|
1662
1767
|
*/
|
1663
|
-
export declare const HTML_FILE_EXTENSIONS:
|
1664
|
-
|
1768
|
+
export declare const HTML_FILE_EXTENSIONS: Readonly<{
|
1769
|
+
handlebars: "text/x-handlebars-template";
|
1770
|
+
hbs: "text/x-handlebars-template";
|
1771
|
+
html: "text/html";
|
1772
|
+
}>;
|
1773
|
+
export declare type HTML_FILE_EXTENSIONS = keyof typeof HTML_FILE_EXTENSIONS;
|
1665
1774
|
|
1666
|
-
|
1775
|
+
/**
|
1776
|
+
* The supported file extensions for image-type files, and their corresponding mime types.
|
1777
|
+
*/
|
1778
|
+
export declare const IMAGE_FILE_EXTENSIONS: Readonly<{
|
1667
1779
|
apng: "image/apng";
|
1668
1780
|
avif: "image/avif";
|
1669
1781
|
bmp: "image/bmp";
|
1670
1782
|
gif: "image/gif";
|
1671
|
-
jpg: "image/jpeg";
|
1672
1783
|
jpeg: "image/jpeg";
|
1784
|
+
jpg: "image/jpeg";
|
1673
1785
|
png: "image/png";
|
1674
1786
|
svg: "image/svg+xml";
|
1675
1787
|
tiff: "image/tiff";
|
1676
1788
|
webp: "image/webp";
|
1677
|
-
}
|
1789
|
+
}>;
|
1790
|
+
export type IMAGE_FILE_EXTENSIONS = keyof typeof IMAGE_FILE_EXTENSIONS;
|
1678
1791
|
|
1679
1792
|
/**
|
1680
|
-
* The supported file extensions for
|
1793
|
+
* The supported file extensions for video-type files, and their corresponding mime types.
|
1681
1794
|
*/
|
1682
|
-
export declare const
|
1683
|
-
export type IMAGE_FILE_EXTENSIONS = ValueOf<_IMAGE_FILE_EXTENSIONS>;
|
1684
|
-
|
1685
|
-
interface _VIDEO_FILE_EXTENSIONS {
|
1795
|
+
export declare const VIDEO_FILE_EXTENSIONS: Readonly<{
|
1686
1796
|
m4v: "video/mp4";
|
1687
1797
|
mp4: "video/mp4";
|
1688
|
-
|
1798
|
+
ogv: "video/ogg";
|
1689
1799
|
webm: "video/webm";
|
1690
|
-
}
|
1800
|
+
}>;
|
1801
|
+
export type VIDEO_FILE_EXTENSIONS = keyof typeof VIDEO_FILE_EXTENSIONS;
|
1691
1802
|
|
1692
1803
|
/**
|
1693
|
-
* The supported file extensions for
|
1804
|
+
* The supported file extensions for audio-type files, and their corresponding mime types.
|
1694
1805
|
*/
|
1695
|
-
export declare const
|
1696
|
-
export type VIDEO_FILE_EXTENSIONS = ValueOf<_VIDEO_FILE_EXTENSIONS>;
|
1697
|
-
|
1698
|
-
interface _AUDIO_FILE_EXTENSIONS {
|
1806
|
+
export declare const AUDIO_FILE_EXTENSIONS: Readonly<{
|
1699
1807
|
aac: "audio/aac";
|
1700
1808
|
flac: "audio/flac";
|
1701
1809
|
m4a: "audio/mp4";
|
@@ -1705,14 +1813,13 @@ interface _AUDIO_FILE_EXTENSIONS {
|
|
1705
1813
|
opus: "audio/opus";
|
1706
1814
|
wav: "audio/wav";
|
1707
1815
|
webm: "audio/webm";
|
1708
|
-
}
|
1816
|
+
}>;
|
1817
|
+
export type AUDIO_FILE_EXTENSIONS = keyof typeof AUDIO_FILE_EXTENSIONS;
|
1818
|
+
|
1709
1819
|
/**
|
1710
|
-
* The supported file extensions for
|
1820
|
+
* The supported file extensions for text files, and their corresponding mime types.
|
1711
1821
|
*/
|
1712
|
-
export declare const
|
1713
|
-
export type AUDIO_FILE_EXTENSIONS = ValueOf<_AUDIO_FILE_EXTENSIONS>;
|
1714
|
-
|
1715
|
-
interface _TEXT_FILE_EXTENSIONS {
|
1822
|
+
export declare const TEXT_FILE_EXTENSIONS: Readonly<{
|
1716
1823
|
csv: "text/csv";
|
1717
1824
|
json: "application/json";
|
1718
1825
|
md: "text/markdown";
|
@@ -1722,26 +1829,24 @@ interface _TEXT_FILE_EXTENSIONS {
|
|
1722
1829
|
xml: "application/xml";
|
1723
1830
|
yml: "application/yaml";
|
1724
1831
|
yaml: "application/yaml";
|
1725
|
-
}
|
1832
|
+
}>;
|
1833
|
+
export type TEXT_FILE_EXTENSIONS = keyof typeof TEXT_FILE_EXTENSIONS;
|
1834
|
+
|
1726
1835
|
/**
|
1727
|
-
*
|
1836
|
+
* Supported file extensions for font files, and their corresponding mime types.
|
1728
1837
|
*/
|
1729
|
-
export declare const
|
1730
|
-
export type TEXT_FILE_EXTENSIONS = ValueOf<_TEXT_FILE_EXTENSIONS>;
|
1731
|
-
|
1732
|
-
interface _FONT_FILE_EXTENSIONS {
|
1733
|
-
ttf: "font/ttf";
|
1838
|
+
export declare const FONT_FILE_EXTENSIONS: Readonly<{
|
1734
1839
|
otf: "font/otf";
|
1840
|
+
ttf: "font/ttf";
|
1735
1841
|
woff: "font/woff";
|
1736
1842
|
woff2: "font/woff2";
|
1737
|
-
}
|
1843
|
+
}>;
|
1844
|
+
export type FONT_FILE_EXTENSIONS = keyof typeof FONT_FILE_EXTENSIONS;
|
1845
|
+
|
1738
1846
|
/**
|
1739
|
-
* Supported file extensions for
|
1847
|
+
* Supported file extensions for 3D files, and their corresponding mime types.
|
1740
1848
|
*/
|
1741
|
-
export declare const
|
1742
|
-
export type FONT_FILE_EXTENSIONS = ValueOf<_FONT_FILE_EXTENSIONS>;
|
1743
|
-
|
1744
|
-
interface _GRAPHICS_FILE_EXTENSIONS {
|
1849
|
+
export declare const GRAPHICS_FILE_EXTENSIONS: Readonly<{
|
1745
1850
|
fbx: "application/octet-stream";
|
1746
1851
|
glb: "model/gltf-binary";
|
1747
1852
|
gltf: "model/gltf+json";
|
@@ -1749,49 +1854,65 @@ interface _GRAPHICS_FILE_EXTENSIONS {
|
|
1749
1854
|
obj: "model/obj";
|
1750
1855
|
stl: "model/stl";
|
1751
1856
|
usdz: "model/vnd.usdz+zip";
|
1752
|
-
}
|
1857
|
+
}>;
|
1858
|
+
export type GRAPHICS_FILE_EXTENSIONS = keyof typeof GRAPHICS_FILE_EXTENSIONS;
|
1859
|
+
|
1753
1860
|
/**
|
1754
|
-
*
|
1861
|
+
* @privateRemarks Video is spread in after audio, so its `ogg` and `webm` keys override
|
1755
1862
|
*/
|
1756
|
-
export declare const GRAPHICS_FILE_EXTENSIONS: Readonly<_GRAPHICS_FILE_EXTENSIONS>;
|
1757
|
-
export type GRAPHICS_FILE_EXTENSIONS = ValueOf<_GRAPHICS_FILE_EXTENSIONS>;
|
1758
|
-
|
1759
1863
|
interface _UPLOADABLE_FILE_EXTENSIONS
|
1760
|
-
extends
|
1761
|
-
Omit<
|
1762
|
-
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1864
|
+
extends Identity<typeof IMAGE_FILE_EXTENSIONS>,
|
1865
|
+
Omit<typeof AUDIO_FILE_EXTENSIONS, "ogg" | "webm">,
|
1866
|
+
Identity<typeof VIDEO_FILE_EXTENSIONS>,
|
1867
|
+
Identity<typeof TEXT_FILE_EXTENSIONS>,
|
1868
|
+
Identity<typeof FONT_FILE_EXTENSIONS>,
|
1869
|
+
Identity<typeof GRAPHICS_FILE_EXTENSIONS> {}
|
1766
1870
|
|
1767
|
-
export declare const UPLOADABLE_FILE_EXTENSIONS: _UPLOADABLE_FILE_EXTENSIONS
|
1768
|
-
export type UPLOADABLE_FILE_EXTENSIONS =
|
1871
|
+
export declare const UPLOADABLE_FILE_EXTENSIONS: Readonly<_UPLOADABLE_FILE_EXTENSIONS>;
|
1872
|
+
export type UPLOADABLE_FILE_EXTENSIONS = keyof typeof UPLOADABLE_FILE_EXTENSIONS;
|
1769
1873
|
|
1770
1874
|
/**
|
1771
|
-
*
|
1772
|
-
|
1875
|
+
* An enumeration of file type categories which can be selected
|
1876
|
+
*/
|
1877
|
+
export declare const FILE_CATEGORIES: Readonly<{
|
1878
|
+
HTML: typeof HTML_FILE_EXTENSIONS;
|
1879
|
+
IMAGE: typeof IMAGE_FILE_EXTENSIONS;
|
1880
|
+
VIDEO: typeof VIDEO_FILE_EXTENSIONS;
|
1881
|
+
AUDIO: typeof AUDIO_FILE_EXTENSIONS;
|
1882
|
+
TEXT: typeof TEXT_FILE_EXTENSIONS;
|
1883
|
+
FONT: typeof FONT_FILE_EXTENSIONS;
|
1884
|
+
GRAPHICS: typeof GRAPHICS_FILE_EXTENSIONS;
|
1885
|
+
|
1886
|
+
/**
|
1887
|
+
* @deprecated "`CONST.FILE_CATEGORIES.MEDIA` is deprecated. Use {@linkcode CONST.MEDIA_MIME_TYPES} instead." (since v13, until v15)
|
1888
|
+
* @remarks Included in the const body as a getter, *then* `defineProperty`'d to be `enumerable: false` separately
|
1889
|
+
*/
|
1890
|
+
get MEDIA(): typeof MEDIA_MIME_TYPES;
|
1891
|
+
}>;
|
1892
|
+
export type FILE_CATEGORIES = keyof typeof FILE_CATEGORIES;
|
1893
|
+
|
1894
|
+
/**
|
1895
|
+
* The list of file categories that are "media".
|
1773
1896
|
*/
|
1774
|
-
export declare const
|
1775
|
-
export type
|
1897
|
+
export declare const MEDIA_FILE_CATEGORIES: readonly ["IMAGE", "VIDEO", "AUDIO", "TEXT", "FONT", "GRAPHICS"];
|
1898
|
+
export type MEDIA_FILE_CATEGORIES = ValueOf<typeof MEDIA_FILE_CATEGORIES>;
|
1776
1899
|
|
1777
1900
|
/**
|
1778
|
-
*
|
1901
|
+
* A list of MIME types which are treated as uploaded "media", which are allowed to overwrite existing files.
|
1902
|
+
* Any non-media MIME type is not allowed to replace an existing file.
|
1903
|
+
* @remarks Not frozen as of 13.346
|
1904
|
+
* @privateRemarks The *keys* `ogg` and `webm` conflict when building {@linkcode UPLOADABLE_FILE_EXTENSIONS}, but the values don't, and Foundry
|
1905
|
+
* constructs this differently than we are so they keep the values
|
1779
1906
|
*/
|
1780
|
-
export declare const
|
1781
|
-
|
1782
|
-
|
1783
|
-
|
1784
|
-
AUDIO: _AUDIO_FILE_EXTENSIONS;
|
1785
|
-
TEXT: _TEXT_FILE_EXTENSIONS;
|
1786
|
-
FONT: _FONT_FILE_EXTENSIONS;
|
1787
|
-
GRAPHICS: _GRAPHICS_FILE_EXTENSIONS;
|
1788
|
-
MEDIA: MEDIA_MIME_TYPES;
|
1789
|
-
};
|
1907
|
+
export declare const MEDIA_MIME_TYPES: MEDIA_MIME_TYPES[];
|
1908
|
+
export type MEDIA_MIME_TYPES =
|
1909
|
+
| ValueOf<_UPLOADABLE_FILE_EXTENSIONS>
|
1910
|
+
| ValueOf<Pick<typeof AUDIO_FILE_EXTENSIONS, "ogg" | "webm">>;
|
1790
1911
|
|
1791
1912
|
/**
|
1792
1913
|
* A font weight to name mapping.
|
1793
1914
|
*/
|
1794
|
-
export declare const FONT_WEIGHTS: {
|
1915
|
+
export declare const FONT_WEIGHTS: Readonly<{
|
1795
1916
|
Thin: 100 & FONT_WEIGHTS;
|
1796
1917
|
ExtraLight: 200 & FONT_WEIGHTS;
|
1797
1918
|
Light: 300 & FONT_WEIGHTS;
|
@@ -1801,7 +1922,7 @@ export declare const FONT_WEIGHTS: {
|
|
1801
1922
|
Bold: 700 & FONT_WEIGHTS;
|
1802
1923
|
ExtraBold: 800 & FONT_WEIGHTS;
|
1803
1924
|
Black: 900 & FONT_WEIGHTS;
|
1804
|
-
}
|
1925
|
+
}>;
|
1805
1926
|
export type FONT_WEIGHTS = Brand<number, "constants.FONT_WEIGHTS">;
|
1806
1927
|
|
1807
1928
|
/**
|
@@ -1811,19 +1932,23 @@ export declare const TIMEOUTS: Readonly<{
|
|
1811
1932
|
/**
|
1812
1933
|
* The default timeout for interacting with the foundryvtt.com API.
|
1813
1934
|
*/
|
1814
|
-
FOUNDRY_WEBSITE: 10000
|
1935
|
+
FOUNDRY_WEBSITE: 10000;
|
1815
1936
|
|
1816
1937
|
/**
|
1817
1938
|
* The specific timeout for loading the list of packages from the foundryvtt.com API.
|
1818
1939
|
*/
|
1819
|
-
PACKAGE_REPOSITORY:
|
1940
|
+
PACKAGE_REPOSITORY: 10000;
|
1820
1941
|
|
1821
1942
|
/**
|
1822
1943
|
* The specific timeout for the IP address lookup service.
|
1823
1944
|
*/
|
1824
|
-
IP_DISCOVERY: 5000
|
1945
|
+
IP_DISCOVERY: 5000;
|
1946
|
+
|
1947
|
+
/**
|
1948
|
+
* A remote package manifest JSON or download ZIP.
|
1949
|
+
*/
|
1950
|
+
REMOTE_PACKAGE: 5000;
|
1825
1951
|
}>;
|
1826
|
-
export type TIMEOUTS = Brand<number, "constants.TIMEOUTS">;
|
1827
1952
|
|
1828
1953
|
/**
|
1829
1954
|
* A subset of Compendium types which require a specific system to be designated
|
@@ -1843,10 +1968,120 @@ export declare const SHOWDOWN_OPTIONS: Readonly<{
|
|
1843
1968
|
tablesHeaderId: true;
|
1844
1969
|
}>;
|
1845
1970
|
|
1971
|
+
/**
|
1972
|
+
* The list of allowed HTML tags.
|
1973
|
+
*/
|
1974
|
+
export declare const ALLOWED_HTML_TAGS: readonly [
|
1975
|
+
"header",
|
1976
|
+
"main",
|
1977
|
+
"section",
|
1978
|
+
"article",
|
1979
|
+
"aside",
|
1980
|
+
"nav",
|
1981
|
+
"footer",
|
1982
|
+
"div",
|
1983
|
+
"address", // Structural Elements
|
1984
|
+
"h1",
|
1985
|
+
"h2",
|
1986
|
+
"h3",
|
1987
|
+
"h4",
|
1988
|
+
"h5",
|
1989
|
+
"h6",
|
1990
|
+
"hr",
|
1991
|
+
"br", // Headers and Dividers
|
1992
|
+
"p",
|
1993
|
+
"blockquote",
|
1994
|
+
"summary",
|
1995
|
+
"details",
|
1996
|
+
"span",
|
1997
|
+
"code",
|
1998
|
+
"pre",
|
1999
|
+
"a",
|
2000
|
+
"label",
|
2001
|
+
"abbr",
|
2002
|
+
"cite",
|
2003
|
+
"mark",
|
2004
|
+
"q",
|
2005
|
+
"ruby",
|
2006
|
+
"rp",
|
2007
|
+
"rt",
|
2008
|
+
"small",
|
2009
|
+
"time",
|
2010
|
+
"var",
|
2011
|
+
"kbd",
|
2012
|
+
"samp", // Text Types
|
2013
|
+
"dfn",
|
2014
|
+
"sub",
|
2015
|
+
"sup",
|
2016
|
+
"strong",
|
2017
|
+
"em",
|
2018
|
+
"b",
|
2019
|
+
"i",
|
2020
|
+
"u",
|
2021
|
+
"s",
|
2022
|
+
"del",
|
2023
|
+
"ins", // Text Styles
|
2024
|
+
"ol",
|
2025
|
+
"ul",
|
2026
|
+
"li",
|
2027
|
+
"dl",
|
2028
|
+
"dd",
|
2029
|
+
"dt",
|
2030
|
+
"menu", // Lists
|
2031
|
+
"table",
|
2032
|
+
"thead",
|
2033
|
+
"tbody",
|
2034
|
+
"tfoot",
|
2035
|
+
"tr",
|
2036
|
+
"th",
|
2037
|
+
"td",
|
2038
|
+
"col",
|
2039
|
+
"colgroup", // Tables
|
2040
|
+
"form",
|
2041
|
+
"input",
|
2042
|
+
"select",
|
2043
|
+
"option",
|
2044
|
+
"button",
|
2045
|
+
"datalist",
|
2046
|
+
"fieldset",
|
2047
|
+
"legend",
|
2048
|
+
"meter",
|
2049
|
+
"optgroup",
|
2050
|
+
"progress",
|
2051
|
+
"textarea",
|
2052
|
+
"output", // Forms
|
2053
|
+
"figure",
|
2054
|
+
"figcaption",
|
2055
|
+
"caption",
|
2056
|
+
"img",
|
2057
|
+
"video",
|
2058
|
+
"map",
|
2059
|
+
"area",
|
2060
|
+
"track",
|
2061
|
+
"picture",
|
2062
|
+
"source",
|
2063
|
+
"audio", // Media
|
2064
|
+
"iframe", // Embedded content
|
2065
|
+
"color-picker",
|
2066
|
+
"code-mirror",
|
2067
|
+
"document-embed",
|
2068
|
+
"document-tags",
|
2069
|
+
"enriched-content",
|
2070
|
+
"file-picker",
|
2071
|
+
"hue-slider",
|
2072
|
+
"multi-select",
|
2073
|
+
"multi-checkbox",
|
2074
|
+
"range-picker",
|
2075
|
+
"secret-block",
|
2076
|
+
"string-tags",
|
2077
|
+
"prose-mirror", // Custom elements
|
2078
|
+
];
|
2079
|
+
export type ALLOWED_HTML_TAGS = ValueOf<typeof ALLOWED_HTML_TAGS>;
|
2080
|
+
|
1846
2081
|
/**
|
1847
2082
|
* The list of allowed attributes in HTML elements.
|
1848
2083
|
*/
|
1849
|
-
export const ALLOWED_HTML_ATTRIBUTES:
|
2084
|
+
export const ALLOWED_HTML_ATTRIBUTES: DeepReadonly<{
|
1850
2085
|
"*": [
|
1851
2086
|
"class",
|
1852
2087
|
"data-*",
|
@@ -1863,6 +2098,12 @@ export const ALLOWED_HTML_ATTRIBUTES: Readonly<{
|
|
1863
2098
|
"is",
|
1864
2099
|
"lang",
|
1865
2100
|
"popover",
|
2101
|
+
"autocapitalize",
|
2102
|
+
"autocorrect",
|
2103
|
+
"autofocus",
|
2104
|
+
"contenteditable",
|
2105
|
+
"spellcheck",
|
2106
|
+
"translate",
|
1866
2107
|
];
|
1867
2108
|
a: ["href", "name", "target", "rel"];
|
1868
2109
|
area: ["alt", "coords", "href", "rel", "shape", "target"];
|
@@ -1871,9 +2112,16 @@ export const ALLOWED_HTML_ATTRIBUTES: Readonly<{
|
|
1871
2112
|
button: ["disabled", "name", "type", "value"];
|
1872
2113
|
col: ["span"];
|
1873
2114
|
colgroup: ["span"];
|
2115
|
+
"code-mirror": ["disabled", "name", "value", "placeholder", "readonly", "required", "language", "indent", "nowrap"];
|
2116
|
+
"color-picker": ["disabled", "name", "value", "placeholder", "readonly", "required"];
|
1874
2117
|
details: ["open"];
|
2118
|
+
"document-embed": ["uuid"];
|
2119
|
+
"document-tags": ["disabled", "name", "value", "placeholder", "readonly", "required", "type", "single", "max"];
|
2120
|
+
"enriched-content": ["enricher"];
|
1875
2121
|
fieldset: ["disabled"];
|
2122
|
+
"file-picker": ["disabled", "name", "value", "placeholder", "readonly", "required", "type", "noupload"];
|
1876
2123
|
form: ["name"];
|
2124
|
+
"hue-slider": ["disabled", "name", "value", "readonly", "required"];
|
1877
2125
|
iframe: ["src", "srcdoc", "name", "height", "width", "loading", "sandbox"];
|
1878
2126
|
img: ["height", "src", "width", "usemap", "sizes", "srcset", "alt"];
|
1879
2127
|
input: [
|
@@ -1888,32 +2136,50 @@ export const ALLOWED_HTML_ATTRIBUTES: Readonly<{
|
|
1888
2136
|
"list",
|
1889
2137
|
"max",
|
1890
2138
|
"min",
|
1891
|
-
"placeholder",
|
1892
2139
|
"readonly",
|
1893
2140
|
"size",
|
1894
2141
|
"src",
|
1895
2142
|
"step",
|
1896
2143
|
"width",
|
2144
|
+
"required",
|
1897
2145
|
];
|
1898
2146
|
label: ["for"];
|
1899
2147
|
li: ["value"];
|
1900
2148
|
map: ["name"];
|
1901
2149
|
meter: ["value", "min", "max", "low", "high", "optimum"];
|
2150
|
+
"multi-checkbox": ["disabled", "name", "required"];
|
2151
|
+
"multi-select": ["disabled", "name", "required"];
|
1902
2152
|
ol: ["reversed", "start", "type"];
|
1903
2153
|
optgroup: ["disabled", "label"];
|
1904
2154
|
option: ["disabled", "selected", "label", "value"];
|
2155
|
+
output: ["for", "form", "name"];
|
1905
2156
|
progress: ["max", "value"];
|
1906
|
-
|
2157
|
+
"prose-mirror": ["disabled", "name", "value", "placeholder", "readonly", "required", "toggled", "open"];
|
2158
|
+
"range-picker": ["disabled", "name", "value", "placeholder", "readonly", "min", "max", "step"];
|
2159
|
+
select: ["name", "disabled", "multiple", "size", "required"];
|
1907
2160
|
source: ["media", "sizes", "src", "srcset", "type"];
|
2161
|
+
"string-tags": ["disabled", "name", "value", "placeholder", "readonly", "required"];
|
1908
2162
|
table: ["border"];
|
1909
2163
|
td: ["colspan", "headers", "rowspan"];
|
1910
|
-
textarea: ["rows", "cols", "disabled", "name", "readonly", "wrap"];
|
2164
|
+
textarea: ["rows", "cols", "disabled", "name", "readonly", "wrap", "required"];
|
1911
2165
|
time: ["datetime"];
|
1912
2166
|
th: ["abbr", "colspan", "headers", "rowspan", "scope", "sorted"];
|
1913
2167
|
track: ["default", "kind", "label", "src", "srclang"];
|
1914
2168
|
video: ["controls", "height", "width", "loop", "muted", "poster", "src", "autoplay"];
|
1915
2169
|
}>;
|
1916
|
-
export type ALLOWED_HTML_ATTRIBUTES =
|
2170
|
+
export type ALLOWED_HTML_ATTRIBUTES = typeof ALLOWED_HTML_ATTRIBUTES;
|
2171
|
+
|
2172
|
+
/**
|
2173
|
+
* The list of allowed URL schemes.
|
2174
|
+
*/
|
2175
|
+
export declare const ALLOWED_URL_SCHEMES: readonly ["http", "https", "data", "mailto", "obsidian", "syrinscape-online"];
|
2176
|
+
export type ALLOWED_URL_SCHEMES = ValueOf<typeof ALLOWED_URL_SCHEMES>;
|
2177
|
+
|
2178
|
+
/**
|
2179
|
+
* The list of attributes validated as URLs.
|
2180
|
+
*/
|
2181
|
+
export declare const ALLOWED_URL_SCHEMES_APPLIED_TO_ATTRIBUTES: readonly ["href", "src", "cite"];
|
2182
|
+
export type ALLOWED_URL_SCHEMES_APPLIED_TO_ATTRIBUTES = ValueOf<typeof ALLOWED_URL_SCHEMES_APPLIED_TO_ATTRIBUTES>;
|
1917
2183
|
|
1918
2184
|
/**
|
1919
2185
|
* The list of trusted iframe domains.
|
@@ -1925,15 +2191,15 @@ export type TRUSTED_IFRAME_DOMAINS = ValueOf<typeof TRUSTED_IFRAME_DOMAINS>;
|
|
1925
2191
|
* Available themes for the world join page.
|
1926
2192
|
*/
|
1927
2193
|
export const WORLD_JOIN_THEMES: Readonly<{
|
1928
|
-
default: "WORLD.
|
1929
|
-
minimal: "WORLD.
|
2194
|
+
default: "WORLD.JOIN_THEMES.default";
|
2195
|
+
minimal: "WORLD.JOIN_THEMES.minimal";
|
1930
2196
|
}>;
|
1931
2197
|
export type WORLD_JOIN_THEMES = ValueOf<typeof WORLD_JOIN_THEMES>;
|
1932
2198
|
|
1933
2199
|
/**
|
1934
2200
|
* Setup page package progress protocol.
|
1935
2201
|
*/
|
1936
|
-
export declare const SETUP_PACKAGE_PROGRESS:
|
2202
|
+
export declare const SETUP_PACKAGE_PROGRESS: DeepReadonly<{
|
1937
2203
|
ACTIONS: {
|
1938
2204
|
CREATE_BACKUP: "createBackup";
|
1939
2205
|
RESTORE_BACKUP: "restoreBackup";
|
@@ -1946,10 +2212,11 @@ export declare const SETUP_PACKAGE_PROGRESS: Readonly<{
|
|
1946
2212
|
UPDATE_CORE: "updateCore";
|
1947
2213
|
UPDATE_DOWNLOAD: "updateDownload";
|
1948
2214
|
};
|
1949
|
-
|
1950
2215
|
STEPS: {
|
1951
2216
|
ARCHIVE: "archive";
|
1952
2217
|
CHECK_DISK_SPACE: "checkDiskSpace";
|
2218
|
+
CLEAN_WORLD: "cleanWorld";
|
2219
|
+
EXTRACT_DEMO: "extractDemo";
|
1953
2220
|
CONNECT_WORLD: "connectWorld";
|
1954
2221
|
MIGRATE_WORLD: "migrateWorld";
|
1955
2222
|
CONNECT_PKG: "connectPackage";
|
@@ -1988,6 +2255,7 @@ export type TEXTURE_DATA_FIT_MODES = ValueOf<typeof TEXTURE_DATA_FIT_MODES>;
|
|
1988
2255
|
|
1989
2256
|
/**
|
1990
2257
|
* The maximum depth to recurse to when embedding enriched text.
|
2258
|
+
* @defaultValue `5`
|
1991
2259
|
*/
|
1992
2260
|
export const TEXT_ENRICH_EMBED_MAX_DEPTH: number;
|
1993
2261
|
|
@@ -1997,63 +2265,167 @@ export const TEXT_ENRICH_EMBED_MAX_DEPTH: number;
|
|
1997
2265
|
export declare const REGION_EVENTS: Readonly<{
|
1998
2266
|
/**
|
1999
2267
|
* Triggered when the shapes or bottom/top elevation of the Region are changed.
|
2268
|
+
*
|
2269
|
+
* @see {@linkcode foundry.documents.types.RegionRegionBoundaryEvent}
|
2000
2270
|
*/
|
2001
2271
|
REGION_BOUNDARY: "regionBoundary";
|
2002
2272
|
|
2003
2273
|
/**
|
2004
|
-
* Triggered when the
|
2274
|
+
* Triggered when the Region Behavior becomes active, i.e. is enabled or created without being disabled.
|
2275
|
+
*
|
2276
|
+
* The event is triggered only for this Region Behavior.
|
2277
|
+
*
|
2278
|
+
* @see {@linkcode foundry.documents.types.RegionBehaviorActivatedEvent}
|
2005
2279
|
*/
|
2006
|
-
|
2280
|
+
BEHAVIOR_ACTIVATED: "behaviorActivated";
|
2007
2281
|
|
2008
2282
|
/**
|
2009
|
-
* Triggered when
|
2283
|
+
* Triggered when the Region Behavior becomes inactive, i.e. is disabled or deleted without being disabled.
|
2284
|
+
*
|
2285
|
+
* The event is triggered only for this Region Behavior.
|
2286
|
+
*
|
2287
|
+
* @see {@linkcode foundry.documents.types.RegionBehaviorDeactivatedEvent}
|
2010
2288
|
*/
|
2011
|
-
|
2289
|
+
BEHAVIOR_DEACTIVATED: "behaviorDeactivated";
|
2012
2290
|
|
2013
2291
|
/**
|
2014
|
-
* Triggered when
|
2292
|
+
* Triggered when the Region Behavior becomes viewed, i.e. active and the Scene of its Region is viewed.
|
2293
|
+
*
|
2294
|
+
* The event is triggered only for this Region Behavior.
|
2295
|
+
*
|
2296
|
+
* @see {@linkcode foundry.documents.types.RegionBehaviorViewedEvent}
|
2015
2297
|
*/
|
2016
|
-
|
2298
|
+
BEHAVIOR_VIEWED: "behaviorViewed";
|
2299
|
+
|
2300
|
+
/**
|
2301
|
+
* Triggered when the Region Behavior becomes unviewed, i.e. inactive or the Scene of its Region is unviewed.
|
2302
|
+
*
|
2303
|
+
* The event is triggered only for this Region Behavior.
|
2304
|
+
*
|
2305
|
+
* @see {@linkcode foundry.documents.types.RegionBehaviorUnviewedEvent}
|
2306
|
+
*/
|
2307
|
+
BEHAVIOR_UNVIEWED: "behaviorUnviewed";
|
2017
2308
|
|
2018
2309
|
/**
|
2019
|
-
* Triggered when a Token
|
2310
|
+
* Triggered when a Token enters a Region.
|
2311
|
+
*
|
2312
|
+
* A Token enters a Region whenever ...
|
2313
|
+
* - it is created within the Region,
|
2314
|
+
* - the boundary of the Region has changed such that the Token is now inside the Region,
|
2315
|
+
* - the Token moves into the Region (the Token's x, y, elevation, width, height, or shape
|
2316
|
+
* has changed such that it is now inside the Region), or
|
2317
|
+
* - a Region Behavior becomes active (i.e., is enabled or created while enabled), in which case
|
2318
|
+
* the event it triggered only for this Region Behavior.
|
2319
|
+
*
|
2320
|
+
* @see {@linkcode foundry.documents.types.RegionTokenEnterEvent}
|
2020
2321
|
*/
|
2021
|
-
|
2322
|
+
TOKEN_ENTER: "tokenEnter";
|
2022
2323
|
|
2023
2324
|
/**
|
2024
|
-
* Triggered when a Token
|
2325
|
+
* Triggered when a Token exits a Region.
|
2326
|
+
*
|
2327
|
+
* A Token exits a Region whenever ...
|
2328
|
+
* - it is deleted while inside the Region,
|
2329
|
+
* - the boundary of the Region has changed such that the Token is no longer inside the Region,
|
2330
|
+
* - the Token moves out of the Region (the Token's x, y, elevation, width, height, or shape
|
2331
|
+
* has changed such that it is no longer inside the Region), or
|
2332
|
+
* - a Region Behavior becomes inactive (i.e., is disabled or deleted while enabled), in which case
|
2333
|
+
* the event it triggered only for this Region Behavior.
|
2334
|
+
*
|
2335
|
+
* @see {@linkcode foundry.documents.types.RegionTokenExitEvent}
|
2025
2336
|
*/
|
2026
|
-
|
2337
|
+
TOKEN_EXIT: "tokenExit";
|
2027
2338
|
|
2028
2339
|
/**
|
2029
2340
|
* Triggered when a Token moves into a Region.
|
2341
|
+
*
|
2342
|
+
* A Token moves whenever its x, y, elevation, width, height, or shape is changed.
|
2343
|
+
*
|
2344
|
+
* @see {@linkcode foundry.documents.types.RegionTokenMoveInEvent}
|
2030
2345
|
*/
|
2031
2346
|
TOKEN_MOVE_IN: "tokenMoveIn";
|
2032
2347
|
|
2033
2348
|
/**
|
2034
2349
|
* Triggered when a Token moves out of a Region.
|
2350
|
+
*
|
2351
|
+
* A Token moves whenever its x, y, elevation, width, height, or shape is changed.
|
2352
|
+
*
|
2353
|
+
* @see {@linkcode foundry.documents.types.RegionTokenMoveOutEvent}
|
2035
2354
|
*/
|
2036
2355
|
TOKEN_MOVE_OUT: "tokenMoveOut";
|
2037
2356
|
|
2357
|
+
/**
|
2358
|
+
* Triggered when a Token moves within a Region.
|
2359
|
+
*
|
2360
|
+
* A token moves whenever its x, y, elevation, width, height, or shape is changed.
|
2361
|
+
*
|
2362
|
+
* @see {@linkcode foundry.documents.types.RegionTokenMoveWithinEvent}
|
2363
|
+
*/
|
2364
|
+
TOKEN_MOVE_WITHIN: "tokenMoveWithin";
|
2365
|
+
|
2366
|
+
/**
|
2367
|
+
* Triggered when a Token animates into a Region.
|
2368
|
+
*
|
2369
|
+
* This event is only triggered only if the Scene the Token is in is viewed.
|
2370
|
+
*
|
2371
|
+
* @see {@linkcode foundry.documents.types.RegionTokenAnimateInEvent}
|
2372
|
+
*/
|
2373
|
+
TOKEN_ANIMATE_IN: "tokenAnimateIn";
|
2374
|
+
|
2375
|
+
/**
|
2376
|
+
* Triggered when a Token animates out of a Region.
|
2377
|
+
*
|
2378
|
+
* This event is triggered only if the Scene the Token is in is viewed.
|
2379
|
+
*
|
2380
|
+
* @see {@linkcode foundry.documents.types.RegionTokenAnimateOutEvent}
|
2381
|
+
*/
|
2382
|
+
TOKEN_ANIMATE_OUT: "tokenAnimateOut";
|
2383
|
+
|
2038
2384
|
/**
|
2039
2385
|
* Triggered when a Token starts its Combat turn in a Region.
|
2386
|
+
*
|
2387
|
+
* @see {@linkcode foundry.documents.types.RegionTokenTurnStartEvent}
|
2040
2388
|
*/
|
2041
2389
|
TOKEN_TURN_START: "tokenTurnStart";
|
2042
2390
|
|
2043
2391
|
/**
|
2044
2392
|
* Triggered when a Token ends its Combat turn in a Region.
|
2393
|
+
*
|
2394
|
+
* @see {@linkcode foundry.documents.types.RegionTokenTurnEndEvent}
|
2045
2395
|
*/
|
2046
2396
|
TOKEN_TURN_END: "tokenTurnEnd";
|
2047
2397
|
|
2048
2398
|
/**
|
2049
2399
|
* Triggered when a Token starts the Combat round in a Region.
|
2400
|
+
*
|
2401
|
+
* @see {@linkcode foundry.documents.types.RegionTokenRoundStartEvent}
|
2050
2402
|
*/
|
2051
2403
|
TOKEN_ROUND_START: "tokenRoundStart";
|
2052
2404
|
|
2053
2405
|
/**
|
2054
2406
|
* Triggered when a Token ends the Combat round in a Region.
|
2407
|
+
*
|
2408
|
+
* @see {@linkcode foundry.documents.types.RegionTokenRoundEndEvent}
|
2055
2409
|
*/
|
2056
2410
|
TOKEN_ROUND_END: "tokenRoundEnd";
|
2411
|
+
|
2412
|
+
/**
|
2413
|
+
* @deprecated "`CONST.REGION_EVENTS.BEHAVIOR_STATUS` is deprecated in favor of `BEHAVIOR_ACTIVATED`,
|
2414
|
+
* `BEHAVIOR_DEACTIVATED`, `BEHAVIOR_VIEWED`, and `BEHAVIOR_UNVIEWED`." (since v13, until v15)
|
2415
|
+
*/
|
2416
|
+
get BEHAVIOR_STATUS(): "behaviorStatus";
|
2417
|
+
|
2418
|
+
/**
|
2419
|
+
* @deprecated "`CONST.REGION_EVENTS.TOKEN_PRE_MOVE` is deprecated without replacement. The `TOKEN_PRE_MOVE`
|
2420
|
+
* event is not longer triggered." (since v13, until v15)
|
2421
|
+
*/
|
2422
|
+
get TOKEN_PRE_MOVE(): "tokenPreMove";
|
2423
|
+
|
2424
|
+
/**
|
2425
|
+
* @deprecated "`CONST.REGION_EVENTS.TOKEN_PRE_MOVE` is deprecated without replacement. The `TOKEN_MOVE`
|
2426
|
+
* event is not longer triggered." (since v13, until v15)
|
2427
|
+
*/
|
2428
|
+
get TOKEN_MOVE(): "tokenMove";
|
2057
2429
|
}>;
|
2058
2430
|
export type REGION_EVENTS = ValueOf<typeof REGION_EVENTS>;
|
2059
2431
|
|
@@ -2078,7 +2450,104 @@ export declare const REGION_VISIBILITY: Readonly<{
|
|
2078
2450
|
}>;
|
2079
2451
|
export type REGION_VISIBILITY = Brand<number, "constants.REGION_VISIBILITY">;
|
2080
2452
|
|
2453
|
+
export declare const REGION_MOVEMENT_SEGMENTS: Readonly<{
|
2454
|
+
/**
|
2455
|
+
* The segment crosses the boundary of the Region and exits it.
|
2456
|
+
*/
|
2457
|
+
EXIT: -1 & REGION_MOVEMENT_SEGMENTS;
|
2458
|
+
|
2459
|
+
/**
|
2460
|
+
* The segment does not cross the boundary of the region and is contained within it.
|
2461
|
+
*/
|
2462
|
+
MOVE: 0 & REGION_MOVEMENT_SEGMENTS;
|
2463
|
+
|
2464
|
+
/**
|
2465
|
+
* The segment crosses the boundary of the region and enters it.
|
2466
|
+
*/
|
2467
|
+
ENTER: 1 & REGION_MOVEMENT_SEGMENTS;
|
2468
|
+
}>;
|
2469
|
+
export type REGION_MOVEMENT_SEGMENTS = Brand<number, "constants.REGION_MOVEMENT_SEGMENTS">;
|
2470
|
+
|
2471
|
+
/**
|
2472
|
+
* Available setting scopes.
|
2473
|
+
*/
|
2474
|
+
export declare const SETTING_SCOPES: Readonly<{
|
2475
|
+
/**
|
2476
|
+
* Settings scoped to the client device. Stored in localStorage.
|
2477
|
+
*/
|
2478
|
+
CLIENT: "client";
|
2479
|
+
|
2480
|
+
/**
|
2481
|
+
* Settings scoped to the game World. Applies to all Users in the World. Stored in the Settings database.
|
2482
|
+
*/
|
2483
|
+
WORLD: "world";
|
2484
|
+
|
2485
|
+
/**
|
2486
|
+
* Settings scoped to an individual User in the World. Stored in the Settings database.
|
2487
|
+
*/
|
2488
|
+
USER: "user";
|
2489
|
+
}>;
|
2490
|
+
export type SETTING_SCOPES = ValueOf<typeof SETTING_SCOPES>;
|
2491
|
+
|
2492
|
+
/**
|
2493
|
+
* The scaling factor that is used for Clipper polygons/paths consistently everywhere core performs Clipper operations.
|
2494
|
+
* @defaultValue `100`
|
2495
|
+
*/
|
2496
|
+
export declare const CLIPPER_SCALING_FACTOR: number;
|
2497
|
+
|
2498
|
+
/**
|
2499
|
+
* @deprecated (since v12, until v14)
|
2500
|
+
*/
|
2501
|
+
export declare const CHAT_MESSAGE_TYPES: Readonly<{
|
2502
|
+
/**
|
2503
|
+
* @deprecated "`CONST.CHAT_MESSAGE_TYPES` is deprecated in favor of {@linkcode CONST.CHAT_MESSAGE_STYLES} because the {@linkcode ChatMessage.type | ChatMessage#type}
|
2504
|
+
* field has been renamed to {@linkcode ChatMessage.style | ChatMessage#style}" (since v12, until v14)
|
2505
|
+
*/
|
2506
|
+
OTHER: typeof CHAT_MESSAGE_STYLES.OTHER;
|
2507
|
+
|
2508
|
+
/**
|
2509
|
+
* @deprecated "`CONST.CHAT_MESSAGE_TYPES` is deprecated in favor of {@linkcode CONST.CHAT_MESSAGE_STYLES} because the {@linkcode ChatMessage.type | ChatMessage#type}
|
2510
|
+
* field has been renamed to {@linkcode ChatMessage.style | ChatMessage#style}" (since v12, until v14)
|
2511
|
+
*/
|
2512
|
+
OOC: typeof CHAT_MESSAGE_STYLES.OOC;
|
2513
|
+
|
2514
|
+
/**
|
2515
|
+
* @deprecated "`CONST.CHAT_MESSAGE_TYPES` is deprecated in favor of {@linkcode CONST.CHAT_MESSAGE_STYLES} because the {@linkcode ChatMessage.type | ChatMessage#type}
|
2516
|
+
* field has been renamed to {@linkcode ChatMessage.style | ChatMessage#style}" (since v12, until v14)
|
2517
|
+
*/
|
2518
|
+
IC: typeof CHAT_MESSAGE_STYLES.IC;
|
2519
|
+
|
2520
|
+
/**
|
2521
|
+
* @deprecated "`CONST.CHAT_MESSAGE_TYPES` is deprecated in favor of {@linkcode CONST.CHAT_MESSAGE_STYLES} because the {@linkcode ChatMessage.type | ChatMessage#type}
|
2522
|
+
* field has been renamed to {@linkcode ChatMessage.style | ChatMessage#style}" (since v12, until v14)
|
2523
|
+
*/
|
2524
|
+
EMOTE: typeof CHAT_MESSAGE_STYLES.EMOTE;
|
2525
|
+
|
2526
|
+
/**
|
2527
|
+
* @deprecated "`CONST.CHAT_MESSAGE_TYPES` is deprecated in favor of {@linkcode CONST.CHAT_MESSAGE_STYLES} because the {@linkcode ChatMessage.type | ChatMessage#type}
|
2528
|
+
* field has been renamed to {@linkcode ChatMessage.style | ChatMessage#style}" (since v12, until v14)
|
2529
|
+
*/
|
2530
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
2531
|
+
ROLL: typeof CHAT_MESSAGE_STYLES.ROLL;
|
2532
|
+
|
2533
|
+
/**
|
2534
|
+
* @deprecated "`CONST.CHAT_MESSAGE_TYPES` is deprecated in favor of {@linkcode CONST.CHAT_MESSAGE_STYLES} because the {@linkcode ChatMessage.type | ChatMessage#type}
|
2535
|
+
* field has been renamed to {@linkcode ChatMessage.style | ChatMessage#style}" (since v12, until v14)
|
2536
|
+
*/
|
2537
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
2538
|
+
WHISPER: typeof CHAT_MESSAGE_STYLES.WHISPER;
|
2539
|
+
}>;
|
2540
|
+
export type CHAT_MESSAGE_TYPES = CHAT_MESSAGE_STYLES;
|
2541
|
+
|
2081
2542
|
/**
|
2082
|
-
* @deprecated since v12
|
2543
|
+
* @deprecated "`CONST.DOCUMENT_TYPES` is deprecated in favor of either {@linkcode CONST.WORLD_DOCUMENT_TYPES} or {@linkcode CONST.COMPENDIUM_DOCUMENT_TYPES}." (since v12, until 14)
|
2083
2544
|
*/
|
2545
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
2546
|
+
export declare const DOCUMENT_TYPES: DOCUMENT_TYPES[];
|
2084
2547
|
export type DOCUMENT_TYPES = Exclude<WORLD_DOCUMENT_TYPES, "FogExploration" | "Setting">;
|
2548
|
+
|
2549
|
+
/**
|
2550
|
+
* @deprecated "`CONST.TOKEN_HEXAGONAL_SHAPES` is deprecated in favor of {@linkcode CONST.TOKEN_SHAPES}." (since v13, until v15)
|
2551
|
+
*/
|
2552
|
+
export declare const TOKEN_HEXAGONAL_SHAPES: typeof TOKEN_SHAPES;
|
2553
|
+
export type TOKEN_HEXAGONAL_SHAPES = TOKEN_SHAPES;
|