File tree Expand file tree Collapse file tree 3 files changed +27
-12
lines changed Expand file tree Collapse file tree 3 files changed +27
-12
lines changed Original file line number Diff line number Diff line change 1
1
import * as ProseMirrorObject from '../prosemirror/prosemirror' ;
2
2
3
3
declare global {
4
+ /**
5
+ * The string prefix used to prepend console logging
6
+ */
4
7
let vtt : 'Foundry VTT' ;
5
8
6
9
/**
10
+ * The singleton Game instance
7
11
* @defaultValue `{}`
8
12
* @remarks
9
13
* Initialized between the `'DOMContentLoaded'` event and the `'init'` hook event.
10
14
*/
11
15
let game : 'game' extends keyof LenientGlobalVariableTypes ? Game : Game | { } ;
12
16
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
+
13
32
/**
14
33
* @defaultValue `null`
15
34
* @remarks
@@ -36,9 +55,17 @@ declare global {
36
55
windows : Record < number , Application > ;
37
56
} & ( 'ui' extends keyof LenientGlobalVariableTypes ? UiApplications : Partial < UiApplications > ) ;
38
57
58
+ /**
59
+ * The client side console logger
60
+ */
39
61
let logger : typeof console ;
40
62
41
63
let ProseMirror : typeof ProseMirrorObject ;
64
+
65
+ /**
66
+ * The Color management and manipulation class
67
+ */
68
+ let Color : unknown ; // foundry.utils.Color;
42
69
}
43
70
44
71
type UiApplications = {
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments