@scml/addon-modded-feats 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/package.json +31 -0
- package/type-dist/ModdedFeatsAddon.d.ts +23 -0
- package/type-dist/ModdedFeatsAddonParams.d.ts +11 -0
- package/type-dist/SC2DataManager-B_DJOxR6.d.ts +1514 -0
- package/type-dist/global.ts +6 -0
- package/type-dist/init.d.ts +1 -0
- package/type-dist/winDef.d.ts +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { n as ModUtils, t as SC2DataManager } from "./SC2DataManager-B_DJOxR6.js";
|
|
2
|
+
import jQuery from "jquery/misc";
|
|
3
|
+
|
|
4
|
+
//#region remote/winDef.d.ts
|
|
5
|
+
interface FeatsItem {
|
|
6
|
+
title: string;
|
|
7
|
+
desc: string;
|
|
8
|
+
difficulty: number;
|
|
9
|
+
series: string;
|
|
10
|
+
filter: string[];
|
|
11
|
+
softLockable: boolean;
|
|
12
|
+
}
|
|
13
|
+
type FeatsObject = {
|
|
14
|
+
[key: string]: FeatsItem;
|
|
15
|
+
};
|
|
16
|
+
declare global {
|
|
17
|
+
interface Window {
|
|
18
|
+
modUtils: ModUtils;
|
|
19
|
+
modSC2DataManager: SC2DataManager;
|
|
20
|
+
jQuery: jQuery;
|
|
21
|
+
addonModdedFeatsAddon: ModdedFeatsAddon;
|
|
22
|
+
DOL: {
|
|
23
|
+
// In pseudo-load order
|
|
24
|
+
/**
|
|
25
|
+
* This is a miniature application reporter app. It helps get detailed error messages to devs.
|
|
26
|
+
* See file {@link ./01-error/error.js} for more.
|
|
27
|
+
*/
|
|
28
|
+
Errors: {} | any;
|
|
29
|
+
/**
|
|
30
|
+
* Registry of state schema, used for migrating DoL to new versions.
|
|
31
|
+
* See {@link ./02-version/.init.js} for more.
|
|
32
|
+
*/
|
|
33
|
+
Versions: {} | any;
|
|
34
|
+
Perflog: {} | any;
|
|
35
|
+
/**
|
|
36
|
+
* General purpose call stack containing the widget names as they are called.
|
|
37
|
+
*/
|
|
38
|
+
Stack: any[]; // The following are patches to make javascript execution more consistent (see comment below).
|
|
39
|
+
State;
|
|
40
|
+
setup: {
|
|
41
|
+
feats: FeatsObject;
|
|
42
|
+
};
|
|
43
|
+
Wikifier;
|
|
44
|
+
Template;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
export { FeatsItem, FeatsObject };
|