@wayward/types 2.14.4-beta.dev.20250101.1 → 2.14.4-beta.dev.20250102.1

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 (72) hide show
  1. package/definitions/game/IGlobal.d.ts +2 -9
  2. package/definitions/game/game/Game.d.ts +2 -2
  3. package/definitions/game/game/IGame.d.ts +1 -1
  4. package/definitions/game/game/doodad/Doodad.d.ts +1 -1
  5. package/definitions/game/game/entity/action/ActionsRegistration.d.ts +1 -1
  6. package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
  7. package/definitions/game/game/island/Island.d.ts +2 -2
  8. package/definitions/game/game/mapgen/IMapGen.d.ts +1 -1
  9. package/definitions/game/game/mapgen/MapGenHelpers.d.ts +1 -1
  10. package/definitions/game/game/options/GameOptions.d.ts +1 -1
  11. package/definitions/game/mod/IMod.d.ts +1 -1
  12. package/definitions/game/save/ISaveManager.d.ts +1 -1
  13. package/definitions/game/save/SaveManager.d.ts +1 -1
  14. package/definitions/game/save/SaveMetadata.d.ts +1 -1
  15. package/definitions/game/save/data/ISaveData.d.ts +1 -1
  16. package/definitions/game/save/data/SaveData.d.ts +1 -1
  17. package/definitions/game/save/data/SaveDataGlobal.d.ts +1 -1
  18. package/definitions/game/save/serializer/ISerializer.d.ts +1 -1
  19. package/definitions/game/save/serializer/PropertiesToSerialize.d.ts +1 -1
  20. package/definitions/game/save/serializer/Serializer.d.ts +1 -1
  21. package/definitions/game/save/upgrade/UpgradePlayer.d.ts +1 -1
  22. package/definitions/game/save/upgrade/UpgradeSaveDataGlobal.d.ts +1 -1
  23. package/definitions/game/save/upgrade/UpgradeVersion.d.ts +1 -1
  24. package/definitions/game/save/upgrade/UpgradeVersionRegistry.d.ts +1 -1
  25. package/definitions/game/steamworks/ISteamworks.d.ts +0 -6
  26. package/definitions/game/steamworks/Steamworks.d.ts +2 -2
  27. package/definitions/game/ui/screen/screens/game/dialog/EquipmentDialog.d.ts +1 -1
  28. package/definitions/game/ui/screen/screens/menu/menus/main/ChangelogMenu.d.ts +1 -1
  29. package/definitions/game/utilities/VersionTranslation.d.ts +18 -0
  30. package/definitions/game/utilities/trello/ITrello.d.ts +1 -1
  31. package/definitions/game/utilities/trello/Trello.d.ts +1 -1
  32. package/definitions/hosts/node/nodeLoader.d.ts +1 -0
  33. package/definitions/hosts/shared/globalTypes.d.ts +6 -0
  34. package/definitions/lint/condition-complexity.d.mts +6 -1
  35. package/definitions/{core → server/core}/Middleware.d.ts +1 -0
  36. package/definitions/{core → server/core}/middleware/E404.d.ts +1 -1
  37. package/definitions/server/core/middleware/Probe.d.ts +13 -0
  38. package/definitions/{core → server/core}/middleware/Static.d.ts +1 -1
  39. package/definitions/{core → server/core}/middleware/Validate.d.ts +1 -1
  40. package/definitions/{core → server/core}/util/SendFile.d.ts +1 -1
  41. package/definitions/{dev → server/dev}/index.d.ts +1 -1
  42. package/definitions/{dev → server/dev}/middleware/CustomInternalMods.d.ts +1 -1
  43. package/definitions/{dev → server/dev}/middleware/SaveFolder.d.ts +1 -1
  44. package/definitions/{matchmakingserver → server/error}/index.d.ts +1 -3
  45. package/definitions/{error → server/error}/middleware/ReportError.d.ts +1 -1
  46. package/definitions/{matchmakingserver → server/matchmaking}/dedicatedServer.d.ts +1 -1
  47. package/definitions/test/core/applicationDom.d.ts +1 -1
  48. package/definitions/test/core/applicationInteractions.d.ts +4 -0
  49. package/definitions/test/suite/functionalTests/singleplayer/ui/DialogLeak.d.ts +13 -0
  50. package/definitions/{error/index.d.ts → utilities/ApplyTsConfigPaths.d.ts} +1 -1
  51. package/definitions/{game/utilities → utilities}/Version.d.ts +2 -6
  52. package/definitions/utilities/types.d.ts +18 -0
  53. package/package.json +1 -1
  54. /package/definitions/{core → server/core}/util/Log.d.ts +0 -0
  55. /package/definitions/{dev → server/dev}/Router.d.ts +0 -0
  56. /package/definitions/{core → server/dev}/util/GameLogFilter.d.ts +0 -0
  57. /package/definitions/{error → server/error}/Router.d.ts +0 -0
  58. /package/definitions/{matchmakingserver → server/matchmaking}/directoryConnection.d.ts +0 -0
  59. /package/definitions/{matchmakingserver → server/matchmaking}/globalMatchmaking.d.ts +0 -0
  60. /package/definitions/{matchmakingserver → server/matchmaking}/globalServerDirectory.d.ts +0 -0
  61. /package/definitions/{matchmakingserver/vps.d.ts → server/matchmaking/index.d.ts} +0 -0
  62. /package/definitions/{matchmakingserver → server/matchmaking}/server.d.ts +0 -0
  63. /package/definitions/{matchmakingserver → server/matchmaking}/shared.d.ts +0 -0
  64. /package/definitions/utilities/{types → type}/Assert.d.ts +0 -0
  65. /package/definitions/utilities/{typesglobal → types}/Class.d.ts +0 -0
  66. /package/definitions/utilities/{typesglobal → types}/Descriptions.d.ts +0 -0
  67. /package/definitions/utilities/{typesglobal → types}/Function.d.ts +0 -0
  68. /package/definitions/utilities/{typesglobal → types}/Immutable.d.ts +0 -0
  69. /package/definitions/utilities/{typesglobal → types}/Iterables.d.ts +0 -0
  70. /package/definitions/utilities/{typesglobal → types}/Misc.d.ts +0 -0
  71. /package/definitions/utilities/{typesglobal → types}/Objects.d.ts +0 -0
  72. /package/definitions/utilities/{typesglobal → types}/Types.d.ts +0 -0
