@league-of-foundry-developers/foundry-vtt-types 9.268.0 → 9.268.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (453) hide show
  1. package/index.d.ts +1 -1
  2. package/package.json +2 -2
  3. package/src/foundry/{foundry.js/application.d.ts → client/apps/app.d.ts} +0 -13
  4. package/src/foundry/client/apps/av/av-config.d.ts +85 -0
  5. package/src/foundry/client/apps/av/camera-popout.d.ts +49 -0
  6. package/src/foundry/client/apps/av/cameras.d.ts +174 -0
  7. package/src/foundry/client/apps/av/index.d.ts +3 -0
  8. package/src/foundry/client/apps/form.d.ts +384 -0
  9. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/actorSheet.d.ts → client/apps/forms/actor.d.ts} +13 -29
  10. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/cardConfig.d.ts → client/apps/forms/card-config.d.ts} +2 -2
  11. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/cardsConfig.d.ts → client/apps/forms/cards-config.d.ts} +43 -3
  12. package/src/foundry/client/apps/forms/combat-config.d.ts +41 -0
  13. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/combatantConfig.d.ts → client/apps/forms/combatant-config.d.ts} +4 -10
  14. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/activeEffectConfig.d.ts → client/apps/forms/effect-config.d.ts} +6 -16
  15. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/folderConfig.d.ts → client/apps/forms/folder-config.d.ts} +8 -21
  16. package/src/foundry/{foundry.js/applications/formApplications/gridConfig.d.ts → client/apps/forms/grid-config.d.ts} +7 -22
  17. package/src/foundry/client/apps/forms/image-popout.d.ts +166 -0
  18. package/src/foundry/client/apps/forms/index.d.ts +20 -0
  19. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/itemSheet.d.ts → client/apps/forms/item.d.ts} +5 -16
  20. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/journalSheet.d.ts → client/apps/forms/journal-sheet.d.ts} +8 -18
  21. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/macroConfig.d.ts → client/apps/forms/macro-config.d.ts} +7 -13
  22. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/measuredTemplateConfig.d.ts → client/apps/forms/measure-template.d.ts} +4 -7
  23. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/permissionControl.d.ts → client/apps/forms/permission.d.ts} +5 -9
  24. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/playlistConfig.d.ts → client/apps/forms/playlist-config.d.ts} +5 -12
  25. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/playlistSoundConfig.d.ts → client/apps/forms/playlist-sound-config.d.ts} +6 -17
  26. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/rollTableConfig.d.ts → client/apps/forms/roll-table-config.d.ts} +7 -22
  27. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/sceneConfig.d.ts → client/apps/forms/scene-config.d.ts} +11 -28
  28. package/src/foundry/{foundry.js/applications/formApplications/documentSheetConfig.d.ts → client/apps/forms/sheet-config.d.ts} +3 -6
  29. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/userConfig.d.ts → client/apps/forms/user-config.d.ts} +5 -9
  30. package/src/foundry/{foundry.js/chatBubbles.d.ts → client/apps/hud/chatbubble.d.ts} +0 -0
  31. package/src/foundry/{foundry.js/applications/headsUpDisplay.d.ts → client/apps/hud/container.d.ts} +3 -6
  32. package/src/foundry/{foundry.js/applications/sceneControls.d.ts → client/apps/hud/controls.d.ts} +3 -6
  33. package/src/foundry/{foundry.js/applications → client/apps/hud}/hotbar.d.ts +9 -26
  34. package/src/foundry/{foundry.js/applications/basePlaceableHUD.d.ts → client/apps/hud/hud.d.ts} +5 -10
  35. package/src/foundry/client/apps/hud/index.d.ts +9 -0
  36. package/src/foundry/{foundry.js/applications/mainMenu.d.ts → client/apps/hud/menu.d.ts} +3 -9
  37. package/src/foundry/{foundry.js/applications/sceneNavigation.d.ts → client/apps/hud/navigation.d.ts} +8 -21
  38. package/src/foundry/{foundry.js/applications → client/apps/hud}/pause.d.ts +1 -2
  39. package/src/foundry/{foundry.js/applications/playerList.d.ts → client/apps/hud/players.d.ts} +4 -7
  40. package/src/foundry/{foundry.js/localization.d.ts → client/apps/i18n.d.ts} +1 -2
  41. package/src/foundry/client/apps/index.d.ts +9 -0
  42. package/src/foundry/{foundry.js/applications/formApplications/drawingConfig.d.ts → client/apps/placeables/drawing-config.d.ts} +7 -14
  43. package/src/foundry/{foundry.js/applications/basePlaceableHUDs/drawingHUD.d.ts → client/apps/placeables/drawing-hud.d.ts} +3 -9
  44. package/src/foundry/client/apps/placeables/index.d.ts +10 -0
  45. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/ambientLightConfig.d.ts → client/apps/placeables/light-config.d.ts} +18 -24
  46. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/noteConfig.d.ts → client/apps/placeables/note-config.d.ts} +5 -17
  47. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/ambientSoundConfig.d.ts → client/apps/placeables/sound-config.d.ts} +6 -14
  48. package/src/foundry/{foundry.js/applications/formApplications/documentSheets/tileConfig.d.ts → client/apps/placeables/tile-config.d.ts} +7 -15
  49. package/src/foundry/{foundry.js/applications/basePlaceableHUDs/tileHUD.d.ts → client/apps/placeables/tile-hud.d.ts} +3 -9
  50. package/src/foundry/{foundry.js/applications/formApplications/tokenConfig.d.ts → client/apps/placeables/token-config.d.ts} +75 -18
  51. package/src/foundry/{foundry.js/applications/basePlaceableHUDs/tokenHUD.d.ts → client/apps/placeables/token-hud.d.ts} +6 -15
  52. package/src/foundry/{foundry.js/applications/formApplications/wallConfig.d.ts → client/apps/placeables/wall-config.d.ts} +4 -8
  53. package/src/foundry/{foundry.js/applications/chatPopout.d.ts → client/apps/sidebar/apps/chat-popout.d.ts} +5 -13
  54. package/src/foundry/{foundry.js/applications/formApplications/settingsConfig.d.ts → client/apps/sidebar/apps/client-settings.d.ts} +6 -14
  55. package/src/foundry/{foundry.js/applications → client/apps/sidebar/apps}/compendium.d.ts +11 -22
  56. package/src/foundry/{foundry.js/applications/controlsReference.d.ts → client/apps/sidebar/apps/controls-reference.d.ts} +1 -2
  57. package/src/foundry/client/apps/sidebar/apps/index.d.ts +10 -0
  58. package/src/foundry/{foundry.js/applications/invitationLinks.d.ts → client/apps/sidebar/apps/invitation-links.d.ts} +3 -6
  59. package/src/foundry/{foundry.js/applications/formApplications/keybindingsConfig.d.ts → client/apps/sidebar/apps/keybindings-config.d.ts} +4 -14
  60. package/src/foundry/{foundry.js/applications/formApplications/moduleManagement.d.ts → client/apps/sidebar/apps/module-management.d.ts} +7 -14
  61. package/src/foundry/{foundry.js/applications/formApplications/permissionConfig.d.ts → client/apps/sidebar/apps/permission-config.d.ts} +5 -16
  62. package/src/foundry/{foundry.js/applications/supportDetails.d.ts → client/apps/sidebar/apps/support-details.d.ts} +2 -4
  63. package/src/foundry/{foundry.js/applications/formApplications/worldConfig.d.ts → client/apps/sidebar/apps/world-config.d.ts} +10 -12
  64. package/src/foundry/client/apps/sidebar/index.d.ts +5 -0
  65. package/src/foundry/{foundry.js/applications → client/apps/sidebar}/sidebar.d.ts +5 -17
  66. package/src/foundry/{foundry.js/applications/sidebarTab.d.ts → client/apps/sidebar/tab-base.d.ts} +4 -8
  67. package/src/foundry/{foundry.js/applications/sidebarTabs/sidebarDirectory.d.ts → client/apps/sidebar/tab-directory.d.ts} +20 -31
  68. package/src/foundry/client/apps/sidebar/tabs/actors-directory.d.ts +16 -0
  69. package/src/foundry/{foundry.js/applications/sidebarTabs/sidebarDirectories/cardsDirectory.d.ts → client/apps/sidebar/tabs/cards-directory.d.ts} +1 -2
  70. package/src/foundry/{foundry.js/applications/sidebarTabs/chatLog.d.ts → client/apps/sidebar/tabs/chat-log.d.ts} +8 -18
  71. package/src/foundry/{foundry.js/applications/sidebarTabs/combatTracker.d.ts → client/apps/sidebar/tabs/combat-tracker.d.ts} +4 -7
  72. package/src/foundry/{foundry.js/applications/sidebarTabs/compendiumDirectory.d.ts → client/apps/sidebar/tabs/compendium-directory.d.ts} +4 -12
  73. package/src/foundry/client/apps/sidebar/tabs/index.d.ts +12 -0
  74. package/src/foundry/client/apps/sidebar/tabs/items-directory.d.ts +10 -0
  75. package/src/foundry/{foundry.js/applications/sidebarTabs/sidebarDirectories/journalDirectory.d.ts → client/apps/sidebar/tabs/journal-directory.d.ts} +2 -4
  76. package/src/foundry/{foundry.js/applications/sidebarTabs/sidebarDirectories/macroDirectory.d.ts → client/apps/sidebar/tabs/macros-directory.d.ts} +1 -2
  77. package/src/foundry/{foundry.js/applications/sidebarTabs/sidebarDirectories/playlistDirectory.d.ts → client/apps/sidebar/tabs/playlists-directory.d.ts} +12 -24
  78. package/src/foundry/{foundry.js/applications/sidebarTabs/sidebarDirectories/rollTableDirectory.d.ts → client/apps/sidebar/tabs/roll-table-directory.d.ts} +1 -2
  79. package/src/foundry/client/apps/sidebar/tabs/scenes-directory.d.ts +18 -0
  80. package/src/foundry/{foundry.js/applications/sidebarTabs → client/apps/sidebar/tabs}/settings.d.ts +30 -7
  81. package/src/foundry/client/apps/templates.d.ts +425 -0
  82. package/src/foundry/{foundry.js/audioHelper.d.ts → client/audio/audio.d.ts} +0 -0
  83. package/src/foundry/{foundry.js/audioContainer.d.ts → client/audio/container.d.ts} +0 -0
  84. package/src/foundry/client/audio/index.d.ts +3 -0
  85. package/src/foundry/{foundry.js → client/audio}/sound.d.ts +0 -0
  86. package/src/foundry/{foundry.js/avClient.d.ts → client/av/client.d.ts} +0 -0
  87. package/src/foundry/client/av/clients/index.d.ts +1 -0
  88. package/src/foundry/{foundry.js/avClients/simplePeerAVClient.d.ts → client/av/clients/simplepeer.d.ts} +14 -28
  89. package/src/foundry/client/av/index.d.ts +4 -0
  90. package/src/foundry/{foundry.js/avMaster.d.ts → client/av/master.d.ts} +0 -0
  91. package/src/foundry/{foundry.js/avSettings.d.ts → client/av/settings.d.ts} +0 -0
  92. package/src/foundry/{foundry.js → client}/config.d.ts +10 -159
  93. package/src/foundry/{foundry.js/gamepadManager.d.ts → client/core/gamepad.d.ts} +0 -0
  94. package/src/foundry/{foundry.js → client/core}/hooks.d.ts +4 -4
  95. package/src/foundry/{foundry.js/imageHelper.d.ts → client/core/image.d.ts} +0 -0
  96. package/src/foundry/client/core/index.d.ts +13 -0
  97. package/src/foundry/{foundry.js/clientKeybindings.d.ts → client/core/keybindings.d.ts} +1 -12
  98. package/src/foundry/{foundry.js/keyboardManager.d.ts → client/core/keyboard.d.ts} +0 -0
  99. package/src/foundry/{foundry.js/mouseManager.d.ts → client/core/mouse.d.ts} +0 -0
  100. package/src/foundry/{foundry.js/newUserExperience.d.ts → client/core/nue.d.ts} +0 -0
  101. package/src/foundry/{foundry.js/clientSettings.d.ts → client/core/settings.d.ts} +2 -2
  102. package/src/foundry/{foundry.js/socketInterface.d.ts → client/core/socket.d.ts} +0 -0
  103. package/src/foundry/{foundry.js/sortingHelpers.d.ts → client/core/sorting.d.ts} +0 -0
  104. package/src/foundry/{foundry.js/gameTime.d.ts → client/core/time.d.ts} +0 -0
  105. package/src/foundry/{foundry.js → client/core}/utils.d.ts +0 -0
  106. package/src/foundry/{foundry.js/videoHelper.d.ts → client/core/video.d.ts} +0 -0
  107. package/src/foundry/{foundry.js/canvasDocumentMixin.d.ts → client/data/abstract/canvas-document.d.ts} +3 -3
  108. package/src/foundry/{foundry.js/clientDatabaseBackend.d.ts → client/data/abstract/client-backend.d.ts} +13 -23
  109. package/src/foundry/{foundry.js/clientDocumentMixin.d.ts → client/data/abstract/client-document.d.ts} +2 -6
  110. package/src/foundry/{foundry.js/collections/documentCollection.d.ts → client/data/abstract/document-collection.d.ts} +2 -2
  111. package/src/foundry/client/data/abstract/index.d.ts +5 -0
  112. package/src/foundry/{foundry.js/collections/documentCollections/worldCollection.d.ts → client/data/abstract/world-collection.d.ts} +2 -3
  113. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/actors.d.ts +3 -5
  114. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections/cardStacks.d.ts → client/data/collections/cards.d.ts} +1 -2
  115. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections/combatEncounters.d.ts → client/data/collections/combats.d.ts} +3 -5
  116. package/src/foundry/{foundry.js/collections/documentCollections/compendiumCollection.d.ts → client/data/collections/compendium.d.ts} +2 -3
  117. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections/fogExplorations.d.ts → client/data/collections/fog.d.ts} +0 -0
  118. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections/folders.d.ts → client/data/collections/folder.d.ts} +3 -5
  119. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/index.d.ts +7 -6
  120. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/items.d.ts +1 -2
  121. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/journal.d.ts +1 -2
  122. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/macros.d.ts +4 -7
  123. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/messages.d.ts +4 -9
  124. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/playlists.d.ts +3 -4
  125. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/scenes.d.ts +3 -5
  126. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections/worldSettings.d.ts → client/data/collections/settings.d.ts} +2 -4
  127. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections/rollTables.d.ts → client/data/collections/tables.d.ts} +2 -4
  128. package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/users.d.ts +3 -5
  129. package/src/foundry/{foundry.js/clientDocuments/activeEffect.d.ts → client/data/documents/active-effect.d.ts} +7 -10
  130. package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/actor.d.ts +18 -21
  131. package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/ambientLightDocument.d.ts → client/data/documents/ambient-light.d.ts} +0 -0
  132. package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/ambientSoundDocument.d.ts → client/data/documents/ambient-sound.d.ts} +0 -0
  133. package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/card.d.ts +2 -3
  134. package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/cards.d.ts +11 -14
  135. package/src/foundry/{foundry.js/clientDocuments/chatMessage.d.ts → client/data/documents/chat-message.d.ts} +12 -13
  136. package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/combat.d.ts +16 -19
  137. package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/combatant.d.ts +5 -10
  138. package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/drawingDocument.d.ts → client/data/documents/drawing.d.ts} +0 -0
  139. package/src/foundry/{foundry.js/clientDocuments/fogExploration.d.ts → client/data/documents/fog-exploration.d.ts} +2 -2
  140. package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/folder.d.ts +2 -2
  141. package/src/foundry/client/data/documents/index.d.ts +27 -0
  142. package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/item.d.ts +5 -5
  143. package/src/foundry/{foundry.js/clientDocuments/journalEntry.d.ts → client/data/documents/journal-entry.d.ts} +3 -5
  144. package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/macro.d.ts +0 -0
  145. package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/measuredTemplateDocument.d.ts → client/data/documents/measured-template.d.ts} +0 -0
  146. package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/noteDocument.d.ts → client/data/documents/note.d.ts} +0 -0
  147. package/src/foundry/{foundry.js/clientDocuments/playlistSound.d.ts → client/data/documents/playlist-sound.d.ts} +4 -6
  148. package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/playlist.d.ts +11 -19
  149. package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/scene.d.ts +29 -41
  150. package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/setting.d.ts +2 -3
  151. package/src/foundry/{foundry.js/clientDocuments/tableResult.d.ts → client/data/documents/table-result.d.ts} +0 -0
  152. package/src/foundry/{foundry.js/clientDocuments/rollTable.d.ts → client/data/documents/table.d.ts} +5 -8
  153. package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/tileDocument.d.ts → client/data/documents/tile.d.ts} +2 -4
  154. package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/tokenDocument.d.ts → client/data/documents/token.d.ts} +29 -10
  155. package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/user.d.ts +4 -6
  156. package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/wallDocument.d.ts → client/data/documents/wall.d.ts} +0 -0
  157. package/src/foundry/client/data/index.d.ts +3 -0
  158. package/src/foundry/{foundry.js/rollTerms/diceTerms → client/dice/dice}/coin.d.ts +3 -12
  159. package/src/foundry/{foundry.js/rollTerms/diceTerms → client/dice/dice}/die.d.ts +3 -8
  160. package/src/foundry/{foundry.js/rollTerms/diceTerms/fateDie.d.ts → client/dice/dice/fate.d.ts} +3 -10
  161. package/src/foundry/client/dice/dice/index.d.ts +3 -0
  162. package/src/foundry/client/dice/index.d.ts +5 -0
  163. package/src/foundry/{foundry.js → client/dice}/roll.d.ts +7 -7
  164. package/src/foundry/{foundry.js/rollTerm.d.ts → client/dice/term.d.ts} +0 -0
  165. package/src/foundry/{foundry.js/rollTerms/diceTerm.d.ts → client/dice/terms/dice.d.ts} +1 -2
  166. package/src/foundry/client/dice/terms/index.d.ts +7 -0
  167. package/src/foundry/{foundry.js/rollTerms/mathTerm.d.ts → client/dice/terms/math.d.ts} +1 -2
  168. package/src/foundry/{foundry.js/rollTerms/numericTerm.d.ts → client/dice/terms/numeric.d.ts} +0 -0
  169. package/src/foundry/{foundry.js/rollTerms/operatorTerm.d.ts → client/dice/terms/operator.d.ts} +0 -0
  170. package/src/foundry/{foundry.js/rollTerms/parentheticalTerm.d.ts → client/dice/terms/parenthetical.d.ts} +1 -2
  171. package/src/foundry/{foundry.js/rollTerms/poolTerm.d.ts → client/dice/terms/pool.d.ts} +0 -1
  172. package/src/foundry/{foundry.js/rollTerms/stringTerm.d.ts → client/dice/terms/string.d.ts} +1 -2
  173. package/src/foundry/{foundry.js/mersenneTwister.d.ts → client/dice/twister.d.ts} +0 -0
  174. package/src/foundry/{foundry.js → client}/game.d.ts +6 -3
  175. package/src/foundry/client/head.d.ts +44 -0
  176. package/src/foundry/client/index.d.ts +12 -0
  177. package/src/foundry/{foundry.js/canvas.d.ts → client/pixi/board.d.ts} +21 -24
  178. package/src/foundry/{foundry.js/pixi/containers/cachedContainer.d.ts → client/pixi/core/containers/cached-container.d.ts} +0 -0
  179. package/src/foundry/client/pixi/core/containers/index.d.ts +3 -0
  180. package/src/foundry/{foundry.js → client/pixi/core/containers}/quadtree.d.ts +0 -0
  181. package/src/foundry/{foundry.js/pixi/meshes/samplerMesh.d.ts → client/pixi/core/containers/sampler-mesh.d.ts} +0 -0
  182. package/src/foundry/{foundry.js/screenCulling.d.ts → client/pixi/core/culling.d.ts} +18 -0
  183. package/src/foundry/client/pixi/core/index.d.ts +5 -0
  184. package/src/foundry/{foundry.js/canvasAnimation.d.ts → client/pixi/core/interaction/canvas-animation.d.ts} +0 -0
  185. package/src/foundry/{foundry.js/pixi/containers/controlIcon.d.ts → client/pixi/core/interaction/control-icon.d.ts} +0 -0
  186. package/src/foundry/client/pixi/core/interaction/index.d.ts +5 -0
  187. package/src/foundry/{foundry.js/mouseInteractionManager.d.ts → client/pixi/core/interaction/mouse-handler.d.ts} +0 -0
  188. package/src/foundry/{foundry.js/pixi/graphics/resizeHandle.d.ts → client/pixi/core/interaction/resize-handle.d.ts} +0 -0
  189. package/src/foundry/{foundry.js/userTargets.d.ts → client/pixi/core/interaction/targets.d.ts} +5 -8
  190. package/src/foundry/{foundry.js/textureLoader.d.ts → client/pixi/core/loader.d.ts} +26 -1
  191. package/src/foundry/client/pixi/core/shapes/index.d.ts +5 -0
  192. package/src/foundry/{foundry.js/pixi/rectangles/normalizedRectangle.d.ts → client/pixi/core/shapes/normalized-rectangle.d.ts} +0 -0
  193. package/src/foundry/client/pixi/core/shapes/polygon-helpers.d.ts +263 -0
  194. package/src/foundry/{foundry.js/pixi/texts/preciseText.d.ts → client/pixi/core/shapes/precise-text.d.ts} +0 -0
  195. package/src/foundry/{foundry.js → client/pixi/core/shapes}/ray.d.ts +36 -1
  196. package/src/foundry/{foundry.js/pixi/polygons/pointSourcePolygon.d.ts → client/pixi/core/shapes/source-polygon.d.ts} +10 -0
  197. package/src/foundry/{foundry.js/pixi/containers/effectsCanvasGroup.d.ts → client/pixi/groups/effects.d.ts} +0 -0
  198. package/src/foundry/client/pixi/groups/index.d.ts +3 -0
  199. package/src/foundry/{foundry.js/pixi/containers/interfaceCanvasGroup.d.ts → client/pixi/groups/interface.d.ts} +0 -0
  200. package/src/foundry/{foundry.js/pixi/containers/cachedContainers/primaryCanvasGroup.d.ts → client/pixi/groups/primary.d.ts} +2 -4
  201. package/src/foundry/client/pixi/index.d.ts +10 -0
  202. package/src/foundry/{foundry.js/pixi/containers/canvasLayer.d.ts → client/pixi/layer.d.ts} +0 -0
  203. package/src/foundry/{foundry.js/pixi/containers → client/pixi/layers/controls}/cursor.d.ts +2 -3
  204. package/src/foundry/{foundry.js/pixi/containers/doorControl.d.ts → client/pixi/layers/controls/door.d.ts} +1 -1
  205. package/src/foundry/{foundry.js/pixi/containers/objectHUD.d.ts → client/pixi/layers/controls/hud.d.ts} +41 -6
  206. package/src/foundry/client/pixi/layers/controls/index.d.ts +4 -0
  207. package/src/foundry/{foundry.js/pixi/containers → client/pixi/layers/controls}/ruler.d.ts +1 -1
  208. package/src/foundry/{foundry.js/pixi/containers/canvasLayers/controlsLayer.d.ts → client/pixi/layers/controls.d.ts} +5 -9
  209. package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/drawingsLayer.d.ts → client/pixi/layers/drawings.d.ts} +9 -18
  210. package/src/foundry/{foundry.js/specialEffect.d.ts → client/pixi/layers/effects/effect.d.ts} +0 -0
  211. package/src/foundry/client/pixi/layers/effects/index.d.ts +4 -0
  212. package/src/foundry/{foundry.js/specialEffects/autumnLeavesWeatherEffect.d.ts → client/pixi/layers/effects/leaves.d.ts} +0 -0
  213. package/src/foundry/{foundry.js/specialEffects/rainWeatherEffect.d.ts → client/pixi/layers/effects/rain.d.ts} +0 -0
  214. package/src/foundry/{foundry.js/specialEffects/snowWeatherEffect.d.ts → client/pixi/layers/effects/snow.d.ts} +0 -0
  215. package/src/foundry/{foundry.js/pixi/containers/canvasLayers/weatherLayer.d.ts → client/pixi/layers/effects.d.ts} +2 -4
  216. package/src/foundry/{foundry.js/pixi/containers/baseGrid.d.ts → client/pixi/layers/grid/grid.d.ts} +0 -0
  217. package/src/foundry/{foundry.js/pixi/containers/baseGrids/hexagonalGrid.d.ts → client/pixi/layers/grid/hex.d.ts} +8 -16
  218. package/src/foundry/{foundry.js/pixi/graphics/gridHighlight.d.ts → client/pixi/layers/grid/highlight.d.ts} +2 -4
  219. package/src/foundry/client/pixi/layers/grid/index.d.ts +4 -0
  220. package/src/foundry/{foundry.js/pixi/containers/baseGrids/squareGrid.d.ts → client/pixi/layers/grid/square.d.ts} +8 -16
  221. package/src/foundry/{foundry.js/pixi/containers/canvasLayers/gridLayer.d.ts → client/pixi/layers/grid.d.ts} +1 -2
  222. package/src/foundry/client/pixi/layers/index.d.ts +15 -0
  223. package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/lightingLayer.d.ts → client/pixi/layers/lighting.d.ts} +8 -18
  224. package/src/foundry/client/pixi/layers/map.d.ts +263 -0
  225. package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/notesLayer.d.ts → client/pixi/layers/notes.d.ts} +6 -10
  226. package/src/foundry/{foundry.js/pixi/containers/canvasLayers/sightLayer.d.ts → client/pixi/layers/sight.d.ts} +4 -7
  227. package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/soundsLayer.d.ts → client/pixi/layers/sounds.d.ts} +8 -14
  228. package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/templateLayer.d.ts → client/pixi/layers/templates.d.ts} +7 -16
  229. package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/tokenLayer.d.ts → client/pixi/layers/tokens.d.ts} +10 -20
  230. package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/wallsLayer.d.ts → client/pixi/layers/walls.d.ts} +13 -29
  231. package/src/foundry/{foundry.js/pixi/polygons/pointSourcePolygons/clockwiseSweepPolygon.d.ts → client/pixi/perception/clockwise-sweep.d.ts} +4 -8
  232. package/src/foundry/client/pixi/perception/index.d.ts +2 -0
  233. package/src/foundry/{foundry.js/perceptionManager.d.ts → client/pixi/perception/perception-manager.d.ts} +0 -0
  234. package/src/foundry/{foundry.js/pixi/containers/placeableObject.d.ts → client/pixi/placeable.d.ts} +4 -28
  235. package/src/foundry/{foundry.js/pixi/containers/placeableObjects → client/pixi/placeables}/drawing.d.ts +17 -32
  236. package/src/foundry/{foundry.js/pixi/containers/placeableObjects → client/pixi/placeables}/index.d.ts +3 -3
  237. package/src/foundry/{foundry.js/pixi/containers/placeableObjects/ambientLight.d.ts → client/pixi/placeables/light.d.ts} +16 -30
  238. package/src/foundry/{foundry.js/pixi/containers/placeableObjects → client/pixi/placeables}/note.d.ts +12 -22
  239. package/src/foundry/{foundry.js/pixi/containers/placeableObjects/ambientSound.d.ts → client/pixi/placeables/sound.d.ts} +15 -28
  240. package/src/foundry/{foundry.js/pixi/containers/placeableObjects/measuredTemplate.d.ts → client/pixi/placeables/template.d.ts} +13 -24
  241. package/src/foundry/{foundry.js/pixi/containers/placeableObjects → client/pixi/placeables}/tile.d.ts +19 -32
  242. package/src/foundry/{foundry.js/pixi/containers/placeableObjects → client/pixi/placeables}/token.d.ts +47 -54
  243. package/src/foundry/{foundry.js/pixi/containers/placeableObjects → client/pixi/placeables}/wall.d.ts +26 -48
  244. package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayer.d.ts → client/pixi/placeables.d.ts} +7 -17
  245. package/src/foundry/{foundry.js/pointSource.d.ts → client/pixi/sources/base-source.d.ts} +0 -0
  246. package/src/foundry/client/pixi/sources/index.d.ts +4 -0
  247. package/src/foundry/{foundry.js/pointSources/lightSource.d.ts → client/pixi/sources/light-source.d.ts} +2 -6
  248. package/src/foundry/{foundry.js/pointSources/soundSource.d.ts → client/pixi/sources/sound-source.d.ts} +2 -3
  249. package/src/foundry/{foundry.js/pointSources/visionSource.d.ts → client/pixi/sources/vision-source.d.ts} +3 -5
  250. package/src/foundry/{foundry.js/pixi/shaders/abstractBaseShader.d.ts → client/pixi/webgl/base.d.ts} +0 -0
  251. package/src/foundry/{foundry.js/pixi/blendModes.d.ts → client/pixi/webgl/blend_modes.d.ts} +0 -0
  252. package/src/foundry/client/pixi/webgl/filters.d.ts +182 -0
  253. package/src/foundry/client/pixi/webgl/index.d.ts +5 -0
  254. package/src/foundry/client/pixi/webgl/lighting.d.ts +480 -0
  255. package/src/foundry/{foundry.js/pixi/shaders/abstractBaseShaders/baseSamplerShader.d.ts → client/pixi/webgl/sampler.d.ts} +3 -6
  256. package/src/foundry/client/tail.d.ts +3 -0
  257. package/src/foundry/{foundry.js/contextMenu.d.ts → client/ui/context.d.ts} +22 -22
  258. package/src/foundry/{foundry.js/applications → client/ui}/dialog.d.ts +4 -17
  259. package/src/foundry/{foundry.js/draggable.d.ts → client/ui/drag.d.ts} +0 -0
  260. package/src/foundry/{foundry.js/dragDrop.d.ts → client/ui/dragdrop.d.ts} +0 -0
  261. package/src/foundry/{foundry.js/textEditor.d.ts → client/ui/editor.d.ts} +1 -1
  262. package/src/foundry/{foundry.js/applications/filePicker.d.ts → client/ui/filepicker.d.ts} +13 -42
  263. package/src/foundry/{foundry.js/searchFilter.d.ts → client/ui/filter.d.ts} +0 -0
  264. package/src/foundry/{foundry.js/formDataExtended.d.ts → client/ui/forms.d.ts} +0 -0
  265. package/src/foundry/client/ui/index.d.ts +10 -0
  266. package/src/foundry/{foundry.js/applications → client/ui}/notifications.d.ts +3 -6
  267. package/src/foundry/{foundry.js → client/ui}/tabs.d.ts +0 -0
  268. package/src/foundry/common/data/data.mjs/activeEffectData.d.ts +1 -2
  269. package/src/foundry/common/data/data.mjs/actorData.d.ts +0 -3
  270. package/src/foundry/common/data/data.mjs/adventureData.d.ts +1 -2
  271. package/src/foundry/common/data/data.mjs/ambientLightData.d.ts +3 -6
  272. package/src/foundry/common/data/data.mjs/ambientSoundData.d.ts +3 -6
  273. package/src/foundry/common/data/data.mjs/animationData.d.ts +1 -2
  274. package/src/foundry/common/data/data.mjs/cardData.d.ts +0 -1
  275. package/src/foundry/common/data/data.mjs/cardFaceData.d.ts +1 -2
  276. package/src/foundry/common/data/data.mjs/cardsData.d.ts +0 -1
  277. package/src/foundry/common/data/data.mjs/chatMessageData.d.ts +1 -2
  278. package/src/foundry/common/data/data.mjs/chatSpeakerData.d.ts +1 -2
  279. package/src/foundry/common/data/data.mjs/combatData.d.ts +1 -2
  280. package/src/foundry/common/data/data.mjs/combatantData.d.ts +1 -2
  281. package/src/foundry/common/data/data.mjs/darknessActivation.d.ts +1 -2
  282. package/src/foundry/common/data/data.mjs/drawingData.d.ts +3 -6
  283. package/src/foundry/common/data/data.mjs/effectChangeData.d.ts +3 -4
  284. package/src/foundry/common/data/data.mjs/effectDurationData.d.ts +1 -2
  285. package/src/foundry/common/data/data.mjs/fogExplorationData.d.ts +1 -2
  286. package/src/foundry/common/data/data.mjs/folderData.d.ts +1 -2
  287. package/src/foundry/common/data/data.mjs/itemData.d.ts +0 -2
  288. package/src/foundry/common/data/data.mjs/journalEntryData.d.ts +1 -2
  289. package/src/foundry/common/data/data.mjs/lightData.d.ts +3 -6
  290. package/src/foundry/common/data/data.mjs/macroData.d.ts +1 -2
  291. package/src/foundry/common/data/data.mjs/measuredTemplateData.d.ts +3 -6
  292. package/src/foundry/common/data/data.mjs/noteData.d.ts +1 -2
  293. package/src/foundry/common/data/data.mjs/playlistData.d.ts +1 -2
  294. package/src/foundry/common/data/data.mjs/playlistSoundData.d.ts +2 -4
  295. package/src/foundry/common/data/data.mjs/prototypeTokenData.d.ts +2 -4
  296. package/src/foundry/common/data/data.mjs/rollTableData.d.ts +1 -2
  297. package/src/foundry/common/data/data.mjs/sceneData.d.ts +2 -4
  298. package/src/foundry/common/data/data.mjs/settingData.d.ts +1 -2
  299. package/src/foundry/common/data/data.mjs/tableResultData.d.ts +1 -2
  300. package/src/foundry/common/data/data.mjs/tileData.d.ts +2 -4
  301. package/src/foundry/common/data/data.mjs/tileOcclusion.d.ts +1 -2
  302. package/src/foundry/common/data/data.mjs/tokenBarData.d.ts +1 -2
  303. package/src/foundry/common/data/data.mjs/tokenData.d.ts +3 -6
  304. package/src/foundry/common/data/data.mjs/userData.d.ts +1 -2
  305. package/src/foundry/common/data/data.mjs/videoData.d.ts +2 -4
  306. package/src/foundry/common/data/data.mjs/wallData.d.ts +2 -4
  307. package/src/foundry/common/documents.mjs/baseActiveEffect.d.ts +4 -8
  308. package/src/foundry/common/documents.mjs/baseActor.d.ts +4 -8
  309. package/src/foundry/common/documents.mjs/baseAdventure.d.ts +2 -4
  310. package/src/foundry/common/documents.mjs/baseAmbientLight.d.ts +3 -6
  311. package/src/foundry/common/documents.mjs/baseAmbientSound.d.ts +2 -4
  312. package/src/foundry/common/documents.mjs/baseCard.d.ts +3 -6
  313. package/src/foundry/common/documents.mjs/baseCards.d.ts +2 -4
  314. package/src/foundry/common/documents.mjs/baseChatMessage.d.ts +2 -4
  315. package/src/foundry/common/documents.mjs/baseCombat.d.ts +2 -4
  316. package/src/foundry/common/documents.mjs/baseCombatant.d.ts +2 -4
  317. package/src/foundry/common/documents.mjs/baseDrawing.d.ts +3 -6
  318. package/src/foundry/common/documents.mjs/baseFogExploration.d.ts +3 -6
  319. package/src/foundry/common/documents.mjs/baseFolder.d.ts +2 -4
  320. package/src/foundry/common/documents.mjs/baseItem.d.ts +4 -8
  321. package/src/foundry/common/documents.mjs/baseJournalEntry.d.ts +2 -4
  322. package/src/foundry/common/documents.mjs/baseMacro.d.ts +4 -8
  323. package/src/foundry/common/documents.mjs/baseMeasuredTemplate.d.ts +3 -6
  324. package/src/foundry/common/documents.mjs/baseNote.d.ts +3 -6
  325. package/src/foundry/common/documents.mjs/basePlaylist.d.ts +2 -4
  326. package/src/foundry/common/documents.mjs/basePlaylistSound.d.ts +3 -6
  327. package/src/foundry/common/documents.mjs/baseRollTable.d.ts +2 -4
  328. package/src/foundry/common/documents.mjs/baseScene.d.ts +2 -4
  329. package/src/foundry/common/documents.mjs/baseSetting.d.ts +2 -4
  330. package/src/foundry/common/documents.mjs/baseTableResult.d.ts +3 -6
  331. package/src/foundry/common/documents.mjs/baseTile.d.ts +2 -4
  332. package/src/foundry/common/documents.mjs/baseToken.d.ts +2 -4
  333. package/src/foundry/common/documents.mjs/baseUser.d.ts +3 -6
  334. package/src/foundry/common/documents.mjs/baseWall.d.ts +2 -4
  335. package/src/foundry/common/packages.mjs/moduleData.d.ts +1 -2
  336. package/src/foundry/common/packages.mjs/packageAuthorData.d.ts +1 -2
  337. package/src/foundry/common/packages.mjs/packageCompendiumData.d.ts +2 -4
  338. package/src/foundry/common/packages.mjs/packageData.d.ts +2 -4
  339. package/src/foundry/common/packages.mjs/packageDependencyData.d.ts +7 -6
  340. package/src/foundry/common/packages.mjs/packageLanguageData.d.ts +2 -4
  341. package/src/foundry/common/packages.mjs/systemData.d.ts +1 -2
  342. package/src/foundry/common/packages.mjs/worldData.d.ts +1 -2
  343. package/src/foundry/index.d.ts +2 -75
  344. package/src/foundry/templates/index.d.ts +1 -0
  345. package/src/foundry/templates/views/layouts/main.hbs.d.ts +11 -0
  346. package/src/types/config.d.ts +183 -0
  347. package/src/types/index.d.ts +1 -0
  348. package/src/foundry/foundry.js/applications/basePlaceableHUDs/index.d.ts +0 -3
  349. package/src/foundry/foundry.js/applications/cameraViews.d.ts +0 -177
  350. package/src/foundry/foundry.js/applications/formApplication.d.ts +0 -341
  351. package/src/foundry/foundry.js/applications/formApplications/avConfig.d.ts +0 -85
  352. package/src/foundry/foundry.js/applications/formApplications/combatTrackerConfig.d.ts +0 -37
  353. package/src/foundry/foundry.js/applications/formApplications/documentSheet.d.ts +0 -115
  354. package/src/foundry/foundry.js/applications/formApplications/documentSheets/cardsConfigs/cardsHand.d.ts +0 -20
  355. package/src/foundry/foundry.js/applications/formApplications/documentSheets/cardsConfigs/cardsPile.d.ts +0 -20
  356. package/src/foundry/foundry.js/applications/formApplications/documentSheets/cardsConfigs/index.d.ts +0 -2
  357. package/src/foundry/foundry.js/applications/formApplications/documentSheets/index.d.ts +0 -22
  358. package/src/foundry/foundry.js/applications/formApplications/documentSheets/lightConfig.d.ts +0 -10
  359. package/src/foundry/foundry.js/applications/formApplications/imagePopout.d.ts +0 -165
  360. package/src/foundry/foundry.js/applications/formApplications/index.d.ts +0 -16
  361. package/src/foundry/foundry.js/applications/formApplications/tokenConfigs/defaultTokenConfig.d.ts +0 -79
  362. package/src/foundry/foundry.js/applications/formApplications/tokenConfigs/index.d.ts +0 -1
  363. package/src/foundry/foundry.js/applications/frameViewer.d.ts +0 -28
  364. package/src/foundry/foundry.js/applications/index.d.ts +0 -24
  365. package/src/foundry/foundry.js/applications/sidebarTabs/index.d.ts +0 -6
  366. package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/actorDirectory.d.ts +0 -21
  367. package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/index.d.ts +0 -8
  368. package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/itemDirectory.d.ts +0 -13
  369. package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/sceneDirectory.d.ts +0 -19
  370. package/src/foundry/foundry.js/avClients/index.d.ts +0 -1
  371. package/src/foundry/foundry.js/cameraPopoutAppWrapper.d.ts +0 -45
  372. package/src/foundry/foundry.js/clientDocuments/canvasDocuments/index.d.ts +0 -8
  373. package/src/foundry/foundry.js/clientDocuments/index.d.ts +0 -21
  374. package/src/foundry/foundry.js/clientDocuments/prototypeToken.d.ts +0 -25
  375. package/src/foundry/foundry.js/collections/documentCollections/index.d.ts +0 -3
  376. package/src/foundry/foundry.js/collections/index.d.ts +0 -2
  377. package/src/foundry/foundry.js/collisionResult.d.ts +0 -60
  378. package/src/foundry/foundry.js/globalVariables.d.ts +0 -103
  379. package/src/foundry/foundry.js/handlebarsHelpers.d.ts +0 -392
  380. package/src/foundry/foundry.js/pixi/containers/baseGrids/index.d.ts +0 -2
  381. package/src/foundry/foundry.js/pixi/containers/cachedContainers/index.d.ts +0 -1
  382. package/src/foundry/foundry.js/pixi/containers/canvasLayers/index.d.ts +0 -6
  383. package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/index.d.ts +0 -10
  384. package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/mapLayer.d.ts +0 -136
  385. package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/mapLayers/backgroundLayer.d.ts +0 -43
  386. package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/mapLayers/foregroundLayer.d.ts +0 -92
  387. package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/mapLayers/index.d.ts +0 -2
  388. package/src/foundry/foundry.js/pixi/containers/index.d.ts +0 -15
  389. package/src/foundry/foundry.js/pixi/filters/abstractBaseMaskFilter.d.ts +0 -40
  390. package/src/foundry/foundry.js/pixi/filters/abstractBaseMaskFilters/index.d.ts +0 -1
  391. package/src/foundry/foundry.js/pixi/filters/abstractBaseMaskFilters/inverseOcclusionMaskFilter.d.ts +0 -18
  392. package/src/foundry/foundry.js/pixi/filters/abstractFilter.d.ts +0 -42
  393. package/src/foundry/foundry.js/pixi/filters/abstractFilters/fogColorFilter.d.ts +0 -16
  394. package/src/foundry/foundry.js/pixi/filters/abstractFilters/forceColorFilter.d.ts +0 -17
  395. package/src/foundry/foundry.js/pixi/filters/abstractFilters/glowFilter.d.ts +0 -31
  396. package/src/foundry/foundry.js/pixi/filters/abstractFilters/index.d.ts +0 -4
  397. package/src/foundry/foundry.js/pixi/filters/abstractFilters/roofMaskFilter.d.ts +0 -20
  398. package/src/foundry/foundry.js/pixi/filters/index.d.ts +0 -4
  399. package/src/foundry/foundry.js/pixi/graphics/index.d.ts +0 -2
  400. package/src/foundry/foundry.js/pixi/index.d.ts +0 -11
  401. package/src/foundry/foundry.js/pixi/meshes/index.d.ts +0 -1
  402. package/src/foundry/foundry.js/pixi/points/index.d.ts +0 -1
  403. package/src/foundry/foundry.js/pixi/points/wallEndpoint.d.ts +0 -92
  404. package/src/foundry/foundry.js/pixi/polygons/index.d.ts +0 -2
  405. package/src/foundry/foundry.js/pixi/polygons/pointSourcePolygons/index.d.ts +0 -1
  406. package/src/foundry/foundry.js/pixi/rectangles/index.d.ts +0 -1
  407. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShader.d.ts +0 -114
  408. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveBackgroundShader.d.ts +0 -57
  409. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShader.d.ts +0 -47
  410. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/bewitchingWaveColorationShader.d.ts +0 -6
  411. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/chromaColorationShader.d.ts +0 -6
  412. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/emanationColorationShader.d.ts +0 -6
  413. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/energyFieldColorationShader.d.ts +0 -6
  414. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/fairyLightColorationShader.d.ts +0 -6
  415. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/fogColorationShader.d.ts +0 -6
  416. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/ghostLightColorationShader.d.ts +0 -6
  417. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/hexaDomeColorationShader.d.ts +0 -6
  418. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/index.d.ts +0 -16
  419. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/lightDomeColorationShader.d.ts +0 -6
  420. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/pulseColorationShader.d.ts +0 -17
  421. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/radialRainbowColorationShader.d.ts +0 -6
  422. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/sunburstColorationShader.d.ts +0 -6
  423. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/swirlingRainbowColorationShader.d.ts +0 -6
  424. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/torchColorationShader.d.ts +0 -18
  425. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/vortexColorationShader.d.ts +0 -6
  426. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/waveColorationShader.d.ts +0 -6
  427. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShader.d.ts +0 -63
  428. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/bewitchingWaveIlluminationShader.d.ts +0 -6
  429. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/blackHoleIlluminationShader.d.ts +0 -6
  430. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/fairyLightIlluminationShader.d.ts +0 -6
  431. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/ghostLightIlluminationShader.d.ts +0 -6
  432. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/index.d.ts +0 -10
  433. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/pulseIlluminationShader.d.ts +0 -6
  434. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/roilingIlluminationShader.d.ts +0 -6
  435. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/sunburstIlluminationShader.d.ts +0 -6
  436. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/torchIlluminationShader.d.ts +0 -6
  437. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/vortexIlluminationShader.d.ts +0 -6
  438. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/waveIlluminationShader.d.ts +0 -6
  439. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/index.d.ts +0 -5
  440. package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/index.d.ts +0 -3
  441. package/src/foundry/foundry.js/pixi/shaders/index.d.ts +0 -2
  442. package/src/foundry/foundry.js/pixi/texts/index.d.ts +0 -1
  443. package/src/foundry/foundry.js/pixi/transforms/index.d.ts +0 -1
  444. package/src/foundry/foundry.js/pixi/transforms/synchronizedTransform.d.ts +0 -38
  445. package/src/foundry/foundry.js/pointSources/index.d.ts +0 -3
  446. package/src/foundry/foundry.js/polygonEdge.d.ts +0 -26
  447. package/src/foundry/foundry.js/polygonVertex.d.ts +0 -89
  448. package/src/foundry/foundry.js/quadtreeCulling.d.ts +0 -11
  449. package/src/foundry/foundry.js/rays/index.d.ts +0 -1
  450. package/src/foundry/foundry.js/rays/sightRay.d.ts +0 -34
  451. package/src/foundry/foundry.js/specialEffects/index.d.ts +0 -3
  452. package/src/foundry/foundry.js/templateUtils.d.ts +0 -39
  453. package/src/foundry/foundry.js/textureUtils.d.ts +0 -25
