kolmafia 5.27462.0 → 5.27463.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.
Files changed (2) hide show
  1. package/index.d.ts +6 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
- // v5.27462.0
2
- // Generated by KoLmafia r27462 with type generator v5
1
+ // v5.27463.0
2
+ // Generated by KoLmafia r27463 with type generator v5
3
+ type Environment = "indoor" | "none" | "outdoor" | "underground" | "underwater" | "unknown";
4
+ type ModifierValueType = "boolean" | "none" | "numeric" | "string";
3
5
  export function abort(string: string): never;
4
6
  export function abort(): never;
5
7
  export function absorbedMonsters(): { [monster: string]: boolean };
@@ -1217,7 +1219,7 @@ export class Location extends MafiaClass {
1217
1219
  readonly difficultyLevel: string;
1218
1220
  /**
1219
1221
  * Environment */
1220
- readonly environment: string;
1222
+ readonly environment: Environment;
1221
1223
  /**
1222
1224
  * Fire level */
1223
1225
  readonly fireLevel: number;
@@ -1262,7 +1264,7 @@ export class Modifier extends MafiaClass {
1262
1264
  readonly name: string;
1263
1265
  /**
1264
1266
  * Type */
1265
- readonly type: string;
1267
+ readonly type: ModifierValueType;
1266
1268
  }
1267
1269
  export class Monster extends MafiaClass {
1268
1270
  static get(name: (string | number)): Monster;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kolmafia",
3
- "version": "5.27462.0",
3
+ "version": "5.27463.0",
4
4
  "description": "Typings for the KoLmafia JS standard library",
5
5
  "main": "index",
6
6
  "types": "index",