@quenty/settings-inputkeymap 10.25.0 → 10.25.1-canary.545.2374fb2.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [10.25.1-canary.545.2374fb2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/settings-inputkeymap@10.25.0...@quenty/settings-inputkeymap@10.25.1-canary.545.2374fb2.0) (2025-04-05)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
12
+
13
+
14
+
15
+
16
+
6
17
  # [10.25.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/settings-inputkeymap@10.24.5...@quenty/settings-inputkeymap@10.25.0) (2025-04-02)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/settings-inputkeymap
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/settings-inputkeymap",
3
- "version": "10.25.0",
3
+ "version": "10.25.1-canary.545.2374fb2.0",
4
4
  "description": "Input key map setting saving for players",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -28,17 +28,17 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@quenty/baseobject": "^10.8.0",
32
- "@quenty/enumutils": "^3.4.0",
33
- "@quenty/inputkeymaputils": "^14.23.0",
34
- "@quenty/inputmode": "^13.18.0",
35
- "@quenty/jsonutils": "^10.10.1",
36
- "@quenty/loader": "^10.8.0",
37
- "@quenty/maid": "^3.4.0",
38
- "@quenty/servicebag": "^11.11.1",
39
- "@quenty/settings": "^11.23.0",
40
- "@quenty/string": "^3.3.1",
41
- "@quenty/table": "^3.7.1"
31
+ "@quenty/baseobject": "10.8.1-canary.545.2374fb2.0",
32
+ "@quenty/enumutils": "3.4.1-canary.545.2374fb2.0",
33
+ "@quenty/inputkeymaputils": "14.23.1-canary.545.2374fb2.0",
34
+ "@quenty/inputmode": "13.18.1-canary.545.2374fb2.0",
35
+ "@quenty/jsonutils": "10.10.2-canary.545.2374fb2.0",
36
+ "@quenty/loader": "10.8.1-canary.545.2374fb2.0",
37
+ "@quenty/maid": "3.4.1-canary.545.2374fb2.0",
38
+ "@quenty/servicebag": "11.11.2-canary.545.2374fb2.0",
39
+ "@quenty/settings": "11.23.1-canary.545.2374fb2.0",
40
+ "@quenty/string": "3.3.2-canary.545.2374fb2.0",
41
+ "@quenty/table": "3.7.2-canary.545.2374fb2.0"
42
42
  },
43
- "gitHead": "e8ea56930e65322fcffc05a1556d5df988068f0b"
43
+ "gitHead": "2374fb2b043cfbe0e9b507b3316eec46a4e353a0"
44
44
  }
@@ -6,11 +6,12 @@ local require = require(script.Parent.loader).load(script)
6
6
 
7
7
  local Maid = require("Maid")
8
8
  local InputKeyMapSettingClient = require("InputKeyMapSettingClient")
9
+ local _ServiceBag = require("ServiceBag")
9
10
 
10
11
  local SettingsInputKeyMapServiceClient = {}
11
12
  SettingsInputKeyMapServiceClient.ServiceName = "SettingsInputKeyMapServiceClient"
12
13
 
13
- function SettingsInputKeyMapServiceClient:Init(serviceBag)
14
+ function SettingsInputKeyMapServiceClient:Init(serviceBag: _ServiceBag.ServiceBag)
14
15
  assert(not self._serviceBag, "Already initialized")
15
16
  self._serviceBag = assert(serviceBag, "No serviceBag")
16
17
  self._maid = Maid.new()
@@ -6,11 +6,12 @@ local require = require(script.Parent.loader).load(script)
6
6
 
7
7
  local Maid = require("Maid")
8
8
  local InputKeyMapSetting = require("InputKeyMapSetting")
9
+ local _ServiceBag = require("ServiceBag")
9
10
 
10
11
  local SettingsInputKeyMapService = {}
11
12
  SettingsInputKeyMapService.ServiceName = "SettingsInputKeyMapService"
12
13
 
13
- function SettingsInputKeyMapService:Init(serviceBag)
14
+ function SettingsInputKeyMapService:Init(serviceBag: _ServiceBag.ServiceBag)
14
15
  assert(not self._serviceBag, "Already initialized")
15
16
  self._serviceBag = assert(serviceBag, "No serviceBag")
16
17
  self._maid = Maid.new()
@@ -34,7 +34,7 @@ end
34
34
  function InputKeyMapSettingUtils.encodeInputTypeList(list)
35
35
  local newList = {}
36
36
 
37
- for _, inputType in pairs(list) do
37
+ for _, inputType in list do
38
38
  if typeof(inputType) == "EnumItem" then
39
39
  table.insert(newList, EnumUtils.encodeAsString(inputType))
40
40
  elseif InputTypeUtils.isKnownInputType(inputType) then
@@ -71,7 +71,7 @@ function InputKeyMapSettingUtils.decodeInputTypeList(encoded)
71
71
 
72
72
  local decodedList = {}
73
73
 
74
- for _, inputType in pairs(result) do
74
+ for _, inputType in result do
75
75
  if EnumUtils.isEncodedEnum(inputType) then
76
76
  table.insert(decodedList, EnumUtils.decodeFromString(inputType))
77
77
  elseif InputTypeUtils.isKnownInputType(inputType) then