@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 { AnyObject } from "../../../utils/index.d.mts";
1
+ import type { AnyMutableObject } from "#utils";
2
2
  import type DataModel from "../abstract/data.d.mts";
3
3
  import type Document from "../abstract/document.mts";
4
4
  import type { DataField, SchemaField } from "../data/fields.d.mts";
@@ -61,23 +61,23 @@ declare class BaseWall extends Document<WallDocument.Name, BaseWall.Schema, any>
61
61
  // Same as Document for now
62
62
  protected static override _initializationOrder(): Generator<[string, DataField.Any]>;
63
63
 
64
- readonly parentCollection: WallDocument.ParentCollectionName | null;
64
+ override readonly parentCollection: WallDocument.ParentCollectionName | null;
65
65
 
66
- readonly pack: string | null;
66
+ override readonly pack: string | null;
67
67
 
68
68
  static override get implementation(): WallDocument.ImplementationClass;
69
69
 
70
- static get baseDocument(): typeof BaseWall;
70
+ static override get baseDocument(): typeof BaseWall;
71
71
 
72
- static get collectionName(): WallDocument.ParentCollectionName;
72
+ static override get collectionName(): WallDocument.ParentCollectionName;
73
73
 
74
- static get documentName(): WallDocument.Name;
74
+ static override get documentName(): WallDocument.Name;
75
75
 
76
- static get TYPES(): CONST.BASE_DOCUMENT_TYPE[];
76
+ static override get TYPES(): CONST.BASE_DOCUMENT_TYPE[];
77
77
 
78
- static get hasTypeData(): undefined;
78
+ static override get hasTypeData(): undefined;
79
79
 
80
- static get hierarchy(): WallDocument.Hierarchy;
80
+ static override get hierarchy(): WallDocument.Hierarchy;
81
81
 
82
82
  override parent: WallDocument.Parent;
83
83
 
@@ -201,35 +201,62 @@ declare class BaseWall extends Document<WallDocument.Name, BaseWall.Schema, any>
201
201
  user: User.Implementation,
202
202
  ): Promise<void>;
203
203
 
204
- static get hasSystemData(): undefined;
204
+ static override get hasSystemData(): undefined;
205
205
 
206
206
  // These data field things have been ticketed but will probably go into backlog hell for a while.
207
207
  // We'll end up copy and pasting without modification for now I think. It makes it a tiny bit easier to update though.
208
- protected static _addDataFieldShims(data: AnyObject, shims: AnyObject, options?: Document.DataFieldShimOptions): void;
209
208
 
210
- protected static _addDataFieldMigration(
211
- data: AnyObject,
209
+ // options: not null (parameter default only in _addDataFieldShim)
210
+ protected static override _addDataFieldShims(
211
+ data: AnyMutableObject,
212
+ shims: Record<string, string>,
213
+ options?: Document.DataFieldShimOptions,
214
+ ): void;
215
+
216
+ // options: not null (parameter default only)
217
+ protected static override _addDataFieldShim(
218
+ data: AnyMutableObject,
212
219
  oldKey: string,
213
220
  newKey: string,
214
- apply?: (data: AnyObject) => unknown,
215
- ): unknown;
221
+ options?: Document.DataFieldShimOptions,
222
+ ): void;
216
223
 
