bc-deeplib 1.1.2 → 1.1.3
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/dist/deeplib.d.ts +319 -13
- package/dist/deeplib.js +173 -17
- package/dist/deeplib.js.map +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/vendored_types/declarations.d.ts +40 -0
- package/package.json +1 -1
|
@@ -1,5 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base public URL used for loading assets (e.g., images, translation files).
|
|
3
|
+
*
|
|
4
|
+
* This value is set at build time and configured via `deeplib.config.js`.
|
|
5
|
+
*/
|
|
1
6
|
declare const PUBLIC_URL: string;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The current mod version.
|
|
10
|
+
*
|
|
11
|
+
* This value is set at build time and configured via `version` field in the `package.json` file.
|
|
12
|
+
* @example
|
|
13
|
+
* ```json
|
|
14
|
+
* {
|
|
15
|
+
* "name": "example-mod",
|
|
16
|
+
* "version": "1.0.0",
|
|
17
|
+
* "author": "your-name",
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
2
21
|
declare const MOD_VERSION: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* The unique hash of the current commit.
|
|
25
|
+
*
|
|
26
|
+
* The hash is computed automatically from the current commit.
|
|
27
|
+
*
|
|
28
|
+
* Used for build identification.
|
|
29
|
+
* @example "a1b2c3d4"
|
|
30
|
+
*/
|
|
3
31
|
declare const VERSION_HASH: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Whether the build is a development build.
|
|
35
|
+
*
|
|
36
|
+
* `true` for development/local builds, `false` for production.
|
|
37
|
+
*/
|
|
4
38
|
declare const IS_DEVEL: boolean;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Whether debugging features are enabled.
|
|
42
|
+
*
|
|
43
|
+
* `true` when mod is built with `--debug`/`-d`.
|
|
44
|
+
*/
|
|
5
45
|
declare const IS_DEBUG: boolean;
|