@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.
Files changed (377) hide show
  1. package/package.json +18 -1
  2. package/src/configuration/configuration.d.mts +1 -1
  3. package/src/foundry/client/apps/app.d.mts +1 -1
  4. package/src/foundry/client/apps/av/av-config.d.mts +1 -1
  5. package/src/foundry/client/apps/av/cameras.d.mts +1 -1
  6. package/src/foundry/client/apps/dice/dice-config.d.mts +1 -1
  7. package/src/foundry/client/apps/form.d.mts +1 -1
  8. package/src/foundry/client/apps/forms/actor.d.mts +1 -1
  9. package/src/foundry/client/apps/forms/adventure-exporter.d.mts +1 -1
  10. package/src/foundry/client/apps/forms/adventure-importer.d.mts +1 -1
  11. package/src/foundry/client/apps/forms/base-sheet.d.mts +1 -1
  12. package/src/foundry/client/apps/forms/card-config.d.mts +1 -1
  13. package/src/foundry/client/apps/forms/cards-config.d.mts +1 -1
  14. package/src/foundry/client/apps/forms/combat-config.d.mts +1 -1
  15. package/src/foundry/client/apps/forms/effect-config.d.mts +1 -1
  16. package/src/foundry/client/apps/forms/folder-config.d.mts +7 -2
  17. package/src/foundry/client/apps/forms/fonts.d.mts +1 -1
  18. package/src/foundry/client/apps/forms/grid-config.d.mts +1 -1
  19. package/src/foundry/client/apps/forms/image-popout.d.mts +1 -1
  20. package/src/foundry/client/apps/forms/item.d.mts +1 -1
  21. package/src/foundry/client/apps/forms/journal-page-sheet.d.mts +1 -1
  22. package/src/foundry/client/apps/forms/journal-sheet.d.mts +1 -1
  23. package/src/foundry/client/apps/forms/macro-config.d.mts +1 -1
  24. package/src/foundry/client/apps/forms/measure-template.d.mts +1 -1
  25. package/src/foundry/client/apps/forms/ownership.d.mts +1 -1
  26. package/src/foundry/client/apps/forms/playlist-config.d.mts +1 -1
  27. package/src/foundry/client/apps/forms/playlist-sound-config.d.mts +1 -1
  28. package/src/foundry/client/apps/forms/roll-table-config.d.mts +1 -1
  29. package/src/foundry/client/apps/forms/scene-config.d.mts +1 -1
  30. package/src/foundry/client/apps/forms/sheet-config.d.mts +1 -1
  31. package/src/foundry/client/apps/forms/user-config.d.mts +1 -1
  32. package/src/foundry/client/apps/hud/chatbubble.d.mts +1 -1
  33. package/src/foundry/client/apps/hud/container.d.mts +1 -1
  34. package/src/foundry/client/apps/hud/controls.d.mts +1 -1
  35. package/src/foundry/client/apps/hud/hotbar.d.mts +1 -1
  36. package/src/foundry/client/apps/hud/hud.d.mts +1 -1
  37. package/src/foundry/client/apps/hud/menu.d.mts +1 -1
  38. package/src/foundry/client/apps/hud/navigation.d.mts +1 -1
  39. package/src/foundry/client/apps/hud/pause.d.mts +1 -1
  40. package/src/foundry/client/apps/hud/players.d.mts +1 -1
  41. package/src/foundry/client/apps/placeables/drawing-config.d.mts +1 -1
  42. package/src/foundry/client/apps/placeables/drawing-hud.d.mts +1 -1
  43. package/src/foundry/client/apps/placeables/note-config.d.mts +1 -1
  44. package/src/foundry/client/apps/placeables/tile-config.d.mts +1 -1
  45. package/src/foundry/client/apps/placeables/tile-hud.d.mts +1 -1
  46. package/src/foundry/client/apps/placeables/token-config.d.mts +1 -1
  47. package/src/foundry/client/apps/placeables/token-hud.d.mts +1 -1
  48. package/src/foundry/client/apps/placeables/wall-config.d.mts +1 -1
  49. package/src/foundry/client/apps/sidebar/apps/keybindings-config.d.mts +1 -1
  50. package/src/foundry/client/apps/sidebar/apps/module-management.d.mts +1 -1
  51. package/src/foundry/client/apps/sidebar/apps/support-details.d.mts +1 -1
  52. package/src/foundry/client/apps/sidebar/apps/tours-management.d.mts +1 -1
  53. package/src/foundry/client/apps/sidebar/apps/world-config.d.mts +1 -1
  54. package/src/foundry/client/apps/sidebar/directory-tab-mixin.d.mts +1 -1
  55. package/src/foundry/client/apps/sidebar/package-configuration.d.mts +1 -1
  56. package/src/foundry/client/apps/sidebar/sidebar.d.mts +1 -1
  57. package/src/foundry/client/apps/sidebar/tabs/actors-directory.d.mts +1 -1
  58. package/src/foundry/client/apps/sidebar/tabs/cards-directory.d.mts +1 -1
  59. package/src/foundry/client/apps/sidebar/tabs/chat-log.d.mts +1 -1
  60. package/src/foundry/client/apps/sidebar/tabs/combat-tracker.d.mts +1 -1
  61. package/src/foundry/client/apps/sidebar/tabs/compendium-directory.d.mts +1 -1
  62. package/src/foundry/client/apps/sidebar/tabs/items-directory.d.mts +1 -1
  63. package/src/foundry/client/apps/sidebar/tabs/journal-directory.d.mts +1 -1
  64. package/src/foundry/client/apps/sidebar/tabs/macros-directory.d.mts +1 -1
  65. package/src/foundry/client/apps/sidebar/tabs/playlists-directory.d.mts +1 -1
  66. package/src/foundry/client/apps/sidebar/tabs/roll-table-directory.d.mts +1 -1
  67. package/src/foundry/client/apps/sidebar/tabs/scenes-directory.d.mts +1 -1
  68. package/src/foundry/client/apps/sidebar/tabs/settings.d.mts +1 -1
  69. package/src/foundry/client/av/client.d.mts +1 -1
  70. package/src/foundry/client/av/clients/simplepeer.d.mts +1 -1
  71. package/src/foundry/client/av/master.d.mts +1 -1
  72. package/src/foundry/client/av/settings.d.mts +1 -1
  73. package/src/foundry/client/config.d.mts +1 -1
  74. package/src/foundry/client/core/hooks.d.mts +1 -1
  75. package/src/foundry/client/core/image.d.mts +1 -1
  76. package/src/foundry/client/core/keybindings.d.mts +1 -1
  77. package/src/foundry/client/core/packages.d.mts +4 -2
  78. package/src/foundry/client/core/settings.d.mts +1 -1
  79. package/src/foundry/client/core/socket.d.mts +1 -1
  80. package/src/foundry/client/core/tooltip.d.mts +1 -1
  81. package/src/foundry/client/core/tour.d.mts +1 -1
  82. package/src/foundry/client/core/utils.d.mts +1 -1
  83. package/src/foundry/client/core/workers.d.mts +1 -1
  84. package/src/foundry/client/data/abstract/canvas-document.d.mts +9 -20
  85. package/src/foundry/client/data/abstract/client-document.d.mts +133 -71
  86. package/src/foundry/client/data/abstract/directory-collection-mixin.d.mts +2 -2
  87. package/src/foundry/client/data/abstract/document-collection.d.mts +1 -1
  88. package/src/foundry/client/data/abstract/world-collection.d.mts +8 -1
  89. package/src/foundry/client/data/collections/actors.d.mts +1 -1
  90. package/src/foundry/client/data/collections/cards.d.mts +1 -1
  91. package/src/foundry/client/data/collections/combats.d.mts +1 -1
  92. package/src/foundry/client/data/collections/compendium-collection.d.mts +5 -4
  93. package/src/foundry/client/data/collections/fog.d.mts +1 -1
  94. package/src/foundry/client/data/collections/folder.d.mts +1 -1
  95. package/src/foundry/client/data/collections/items.d.mts +1 -1
  96. package/src/foundry/client/data/collections/journal.d.mts +1 -1
  97. package/src/foundry/client/data/collections/macros.d.mts +1 -1
  98. package/src/foundry/client/data/collections/messages.d.mts +1 -1
  99. package/src/foundry/client/data/collections/playlists.d.mts +1 -1
  100. package/src/foundry/client/data/collections/scenes.d.mts +1 -1
  101. package/src/foundry/client/data/collections/settings.d.mts +1 -1
  102. package/src/foundry/client/data/collections/tables.d.mts +1 -1
  103. package/src/foundry/client/data/collections/users.d.mts +4 -4
  104. package/src/foundry/client/data/documents/active-effect.d.mts +124 -48
  105. package/src/foundry/client/data/documents/actor-delta.d.mts +53 -22
  106. package/src/foundry/client/data/documents/actor.d.mts +147 -93
  107. package/src/foundry/client/data/documents/adventure.d.mts +74 -45
  108. package/src/foundry/client/data/documents/ambient-light.d.mts +13 -10
  109. package/src/foundry/client/data/documents/ambient-sound.d.mts +12 -7
  110. package/src/foundry/client/data/documents/card.d.mts +57 -34
  111. package/src/foundry/client/data/documents/cards.d.mts +171 -135
  112. package/src/foundry/client/data/documents/chat-message.d.mts +131 -72
  113. package/src/foundry/client/data/documents/combat.d.mts +80 -60
  114. package/src/foundry/client/data/documents/combatant.d.mts +53 -20
  115. package/src/foundry/client/data/documents/drawing.d.mts +12 -7
  116. package/src/foundry/client/data/documents/fog-exploration.d.mts +57 -17
  117. package/src/foundry/client/data/documents/folder.d.mts +114 -31
  118. package/src/foundry/client/data/documents/item.d.mts +31 -21
  119. package/src/foundry/client/data/documents/journal-entry-page.d.mts +90 -57
  120. package/src/foundry/client/data/documents/journal-entry.d.mts +29 -34
  121. package/src/foundry/client/data/documents/macro.d.mts +60 -34
  122. package/src/foundry/client/data/documents/measured-template.d.mts +13 -8
  123. package/src/foundry/client/data/documents/note.d.mts +14 -7
  124. package/src/foundry/client/data/documents/playlist-sound.d.mts +29 -33
  125. package/src/foundry/client/data/documents/playlist.d.mts +74 -54
  126. package/src/foundry/client/data/documents/region-behavior.d.mts +16 -7
  127. package/src/foundry/client/data/documents/region.d.mts +53 -48
  128. package/src/foundry/client/data/documents/scene.d.mts +310 -89
  129. package/src/foundry/client/data/documents/setting.d.mts +24 -23
  130. package/src/foundry/client/data/documents/table-result.d.mts +20 -8
  131. package/src/foundry/client/data/documents/table.d.mts +19 -13
  132. package/src/foundry/client/data/documents/tile.d.mts +13 -7
  133. package/src/foundry/client/data/documents/token.d.mts +148 -117
  134. package/src/foundry/client/data/documents/user.d.mts +141 -53
  135. package/src/foundry/client/data/documents/wall.d.mts +17 -10
  136. package/src/foundry/client/game.d.mts +1 -1
  137. package/src/foundry/client/head.d.mts +1 -1
  138. package/src/foundry/client/hooks.d.mts +9 -18
  139. package/src/foundry/client/pixi/board.d.mts +3 -2
  140. package/src/foundry/client/pixi/core/containers/base-canvas-group.d.mts +1 -1
  141. package/src/foundry/client/pixi/core/containers/cached-container.d.mts +1 -1
  142. package/src/foundry/client/pixi/core/containers/full-canvas-container.d.mts +1 -1
  143. package/src/foundry/client/pixi/core/containers/point-source-mesh.d.mts +1 -1
  144. package/src/foundry/client/pixi/core/containers/quad-mesh.d.mts +1 -1
  145. package/src/foundry/client/pixi/core/containers/quadtree.d.mts +1 -1
  146. package/src/foundry/client/pixi/core/containers/sprite-mesh.d.mts +1 -1
  147. package/src/foundry/client/pixi/core/containers/unbound-container.d.mts +1 -1
  148. package/src/foundry/client/pixi/core/interaction/canvas-animation.d.mts +1 -1
  149. package/src/foundry/client/pixi/core/interaction/control-icon.d.mts +1 -1
  150. package/src/foundry/client/pixi/core/interaction/mouse-handler.d.mts +1 -1
  151. package/src/foundry/client/pixi/core/interaction/ping.d.mts +1 -1
  152. package/src/foundry/client/pixi/core/interaction/pings/pulse.d.mts +1 -1
  153. package/src/foundry/client/pixi/core/interaction/render-flags.d.mts +1 -8
  154. package/src/foundry/client/pixi/core/interaction/resize-handle.d.mts +1 -1
  155. package/src/foundry/client/pixi/core/interaction/targets.d.mts +1 -1
  156. package/src/foundry/client/pixi/core/loader.d.mts +1 -1
  157. package/src/foundry/client/pixi/core/shapes/limited-angle-polygon.d.mts +1 -1
  158. package/src/foundry/client/pixi/core/shapes/polygon-mesher.d.mts +1 -1
  159. package/src/foundry/client/pixi/core/shapes/precise-text.d.mts +1 -1
  160. package/src/foundry/client/pixi/core/shapes/ray.d.mts +1 -1
  161. package/src/foundry/client/pixi/core/shapes/source-polygon.d.mts +1 -1
  162. package/src/foundry/client/pixi/extensions/circle.d.mts +1 -1
  163. package/src/foundry/client/pixi/extensions/observable-transform.d.mts +1 -1
  164. package/src/foundry/client/pixi/extensions/polygon.d.mts +1 -1
  165. package/src/foundry/client/pixi/extensions/rectangle.d.mts +1 -1
  166. package/src/foundry/client/pixi/groups/effects.d.mts +1 -1
  167. package/src/foundry/client/pixi/groups/environment.d.mts +1 -1
  168. package/src/foundry/client/pixi/groups/hidden.d.mts +1 -1
  169. package/src/foundry/client/pixi/groups/interface.d.mts +1 -1
  170. package/src/foundry/client/pixi/groups/overlay.d.mts +1 -1
  171. package/src/foundry/client/pixi/groups/primary.d.mts +1 -1
  172. package/src/foundry/client/pixi/groups/rendered.d.mts +1 -1
  173. package/src/foundry/client/pixi/layers/base/canvas-layer.d.mts +1 -1
  174. package/src/foundry/client/pixi/layers/base/interaction-layer.d.mts +1 -1
  175. package/src/foundry/client/pixi/layers/base/placeables-layer.d.mts +1 -1
  176. package/src/foundry/client/pixi/layers/controls/cursor.d.mts +1 -1
  177. package/src/foundry/client/pixi/layers/controls/door.d.mts +1 -1
  178. package/src/foundry/client/pixi/layers/controls/layer.d.mts +1 -1
  179. package/src/foundry/client/pixi/layers/controls/ruler.d.mts +1 -1
  180. package/src/foundry/client/pixi/layers/effects/background-effects.d.mts +1 -1
  181. package/src/foundry/client/pixi/layers/effects/coloration-effects.d.mts +1 -1
  182. package/src/foundry/client/pixi/layers/effects/darkness-effects.d.mts +1 -1
  183. package/src/foundry/client/pixi/layers/effects/illumination-effects.d.mts +1 -1
  184. package/src/foundry/client/pixi/layers/effects/visibility.d.mts +1 -1
  185. package/src/foundry/client/pixi/layers/effects/weather/particles/effect.d.mts +1 -1
  186. package/src/foundry/client/pixi/layers/effects/weather/particles/leaves.d.mts +1 -1
  187. package/src/foundry/client/pixi/layers/effects/weather-effects.d.mts +1 -1
  188. package/src/foundry/client/pixi/layers/grid/highlight.d.mts +1 -1
  189. package/src/foundry/client/pixi/layers/grid/layer.d.mts +1 -1
  190. package/src/foundry/client/pixi/layers/grid/mesh.d.mts +1 -1
  191. package/src/foundry/client/pixi/layers/masks/depth.d.mts +1 -1
  192. package/src/foundry/client/pixi/layers/masks/occlusion.d.mts +1 -1
  193. package/src/foundry/client/pixi/layers/masks/vision.d.mts +1 -1
  194. package/src/foundry/client/pixi/layers/placeables/drawings.d.mts +1 -1
  195. package/src/foundry/client/pixi/layers/placeables/lighting.d.mts +1 -1
  196. package/src/foundry/client/pixi/layers/placeables/notes.d.mts +1 -1
  197. package/src/foundry/client/pixi/layers/placeables/regions.d.mts +1 -1
  198. package/src/foundry/client/pixi/layers/placeables/sounds.d.mts +1 -1
  199. package/src/foundry/client/pixi/layers/placeables/templates.d.mts +1 -1
  200. package/src/foundry/client/pixi/layers/placeables/tiles.d.mts +1 -1
  201. package/src/foundry/client/pixi/layers/placeables/tokens.d.mts +1 -1
  202. package/src/foundry/client/pixi/layers/placeables/walls.d.mts +1 -1
  203. package/src/foundry/client/pixi/perception/clockwise-sweep.d.mts +1 -1
  204. package/src/foundry/client/pixi/perception/detection-mode.d.mts +1 -1
  205. package/src/foundry/client/pixi/perception/fog.d.mts +1 -1
  206. package/src/foundry/client/pixi/perception/perception-manager.d.mts +1 -1
  207. package/src/foundry/client/pixi/perception/vision-mode.d.mts +1 -1
  208. package/src/foundry/client/pixi/perception/weiler-atherton-clipping.d.mts +1 -1
  209. package/src/foundry/client/pixi/placeable.d.mts +2 -1
  210. package/src/foundry/client/pixi/placeables/drawing.d.mts +1 -1
  211. package/src/foundry/client/pixi/placeables/light.d.mts +1 -7
  212. package/src/foundry/client/pixi/placeables/note.d.mts +1 -1
  213. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-canvas-object.d.mts +1 -1
  214. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-graphics.d.mts +1 -1
  215. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-occludable-object.d.mts +1 -1
  216. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-sprite-mesh.d.mts +1 -1
  217. package/src/foundry/client/pixi/placeables/region.d.mts +1 -1
  218. package/src/foundry/client/pixi/placeables/sound.d.mts +1 -1
  219. package/src/foundry/client/pixi/placeables/template.d.mts +1 -1
  220. package/src/foundry/client/pixi/placeables/tile.d.mts +1 -1
  221. package/src/foundry/client/pixi/placeables/token.d.mts +1 -1
  222. package/src/foundry/client/pixi/placeables/wall.d.mts +1 -1
  223. package/src/foundry/client/pixi/webgl/extensions/batch-renderer.d.mts +1 -1
  224. package/src/foundry/client/pixi/webgl/extensions/batch-shader-generator.d.mts +1 -1
  225. package/src/foundry/client/pixi/webgl/helpers/framebuffer-snapshot.d.mts +1 -1
  226. package/src/foundry/client/pixi/webgl/helpers/smooth-noise.d.mts +1 -1
  227. package/src/foundry/client/pixi/webgl/helpers/texture-extractor.d.mts +1 -1
  228. package/src/foundry/client/pixi/webgl/shaders/base-shader-mixin.d.mts +1 -1
  229. package/src/foundry/client/pixi/webgl/shaders/base-shader.d.mts +1 -1
  230. package/src/foundry/client/pixi/webgl/shaders/filters/base-filter.d.mts +1 -1
  231. package/src/foundry/client/pixi/webgl/shaders/filters/effects-masking.d.mts +1 -1
  232. package/src/foundry/client/pixi/webgl/shaders/filters/glow-overlay.d.mts +1 -1
  233. package/src/foundry/client/pixi/webgl/shaders/filters/outline-overlay.d.mts +1 -1
  234. package/src/foundry/client/pixi/webgl/shaders/filters/transition.d.mts +1 -1
  235. package/src/foundry/client/pixi/webgl/shaders/filters/visibility.d.mts +1 -1
  236. package/src/foundry/client/pixi/webgl/shaders/filters/vision-mask-filter.d.mts +1 -1
  237. package/src/foundry/client/pixi/webgl/shaders/fragment-channel-mixin.d.mts +1 -1
  238. package/src/foundry/client/pixi/webgl/shaders/grid/grid.d.mts +1 -1
  239. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/fairy-light.d.mts +1 -1
  240. package/src/foundry/client/pixi/webgl/shaders/samplers/base-sampler.d.mts +1 -1
  241. package/src/foundry/client/pixi/webgl/shaders/samplers/token-ring.d.mts +1 -1
  242. package/src/foundry/client/pixi/webgl/shaders/weather/base-weather.d.mts +1 -1
  243. package/src/foundry/client/pixi/webgl/shaders/weather/effect.d.mts +1 -1
  244. package/src/foundry/client/pixi/workers/texture-worker.d.mts +1 -1
  245. package/src/foundry/client/ui/context.d.mts +1 -1
  246. package/src/foundry/client/ui/dialog.d.mts +1 -1
  247. package/src/foundry/client/ui/dragdrop.d.mts +1 -1
  248. package/src/foundry/client/ui/editor.d.mts +1 -1
  249. package/src/foundry/client/ui/filepicker.d.mts +1 -1
  250. package/src/foundry/client/ui/filter.d.mts +1 -1
  251. package/src/foundry/client-esm/applications/api/application.d.mts +1 -9
  252. package/src/foundry/client-esm/applications/api/dialog.d.mts +1 -1
  253. package/src/foundry/client-esm/applications/api/document-sheet.d.mts +1 -1
  254. package/src/foundry/client-esm/applications/api/handlebars-application.d.mts +1 -1
  255. package/src/foundry/client-esm/applications/apps/compendium-art-config.d.mts +1 -1
  256. package/src/foundry/client-esm/applications/apps/permission-config.d.mts +1 -1
  257. package/src/foundry/client-esm/applications/dice/roll-resolver.d.mts +1 -1
  258. package/src/foundry/client-esm/applications/forms/fields.d.mts +1 -1
  259. package/src/foundry/client-esm/applications/sheets/actor-sheet.d.mts +1 -1
  260. package/src/foundry/client-esm/applications/sheets/ambient-light-config.d.mts +1 -1
  261. package/src/foundry/client-esm/applications/sheets/ambient-sound-config.d.mts +1 -1
  262. package/src/foundry/client-esm/applications/sheets/item-sheet.d.mts +1 -1
  263. package/src/foundry/client-esm/applications/sheets/region-behavior-config.d.mts +1 -1
  264. package/src/foundry/client-esm/applications/sheets/region-config.d.mts +1 -1
  265. package/src/foundry/client-esm/applications/sheets/user-config.d.mts +1 -1
  266. package/src/foundry/client-esm/applications/ui/region-legend.d.mts +1 -1
  267. package/src/foundry/client-esm/audio/biquad.d.mts +1 -1
  268. package/src/foundry/client-esm/audio/convolver.d.mts +1 -1
  269. package/src/foundry/client-esm/audio/helper.d.mts +1 -1
  270. package/src/foundry/client-esm/audio/sound.d.mts +2 -2
  271. package/src/foundry/client-esm/canvas/edges/collision.d.mts +1 -1
  272. package/src/foundry/client-esm/canvas/edges/edge.d.mts +1 -1
  273. package/src/foundry/client-esm/canvas/edges/vertex.d.mts +1 -1
  274. package/src/foundry/client-esm/canvas/scene-manager.d.mts +1 -1
  275. package/src/foundry/client-esm/canvas/smaa/smaa.d.mts +1 -1
  276. package/src/foundry/client-esm/canvas/sources/base-effect-source.d.mts +1 -1
  277. package/src/foundry/client-esm/canvas/sources/base-light-source.d.mts +1 -1
  278. package/src/foundry/client-esm/canvas/sources/global-light-source.d.mts +1 -1
  279. package/src/foundry/client-esm/canvas/sources/point-darkness-source.d.mts +1 -1
  280. package/src/foundry/client-esm/canvas/sources/point-effect-source.d.mts +1 -1
  281. package/src/foundry/client-esm/canvas/sources/point-light-source.d.mts +1 -1
  282. package/src/foundry/client-esm/canvas/sources/point-sound-source.d.mts +1 -1
  283. package/src/foundry/client-esm/canvas/sources/point-vision-source.d.mts +1 -1
  284. package/src/foundry/client-esm/canvas/sources/rendered-effect-source.d.mts +1 -1
  285. package/src/foundry/client-esm/canvas/tokens/ring-data.d.mts +3 -2
  286. package/src/foundry/client-esm/canvas/tokens/ring.d.mts +1 -1
  287. package/src/foundry/client-esm/data/client-backend.d.mts +1 -1
  288. package/src/foundry/client-esm/data/region-behaviors/adjust-darkness-level.d.mts +4 -5
  289. package/src/foundry/client-esm/data/region-behaviors/base.d.mts +1 -1
  290. package/src/foundry/client-esm/data/region-behaviors/display-scrolling-text.d.mts +1 -1
  291. package/src/foundry/client-esm/data/region-behaviors/toggle-behavior.d.mts +4 -4
  292. package/src/foundry/client-esm/dice/roll.d.mts +5 -8
  293. package/src/foundry/client-esm/dice/terms/coin.d.mts +1 -1
  294. package/src/foundry/client-esm/dice/terms/dice.d.mts +1 -1
  295. package/src/foundry/client-esm/dice/terms/die.d.mts +1 -1
  296. package/src/foundry/client-esm/dice/terms/fate.d.mts +1 -1
  297. package/src/foundry/client-esm/dice/terms/function.d.mts +1 -1
  298. package/src/foundry/client-esm/dice/terms/numeric.d.mts +1 -1
  299. package/src/foundry/client-esm/dice/terms/operator.d.mts +1 -1
  300. package/src/foundry/client-esm/dice/terms/parenthetical.d.mts +1 -1
  301. package/src/foundry/client-esm/dice/terms/pool.d.mts +1 -1
  302. package/src/foundry/client-esm/dice/terms/string.d.mts +1 -1
  303. package/src/foundry/client-esm/dice/terms/term.d.mts +1 -1
  304. package/src/foundry/common/abstract/backend.d.mts +1 -1
  305. package/src/foundry/common/abstract/data.d.mts +197 -146
  306. package/src/foundry/common/abstract/document.d.mts +198 -81
  307. package/src/foundry/common/abstract/embedded-collection-delta.d.mts +1 -1
  308. package/src/foundry/common/abstract/embedded-collection.d.mts +1 -1
  309. package/src/foundry/common/abstract/socket.d.mts +1 -1
  310. package/src/foundry/common/abstract/type-data.d.mts +4 -1
  311. package/src/foundry/common/config.d.mts +7 -1
  312. package/src/foundry/common/constants.d.mts +1 -1
  313. package/src/foundry/common/data/data.d.mts +42 -12
  314. package/src/foundry/common/data/fields.d.mts +656 -252
  315. package/src/foundry/common/documents/_types.d.mts +0 -6
  316. package/src/foundry/common/documents/active-effect.d.mts +116 -53
  317. package/src/foundry/common/documents/actor-delta.d.mts +139 -58
  318. package/src/foundry/common/documents/actor.d.mts +105 -51
  319. package/src/foundry/common/documents/adventure.d.mts +84 -39
  320. package/src/foundry/common/documents/ambient-light.d.mts +66 -38
  321. package/src/foundry/common/documents/ambient-sound.d.mts +66 -38
  322. package/src/foundry/common/documents/card.d.mts +100 -59
  323. package/src/foundry/common/documents/cards.d.mts +97 -42
  324. package/src/foundry/common/documents/chat-message.d.mts +105 -52
  325. package/src/foundry/common/documents/combat.d.mts +101 -48
  326. package/src/foundry/common/documents/combatant.d.mts +94 -50
  327. package/src/foundry/common/documents/drawing.d.mts +87 -46
  328. package/src/foundry/common/documents/fog-exploration.d.mts +87 -41
  329. package/src/foundry/common/documents/folder.d.mts +100 -46
  330. package/src/foundry/common/documents/item.d.mts +116 -45
  331. package/src/foundry/common/documents/journal-entry-page.d.mts +90 -40
  332. package/src/foundry/common/documents/journal-entry.d.mts +90 -39
  333. package/src/foundry/common/documents/macro.d.mts +116 -52
  334. package/src/foundry/common/documents/measured-template.d.mts +80 -44
  335. package/src/foundry/common/documents/note.d.mts +75 -39
  336. package/src/foundry/common/documents/playlist-sound.d.mts +88 -47
  337. package/src/foundry/common/documents/playlist.d.mts +101 -50
  338. package/src/foundry/common/documents/region-behavior.d.mts +71 -40
  339. package/src/foundry/common/documents/region.d.mts +68 -40
  340. package/src/foundry/common/documents/roll-table.d.mts +43 -9
  341. package/src/foundry/common/documents/scene.d.mts +190 -43
  342. package/src/foundry/common/documents/setting.d.mts +98 -42
  343. package/src/foundry/common/documents/table-result.d.mts +98 -48
  344. package/src/foundry/common/documents/tile.d.mts +77 -43
  345. package/src/foundry/common/documents/token.d.mts +95 -52
  346. package/src/foundry/common/documents/user.d.mts +100 -89
  347. package/src/foundry/common/documents/wall.d.mts +47 -17
  348. package/src/foundry/common/grid/base.d.mts +1 -1
  349. package/src/foundry/common/grid/gridless.d.mts +1 -1
  350. package/src/foundry/common/grid/hexagonal.d.mts +1 -1
  351. package/src/foundry/common/grid/square.d.mts +1 -1
  352. package/src/foundry/common/packages/base-package.d.mts +37 -14
  353. package/src/foundry/common/packages/base-system.d.mts +39 -0
  354. package/src/foundry/common/packages/base-world.d.mts +8 -1
  355. package/src/foundry/common/packages/sub-types.d.mts +3 -5
  356. package/src/foundry/common/primitives/array.d.mts +1 -1
  357. package/src/foundry/common/primitives/string.d.mts +1 -1
  358. package/src/foundry/common/prosemirror/dirty-plugin.d.mts +1 -1
  359. package/src/foundry/common/prosemirror/dom-parser.d.mts +1 -1
  360. package/src/foundry/common/prosemirror/highlight-matches-plugin.d.mts +1 -1
  361. package/src/foundry/common/prosemirror/image-plugin.d.mts +1 -1
  362. package/src/foundry/common/prosemirror/paste-transformer.d.mts +1 -1
  363. package/src/foundry/common/prosemirror/plugin.d.mts +1 -1
  364. package/src/foundry/common/types.d.mts +1 -1
  365. package/src/foundry/common/utils/bitmask.d.mts +1 -1
  366. package/src/foundry/common/utils/collection.d.mts +1 -1
  367. package/src/foundry/common/utils/event-emitter.d.mts +1 -1
  368. package/src/foundry/common/utils/helpers.d.mts +1 -1
  369. package/src/foundry/public/scripts/clipper/clipper.d.mts +1 -1
  370. package/src/types/augments/particles.d.mts +1 -1
  371. package/src/types/augments/pixi.d.mts +1 -1
  372. package/src/types/augments/smooth.d.mts +1 -1
  373. package/src/types/augments/tinyMCE.d.mts +1 -1
  374. package/src/types/config.d.mts +2 -5
  375. package/src/types/documentConfiguration.d.mts +1 -1
  376. package/src/types/lib.d.mts +1 -1
  377. package/src/types/workers/image-compressor.d.mts +1 -1