217
- protected static _logDataFieldMigration(
224
+ protected static override _addDataFieldMigration(
225
+ data: AnyMutableObject,
226
+ oldKey: string,
227
+ newKey: string,
228
+ apply?: ((data: AnyMutableObject) => unknown) | null,
229
+ ): boolean;
230
+
231
+ // options: not null (destructured where forwarded)
232
+ protected static override _logDataFieldMigration(
218
233
  oldKey: string,
219
234
  newKey: string,
220
235
  options?: LogCompatibilityWarningOptions,
221
236
  ): void;
222
237
 
238
+ /**
239
+ * @deprecated since v12, will be removed in v14
240
+ * @remarks "The `Document._onCreateDocuments` static method is deprecated in favor of {@link Document._onCreateOperation | `Document._onCreateOperation`}"
241
+ */
223
242
  protected static override _onCreateDocuments(
224
243
  documents: WallDocument.Implementation[],
225
244
  context: WallDocument.Database.OnCreateDocumentsContext,
226
245
  ): Promise<void>;
227
246
 
247
+ /**
248
+ * @deprecated since v12, will be removed in v14
249
+ * @remarks "The `Document._onUpdateDocuments` static method is deprecated in favor of {@link Document._onUpdateOperation | `Document._onUpdateOperation`}"
250
+ */
228
251
  protected static override _onUpdateDocuments(
229
252
  documents: WallDocument.Implementation[],
230
253
  context: WallDocument.Database.OnUpdateDocumentsContext,
231
254
  ): Promise<void>;
232
255
 
256
+ /**
257
+ * @deprecated since v12, will be removed in v14
258
+ * @remarks "The `Document._onDeleteDocuments` static method is deprecated in favor of {@link Document._onDeleteOperation | `Document._onDeleteOperation`}"
259
+ */
233
260
  protected static override _onDeleteDocuments(
234
261
  documents: WallDocument.Implementation[],
235
262
  context: WallDocument.Database.OnDeleteDocumentsContext,
@@ -243,12 +270,15 @@ declare class BaseWall extends Document<WallDocument.Name, BaseWall.Schema, any>
243
270
 
244
271
  static override validateJoint(data: WallDocument.Source): void;
245
272
 
273
+ // options: not null (parameter default only, destructured in super)
246
274
  static override fromSource(
247
275
  source: WallDocument.CreateData,
248
- { strict, ...context }?: DataModel.FromSourceOptions,
276
+ context?: DataModel.FromSourceOptions,
249
277
  ): WallDocument.Implementation;
250
278
 
251
279
  static override fromJSON(json: string): WallDocument.Implementation;
280
+
281
+ static #BaseWall: true;
252
282
  }
253
283
 
254
284
  export default BaseWall;
@@ -1,4 +1,4 @@
1
- import type { AnyObject, EmptyObject, InexactPartial, Identity } from "fvtt-types/utils";
1
+ import type { AnyObject, EmptyObject, InexactPartial, Identity } from "#utils";
2
2
 
3
3
  /**
4
4
  * The base grid class.
@@ -1,6 +1,6 @@
1
1
  import type BaseGrid from "./base.d.mts";
2
2
 
3
- import type { InexactPartial } from "fvtt-types/utils";
3
+ import type { InexactPartial } from "#utils";
4
4
 
5
5
  declare class Gridless extends BaseGrid {
6
6
  override type: typeof CONST.GRID_TYPES.GRIDLESS;
@@ -1,6 +1,6 @@
1
1
  import type BaseGrid from "./base.d.mts";
2
2
 
3
- import type { InexactPartial } from "fvtt-types/utils";
3
+ import type { InexactPartial } from "#utils";
4
4
 
5
5
  declare class HexagonalGrid extends BaseGrid {
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import type BaseGrid from "./base.d.mts";
2
2
 
3
- import type { InexactPartial } from "fvtt-types/utils";
3
+ import type { InexactPartial } from "#utils";
4
4
 
5
5
  declare class SquareGrid extends BaseGrid {
6
6
  /**
@@ -1,4 +1,4 @@
1
- import type { GetKey, AnyObject, InexactPartial, AnyMutableObject, Identity, AnyArray } from "fvtt-types/utils";
1
+ import type { GetKey, AnyObject, InexactPartial, AnyMutableObject, Identity, AnyArray, NullishProps } from "#utils";
2
2
  import type DataModel from "../abstract/data.d.mts";
3
3
  import type { ReleaseData } from "../config.d.mts";
4
4
  import type * as fields from "../data/fields.d.mts";
@@ -381,9 +381,22 @@ declare namespace BasePackage {
381
381
  hasStorage: boolean;
382
382
  }
383
383
 
384
- interface LogOptions extends InexactPartial<LogCompatibilityWarningOptions> {
384
+ /** @internal */
385
+ type _Installed = NullishProps<{
385
386
  /** Is the package installed? */
386
- installed?: unknown;
387
+ installed: boolean;
388
+ }>;
389
+
390
+ interface LogOptions extends _Installed, InexactPartial<LogCompatibilityWarningOptions> {}
391
+
392
+ interface MigrateDataOptions extends _Installed {}
393
+
394
+ interface CleanDataOptions extends fields.DataField.CleanOptions {
395
+ /**
396
+ * Is the package installed?
397
+ * @remarks Only used to pass on to {@link BasePackage._logWarning | `BasePackage#_logWarning`}
398
+ */
399
+ installed?: boolean | null | undefined;
387
400
  }
388
401
  }
389
402
 
