@quenty/tie 10.31.0 → 10.32.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 +3 -2
- package/src/Shared/Realms/TieRealms.lua +6 -12
- package/src/Shared/TieDefinition.lua +1 -1
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.32.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@10.31.0...@quenty/tie@10.32.0) (2026-01-16)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add SimpleEnum package and interface, to simplify enum usage across Nevermore ([d3040d7](https://github.com/Quenty/NevermoreEngine/commit/d3040d7a07ae7b2586bb982399b401fe19f1eb3f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [10.31.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@10.30.1...@quenty/tie@10.31.0) (2026-01-13)
|
|
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.
|
|
3
|
+
"version": "10.32.0",
|
|
4
4
|
"description": "Tie allows interfaces to be defined between Lua OOP and Roblox objects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"@quenty/baseobject": "10.9.3",
|
|
36
36
|
"@quenty/brio": "14.23.0",
|
|
37
37
|
"@quenty/collectionserviceutils": "8.24.0",
|
|
38
|
+
"@quenty/enums": "1.1.0",
|
|
38
39
|
"@quenty/instanceutils": "13.23.0",
|
|
39
40
|
"@quenty/loader": "10.9.3",
|
|
40
41
|
"@quenty/maid": "3.5.3",
|
|
@@ -56,5 +57,5 @@
|
|
|
56
57
|
"publishConfig": {
|
|
57
58
|
"access": "public"
|
|
58
59
|
},
|
|
59
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "8d2e7927e4399b4297a04d474d29bdd85692051d"
|
|
60
61
|
}
|
|
@@ -7,18 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
local require = require(script.Parent.loader).load(script)
|
|
9
9
|
|
|
10
|
-
local
|
|
10
|
+
local SimpleEnum = require("SimpleEnum")
|
|
11
11
|
|
|
12
12
|
export type TieRealm = "shared" | "client" | "server"
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
SHARED
|
|
16
|
-
CLIENT
|
|
17
|
-
SERVER
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
return Table.readonly({
|
|
21
|
-
SHARED = "shared",
|
|
22
|
-
CLIENT = "client",
|
|
23
|
-
SERVER = "server",
|
|
24
|
-
} :: TieRealms)
|
|
14
|
+
return SimpleEnum.new({
|
|
15
|
+
SHARED = "shared" :: "shared",
|
|
16
|
+
CLIENT = "client" :: "client",
|
|
17
|
+
SERVER = "server" :: "server",
|
|
18
|
+
})
|
|
@@ -99,7 +99,7 @@ TieDefinition.Types = Table.readonly({
|
|
|
99
99
|
PROPERTY = Symbol.named("property"), -- will default to nil
|
|
100
100
|
}) :: TieDefinitionTypes
|
|
101
101
|
|
|
102
|
-
TieDefinition.Realms = TieRealms
|
|
102
|
+
TieDefinition.Realms = TieRealms
|
|
103
103
|
|
|
104
104
|
export type TieDefinition<T> = typeof(setmetatable(
|
|
105
105
|
{} :: {
|