@quenty/valueobject 7.14.0 → 7.14.1-canary.368.76c5466.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 +11 -0
- package/package.json +8 -8
- package/src/Shared/ValueObject.lua +10 -0
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
|
+
## [7.14.1-canary.368.76c5466.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/valueobject@7.14.0...@quenty/valueobject@7.14.1-canary.368.76c5466.0) (2023-06-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Tie interfaces can export checked ValueObjects as Attributes ([6360546](https://github.com/Quenty/NevermoreEngine/commit/63605466f3f27342982556ac1866caafd0202c94))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [7.14.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/valueobject@7.13.0...@quenty/valueobject@7.14.0) (2023-05-26)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/valueobject",
|
|
3
|
-
"version": "7.14.0",
|
|
3
|
+
"version": "7.14.1-canary.368.76c5466.0",
|
|
4
4
|
"description": "To work like value objects in Roblox and track a single item with .Changed events",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"Quenty"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@quenty/brio": "
|
|
30
|
-
"@quenty/loader": "
|
|
31
|
-
"@quenty/maid": "
|
|
32
|
-
"@quenty/rx": "
|
|
33
|
-
"@quenty/signal": "
|
|
34
|
-
"@quenty/valuebaseutils": "
|
|
29
|
+
"@quenty/brio": "8.13.0",
|
|
30
|
+
"@quenty/loader": "6.2.1",
|
|
31
|
+
"@quenty/maid": "2.5.0",
|
|
32
|
+
"@quenty/rx": "7.11.0",
|
|
33
|
+
"@quenty/signal": "2.4.0",
|
|
34
|
+
"@quenty/valuebaseutils": "7.14.0"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "76c546664e39aeed39bd675dcc627ea8b4edfb81"
|
|
40
40
|
}
|
|
@@ -45,6 +45,16 @@ function ValueObject.new(baseValue, checkType)
|
|
|
45
45
|
return setmetatable(self, ValueObject)
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
|
|
49
|
+
--[=[
|
|
50
|
+
Returns the current check type, if any
|
|
51
|
+
|
|
52
|
+
@return string | nil
|
|
53
|
+
]=]
|
|
54
|
+
function ValueObject:GetCheckType()
|
|
55
|
+
return rawget(self, "_checkType")
|
|
56
|
+
end
|
|
57
|
+
|
|
48
58
|
--[=[
|
|
49
59
|
Constructs a new value object
|
|
50
60
|
@param observable Observable<T>
|