@@ -401,7 +414,7 @@ export class PackageRelationships extends fields.SchemaField<BasePackage.Package
401
414
  constructor(options: fields.SchemaField.Options<BasePackage.PackageRelationshipsSchema>);
402
415
  }
403
416
 
404
- // ommitted private class PackageRelationshipField
417
+ // omitted private class PackageRelationshipField
405
418
 
406
419
  /**
407
420
  * A custom SchemaField for defining a related Package.
@@ -454,9 +467,10 @@ export class CompendiumOwnershipField extends fields.ObjectField<
454
467
  validationError: string;
455
468
  };
456
469
 
470
+ /** @remarks `options` is unused in `CompendiumOwnershipField` */
457
471
  protected override _validateType(
458
472
  value: Record<keyof typeof foundry.CONST.USER_ROLES, keyof typeof foundry.CONST.DOCUMENT_OWNERSHIP_LEVELS>,
459
- options?: any,
473
+ options?: fields.DataField.ValidateOptions<this> | null,
460
474
  ): boolean | void;
461
475
  }
462
476
 
@@ -471,23 +485,25 @@ export class PackageCompendiumPacks<
471
485
  options?: fields.DataField.CleanOptions,
472
486
  ): Set<fields.ArrayField.InitializedElementType<ElementFieldType>>;
473
487
 
488
+ // options: not null (parameter default only)
474
489
  override initialize(
475
490
  value: fields.ArrayField.PersistedElementType<ElementFieldType>[],
476
491
  // In Foundry itself, this field is only used in `BasePackage`, however it should be able to accept any model.
477
492
  // NOTE(LukeAbby): This also has been seen in a circularity `Type of property 'packs' circularly references itself in mapped type ...`.
478
493
  model: DataModel.Any,
494
+ options?: fields.DataField.InitializeOptions,
479
495
  ):
480
496
  | Set<fields.ArrayField.InitializedElementType<ElementFieldType>>
481
497
  | (() => Set<fields.ArrayField.InitializedElementType<ElementFieldType>> | null);
482
498
 
483
499
  protected override _validateElements(
484
500
  value: AnyArray,
485
- options?: fields.DataField.ValidationOptions<fields.DataField.Any>,
501
+ options?: fields.DataField.ValidateOptions<fields.DataField.Any>,
486
502
  ): void | DataModelValidationFailure;
487
503
 
488
504
  protected override _validateElement(
489
505
  value: unknown,
490
- options: fields.DataField.ValidationOptions<fields.DataField.Any>,
506
+ options: fields.DataField.ValidateOptions<fields.DataField.Any>,
491
507
  ): void | DataModelValidationFailure;
492
508
  }
493
509
 
@@ -605,7 +621,7 @@ declare class BasePackage<
605
621
  */
606
622
  static testDependencyCompatibility(compatibility: PackageCompatibility, dependency: BasePackage): boolean;
607
623
 
608
- static cleanData(source?: AnyObject, options?: fields.DataField.CleanOptions): AnyObject;
624
+ static cleanData(source?: AnyObject, options?: BasePackage.CleanDataOptions): AnyMutableObject;
609
625
 
610
626
  /**
611
627
  * Validate that a Package ID is allowed.
@@ -627,12 +643,19 @@ declare class BasePackage<
627
643
  */
628
644
  static migratedKeys: Set<string>;
629
645
 
630
- static migrateData(
631
- data: AnyMutableObject,
632
- logOptions?: InexactPartial<{
633
- installed: boolean;
634
- }>,
635
- ): AnyMutableObject;
646
+ /**
647
+ * @remarks
648
+ * Migrations:
649
+ * - `name` to `id`, both at root and for any `dependencies` (since v10 until v13)
650
+ * - `dependencies` to `relationships` (structural change) (since v10 until v13)
651
+ * - `minimumCoreVersion` and `compatibleCoreVersion` to `compatibility.minimum` and `.verified`, respectively (since v10 until v13)
652
+ * - Inside `media` entries, `link` to `url` (since v11 until v13)
653
+ * - Inside `packs` entries:
654
+ * - `private` to an `ownership` object with `{PLAYER: "LIMITED", ASSISTANT: "OWNER"}` (since v11 until v13)
655
+ * - Slugifies the `name` if not already a valid slug (since v12, until v14)
656
+ * - `entity` to `type` (since v9, no specified end)
657
+ */
658
+ static override migrateData(data: AnyMutableObject, options?: BasePackage.MigrateDataOptions): AnyMutableObject;
636
659
 
