@quenty/tie 10.20.2 → 10.20.3

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,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
+ ## [10.20.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@10.20.2...@quenty/tie@10.20.3) (2025-04-10)
7
+
8
+ **Note:** Version bump only for package @quenty/tie
9
+
10
+
11
+
12
+
13
+
6
14
  ## [10.20.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@10.20.0...@quenty/tie@10.20.2) (2025-04-07)
7
15
 
8
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/tie",
3
- "version": "10.20.2",
3
+ "version": "10.20.3",
4
4
  "description": "Tie allows interfaces to be defined between Lua OOP and Roblox objects.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -28,29 +28,29 @@
28
28
  "Quenty"
29
29
  ],
30
30
  "dependencies": {
31
- "@quenty/attributeutils": "^14.17.2",
32
- "@quenty/baseobject": "^10.8.2",
33
- "@quenty/brio": "^14.17.2",
34
- "@quenty/collectionserviceutils": "^8.17.2",
35
- "@quenty/instanceutils": "^13.17.2",
36
- "@quenty/loader": "^10.8.2",
37
- "@quenty/maid": "^3.4.2",
38
- "@quenty/rx": "^13.17.2",
39
- "@quenty/rxsignal": "^7.17.2",
40
- "@quenty/statestack": "^14.18.2",
31
+ "@quenty/attributeutils": "^14.17.3",
32
+ "@quenty/baseobject": "^10.8.3",
33
+ "@quenty/brio": "^14.17.3",
34
+ "@quenty/collectionserviceutils": "^8.17.3",
35
+ "@quenty/instanceutils": "^13.17.3",
36
+ "@quenty/loader": "^10.8.3",
37
+ "@quenty/maid": "^3.4.3",
38
+ "@quenty/rx": "^13.17.3",
39
+ "@quenty/rxsignal": "^7.17.3",
40
+ "@quenty/statestack": "^14.18.3",
41
41
  "@quenty/string": "^3.3.3",
42
42
  "@quenty/symbol": "^3.4.2",
43
- "@quenty/table": "^3.7.3",
44
- "@quenty/tuple": "^1.5.2",
45
- "@quenty/valuebaseutils": "^13.17.2",
46
- "@quenty/valueobject": "^13.17.2"
43
+ "@quenty/table": "^3.7.4",
44
+ "@quenty/tuple": "^1.5.3",
45
+ "@quenty/valuebaseutils": "^13.17.3",
46
+ "@quenty/valueobject": "^13.17.3"
47
47
  },
48
48
  "devDependencies": {
49
- "@quenty/promise": "^10.10.3",
50
- "@quenty/signal": "^7.10.2"
49
+ "@quenty/promise": "^10.10.4",
50
+ "@quenty/signal": "^7.10.3"
51
51
  },
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "64def70499ec067077ee39f279936b620b217847"
55
+ "gitHead": "b06c070ae91d5dab7bd8de6e290ad2caabb15d8f"
56
56
  }
@@ -12,8 +12,16 @@ local _TieRealms = require("TieRealms")
12
12
  local TieRealmService = {}
13
13
  TieRealmService.ServiceName = "TieRealmService"
14
14
 
15
- function TieRealmService:Init(serviceBag: _ServiceBag.ServiceBag)
16
- assert(not self._serviceBag, "Already initialized")
15
+ export type TieRealmService = typeof(setmetatable(
16
+ {} :: {
17
+ _serviceBag: _ServiceBag.ServiceBag,
18
+ _tieRealm: _TieRealms.TieRealm,
19
+ },
20
+ {} :: typeof({ __index = TieRealmService })
21
+ ))
22
+
23
+ function TieRealmService.Init(self: TieRealmService, serviceBag: _ServiceBag.ServiceBag)
24
+ assert(not (self :: any)._serviceBag, "Already initialized")
17
25
  self._serviceBag = assert(serviceBag, "No serviceBag")
18
26
 
19
27
  if not self._tieRealm then
@@ -21,13 +29,19 @@ function TieRealmService:Init(serviceBag: _ServiceBag.ServiceBag)
21
29
  end
22
30
  end
23
31
 
24
- function TieRealmService:SetTieRealm(tieRealm: _TieRealms.TieRealm)
32
+ --[=[
33
+ Sets the tie realm for this service bag
34
+ ]=]
35
+ function TieRealmService.SetTieRealm(self: TieRealmService, tieRealm: _TieRealms.TieRealm)
25
36
  assert(TieRealmUtils.isTieRealm(tieRealm), "Bad tieRealm")
26
37
 
27
38
  self._tieRealm = tieRealm
28
39
  end
29
40
 
30
- function TieRealmService:GetTieRealm(): _TieRealms.TieRealm
41
+ --[=[
42
+ Get the tie realm for this service bag
43
+ ]=]
44
+ function TieRealmService.GetTieRealm(self: TieRealmService): _TieRealms.TieRealm
31
45
  return self._tieRealm
32
46
  end
33
47