@@ -1,4 +1,4 @@
1
- import type { FixedInstanceType, Identity } from "fvtt-types/utils";
1
+ import type { FixedInstanceType, Identity } from "#utils";
2
2
 
3
3
  declare global {
4
4
  class VisionMaskFilter extends AbstractBaseMaskFilter {
@@ -1,4 +1,4 @@
1
- import type { AnyObject, FixedInstanceType, Mixin, ShapeWithIndexSignature } from "fvtt-types/utils";
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, NullishProps } from "fvtt-types/utils";
1
+ import type { Identity, NullishProps } from "#utils";
2
2
 
3
3
  declare global {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { Identity } from "fvtt-types/utils";
1
+ import type { Identity } from "#utils";
2
2
 
3
3
  declare global {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { Identity, InexactPartial, Mixin } from "fvtt-types/utils";
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,4 +1,4 @@
1
- import type { Identity, NullishProps } from "fvtt-types/utils";
1
+ import type { Identity, NullishProps } from "#utils";
2
2
  import type TokenRing from "../../../../../client-esm/canvas/tokens/ring.d.mts";
3
3
 
4
4
  declare global {
@@ -1,4 +1,4 @@
1
- import type { RemoveIndexSignatures, FixedInstanceType, Identity } from "fvtt-types/utils";
1
+ import type { RemoveIndexSignatures, FixedInstanceType, Identity } from "#utils";
2
2
 
3
3
  type AbstractBaseShaderClass = typeof AbstractBaseShader;
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Identity, IntentionalPartial } from "fvtt-types/utils";
1
+ import type { Identity, IntentionalPartial } from "#utils";
2
2
 
3
3
  declare global {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { Identity, NullishProps } from "fvtt-types/utils";
1
+ import type { Identity, NullishProps } from "#utils";
2
2
  import type {
3
3
  _ProcessBufferToBase64Options,
4
4
  Debug,
@@ -1,4 +1,4 @@
1
- import type { InexactPartial } from "fvtt-types/utils";
1
+ import type { InexactPartial } from "#utils";
2
2
  import type ApplicationV2 from "../../client-esm/applications/api/application.d.mts";
3
3
 
4
4
  declare global {
@@ -1,4 +1,4 @@
1
- import type { MaybePromise } from "fvtt-types/utils";
1
+ import type { MaybePromise } from "#utils";
2
2
 
3
3
  declare global {
4
4
  /** @deprecated {@link Dialog.Options | `Dialog.Options`} */
@@ -1,4 +1,4 @@
1
- import type { InexactPartial } from "fvtt-types/utils";
1
+ import type { InexactPartial } from "#utils";
2
2
 
3
3
  declare global {
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import type { EditorView } from "prosemirror-view";
2
- import type { AnyObject, JSONValue, MaybePromise } from "fvtt-types/utils";
2
+ import type { AnyObject, JSONValue, MaybePromise } from "#utils";
3
3
 
4
4
  declare global {
5
5
  /**
@@ -1,4 +1,4 @@
1
- import type { EmptyObject, MaybePromise, ValueOf } from "fvtt-types/utils";
1
+ import type { EmptyObject, MaybePromise, ValueOf } from "#utils";
2
2
 
3
3
  declare global {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { ValueOf } from "fvtt-types/utils";
1
+ import type { ValueOf } from "#utils";
2
2
 
3
3
  declare global {
4
4
  /**
@@ -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 { AnyFunction, DeepPartial, EmptyObject, MaybePromise } from "fvtt-types/utils";
1
+ import type { AnyFunction, DeepPartial, EmptyObject, MaybePromise } from "#utils";
2
2
  import type ApplicationV2 from "./application.d.mts";
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { AnyObject, Brand, DeepPartial, EmptyObject, Identity } from "fvtt-types/utils";
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 { DeepPartial, FixedInstanceType, Mixin } from "fvtt-types/utils";
1
+ import type { DeepPartial, FixedInstanceType, Mixin } from "#utils";
2
2
  import type ApplicationV2 from "./application.d.mts";
3
3
  import type DocumentSheetV2 from "./document-sheet.d.mts";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { ConformRecord, InterfaceToObject, MustConform, DeepPartial } from "fvtt-types/utils";
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 "fvtt-types/utils";
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 "fvtt-types/utils";
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 { NullishProps } from "fvtt-types/utils";
1
+ import type { NullishProps } from "#utils";
2
2
 
3
3
  export type CustomFormGroup = (
4
4
  field: foundry.data.fields.DataField,
@@ -1,4 +1,4 @@
1
- import type { AnyObject, EmptyObject } from "fvtt-types/utils";
1
+ import type { AnyObject, EmptyObject } 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
 
@@ -1,4 +1,4 @@
1
- import type { InterfaceToObject, AnyObject, DeepPartial } from "fvtt-types/utils";
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 "fvtt-types/utils";
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, EmptyObject } from "fvtt-types/utils";
1
+ import type { AnyObject, EmptyObject } from "#utils";
2
2
  import type DocumentSheetV2 from "../api/document-sheet.d.mts";
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { AnyObject, DeepPartial, EmptyObject } from "fvtt-types/utils";
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 "fvtt-types/utils";
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 "fvtt-types/utils";
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 "fvtt-types/utils";
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,4 +1,4 @@
1
- import type { Identity, InexactPartial, NullishProps } from "fvtt-types/utils";
1
+ import type { Identity, InexactPartial, NullishProps } from "#utils";
2
2
 
3
3
  /**
4
4
  * A sound effect which applies a biquad filter.
@@ -1,4 +1,4 @@
1
- import type { Identity, InexactPartial, NullishProps } from "fvtt-types/utils";
1
+ import type { Identity, InexactPartial, NullishProps } from "#utils";
2
2
 
3
3
  declare namespace ConvolverEffect {}
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 "fvtt-types/utils";
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 "fvtt-types/utils";
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` (`0`)
79
+ * @defaultValue `Sound.STATES.NONE`
80
80
  */
81
81
  protected _state: Sound.STATES;
82
82
 
@@ -1,4 +1,4 @@
1
- import type { Identity, NullishProps } from "fvtt-types/utils";
1
+ import type { Identity, NullishProps } from "#utils";
2
2
  import type Edge from "./edge.d.mts";
3
3
  import type PolygonVertex from "./vertex.d.mts";
4
4
 
@@ -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 "fvtt-types/utils";
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 { Identity, NullishProps } from "fvtt-types/utils";
1
+ import type { Identity, NullishProps } from "#utils";
2
2
  import type Edge from "./edge.d.mts";
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { AnyFunction, Identity } from "fvtt-types/utils";
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 { Brand, InexactPartial } from "fvtt-types/utils";
1
+ import type { Brand, InexactPartial } from "#utils";
2
2
 
3
3
  declare class SMAAFilter extends PIXI.Filter {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { NullishProps, IntentionalPartial, AnyObject, Identity } from "fvtt-types/utils";
1
+ import type { NullishProps, IntentionalPartial, AnyObject, Identity } from "#utils";
2
2
 
3
3
  /**
4
4
  * TODO - Re-document after ESM refactor.
@@ -1,4 +1,4 @@
1
- import type { Identity, IntentionalPartial, NullishProps } from "fvtt-types/utils";
1
+ import type { Identity, IntentionalPartial, NullishProps } from "#utils";
2
2
  import type RenderedEffectSource from "./rendered-effect-source.d.mts";
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { FixedInstanceType, Identity } from "fvtt-types/utils";
1
+ import type { FixedInstanceType, Identity } from "#utils";
2
2
  import type BaseLightSource from "./base-light-source.d.mts";
3
3
  import type RenderedEffectSource from "./rendered-effect-source.d.mts";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { AnyObject, FixedInstanceType, Identity, IntentionalPartial, RequiredProps } from "fvtt-types/utils";
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 "fvtt-types/utils";
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 "fvtt-types/utils";
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 "fvtt-types/utils";
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 "fvtt-types/utils";
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 "fvtt-types/utils";
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 "fvtt-types/utils";
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
- override getInitialValue(data: DataField.CleanOptions["source"]): InitializedType;
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,4 +1,4 @@
1
- import type { Brand, FixedInstanceType, Identity, InitializedOn } from "fvtt-types/utils";
1
+ import type { Brand, FixedInstanceType, Identity, InitializedOn } from "#utils";
2
2
  import type DynamicRingData from "./ring-data.d.mts";
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { FixedInstanceType, LoggingLevels } from "fvtt-types/utils";
1
+ import type { FixedInstanceType, LoggingLevels } from "#utils";
2
2
  import type Document from "../../common/abstract/document.d.mts";
3
3
  import type {
4
4
  DatabaseGetOperation,
@@ -1,5 +1,5 @@
1
1
  import type RegionBehaviorType from "./base.d.mts";
2
- import type { Brand } from "fvtt-types/utils";
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
- * @privateRemarks _onUpdate is overridden but without signature changes.
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;
@@ -1,5 +1,5 @@
1
1
  import type TypeDataModel from "../../../common/abstract/type-data.d.mts";
2
- import type { AnyObject, EmptyObject } from "fvtt-types/utils";
2
+ import type { AnyObject, EmptyObject } from "#utils";
3
3
 
4
4
  import fields = foundry.data.fields;
5
5
 
@@ -1,5 +1,5 @@
1
1
  import type RegionBehaviorType from "./base.d.mts";
2
- import type { Brand } from "fvtt-types/utils";
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
 
@@ -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
- * @privateRemarks validateJoint is overridden but without signature changes.
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 { Identity, InexactPartial } from "fvtt-types/utils";
1
+ import type { Identity, InexactPartial } from "#utils";
2
2
  import type DiceTerm from "./dice.d.mts";
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { InexactPartial, FixedInstanceType, Identity } from "fvtt-types/utils";
1
+ import type { InexactPartial, FixedInstanceType, Identity } from "#utils";
2
2
  import type { DiceRollParseNode } from "../_types.d.mts";
3
3
 
4
4
  import type RollTerm from "./term.d.mts";
@@ -1,4 +1,4 @@
1
- import type { Identity, InexactPartial } from "fvtt-types/utils";
1
+ import type { Identity, InexactPartial } from "#utils";
2
2
 
3
3
  import type DiceTerm from "./dice.d.mts";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Identity, InexactPartial } from "fvtt-types/utils";
1
+ import type { Identity, InexactPartial } from "#utils";
2
2
 
3
3
  import type DiceTerm from "./dice.d.mts";
4
4
  import type Die from "./die.d.mts";
@@ -1,4 +1,4 @@
1
- import type { InexactPartial, FixedInstanceType } from "fvtt-types/utils";
1
+ import type { InexactPartial, FixedInstanceType } from "#utils";
2
2
  import type { FunctionRollParseNode } from "../_types.d.mts";
3
3
 
4
4
  import type RollTerm from "./term.d.mts";
@@ -1,4 +1,4 @@
1
- import type { InexactPartial } from "fvtt-types/utils";
1
+ import type { InexactPartial } from "#utils";
2
2
  import type RollTerm from "./term.d.mts";
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { InexactPartial } from "fvtt-types/utils";
1
+ import type { InexactPartial } from "#utils";
2
2
 
3
3
  import type RollTerm from "./term.d.mts";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { InexactPartial } from "fvtt-types/utils";
1
+ import type { InexactPartial } from "#utils";
2
2
  import type { ParentheticalRollParseNode } from "../_types.d.mts";
3
3
 
4
4
  import type RollTerm from "./term.d.mts";
@@ -1,4 +1,4 @@
1
- import type { InexactPartial, FixedInstanceType, Identity } from "fvtt-types/utils";
1
+ import type { InexactPartial, FixedInstanceType, Identity } from "#utils";
2
2
  import type { PoolRollParseNode } from "../_types.d.mts";
3
3
 
4
4
  import type RollTerm from "./term.d.mts";
@@ -1,4 +1,4 @@
1
- import type { InexactPartial } from "fvtt-types/utils";
1
+ import type { InexactPartial } from "#utils";
2
2
  import type RollTerm from "./term.d.mts";
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { InexactPartial, FixedInstanceType, Identity } from "fvtt-types/utils";
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";
@@ -1,4 +1,4 @@
1
- import type { InexactPartial, FixedInstanceType, LoggingLevels } from "fvtt-types/utils";
1
+ import type { InexactPartial, FixedInstanceType, LoggingLevels } from "#utils";
2
2
  import type Document from "./document.d.mts";
3
3
  import type {
4
4
  DatabaseCreateOperation,