@@ -23,20 +23,13 @@ import "@wayward/game/typings/jquery";
23
23
  import "@wayward/game/typings/jqueryui";
24
24
  import type { Ui } from "@wayward/game/ui/Ui";
25
25
  import type OldUi from "@wayward/game/ui/old/OldUi";
26
- import type Version from "@wayward/game/utilities/Version";
26
+ import type Version from "@wayward/utilities/Version";
27
27
  import "@wayward/goodstream/apply";
28
28
  import "@wayward/hosts/shared/globalTypes";
29
29
  import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
30
30
  import "@wayward/utilities/IGlobal";
31
31
  import "@wayward/utilities/prototype/Promise";
32
- import "@wayward/utilities/typesglobal/Class";
33
- import "@wayward/utilities/typesglobal/Descriptions";
34
- import "@wayward/utilities/typesglobal/Function";
35
- import "@wayward/utilities/typesglobal/Immutable";
36
- import "@wayward/utilities/typesglobal/Iterables";
37
- import "@wayward/utilities/typesglobal/Misc";
38
- import "@wayward/utilities/typesglobal/Objects";
39
- import "@wayward/utilities/typesglobal/Types";
32
+ import "@wayward/utilities/types";
40
33
  declare global {
41
34
  let audio: WAudio | undefined;
42
35
  let game: Game;
@@ -45,8 +45,8 @@ import type { IOptions } from "@wayward/game/save/data/ISaveDataGlobal";
45
45
  import type { ISerializer } from "@wayward/game/save/serializer/ISerializer";
46
46
  import type StringTokenizer from "@wayward/game/save/serializer/StringTokenizer";
47
47
  import Steamworks from "@wayward/game/steamworks/Steamworks";
48
- import type { IVersionInfo } from "@wayward/game/utilities/Version";
49
- import Version from "@wayward/game/utilities/Version";
48
+ import type { IVersionInfo } from "@wayward/utilities/Version";
49
+ import Version from "@wayward/utilities/Version";
50
50
  import type { IVector2 } from "@wayward/game/utilities/math/IVector";
51
51
  import { WebWorkerManager } from "@wayward/game/webWorker/WebWorkerManager";
52
52
  import EventEmitter from "@wayward/utilities/event/EventEmitter";
@@ -29,7 +29,7 @@ import type { IMultiplayerOptions, IMultiplayerWorldData, ServerInfo } from "@wa
29
29
  import type { Renderer } from "@wayward/game/renderer/Renderer";
30
30
  import type { IReplayLogEntry } from "@wayward/game/replay/IReplayLogEntry";
31
31
  import type { IHighscoreOld, IOptions } from "@wayward/game/save/data/ISaveDataGlobal";
32
- import type Version from "@wayward/game/utilities/Version";
32
+ import type Version from "@wayward/utilities/Version";
33
33
  import type { IVector2, IVector3 } from "@wayward/game/utilities/math/IVector";
34
34
  import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
35
35
  import type { IRange } from "@wayward/utilities/math/Range";
@@ -234,7 +234,7 @@ export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType
234
234
  removeMagic(): void;
235
235
  unhitch(): void;
236
236
  damage(forceBreak?: boolean, skipDropAsItem?: boolean, skipSound?: boolean, skipResources?: boolean, damage?: number): void;
237
- getDefaultDurability(random?: import("@wayward/utilities/random/Random").Random<import("@wayward/utilities/random/generators/PCGSeededGenerator").PCGSeededGenerator | import("@wayward/utilities/random/generators/LegacySeededGenerator").LegacySeededGenerator>): number;
237
+ getDefaultDurability(random?: import("@wayward/utilities/random/Random").Random<import("@wayward/utilities/random/generators/LegacySeededGenerator").LegacySeededGenerator | import("@wayward/utilities/random/generators/PCGSeededGenerator").PCGSeededGenerator>): number;
238
238
  /**
239
239
  * Gets the container to use for doodad executed actions
240
240
  */
@@ -142,7 +142,7 @@ export declare const actionDescriptionsSlow: {
142
142
  122: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Creature], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("./argument/ActionArgumentEnum").default<import("../ai/AI").AiType, "None" | "Attack" | "Pacified" | "Hidden" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetCreatureAi").ISetCreatureAiCanUse, [import("../creature/Creature").default | undefined, import("../../item/Item").default | undefined, import("../ai/AI").AiType]>;
143
143
  136: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Creature], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("./argument/ActionArgumentEnum").default<import("../ai/AI").AiType, "None" | "Attack" | "Pacified" | "Hidden" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetCreatureAi").ISetCreatureAiCanUse, [import("../creature/Creature").default | undefined, import("../../item/Item").default | undefined, import("../ai/AI").AiType]>;
