@quenty/adorneedata 7.17.0 → 7.17.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 +8 -0
- package/package.json +7 -7
- package/src/Shared/AdorneeData.lua +7 -8
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
|
+
## [7.17.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/adorneedata@7.17.0...@quenty/adorneedata@7.17.1) (2025-03-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/adorneedata
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [7.17.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/adorneedata@7.16.0...@quenty/adorneedata@7.17.0) (2025-02-18)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/adorneedata
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/adorneedata",
|
|
3
|
-
"version": "7.17.
|
|
3
|
+
"version": "7.17.1",
|
|
4
4
|
"description": "Bridges attributes and serialization",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/attributeutils": "^14.16.
|
|
28
|
+
"@quenty/attributeutils": "^14.16.1",
|
|
29
29
|
"@quenty/defaultvalueutils": "^1.2.0",
|
|
30
|
-
"@quenty/ducktype": "^5.8.
|
|
30
|
+
"@quenty/ducktype": "^5.8.1",
|
|
31
31
|
"@quenty/loader": "^10.8.0",
|
|
32
|
-
"@quenty/rx": "^13.16.
|
|
33
|
-
"@quenty/rxsignal": "^7.16.
|
|
34
|
-
"@quenty/table": "^3.7.
|
|
32
|
+
"@quenty/rx": "^13.16.1",
|
|
33
|
+
"@quenty/rxsignal": "^7.16.1",
|
|
34
|
+
"@quenty/table": "^3.7.1",
|
|
35
35
|
"@quentystudios/t": "^3.0.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "6b7c3e15e60cdb185986207b574e2b5591261e7a"
|
|
41
41
|
}
|
|
@@ -194,7 +194,7 @@ end
|
|
|
194
194
|
@param adornee Instance
|
|
195
195
|
@return Observable<TStrict>
|
|
196
196
|
]=]
|
|
197
|
-
function AdorneeData:Observe(adornee)
|
|
197
|
+
function AdorneeData:Observe(adornee: Instance)
|
|
198
198
|
assert(typeof(adornee) == "Instance", "Bad adornee")
|
|
199
199
|
|
|
200
200
|
return self:Create(adornee):Observe(adornee)
|
|
@@ -206,7 +206,7 @@ end
|
|
|
206
206
|
@param adornee Instance
|
|
207
207
|
@return AdorneeDataValue
|
|
208
208
|
]=]
|
|
209
|
-
function AdorneeData:Create(adornee)
|
|
209
|
+
function AdorneeData:Create(adornee: Instance)
|
|
210
210
|
assert(typeof(adornee) == "Instance", "Bad adornee")
|
|
211
211
|
|
|
212
212
|
local attributeTableValue = AdorneeDataValue.new(adornee, self._fullPrototype)
|
|
@@ -220,7 +220,7 @@ end
|
|
|
220
220
|
@param adornee Instance
|
|
221
221
|
@return TStrict
|
|
222
222
|
]=]
|
|
223
|
-
function AdorneeData:Get(adornee)
|
|
223
|
+
function AdorneeData:Get(adornee: Instance)
|
|
224
224
|
assert(typeof(adornee) == "Instance", "Bad adornee")
|
|
225
225
|
|
|
226
226
|
local data = {}
|
|
@@ -240,14 +240,13 @@ function AdorneeData:Get(adornee)
|
|
|
240
240
|
return self:CreateStrictData(data)
|
|
241
241
|
end
|
|
242
242
|
|
|
243
|
-
|
|
244
243
|
--[=[
|
|
245
244
|
Sets the attributes for the adornee
|
|
246
245
|
|
|
247
246
|
@param adornee Instance
|
|
248
247
|
@param data T
|
|
249
248
|
]=]
|
|
250
|
-
function AdorneeData:Set(adornee, data)
|
|
249
|
+
function AdorneeData:Set(adornee: Instance, data)
|
|
251
250
|
assert(typeof(adornee) == "Instance", "Bad adornee")
|
|
252
251
|
assert(self:IsData(data))
|
|
253
252
|
|
|
@@ -262,7 +261,7 @@ end
|
|
|
262
261
|
|
|
263
262
|
@param adornee Instance
|
|
264
263
|
]=]
|
|
265
|
-
function AdorneeData:Unset(adornee)
|
|
264
|
+
function AdorneeData:Unset(adornee: Instance)
|
|
266
265
|
assert(typeof(adornee) == "Instance", "Bad adornee")
|
|
267
266
|
|
|
268
267
|
for key, _ in pairs(self._attributePrototype) do
|
|
@@ -278,7 +277,7 @@ end
|
|
|
278
277
|
@param adornee Instance
|
|
279
278
|
@param data TStrict
|
|
280
279
|
]=]
|
|
281
|
-
function AdorneeData:SetStrict(adornee, data)
|
|
280
|
+
function AdorneeData:SetStrict(adornee: Instance, data)
|
|
282
281
|
assert(typeof(adornee) == "Instance", "Bad adornee")
|
|
283
282
|
assert(self:IsStrictData(data))
|
|
284
283
|
|
|
@@ -298,7 +297,7 @@ end
|
|
|
298
297
|
@param adornee Instance
|
|
299
298
|
@param data T | nil
|
|
300
299
|
]=]
|
|
301
|
-
function AdorneeData:InitAttributes(adornee, data)
|
|
300
|
+
function AdorneeData:InitAttributes(adornee: Instance, data)
|
|
302
301
|
data = data or {}
|
|
303
302
|
assert(typeof(adornee) == "Instance", "Bad adornee")
|
|
304
303
|
assert(self:IsData(data))
|