@quenty/boundlinkutils 14.19.0 → 14.19.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
|
+
## [14.19.1-canary.545.2374fb2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/boundlinkutils@14.19.0...@quenty/boundlinkutils@14.19.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
|
# [14.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/boundlinkutils@14.18.2...@quenty/boundlinkutils@14.19.0) (2025-04-02)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/boundlinkutils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/boundlinkutils",
|
|
3
|
-
"version": "14.19.0",
|
|
3
|
+
"version": "14.19.1-canary.545.2374fb2.0",
|
|
4
4
|
"description": "Utility functions involving binders and links",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/binder": "
|
|
29
|
-
"@quenty/linkutils": "
|
|
30
|
-
"@quenty/loader": "
|
|
31
|
-
"@quenty/maid": "
|
|
32
|
-
"@quenty/promise": "
|
|
33
|
-
"@quenty/signal": "
|
|
28
|
+
"@quenty/binder": "14.19.1-canary.545.2374fb2.0",
|
|
29
|
+
"@quenty/linkutils": "13.17.1-canary.545.2374fb2.0",
|
|
30
|
+
"@quenty/loader": "10.8.1-canary.545.2374fb2.0",
|
|
31
|
+
"@quenty/maid": "3.4.1-canary.545.2374fb2.0",
|
|
32
|
+
"@quenty/promise": "10.10.2-canary.545.2374fb2.0",
|
|
33
|
+
"@quenty/signal": "7.10.1-canary.545.2374fb2.0"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "2374fb2b043cfbe0e9b507b3316eec46a4e353a0"
|
|
39
39
|
}
|
|
@@ -44,7 +44,7 @@ end
|
|
|
44
44
|
|
|
45
45
|
function BoundLinkCollection:GetClasses()
|
|
46
46
|
local list = {}
|
|
47
|
-
for class, _ in
|
|
47
|
+
for class, _ in self._classes do
|
|
48
48
|
table.insert(list, class)
|
|
49
49
|
end
|
|
50
50
|
return list
|
|
@@ -67,7 +67,7 @@ function BoundLinkCollection:TrackParent(parent)
|
|
|
67
67
|
self:_removeLink(child)
|
|
68
68
|
end))
|
|
69
69
|
|
|
70
|
-
for _, child in
|
|
70
|
+
for _, child in parent:GetChildren() do
|
|
71
71
|
if child:IsA("ObjectValue") and child.Name == self._linkName then
|
|
72
72
|
self:_handleNewLink(child)
|
|
73
73
|
end
|
|
@@ -49,7 +49,7 @@ function BoundLinkUtils.getLinkClasses(binder, linkName, from)
|
|
|
49
49
|
assert(typeof(from) == "Instance", "Bad from")
|
|
50
50
|
|
|
51
51
|
local classes = {}
|
|
52
|
-
for _, value in
|
|
52
|
+
for _, value in LinkUtils.getAllLinkValues(linkName, from) do
|
|
53
53
|
local class = binder:Get(value)
|
|
54
54
|
if class then
|
|
55
55
|
table.insert(classes, class)
|
|
@@ -78,8 +78,8 @@ function BoundLinkUtils.getClassesForLinkValues(binders, linkName, from)
|
|
|
78
78
|
local tags = BinderUtils.mapBinderListToTable(binders)
|
|
79
79
|
local classes = {}
|
|
80
80
|
|
|
81
|
-
for _, instance in
|
|
82
|
-
for _, tag in
|
|
81
|
+
for _, instance in LinkUtils.getAllLinkValues(linkName, from) do
|
|
82
|
+
for _, tag in CollectionService:GetTags(instance) do
|
|
83
83
|
local binder = tags[tag]
|
|
84
84
|
if binder then
|
|
85
85
|
local obj = binder:Get(instance)
|
|
@@ -133,7 +133,13 @@ function BoundLinkUtils.callMethodOnLinkedClasses(binders, linkName, from, metho
|
|
|
133
133
|
end
|
|
134
134
|
|
|
135
135
|
if called[class] then
|
|
136
|
-
warn(
|
|
136
|
+
warn(
|
|
137
|
+
string.format(
|
|
138
|
+
"[BoundLinkUtils.callMethodOnLinkedClasses] - Double-linked class %q for method %q",
|
|
139
|
+
tag,
|
|
140
|
+
methodName
|
|
141
|
+
)
|
|
142
|
+
)
|
|
137
143
|
return
|
|
138
144
|
end
|
|
139
145
|
|
|
@@ -141,8 +147,8 @@ function BoundLinkUtils.callMethodOnLinkedClasses(binders, linkName, from, metho
|
|
|
141
147
|
class[methodName](class, unpack(args))
|
|
142
148
|
end
|
|
143
149
|
|
|
144
|
-
for _, value in
|
|
145
|
-
for _, tag in
|
|
150
|
+
for _, value in LinkUtils.getAllLinkValues(linkName, from) do
|
|
151
|
+
for _, tag in CollectionService:GetTags(value) do
|
|
146
152
|
callForTag(value, tag)
|
|
147
153
|
end
|
|
148
154
|
end
|