144
144
  6: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetDown").ISetDownCanUse, [import("../../item/Item").default]>;
145
- 123: import("./Action").Action<[[import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("@wayward/game/game/entity/action/actions/SetTitle").TitleType, "Skill" | "Milestone">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../../milestones/IMilestone").Milestone, "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "Navigator" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated">, import("./argument/ActionArgumentEnum").default<import("../IHuman").SkillType, "None" | "Taming" | "Mining" | "Swimming" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mycology" | "Parrying" | "Stonecrafting" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], import("../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("@wayward/game/game/entity/action/actions/SetTitle").TitleType | undefined)?, (import("../../milestones/IMilestone").Milestone | import("../IHuman").SkillType | undefined)?]>;
145
+ 123: import("./Action").Action<[[import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("@wayward/game/game/entity/action/actions/SetTitle").TitleType, "Skill" | "Milestone">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../../milestones/IMilestone").Milestone, "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "Navigator" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated">, import("./argument/ActionArgumentEnum").default<import("../IHuman").SkillType, "None" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mining" | "Mycology" | "Parrying" | "Stonecrafting" | "Swimming" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Taming" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], import("../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("@wayward/game/game/entity/action/actions/SetTitle").TitleType | undefined)?, (import("../../milestones/IMilestone").Milestone | import("../IHuman").SkillType | undefined)?]>;
146
146
  119: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.NPCNearby, [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Island, import("@wayward/game/game/entity/action/IAction").ActionArgument.Vector2], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Integer32]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ShipToIsland").IShipToIslandCanUse, [import("../npc/NPC").default, (import("../../island/Island").default | import("../../../utilities/math/IVector").IVector2 | undefined)?, (number | undefined)?]>;
147
147
  94: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Shoot").IShootCanUse, [import("../../item/Item").default]>;
148
148
  11: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.Doodad], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../IHuman").RestType, "Resting" | "Sleeping">]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Rest").IRestCanUse, [(import("../../doodad/Doodad").default | import("../../item/Item").default | undefined)?, (import("../IHuman").RestType | undefined)?]>;
@@ -16,5 +16,5 @@ export declare enum TitleType {
16
16
  Milestone = 0,
17
17
  Skill = 1
18
18
  }
