@quenty/selectionutils 8.16.0 → 8.16.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
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
+ ## [8.16.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@8.16.0...@quenty/selectionutils@8.16.1) (2025-03-21)
7
+
8
+ **Note:** Version bump only for package @quenty/selectionutils
9
+
10
+
11
+
12
+
13
+
6
14
  # [8.16.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/selectionutils@8.15.0...@quenty/selectionutils@8.16.0) (2025-02-18)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/selectionutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/selectionutils",
3
- "version": "8.16.0",
3
+ "version": "8.16.1",
4
4
  "description": "Utility methods around Selection service. Useful for plugins and stories.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -26,16 +26,16 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@quenty/baseobject": "^10.8.0",
29
- "@quenty/brio": "^14.16.0",
29
+ "@quenty/brio": "^14.16.1",
30
30
  "@quenty/loader": "^10.8.0",
31
31
  "@quenty/maid": "^3.4.0",
32
- "@quenty/rx": "^13.16.0",
32
+ "@quenty/rx": "^13.16.1",
33
33
  "@quenty/signal": "^7.10.0",
34
- "@quenty/table": "^3.7.0",
35
- "@quenty/valueobject": "^13.16.0"
34
+ "@quenty/table": "^3.7.1",
35
+ "@quenty/valueobject": "^13.16.1"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "184a407d8d7366c39009444c3c9a7023cb176471"
40
+ "gitHead": "6b7c3e15e60cdb185986207b574e2b5591261e7a"
41
41
  }
@@ -27,7 +27,7 @@ local RxSelectionUtils = {}
27
27
  @param className string
28
28
  @return Observable<Instance?>
29
29
  ]=]
30
- function RxSelectionUtils.observeFirstSelectionWhichIsA(className)
30
+ function RxSelectionUtils.observeFirstSelectionWhichIsA(className: string)
31
31
  assert(type(className) == "string", "Bad className")
32
32
 
33
33
  return RxSelectionUtils.observeFirstSelection(function(inst)
@@ -51,7 +51,7 @@ end
51
51
  @param className string
52
52
  @return Observable<Brio<Instance>>
53
53
  ]=]
54
- function RxSelectionUtils.observeFirstSelectionWhichIsABrio(className)
54
+ function RxSelectionUtils.observeFirstSelectionWhichIsABrio(className: string)
55
55
  assert(type(className) == "string", "Bad className")
56
56
 
57
57
  return RxSelectionUtils.observeFirstSelectionBrio(function(inst)
@@ -79,11 +79,10 @@ function RxSelectionUtils.observeAdorneesBrio()
79
79
  return RxSelectionUtils.observeSelectionItemsBrio():Pipe({
80
80
  RxBrioUtils.where(function(inst)
81
81
  return inst:IsA("BasePart") or inst:IsA("Model")
82
- end)
82
+ end),
83
83
  })
84
84
  end
85
85
 
86
-
87
86
  --[=[
88
87
  Observes first selection which meets condition
89
88
 
@@ -141,15 +140,14 @@ function RxSelectionUtils.observeFirstSelectionBrio(where)
141
140
  assert(type(where) == "function", "Bad where")
142
141
 
143
142
  return RxSelectionUtils.observeFirstSelection(where):Pipe({
144
- RxBrioUtils.toBrio();
145
- RxBrioUtils.onlyLastBrioSurvives();
143
+ RxBrioUtils.toBrio(),
144
+ RxBrioUtils.onlyLastBrioSurvives(),
146
145
  RxBrioUtils.where(function(value)
147
146
  return value ~= nil
148
- end)
147
+ end),
149
148
  })
150
149
  end
151
150
 
152
-
153
151
  --[=[
154
152
  Observes the current selection table.
155
153
 
@@ -210,4 +208,4 @@ function RxSelectionUtils.observeSelectionItemsBrio()
210
208
  end)
211
209
  end
212
210
 
213
- return RxSelectionUtils
211
+ return RxSelectionUtils