Skip to content

Commit 3849b61

Browse files
committed
Update head.d.ts to v10.2788888888ds on League-of-Foundry-Developers#2192 for Color
1 parent 8dad13e commit 3849b61

File tree

3 files changed

+27
-12
lines changed

3 files changed

+27
-12
lines changed

src/foundry/client/head.d.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,34 @@
11
import * as ProseMirrorObject from '../prosemirror/prosemirror';
22

33
declare global {
4+
/**
5+
* The string prefix used to prepend console logging
6+
*/
47
let vtt: 'Foundry VTT';
58

69
/**
10+
* The singleton Game instance
711
* @defaultValue `{}`
812
* @remarks
913
* Initialized between the `'DOMContentLoaded'` event and the `'init'` hook event.
1014
*/
1115
let game: 'game' extends keyof LenientGlobalVariableTypes ? Game : Game | {};
1216

17+
/**
18+
* The global boolean for whether the EULA is signed
19+
*/
20+
let SIGNED_EULA: boolean;
21+
22+
/**
23+
* The global route prefix which is applied to this game
24+
*/
25+
let ROUTE_PREFIX: string;
26+
27+
/**
28+
* Critical server-side startup messages which need to be displayed to the client.
29+
*/
30+
let MESSAGES: { type: Notifications.Notification['type']; message: string; options: Notifications.Options }[] | null;
31+
1332
/**
1433
* @defaultValue `null`
1534
* @remarks
@@ -36,9 +55,17 @@ declare global {
3655
windows: Record<number, Application>;
3756
} & ('ui' extends keyof LenientGlobalVariableTypes ? UiApplications : Partial<UiApplications>);
3857

58+
/**
59+
* The client side console logger
60+
*/
3961
let logger: typeof console;
4062

4163
let ProseMirror: typeof ProseMirrorObject;
64+
65+
/**
66+
* The Color management and manipulation class
67+
*/
68+
let Color: unknown; // foundry.utils.Color;
4269
}
4370

4471
type UiApplications = {

src/foundry/templates/index.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/foundry/templates/views/layouts/main.hbs.d.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)