19
- declare const _default: Action<[[ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<TitleType, "Skill" | "Milestone">], [arg1: ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<Milestone, "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "Navigator" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated">, import("../argument/ActionArgumentEnum").default<SkillType, "None" | "Taming" | "Mining" | "Swimming" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mycology" | "Parrying" | "Stonecrafting" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], import("../../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(TitleType | undefined)?, (Milestone | SkillType | undefined)?]>;
19
+ declare const _default: Action<[[ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<TitleType, "Skill" | "Milestone">], [arg1: ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<Milestone, "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "Navigator" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "Runekeeper" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Statistician" | "Afflicted" | "Exsanguinated">, import("../argument/ActionArgumentEnum").default<SkillType, "None" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mining" | "Mycology" | "Parrying" | "Stonecrafting" | "Swimming" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Taming" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], import("../../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(TitleType | undefined)?, (Milestone | SkillType | undefined)?]>;
20
20
  export default _default;
@@ -43,8 +43,8 @@ import TileEventManager from "@wayward/game/game/tile/TileEventManager";
43
43
  import Translation from "@wayward/game/language/Translation";
44
44
  import World from "@wayward/game/renderer/world/World";
45
45
  import type { IPostSerializeCallback, IPreSerializeCallback, ISerializer } from "@wayward/game/save/serializer/ISerializer";
46
- import type { IVersionInfo } from "@wayward/game/utilities/Version";
47
- import Version from "@wayward/game/utilities/Version";
46
+ import type { IVersionInfo } from "@wayward/utilities/Version";
47
+ import Version from "@wayward/utilities/Version";
48
48
  import { Direction } from "@wayward/game/utilities/math/Direction";
49
49
  import type { IVector2, IVector3 } from "@wayward/game/utilities/math/IVector";
50
50
  import Vector2 from "@wayward/game/utilities/math/Vector2";
@@ -14,7 +14,7 @@ import type Island from "@wayward/game/game/island/Island";
14
14
  import type MapGenHelpers from "@wayward/game/game/mapgen/MapGenHelpers";
15
15
  import type { Load, MultiplayerLoadingDescription } from "@wayward/game/game/meta/Loading";
16
16
  import type { ITemplate, TileTemplateType } from "@wayward/game/game/tile/ITerrain";
17
- import type Version from "@wayward/game/utilities/Version";
17
+ import type Version from "@wayward/utilities/Version";
18
18
  import type { IVector3 } from "@wayward/game/utilities/math/IVector";
19
19
  import type WorldZ from "@wayward/utilities/game/WorldZ";
20
20
  import type { Random } from "@wayward/utilities/random/Random";
@@ -14,7 +14,7 @@ import type Island from "@wayward/game/game/island/Island";
14
14
  import type { MapGenVersions } from "@wayward/game/game/mapgen/IMapGen";
15
15
  import type { ITemplate, TileTemplateType } from "@wayward/game/game/tile/ITerrain";
16
16
  import type Tile from "@wayward/game/game/tile/Tile";
17
- import Version from "@wayward/game/utilities/Version";
17
+ import Version from "@wayward/utilities/Version";
18
18
  export declare namespace MapGenHelpers {
19
19
  function pickBasedOnVersion<T>(targetVersion: Version.String, versions: MapGenVersions<T>): {
20
20
  version: Version.String;
@@ -12,7 +12,7 @@ import type { SkillType } from "@wayward/game/game/entity/IHuman";
12
12
  import type { ItemType } from "@wayward/game/game/item/IItem";
13
13
  import type { IGameOptions, IGameOptionsSkill } from "@wayward/game/game/options/IGameOptions";
14
14
  import { GameMode } from "@wayward/game/game/options/IGameOptions";
15
- import type Version from "@wayward/game/utilities/Version";
15
+ import type Version from "@wayward/utilities/Version";
16
16
  export declare const CREATURE_SPAWN_LIMIT = 15;
17
17
  declare namespace GameOptions {
18
18
  export function getDefault(difficulty?: GameMode, seed?: number): IGameOptions;
@@ -8,7 +8,7 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import type Version from "@wayward/game/utilities/Version";
11
+ import type Version from "@wayward/utilities/Version";
12
12
  import type { IEventSubscriberEvents } from "@wayward/utilities/event/EventEmitter";
13
13
  export declare enum MultiplayerCompatibility {
14
14
  Clientside = "clientside",
@@ -9,7 +9,7 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import type { SavePropertyFlag } from "@wayward/game/save/serializer/ISerializer";
12
- import type Version from "@wayward/game/utilities/Version";
12
+ import type Version from "@wayward/utilities/Version";
13
13
  export declare const SLOT_MIN = 0;
14
14
  export declare const SLOT_GLOBAL = -1;
15
15
  export declare const SLOT_MULTIPLAYER = -2;
@@ -16,7 +16,7 @@ import type IClientStore from "@wayward/game/save/clientStore/IClientStore";
16
16
  import type { ISerializer } from "@wayward/game/save/serializer/ISerializer";
17
17
  import type { AnyPropertyToSerialize } from "@wayward/game/save/serializer/PropertiesToSerialize";
18
18
  import Files from "@wayward/game/utilities/Files";
19
- import Version from "@wayward/game/utilities/Version";
19
+ import Version from "@wayward/utilities/Version";
20
20
  import type { IWaywardPreload } from "@wayward/hosts/shared/interfaces";
21
21
  import EventEmitter from "@wayward/utilities/event/EventEmitter";
22
22
  export default class SaveManager extends EventEmitter.Host<ISaveManagerEvents> {
@@ -13,7 +13,7 @@ import type { GameMode, IGameOptions } from "@wayward/game/game/options/IGameOpt
13
13
  import type { ISerializedTranslation } from "@wayward/game/language/ITranslation";
14
14
  import type { ISaveObject } from "@wayward/game/save/ISaveManager";
15
15
  import type { AnyPropertyToSerialize } from "@wayward/game/save/serializer/PropertiesToSerialize";
16
- import type Version from "@wayward/game/utilities/Version";
16
+ import type Version from "@wayward/utilities/Version";
17
17
  interface SaveMetadata {
18
18
  slot?: number;
19
19
  path?: string;
@@ -9,7 +9,7 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import type { RunningContext } from "@wayward/game/steamworks/ISteamworks";
12
- import type Version from "@wayward/game/utilities/Version";
12
+ import type Version from "@wayward/utilities/Version";
13
13
  import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
14
14
  export interface IGameCreationInfo {
15
15
  build: IGameCreationInfoBuild;
@@ -15,7 +15,7 @@ import type { IMultiplayerState } from "@wayward/game/multiplayer/IMultiplayer";
15
15
  import type IClientStore from "@wayward/game/save/clientStore/IClientStore";
16
16
  import type { IGameCreationInfo } from "@wayward/game/save/data/ISaveData";
17
17
  import type EnumInfo from "@wayward/game/utilities/enum/EnumInfo";
18
- import type Version from "@wayward/game/utilities/Version";
18
+ import type Version from "@wayward/utilities/Version";
19
19
  import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
20
20
  export declare const saveDataVersionUnknown = "Unknown";
21
21
  export default class SaveData {
@@ -14,7 +14,7 @@ import type { ModState } from "@wayward/game/mod/IModInformation";
14
14
  import type { IHighscore, IOptions } from "@wayward/game/save/data/ISaveDataGlobal";
15
15
  import type { IDialogInfo } from "@wayward/game/ui/old/IOldUi";
16
16
  import type { ISavedCharacter } from "@wayward/game/ui/screen/screens/menu/menus/character/Character";
17
- import type Version from "@wayward/game/utilities/Version";
17
+ import type Version from "@wayward/utilities/Version";
18
18
  import type EnumInfo from "@wayward/game/utilities/enum/EnumInfo";
19
19
  import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
20
20
  export default class SaveDataGlobal {
@@ -9,7 +9,7 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import type { Game } from "@wayward/game/game/Game";
12
- import type Version from "@wayward/game/utilities/Version";
12
+ import type Version from "@wayward/utilities/Version";
13
13
  export interface ISerializer {
14
14
  readonly game: Game;
15
15
  readonly version: Version.String;
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { ISerializeProperty } from "@wayward/game/save/ISaveManager";
12
12
  import { SavePropertyFlag } from "@wayward/game/save/serializer/ISerializer";
13
- import Version from "@wayward/game/utilities/Version";
13
+ import Version from "@wayward/utilities/Version";
14
14
  declare const propertiesToSerializeObject: {
15
15
  game: {
16
16
  property: string[];
@@ -12,7 +12,7 @@ import type { Game } from "@wayward/game/game/Game";
12
12
  import type { ISerializer, ISerializerOptions } from "@wayward/game/save/serializer/ISerializer";
13
13
  import { SavePropertyFlag, SerializerMetadataKey, Types } from "@wayward/game/save/serializer/ISerializer";
14
14
  import StringTokenizer from "@wayward/game/save/serializer/StringTokenizer";
15
- import type Version from "@wayward/game/utilities/Version";
15
+ import type Version from "@wayward/utilities/Version";
16
16
  export default class Serializer implements ISerializer {
17
17
  readonly game: Game;
18
18
  private readonly options;
@@ -11,7 +11,7 @@
11
11
  import type { Game } from "@wayward/game/game/Game";
12
12
  import type Player from "@wayward/game/game/entity/player/Player";
13
13
  import UpgradesArray from "@wayward/game/save/upgrade/UpgradesArray";
14
- import type Version from "@wayward/game/utilities/Version";
14
+ import type Version from "@wayward/utilities/Version";
15
15
  export default function upgradePlayer(game: Game, player: Player, saveVersion: Version.Info, isLocalPlayer: boolean): UpgradesArray;
16
16
  /**
17
17
  * Called after loading item & tile references
@@ -8,5 +8,5 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import type Version from "@wayward/game/utilities/Version";
11
+ import type Version from "@wayward/utilities/Version";
12
12
  export default function upgradeGlobalSave(saveVersion: Version.Info): void;
@@ -22,7 +22,7 @@ import type Item from "@wayward/game/game/item/Item";
22
22
  import type { IGameOptions } from "@wayward/game/game/options/IGameOptions";
23
23
  import type TileEvent from "@wayward/game/game/tile/TileEvent";
24
24
  import type { UpgradesArrayCompressedPusher } from "@wayward/game/save/upgrade/UpgradesArray";
25
- import type Version from "@wayward/game/utilities/Version";
25
+ import type Version from "@wayward/utilities/Version";
26
26
  import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
27
27
  export interface IUpgradeVersion {
28
28
  name?: string;
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { IUpgradeVersion, UpgradeParameters, UpgradeType } from "@wayward/game/save/upgrade/UpgradeVersion";
12
12
  import type UpgradesArray from "@wayward/game/save/upgrade/UpgradesArray";
13
- import type Version from "@wayward/game/utilities/Version";
13
+ import type Version from "@wayward/utilities/Version";
14
14
  export declare const BUILD_TIME_INTRODUCED_TIME: Date;
15
15
  declare namespace UpgradeVersionRegistry {
16
16
  function getAll(): readonly IUpgradeVersion[];
@@ -47,12 +47,6 @@ export interface IDedicatedServerInfo {
47
47
  syncChecks: MultiplayerSyncCheckLevel;
48
48
  gameCode?: string;
49
49
  }
50
- export interface IBuild {
51
- name: string;
52
- time: number;
53
- publishName?: string;
54
- publishTime?: string;
55
- }
56
50
  export declare enum SteamStatArea {
57
51
  Music = 0,
58
52
  Renderer = 1
@@ -15,12 +15,12 @@ import IActionContext from "@wayward/game/game/entity/action/IActionContext";
15
15
  import { ModType } from "@wayward/game/mod/IModInformation";
16
16
  import type { ModInformation } from "@wayward/game/mod/ModInformation";
17
17
  import type { IJoinServerOptions, ServerInfo } from "@wayward/game/multiplayer/IMultiplayer";
18
- import type { IBuild, IDedicatedServerInfo, IModPath, ISteamworksEvents, RunningContext, SteamStatTypeValues } from "@wayward/game/steamworks/ISteamworks";
18
+ import type { IDedicatedServerInfo, IModPath, ISteamworksEvents, RunningContext, SteamStatTypeValues } from "@wayward/game/steamworks/ISteamworks";
19
19
  import { SteamStatArea } from "@wayward/game/steamworks/ISteamworks";
20
20
  import type { ISteamBeta } from "@wayward/hosts/shared/interfaces";
21
21
  import { type IMatchmakingServer, type INapiDiscordPresenceInfo, type IRemoteFile, type ISteamFriend, type ISteamId, type ISteamworksNetworking, type IWaywardPreload, type IWorkshopItem, type LobbyType } from "@wayward/hosts/shared/interfaces";
22
22
  import EventEmitter from "@wayward/utilities/event/EventEmitter";
23
- import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
23
+ import type { IBuild, IBuildId } from "@wayward/hosts/shared/globalTypes";
24
24
  export default class Steamworks extends EventEmitter.Host<ISteamworksEvents> {
25
25
  private readonly game;
26
26
  protected initialized: boolean;
@@ -29,7 +29,7 @@ export declare enum EquipmentClasses {
29
29
  SlotsWrapper = "game-dialog-equipment-slots-wrapper"
30
30
  }
31
31
  export declare namespace EquipmentClasses {
32
- const SlotType: (enumValue: EquipType) => "game-dialog-equipment-slot-none" | "game-dialog-equipment-slot-head" | "game-dialog-equipment-slot-back" | "game-dialog-equipment-slot-chest" | "game-dialog-equipment-slot-feet" | "game-dialog-equipment-slot-hands" | "game-dialog-equipment-slot-held" | "game-dialog-equipment-slot-legs" | "game-dialog-equipment-slot-neck" | "game-dialog-equipment-slot-waist" | "game-dialog-equipment-slot-mainhand" | "game-dialog-equipment-slot-offhand" | "game-dialog-equipment-slot-dualwield";
32
+ const SlotType: (enumValue: EquipType) => "game-dialog-equipment-slot-none" | "game-dialog-equipment-slot-back" | "game-dialog-equipment-slot-chest" | "game-dialog-equipment-slot-feet" | "game-dialog-equipment-slot-hands" | "game-dialog-equipment-slot-head" | "game-dialog-equipment-slot-held" | "game-dialog-equipment-slot-legs" | "game-dialog-equipment-slot-neck" | "game-dialog-equipment-slot-waist" | "game-dialog-equipment-slot-mainhand" | "game-dialog-equipment-slot-offhand" | "game-dialog-equipment-slot-dualwield";
33
33
  }
34
34
  export default class EquipmentDialog extends Dialog {
35
35
  readonly slots: Component<HTMLElement>;
@@ -9,7 +9,7 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import Menu from "@wayward/game/ui/screen/screens/menu/component/Menu";
12
- import type { IVersionInfo } from "@wayward/game/utilities/Version";
12
+ import type { IVersionInfo } from "@wayward/utilities/Version";
13
13
  export default class ChangelogMenu extends Menu {
14
14
  private static readonly modLinks;
15
15
  private readonly headingVersionName;
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * Copyright 2011-2024 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
12
+ import type { IVersionInfo } from "@wayward/utilities/Version";
13
+ import Version from "@wayward/utilities/Version";
14
+ declare namespace VersionTranslation {
15
+ function getVersionDisplayTranslation(version?: Version.String | Version.StringSemVer | IVersionInfo, development?: boolean): TranslationImpl;
16
+ function getUpdateDisplayTranslation(version?: Version.String | Version.StringSemVer | IVersionInfo): TranslationImpl | undefined;
17
+ }
18
+ export default VersionTranslation;
@@ -8,7 +8,7 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import type { IVersionInfo } from "@wayward/game/utilities/Version";
11
+ import type { IVersionInfo } from "@wayward/utilities/Version";
12
12
  export interface ITrello {
13
13
  getChangelog(versionInfo: IVersionInfo): Promise<IChangelog | undefined>;
14
14
  getVersions(maxVersion?: IVersionInfo): Promise<IVersionInfo[]>;
@@ -8,7 +8,7 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import type { IVersionInfo } from "@wayward/game/utilities/Version";
11
+ import type { IVersionInfo } from "@wayward/utilities/Version";
12
12
  import type { IChangelog, ITrello, ITrelloBoard, ITrelloCard } from "@wayward/game/utilities/trello/ITrello";
13
13
  export default class Trello implements ITrello {
14
14
  getCard(id: string, ...fields: string[]): Promise<ITrelloCard>;
@@ -8,6 +8,7 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
+ import "../../utilities/ApplyTsConfigPaths";
11
12
  import "@wayward/goodstream/apply";
12
13
  import "@wayward/game/utilities/prototype/Apply";
13
14
  import type { IInit } from "@wayward/game/Init";
@@ -42,6 +42,12 @@ export interface IWaywardTitleBar {
42
42
  isMaximized: boolean;
43
43
  electron: IElectron;
44
44
  }
45
+ export interface IBuild {
46
+ name: string;
47
+ time: number;
48
+ publishName?: string;
49
+ publishTime?: string;
50
+ }
45
51
  export interface IBuildId {
46
52
  date: number;
47
53
  number: number;
@@ -8,12 +8,17 @@ declare namespace _default {
8
8
  }
9
9
  export { messages };
10
10
  export let schema: never[];
11
- export let fixable: string;
11
+ export let fixable: string | undefined;
12
12
  }
13
13
  export { createRuleListener as create };
14
14
  }
15
15
  export default _default;
16
16
  export type Context = TSESLint.RuleContext<keyof typeof messages, []>;
17
+ export type Complexity = {
18
+ value: number;
19
+ functionValue: number;
20
+ conditional: boolean;
21
+ };
17
22
  declare namespace messages {
18
23
  let conditionTooComplexVariable: string;
19
24
  let conditionTooComplexFunction: string;
@@ -9,6 +9,7 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import type { IncomingMessage as HTTPIncomingMessage, ServerResponse } from "http";
12
+ import "@wayward/utilities/types";
12
13
  interface IncomingMessageOverride {
13
14
  url: string;
14
15
  }
@@ -8,6 +8,6 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import Middleware from "@wayward/coreserver/Middleware";
11
+ import Middleware from "@wayward/server/core/Middleware";
12
12
  declare const _default: Middleware<[message?: string]>;
13
13
  export default _default;
@@ -0,0 +1,13 @@
1
+ /*!
2
+ * Copyright 2011-2024 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import Middleware from "@wayward/server/core/Middleware";
12
+ declare const _default: Middleware;
13
+ export default _default;
@@ -8,6 +8,6 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import Middleware from "@wayward/coreserver/Middleware";
11
+ import Middleware from "@wayward/server/core/Middleware";
12
12
  declare const _default: Middleware<[]>;
13
13
  export default _default;
@@ -8,6 +8,6 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import Middleware from "@wayward/coreserver/Middleware";
11
+ import Middleware from "@wayward/server/core/Middleware";
12
12
  declare const _default: Middleware<[]>;
13
13
  export default _default;
@@ -9,5 +9,5 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import type { ServerResponse } from "http";
12
- import type { IncomingMessage } from "@wayward/coreserver/Middleware";
12
+ import type { IncomingMessage } from "@wayward/server/core/Middleware";
13
13
  export default function (req: IncomingMessage, res: ServerResponse, filePath: string): Promise<ServerResponse | void | undefined>;
@@ -8,4 +8,4 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import "../hosts/node/nodeLoader";
11
+ import "../../hosts/node/nodeLoader";
@@ -8,6 +8,6 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import Middleware from "@wayward/coreserver/Middleware";
11
+ import Middleware from "@wayward/server/core/Middleware";
12
12
  declare const _default: Middleware<[]>;
13
13
  export default _default;
@@ -8,6 +8,6 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import Middleware from "@wayward/coreserver/Middleware";
11
+ import Middleware from "@wayward/server/core/Middleware";
12
12
  declare const _default: Middleware<[]>;
13
13
  export default _default;
@@ -8,6 +8,4 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import DedicatedServer from "./dedicatedServer";
12
- declare const server: DedicatedServer;
13
- export = server;
11
+ import "../../utilities/ApplyTsConfigPaths";
@@ -8,6 +8,6 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import Middleware from "@wayward/coreserver/Middleware";
11
+ import Middleware from "@wayward/server/core/Middleware";
12
12
  declare const _default: Middleware<[message?: string]>;
13
13
  export default _default;
@@ -12,7 +12,7 @@ import type * as ws from "ws";
12
12
  import Server from "./server";
13
13
  import * as shared from "./shared";
14
14
  import type { IServerGameDetails, IServerServerDetails } from "@wayward/hosts-shared/interfaces";
15
- export default class DedicatedServer extends Server {
15
+ export declare class DedicatedServer extends Server {
16
16
  private host;
17
17
  private readonly dedicatedServerId;
18
18
  stop(): void;
@@ -15,7 +15,7 @@ export declare class ApplicationDom {
15
15
  private readonly browser;
16
16
  private readonly logger;
17
17
  constructor(browser: WebdriverIO.Browser, logger: ApplicationLogger);
18
- executeFunction<T2 extends any[], T>(executor: (...extraArgs: T2) => T, ...extraArgs: T2): Promise<T>;
18
+ executeFunction<T2 extends any[], T>(executor: (...extraArgs: T2) => T | Promise<T>, ...extraArgs: T2): Promise<T>;
19
19
  executeJavaScript<T>(javascript: string): Promise<T>;
20
20
  getElement(selector: string): Promise<WebdriverIO.Element>;
21
21
  getElements(selector: string, onlyVisible?: boolean): Promise<WebdriverIO.Element[]>;
@@ -111,4 +111,8 @@ export default class ApplicationInteractions {
111
111
  randomMovement(count: number): Promise<void>;
112
112
  pressKey(key: string, modifier?: string, duration?: number): Promise<void>;
113
113
  screenshot(suffix: string): Promise<void>;
114
+ /**
115
+ * Runs a garbage collection and counts the number of objects remaining for the specified item
116
+ */
117
+ garbageCollectAndCount(objectIdentifier: string): Promise<number>;
114
118
  }
@@ -0,0 +1,13 @@
1
+ /*!
2
+ * Copyright 2011-2024 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import type { TestExecutor } from "@wayward/test/testRunner";
12
+ declare const _default: [string, TestExecutor];
13
+ export default _default;
@@ -8,4 +8,4 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import "../hosts/node/nodeLoader";
11
+ export {};
@@ -8,8 +8,7 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
12
- import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
11
+ import type { IBuild, IBuildId } from "@wayward/hosts/shared/globalTypes";
13
12
  export interface IVersionInfo {
14
13
  str: Version.String;
15
14
  strSemver: Version.StringSemVer;
@@ -31,6 +30,7 @@ export declare namespace IVersionInfo {
31
30
  }
32
31
  }
33
32
  declare namespace Version {
33
+ export function readBuildFile(): Promise<IBuild | undefined>;
34
34
  export type Stage = "beta" | "release";
35
35
  export type String = `${Stage}${bigint}.${bigint}.${bigint}` | `${Stage}${bigint}.${bigint}` | `${Stage}${bigint}`;
36
36
  export type StringSemVer = `${bigint}.${bigint}.${bigint}-${Stage}` | `${bigint}.${bigint}.${bigint}`;
@@ -70,8 +70,6 @@ declare namespace Version {
70
70
  export function create(stage: Version.Stage, major: number, minor: number, patch?: number, date?: Date): Info;
71
71
  export function getVersionInfo(version: IVersionInfo | Version.String | Version.StringSemVer | Version.StringBuildId): Info;
72
72
  export function isSameVersion(version: IVersionInfo, compareVersion: IVersionInfo): boolean;
73
- export function getVersionDisplayTranslation(version?: Version.String | Version.StringSemVer | IVersionInfo, development?: boolean): TranslationImpl;
74
- export function getUpdateDisplayTranslation(version?: Version.String | Version.StringSemVer | IVersionInfo): TranslationImpl | undefined;
75
73
  const timezones: {
76
74
  nz: string;
77
75
  pt: string;
@@ -110,8 +108,6 @@ declare namespace Version {
110
108
  */
111
109
  isBefore(dateStr: DateString, timezone: keyof typeof timezones): boolean;
112
110
  equals(version: IVersionInfo | Version.String | Version.StringSemVer): boolean;
113
- getTranslation(): TranslationImpl;
114
- getUpdateTranslation(): TranslationImpl | undefined;
115
111
  }
116
112
  export {};
117
113
  }
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * Copyright 2011-2024 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import "@wayward/utilities/types/Class";
12
+ import "@wayward/utilities/types/Descriptions";
13
+ import "@wayward/utilities/types/Function";
14
+ import "@wayward/utilities/types/Immutable";
15
+ import "@wayward/utilities/types/Iterables";
16
+ import "@wayward/utilities/types/Misc";
17
+ import "@wayward/utilities/types/Objects";
18
+ import "@wayward/utilities/types/Types";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.14.4-beta.dev.20250101.1",
4
+ "version": "2.14.4-beta.dev.20250102.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
File without changes
File without changes
File without changes