From 483bcba8c649b3449fbff0d09c0fbc8729d56568 Mon Sep 17 00:00:00 2001 From: JPMeehan Date: Thu, 9 Nov 2023 14:19:14 -0800 Subject: [PATCH 1/2] Linked Journals --- src/foundry/client/apps/forms/scene-config.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/foundry/client/apps/forms/scene-config.d.ts b/src/foundry/client/apps/forms/scene-config.d.ts index ab3b45332..0c86b16ba 100644 --- a/src/foundry/client/apps/forms/scene-config.d.ts +++ b/src/foundry/client/apps/forms/scene-config.d.ts @@ -85,6 +85,12 @@ declare global { */ _onChangePlaylist(event: JQuery.ChangeEvent): void; + /** + * Handle updating the select menu of JournalEntryPage options when the JournalEntry is changed. + * @param event - The initiating select change event. + */ + protected _onChangeJournal(event: JQuery.ChangeEvent): void; + /** * Handle click events to open the grid configuration application * @param event - The originating click event @@ -115,6 +121,7 @@ declare global { "initial.x": number | null; "initial.y": number | null; journal: string; + journalEntryPage: string; name: string; navName: string; navigation: boolean; From 4f3e525304fc6b453d78f31b5818ad50e56a57c2 Mon Sep 17 00:00:00 2001 From: JPMeehan Date: Thu, 9 Nov 2023 14:26:56 -0800 Subject: [PATCH 2/2] More FormData updates --- src/foundry/client/apps/forms/scene-config.d.ts | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/foundry/client/apps/forms/scene-config.d.ts b/src/foundry/client/apps/forms/scene-config.d.ts index 0c86b16ba..84a9f37b1 100644 --- a/src/foundry/client/apps/forms/scene-config.d.ts +++ b/src/foundry/client/apps/forms/scene-config.d.ts @@ -103,17 +103,23 @@ declare global { namespace SceneConfig { type FormData = { backgroundColor: string; + "background.src": string; + "background.offsetX": number; + "background.offsetY": number; darkness: number; fogExploration: boolean; + fogOverlay: string; + fogUnexploredColor: string; foreground: string; + foregroundElevation: number; globalLight: boolean; globalLightThreshold: number; grid: number | null; - gridAlpha: number; - gridColor: string; - gridDistance: number | null; - gridType: foundry.CONST.GRID_TYPES; - gridUnits: string; + "grid.alpha": number; + "grid.color": string; + "grid.distance": number | null; + "grid.type": foundry.CONST.GRID_TYPES; + "grid.units": string; hasGlobalThreshold: boolean; height: number | null; img: string; @@ -128,6 +134,7 @@ declare global { padding: number; "permission.default": foundry.CONST.DOCUMENT_OWNERSHIP_LEVELS; playlist: string; + playlistSound: string; shiftX: number | null; shiftY: number | null; tokenVision: boolean;