637
660
  protected static _migrateNameToId(data: AnyObject, logOptions: BasePackage.LogOptions): void;
638
661
 
@@ -1,3 +1,5 @@
1
+ import type { AnyMutableObject } from "../../../utils/index.d.mts";
2
+ import type DataModel from "../abstract/data.d.mts";
1
3
  import type BasePackage from "./base-package.d.mts";
2
4
 
3
5
  declare namespace BaseSystem {
@@ -28,6 +30,43 @@ declare class BaseSystem extends BasePackage<BaseSystem.Schema> {
28
30
  * Does the system template request strict type checking of data compared to template.json inferred types.
29
31
  */
30
32
  strictDataCleaning: boolean;
33
+
34
+ /**
35
+ * @deprecated since v12, until v14
36
+ * @remarks "You are accessing `BaseSystem#gridDistance` which has been migrated to {@link BaseSystem.grid | `BaseSystem#grid`}`#distance`"
37
+ */
38
+ get gridDistance(): number;
39
+
40
+ set gridDistance(number);
41
+
42
+ /**
43
+ * @deprecated since v12, until v14
44
+ * @remarks "You are accessing `BaseSystem#gridUnits` which has been migrated to {@link BaseSystem.grid | `BaseSystem#grid`}`#units`"
45
+ */
46
+ get gridUnits(): number;
47
+
48
+ set gridUnits(number);
49
+
50
+ /** @remarks Adds `gridDistance` and `gridUnits` to super's */
51
+ static override migratedKeys: Set<string>;
52
+
53
+ /**
54
+ * @remarks
55
+ * Migrations:
56
+ * - {@link BasePackage.migrateData | `BasePackage`}'s
57
+ * - `gridDistance` to `grid.distance` (since v12, until v14)
58
+ * - `gridUnits` to `grid.units` (since v12, until v14)
59
+ */
60
+ static override migrateData(data: AnyMutableObject, options?: BasePackage.MigrateDataOptions): AnyMutableObject;
61
+
62
+ /**
63
+ * @remarks
64
+ * Shims:
65
+ * - `gridDistance` to `grid.distance` (since v12, until v14)
66
+ * - `gridUnits` to `grid.units` (since v12, until v14)
67
+ */
68
+ // options: not null (destructured)
69
+ static override shimData(data: AnyMutableObject, options?: DataModel.ShimDataOptions): AnyMutableObject;
31
70
  }
32
71
 
33
72
  export default BaseSystem;
@@ -1,5 +1,5 @@
1
1
  import type BasePackage from "./base-package.d.mts";
2
- import type { AnyMutableObject, InexactPartial } from "fvtt-types/utils";
2
+ import type { AnyMutableObject, InexactPartial } from "#utils";
3
3
  import type { ReleaseData } from "../config.d.mts";
4
4
 
5
5
  declare namespace BaseWorld {
@@ -27,6 +27,13 @@ declare class BaseWorld extends BasePackage<BaseWorld.Schema> {
27
27
  */
28
28
  static icon: string;
29
29
 
30
+ /**
31
+ * @remarks
32
+ * Migrations:
33
+ * - Enforces `compatibility` being an object
34
+ * - `compatibility.maximum === "1.0.0"` to `undefined`
35
+ * - If `coreVersion` but no `compatibility.verified`, sets both `compatibility.verified` and `.minimum` to `coreVersion`
36
+ */
30
37
  static migrateData(data: AnyMutableObject): AnyMutableObject;
31
38
 
32
39
  static testAvailability(
@@ -1,4 +1,4 @@
1
- import type { AnyObject, Merge } from "fvtt-types/utils";
1
+ import type { AnyObject, Merge } from "#utils";
2
2
  import type Document from "../abstract/document.d.mts";
3
3
  import type { DataField, ObjectField } from "../data/fields.d.mts";
4
4
 
@@ -18,9 +18,10 @@ declare class AdditionalTypesField<
18
18
  > {
19
19
  static get _defaults(): AdditionalTypesField.DefaultOptions;
20
20
 
21
+ // options: not null (parameter default only, despite being unused)
21
22
  protected _validateType(
22
23
  value: ObjectField.InitializedType<Options>,
23
- options?: DataField.ValidationOptions<DataField.Any>,
24
+ options?: DataField.ValidateOptions<AdditionalTypesField>,
24
25
  ): boolean | void;
25
26
  }
26
27
 
@@ -30,9 +31,6 @@ declare namespace AdditionalTypesField {
30
31
  type DefaultOptions = Merge<
31
32
  ObjectField.DefaultOptions,
32
33
  {
33
- // Required is set as false BUT this doesn't work correctly in v11
34
- // TODO: Re-enable in v12
35
- // required: false;
36
34
  readonly: true;
37
35
  validationError: "is not a valid sub-types configuration";
38
36
  }
@@ -1,4 +1,4 @@
1
- import type { OverlapsWith } from "fvtt-types/utils";
1
+ import type { OverlapsWith } from "#utils";
2
2
 
3
3
  declare global {
4
4
  namespace Array {
@@ -1,4 +1,4 @@
1
- import type { Titlecase } from "fvtt-types/utils";
1
+ import type { Titlecase } from "#utils";
2
2
 
3
3
  declare global {
4
4
  interface String {
@@ -1,7 +1,7 @@
1
1
  import type { Schema } from "prosemirror-model";
2
2
  import type { Plugin } from "prosemirror-state";
3
3
  import type ProseMirrorPlugin from "./plugin.d.mts";
4
- import type { EmptyObject } from "fvtt-types/utils";
4
+ import type { EmptyObject } from "#utils";
5
5
 
6
6
  export default ProseMirrorDirtyPlugin;
7
7
 
@@ -1,5 +1,5 @@
1
1
  import { DOMParser as BaseDOMParser, Node, ParseOptions, Schema } from "prosemirror-model";
2
- import type { FixedInstanceType } from "fvtt-types/utils";
2
+ import type { FixedInstanceType } from "#utils";
3
3
 
4
4
  export default DOMParser;
5
5
 
@@ -3,7 +3,7 @@ import type ProseMirrorPlugin from "./plugin.d.mts";
3
3
  import type { ProseMirrorMenu } from "./menu.d.mts";
4
4
  import { EditorState, Plugin } from "prosemirror-state";
5
5
  import { EditorView } from "prosemirror-view";
6
- import type { EmptyObject, InexactPartial } from "fvtt-types/utils";
6
+ import type { EmptyObject, InexactPartial } from "#utils";
7
7
 
8
8
  declare namespace ProseMirrorHighlightMatchesPlugin {
9
9
  /**
@@ -2,7 +2,7 @@ import type { Schema, Slice } from "prosemirror-model";
2
2
  import type { Plugin } from "prosemirror-state";
3
3
  import type { EditorView } from "prosemirror-view";
4
4
  import type ProseMirrorPlugin from "./plugin.d.mts";
5
- import type { EmptyObject } from "fvtt-types/utils";
5
+ import type { EmptyObject } from "#utils";
6
6
 
7
7
  export default ProseMirrorImagePlugin;
8
8
  /**
@@ -2,7 +2,7 @@ import type { Schema, Slice } from "prosemirror-model";
2
2
  import type ProseMirrorPlugin from "./plugin.d.mts";
3
3
  import type { Plugin } from "prosemirror-state";
4
4
  import type { EditorView } from "prosemirror-view";
5
- import type { EmptyObject } from "fvtt-types/utils";
5
+ import type { EmptyObject } from "#utils";
6
6
 
7
7
  export default ProseMirrorPasteTransformer;
8
8
 
@@ -1,6 +1,6 @@
1
1
  import type { Schema } from "prosemirror-model";
2
2
  import type { Plugin } from "prosemirror-state";
3
- import type { AnyObject } from "fvtt-types/utils";
3
+ import type { AnyObject } from "#utils";
4
4
 
5
5
  export default ProseMirrorPlugin;
6
6
  declare abstract class ProseMirrorPlugin {
@@ -1,4 +1,4 @@
1
- import type { AnyConcreteConstructor, AnyConstructor, AnyFunction } from "fvtt-types/utils";
1
+ import type { AnyConcreteConstructor, AnyConstructor, AnyFunction } from "#utils";
2
2
  import type { Document } from "./abstract/module.d.mts";
3
3
 
4
4
  // After seeing that none of these types add anything or are even exported a
@@ -1,4 +1,4 @@
1
- import type { Identity } from "fvtt-types/utils";
1
+ import type { Identity } from "#utils";
2
2
 
3
3
  declare class InternalBitMask<T extends Record<string, boolean>> extends Number {
4
4
  /**
@@ -1,6 +1,6 @@
1
1
  // This class exists make it as sound as possible to override these parts of the class and make them
2
2
 
3
- import type { AnyArray, Identity } from "fvtt-types/utils";
3
+ import type { AnyArray, Identity } from "#utils";
4
4
 
5
5
  // completely unrelated. It's done this way specifically to avoid situations with broken inheritance.
6
6
  declare class Map<K, V> extends globalThis.Map<K, V> {
@@ -1,4 +1,4 @@
1
- import type { AnyConstructor, FixedInstanceType, Mixin, NullishProps } from "fvtt-types/utils";
1
+ import type { AnyConstructor, FixedInstanceType, Mixin, NullishProps } from "#utils";
2
2
 
3
3
  /**
4
4
  * A mixin class which implements the behavior of EventTarget.
@@ -1,4 +1,4 @@
1
- import type { AnyConstructor, AnyFunction, DeepPartial, InexactPartial, NonNullish } from "fvtt-types/utils";
1
+ import type { AnyConstructor, AnyFunction, DeepPartial, InexactPartial, NonNullish } from "#utils";
2
2
  import type Document from "../abstract/document.d.mts";
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { Brand } from "fvtt-types/utils";
1
+ import type { Brand } from "#utils";
2
2
 
3
3
  declare global {
4
4
  namespace ClipperLib {
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable import-x/export */
2
2
 
3
- import type { Brand } from "fvtt-types/utils";
3
+ import type { Brand } from "#utils";
4
4
 
5
5
  export namespace behaviors {
6
6
  type BehaviorOrder = Brand<number, "PIXI.particles.behaviors.BehaviorOrder">;
@@ -1,4 +1,4 @@
1
- import type { Brand, Identity } from "fvtt-types/utils";
1
+ import type { Brand, Identity } from "#utils";
2
2
  import * as _PIXI from "pixi.js";
3
3
 
4
4
  // Note(LukeAbby): The `smooth.d.mts` and `smooth.d.mts` files exist to make it DRY to selectively tweak PIXI sub-namespaces.
@@ -1,4 +1,4 @@
1
- import type { Brand } from "fvtt-types/utils";
1
+ import type { Brand } from "#utils";
2
2
 
3
3
  type JOINT_TYPE = Brand<number, "PIXI.smooth.JOINT_TYPE">;
4
4
  declare const JOINT_TYPE: {
@@ -1,6 +1,6 @@
1
1
  import _tinymce from "tinymce";
2
2
  import type * as _tinymceTypes from "tinymce";
3
- import type { AnyObject } from "fvtt-types/utils";
3
+ import type { AnyObject } from "#utils";
4
4
 
5
5
  declare global {
6
6
  let tinyMCE: typeof _tinymce;
@@ -1,11 +1,8 @@
1
1
  // This is an issue only on Windows. It's worked around in this weird way to avoid ESLint
2
2
  // whining about an unused disable.
3
- /* eslint import-x/no-unresolved: [2, { ignore: ["fvtt-types/configuration"] }] */
4
3
 
5
- import type { InterfaceToObject, MustConform } from "fvtt-types/utils";
6
-
7
- // eslint-disable-next-line import-x/extensions
8
- import * as configuration from "fvtt-types/configuration";
4
+ import type { InterfaceToObject, MustConform } from "#utils";
5
+ import * as configuration from "#configuration";
9
6
 
10
7
  declare global {
11
8
  interface AssumeHookRan extends configuration.AssumeHookRan {}
@@ -3,7 +3,7 @@
3
3
 
4
4
  import type { documents } from "../foundry/client-esm/client.d.mts";
5
5
  import type { Document } from "../foundry/common/abstract/module.d.mts";
6
- import type { InterfaceToObject, MakeConform, MustConform, FixedInstanceType } from "fvtt-types/utils";
6
+ import type { InterfaceToObject, MakeConform, MustConform, FixedInstanceType } from "#utils";
7
7
 
8
8
  type DocumentConform<T> = MakeConform<T, Document.AnyConstructor>;
9
9
 
@@ -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
  namespace AudioNode {
@@ -1,4 +1,4 @@
1
- import type { EmptyObject, InexactPartial } from "fvtt-types/utils";
1
+ import type { EmptyObject, InexactPartial } from "#utils";
2
2
 
3
3
  export declare const FORMATS: {
4
4
  RED: typeof PIXI.FORMATS.RED;