@league-of-foundry-developers/foundry-vtt-types 13.346.0-beta.20250710155653 → 13.346.0-beta.20250711091813
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/foundry/client/applications/api/application.d.mts +23 -11
- package/src/foundry/client/applications/api/category-browser.d.mts +11 -2
- package/src/foundry/client/applications/api/dialog.d.mts +6 -2
- package/src/foundry/client/applications/api/document-sheet.d.mts +16 -9
- package/src/foundry/client/applications/apps/av/camera-popout.d.mts +14 -3
- package/src/foundry/client/applications/apps/av/cameras.d.mts +14 -3
- package/src/foundry/client/applications/apps/combat-tracker-config.d.mts +15 -3
- package/src/foundry/client/applications/apps/compendium-art-config.d.mts +12 -2
- package/src/foundry/client/applications/apps/file-picker.d.mts +11 -1
- package/src/foundry/client/applications/apps/image-popout.d.mts +11 -1
- package/src/foundry/client/applications/apps/permission-config.d.mts +12 -2
- package/src/foundry/client/applications/dice/roll-resolver.d.mts +14 -1
- package/src/foundry/client/applications/hud/container.d.mts +11 -2
- package/src/foundry/client/applications/hud/placeable-hud.d.mts +14 -2
- package/src/foundry/client/applications/settings/dependency-resolution.d.mts +17 -3
- package/src/foundry/client/applications/settings/menus/av-config.d.mts +12 -3
- package/src/foundry/client/applications/settings/menus/dice-config.d.mts +15 -3
- package/src/foundry/client/applications/settings/menus/font-config.d.mts +14 -2
- package/src/foundry/client/applications/settings/menus/prototype-overrides.d.mts +14 -3
- package/src/foundry/client/applications/settings/menus/ui-config.d.mts +15 -4
- package/src/foundry/client/applications/sheets/token/prototype-config.d.mts +17 -3
- package/src/foundry/client/applications/sidebar/apps/chat-popout.d.mts +12 -3
- package/src/foundry/client/applications/sidebar/apps/frame-viewer.d.mts +12 -3
- package/src/foundry/client/applications/sidebar/apps/invitation-links.d.mts +17 -3
- package/src/foundry/client/applications/sidebar/apps/module-management.d.mts +17 -3
- package/src/foundry/client/applications/sidebar/apps/support-details.d.mts +16 -3
- package/src/foundry/client/applications/sidebar/apps/world-config.d.mts +15 -3
- package/src/foundry/client/applications/sidebar/document-directory.d.mts +14 -2
- package/src/foundry/client/applications/sidebar/sidebar-tab.d.mts +14 -1
- package/src/foundry/client/applications/sidebar/sidebar.d.mts +11 -3
- package/src/foundry/client/applications/ui/game-pause.d.mts +12 -3
- package/src/foundry/client/applications/ui/hotbar.d.mts +15 -5
- package/src/foundry/client/applications/ui/main-menu.d.mts +13 -3
- package/src/foundry/client/applications/ui/players.d.mts +13 -3
- package/src/foundry/client/applications/ui/region-legend.d.mts +11 -2
- package/src/foundry/client/applications/ui/scene-controls.d.mts +15 -3
- package/src/foundry/client/applications/ui/scene-navigation.d.mts +12 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Identity } from "#utils";
|
1
|
+
import type { DeepPartial, Identity } from "#utils";
|
2
2
|
import type ApplicationV2 from "../api/application.d.mts";
|
3
3
|
import type HandlebarsApplicationMixin from "../api/handlebars-application.d.mts";
|
4
4
|
|
@@ -18,7 +18,10 @@ declare class SceneControls<
|
|
18
18
|
RenderContext extends SceneControls.RenderContext = SceneControls.RenderContext,
|
19
19
|
Configuration extends SceneControls.Configuration = SceneControls.Configuration,
|
20
20
|
RenderOptions extends SceneControls.RenderOptions = SceneControls.RenderOptions,
|
21
|
-
> extends HandlebarsApplicationMixin(ApplicationV2)<RenderContext, Configuration, RenderOptions> {
|
21
|
+
> extends HandlebarsApplicationMixin(ApplicationV2)<RenderContext, Configuration, RenderOptions> {
|
22
|
+
// Fake override.
|
23
|
+
static override DEFAULT_OPTIONS: SceneControls.DefaultOptions;
|
24
|
+
}
|
22
25
|
|
23
26
|
declare namespace SceneControls {
|
24
27
|
interface Any extends AnySceneControls {}
|
@@ -102,7 +105,16 @@ declare namespace SceneControls {
|
|
102
105
|
reference: string;
|
103
106
|
}
|
104
107
|
|
105
|
-
interface Configuration extends
|
108
|
+
interface Configuration<SceneControls extends SceneControls.Any = SceneControls.Any>
|
109
|
+
extends ApplicationV2.Configuration<SceneControls> {}
|
110
|
+
|
111
|
+
// Note(LukeAbby): This `& object` is so that the `DEFAULT_OPTIONS` can be overridden more easily
|
112
|
+
// Without it then `static override DEFAULT_OPTIONS = { unrelatedProp: 123 }` would error.
|
113
|
+
type DefaultOptions<SceneControls extends SceneControls.Any = SceneControls.Any> = DeepPartial<
|
114
|
+
Configuration<SceneControls>
|
115
|
+
> &
|
116
|
+
object;
|
117
|
+
|
106
118
|
interface RenderOptions extends ApplicationV2.RenderOptions {}
|
107
119
|
}
|
108
120
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Identity } from "#utils";
|
1
|
+
import type { DeepPartial, Identity } from "#utils";
|
2
2
|
import type ApplicationV2 from "../api/application.d.mts";
|
3
3
|
import type HandlebarsApplicationMixin from "../api/handlebars-application.d.mts";
|
4
4
|
|
@@ -40,7 +40,17 @@ declare namespace SceneNavigation {
|
|
40
40
|
canExpand: number;
|
41
41
|
}
|
42
42
|
|
43
|
-
interface Configuration extends
|
43
|
+
interface Configuration<SceneNavigation extends SceneNavigation.Any = SceneNavigation.Any>
|
44
|
+
extends HandlebarsApplicationMixin.Configuration,
|
45
|
+
ApplicationV2.Configuration<SceneNavigation> {}
|
46
|
+
|
47
|
+
// Note(LukeAbby): This `& object` is so that the `DEFAULT_OPTIONS` can be overridden more easily
|
48
|
+
// Without it then `static override DEFAULT_OPTIONS = { unrelatedProp: 123 }` would error.
|
49
|
+
type DefaultOptions<SceneNavigation extends SceneNavigation.Any = SceneNavigation.Any> = DeepPartial<
|
50
|
+
Configuration<SceneNavigation>
|
51
|
+
> &
|
52
|
+
object;
|
53
|
+
|
44
54
|
interface RenderOptions extends HandlebarsApplicationMixin.RenderOptions, ApplicationV2.RenderOptions {}
|
45
55
|
}
|
46
56
|
|