From 9e9e26320ae9c03d9d81dc7142d3a000db93807f Mon Sep 17 00:00:00 2001 From: Luke Abby Date: Mon, 1 Jan 2024 15:13:04 -0800 Subject: [PATCH] Fix some default values --- src/foundry/client/apps/forms/user-config.d.ts | 2 +- src/foundry/client/apps/placeables/token-hud.d.ts | 2 +- src/foundry/client/config.d.ts | 4 ++-- src/foundry/client/dice/dice/coin.d.ts | 2 +- src/foundry/client/pixi/layers/controls/ruler.d.ts | 2 +- src/foundry/client/ui/context.d.ts | 2 +- src/foundry/common/data/data.mjs/noteData.d.ts | 4 ++-- src/foundry/common/data/data.mjs/sceneData.d.ts | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/foundry/client/apps/forms/user-config.d.ts b/src/foundry/client/apps/forms/user-config.d.ts index 16ff1a756..f7868b032 100644 --- a/src/foundry/client/apps/forms/user-config.d.ts +++ b/src/foundry/client/apps/forms/user-config.d.ts @@ -57,7 +57,7 @@ declare global { width: DocumentSheetOptions["width"]; /** - * @defaultValue `auto` + * @defaultValue `"auto"` */ height: DocumentSheetOptions["height"]; } diff --git a/src/foundry/client/apps/placeables/token-hud.d.ts b/src/foundry/client/apps/placeables/token-hud.d.ts index e201d5a5c..f91038214 100644 --- a/src/foundry/client/apps/placeables/token-hud.d.ts +++ b/src/foundry/client/apps/placeables/token-hud.d.ts @@ -112,7 +112,7 @@ declare global { { overlay, }?: { - /** @defaultValue `@false` */ + /** @defaultValue `false` */ overlay?: boolean; }, ): Promise; diff --git a/src/foundry/client/config.d.ts b/src/foundry/client/config.d.ts index 37de6da81..ad29d03ef 100644 --- a/src/foundry/client/config.d.ts +++ b/src/foundry/client/config.d.ts @@ -1481,7 +1481,7 @@ declare global { /** @defaultValue `AmbientLightDocument` */ objectClass: ConfiguredObjectClassOrDefault; - /** @defaultValue `AmbientLightDocument` */ + /** @defaultValue `LightingLayer` */ layerClass: typeof LightingLayer; }; @@ -1637,7 +1637,7 @@ declare global { */ WebRTC: { /** @defaultValue `SimplePeerAVClient` */ - clientClass: PropertyTypeOrFallback; + clientClass: PropertyTypeOrFallback; /** @defaultValue `50` */ detectPeerVolumeInterval: number; diff --git a/src/foundry/client/dice/dice/coin.d.ts b/src/foundry/client/dice/dice/coin.d.ts index edc6d0ccb..1748cfe7c 100644 --- a/src/foundry/client/dice/dice/coin.d.ts +++ b/src/foundry/client/dice/dice/coin.d.ts @@ -7,7 +7,7 @@ declare class Coin extends DiceTerm { faces: 2; /** - * @defaultValue `c` + * @defaultValue `"c"` */ static DENOMINATION: string; diff --git a/src/foundry/client/pixi/layers/controls/ruler.d.ts b/src/foundry/client/pixi/layers/controls/ruler.d.ts index b7a02e429..189c1af87 100644 --- a/src/foundry/client/pixi/layers/controls/ruler.d.ts +++ b/src/foundry/client/pixi/layers/controls/ruler.d.ts @@ -39,7 +39,7 @@ declare global { /** * The ruler name - used to differentiate between players - * @defaultValue `Ruler.${user.id}` + * @defaultValue `"Ruler." + user.id` */ name: string; diff --git a/src/foundry/client/ui/context.d.ts b/src/foundry/client/ui/context.d.ts index be02d27bd..96fe2b3fd 100644 --- a/src/foundry/client/ui/context.d.ts +++ b/src/foundry/client/ui/context.d.ts @@ -164,7 +164,7 @@ declare namespace ContextMenu { interface ConstructorOptions { /** * The name of the hook to call - * @defaultValue `EntryContext` + * @defaultValue `"EntryContext"` */ hookName?: string; diff --git a/src/foundry/common/data/data.mjs/noteData.d.ts b/src/foundry/common/data/data.mjs/noteData.d.ts index c3b3b499e..8fb4066e1 100644 --- a/src/foundry/common/data/data.mjs/noteData.d.ts +++ b/src/foundry/common/data/data.mjs/noteData.d.ts @@ -117,7 +117,7 @@ interface NoteDataProperties { /** * The string that defines the color with which the note text is rendered - * @defaultValue `#FFFFFF` + * @defaultValue `"#FFFFFF"` */ textColor: string | null; @@ -196,7 +196,7 @@ interface NoteDataConstructorData { /** * The string that defines the color with which the note text is rendered - * @defaultValue `#FFFFFF` + * @defaultValue `"#FFFFFF"` */ textColor?: string | null | undefined; diff --git a/src/foundry/common/data/data.mjs/sceneData.d.ts b/src/foundry/common/data/data.mjs/sceneData.d.ts index d0e340129..ad394206f 100644 --- a/src/foundry/common/data/data.mjs/sceneData.d.ts +++ b/src/foundry/common/data/data.mjs/sceneData.d.ts @@ -441,7 +441,7 @@ interface SceneDataConstructorData { /** * The color of the canvas which is displayed behind the scene background - * @defaultValue `#999999` + * @defaultValue `"#999999"` */ backgroundColor?: string | null | undefined; @@ -471,7 +471,7 @@ interface SceneDataConstructorData { /** * A string representing the color used to render the grid lines - * @defaultValue `#000000` + * @defaultValue `"#000000"` */ gridColor?: string | null | undefined;