@quenty/tie 10.1.0 → 10.2.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.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@10.1.0...@quenty/tie@10.2.0) (2024-03-27)
7
+
8
+
9
+ ### Features
10
+
11
+ * Update avatar editor stuff ([16d10a8](https://github.com/Quenty/NevermoreEngine/commit/16d10a876c90d3b43d69b5f66e217e4c3749296b))
12
+
13
+
14
+
15
+
16
+
6
17
  # [10.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@10.0.0...@quenty/tie@10.1.0) (2024-03-09)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/tie
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/tie",
3
- "version": "10.1.0",
3
+ "version": "10.2.0",
4
4
  "description": "Tie allows interfaces to be defined between Lua OOP and Roblox objects.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -50,5 +50,5 @@
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
- "gitHead": "e0148dde5ca3864389a0faa2da66153a776acc1e"
53
+ "gitHead": "ab3631a54c4e8d448b4229c7e422a9c7f43c0dd7"
54
54
  }
@@ -4,17 +4,16 @@
4
4
 
5
5
  local require = require(script.Parent.loader).load(script)
6
6
 
7
- local BaseObject = require("BaseObject")
8
7
  local TiePropertyImplementation = require("TiePropertyImplementation")
9
8
  local TiePropertyInterface = require("TiePropertyInterface")
10
9
  local TieRealmUtils = require("TieRealmUtils")
11
10
 
12
- local TiePropertyDefinition = setmetatable({}, BaseObject)
11
+ local TiePropertyDefinition = {}
13
12
  TiePropertyDefinition.ClassName = "TiePropertyDefinition"
14
13
  TiePropertyDefinition.__index = TiePropertyDefinition
15
14
 
16
15
  function TiePropertyDefinition.new(tieDefinition, propertyName: string, defaultValue: any, realm)
17
- local self = setmetatable(BaseObject.new(), TiePropertyDefinition)
16
+ local self = setmetatable({}, TiePropertyDefinition)
18
17
 
19
18
  self._tieDefinition = assert(tieDefinition, "No tieDefinition")
20
19
  self._propertyName = assert(propertyName, "No propertyName")
@@ -34,11 +33,11 @@ function TiePropertyDefinition:GetDefaultValue()
34
33
  return self._defaultValue
35
34
  end
36
35
 
37
- function TiePropertyDefinition:IsRequired()
36
+ function TiePropertyDefinition:IsRequired(): boolean
38
37
  return self._isRequired
39
38
  end
40
39
 
41
- function TiePropertyDefinition:IsAllowed()
40
+ function TiePropertyDefinition:IsAllowed(): boolean
42
41
  return self._isAllowed
43
42
  end
44
43