Commit | Line | Data |
---|---|---|
44341b88 AE |
1 | import DatePicker from "./wcfsetup/install/files/ts/WoltLabSuite/Core/Date/Picker"; |
2 | import Devtools from "./wcfsetup/install/files/ts/WoltLabSuite/Core/Devtools"; | |
3 | import DomUtil from "./wcfsetup/install/files/ts/WoltLabSuite/Core/Dom/Util"; | |
4 | import * as ColorUtil from "./wcfsetup/install/files/ts/WoltLabSuite/Core/ColorUtil"; | |
5 | import UiDropdownSimple from "./wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Dropdown/Simple"; | |
d5fdf861 | 6 | import "@woltlab/zxcvbn"; |
44341b88 | 7 | import { Reaction } from "./wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/Reaction/Data"; |
f73a2744 AE |
8 | |
9 | declare global { | |
10 | interface Window { | |
11 | Devtools?: typeof Devtools; | |
8883ca84 | 12 | ENABLE_DEBUG_MODE: boolean; |
90a65e0d | 13 | ENABLE_DEVELOPER_TOOLS: boolean; |
092eba81 | 14 | LANGUAGE_ID: number; |
44341b88 AE |
15 | REACTION_TYPES: { |
16 | [key: string]: Reaction; | |
17 | }; | |
1b278782 | 18 | SECURITY_TOKEN: string; |
0ead2606 | 19 | TIME_NOW: number; |
f73a2744 | 20 | WCF_PATH: string; |
8883ca84 | 21 | WSC_API_URL: string; |
f73a2744 | 22 | |
90a65e0d | 23 | jQuery: JQueryStatic; |
b6b1bdd4 | 24 | WCF: any; |
ac895ffb | 25 | bc_wcfDomUtil: typeof DomUtil; |
e5d03357 | 26 | bc_wcfSimpleDropdown: typeof UiDropdownSimple; |
69ddfb2a | 27 | __wcf_bc_colorPickerInit?: () => void; |
9a11d3a3 AE |
28 | __wcf_bc_colorUtil: typeof ColorUtil; |
29 | __wcf_bc_datePicker: typeof DatePicker; | |
f73a2744 AE |
30 | } |
31 | ||
32 | interface String { | |
33 | hashCode: () => string; | |
34 | } | |
89d5f9df | 35 | |
6ee10a38 | 36 | interface JQuery { |
dfc9ac50 AE |
37 | sortable(...args: any[]): unknown; |
38 | ||
bfd51550 | 39 | redactor(...args: any[]): unknown; |
6ee10a38 AE |
40 | } |
41 | ||
89d5f9df | 42 | type ArbitraryObject = Record<string, unknown>; |
f73a2744 | 43 | } |