@league-of-foundry-developers/foundry-vtt-types 12.331.4-beta → 12.331.5
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 +18 -1
- package/src/configuration/configuration.d.mts +1 -1
- package/src/foundry/client/apps/app.d.mts +1 -1
- package/src/foundry/client/apps/av/av-config.d.mts +1 -1
- package/src/foundry/client/apps/av/cameras.d.mts +1 -1
- package/src/foundry/client/apps/dice/dice-config.d.mts +1 -1
- package/src/foundry/client/apps/form.d.mts +1 -1
- package/src/foundry/client/apps/forms/actor.d.mts +1 -1
- package/src/foundry/client/apps/forms/adventure-exporter.d.mts +1 -1
- package/src/foundry/client/apps/forms/adventure-importer.d.mts +1 -1
- package/src/foundry/client/apps/forms/base-sheet.d.mts +1 -1
- package/src/foundry/client/apps/forms/card-config.d.mts +1 -1
- package/src/foundry/client/apps/forms/cards-config.d.mts +1 -1
- package/src/foundry/client/apps/forms/combat-config.d.mts +1 -1
- package/src/foundry/client/apps/forms/effect-config.d.mts +1 -1
- package/src/foundry/client/apps/forms/folder-config.d.mts +7 -2
- package/src/foundry/client/apps/forms/fonts.d.mts +1 -1
- package/src/foundry/client/apps/forms/grid-config.d.mts +1 -1
- package/src/foundry/client/apps/forms/image-popout.d.mts +1 -1
- package/src/foundry/client/apps/forms/item.d.mts +1 -1
- package/src/foundry/client/apps/forms/journal-page-sheet.d.mts +1 -1
- package/src/foundry/client/apps/forms/journal-sheet.d.mts +1 -1
- 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 +1 -1
- package/src/foundry/client/apps/forms/sheet-config.d.mts +1 -1
- package/src/foundry/client/apps/forms/user-config.d.mts +1 -1
- package/src/foundry/client/apps/hud/chatbubble.d.mts +1 -1
- package/src/foundry/client/apps/hud/container.d.mts +1 -1
- package/src/foundry/client/apps/hud/controls.d.mts +1 -1
- package/src/foundry/client/apps/hud/hotbar.d.mts +1 -1
- package/src/foundry/client/apps/hud/hud.d.mts +1 -1
- package/src/foundry/client/apps/hud/menu.d.mts +1 -1
- package/src/foundry/client/apps/hud/navigation.d.mts +1 -1
- package/src/foundry/client/apps/hud/pause.d.mts +1 -1
- package/src/foundry/client/apps/hud/players.d.mts +1 -1
- package/src/foundry/client/apps/placeables/drawing-config.d.mts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/foundry/client/apps/placeables/wall-config.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/apps/keybindings-config.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/apps/module-management.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/apps/support-details.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/apps/tours-management.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/apps/world-config.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/directory-tab-mixin.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/package-configuration.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/sidebar.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 +1 -1
- 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/macros-directory.d.mts +1 -1
- package/src/foundry/client/apps/sidebar/tabs/playlists-directory.d.mts +1 -1
- 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 +1 -1
- package/src/foundry/client/apps/sidebar/tabs/settings.d.mts +1 -1
- package/src/foundry/client/av/client.d.mts +1 -1
- package/src/foundry/client/av/clients/simplepeer.d.mts +1 -1
- package/src/foundry/client/av/master.d.mts +1 -1
- package/src/foundry/client/av/settings.d.mts +1 -1
- package/src/foundry/client/config.d.mts +1 -1
- package/src/foundry/client/core/hooks.d.mts +1 -1
- package/src/foundry/client/core/image.d.mts +1 -1
- package/src/foundry/client/core/keybindings.d.mts +1 -1
- package/src/foundry/client/core/packages.d.mts +4 -2
- package/src/foundry/client/core/settings.d.mts +1 -1
- package/src/foundry/client/core/socket.d.mts +1 -1
- package/src/foundry/client/core/tooltip.d.mts +1 -1
- package/src/foundry/client/core/tour.d.mts +1 -1
- package/src/foundry/client/core/utils.d.mts +1 -1
- package/src/foundry/client/core/workers.d.mts +1 -1
- package/src/foundry/client/data/abstract/canvas-document.d.mts +9 -20
- package/src/foundry/client/data/abstract/client-document.d.mts +133 -71
- package/src/foundry/client/data/abstract/directory-collection-mixin.d.mts +2 -2
- package/src/foundry/client/data/abstract/document-collection.d.mts +1 -1
- package/src/foundry/client/data/abstract/world-collection.d.mts +8 -1
- 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 +5 -4
- package/src/foundry/client/data/collections/fog.d.mts +1 -1
- package/src/foundry/client/data/collections/folder.d.mts +1 -1
- 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 +4 -4
- package/src/foundry/client/data/documents/active-effect.d.mts +124 -48
- package/src/foundry/client/data/documents/actor-delta.d.mts +53 -22
- package/src/foundry/client/data/documents/actor.d.mts +147 -93
- package/src/foundry/client/data/documents/adventure.d.mts +74 -45
- package/src/foundry/client/data/documents/ambient-light.d.mts +13 -10
- package/src/foundry/client/data/documents/ambient-sound.d.mts +12 -7
- package/src/foundry/client/data/documents/card.d.mts +57 -34
- package/src/foundry/client/data/documents/cards.d.mts +171 -135
- package/src/foundry/client/data/documents/chat-message.d.mts +131 -72
- package/src/foundry/client/data/documents/combat.d.mts +80 -60
- package/src/foundry/client/data/documents/combatant.d.mts +53 -20
- package/src/foundry/client/data/documents/drawing.d.mts +12 -7
- package/src/foundry/client/data/documents/fog-exploration.d.mts +57 -17
- package/src/foundry/client/data/documents/folder.d.mts +114 -31
- package/src/foundry/client/data/documents/item.d.mts +31 -21
- package/src/foundry/client/data/documents/journal-entry-page.d.mts +90 -57
- package/src/foundry/client/data/documents/journal-entry.d.mts +29 -34
- package/src/foundry/client/data/documents/macro.d.mts +60 -34
- package/src/foundry/client/data/documents/measured-template.d.mts +13 -8
- package/src/foundry/client/data/documents/note.d.mts +14 -7
- package/src/foundry/client/data/documents/playlist-sound.d.mts +29 -33
- package/src/foundry/client/data/documents/playlist.d.mts +74 -54
- package/src/foundry/client/data/documents/region-behavior.d.mts +16 -7
- package/src/foundry/client/data/documents/region.d.mts +53 -48
- package/src/foundry/client/data/documents/scene.d.mts +310 -89
- package/src/foundry/client/data/documents/setting.d.mts +24 -23
- package/src/foundry/client/data/documents/table-result.d.mts +20 -8
- package/src/foundry/client/data/documents/table.d.mts +19 -13
- package/src/foundry/client/data/documents/tile.d.mts +13 -7
- package/src/foundry/client/data/documents/token.d.mts +148 -117
- package/src/foundry/client/data/documents/user.d.mts +141 -53
- package/src/foundry/client/data/documents/wall.d.mts +17 -10
- package/src/foundry/client/game.d.mts +1 -1
- package/src/foundry/client/head.d.mts +1 -1
- package/src/foundry/client/hooks.d.mts +9 -18
- package/src/foundry/client/pixi/board.d.mts +3 -2
- package/src/foundry/client/pixi/core/containers/base-canvas-group.d.mts +1 -1
- package/src/foundry/client/pixi/core/containers/cached-container.d.mts +1 -1
- package/src/foundry/client/pixi/core/containers/full-canvas-container.d.mts +1 -1
- package/src/foundry/client/pixi/core/containers/point-source-mesh.d.mts +1 -1
- package/src/foundry/client/pixi/core/containers/quad-mesh.d.mts +1 -1
- package/src/foundry/client/pixi/core/containers/quadtree.d.mts +1 -1
- package/src/foundry/client/pixi/core/containers/sprite-mesh.d.mts +1 -1
- package/src/foundry/client/pixi/core/containers/unbound-container.d.mts +1 -1
- package/src/foundry/client/pixi/core/interaction/canvas-animation.d.mts +1 -1
- package/src/foundry/client/pixi/core/interaction/control-icon.d.mts +1 -1
- package/src/foundry/client/pixi/core/interaction/mouse-handler.d.mts +1 -1
- package/src/foundry/client/pixi/core/interaction/ping.d.mts +1 -1
- package/src/foundry/client/pixi/core/interaction/pings/pulse.d.mts +1 -1
- package/src/foundry/client/pixi/core/interaction/render-flags.d.mts +1 -8
- package/src/foundry/client/pixi/core/interaction/resize-handle.d.mts +1 -1
- package/src/foundry/client/pixi/core/interaction/targets.d.mts +1 -1
- package/src/foundry/client/pixi/core/loader.d.mts +1 -1
- package/src/foundry/client/pixi/core/shapes/limited-angle-polygon.d.mts +1 -1
- package/src/foundry/client/pixi/core/shapes/polygon-mesher.d.mts +1 -1
- package/src/foundry/client/pixi/core/shapes/precise-text.d.mts +1 -1
- 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/extensions/observable-transform.d.mts +1 -1
- package/src/foundry/client/pixi/extensions/polygon.d.mts +1 -1
- package/src/foundry/client/pixi/extensions/rectangle.d.mts +1 -1
- package/src/foundry/client/pixi/groups/effects.d.mts +1 -1
- package/src/foundry/client/pixi/groups/environment.d.mts +1 -1
- package/src/foundry/client/pixi/groups/hidden.d.mts +1 -1
- package/src/foundry/client/pixi/groups/interface.d.mts +1 -1
- package/src/foundry/client/pixi/groups/overlay.d.mts +1 -1
- package/src/foundry/client/pixi/groups/primary.d.mts +1 -1
- package/src/foundry/client/pixi/groups/rendered.d.mts +1 -1
- package/src/foundry/client/pixi/layers/base/canvas-layer.d.mts +1 -1
- package/src/foundry/client/pixi/layers/base/interaction-layer.d.mts +1 -1
- package/src/foundry/client/pixi/layers/base/placeables-layer.d.mts +1 -1
- package/src/foundry/client/pixi/layers/controls/cursor.d.mts +1 -1
- package/src/foundry/client/pixi/layers/controls/door.d.mts +1 -1
- package/src/foundry/client/pixi/layers/controls/layer.d.mts +1 -1
- package/src/foundry/client/pixi/layers/controls/ruler.d.mts +1 -1
- package/src/foundry/client/pixi/layers/effects/background-effects.d.mts +1 -1
- package/src/foundry/client/pixi/layers/effects/coloration-effects.d.mts +1 -1
- package/src/foundry/client/pixi/layers/effects/darkness-effects.d.mts +1 -1
- package/src/foundry/client/pixi/layers/effects/illumination-effects.d.mts +1 -1
- package/src/foundry/client/pixi/layers/effects/visibility.d.mts +1 -1
- package/src/foundry/client/pixi/layers/effects/weather/particles/effect.d.mts +1 -1
- package/src/foundry/client/pixi/layers/effects/weather/particles/leaves.d.mts +1 -1
- package/src/foundry/client/pixi/layers/effects/weather-effects.d.mts +1 -1
- package/src/foundry/client/pixi/layers/grid/highlight.d.mts +1 -1
- package/src/foundry/client/pixi/layers/grid/layer.d.mts +1 -1
- package/src/foundry/client/pixi/layers/grid/mesh.d.mts +1 -1
- package/src/foundry/client/pixi/layers/masks/depth.d.mts +1 -1
- package/src/foundry/client/pixi/layers/masks/occlusion.d.mts +1 -1
- package/src/foundry/client/pixi/layers/masks/vision.d.mts +1 -1
- package/src/foundry/client/pixi/layers/placeables/drawings.d.mts +1 -1
- package/src/foundry/client/pixi/layers/placeables/lighting.d.mts +1 -1
- package/src/foundry/client/pixi/layers/placeables/notes.d.mts +1 -1
- package/src/foundry/client/pixi/layers/placeables/regions.d.mts +1 -1
- package/src/foundry/client/pixi/layers/placeables/sounds.d.mts +1 -1
- package/src/foundry/client/pixi/layers/placeables/templates.d.mts +1 -1
- package/src/foundry/client/pixi/layers/placeables/tiles.d.mts +1 -1
- package/src/foundry/client/pixi/layers/placeables/tokens.d.mts +1 -1
- package/src/foundry/client/pixi/layers/placeables/walls.d.mts +1 -1
- package/src/foundry/client/pixi/perception/clockwise-sweep.d.mts +1 -1
- package/src/foundry/client/pixi/perception/detection-mode.d.mts +1 -1
- package/src/foundry/client/pixi/perception/fog.d.mts +1 -1
- package/src/foundry/client/pixi/perception/perception-manager.d.mts +1 -1
- package/src/foundry/client/pixi/perception/vision-mode.d.mts +1 -1
- package/src/foundry/client/pixi/perception/weiler-atherton-clipping.d.mts +1 -1
- package/src/foundry/client/pixi/placeable.d.mts +2 -1
- package/src/foundry/client/pixi/placeables/drawing.d.mts +1 -1
- package/src/foundry/client/pixi/placeables/light.d.mts +1 -7
- package/src/foundry/client/pixi/placeables/note.d.mts +1 -1
- 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-graphics.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/primary-canvas-objects/primary-sprite-mesh.d.mts +1 -1
- package/src/foundry/client/pixi/placeables/region.d.mts +1 -1
- package/src/foundry/client/pixi/placeables/sound.d.mts +1 -1
- package/src/foundry/client/pixi/placeables/template.d.mts +1 -1
- package/src/foundry/client/pixi/placeables/tile.d.mts +1 -1
- package/src/foundry/client/pixi/placeables/token.d.mts +1 -1
- package/src/foundry/client/pixi/placeables/wall.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/extensions/batch-renderer.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/extensions/batch-shader-generator.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/helpers/framebuffer-snapshot.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/helpers/smooth-noise.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/helpers/texture-extractor.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/base-shader-mixin.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/base-shader.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/filters/base-filter.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/filters/effects-masking.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/filters/glow-overlay.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/filters/outline-overlay.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/filters/transition.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/filters/visibility.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/filters/vision-mask-filter.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/fragment-channel-mixin.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/grid/grid.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/lighting/effects/fairy-light.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/samplers/base-sampler.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/weather/base-weather.d.mts +1 -1
- package/src/foundry/client/pixi/webgl/shaders/weather/effect.d.mts +1 -1
- package/src/foundry/client/pixi/workers/texture-worker.d.mts +1 -1
- package/src/foundry/client/ui/context.d.mts +1 -1
- package/src/foundry/client/ui/dialog.d.mts +1 -1
- package/src/foundry/client/ui/dragdrop.d.mts +1 -1
- package/src/foundry/client/ui/editor.d.mts +1 -1
- package/src/foundry/client/ui/filepicker.d.mts +1 -1
- package/src/foundry/client/ui/filter.d.mts +1 -1
- package/src/foundry/client-esm/applications/api/application.d.mts +1 -9
- package/src/foundry/client-esm/applications/api/dialog.d.mts +1 -1
- package/src/foundry/client-esm/applications/api/document-sheet.d.mts +1 -1
- package/src/foundry/client-esm/applications/api/handlebars-application.d.mts +1 -1
- package/src/foundry/client-esm/applications/apps/compendium-art-config.d.mts +1 -1
- package/src/foundry/client-esm/applications/apps/permission-config.d.mts +1 -1
- package/src/foundry/client-esm/applications/dice/roll-resolver.d.mts +1 -1
- package/src/foundry/client-esm/applications/forms/fields.d.mts +1 -1
- package/src/foundry/client-esm/applications/sheets/actor-sheet.d.mts +1 -1
- package/src/foundry/client-esm/applications/sheets/ambient-light-config.d.mts +1 -1
- package/src/foundry/client-esm/applications/sheets/ambient-sound-config.d.mts +1 -1
- package/src/foundry/client-esm/applications/sheets/item-sheet.d.mts +1 -1
- package/src/foundry/client-esm/applications/sheets/region-behavior-config.d.mts +1 -1
- package/src/foundry/client-esm/applications/sheets/region-config.d.mts +1 -1
- package/src/foundry/client-esm/applications/sheets/user-config.d.mts +1 -1
- package/src/foundry/client-esm/applications/ui/region-legend.d.mts +1 -1
- package/src/foundry/client-esm/audio/biquad.d.mts +1 -1
- package/src/foundry/client-esm/audio/convolver.d.mts +1 -1
- package/src/foundry/client-esm/audio/helper.d.mts +1 -1
- package/src/foundry/client-esm/audio/sound.d.mts +2 -2
- package/src/foundry/client-esm/canvas/edges/collision.d.mts +1 -1
- package/src/foundry/client-esm/canvas/edges/edge.d.mts +1 -1
- package/src/foundry/client-esm/canvas/edges/vertex.d.mts +1 -1
- package/src/foundry/client-esm/canvas/scene-manager.d.mts +1 -1
- package/src/foundry/client-esm/canvas/smaa/smaa.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/base-light-source.d.mts +1 -1
- package/src/foundry/client-esm/canvas/sources/global-light-source.d.mts +1 -1
- package/src/foundry/client-esm/canvas/sources/point-darkness-source.d.mts +1 -1
- package/src/foundry/client-esm/canvas/sources/point-effect-source.d.mts +1 -1
- package/src/foundry/client-esm/canvas/sources/point-light-source.d.mts +1 -1
- package/src/foundry/client-esm/canvas/sources/point-sound-source.d.mts +1 -1
- package/src/foundry/client-esm/canvas/sources/point-vision-source.d.mts +1 -1
- package/src/foundry/client-esm/canvas/sources/rendered-effect-source.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 +1 -1
- package/src/foundry/client-esm/data/client-backend.d.mts +1 -1
- package/src/foundry/client-esm/data/region-behaviors/adjust-darkness-level.d.mts +4 -5
- 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/region-behaviors/toggle-behavior.d.mts +4 -4
- package/src/foundry/client-esm/dice/roll.d.mts +5 -8
- package/src/foundry/client-esm/dice/terms/coin.d.mts +1 -1
- package/src/foundry/client-esm/dice/terms/dice.d.mts +1 -1
- package/src/foundry/client-esm/dice/terms/die.d.mts +1 -1
- package/src/foundry/client-esm/dice/terms/fate.d.mts +1 -1
- package/src/foundry/client-esm/dice/terms/function.d.mts +1 -1
- package/src/foundry/client-esm/dice/terms/numeric.d.mts +1 -1
- package/src/foundry/client-esm/dice/terms/operator.d.mts +1 -1
- package/src/foundry/client-esm/dice/terms/parenthetical.d.mts +1 -1
- package/src/foundry/client-esm/dice/terms/pool.d.mts +1 -1
- package/src/foundry/client-esm/dice/terms/string.d.mts +1 -1
- package/src/foundry/client-esm/dice/terms/term.d.mts +1 -1
- package/src/foundry/common/abstract/backend.d.mts +1 -1
- package/src/foundry/common/abstract/data.d.mts +197 -146
- package/src/foundry/common/abstract/document.d.mts +198 -81
- package/src/foundry/common/abstract/embedded-collection-delta.d.mts +1 -1
- package/src/foundry/common/abstract/embedded-collection.d.mts +1 -1
- package/src/foundry/common/abstract/socket.d.mts +1 -1
- package/src/foundry/common/abstract/type-data.d.mts +4 -1
- package/src/foundry/common/config.d.mts +7 -1
- package/src/foundry/common/constants.d.mts +1 -1
- package/src/foundry/common/data/data.d.mts +42 -12
- package/src/foundry/common/data/fields.d.mts +656 -252
- package/src/foundry/common/documents/_types.d.mts +0 -6
- package/src/foundry/common/documents/active-effect.d.mts +116 -53
- package/src/foundry/common/documents/actor-delta.d.mts +139 -58
- package/src/foundry/common/documents/actor.d.mts +105 -51
- package/src/foundry/common/documents/adventure.d.mts +84 -39
- package/src/foundry/common/documents/ambient-light.d.mts +66 -38
- package/src/foundry/common/documents/ambient-sound.d.mts +66 -38
- package/src/foundry/common/documents/card.d.mts +100 -59
- package/src/foundry/common/documents/cards.d.mts +97 -42
- package/src/foundry/common/documents/chat-message.d.mts +105 -52
- package/src/foundry/common/documents/combat.d.mts +101 -48
- package/src/foundry/common/documents/combatant.d.mts +94 -50
- package/src/foundry/common/documents/drawing.d.mts +87 -46
- package/src/foundry/common/documents/fog-exploration.d.mts +87 -41
- package/src/foundry/common/documents/folder.d.mts +100 -46
- package/src/foundry/common/documents/item.d.mts +116 -45
- package/src/foundry/common/documents/journal-entry-page.d.mts +90 -40
- package/src/foundry/common/documents/journal-entry.d.mts +90 -39
- package/src/foundry/common/documents/macro.d.mts +116 -52
- package/src/foundry/common/documents/measured-template.d.mts +80 -44
- package/src/foundry/common/documents/note.d.mts +75 -39
- package/src/foundry/common/documents/playlist-sound.d.mts +88 -47
- package/src/foundry/common/documents/playlist.d.mts +101 -50
- package/src/foundry/common/documents/region-behavior.d.mts +71 -40
- package/src/foundry/common/documents/region.d.mts +68 -40
- package/src/foundry/common/documents/roll-table.d.mts +43 -9
- package/src/foundry/common/documents/scene.d.mts +190 -43
- package/src/foundry/common/documents/setting.d.mts +98 -42
- package/src/foundry/common/documents/table-result.d.mts +98 -48
- package/src/foundry/common/documents/tile.d.mts +77 -43
- package/src/foundry/common/documents/token.d.mts +95 -52
- package/src/foundry/common/documents/user.d.mts +100 -89
- package/src/foundry/common/documents/wall.d.mts +47 -17
- package/src/foundry/common/grid/base.d.mts +1 -1
- package/src/foundry/common/grid/gridless.d.mts +1 -1
- package/src/foundry/common/grid/hexagonal.d.mts +1 -1
- package/src/foundry/common/grid/square.d.mts +1 -1
- package/src/foundry/common/packages/base-package.d.mts +37 -14
- package/src/foundry/common/packages/base-system.d.mts +39 -0
- package/src/foundry/common/packages/base-world.d.mts +8 -1
- package/src/foundry/common/packages/sub-types.d.mts +3 -5
- package/src/foundry/common/primitives/array.d.mts +1 -1
- package/src/foundry/common/primitives/string.d.mts +1 -1
- package/src/foundry/common/prosemirror/dirty-plugin.d.mts +1 -1
- package/src/foundry/common/prosemirror/dom-parser.d.mts +1 -1
- package/src/foundry/common/prosemirror/highlight-matches-plugin.d.mts +1 -1
- package/src/foundry/common/prosemirror/image-plugin.d.mts +1 -1
- package/src/foundry/common/prosemirror/paste-transformer.d.mts +1 -1
- package/src/foundry/common/prosemirror/plugin.d.mts +1 -1
- package/src/foundry/common/types.d.mts +1 -1
- package/src/foundry/common/utils/bitmask.d.mts +1 -1
- package/src/foundry/common/utils/collection.d.mts +1 -1
- package/src/foundry/common/utils/event-emitter.d.mts +1 -1
- package/src/foundry/common/utils/helpers.d.mts +1 -1
- package/src/foundry/public/scripts/clipper/clipper.d.mts +1 -1
- package/src/types/augments/particles.d.mts +1 -1
- package/src/types/augments/pixi.d.mts +1 -1
- package/src/types/augments/smooth.d.mts +1 -1
- package/src/types/augments/tinyMCE.d.mts +1 -1
- package/src/types/config.d.mts +2 -5
- package/src/types/documentConfiguration.d.mts +1 -1
- package/src/types/lib.d.mts +1 -1
- package/src/types/workers/image-compressor.d.mts +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AnyObject, FixedInstanceType, Mixin, ShapeWithIndexSignature } from "
|
1
|
+
import type { AnyObject, FixedInstanceType, Mixin, ShapeWithIndexSignature } from "#utils";
|
2
2
|
|
3
3
|
declare class AdaptiveFragmentChannel {
|
4
4
|
/** @privateRemarks All mixin classses should accept anything for its constructor. */
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Identity, InexactPartial, Mixin } from "
|
1
|
+
import type { Identity, InexactPartial, Mixin } from "#utils";
|
2
2
|
|
3
3
|
declare class BatchPlugin<BaseSamplerShaderClass extends BaseSamplerShader.AnyConstructor> {
|
4
4
|
/** @privateRemarks All mixin classses should accept anything for its constructor. */
|
@@ -1,12 +1,4 @@
|
|
1
|
-
import type {
|
2
|
-
MustConform,
|
3
|
-
AnyObject,
|
4
|
-
DeepPartial,
|
5
|
-
EmptyObject,
|
6
|
-
InexactPartial,
|
7
|
-
MaybePromise,
|
8
|
-
Identity,
|
9
|
-
} from "fvtt-types/utils";
|
1
|
+
import type { MustConform, AnyObject, DeepPartial, EmptyObject, InexactPartial, MaybePromise, Identity } from "#utils";
|
10
2
|
import type EventEmitterMixin from "../../../common/utils/event-emitter.d.mts";
|
11
3
|
|
12
4
|
// TODO: Investigate use of DeepPartial vs Partial vs InexactPartial
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AnyObject, Brand, DeepPartial, EmptyObject, Identity } from "
|
1
|
+
import type { AnyObject, Brand, DeepPartial, EmptyObject, Identity } from "#utils";
|
2
2
|
import type ApplicationV2 from "./application.d.mts";
|
3
3
|
|
4
4
|
declare namespace DocumentSheetV2 {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ConformRecord, InterfaceToObject, MustConform, DeepPartial } from "
|
1
|
+
import type { ConformRecord, InterfaceToObject, MustConform, DeepPartial } from "#utils";
|
2
2
|
import type ApplicationV2 from "../api/application.d.mts";
|
3
3
|
import type HandlebarsApplicationMixin from "../api/handlebars-application.d.mts";
|
4
4
|
import type CompendiumArt from "../../helpers/compendium-art.d.mts";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ConformRecord, InterfaceToObject, MustConform, DeepPartial } from "
|
1
|
+
import type { ConformRecord, InterfaceToObject, MustConform, DeepPartial } from "#utils";
|
2
2
|
import type { UserPermission } from "../../../common/constants.d.mts";
|
3
3
|
import type { CONST } from "../../client.d.mts";
|
4
4
|
import type ApplicationV2 from "../api/application.d.mts";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AnyObject, DeepPartial, EmptyObject, Identity, InexactPartial } from "
|
1
|
+
import type { AnyObject, DeepPartial, EmptyObject, Identity, InexactPartial } from "#utils";
|
2
2
|
import type ApplicationV2 from "../api/application.d.mts";
|
3
3
|
import type HandlebarsApplicationMixin from "../api/handlebars-application.d.mts";
|
4
4
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { InterfaceToObject, AnyObject, DeepPartial } from "
|
1
|
+
import type { InterfaceToObject, AnyObject, DeepPartial } from "#utils";
|
2
2
|
import type ApplicationV2 from "../api/application.d.mts";
|
3
3
|
import type DocumentSheetV2 from "../api/document-sheet.d.mts";
|
4
4
|
import type HandlebarsApplicationMixin from "../api/handlebars-application.d.mts";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { InterfaceToObject, AnyObject, DeepPartial } from "
|
1
|
+
import type { InterfaceToObject, AnyObject, DeepPartial } from "#utils";
|
2
2
|
import type ApplicationV2 from "../api/application.d.mts";
|
3
3
|
import type DocumentSheetV2 from "../api/document-sheet.d.mts";
|
4
4
|
import type HandlebarsApplicationMixin from "../api/handlebars-application.d.mts";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AnyObject, DeepPartial, EmptyObject } from "
|
1
|
+
import type { AnyObject, DeepPartial, EmptyObject } from "#utils";
|
2
2
|
import type { FormFooterButton, FormNode } from "../_types.d.mts";
|
3
3
|
import type DocumentSheetV2 from "../api/document-sheet.d.mts";
|
4
4
|
import type HandlebarsApplicationMixin from "../api/handlebars-application.d.mts";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AnyObject, DeepPartial, EmptyObject } from "
|
1
|
+
import type { AnyObject, DeepPartial, EmptyObject } from "#utils";
|
2
2
|
import type DocumentSheetV2 from "../api/document-sheet.d.mts";
|
3
3
|
import type HandlebarsApplicationMixin from "../api/handlebars-application.d.mts";
|
4
4
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { InterfaceToObject, AnyObject, DeepPartial } from "
|
1
|
+
import type { InterfaceToObject, AnyObject, DeepPartial } from "#utils";
|
2
2
|
import type DocumentSheetV2 from "../api/document-sheet.d.mts";
|
3
3
|
import type HandlebarsApplicationMixin from "../api/handlebars-application.d.mts";
|
4
4
|
import type { CustomFormGroup } from "../forms/fields.d.mts";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AnyObject, DeepPartial, EmptyObject } from "
|
1
|
+
import type { AnyObject, DeepPartial, EmptyObject } from "#utils";
|
2
2
|
import type ApplicationV2 from "../api/application.d.mts";
|
3
3
|
import type HandlebarsApplicationMixin from "../api/handlebars-application.d.mts";
|
4
4
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type Sound from "./sound.d.mts";
|
2
2
|
import type AudioBufferCache from "./cache.d.mts";
|
3
|
-
import type { Identity, InexactPartial, IntentionalPartial, NullishProps } from "
|
3
|
+
import type { Identity, InexactPartial, IntentionalPartial, NullishProps } from "#utils";
|
4
4
|
|
5
5
|
/**
|
6
6
|
* A helper class to provide common functionality for working with the Web Audio API.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Brand, Identity, InexactPartial, MaybePromise, NullishProps } from "
|
1
|
+
import type { Brand, Identity, InexactPartial, MaybePromise, NullishProps } from "#utils";
|
2
2
|
import EventEmitterMixin = foundry.utils.EventEmitterMixin;
|
3
3
|
|
4
4
|
/**
|
@@ -76,7 +76,7 @@ declare class Sound extends EventEmitterMixin(Object) {
|
|
76
76
|
|
77
77
|
/**
|
78
78
|
* The life-cycle state of the sound.
|
79
|
-
* @defaultValue `Sound.STATES.NONE`
|
79
|
+
* @defaultValue `Sound.STATES.NONE`
|
80
80
|
*/
|
81
81
|
protected _state: Sound.STATES;
|
82
82
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type PolygonVertex from "./vertex.d.mts";
|
2
2
|
import type { LineIntersection } from "../../../common/utils/geometry.d.mts";
|
3
|
-
import type { Identity, NullishProps } from "
|
3
|
+
import type { Identity, NullishProps } from "#utils";
|
4
4
|
import type { WallThresholdData } from "../../../common/documents/_types.d.mts";
|
5
5
|
|
6
6
|
/**
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AnyFunction, Identity } from "
|
1
|
+
import type { AnyFunction, Identity } from "#utils";
|
2
2
|
/**
|
3
3
|
* A framework for imbuing special scripted behaviors into a single specific Scene.
|
4
4
|
* Managed scenes are registered in CONFIG.Canvas.managedScenes.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AnyObject, FixedInstanceType, Identity, IntentionalPartial, RequiredProps } from "
|
1
|
+
import type { AnyObject, FixedInstanceType, Identity, IntentionalPartial, RequiredProps } from "#utils";
|
2
2
|
import type BaseLightSource from "./base-light-source.d.mts";
|
3
3
|
import type PointEffectSourceMixin from "./point-effect-source.d.mts";
|
4
4
|
import type RenderedEffectSource from "./rendered-effect-source.d.mts";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Mixin, IntentionalPartial, FixedInstanceType, RequiredProps } from "
|
1
|
+
import type { Mixin, IntentionalPartial, FixedInstanceType, RequiredProps } from "#utils";
|
2
2
|
import type BaseEffectSource from "./base-effect-source.d.mts";
|
3
3
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AnyObject, FixedInstanceType, Identity, IntentionalPartial, RequiredProps } from "
|
1
|
+
import type { AnyObject, FixedInstanceType, Identity, IntentionalPartial, RequiredProps } from "#utils";
|
2
2
|
import type BaseLightSource from "./base-light-source.d.mts";
|
3
3
|
import type PointEffectSourceMixin from "./point-effect-source.d.mts";
|
4
4
|
import type RenderedEffectSource from "./rendered-effect-source.d.mts";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { FixedInstanceType, Identity, NullishProps, RequiredProps } from "
|
1
|
+
import type { FixedInstanceType, Identity, NullishProps, RequiredProps } from "#utils";
|
2
2
|
import type BaseEffectSource from "./base-effect-source.d.mts";
|
3
3
|
import type PointEffectSourceMixin from "./point-effect-source.d.mts";
|
4
4
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type RenderedEffectSource from "./rendered-effect-source.d.mts";
|
2
2
|
import type PointEffectSourceMixin from "./point-effect-source.d.mts";
|
3
|
-
import type { AnyObject, FixedInstanceType, Identity, IntentionalPartial, RequiredProps } from "
|
3
|
+
import type { AnyObject, FixedInstanceType, Identity, IntentionalPartial, RequiredProps } from "#utils";
|
4
4
|
|
5
5
|
/**
|
6
6
|
* A specialized subclass of RenderedEffectSource which represents a source of point-based vision.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AnyObject, Identity, InexactPartial, IntentionalPartial, NullishProps } from "
|
1
|
+
import type { AnyObject, Identity, InexactPartial, IntentionalPartial, NullishProps } from "#utils";
|
2
2
|
import type BaseEffectSource from "./base-effect-source.d.mts";
|
3
3
|
import type BaseLightSource from "./base-light-source.d.mts";
|
4
4
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type DataModel from "../../../common/abstract/data.d.mts";
|
2
2
|
import type { DataField, DataSchema } from "../../../common/data/fields.d.mts";
|
3
|
-
import type { AnyConstructor, SimpleMerge } from "
|
3
|
+
import type { AnyConstructor, SimpleMerge } from "#utils";
|
4
4
|
import type TokenRing from "./ring.d.mts";
|
5
5
|
|
6
6
|
import fields = foundry.data.fields;
|
@@ -91,7 +91,8 @@ declare class ClassReferenceField<
|
|
91
91
|
|
92
92
|
protected override _cast(value: AssignmentType): InitializedType;
|
93
93
|
|
94
|
-
|
94
|
+
/** @remarks `data` is unused, always returns `this.initial` */
|
95
|
+
override getInitialValue(data?: unknown): InitializedType;
|
95
96
|
}
|
96
97
|
|
97
98
|
declare namespace ClassReferenceField {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type RegionBehaviorType from "./base.d.mts";
|
2
|
-
import type { Brand } from "
|
2
|
+
import type { Brand } from "#utils";
|
3
3
|
import fields = foundry.data.fields;
|
4
4
|
import type { InvertObject } from "../../../common/utils/helpers.d.mts";
|
5
5
|
|
@@ -49,9 +49,8 @@ declare class AdjustDarknessLevelRegionBehaviorType extends RegionBehaviorType<A
|
|
49
49
|
|
50
50
|
static override events: Record<string, RegionBehaviorType.EventBehaviorStaticHandler>;
|
51
51
|
|
52
|
-
|
53
|
-
|
54
|
-
* For type simplicity it is left off. Methods like this historically have been the source of a large amount of computation from tsc.
|
55
|
-
*/
|
52
|
+
// _onUpdate is overridden but without signature changes.
|
53
|
+
// For type simplicity it is left off. Methods like this historically have been the source of a large amount of computation from tsc.
|
56
54
|
}
|
55
|
+
|
57
56
|
export default AdjustDarknessLevelRegionBehaviorType;
|
@@ -2,6 +2,8 @@ import type RegionBehaviorType from "./base.d.mts";
|
|
2
2
|
import fields = foundry.data.fields;
|
3
3
|
|
4
4
|
declare namespace ToggleBehaviorRegionBehaviorType {
|
5
|
+
interface Source extends fields.SchemaField.SourceData<Schema> {}
|
6
|
+
|
5
7
|
interface Schema extends foundry.data.fields.DataSchema {
|
6
8
|
events: RegionBehaviorType.EventsField;
|
7
9
|
|
@@ -20,10 +22,8 @@ declare class ToggleBehaviorRegionBehaviorType extends RegionBehaviorType<Toggle
|
|
20
22
|
|
21
23
|
static override defineSchema(): ToggleBehaviorRegionBehaviorType.Schema;
|
22
24
|
|
23
|
-
/**
|
24
|
-
|
25
|
-
* For type simplicity it is left off. Methods like this historically have been the source of a large amount of computation from tsc.
|
26
|
-
*/
|
25
|
+
/** @throws If there's any overlap between the `data.enable` and `data.disable` sets */
|
26
|
+
static override validateJoint(data: ToggleBehaviorRegionBehaviorType.Source): void;
|
27
27
|
|
28
28
|
protected override _handleRegionEvent(event: RegionDocument.RegionEvent): Promise<void>;
|
29
29
|
}
|
@@ -1,11 +1,4 @@
|
|
1
|
-
import type {
|
2
|
-
AnyObject,
|
3
|
-
InexactPartial,
|
4
|
-
FixedInstanceType,
|
5
|
-
IntentionalPartial,
|
6
|
-
EmptyObject,
|
7
|
-
Identity,
|
8
|
-
} from "fvtt-types/utils";
|
1
|
+
import type { AnyObject, InexactPartial, FixedInstanceType, IntentionalPartial, EmptyObject, Identity } from "#utils";
|
9
2
|
import type { RollParseNode } from "./_types.d.mts";
|
10
3
|
import type DiceTerm from "./terms/dice.d.mts";
|
11
4
|
import type PoolTerm from "./terms/pool.d.mts";
|
@@ -545,6 +538,10 @@ declare namespace Roll {
|
|
545
538
|
interface Any extends AnyRoll {}
|
546
539
|
interface AnyConstructor extends Identity<typeof AnyRoll> {}
|
547
540
|
|
541
|
+
// TODO: Make this actually configurable
|
542
|
+
interface ConfiguredClass extends Identity<CONFIG["Dice"]["rolls"][0]> {}
|
543
|
+
interface ConfiguredInstance extends FixedInstanceType<ConfiguredClass> {}
|
544
|
+
|
548
545
|
interface _Options extends RollTerm.EvaluationOptions {
|
549
546
|
/**
|
550
547
|
* If false, force the use of non-interactive rolls and do not prompt the user to make manual rolls.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { InexactPartial, FixedInstanceType, Identity } from "
|
1
|
+
import type { InexactPartial, FixedInstanceType, Identity } from "#utils";
|
2
2
|
import type { RollParseNode } from "../_types.mts";
|
3
3
|
|
4
4
|
import type RollResolver from "../../applications/dice/roll-resolver.d.mts";
|