@league-of-foundry-developers/foundry-vtt-types 12.331.4-beta → 13.340.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +40 -16
- package/src/configuration/configuration.d.mts +4 -4
- package/src/configuration/globals.d.mts +0 -2
- package/src/foundry/client/apps/av/av-config.d.mts +2 -2
- package/src/foundry/client/apps/av/cameras.d.mts +1 -1
- package/src/foundry/client/apps/dice/dice-config.d.mts +2 -2
- package/src/foundry/client/apps/form.d.mts +10 -11
- package/src/foundry/client/apps/forms/actor.d.mts +3 -3
- package/src/foundry/client/apps/forms/adventure-exporter.d.mts +2 -2
- package/src/foundry/client/apps/forms/adventure-importer.d.mts +2 -2
- package/src/foundry/client/apps/forms/base-sheet.d.mts +1 -1
- package/src/foundry/client/apps/forms/card-config.d.mts +2 -2
- package/src/foundry/client/apps/forms/cards-config.d.mts +3 -4
- package/src/foundry/client/apps/forms/combat-config.d.mts +2 -2
- package/src/foundry/client/apps/forms/combatant-config.d.mts +2 -2
- package/src/foundry/client/apps/forms/effect-config.d.mts +1 -1
- package/src/foundry/client/apps/forms/folder-config.d.mts +2 -2
- package/src/foundry/client/apps/forms/fonts.d.mts +2 -2
- package/src/foundry/client/apps/forms/grid-config.d.mts +2 -2
- package/src/foundry/client/apps/forms/image-popout.d.mts +2 -2
- package/src/foundry/client/apps/forms/item.d.mts +1 -1
- package/src/foundry/client/apps/forms/journal-page-sheet.d.mts +2 -2
- package/src/foundry/client/apps/forms/journal-sheet.d.mts +3 -3
- package/src/foundry/client/apps/forms/macro-config.d.mts +1 -1
- package/src/foundry/client/apps/forms/measure-template.d.mts +1 -1
- package/src/foundry/client/apps/forms/ownership.d.mts +1 -1
- package/src/foundry/client/apps/forms/playlist-config.d.mts +1 -1
- package/src/foundry/client/apps/forms/playlist-sound-config.d.mts +1 -1
- package/src/foundry/client/apps/forms/roll-table-config.d.mts +1 -1
- package/src/foundry/client/apps/forms/scene-config.d.mts +2 -2
- package/src/foundry/client/apps/forms/sheet-config.d.mts +6 -6
- package/src/foundry/client/apps/forms/user-config.d.mts +2 -2
- package/src/foundry/client/apps/hud/chatbubble.d.mts +5 -5
- package/src/foundry/client/apps/hud/hotbar.d.mts +1 -1
- package/src/foundry/client/apps/hud/navigation.d.mts +1 -1
- package/src/foundry/client/apps/hud/players.d.mts +1 -1
- package/src/foundry/client/apps/i18n.d.mts +1 -1
- package/src/foundry/client/apps/placeables/drawing-config.d.mts +2 -2
- package/src/foundry/client/apps/placeables/drawing-hud.d.mts +1 -1
- package/src/foundry/client/apps/placeables/note-config.d.mts +1 -1
- package/src/foundry/client/apps/placeables/tile-config.d.mts +2 -2
- package/src/foundry/client/apps/placeables/tile-hud.d.mts +1 -1
- package/src/foundry/client/apps/placeables/token-config.d.mts +1 -1
- package/src/foundry/client/apps/placeables/token-hud.d.mts +2 -2
- package/src/foundry/client/apps/placeables/wall-config.d.mts +2 -2
- package/src/foundry/client/apps/sidebar/apps/compendium.d.mts +3 -3
- package/src/foundry/client/apps/sidebar/apps/module-management.d.mts +2 -2
- package/src/foundry/client/apps/sidebar/apps/permission-config.d.mts +2 -2
- package/src/foundry/client/apps/sidebar/apps/world-config.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/directory-tab-mixin.d.mts +2 -2
- package/src/foundry/client/apps/sidebar/document-directory.d.mts +3 -3
- package/src/foundry/client/apps/sidebar/package-configuration.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/tabs/actors-directory.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/tabs/cards-directory.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/tabs/chat-log.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/tabs/combat-tracker.d.mts +2 -2
- package/src/foundry/client/apps/sidebar/tabs/compendium-directory.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/tabs/items-directory.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/tabs/journal-directory.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/tabs/playlists-directory.d.mts +3 -3
- package/src/foundry/client/apps/sidebar/tabs/roll-table-directory.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/tabs/scenes-directory.d.mts +2 -2
- package/src/foundry/client/apps/templates.d.mts +1 -1
- package/src/foundry/client/config.d.mts +1895 -1863
- package/src/foundry/client/core/document-index.d.mts +2 -2
- package/src/foundry/client/core/issues.d.mts +2 -2
- package/src/foundry/client/core/packages.d.mts +5 -4
- package/src/foundry/client/core/settings.d.mts +5 -4
- package/src/foundry/client/core/socket.d.mts +1 -1
- package/src/foundry/client/core/utils.d.mts +1 -1
- package/src/foundry/client/data/abstract/canvas-document.d.mts +1 -1
- package/src/foundry/client/data/abstract/client-document.d.mts +1 -1
- package/src/foundry/client/data/abstract/document-collection.d.mts +2 -6
- package/src/foundry/client/data/abstract/world-collection.d.mts +2 -2
- package/src/foundry/client/data/collections/actors.d.mts +1 -1
- package/src/foundry/client/data/collections/cards.d.mts +1 -1
- package/src/foundry/client/data/collections/combats.d.mts +1 -1
- package/src/foundry/client/data/collections/compendium-collection.d.mts +2 -2
- package/src/foundry/client/data/collections/fog.d.mts +1 -1
- package/src/foundry/client/data/collections/folder.d.mts +2 -2
- package/src/foundry/client/data/collections/items.d.mts +1 -1
- package/src/foundry/client/data/collections/journal.d.mts +1 -1
- package/src/foundry/client/data/collections/macros.d.mts +1 -1
- package/src/foundry/client/data/collections/messages.d.mts +1 -1
- package/src/foundry/client/data/collections/playlists.d.mts +1 -1
- package/src/foundry/client/data/collections/scenes.d.mts +1 -1
- package/src/foundry/client/data/collections/settings.d.mts +1 -1
- package/src/foundry/client/data/collections/tables.d.mts +1 -1
- package/src/foundry/client/data/collections/users.d.mts +1 -1
- package/src/foundry/client/data/documents/active-effect.d.mts +7 -6
- package/src/foundry/client/data/documents/actor-delta.d.mts +8 -7
- package/src/foundry/client/data/documents/actor.d.mts +10 -8
- package/src/foundry/client/data/documents/adventure.d.mts +4 -4
- package/src/foundry/client/data/documents/ambient-light.d.mts +6 -4
- package/src/foundry/client/data/documents/ambient-sound.d.mts +5 -4
- package/src/foundry/client/data/documents/card.d.mts +7 -6
- package/src/foundry/client/data/documents/cards.d.mts +6 -6
- package/src/foundry/client/data/documents/chat-message.d.mts +9 -7
- package/src/foundry/client/data/documents/combat.d.mts +9 -8
- package/src/foundry/client/data/documents/combatant.d.mts +11 -8
- package/src/foundry/client/data/documents/drawing.d.mts +7 -5
- package/src/foundry/client/data/documents/fog-exploration.d.mts +6 -5
- package/src/foundry/client/data/documents/folder.d.mts +6 -5
- package/src/foundry/client/data/documents/item.d.mts +6 -5
- package/src/foundry/client/data/documents/journal-entry-page.d.mts +7 -6
- package/src/foundry/client/data/documents/journal-entry.d.mts +7 -6
- package/src/foundry/client/data/documents/macro.d.mts +8 -7
- package/src/foundry/client/data/documents/measured-template.d.mts +6 -5
- package/src/foundry/client/data/documents/note.d.mts +8 -6
- package/src/foundry/client/data/documents/playlist-sound.d.mts +5 -4
- package/src/foundry/client/data/documents/playlist.d.mts +4 -4
- package/src/foundry/client/data/documents/region-behavior.d.mts +7 -6
- package/src/foundry/client/data/documents/region.d.mts +5 -3
- package/src/foundry/client/data/documents/scene.d.mts +6 -4
- package/src/foundry/client/data/documents/setting.d.mts +5 -4
- package/src/foundry/client/data/documents/table-result.d.mts +7 -6
- package/src/foundry/client/data/documents/table.d.mts +5 -4
- package/src/foundry/client/data/documents/tile.d.mts +6 -4
- package/src/foundry/client/data/documents/token.d.mts +8 -6
- package/src/foundry/client/data/documents/user.d.mts +5 -4
- package/src/foundry/client/data/documents/wall.d.mts +6 -4
- package/src/foundry/client/game.d.mts +2 -2
- package/src/foundry/client/head.d.mts +7 -3
- package/src/foundry/client/hooks.d.mts +37 -22
- package/src/foundry/client/pixi/board.d.mts +1 -1
- package/src/foundry/client/pixi/core/interaction/render-flags.d.mts +14 -5
- package/src/foundry/client/pixi/core/interaction/targets.d.mts +3 -3
- package/src/foundry/client/pixi/core/shapes/ray.d.mts +1 -1
- package/src/foundry/client/pixi/core/shapes/source-polygon.d.mts +1 -1
- package/src/foundry/client/pixi/extensions/circle.d.mts +1 -1
- package/src/foundry/client/pixi/groups/environment.d.mts +1 -1
- package/src/foundry/client/pixi/groups/interface.d.mts +2 -2
- package/src/foundry/client/pixi/groups/primary.d.mts +6 -6
- package/src/foundry/client/pixi/layers/base/placeables-layer.d.mts +2 -2
- package/src/foundry/client/pixi/layers/controls/door.d.mts +2 -2
- package/src/foundry/client/pixi/layers/controls/layer.d.mts +1 -1
- package/src/foundry/client/pixi/layers/controls/ruler.d.mts +8 -8
- package/src/foundry/client/pixi/layers/masks/occlusion.d.mts +1 -1
- package/src/foundry/client/pixi/layers/placeables/drawings.d.mts +2 -2
- package/src/foundry/client/pixi/layers/placeables/lighting.d.mts +2 -2
- package/src/foundry/client/pixi/layers/placeables/notes.d.mts +4 -4
- package/src/foundry/client/pixi/layers/placeables/regions.d.mts +3 -3
- package/src/foundry/client/pixi/layers/placeables/sounds.d.mts +4 -4
- package/src/foundry/client/pixi/layers/placeables/templates.d.mts +2 -2
- package/src/foundry/client/pixi/layers/placeables/tiles.d.mts +4 -4
- package/src/foundry/client/pixi/layers/placeables/tokens.d.mts +14 -11
- package/src/foundry/client/pixi/layers/placeables/walls.d.mts +7 -7
- package/src/foundry/client/pixi/perception/clockwise-sweep.d.mts +1 -1
- package/src/foundry/client/pixi/perception/detection-mode.d.mts +3 -3
- package/src/foundry/client/pixi/perception/fog.d.mts +2 -1
- package/src/foundry/client/pixi/perception/perception-manager.d.mts +1 -1
- package/src/foundry/client/pixi/perception/vision-mode.d.mts +5 -4
- package/src/foundry/client/pixi/placeable.d.mts +5 -3
- package/src/foundry/client/pixi/placeables/drawing.d.mts +25 -20
- package/src/foundry/client/pixi/placeables/light.d.mts +25 -20
- package/src/foundry/client/pixi/placeables/note.d.mts +25 -20
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-canvas-object.d.mts +1 -1
- package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-occludable-object.d.mts +1 -1
- package/src/foundry/client/pixi/placeables/region.d.mts +29 -23
- package/src/foundry/client/pixi/placeables/sound.d.mts +26 -21
- package/src/foundry/client/pixi/placeables/template.d.mts +25 -20
- package/src/foundry/client/pixi/placeables/tile.d.mts +27 -22
- package/src/foundry/client/pixi/placeables/token.d.mts +28 -23
- package/src/foundry/client/pixi/placeables/wall.d.mts +26 -21
- package/src/foundry/client/pixi/webgl/shaders/filters/base-mask-filter.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/filters/blur.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/filters/environment.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/filters/invisibility.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/filters/void.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/filters/weather-occlusion-masks.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/background-lighting.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/base-lighting.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/coloration-lighting.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/darkness-lighting.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/bewitching-wave.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/black-hole.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/chroma.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/emanation.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/energy-field.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/flame.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/fog.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/force-grid.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/ghost-light.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/hexa-dome.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/light-dome.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/magical-gloom.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/pulse.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/radial-rainbow.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/revolving-light.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/roiling-mass.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/siren-light.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/smoke-patch.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/star-light.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/sunburst.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/swirling-rainbow.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/torch.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/vortex.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/wave.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/illumination-lighting.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/region/adjust-darkness-level.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/region/base.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/region/highlight.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/samplers/baseline-illumination.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/samplers/color-adjustment.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/samplers/depth.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/samplers/fog-of-war.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/samplers/occlusion.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/samplers/primary.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/samplers/token-ring.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/vision/background-vision.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/vision/base-vision.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/vision/coloration-vision.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/vision/effects/amplification.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/vision/effects/wave.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/vision/illumination-vision.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/weather/fog.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/weather/rain.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/weather/snow.d.mts +1 -1
- package/src/foundry/client/ui/index.d.mts +0 -2
- package/src/foundry/client/ui/secrets.d.mts +1 -1
- package/src/foundry/client-esm/_module.d.mts +112 -0
- package/src/foundry/client-esm/_types.d.mts +9 -0
- package/src/foundry/client-esm/applications/_module.d.mts +7 -2
- package/src/foundry/client-esm/applications/_types.d.mts +2 -0
- package/src/foundry/client-esm/applications/api/_module.d.mts +4 -3
- package/src/foundry/client-esm/applications/api/application.d.mts +261 -45
- package/src/foundry/client-esm/applications/api/category-browser.d.mts +40 -0
- package/src/foundry/client-esm/applications/api/dialog.d.mts +162 -82
- package/src/foundry/client-esm/applications/api/document-sheet.d.mts +90 -38
- package/src/foundry/client-esm/applications/api/handlebars-application.d.mts +20 -6
- package/src/foundry/client-esm/applications/apps/_module.d.mts +7 -0
- package/src/foundry/client-esm/applications/apps/av/_module.d.mts +7 -0
- package/src/foundry/client-esm/applications/apps/av/camera-popout.d.mts +23 -0
- package/src/foundry/client-esm/applications/apps/av/cameras.d.mts +95 -0
- package/src/foundry/client-esm/applications/apps/combat-tracker-config.d.mts +21 -0
- package/src/foundry/client-esm/applications/apps/document-ownership.d.mts +21 -0
- package/src/foundry/client-esm/applications/apps/document-sheet-config.d.mts +24 -0
- package/src/foundry/client-esm/applications/apps/file-picker.d.mts +410 -0
- package/src/foundry/client-esm/applications/apps/grid-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/apps/image-popout.d.mts +56 -0
- package/src/foundry/client-esm/applications/apps/permission-config.d.mts +1 -1
- package/src/foundry/client-esm/applications/elements/_module.d.mts +3 -0
- package/src/foundry/client-esm/applications/elements/codemirror/element.d.mts +16 -0
- package/src/foundry/client-esm/applications/elements/codemirror/extensions.d.mts +20 -0
- package/src/foundry/client-esm/applications/elements/codemirror/view.d.mts +8 -0
- package/src/foundry/client-esm/applications/elements/document-embed.d.mts +14 -0
- package/src/foundry/client-esm/applications/elements/enriched-content.d.mts +29 -0
- package/src/foundry/client-esm/applications/elements/prosemirror-editor.d.mts +1 -1
- package/src/foundry/client-esm/applications/elements/secret-block.d.mts +7 -0
- package/src/foundry/client-esm/applications/handlebars.d.mts +3 -0
- package/src/foundry/client-esm/applications/hud/_module.d.mts +10 -0
- package/src/foundry/client-esm/applications/hud/container.d.mts +15 -0
- package/src/foundry/client-esm/applications/hud/drawing-hud.d.mts +19 -0
- package/src/foundry/client-esm/applications/hud/placeable-hud.d.mts +41 -0
- package/src/foundry/client-esm/applications/hud/tile-hud.d.mts +19 -0
- package/src/foundry/client-esm/applications/hud/token-hud.d.mts +20 -0
- package/src/foundry/client-esm/applications/quickstart.d.mts +20 -0
- package/src/foundry/client-esm/applications/settings/_module.d.mts +7 -0
- package/src/foundry/client-esm/applications/settings/config.d.mts +21 -0
- package/src/foundry/client-esm/applications/settings/dependency-resolution.d.mts +19 -0
- package/src/foundry/client-esm/applications/settings/menus/_module.d.mts +11 -0
- package/src/foundry/client-esm/applications/settings/menus/av-config.d.mts +27 -0
- package/src/foundry/client-esm/applications/settings/menus/default-sheets-config.d.mts +19 -0
- package/src/foundry/client-esm/applications/settings/menus/dice-config.d.mts +18 -0
- package/src/foundry/client-esm/applications/settings/menus/font-config.d.mts +43 -0
- package/src/foundry/client-esm/applications/settings/menus/prototype-overrides.d.mts +21 -0
- package/src/foundry/client-esm/applications/settings/menus/ui-config.d.mts +26 -0
- package/src/foundry/client-esm/applications/sheets/_module.d.mts +28 -3
- package/src/foundry/client-esm/applications/sheets/active-effect-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/adventure-exporter.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/adventure-importer.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/ambient-light-config.d.mts +1 -3
- package/src/foundry/client-esm/applications/sheets/ambient-sound-config.d.mts +1 -3
- package/src/foundry/client-esm/applications/sheets/base-sheet.d.mts +23 -0
- package/src/foundry/client-esm/applications/sheets/card-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/cards-config.d.mts +49 -0
- package/src/foundry/client-esm/applications/sheets/combatant-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/drawing-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/folder-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/journal/_module.d.mts +16 -0
- package/src/foundry/client-esm/applications/sheets/journal/dialog-show.d.mts +19 -0
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-category-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-hbs-sheet.d.mts +19 -0
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-image-sheet.d.mts +18 -0
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-markdown-sheet.d.mts +18 -0
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-pdf-sheet.d.mts +18 -0
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-prose-mirror-sheet.d.mts +18 -0
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-sheet.d.mts +28 -0
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-text-sheet.d.mts +18 -0
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-video-sheet.d.mts +18 -0
- package/src/foundry/client-esm/applications/sheets/journal/journal-entry-sheet.d.mts +35 -0
- package/src/foundry/client-esm/applications/sheets/macro-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/note-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/playlist-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/playlist-sound-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/region-behavior-config.d.mts +1 -2
- package/src/foundry/client-esm/applications/sheets/region-config.d.mts +2 -3
- package/src/foundry/client-esm/applications/sheets/roll-table-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/roll-table-sheet.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/scene-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/table-result-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/template-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/tile-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/token/_module.d.mts +7 -0
- package/src/foundry/client-esm/applications/sheets/token/mixin.d.mts +28 -0
- package/src/foundry/client-esm/applications/sheets/token/prototype-config.d.mts +18 -0
- package/src/foundry/client-esm/applications/sheets/token/token-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sheets/user-config.d.mts +1 -2
- package/src/foundry/client-esm/applications/sheets/wall-config.d.mts +25 -0
- package/src/foundry/client-esm/applications/sidebar/_module.d.mts +10 -0
- package/src/foundry/client-esm/applications/sidebar/apps/_module.d.mts +15 -0
- package/src/foundry/client-esm/applications/sidebar/apps/chat-popout.d.mts +22 -0
- package/src/foundry/client-esm/applications/sidebar/apps/compendium.d.mts +21 -0
- package/src/foundry/client-esm/applications/sidebar/apps/controls-config.d.mts +20 -0
- package/src/foundry/client-esm/applications/sidebar/apps/folder-export.d.mts +18 -0
- package/src/foundry/client-esm/applications/sidebar/apps/frame-viewer.d.mts +22 -0
- package/src/foundry/client-esm/applications/sidebar/apps/invitation-links.d.mts +17 -0
- package/src/foundry/client-esm/applications/sidebar/apps/module-management.d.mts +21 -0
- package/src/foundry/client-esm/applications/sidebar/apps/support-details.d.mts +17 -0
- package/src/foundry/client-esm/applications/sidebar/apps/tours-management.d.mts +20 -0
- package/src/foundry/client-esm/applications/sidebar/apps/world-config.d.mts +19 -0
- package/src/foundry/client-esm/applications/sidebar/document-directory.d.mts +30 -0
- package/src/foundry/client-esm/applications/sidebar/sidebar-tab.d.mts +86 -0
- package/src/foundry/client-esm/applications/sidebar/sidebar.d.mts +18 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/_module.d.mts +17 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/actor-directory.d.mts +20 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/cards-directory.d.mts +20 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/chat.d.mts +19 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/combat-tracker.d.mts +260 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/compendium-directory.d.mts +19 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/item-directory.d.mts +20 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/journal-directory.d.mts +20 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/macro-directory.d.mts +20 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/playlist-directory.d.mts +20 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/roll-table-directory.d.mts +20 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/scene-directory.d.mts +20 -0
- package/src/foundry/client-esm/applications/sidebar/tabs/settings.d.mts +18 -0
- package/src/foundry/client-esm/applications/ui/_module.d.mts +7 -0
- package/src/foundry/client-esm/applications/ui/game-pause.d.mts +22 -0
- package/src/foundry/client-esm/applications/ui/hotbar.d.mts +29 -0
- package/src/foundry/client-esm/applications/ui/main-menu.d.mts +27 -0
- package/src/foundry/client-esm/applications/ui/notifications.d.mts +208 -0
- package/src/foundry/client-esm/applications/ui/players.d.mts +26 -0
- package/src/foundry/client-esm/applications/ui/region-legend.d.mts +5 -2
- package/src/foundry/client-esm/applications/ui/scene-controls.d.mts +20 -0
- package/src/foundry/client-esm/applications/ui/scene-navigation.d.mts +28 -0
- package/src/foundry/client-esm/applications/ux/_module.d.mts +14 -0
- package/src/foundry/client-esm/applications/ux/context-menu.d.mts +379 -0
- package/src/foundry/client-esm/applications/ux/drag-drop.d.mts +21 -0
- package/src/foundry/client-esm/applications/ux/draggable.d.mts +9 -0
- package/src/foundry/client-esm/applications/ux/form-data-extended.d.mts +17 -0
- package/src/foundry/client-esm/applications/ux/html-secret.d.mts +21 -0
- package/src/foundry/client-esm/applications/ux/prosemirror-editor.d.mts +9 -0
- package/src/foundry/client-esm/applications/ux/search-filter.d.mts +9 -0
- package/src/foundry/client-esm/applications/ux/tabs.d.mts +29 -0
- package/src/foundry/client-esm/applications/ux/text-editor.d.mts +9 -0
- package/src/foundry/client-esm/appv1/_module.d.mts +7 -0
- package/src/foundry/client-esm/appv1/api/_module.d.mts +9 -0
- package/src/foundry/client-esm/appv1/api/application-v1.d.mts +5 -0
- package/src/foundry/client-esm/appv1/api/dialog-v1.d.mts +5 -0
- package/src/foundry/client-esm/appv1/api/document-sheet-v1.d.mts +5 -0
- package/src/foundry/client-esm/appv1/api/form-application-v1.d.mts +5 -0
- package/src/foundry/client-esm/appv1/sheets/_module.d.mts +10 -0
- package/src/foundry/client-esm/appv1/sheets/actor-sheet.d.mts +5 -0
- package/src/foundry/client-esm/appv1/sheets/adventure-importer.d.mts +5 -0
- package/src/foundry/client-esm/appv1/sheets/item-sheet.d.mts +5 -0
- package/src/foundry/client-esm/appv1/sheets/journal-page-sheet.d.mts +7 -0
- package/src/foundry/client-esm/appv1/sheets/journal-sheet.d.mts +5 -0
- package/src/foundry/client-esm/audio/cache.d.mts +1 -1
- package/src/foundry/client-esm/audio/sound.d.mts +167 -166
- package/src/foundry/client-esm/audio/timeout.d.mts +1 -1
- package/src/foundry/client-esm/av/_module.d.mts +10 -0
- package/src/foundry/client-esm/av/client.d.mts +18 -0
- package/src/foundry/client-esm/av/clients/_module.d.mts +6 -0
- package/src/foundry/client-esm/av/clients/simplepeer.d.mts +11 -0
- package/src/foundry/client-esm/av/master.d.mts +12 -0
- package/src/foundry/client-esm/av/settings.d.mts +30 -0
- package/src/foundry/client-esm/canvas/edges/edge.d.mts +2 -2
- package/src/foundry/client-esm/canvas/edges/edges.d.mts +1 -1
- package/src/foundry/client-esm/canvas/regions/geometry.d.mts +2 -2
- package/src/foundry/client-esm/canvas/regions/mesh.d.mts +2 -2
- package/src/foundry/client-esm/canvas/regions/polygon-tree.d.mts +2 -0
- package/src/foundry/client-esm/canvas/smaa/edges.d.mts +1 -1
- package/src/foundry/client-esm/canvas/smaa/weights.d.mts +1 -1
- package/src/foundry/client-esm/canvas/sources/base-effect-source.d.mts +1 -1
- package/src/foundry/client-esm/canvas/sources/point-movement-source.d.mts +1 -1
- package/src/foundry/client-esm/canvas/tokens/ring-config.d.mts +1 -1
- package/src/foundry/client-esm/canvas/tokens/ring-data.d.mts +3 -2
- package/src/foundry/client-esm/canvas/tokens/ring.d.mts +2 -2
- package/src/foundry/client-esm/client.d.mts +19 -19
- package/src/foundry/client-esm/config.d.mts +1 -0
- package/src/foundry/client-esm/data/_module.d.mts +6 -1
- package/src/foundry/client-esm/data/_types.d.mts +10 -0
- package/src/foundry/client-esm/data/calendar.d.mts +200 -0
- package/src/foundry/client-esm/data/client-backend.d.mts +2 -2
- package/src/foundry/client-esm/data/combat-config.d.mts +53 -0
- package/src/foundry/client-esm/data/region-behaviors/adjust-darkness-level.d.mts +1 -1
- package/src/foundry/client-esm/data/region-behaviors/base.d.mts +1 -1
- package/src/foundry/client-esm/data/region-behaviors/display-scrolling-text.d.mts +1 -1
- package/src/foundry/client-esm/data/terrain-data.d.mts +22 -0
- package/src/foundry/client-esm/dice/parser.d.mts +1 -1
- package/src/foundry/client-esm/dice/roll.d.mts +4 -13
- package/src/foundry/client-esm/documents/_module.d.mts +11 -0
- package/src/foundry/client-esm/documents/_types.d.mts +8 -0
- package/src/foundry/client-esm/documents/abstract/_module.d.mts +6 -0
- package/src/foundry/client-esm/documents/collections/_module.d.mts +6 -0
- package/src/foundry/client-esm/game.d.mts +7 -0
- package/src/foundry/client-esm/helpers/compendium-art.d.mts +2 -1
- package/src/foundry/client-esm/hooks.d.mts +1 -0
- package/src/foundry/client-esm/nue/_module.d.mts +9 -0
- package/src/foundry/client-esm/nue/nue-manager.d.mts +18 -0
- package/src/foundry/client-esm/nue/tour.d.mts +9 -0
- package/src/foundry/client-esm/nue/tours/_module.d.mts +8 -0
- package/src/foundry/client-esm/nue/tours/canvas-tour.d.mts +12 -0
- package/src/foundry/client-esm/nue/tours/setup-tour.d.mts +11 -0
- package/src/foundry/client-esm/nue/tours/sidebar-tour.d.mts +11 -0
- package/src/foundry/client-esm/nue/tours-collection.d.mts +25 -0
- package/src/foundry/client-esm/packages/_module.d.mts +22 -0
- package/src/foundry/client-esm/packages/_types.d.mts +13 -0
- package/src/foundry/client-esm/packages/client-package.d.mts +11 -0
- package/src/foundry/client-esm/packages/module.d.mts +8 -0
- package/src/foundry/client-esm/packages/system.d.mts +8 -0
- package/src/foundry/client-esm/packages/world.d.mts +8 -0
- package/src/foundry/client-esm/ui.d.mts +1 -0
- package/src/foundry/client-esm/utils/_module.d.mts +7 -0
- package/src/foundry/client-esm/utils/_types.d.mts +3 -0
- package/src/foundry/client-esm/utils/helpers.d.mts +6 -0
- package/src/foundry/common/{types.d.mts → _types.d.mts} +1 -1
- package/src/foundry/common/abstract/data.d.mts +5 -3
- package/src/foundry/common/abstract/document.d.mts +1 -1
- package/src/foundry/common/data/_types.d.mts +49 -0
- package/src/foundry/common/data/data.d.mts +2 -0
- package/src/foundry/common/data/fields.d.mts +213 -7
- package/src/foundry/common/documents/actor-delta.d.mts +2 -2
- package/src/foundry/common/documents/adventure.d.mts +2 -2
- package/src/foundry/common/documents/ambient-light.d.mts +1 -1
- package/src/foundry/common/documents/ambient-sound.d.mts +1 -1
- package/src/foundry/common/documents/combat.d.mts +1 -1
- package/src/foundry/common/documents/combatant.d.mts +1 -1
- package/src/foundry/common/documents/drawing.d.mts +1 -0
- package/src/foundry/common/documents/fog-exploration.d.mts +1 -1
- package/src/foundry/common/documents/folder.d.mts +1 -1
- package/src/foundry/common/documents/journal-entry-page.d.mts +1 -1
- package/src/foundry/common/documents/note.d.mts +1 -1
- package/src/foundry/common/documents/region-behavior.d.mts +2 -2
- package/src/foundry/common/documents/region.d.mts +2 -2
- package/src/foundry/common/documents/setting.d.mts +1 -1
- package/src/foundry/common/documents/token.d.mts +1 -1
- package/src/foundry/common/documents/wall.d.mts +1 -1
- package/src/foundry/common/grid/_types.d.mts +49 -0
- package/src/foundry/common/grid/base.d.mts +1 -1
- package/src/foundry/common/grid/hexagonal.d.mts +2 -2
- package/src/foundry/common/packages/{module.d.mts → _module.d.mts} +5 -5
- package/src/foundry/common/packages/_types.d.mts +27 -0
- package/src/foundry/common/prosemirror/_types.d.mts +31 -0
- package/src/foundry/common/utils/_types.d.mts +1 -0
- package/src/foundry/common/utils/event-emitter.d.mts +16 -4
- package/src/foundry/common/utils/string-tree.d.mts +1 -1
- package/src/types/documentConfiguration.d.mts +1 -1
- package/src/utils/index.d.mts +13 -6
- package/src/foundry/client/ui/context.d.mts +0 -221
- package/src/foundry/client/ui/notifications.d.mts +0 -143
- /package/src/foundry/common/abstract/{module.d.mts → _module.d.mts} +0 -0
- /package/src/foundry/common/data/{module.d.mts → _module.d.mts} +0 -0
- /package/src/foundry/common/primitives/{module.d.mts → _module.d.mts} +0 -0
- /package/src/foundry/common/utils/{module.d.mts → _module.d.mts} +0 -0
@@ -1,8 +1,9 @@
|
|
1
|
-
import type Document from "
|
2
|
-
import type {
|
3
|
-
import type {
|
4
|
-
import type {
|
5
|
-
|
1
|
+
import type Document from "#common/abstract/document.d.mts";
|
2
|
+
import type { documents } from "#client-esm/client.d.mts";
|
3
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
4
|
+
import type { InterfaceToObject, Merge, ValueOf } from "fvtt-types/utils";
|
5
|
+
|
6
|
+
import fields = foundry.data.fields;
|
6
7
|
|
7
8
|
declare global {
|
8
9
|
namespace JournalEntry {
|
@@ -503,7 +504,7 @@ declare global {
|
|
503
504
|
* Return a reference to the Note instance for this Journal Entry in the current Scene, if any.
|
504
505
|
* If multiple notes are placed for this Journal Entry, only the first will be returned.
|
505
506
|
*/
|
506
|
-
get sceneNote(): Note.
|
507
|
+
get sceneNote(): Note.Implementation | null;
|
507
508
|
|
508
509
|
/**
|
509
510
|
* Show the JournalEntry to connected players.
|
@@ -1,10 +1,11 @@
|
|
1
|
-
import type { ConfiguredMacro } from "
|
1
|
+
import type { ConfiguredMacro } from "fvtt-types/configuration";
|
2
2
|
import type { InexactPartial, Merge } from "fvtt-types/utils";
|
3
|
-
import type { documents } from "
|
4
|
-
import type Document from "
|
5
|
-
import type { DataSchema } from "
|
6
|
-
import type
|
7
|
-
|
3
|
+
import type { documents } from "#client-esm/client.d.mts";
|
4
|
+
import type Document from "#common/abstract/document.d.mts";
|
5
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
6
|
+
import type BaseMacro from "#common/documents/macro.d.mts";
|
7
|
+
|
8
|
+
import fields = foundry.data.fields;
|
8
9
|
|
9
10
|
declare global {
|
10
11
|
namespace Macro {
|
@@ -448,7 +449,7 @@ declare global {
|
|
448
449
|
actor: Actor.Implementation;
|
449
450
|
|
450
451
|
/** A Token which is the protagonist of the executed action. */
|
451
|
-
token: Token.
|
452
|
+
token: Token.Implementation;
|
452
453
|
|
453
454
|
/** An optional event passed to the executed macro. */
|
454
455
|
event: Event | RegionDocument.RegionEvent;
|
@@ -1,8 +1,9 @@
|
|
1
|
-
import type { Merge } from "
|
2
|
-
import type { documents } from "
|
3
|
-
import type Document from "
|
4
|
-
import type { DataSchema } from "
|
5
|
-
|
1
|
+
import type { Merge } from "fvtt-types/utils";
|
2
|
+
import type { documents } from "#client-esm/client.d.mts";
|
3
|
+
import type Document from "#common/abstract/document.d.mts";
|
4
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
5
|
+
|
6
|
+
import fields = foundry.data.fields;
|
6
7
|
|
7
8
|
declare global {
|
8
9
|
namespace MeasuredTemplateDocument {
|
@@ -1,9 +1,11 @@
|
|
1
|
-
import type { Merge } from "
|
2
|
-
import type { documents } from "
|
3
|
-
import type Document from "
|
4
|
-
import type { DataSchema } from "
|
5
|
-
import type
|
6
|
-
import type
|
1
|
+
import type { Merge } from "fvtt-types/utils";
|
2
|
+
import type { documents } from "#client-esm/client.d.mts";
|
3
|
+
import type Document from "#common/abstract/document.d.mts";
|
4
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
5
|
+
import type BaseNote from "#common/documents/note.d.mts";
|
6
|
+
import type { TextureData } from "#common/data/data.mjs";
|
7
|
+
|
8
|
+
import fields = foundry.data.fields;
|
7
9
|
|
8
10
|
declare global {
|
9
11
|
namespace NoteDocument {
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import type { InexactPartial, Merge } from "fvtt-types/utils";
|
2
|
-
import type Sound from "
|
3
|
-
import type Document from "
|
4
|
-
import type { DataSchema } from "
|
5
|
-
|
2
|
+
import type Sound from "#client-esm/audio/sound.d.mts";
|
3
|
+
import type Document from "#common/abstract/document.d.mts";
|
4
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
5
|
+
|
6
|
+
import fields = foundry.data.fields;
|
6
7
|
|
7
8
|
declare global {
|
8
9
|
namespace PlaylistSound {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import type { InexactPartial, Merge } from "fvtt-types/utils";
|
2
|
-
import type { documents } from "
|
3
|
-
import type { Document } from "
|
4
|
-
import type { DataSchema } from "
|
5
|
-
import type { fields } from "
|
2
|
+
import type { documents } from "#client-esm/client.d.mts";
|
3
|
+
import type { Document } from "#common/abstract/_module.d.mts";
|
4
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
5
|
+
import type { fields } from "#common/data/_module.d.mts";
|
6
6
|
|
7
7
|
declare global {
|
8
8
|
namespace Playlist {
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import type { ConfiguredRegionBehavior } from "
|
2
|
-
import type Document from "
|
3
|
-
import type
|
4
|
-
import type
|
5
|
-
import type {
|
6
|
-
|
1
|
+
import type { ConfiguredRegionBehavior } from "fvtt-types/configuration";
|
2
|
+
import type Document from "#common/abstract/document.d.mts";
|
3
|
+
import type BaseRegionBehavior from "#common/documents/region-behavior.d.mts";
|
4
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
5
|
+
import type { Merge } from "fvtt-types/utils";
|
6
|
+
|
7
|
+
import fields = foundry.data.fields;
|
7
8
|
|
8
9
|
declare global {
|
9
10
|
namespace RegionBehavior {
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import type { InexactPartial, Merge } from "fvtt-types/utils";
|
2
|
-
import type
|
3
|
-
import type
|
4
|
-
import type {
|
2
|
+
import type Document from "#common/abstract/document.d.mts";
|
3
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
4
|
+
import type { BaseShapeData } from "#common/data/data.mjs";
|
5
|
+
|
6
|
+
import fields = foundry.data.fields;
|
5
7
|
|
6
8
|
declare global {
|
7
9
|
namespace RegionDocument {
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import type { InexactPartial, Merge } from "fvtt-types/utils";
|
2
|
-
import type { documents } from "
|
3
|
-
import type Document from "
|
4
|
-
import type { DataSchema } from "
|
5
|
-
import type {
|
2
|
+
import type { documents } from "#client-esm/client.d.mts";
|
3
|
+
import type Document from "#common/abstract/document.d.mts";
|
4
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
5
|
+
import type { TextureData } from "#common/data/data.mjs";
|
6
|
+
|
7
|
+
import fields = foundry.data.fields;
|
6
8
|
|
7
9
|
declare global {
|
8
10
|
namespace Scene {
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import type { Merge } from "
|
2
|
-
import type Document from "
|
3
|
-
import type { DataSchema } from "
|
4
|
-
|
1
|
+
import type { Merge } from "fvtt-types/utils";
|
2
|
+
import type Document from "#common/abstract/document.d.mts";
|
3
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
4
|
+
|
5
|
+
import fields = foundry.data.fields;
|
5
6
|
|
6
7
|
declare global {
|
7
8
|
namespace Setting {
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import type { ConfiguredTableResult } from "
|
2
|
-
import type { Merge } from "
|
3
|
-
import type Document from "
|
4
|
-
import type { DataSchema } from "
|
5
|
-
import type
|
6
|
-
|
1
|
+
import type { ConfiguredTableResult } from "fvtt-types/configuration";
|
2
|
+
import type { Merge } from "fvtt-types/utils";
|
3
|
+
import type Document from "#common/abstract/document.d.mts";
|
4
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
5
|
+
import type BaseTableResult from "#common/documents/table-result.d.mts";
|
6
|
+
|
7
|
+
import fields = foundry.data.fields;
|
7
8
|
|
8
9
|
declare global {
|
9
10
|
namespace TableResult {
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import type { InexactPartial, Merge } from "fvtt-types/utils";
|
2
|
-
import type { documents } from "
|
3
|
-
import type Document from "
|
4
|
-
import type { DataSchema } from "
|
5
|
-
|
2
|
+
import type { documents } from "#client-esm/client.d.mts";
|
3
|
+
import type Document from "#common/abstract/document.d.mts";
|
4
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
5
|
+
|
6
|
+
import fields = foundry.data.fields;
|
6
7
|
|
7
8
|
declare global {
|
8
9
|
namespace RollTable {
|
@@ -1,7 +1,9 @@
|
|
1
|
-
import type { InterfaceToObject, Merge } from "
|
2
|
-
import type Document from "
|
3
|
-
import type { DataSchema } from "
|
4
|
-
import type {
|
1
|
+
import type { InterfaceToObject, Merge } from "fvtt-types/utils";
|
2
|
+
import type Document from "#common/abstract/document.d.mts";
|
3
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
4
|
+
import type { TextureData } from "#common/data/data.mjs";
|
5
|
+
|
6
|
+
import fields = foundry.data.fields;
|
5
7
|
|
6
8
|
declare global {
|
7
9
|
namespace TileDocument {
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import type { AnyObject, DeepPartial, InexactPartial, InterfaceToObject, Merge } from "fvtt-types/utils";
|
2
|
-
import type { documents } from "
|
3
|
-
import type Document from "
|
4
|
-
import type { DataSchema } from "
|
5
|
-
import type {
|
6
|
-
import type
|
7
|
-
import type
|
2
|
+
import type { documents } from "#client-esm/client.d.mts";
|
3
|
+
import type Document from "#common/abstract/document.d.mts";
|
4
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
5
|
+
import type { ActorDeltaField } from "#common/documents/token.d.mts";
|
6
|
+
import type BaseToken from "#common/documents/token.d.mts";
|
7
|
+
import type { LightData, TextureData } from "#common/data/data.mjs";
|
8
|
+
|
9
|
+
import fields = foundry.data.fields;
|
8
10
|
|
9
11
|
declare global {
|
10
12
|
namespace TokenDocument {
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import type { ConfiguredDocumentClass } from "../../../../types/documentConfiguration.d.mts";
|
2
2
|
import type { AnyObject, FixedInstanceType, InexactPartial, Merge, NullishProps } from "fvtt-types/utils";
|
3
|
-
import type Document from "
|
4
|
-
import type { DataSchema } from "
|
5
|
-
import type {
|
6
|
-
|
3
|
+
import type Document from "#common/abstract/document.d.mts";
|
4
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
5
|
+
import type { BaseActor } from "#common/documents/_module.d.mts";
|
6
|
+
|
7
|
+
import fields = foundry.data.fields;
|
7
8
|
|
8
9
|
declare global {
|
9
10
|
namespace User {
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import type { Merge } from "
|
2
|
-
import type Document from "
|
3
|
-
import type { DataSchema } from "
|
4
|
-
|
1
|
+
import type { Merge } from "fvtt-types/utils";
|
2
|
+
import type Document from "#common/abstract/document.d.mts";
|
3
|
+
import type { DataSchema } from "#common/data/fields.d.mts";
|
4
|
+
|
5
|
+
import fields = foundry.data.fields;
|
5
6
|
|
6
7
|
declare global {
|
7
8
|
namespace WallDocument {
|
@@ -215,6 +216,7 @@ declare global {
|
|
215
216
|
validationError: "must be a length-4 array of integer coordinates";
|
216
217
|
},
|
217
218
|
// TODO(LukeAbby): Make the array shape easier to override.
|
219
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
218
220
|
fields.ArrayField.AssignmentElementType<fields.NumberField<{ required: true; integer: true; nullable: false }>>,
|
219
221
|
fields.ArrayField.InitializedElementType<
|
220
222
|
fields.NumberField<{ required: true; integer: true; nullable: false }>
|
@@ -8,8 +8,8 @@ import type {
|
|
8
8
|
InitializationHook,
|
9
9
|
InitializedOn,
|
10
10
|
} from "fvtt-types/utils";
|
11
|
-
import type BasePackage from "
|
12
|
-
import type { Document } from "
|
11
|
+
import type BasePackage from "#common/packages/base-package.d.mts";
|
12
|
+
import type { Document } from "#common/abstract/_module.d.mts";
|
13
13
|
|
14
14
|
// Must be called with all hooks in a union.
|
15
15
|
// Do not increase the complexity of this type. If you do Game related types may get complex enough to complain about not being statically known.
|
@@ -48,7 +48,11 @@ declare global {
|
|
48
48
|
* Critical server-side startup messages which need to be displayed to the client.
|
49
49
|
*/
|
50
50
|
let MESSAGES:
|
51
|
-
| {
|
51
|
+
| {
|
52
|
+
type: foundry.applications.ui.Notifications.Type;
|
53
|
+
message: string;
|
54
|
+
options: foundry.applications.ui.Notifications.NotifyOptions;
|
55
|
+
}[]
|
52
56
|
| null;
|
53
57
|
|
54
58
|
/**
|
@@ -60,9 +64,9 @@ declare global {
|
|
60
64
|
let ui: {
|
61
65
|
/**
|
62
66
|
* @remarks
|
63
|
-
* Initialized whenever a {@link ContextMenu | `ContextMenu`} is opened, deleted when it's closed again.
|
67
|
+
* Initialized whenever a {@link foundry.applications.ux.ContextMenu | `ContextMenu`} is opened, deleted when it's closed again.
|
64
68
|
*/
|
65
|
-
context?: ContextMenu;
|
69
|
+
context?: foundry.applications.ux.ContextMenu;
|
66
70
|
|
67
71
|
/**
|
68
72
|
* @defaultValue `{}`
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import type { EditorState, Plugin } from "prosemirror-state";
|
2
2
|
import type { DeepPartial, EmptyObject, ValueOf } from "fvtt-types/utils";
|
3
|
-
import type Document from "
|
4
|
-
import type { ProseMirrorDropDown } from "
|
5
|
-
import type ProseMirrorMenu from "
|
6
|
-
import type PointVisionSource from "
|
7
|
-
import type RenderedEffectSource from "
|
3
|
+
import type Document from "#common/abstract/document.d.mts";
|
4
|
+
import type { ProseMirrorDropDown } from "#common/prosemirror/menu.d.mts";
|
5
|
+
import type ProseMirrorMenu from "#common/prosemirror/menu.d.mts";
|
6
|
+
import type PointVisionSource from "#client-esm/canvas/sources/point-vision-source.d.mts";
|
7
|
+
import type RenderedEffectSource from "#client-esm/canvas/sources/rendered-effect-source.d.mts";
|
8
8
|
import type {
|
9
9
|
DatabaseCreateOperation,
|
10
10
|
DatabaseDeleteOperation,
|
11
11
|
DatabaseUpdateOperation,
|
12
|
-
} from "
|
13
|
-
import type CompendiumArt from "
|
12
|
+
} from "#common/abstract/_types.d.mts";
|
13
|
+
import type CompendiumArt from "#client-esm/helpers/compendium-art.d.mts";
|
14
14
|
|
15
15
|
declare global {
|
16
16
|
/**
|
@@ -299,7 +299,7 @@ declare global {
|
|
299
299
|
* @param statusId - The status effect ID being applied, from CONFIG.specialStatusEffects.
|
300
300
|
* @param active - Is the special status effect now active?
|
301
301
|
*/
|
302
|
-
applyTokenStatusEffect: (token: Token.
|
302
|
+
applyTokenStatusEffect: (token: Token.Implementation, statusId: string, active: boolean) => void;
|
303
303
|
|
304
304
|
/**
|
305
305
|
* A hook event that fires when a chat bubble is initially configured.
|
@@ -313,7 +313,7 @@ declare global {
|
|
313
313
|
* @see {@link ChatBubbles.say | `ChatBubbles#say`}
|
314
314
|
*/
|
315
315
|
chatBubble: (
|
316
|
-
token: Token.
|
316
|
+
token: Token.Implementation,
|
317
317
|
html: JQuery,
|
318
318
|
message: string,
|
319
319
|
options: {
|
@@ -368,7 +368,7 @@ declare global {
|
|
368
368
|
* @param options - Options for rendering the associated {@link JournalSheet | `JournalSheet`}
|
369
369
|
* @remarks This is called by {@link Hooks.call | `Hooks.call`}.
|
370
370
|
*/
|
371
|
-
activateNote: (note: Note.
|
371
|
+
activateNote: (note: Note.Implementation, options: JournalSheet.RenderOptions) => true | false;
|
372
372
|
|
373
373
|
/** Cards */
|
374
374
|
|
@@ -790,21 +790,27 @@ declare global {
|
|
790
790
|
|
791
791
|
/**
|
792
792
|
* A hook event that fires when the context menu for a SceneNavigation entry is constructed.
|
793
|
-
* @param
|
793
|
+
* @param app - The Application instance that the context menu is constructed in
|
794
794
|
* @param entryOptions - The context menu entries
|
795
795
|
* @remarks This is called by {@link Hooks.call | `Hooks.call`}.
|
796
796
|
* @see {@link SceneNavigation.activateListeners | `SceneNavigation#activateListeners`}
|
797
797
|
*/
|
798
|
-
getSceneNavigationContext: (
|
798
|
+
getSceneNavigationContext: (
|
799
|
+
app: foundry.applications.ui.SceneNavigation,
|
800
|
+
contextOptions: foundry.applications.ux.ContextMenu.Entry<HTMLElement>[],
|
801
|
+
) => boolean | void;
|
799
802
|
|
800
803
|
/**
|
801
804
|
* A hook event that fires when the context menu for a PlayersList entry is constructed.
|
802
|
-
* @param
|
803
|
-
* @param
|
805
|
+
* @param app - The Application instance that the context menu is constructed in
|
806
|
+
* @param contextOptions - The context menu entries
|
804
807
|
* @remarks This is called by {@link Hooks.call | `Hooks.call`}.
|
805
808
|
* @see {@link PlayerList.activateListeners | `PlayerList#activateListeners`}
|
806
809
|
*/
|
807
|
-
getUserContextOptions: (
|
810
|
+
getUserContextOptions: (
|
811
|
+
app: foundry.applications.ui.Players,
|
812
|
+
contextOptions: foundry.applications.ux.ContextMenu.Entry<HTMLElement>[],
|
813
|
+
) => boolean | void;
|
808
814
|
}
|
809
815
|
|
810
816
|
/** Application */
|
@@ -1155,36 +1161,45 @@ declare global {
|
|
1155
1161
|
* A hook event that fires when the context menu for entries in an Application is constructed. Substitute the
|
1156
1162
|
* Application name in the hook event to target a specific Application, for example
|
1157
1163
|
* "getActorDirectoryEntryContext".
|
1158
|
-
* @param
|
1164
|
+
* @param app - The Application instance that the context menu is constructed in
|
1159
1165
|
* @param entryOptions - The context menu entries
|
1160
1166
|
* @remarks This is called by {@link Hooks.call | `Hooks.call`}.
|
1161
1167
|
* @see {@link ContextMenu.create | `ContextMenu.create`}
|
1162
1168
|
*/
|
1163
|
-
type GetEntryContext = (
|
1169
|
+
type GetEntryContext = (
|
1170
|
+
app: Application.Any | foundry.applications.api.ApplicationV2.Any,
|
1171
|
+
entryOptions: foundry.applications.ux.ContextMenu.Entry<HTMLElement | JQuery>[],
|
1172
|
+
) => boolean | void;
|
1164
1173
|
|
1165
1174
|
/**
|
1166
1175
|
* A hook event that fires when the context menu for a Sound in the PlaylistDirectory is constructed.
|
1167
|
-
* @param
|
1176
|
+
* @param app - The Application instance that the context menu is constructed in
|
1168
1177
|
* @param entryOptions - The context menu entries
|
1169
1178
|
* @remarks The name for this hook is dynamically created by joining "get" with the type name of the PlaylistDirectory
|
1170
1179
|
* and "SoundContext".
|
1171
1180
|
* @remarks This is called by {@link Hooks.call | `Hooks.call`}.
|
1172
1181
|
* @see {@link PlaylistDirectory._contextMenu | `PlaylistDirectory#_contextMenu`}
|
1173
1182
|
*/
|
1174
|
-
type
|
1183
|
+
type GetSoundContextPlaylistDirectory = (
|
1184
|
+
app: foundry.applications.sidebar.tabs.PlaylistDirectory,
|
1185
|
+
entryOptions: foundry.applications.ux.ContextMenu.Entry<HTMLElement>[],
|
1186
|
+
) => boolean | void;
|
1175
1187
|
|
1176
1188
|
/**
|
1177
1189
|
* A hook event that fires when the context menu for folders in a SidebarTab
|
1178
1190
|
* is constructed. Substitute the SidebarTab name in the hook event to target
|
1179
1191
|
* a specific SidebarTab, for example "getActorDirectoryFolderContext".
|
1180
|
-
* @param
|
1192
|
+
* @param app - The Application instance that the context menu is constructed in
|
1181
1193
|
* @param entryOptions - The context menu entries
|
1182
1194
|
* @remarks The name for this hook is dynamically created by joining "get" with the type name of the SidebarDirectory
|
1183
1195
|
* and "FolderContext".
|
1184
1196
|
* @remarks This is called by {@link Hooks.call | `Hooks.call`}.
|
1185
1197
|
* @see {@link SidebarDirectory._contextMenu | `SidebarDirectory#_contextMenu`}
|
1186
1198
|
*/
|
1187
|
-
type GetSidebarDirectoryFolderContext = (
|
1199
|
+
type GetSidebarDirectoryFolderContext = (
|
1200
|
+
app: foundry.applications.sidebar.DocumentDirectory,
|
1201
|
+
entryOptions: foundry.applications.ux.ContextMenu.Entry<HTMLElement>[],
|
1202
|
+
) => boolean | void;
|
1188
1203
|
|
1189
1204
|
type DynamicCallbacks =
|
1190
1205
|
| RenderApplication
|
@@ -1209,7 +1224,7 @@ declare global {
|
|
1209
1224
|
| ActivateLayer
|
1210
1225
|
| DeactivateLayer
|
1211
1226
|
| GetEntryContext
|
1212
|
-
|
|
1227
|
+
| GetSoundContextPlaylistDirectory
|
1213
1228
|
| GetSidebarDirectoryFolderContext;
|
1214
1229
|
|
1215
1230
|
interface ErrorCallbackParameters {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { InexactPartial, NullishProps, FixedInstanceType } from "fvtt-types/utils";
|
2
|
-
import type { CANVAS_PERFORMANCE_MODES } from "
|
2
|
+
import type { CANVAS_PERFORMANCE_MODES } from "#common/constants.d.mts";
|
3
3
|
|
4
4
|
type InternalCanvas = new (...args: never) => {
|
5
5
|
readonly [K in keyof CONFIG.Canvas.Groups]?: FixedInstanceType<CONFIG.Canvas.Groups[K]["groupClass"]> | undefined;
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import type {
|
2
2
|
AnyConstructor,
|
3
|
+
Coalesce,
|
3
4
|
ConcreteKeys,
|
4
5
|
FixedInstanceType,
|
5
6
|
InexactPartial,
|
6
7
|
MakeConform,
|
7
8
|
Mixin,
|
9
|
+
PhantomConstructor,
|
8
10
|
} from "fvtt-types/utils";
|
9
|
-
import type { LogCompatibilityWarningOptions } from "
|
11
|
+
import type { LogCompatibilityWarningOptions } from "#common/utils/logging.d.mts";
|
10
12
|
|
11
13
|
declare class RenderFlagObject {
|
12
14
|
/** @privateRemarks All mixin classses should accept anything for its constructor. */
|
@@ -138,22 +140,29 @@ declare global {
|
|
138
140
|
/**
|
139
141
|
* Add RenderFlags functionality to some other object.
|
140
142
|
* This mixin standardizes the interface for such functionality.
|
141
|
-
* @param Base - The base class being mixed
|
143
|
+
* @param Base - The base class being mixed: defaults to an anonymous empty class.
|
142
144
|
* @returns The mixed class definition
|
145
|
+
*
|
146
|
+
* @remarks `Base` is normally a PIXI.DisplayObject
|
143
147
|
*/
|
144
148
|
// Note(LukeAbby): In theory a similar thing to what happens in `CanvasGroupMixin` could be done.
|
145
149
|
// That is passing up a generic to instantiate the generic side. However `RenderFlagsMixin` is
|
146
150
|
// only inherited directly by `PerceptionManager` and `PlaceableObject`.
|
147
151
|
// Therefore it's mostly the subclasses of `PlaceableObject` that face this problem and that can't
|
148
152
|
// be solved here unfortunately.
|
149
|
-
function RenderFlagsMixin<BaseClass extends RenderFlagsMixin.BaseClass>(
|
150
|
-
Base
|
151
|
-
):
|
153
|
+
function RenderFlagsMixin<BaseClass extends RenderFlagsMixin.BaseClass | undefined = undefined>(
|
154
|
+
Base?: BaseClass,
|
155
|
+
): RenderFlagsMixin.Mix<BaseClass>;
|
152
156
|
|
153
157
|
namespace RenderFlagsMixin {
|
154
158
|
interface AnyMixedConstructor extends ReturnType<typeof RenderFlagsMixin<BaseClass>> {}
|
155
159
|
interface AnyMixed extends FixedInstanceType<AnyMixedConstructor> {}
|
156
160
|
|
161
|
+
type Mix<BaseClass extends RenderFlagsMixin.BaseClass | undefined> = Mixin<
|
162
|
+
typeof RenderFlagObject,
|
163
|
+
Coalesce<BaseClass, PhantomConstructor>
|
164
|
+
>;
|
165
|
+
|
157
166
|
type BaseClass = AnyConstructor;
|
158
167
|
|
159
168
|
type RENDER_FLAGS = Record<string, RenderFlag.Any>;
|
@@ -14,7 +14,7 @@ declare global {
|
|
14
14
|
* A subclass of Set which manages the Token ids which the User has targeted.
|
15
15
|
* @see {@link User.targets | `User#targets`}
|
16
16
|
*/
|
17
|
-
class UserTargets extends Set<Token.
|
17
|
+
class UserTargets extends Set<Token.Implementation> {
|
18
18
|
constructor(user: UserTargets["user"]);
|
19
19
|
|
20
20
|
user: User.Implementation;
|
@@ -27,14 +27,14 @@ declare global {
|
|
27
27
|
/**
|
28
28
|
* @remarks Returns void, but Set<T>.add returns boolean
|
29
29
|
*/
|
30
|
-
override add(token: Token.
|
30
|
+
override add(token: Token.Implementation): void;
|
31
31
|
|
32
32
|
override clear(): void;
|
33
33
|
|
34
34
|
/**
|
35
35
|
* @remarks Returns void, but Set<T>.delete returns boolean
|
36
36
|
*/
|
37
|
-
override delete(token: Token.
|
37
|
+
override delete(token: Token.Implementation): void;
|
38
38
|
}
|
39
39
|
|
40
40
|
namespace UserTargets {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Brand, Coalesce, Identity, InexactPartial, NullishProps } from "fvtt-types/utils";
|
2
|
-
import type PointEffectSourceMixin from "
|
2
|
+
import type PointEffectSourceMixin from "#client-esm/canvas/sources/point-effect-source.d.mts";
|
3
3
|
|
4
4
|
declare global {
|
5
5
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { NullishProps } from "fvtt-types/utils";
|
2
|
-
import type { LineCircleIntersection } from "
|
2
|
+
import type { LineCircleIntersection } from "#common/utils/geometry.d.mts";
|
3
3
|
import * as _PIXI from "pixi.js";
|
4
4
|
|
5
5
|
declare global {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { HandleEmptyObject, Identity, InexactPartial, NullishProps } from "fvtt-types/utils";
|
2
|
-
import type { SceneEnvironmentData } from "
|
2
|
+
import type { SceneEnvironmentData } from "#common/documents/_types.d.mts";
|
3
3
|
|
4
4
|
declare global {
|
5
5
|
/**
|
@@ -14,13 +14,13 @@ declare global {
|
|
14
14
|
* @returns The created Graphics instance
|
15
15
|
* @remarks
|
16
16
|
*/
|
17
|
-
addDrawing(drawing: Drawing.
|
17
|
+
addDrawing(drawing: Drawing.Implementation): PIXI.Graphics;
|
18
18
|
|
19
19
|
/**
|
20
20
|
* Remove a PrimaryGraphics from the group.
|
21
21
|
* @param drawing - The Drawing being removed
|
22
22
|
*/
|
23
|
-
removeDrawing(drawing: Drawing.
|
23
|
+
removeDrawing(drawing: Drawing.Implementation): void;
|
24
24
|
|
25
25
|
protected override _draw(options: HandleEmptyObject<DrawOptions>): Promise<void>;
|
26
26
|
|