@league-of-foundry-developers/foundry-vtt-types 13.346.0-beta.20250924210526 → 13.346.0-beta.20250924210719
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
3
3
|
"name": "@league-of-foundry-developers/foundry-vtt-types",
|
4
|
-
"version": "13.346.0-beta.
|
4
|
+
"version": "13.346.0-beta.20250924210719",
|
5
5
|
"description": "TypeScript type definitions for Foundry VTT",
|
6
6
|
"type": "module",
|
7
7
|
"types": "./src/index.d.mts",
|
@@ -2,8 +2,6 @@ import type { fields } from "#common/data/_module.mjs";
|
|
2
2
|
import type { DataSchema } from "#common/data/fields.mjs";
|
3
3
|
import type { GetKey, ValueOf } from "#utils";
|
4
4
|
|
5
|
-
import ClientSettings = foundry.helpers.ClientSettings;
|
6
|
-
|
7
5
|
declare class AVSettings {
|
8
6
|
constructor();
|
9
7
|
|
@@ -68,11 +66,11 @@ declare class AVSettings {
|
|
68
66
|
|
69
67
|
changed(): void;
|
70
68
|
|
71
|
-
get<S extends
|
69
|
+
get<S extends "client" | "world">(scope: S, setting: string): unknown; // TODO: Improve once we have proper typing for dot notation
|
72
70
|
|
73
71
|
getUser(userId: string): AVSettings.UserSettings | null;
|
74
72
|
|
75
|
-
set<S extends
|
73
|
+
set<S extends "client" | "world">(scope: S, setting: string, value: unknown): void; // TODO: Improve once we have proper typing for dot notation
|
76
74
|
|
77
75
|
/**
|
78
76
|
* Return a mapping of AV settings for each game User.
|