@minecraft/server-admin 1.0.0-beta.1.19.60-preview.24 → 1.0.0-beta.1.19.60-preview.25
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/index.d.ts +4 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
8
8
|
***************************************************************************** */
|
|
9
9
|
/**
|
|
10
|
+
* @beta
|
|
10
11
|
* @packageDocumentation
|
|
11
12
|
* Contains types related to administering a Bedrock Dedicated
|
|
12
13
|
* Server. These types allow for the configuration of variables
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
* ```json
|
|
18
19
|
* {
|
|
19
20
|
* "module_name": "@minecraft/server-admin",
|
|
20
|
-
* "version": "1.0.0-beta.1.19.60-preview.
|
|
21
|
+
* "version": "1.0.0-beta.1.19.60-preview.25"
|
|
21
22
|
* }
|
|
22
23
|
* ```
|
|
23
24
|
*
|
|
@@ -49,7 +50,7 @@ export class ServerSecrets {
|
|
|
49
50
|
* but is not made available to the script environment.
|
|
50
51
|
* @param name
|
|
51
52
|
*/
|
|
52
|
-
get(name: string): SecretString;
|
|
53
|
+
get(name: string): SecretString | undefined;
|
|
53
54
|
}
|
|
54
55
|
/**
|
|
55
56
|
* A collection of server variables defined in dedicated server
|
|
@@ -67,7 +68,7 @@ export class ServerVariables {
|
|
|
67
68
|
* dedicated server configuration JSON file.
|
|
68
69
|
* @param name
|
|
69
70
|
*/
|
|
70
|
-
get(name: string): any;
|
|
71
|
+
get(name: string): any | undefined;
|
|
71
72
|
}
|
|
72
73
|
/**
|
|
73
74
|
* A globally available object that returns a list of
|