@@ -1,165 +0,0 @@
1
- interface ImagePopoutOptions extends FormApplicationOptions {
2
- /**
3
- * Can this image be shared with connected users?
4
- * @defaultValue `false`
5
- */
6
- shareable: boolean;
7
-
8
- /**
9
- * The UUID of some related {@link Document}.
10
- * @defaultValue `null`
11
- */
12
- uuid: string | null;
13
- }
14
-
15
- /**
16
- * An Image Popout Application which features a single image in a lightbox style frame.
17
- * This popout can also be used as a form, allowing the user to edit an image which is being used.
18
- * Furthermore, this application allows for sharing the display of an image with other connected players.
19
- *
20
- * @typeParam Options - The type of the options object
21
- * @typeParam Data - The data structure used to render the handlebars template.
22
- *
23
- * @example
24
- * ```typescript
25
- * // Construct the Application instance
26
- * const ip = new ImagePopout("path/to/image.jpg", {
27
- * title: "My Featured Image",
28
- * shareable: true,
29
- * uuid: game.actors.getName("My Hero").uuid
30
- * });
31
- *
32
- * // Display the image popout
33
- * ip.render(true);
34
- *
35
- * // Share the image with other connected players
36
- * ip.share();
37
- * ```
38
- */
39
- declare class ImagePopout<
40
- Options extends ImagePopoutOptions = ImagePopoutOptions,
41
- Data extends object = ImagePopout.Data
42
- > extends FormApplication<Options, Data, string> {
43
- constructor(src: string, options?: Partial<ImagePopout.Options>);
44
-
45
- /**
46
- * @defaultValue `null`
47
- */
48
- protected _related: foundry.abstract.Document<any, any> | null;
49
-
50
- /**
51
- * @override
52
- * @defaultValue
53
- * ```typescript
54
- * foundry.utils.mergeObject(super.defaultOptions, {
55
- * template: "templates/apps/image-popout.html",
56
- * classes: ["image-popout", "dark"],
57
- * editable: false,
58
- * resizable: true,
59
- * shareable: false,
60
- * uuid: null
61
- * })
62
- * ```
63
- */
64
- static get defaultOptions(): ImagePopoutOptions;
65
-
66
- /** @override */
67
- get title(): string;
68
-
69
- /** @override */
70
- getData(options?: Partial<Options> | undefined): Promise<Data>;
71
-
72
- /**
73
- * Test whether the title of the image popout should be visible to the user
74
- */
75
- isTitleVisible(): boolean;
76
-
77
- /**
78
- * Provide a reference to the Document referenced by this popout, if one exists
79
- */
80
- getRelatedObject(): Promise<foundry.abstract.Document<any, any> | null>;
81
-
82
- /** @override */
83
- protected _render(force?: boolean, options?: Application.RenderOptions<Options> | undefined): Promise<void>;
84
-
85
- /** @override */
86
- protected _getHeaderButtons(): Application.HeaderButton[];
87
-
88
- /**
89
- * Determine the correct position and dimensions for the displayed image
90
- * @returns The positioning object which should be used for rendering
91
- */
92
- protected static getPosition(
93
- img: string
94
- ): Promise<{ width: number; height: number } | { width: number; height: number; top: number; left: number }>;
95
-
96
- /**
97
- * Determine the Image dimensions given a certain path
98
- */
99
- static getImageSize(path: string): Promise<[width: number, height: number]>;
100
-
101
- /**
102
- * Share the displayed image with other connected Users
103
- */
104
- shareImage(): void;
105
-
106
- /**
107
- * Handle a received request to display an image.
108
- */
109
- protected static _handleShareImage({
110
- image,
111
- title,
112
- uuid
113
- }?: {
114
- image: string;
115
- title: string;
116
- uuid: string;
117
- }): ImagePopout;
118
-
119
- /**
120
- * @override
121
- * @remarks Not implemented for ImagePopout
122
- */
123
- protected _updateObject(event: Event, formData?: object): never;
124
- }
125
-
126
- declare namespace ImagePopout {
127
- interface Options extends FormApplicationOptions {
128
- /**
129
- * @defaultValue `'templates/apps/image-popout.html'`
130
- */
131
- template: string;
132
-
133
- /**
134
- * @defaultValue `['image-popout', 'dark']`
135
- */
136
- classes: string[];
137
-
138
- /**
139
- * @defaultValue `false`
140
- */
141
- editable: boolean;
142
-
143
- /**
144
- * @defaultValue `true`
145
- */
146
- resizable: boolean;
147
-
148
- /**
149
- * @defaultValue `false`
150
- */
151
- shareable: boolean;
152
-
153
- /**
154
- * @defaultValue `null`
155
- */
156
- uuid: string | null;
157
- }
158
-
159
- interface Data {
160
- image: string;
161
- options: Options;
162
- title: string;
163
- showTitle: boolean;
164
- }
165
- }
@@ -1,16 +0,0 @@
1
- import './avConfig';
2
- import './combatTrackerConfig';
3
- import './documentSheet';
4
- import './documentSheetConfig';
5
- import './documentSheets';
6
- import './drawingConfig';
7
- import './gridConfig';
8
- import './imagePopout';
9
- import './keybindingsConfig';
10
- import './moduleManagement';
11
- import './permissionConfig';
12
- import './settingsConfig';
13
- import './tokenConfig';
14
- import './tokenConfigs';
15
- import './wallConfig';
16
- import './worldConfig';
@@ -1,79 +0,0 @@
1
- import type { ConfiguredDocumentClassForName } from '../../../../../types/helperTypes';
2
- import type { TokenBarData } from '../../../../common/data/data.mjs/tokenBarData';
3
-
4
- declare global {
5
- /**
6
- * A sheet that alters the values of the default Token configuration used when new Token documents are created.
7
- */
8
- class DefaultTokenConfig<
9
- Options extends FormApplicationOptions = FormApplicationOptions,
10
- Data extends DefaultTokenConfig.Data = DefaultTokenConfig.Data
11
- > extends TokenConfig<Options, Data> {
12
- constructor(object: unknown, options?: Partial<Options> | undefined);
13
-
14
- data: foundry.data.TokenData;
15
-
16
- object: InstanceType<ConfiguredDocumentClassForName<'Token'>>;
17
-
18
- token: InstanceType<ConfiguredDocumentClassForName<'Token'>>;
19
-
20
- /**
21
- * The named world setting that stores the default Token configuration
22
- * @defaultValue `"defaultToken"`
23
- */
24
- static SETTING: string;
25
-
26
- /**
27
- * @override
28
- * @defaultValue
29
- * ```typescript
30
- * foundry.utils.mergeObject(super.defaultOptions, {
31
- * template: "templates/scene/default-token-config.html",
32
- * sheetConfig: false
33
- * })
34
- * ```
35
- */
36
- static get defaultOptions(): FormApplicationOptions;
37
-
38
- /** @override */
39
- get id(): string;
40
-
41
- /** @override */
42
- get title(): string;
43
-
44
- /** @override */
45
- getData(options: unknown): Data | Promise<Data>;
46
-
47
- /** @override */
48
- _getSubmitData(
49
- updateData?: Parameters<TokenConfig['_getSubmitData']>[0]
50
- ): ReturnType<TokenConfig['_getSubmitData']>;
51
-
52
- /** @override */
53
- _updateObject(event: Event, formData?: object): Promise<unknown>;
54
-
55
- /** @override */
56
- activateListeners(html: JQuery): void;
57
-
58
- /**
59
- * Reset the form to default values
60
- */
61
- reset(): void;
62
-
63
- /** @override */
64
- protected _onBarChange(): Promise<void>;
65
- }
66
-
67
- namespace DefaultTokenConfig {
68
- interface Data<Options extends FormApplicationOptions = FormApplicationOptions>
69
- extends Omit<TokenConfig.Data<Options>, 'object' | 'bar1' | 'bar2'> {
70
- object: foundry.data.TokenData['_source'];
71
- isDefault: true;
72
- barAttributes: ReturnType<typeof TokenDocument['getTrackedAttributeChoices']>;
73
- bar1: TokenBarData;
74
- bar2: TokenBarData;
75
- }
76
- }
77
- }
78
-
79
- export {};
@@ -1 +0,0 @@
1
- import './defaultTokenConfig';
@@ -1,28 +0,0 @@
1
- /**
2
- * A simple window application which shows the built documentation pages within an iframe
3
- */
4
- declare class FrameViewer extends Application {
5
- url: string;
6
-
7
- /**
8
- * @override
9
- * @defaultValue
10
- * ```
11
- * mergeObject(super.defaultOptions, {
12
- * height: window.innerHeight * 0.9,
13
- * width: Math.min(window.innerWidth * 0.9, 1200),
14
- * top: (window.innerHeight - height) / 2,
15
- * left: (window.innerWidth - width) / 2,
16
- * id: "documentation",
17
- * template: "templates/apps/documentation.html",
18
- * })
19
- * ```
20
- */
21
- static get defaultOptions(): typeof Application['defaultOptions'];
22
-
23
- /** @override */
24
- getData(options?: Partial<ApplicationOptions>): Promise<{ src: string }>;
25
-
26
- /** @override */
27
- close(options?: Application.CloseOptions): ReturnType<Application['close']>;
28
- }
@@ -1,24 +0,0 @@
1
- import './basePlaceableHUD';
2
- import './basePlaceableHUDs';
3
- import './cameraViews';
4
- import './chatPopout';
5
- import './compendium';
6
- import './controlsReference';
7
- import './dialog';
8
- import './filePicker';
9
- import './formApplication';
10
- import './formApplications';
11
- import './frameViewer';
12
- import './headsUpDisplay';
13
- import './hotbar';
14
- import './invitationLinks';
15
- import './mainMenu';
16
- import './notifications';
17
- import './pause';
18
- import './playerList';
19
- import './sceneControls';
20
- import './sceneNavigation';
21
- import './sidebar';
22
- import './sidebarTab';
23
- import './sidebarTabs';
24
- import './supportDetails';
@@ -1,6 +0,0 @@
1
- import './chatLog';
2
- import './combatTracker';
3
- import './compendiumDirectory';
4
- import './settings';
5
- import './sidebarDirectory';
6
- import './sidebarDirectories';
@@ -1,21 +0,0 @@
1
- /**
2
- * The sidebar directory which organizes and displays world-level Actor documents.
3
- */
4
- declare class ActorDirectory extends SidebarDirectory<'Actor'> {
5
- constructor(...args: ConstructorParameters<typeof SidebarDirectory>);
6
-
7
- /** @override */
8
- static documentName: 'Actor';
9
-
10
- /** @override */
11
- protected _canDragStart(selector: string): boolean;
12
-
13
- /** @override */
14
- protected _onDragStart(event: DragEvent): void;
15
-
16
- /** @override */
17
- protected _canDragDrop(selector: string): boolean;
18
-
19
- /** @override */
20
- protected _getEntryContextOptions(): ContextMenuEntry[];
21
- }
@@ -1,8 +0,0 @@
1
- import './actorDirectory';
2
- import './cardsDirectory';
3
- import './itemDirectory';
4
- import './journalDirectory';
5
- import './macroDirectory';
6
- import './playlistDirectory';
7
- import './rollTableDirectory';
8
- import './sceneDirectory';
@@ -1,13 +0,0 @@
1
- /**
2
- * The sidebar directory which organizes and displays world-level Item documents.
3
- */
4
- declare class ItemDirectory extends SidebarDirectory<'Item'> {
5
- /** @override */
6
- static documentName: 'Item';
7
-
8
- /** @override */
9
- protected _canDragDrop(selector: string): boolean;
10
-
11
- /** @override */
12
- protected _getEntryContextOptions(): ContextMenuEntry[];
13
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * A directory listing of active game scenes
3
- */
4
- declare class SceneDirectory extends SidebarDirectory<'Scene'> {
5
- /** @override */
6
- static documentName: 'Scene';
7
-
8
- /**
9
- * @override
10
- * @defaultValue `"templates/sidebar/scene-partial.html"`
11
- */
12
- static documentPartial: string;
13
-
14
- /** @override */
15
- protected _render(force?: boolean, options?: Application.RenderOptions<SidebarDirectory.Options>): Promise<void>;
16
-
17
- /** @override */
18
- protected _getEntryContextOptions(): ContextMenuEntry[];
19
- }
@@ -1 +0,0 @@
1
- import './simplePeerAVClient';
@@ -1,45 +0,0 @@
1
- /**
2
- * Abstraction of the Application interface to be used with the Draggable class as a substitute for the app
3
- * This class will represent one popout feed window and handle its positioning and draggability
4
- */
5
- declare class CameraPopoutAppWrapper {
6
- /**
7
- * @param view - The CameraViews application that this popout belongs to
8
- * @param userId - ID of the user this popout belongs to
9
- * @param element - The div element of this specific popout window
10
- */
11
- constructor(view: CameraViews, userId: string, element: JQuery);
12
-
13
- /**
14
- * The CameraViews application that this popout belongs to
15
- */
16
- view: CameraViews;
17
-
18
- /**
19
- * The div element of this specific popout window
20
- */
21
- element: JQuery;
22
-
23
- /**
24
- * ID of the user this popout belongs to
25
- */
26
- userId: string;
27
-
28
- /** @defaultValue `true` */
29
- popOut: boolean;
30
-
31
- /** @defaultValue `{}` */
32
- options: Record<string, unknown>;
33
-
34
- /**
35
- * Get the current position of this popout window
36
- */
37
- get position(): Application.Position;
38
-
39
- setPosition(options?: Partial<Application.Position>): (Application.Position & { height: number }) | void;
40
-
41
- /** @internal */
42
- protected _onResize(event: Event): void;
43
-
44
- bringToTop(): void;
45
- }
@@ -1,8 +0,0 @@
1
- import './ambientLightDocument';
2
- import './ambientSoundDocument';
3
- import './drawingDocument';
4
- import './measuredTemplateDocument';
5
- import './noteDocument';
6
- import './tileDocument';
7
- import './tokenDocument';
8
- import './wallDocument';
@@ -1,21 +0,0 @@
1
- import './activeEffect';
2
- import './actor';
3
- import './canvasDocuments';
4
- import './card';
5
- import './cards';
6
- import './chatMessage';
7
- import './combat';
8
- import './combatant';
9
- import './fogExploration';
10
- import './folder';
11
- import './item';
12
- import './journalEntry';
13
- import './macro';
14
- import './playlist';
15
- import './playlistSound';
16
- import './prototypeToken';
17
- import './rollTable';
18
- import './scene';
19
- import './setting';
20
- import './tableResult';
21
- import './user';
@@ -1,25 +0,0 @@
1
- import type { PrototypeTokenDataConstructorData } from '../../common/data/data.mjs/prototypeTokenData';
2
-
3
- declare global {
4
- /**
5
- * An extended Document definition used specifically
6
- * This ensures that the PrototypeTokenData schema is used instead of the standard TokenData.
7
- * This exists specifically for prototype Token configuration in the TokenConfig app and should not be used otherwise.
8
- * @internal
9
- * @remarks The types for this are incorrect, in particular everything related to the data should use
10
- * {@link foundry.data.PrototypeTokenData} instead of {@link foundry.data.TokenData}. However, with the current approach
11
- * to type documents, we don't see a way to do this. This class is just added for reference. As the documentation above
12
- * says, don't use it (there really shouldn't be a need to do so).
13
- */
14
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
15
- // @ts-ignore
16
- class PrototypeTokenDocument extends TokenDocument {
17
- static get schema(): typeof foundry.data.PrototypeTokenData;
18
-
19
- /** @override */
20
- update(
21
- data?: DeepPartial<PrototypeTokenDataConstructorData> | undefined,
22
- context?: (DocumentModificationContext & foundry.utils.MergeObjectOptions) | undefined
23
- ): Promise<this | undefined>;
24
- }
25
- }
@@ -1,3 +0,0 @@
1
- import './compendiumCollection';
2
- import './worldCollection';
3
- import './worldCollections';
@@ -1,2 +0,0 @@
1
- import './documentCollection';
2
- import './documentCollections';
@@ -1,60 +0,0 @@
1
- /**
2
- * An object containing the result of a collision test.
3
- * @internal
4
- */
5
- declare class CollisionResult {
6
- constructor(values?: {
7
- target?: PolygonVertex | null;
8
- collisions?: PolygonVertex[];
9
- cwEdges?: EdgeSet;
10
- ccwEdges?: EdgeSet;
11
- isBehind?: boolean;
12
- isLimited?: boolean;
13
- isRequired?: boolean;
14
- wasLimited?: boolean;
15
- });
16
-
17
- /**
18
- * The vertex that was the target of this result
19
- * @defaultValue `null`
20
- */
21
- target: PolygonVertex | null;
22
-
23
- /**
24
- * The array of collision points which apply to this result
25
- * @defaultValue `[]`
26
- */
27
- collisions: PolygonVertex[];
28
-
29
- /**
30
- * The set of edges connected to the target vertex that continue clockwise
31
- * @defaultValue `new Set()`
32
- */
33
- cwEdges: EdgeSet;
34
-
35
- /**
36
- * The set of edges connected to the target vertex that continue counter-clockwise
37
- * @defaultValue `new Set()`
38
- */
39
- ccwEdges: EdgeSet;
40
-
41
- /**
42
- * Is the target vertex for this result behind some closer active edge?
43
- */
44
- isBehind: boolean | undefined;
45
-
46
- /**
47
- * Does the target vertex for this result impose a limited collision?
48
- */
49
- isLimited: boolean | undefined;
50
-
51
- /**
52
- * Is this result required due to a limited angle?
53
- */
54
- isRequired: boolean | undefined;
55
-
56
- /**
57
- * Has the set of collisions for this result encountered a limited edge?
58
- */
59
- wasLimited: boolean | undefined;
60
- }
@@ -1,103 +0,0 @@
1
- declare global {
2
- /**
3
- * Some global variables (such as {@link game}) are only initialized after certain events have happened during the
4
- * initialization of Foundry VTT. For that reason, the correct types for these variables include the types for the
5
- * uninitialized state.
6
- *
7
- * While this is correct from a type checking perspective, it can be inconvenient to have to type guard these global
8
- * variables everywhere. Some users might prefer the convenience over the 100% correctness in type checking.
9
- *
10
- * For this reason, this interface provides a way for users to configure certain global variables to be typed more
11
- * leniently, i.e., as the types of their initialized state. This is done via declaration merging. To configure a
12
- * specific global variable to be typed leniently, the user simply needs to merge a property with the name of the
13
- * variable into this interface (the type doesn't matter).
14
- *
15
- * The currently supported variables are:
16
- * - {@link game}
17
- * - {@link socket}
18
- * - {@link ui}
19
- * - {@link canvas}
20
- *
21
- * @example
22
- * ```typescript
23
- * declare global {
24
- * interface LenientGlobalVariableTypes {
25
- * game: never; // the type doesn't matter
26
- * }
27
- * }
28
- *
29
- * const referenceToGame: Game = game; // ok! :)
30
- * ```
31
- */
32
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
33
- interface LenientGlobalVariableTypes {}
34
-
35
- let vtt: 'Foundry VTT';
36
-
37
- /**
38
- * @defaultValue `{}`
39
- * @remarks
40
- * Initialized between the `'DOMContentLoaded'` event and the `'init'` hook event.
41
- */
42
- let game: 'game' extends keyof LenientGlobalVariableTypes ? Game : Game | {};
43
-
44
- /**
45
- * @defaultValue `null`
46
- * @remarks
47
- * Initialized between the `'DOMContentLoaded'` event and the `'init'` hook event.
48
- */
49
- let socket: 'socket' extends keyof LenientGlobalVariableTypes ? io.Socket : io.Socket | null;
50
-
51
- /**
52
- * A collection of application instances
53
- * @remarks
54
- * - All of the elements of {@link ui} except for `context` and `window` are initialized between the `'setup'` and `'ready'` hook events.
55
- * - In the `/stream` view, only `chat` is initialized but none of the other {@link Application}s.
56
- */
57
- let ui: {
58
- /**
59
- * @remarks
60
- * Initialized whenever a {@link ContextMenu} is opened, deleted when it's closed again.
61
- */
62
- context?: ContextMenu;
63
-
64
- /**
65
- * @defaultValue `{}`
66
- */
67
- windows: Record<number, Application>;
68
- } & ('ui' extends keyof LenientGlobalVariableTypes ? UiApplications : Partial<UiApplications>);
69
-
70
- /** The client-side console is the default logger */
71
- let logger: typeof console;
72
-
73
- /**
74
- * @defaultValue `undefined`
75
- * Initialized between the `'DOMContentLoaded'` event and the `'init'` hook event.
76
- */
77
- let canvas: 'canvas' extends keyof LenientGlobalVariableTypes ? Canvas : Canvas | undefined;
78
-
79
- /**
80
- * A "secret" global to help debug attributes of the currently controlled Token.
81
- * This is only for debugging, and may be removed in the future, so it's not safe to use.
82
- */
83
- let _token: InstanceType<CONFIG['Token']['objectClass']> | null;
84
-
85
- /*
86
- * Global Variables
87
- * The following variables are declared directly in foundry's HTML file (or more concretely, in `main.hbs`)
88
- */
89
-
90
- const SIGNED_EULA: boolean;
91
-
92
- const ROUTE_PREFIX: string;
93
-
94
- const MESSAGES:
95
- | { type: Notifications.Notification['type']; message: string; options: Notifications.Options }[]
96
- | null;
97
- }
98
-
99
- type UiApplications = {
100
- [Key in keyof CONFIG['ui']]: InstanceType<CONFIG['ui'][Key]>;
101
- };
102
-
103
- export {};