cluaupp 1.3.0 → 1.4.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.
Files changed (2328) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +4 -2
  3. package/editors/vscode/package.json +1 -1
  4. package/examples/README.md +5 -6
  5. package/examples/game/default.project.json +16 -11
  6. package/examples/game/include/clpp/datatypes.clh +40 -14
  7. package/examples/game/include/clpp/generated/instances.clh +80467 -5845
  8. package/examples/game/include/clpp/libs/arrayindexer.clh +12 -0
  9. package/examples/game/include/clpp/libs/axiom.clh +154 -0
  10. package/examples/game/include/clpp/libs/bloom.clh +58 -0
  11. package/examples/game/include/clpp/libs/coil.clh +37 -0
  12. package/examples/game/include/clpp/libs/crest.clh +22 -0
  13. package/examples/game/include/clpp/libs/echo.clh +52 -0
  14. package/examples/game/include/clpp/libs/ember.clh +17 -0
  15. package/examples/game/include/clpp/libs/flare.clh +65 -0
  16. package/examples/game/include/clpp/libs/gleam.clh +111 -0
  17. package/examples/game/include/clpp/libs/guide.clh +42 -0
  18. package/examples/game/include/clpp/libs/helm.clh +31 -0
  19. package/examples/game/include/clpp/libs/hive.clh +20 -0
  20. package/examples/game/include/clpp/libs/keep.clh +158 -0
  21. package/examples/game/include/clpp/libs/lens.clh +24 -0
  22. package/examples/game/include/clpp/libs/mint.clh +28 -0
  23. package/examples/game/include/clpp/libs/net.clh +15 -24
  24. package/examples/game/include/clpp/libs/occlude.clh +15 -0
  25. package/examples/game/include/clpp/libs/pin.clh +28 -0
  26. package/examples/game/include/clpp/libs/promise.clh +11 -15
  27. package/examples/game/include/clpp/libs/roster.clh +117 -0
  28. package/examples/game/include/clpp/libs/shift.clh +22 -0
  29. package/examples/game/include/clpp/libs/spark.clh +28 -0
  30. package/examples/game/include/clpp/libs/stage.clh +23 -0
  31. package/examples/game/include/clpp/libs/sweep.clh +23 -0
  32. package/examples/game/include/clpp/libs/trace.clh +18 -0
  33. package/examples/game/include/clpp/libs/ward.clh +18 -0
  34. package/examples/game/include/clpp/libs.clh +24 -17
  35. package/examples/game/include/clpp/roblox.clh +13 -3
  36. package/examples/game/src/ReplicatedFirst/Loading/.gitkeep +1 -0
  37. package/examples/game/src/ReplicatedStorage/Shared/Constants/Classes/.gitkeep +1 -0
  38. package/examples/game/src/ReplicatedStorage/Shared/Constants/Datas/TemplateData.clh +40 -0
  39. package/examples/game/src/ReplicatedStorage/Shared/Constants/Primitives/.gitkeep +1 -0
  40. package/examples/game/src/ReplicatedStorage/Shared/Modules/.gitkeep +1 -0
  41. package/examples/game/src/ReplicatedStorage/Shared/Net/.gitkeep +1 -0
  42. package/examples/game/src/ReplicatedStorage/Shared/Services/.gitkeep +1 -0
  43. package/examples/game/src/ReplicatedStorage/Shared/Types/.gitkeep +1 -0
  44. package/examples/game/src/ReplicatedStorage/Shared/Utils/.gitkeep +1 -0
  45. package/examples/game/src/ServerScriptService/Boot/DataBoot.server.clpp +13 -0
  46. package/examples/game/src/ServerScriptService/Components/.gitkeep +1 -0
  47. package/examples/game/src/ServerScriptService/Configuration/ServerConfig.clp +4 -0
  48. package/examples/game/src/ServerScriptService/Handlers/Guard.server.clpp +7 -0
  49. package/examples/game/src/ServerScriptService/Handlers/PlayerHandler.server.clpp +23 -0
  50. package/examples/game/src/ServerScriptService/Services/.gitkeep +1 -0
  51. package/examples/game/src/ServerStorage/Configuration/.gitkeep +1 -0
  52. package/examples/game/src/ServerStorage/Modules/.gitkeep +1 -0
  53. package/examples/game/src/StarterPlayer/StarterCharacterScripts/Character/CharacterReady.client.clpp +6 -0
  54. package/examples/game/src/StarterPlayer/StarterCharacterScripts/Combat/.gitkeep +1 -0
  55. package/examples/game/src/StarterPlayer/StarterCharacterScripts/Movement/.gitkeep +1 -0
  56. package/examples/game/src/StarterPlayer/StarterPlayerScripts/Controllers/DataController.client.clpp +7 -0
  57. package/examples/game/src/StarterPlayer/StarterPlayerScripts/Input/.gitkeep +1 -0
  58. package/examples/game/src/StarterPlayer/StarterPlayerScripts/UI/.gitkeep +1 -0
  59. package/examples/game/wally.toml +3 -3
  60. package/generated/cli.js +1 -1
  61. package/generated/clpp/contract.js +2 -2
  62. package/generated/clpp/paths.js +2 -1
  63. package/generated/clpp/postprocess.js +64 -6
  64. package/generated/compile.js +4 -3
  65. package/generated/flare/emit.js +222 -0
  66. package/generated/flare/index.js +58 -0
  67. package/generated/flare/parse.js +130 -0
  68. package/generated/flare/types.js +2 -0
  69. package/generated/libs.js +146 -75
  70. package/generated/native/index.js +482 -0
  71. package/generated/utils/project.js +115 -12
  72. package/generated/utils/rojo-mapper.js +12 -6
  73. package/include/clpp/datatypes.clh +40 -14
  74. package/include/clpp/generated/instances.clh +80467 -5845
  75. package/include/clpp/libs/arrayindexer.clh +12 -0
  76. package/include/clpp/libs/axiom.clh +154 -0
  77. package/include/clpp/libs/bloom.clh +58 -0
  78. package/include/clpp/libs/coil.clh +37 -0
  79. package/include/clpp/libs/crest.clh +22 -0
  80. package/include/clpp/libs/echo.clh +52 -0
  81. package/include/clpp/libs/ember.clh +17 -0
  82. package/include/clpp/libs/flare.clh +65 -0
  83. package/include/clpp/libs/gleam.clh +111 -0
  84. package/include/clpp/libs/guide.clh +42 -0
  85. package/include/clpp/libs/helm.clh +31 -0
  86. package/include/clpp/libs/hive.clh +20 -0
  87. package/include/clpp/libs/keep.clh +158 -0
  88. package/include/clpp/libs/lens.clh +24 -0
  89. package/include/clpp/libs/mint.clh +28 -0
  90. package/include/clpp/libs/net.clh +15 -24
  91. package/include/clpp/libs/occlude.clh +15 -0
  92. package/include/clpp/libs/pin.clh +28 -0
  93. package/include/clpp/libs/promise.clh +11 -15
  94. package/include/clpp/libs/roster.clh +117 -0
  95. package/include/clpp/libs/shift.clh +22 -0
  96. package/include/clpp/libs/spark.clh +28 -0
  97. package/include/clpp/libs/stage.clh +23 -0
  98. package/include/clpp/libs/sweep.clh +23 -0
  99. package/include/clpp/libs/trace.clh +18 -0
  100. package/include/clpp/libs/ward.clh +18 -0
  101. package/include/clpp/libs.clh +24 -17
  102. package/include/clpp/roblox.clh +13 -3
  103. package/package.json +3 -2
  104. package/runtime/ArrayIndexer/init.luau +127 -62
  105. package/runtime/Axiom/init.luau +605 -0
  106. package/runtime/Bloom/init.luau +433 -0
  107. package/runtime/Coil/init.luau +209 -0
  108. package/runtime/Crest/init.luau +425 -0
  109. package/runtime/Echo/init.luau +417 -0
  110. package/runtime/Ember/init.luau +365 -0
  111. package/runtime/Flare/init.luau +716 -0
  112. package/runtime/Gleam/init.luau +718 -0
  113. package/runtime/Guide/init.luau +215 -0
  114. package/runtime/Helm/init.luau +377 -0
  115. package/runtime/Hive/init.luau +219 -0
  116. package/runtime/Keep/Client.luau +114 -0
  117. package/runtime/Keep/Data.luau +883 -0
  118. package/runtime/Keep/Engine.luau +211 -0
  119. package/runtime/Keep/Replicator.luau +298 -0
  120. package/runtime/Keep/Server.luau +251 -0
  121. package/runtime/Keep/Store.luau +652 -0
  122. package/runtime/Keep/Trade.luau +455 -0
  123. package/runtime/Keep/init.luau +205 -0
  124. package/runtime/Lens/init.luau +609 -0
  125. package/runtime/Mint/init.luau +279 -0
  126. package/runtime/Net/init.luau +33 -2
  127. package/runtime/Net/src/codec.luau +98 -27
  128. package/runtime/Occlude/init.luau +64 -1
  129. package/runtime/Pin/init.luau +306 -0
  130. package/runtime/Roster/init.luau +678 -0
  131. package/runtime/SOURCES.md +28 -19
  132. package/runtime/Shift/init.luau +238 -0
  133. package/runtime/Spark/init.luau +484 -0
  134. package/runtime/Stage/init.luau +178 -0
  135. package/runtime/Sweep/init.luau +257 -0
  136. package/runtime/Trace/init.luau +210 -0
  137. package/runtime/Ward/init.luau +178 -0
  138. package/src/cli.ts +1 -1
  139. package/src/clpp/contract.ts +2 -2
  140. package/src/clpp/paths.ts +2 -1
  141. package/src/clpp/postprocess.ts +69 -7
  142. package/src/compile.ts +11 -3
  143. package/src/flare/emit.ts +231 -0
  144. package/src/flare/index.ts +50 -0
  145. package/src/flare/parse.ts +147 -0
  146. package/src/flare/types.ts +61 -0
  147. package/src/libs.ts +147 -75
  148. package/src/native/index.ts +509 -0
  149. package/src/utils/project.ts +116 -12
  150. package/src/utils/rojo-mapper.ts +12 -6
  151. package/templates/game/default.project.json +16 -11
  152. package/templates/game/include/clpp/datatypes.clh +40 -14
  153. package/templates/game/include/clpp/generated/instances.clh +80467 -5845
  154. package/templates/game/include/clpp/libs/arrayindexer.clh +12 -0
  155. package/templates/game/include/clpp/libs/axiom.clh +154 -0
  156. package/templates/game/include/clpp/libs/bloom.clh +58 -0
  157. package/templates/game/include/clpp/libs/coil.clh +37 -0
  158. package/templates/game/include/clpp/libs/crest.clh +22 -0
  159. package/templates/game/include/clpp/libs/echo.clh +52 -0
  160. package/templates/game/include/clpp/libs/ember.clh +17 -0
  161. package/templates/game/include/clpp/libs/flare.clh +65 -0
  162. package/templates/game/include/clpp/libs/gleam.clh +111 -0
  163. package/templates/game/include/clpp/libs/guide.clh +42 -0
  164. package/templates/game/include/clpp/libs/helm.clh +31 -0
  165. package/templates/game/include/clpp/libs/hive.clh +20 -0
  166. package/templates/game/include/clpp/libs/keep.clh +158 -0
  167. package/templates/game/include/clpp/libs/lens.clh +24 -0
  168. package/templates/game/include/clpp/libs/mint.clh +28 -0
  169. package/templates/game/include/clpp/libs/net.clh +15 -24
  170. package/templates/game/include/clpp/libs/occlude.clh +15 -0
  171. package/templates/game/include/clpp/libs/pin.clh +28 -0
  172. package/templates/game/include/clpp/libs/promise.clh +11 -15
  173. package/templates/game/include/clpp/libs/roster.clh +117 -0
  174. package/templates/game/include/clpp/libs/shift.clh +22 -0
  175. package/templates/game/include/clpp/libs/spark.clh +28 -0
  176. package/templates/game/include/clpp/libs/stage.clh +23 -0
  177. package/templates/game/include/clpp/libs/sweep.clh +23 -0
  178. package/templates/game/include/clpp/libs/trace.clh +18 -0
  179. package/templates/game/include/clpp/libs/ward.clh +18 -0
  180. package/templates/game/include/clpp/libs.clh +24 -17
  181. package/templates/game/include/clpp/roblox.clh +13 -3
  182. package/templates/game/src/ReplicatedFirst/Loading/.gitkeep +1 -0
  183. package/templates/game/src/ReplicatedStorage/Shared/Constants/Classes/.gitkeep +1 -0
  184. package/templates/game/src/ReplicatedStorage/Shared/Constants/Datas/TemplateData.clh +40 -0
  185. package/templates/game/src/ReplicatedStorage/Shared/Constants/Primitives/.gitkeep +1 -0
  186. package/templates/game/src/ReplicatedStorage/Shared/Modules/.gitkeep +1 -0
  187. package/templates/game/src/ReplicatedStorage/Shared/Net/.gitkeep +1 -0
  188. package/templates/game/src/ReplicatedStorage/Shared/Services/.gitkeep +1 -0
  189. package/templates/game/src/ReplicatedStorage/Shared/Types/.gitkeep +1 -0
  190. package/templates/game/src/ReplicatedStorage/Shared/Utils/.gitkeep +1 -0
  191. package/templates/game/src/ServerScriptService/Boot/DataBoot.server.clpp +13 -0
  192. package/templates/game/src/ServerScriptService/Components/.gitkeep +1 -0
  193. package/templates/game/src/ServerScriptService/Configuration/ServerConfig.clp +4 -0
  194. package/templates/game/src/ServerScriptService/Handlers/Guard.server.clpp +7 -0
  195. package/templates/game/src/ServerScriptService/Handlers/PlayerHandler.server.clpp +24 -0
  196. package/templates/game/src/ServerScriptService/Services/.gitkeep +1 -0
  197. package/templates/game/src/ServerStorage/Configuration/.gitkeep +1 -0
  198. package/templates/game/src/ServerStorage/Modules/.gitkeep +1 -0
  199. package/templates/game/src/StarterPlayer/StarterCharacterScripts/Character/CharacterReady.client.clpp +6 -0
  200. package/templates/game/src/StarterPlayer/StarterCharacterScripts/Combat/.gitkeep +1 -0
  201. package/templates/game/src/StarterPlayer/StarterCharacterScripts/Movement/.gitkeep +1 -0
  202. package/templates/game/src/StarterPlayer/StarterPlayerScripts/Controllers/DataController.client.clpp +7 -0
  203. package/templates/game/src/StarterPlayer/StarterPlayerScripts/Input/.gitkeep +1 -0
  204. package/templates/game/src/StarterPlayer/StarterPlayerScripts/UI/.gitkeep +1 -0
  205. package/templates/game/wally.toml +4 -3
  206. package/examples/game/include/clpp/libs/chrono.clh +0 -26
  207. package/examples/game/include/clpp/libs/cmdr.clh +0 -16
  208. package/examples/game/include/clpp/libs/dataservice.clh +0 -138
  209. package/examples/game/include/clpp/libs/display.clh +0 -12
  210. package/examples/game/include/clpp/libs/ezvisual.clh +0 -16
  211. package/examples/game/include/clpp/libs/formatnumber.clh +0 -14
  212. package/examples/game/include/clpp/libs/fusion.clh +0 -41
  213. package/examples/game/include/clpp/libs/iris.clh +0 -40
  214. package/examples/game/include/clpp/libs/janitor.clh +0 -38
  215. package/examples/game/include/clpp/libs/math.clh +0 -14
  216. package/examples/game/include/clpp/libs/module3d.clh +0 -23
  217. package/examples/game/include/clpp/libs/spring.clh +0 -17
  218. package/examples/game/include/clpp/libs/statemachine.clh +0 -18
  219. package/examples/game/include/clpp/libs/stickybillboard.clh +0 -13
  220. package/examples/game/include/clpp/libs/topbarplus.clh +0 -28
  221. package/examples/game/include/clpp/libs/twinkle.clh +0 -15
  222. package/examples/game/include/clpp/libs/vfx.clh +0 -13
  223. package/examples/game/libs/ArrayIndexer/init.luau +0 -144
  224. package/examples/game/libs/Chrono/Client/ClientClock.luau +0 -202
  225. package/examples/game/libs/Chrono/Client/InterpolationBuffer.luau +0 -74
  226. package/examples/game/libs/Chrono/Client/ModelResolver.luau +0 -53
  227. package/examples/game/libs/Chrono/Client/Player.luau +0 -113
  228. package/examples/game/libs/Chrono/Client/Receiver.luau +0 -395
  229. package/examples/game/libs/Chrono/Client/Replicate.luau +0 -333
  230. package/examples/game/libs/Chrono/Client/Sender.luau +0 -205
  231. package/examples/game/libs/Chrono/LICENSE +0 -21
  232. package/examples/game/libs/Chrono/Server/EntityGrid.luau +0 -299
  233. package/examples/game/libs/Chrono/Server/Player.luau +0 -141
  234. package/examples/game/libs/Chrono/Server/Receiver.luau +0 -287
  235. package/examples/game/libs/Chrono/Server/Replicate.luau +0 -415
  236. package/examples/game/libs/Chrono/Server/Sender.luau +0 -306
  237. package/examples/game/libs/Chrono/Server/ServerClock.luau +0 -50
  238. package/examples/game/libs/Chrono/Shared/ApplyMounts.luau +0 -137
  239. package/examples/game/libs/Chrono/Shared/Bin.luau +0 -31
  240. package/examples/game/libs/Chrono/Shared/ClockUnwrap.luau +0 -70
  241. package/examples/game/libs/Chrono/Shared/Config.luau +0 -264
  242. package/examples/game/libs/Chrono/Shared/Entity.luau +0 -1016
  243. package/examples/game/libs/Chrono/Shared/Events.luau +0 -39
  244. package/examples/game/libs/Chrono/Shared/Holder.luau +0 -210
  245. package/examples/game/libs/Chrono/Shared/InterpolationMath.luau +0 -51
  246. package/examples/game/libs/Chrono/Shared/ModelHelper.luau +0 -122
  247. package/examples/game/libs/Chrono/Shared/Remotes/ClientClockRelay.model.json +0 -3
  248. package/examples/game/libs/Chrono/Shared/Remotes/ClientHeartbeat.model.json +0 -3
  249. package/examples/game/libs/Chrono/Shared/Remotes/ClientLoaded.model.json +0 -3
  250. package/examples/game/libs/Chrono/Shared/Remotes/Death.model.json +0 -3
  251. package/examples/game/libs/Chrono/Shared/Remotes/Heartbeat.model.json +0 -3
  252. package/examples/game/libs/Chrono/Shared/Remotes/Replicate.model.json +0 -3
  253. package/examples/game/libs/Chrono/Shared/Remotes/ReplicateFull.model.json +0 -3
  254. package/examples/game/libs/Chrono/Shared/Remotes/SafeReplicate.model.json +0 -3
  255. package/examples/game/libs/Chrono/Shared/ReplicationRules.luau +0 -122
  256. package/examples/game/libs/Chrono/Shared/Signal.luau +0 -219
  257. package/examples/game/libs/Chrono/Shared/Snapshots.luau +0 -218
  258. package/examples/game/libs/Chrono/Shared/Stats.luau +0 -204
  259. package/examples/game/libs/Chrono/Shared/Ticker.luau +0 -112
  260. package/examples/game/libs/Chrono/Shared/Types.luau +0 -247
  261. package/examples/game/libs/Chrono/Shared/Warn.luau +0 -33
  262. package/examples/game/libs/Chrono/Shared/_CUSTOM_MODEL_REP/init.model.json +0 -3
  263. package/examples/game/libs/Chrono/_impl/Client/ClientClock.luau +0 -202
  264. package/examples/game/libs/Chrono/_impl/Client/InterpolationBuffer.luau +0 -74
  265. package/examples/game/libs/Chrono/_impl/Client/ModelResolver.luau +0 -53
  266. package/examples/game/libs/Chrono/_impl/Client/Player.luau +0 -113
  267. package/examples/game/libs/Chrono/_impl/Client/Receiver.luau +0 -395
  268. package/examples/game/libs/Chrono/_impl/Client/Replicate.luau +0 -333
  269. package/examples/game/libs/Chrono/_impl/Client/Sender.luau +0 -205
  270. package/examples/game/libs/Chrono/_impl/LICENSE +0 -21
  271. package/examples/game/libs/Chrono/_impl/Server/EntityGrid.luau +0 -299
  272. package/examples/game/libs/Chrono/_impl/Server/Player.luau +0 -141
  273. package/examples/game/libs/Chrono/_impl/Server/Receiver.luau +0 -287
  274. package/examples/game/libs/Chrono/_impl/Server/Replicate.luau +0 -415
  275. package/examples/game/libs/Chrono/_impl/Server/Sender.luau +0 -306
  276. package/examples/game/libs/Chrono/_impl/Server/ServerClock.luau +0 -50
  277. package/examples/game/libs/Chrono/_impl/Shared/ApplyMounts.luau +0 -137
  278. package/examples/game/libs/Chrono/_impl/Shared/Bin.luau +0 -31
  279. package/examples/game/libs/Chrono/_impl/Shared/ClockUnwrap.luau +0 -70
  280. package/examples/game/libs/Chrono/_impl/Shared/Config.luau +0 -264
  281. package/examples/game/libs/Chrono/_impl/Shared/Entity.luau +0 -1016
  282. package/examples/game/libs/Chrono/_impl/Shared/Events.luau +0 -39
  283. package/examples/game/libs/Chrono/_impl/Shared/Holder.luau +0 -210
  284. package/examples/game/libs/Chrono/_impl/Shared/InterpolationMath.luau +0 -51
  285. package/examples/game/libs/Chrono/_impl/Shared/ModelHelper.luau +0 -122
  286. package/examples/game/libs/Chrono/_impl/Shared/Remotes/ClientClockRelay.model.json +0 -3
  287. package/examples/game/libs/Chrono/_impl/Shared/Remotes/ClientHeartbeat.model.json +0 -3
  288. package/examples/game/libs/Chrono/_impl/Shared/Remotes/ClientLoaded.model.json +0 -3
  289. package/examples/game/libs/Chrono/_impl/Shared/Remotes/Death.model.json +0 -3
  290. package/examples/game/libs/Chrono/_impl/Shared/Remotes/Heartbeat.model.json +0 -3
  291. package/examples/game/libs/Chrono/_impl/Shared/Remotes/Replicate.model.json +0 -3
  292. package/examples/game/libs/Chrono/_impl/Shared/Remotes/ReplicateFull.model.json +0 -3
  293. package/examples/game/libs/Chrono/_impl/Shared/Remotes/SafeReplicate.model.json +0 -3
  294. package/examples/game/libs/Chrono/_impl/Shared/ReplicationRules.luau +0 -122
  295. package/examples/game/libs/Chrono/_impl/Shared/Signal.luau +0 -219
  296. package/examples/game/libs/Chrono/_impl/Shared/Snapshots.luau +0 -218
  297. package/examples/game/libs/Chrono/_impl/Shared/Stats.luau +0 -204
  298. package/examples/game/libs/Chrono/_impl/Shared/Ticker.luau +0 -112
  299. package/examples/game/libs/Chrono/_impl/Shared/Types.luau +0 -247
  300. package/examples/game/libs/Chrono/_impl/Shared/Warn.luau +0 -33
  301. package/examples/game/libs/Chrono/_impl/Shared/_CUSTOM_MODEL_REP/init.model.json +0 -3
  302. package/examples/game/libs/Chrono/_impl/init.luau +0 -96
  303. package/examples/game/libs/Chrono/init.luau +0 -14
  304. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/announce.luau +0 -21
  305. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/announceServer.luau +0 -17
  306. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/ban.luau +0 -59
  307. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/banServer.luau +0 -30
  308. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlace.luau +0 -35
  309. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlaceServer.luau +0 -17
  310. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/kick.luau +0 -19
  311. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/kickServer.luau +0 -27
  312. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/kill.luau +0 -13
  313. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/killServer.luau +0 -13
  314. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/respawn.luau +0 -15
  315. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/respawnServer.luau +0 -7
  316. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/teleport.luau +0 -30
  317. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/teleportServer.luau +0 -26
  318. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/unban.luau +0 -26
  319. package/examples/game/libs/Cmdr/BuiltInCommands/Admin/unbanServer.luau +0 -10
  320. package/examples/game/libs/Cmdr/BuiltInCommands/Debug/blink.luau +0 -35
  321. package/examples/game/libs/Cmdr/BuiltInCommands/Debug/fetch.luau +0 -12
  322. package/examples/game/libs/Cmdr/BuiltInCommands/Debug/fetchServer.luau +0 -7
  323. package/examples/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +0 -20
  324. package/examples/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +0 -28
  325. package/examples/game/libs/Cmdr/BuiltInCommands/Debug/position.luau +0 -30
  326. package/examples/game/libs/Cmdr/BuiltInCommands/Debug/thru.luau +0 -50
  327. package/examples/game/libs/Cmdr/BuiltInCommands/Debug/uptime.luau +0 -6
  328. package/examples/game/libs/Cmdr/BuiltInCommands/Debug/uptimeServer.luau +0 -12
  329. package/examples/game/libs/Cmdr/BuiltInCommands/Debug/version.luau +0 -12
  330. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/alias.luau +0 -22
  331. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/bind.luau +0 -104
  332. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/clear.luau +0 -20
  333. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/convertTimestamp.luau +0 -18
  334. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/echo.luau +0 -17
  335. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/edit.luau +0 -75
  336. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/exit.luau +0 -11
  337. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/history.luau +0 -27
  338. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/hover.luau +0 -21
  339. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayDecode.luau +0 -25
  340. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayEncode.luau +0 -18
  341. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/len.luau +0 -16
  342. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/math.luau +0 -36
  343. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/pick.luau +0 -21
  344. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/rand.luau +0 -27
  345. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/replace.luau +0 -32
  346. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/resolve.luau +0 -32
  347. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/run.luau +0 -20
  348. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/runLines.luau +0 -34
  349. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/runif.luau +0 -95
  350. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/unbind.luau +0 -27
  351. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/var.luau +0 -29
  352. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/varServer.luau +0 -37
  353. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/varSet.luau +0 -30
  354. package/examples/game/libs/Cmdr/BuiltInCommands/Utility/varSetServer.luau +0 -29
  355. package/examples/game/libs/Cmdr/BuiltInCommands/help.luau +0 -96
  356. package/examples/game/libs/Cmdr/BuiltInTypes/BrickColor.luau +0 -258
  357. package/examples/game/libs/Cmdr/BuiltInTypes/Color3.luau +0 -59
  358. package/examples/game/libs/Cmdr/BuiltInTypes/Command.luau +0 -23
  359. package/examples/game/libs/Cmdr/BuiltInTypes/Duration.luau +0 -111
  360. package/examples/game/libs/Cmdr/BuiltInTypes/JSON.luau +0 -13
  361. package/examples/game/libs/Cmdr/BuiltInTypes/MathOperator.luau +0 -43
  362. package/examples/game/libs/Cmdr/BuiltInTypes/Player.luau +0 -36
  363. package/examples/game/libs/Cmdr/BuiltInTypes/PlayerId.luau +0 -66
  364. package/examples/game/libs/Cmdr/BuiltInTypes/Primitives.luau +0 -145
  365. package/examples/game/libs/Cmdr/BuiltInTypes/StoredKey.luau +0 -33
  366. package/examples/game/libs/Cmdr/BuiltInTypes/Team.luau +0 -49
  367. package/examples/game/libs/Cmdr/BuiltInTypes/Type.luau +0 -23
  368. package/examples/game/libs/Cmdr/BuiltInTypes/URL.luau +0 -18
  369. package/examples/game/libs/Cmdr/BuiltInTypes/UserInput.luau +0 -32
  370. package/examples/game/libs/Cmdr/BuiltInTypes/Vector.luau +0 -58
  371. package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/AutoComplete.luau +0 -240
  372. package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/CreateGui.luau +0 -227
  373. package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/Window.luau +0 -713
  374. package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/init.luau +0 -18
  375. package/examples/game/libs/Cmdr/CmdrClient/DefaultEventHandlers.luau +0 -18
  376. package/examples/game/libs/Cmdr/CmdrClient/Shared/Argument.luau +0 -395
  377. package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +0 -39
  378. package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +0 -36
  379. package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +0 -10
  380. package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +0 -10
  381. package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +0 -10
  382. package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +0 -8
  383. package/examples/game/libs/Cmdr/CmdrClient/Shared/Command.luau +0 -415
  384. package/examples/game/libs/Cmdr/CmdrClient/Shared/Dispatcher.luau +0 -407
  385. package/examples/game/libs/Cmdr/CmdrClient/Shared/Registry.luau +0 -717
  386. package/examples/game/libs/Cmdr/CmdrClient/Shared/Util.luau +0 -879
  387. package/examples/game/libs/Cmdr/CmdrClient/init.luau +0 -377
  388. package/examples/game/libs/Cmdr/LICENSE +0 -21
  389. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announce.luau +0 -21
  390. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announceServer.luau +0 -17
  391. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/ban.luau +0 -59
  392. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/banServer.luau +0 -30
  393. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlace.luau +0 -35
  394. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlaceServer.luau +0 -17
  395. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kick.luau +0 -19
  396. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kickServer.luau +0 -27
  397. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kill.luau +0 -13
  398. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/killServer.luau +0 -13
  399. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawn.luau +0 -15
  400. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawnServer.luau +0 -7
  401. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleport.luau +0 -30
  402. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleportServer.luau +0 -26
  403. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unban.luau +0 -26
  404. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unbanServer.luau +0 -10
  405. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/blink.luau +0 -35
  406. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetch.luau +0 -12
  407. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetchServer.luau +0 -7
  408. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +0 -20
  409. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +0 -28
  410. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/position.luau +0 -30
  411. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/thru.luau +0 -50
  412. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptime.luau +0 -6
  413. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptimeServer.luau +0 -12
  414. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/version.luau +0 -12
  415. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/alias.luau +0 -22
  416. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/bind.luau +0 -104
  417. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/clear.luau +0 -20
  418. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/convertTimestamp.luau +0 -18
  419. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/echo.luau +0 -17
  420. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/edit.luau +0 -75
  421. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/exit.luau +0 -11
  422. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/history.luau +0 -27
  423. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/hover.luau +0 -21
  424. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayDecode.luau +0 -25
  425. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayEncode.luau +0 -18
  426. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/len.luau +0 -16
  427. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/math.luau +0 -36
  428. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/pick.luau +0 -21
  429. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/rand.luau +0 -27
  430. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/replace.luau +0 -32
  431. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/resolve.luau +0 -32
  432. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/run.luau +0 -20
  433. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runLines.luau +0 -34
  434. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runif.luau +0 -95
  435. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/unbind.luau +0 -27
  436. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/var.luau +0 -29
  437. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varServer.luau +0 -37
  438. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSet.luau +0 -30
  439. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSetServer.luau +0 -29
  440. package/examples/game/libs/Cmdr/_impl/BuiltInCommands/help.luau +0 -96
  441. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/BrickColor.luau +0 -258
  442. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Color3.luau +0 -59
  443. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Command.luau +0 -23
  444. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Duration.luau +0 -111
  445. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/JSON.luau +0 -13
  446. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/MathOperator.luau +0 -43
  447. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Player.luau +0 -36
  448. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/PlayerId.luau +0 -66
  449. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Primitives.luau +0 -145
  450. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/StoredKey.luau +0 -33
  451. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Team.luau +0 -49
  452. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Type.luau +0 -23
  453. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/URL.luau +0 -18
  454. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/UserInput.luau +0 -32
  455. package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Vector.luau +0 -58
  456. package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/AutoComplete.luau +0 -240
  457. package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/CreateGui.luau +0 -227
  458. package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/Window.luau +0 -713
  459. package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/init.luau +0 -18
  460. package/examples/game/libs/Cmdr/_impl/CmdrClient/DefaultEventHandlers.luau +0 -18
  461. package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Argument.luau +0 -395
  462. package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +0 -39
  463. package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +0 -36
  464. package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +0 -10
  465. package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +0 -10
  466. package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +0 -10
  467. package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +0 -8
  468. package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Command.luau +0 -415
  469. package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Dispatcher.luau +0 -407
  470. package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Registry.luau +0 -717
  471. package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Util.luau +0 -879
  472. package/examples/game/libs/Cmdr/_impl/CmdrClient/init.luau +0 -377
  473. package/examples/game/libs/Cmdr/_impl/LICENSE +0 -21
  474. package/examples/game/libs/Cmdr/_impl/init.luau +0 -178
  475. package/examples/game/libs/Cmdr/init.luau +0 -8
  476. package/examples/game/libs/DataService/Client.luau +0 -209
  477. package/examples/game/libs/DataService/Data.luau +0 -886
  478. package/examples/game/libs/DataService/Packages/quicknet/DataTypes.luau +0 -70
  479. package/examples/game/libs/DataService/Packages/quicknet/Enums.luau +0 -85
  480. package/examples/game/libs/DataService/Packages/quicknet/EnumsToNativeTypes.luau +0 -57
  481. package/examples/game/libs/DataService/Packages/quicknet/Parser.luau +0 -355
  482. package/examples/game/libs/DataService/Packages/quicknet/QuickNet.luau +0 -953
  483. package/examples/game/libs/DataService/Packages/quicknet/Serialize.luau +0 -2020
  484. package/examples/game/libs/DataService/Packages/quicknet/Types.luau +0 -72
  485. package/examples/game/libs/DataService/Packages/quicknet/init.luau +0 -1
  486. package/examples/game/libs/DataService/Packages/signal/init.luau +0 -433
  487. package/examples/game/libs/DataService/ProfileStore.luau +0 -2243
  488. package/examples/game/libs/DataService/Replicator.luau +0 -172
  489. package/examples/game/libs/DataService/Server.luau +0 -412
  490. package/examples/game/libs/DataService/init.luau +0 -204
  491. package/examples/game/libs/Display/LICENSE +0 -201
  492. package/examples/game/libs/Display/_impl/LICENSE +0 -201
  493. package/examples/game/libs/Display/_impl/init.luau +0 -269
  494. package/examples/game/libs/Display/_impl/option.luau +0 -237
  495. package/examples/game/libs/Display/init.luau +0 -10
  496. package/examples/game/libs/Display/option.luau +0 -237
  497. package/examples/game/libs/EzVisualz/Dropshadow.luau +0 -148
  498. package/examples/game/libs/EzVisualz/Gradient.luau +0 -452
  499. package/examples/game/libs/EzVisualz/GradientTemplates/Bubblegum.luau +0 -16
  500. package/examples/game/libs/EzVisualz/GradientTemplates/Chrome.luau +0 -16
  501. package/examples/game/libs/EzVisualz/GradientTemplates/Death.luau +0 -15
  502. package/examples/game/libs/EzVisualz/GradientTemplates/Electric.luau +0 -14
  503. package/examples/game/libs/EzVisualz/GradientTemplates/Fire.luau +0 -13
  504. package/examples/game/libs/EzVisualz/GradientTemplates/Galaxy.luau +0 -11
  505. package/examples/game/libs/EzVisualz/GradientTemplates/Ghost.luau +0 -16
  506. package/examples/game/libs/EzVisualz/GradientTemplates/Gold.luau +0 -14
  507. package/examples/game/libs/EzVisualz/GradientTemplates/Green.luau +0 -14
  508. package/examples/game/libs/EzVisualz/GradientTemplates/Ice.luau +0 -14
  509. package/examples/game/libs/EzVisualz/GradientTemplates/Lava.luau +0 -15
  510. package/examples/game/libs/EzVisualz/GradientTemplates/Matrix.luau +0 -19
  511. package/examples/game/libs/EzVisualz/GradientTemplates/Neon.luau +0 -12
  512. package/examples/game/libs/EzVisualz/GradientTemplates/Oceanic.luau +0 -15
  513. package/examples/game/libs/EzVisualz/GradientTemplates/Rainbow.luau +0 -13
  514. package/examples/game/libs/EzVisualz/GradientTemplates/Silver.luau +0 -12
  515. package/examples/game/libs/EzVisualz/GradientTemplates/Sunset.luau +0 -11
  516. package/examples/game/libs/EzVisualz/GradientTemplates/Zebra.luau +0 -18
  517. package/examples/game/libs/EzVisualz/GradientTemplates/init.luau +0 -9
  518. package/examples/game/libs/EzVisualz/LICENSE.md +0 -21
  519. package/examples/game/libs/EzVisualz/Presets/Bubblegum.luau +0 -36
  520. package/examples/game/libs/EzVisualz/Presets/ChromeStroke.luau +0 -15
  521. package/examples/game/libs/EzVisualz/Presets/DeathStroke.luau +0 -15
  522. package/examples/game/libs/EzVisualz/Presets/ElectricStroke.luau +0 -54
  523. package/examples/game/libs/EzVisualz/Presets/FireStroke.luau +0 -29
  524. package/examples/game/libs/EzVisualz/Presets/GalaxyStroke.luau +0 -31
  525. package/examples/game/libs/EzVisualz/Presets/Ghost.luau +0 -10
  526. package/examples/game/libs/EzVisualz/Presets/GhostStroke.luau +0 -15
  527. package/examples/game/libs/EzVisualz/Presets/Gold.luau +0 -10
  528. package/examples/game/libs/EzVisualz/Presets/GoldStroke.luau +0 -15
  529. package/examples/game/libs/EzVisualz/Presets/GreenOutline.luau +0 -23
  530. package/examples/game/libs/EzVisualz/Presets/IceStroke.luau +0 -15
  531. package/examples/game/libs/EzVisualz/Presets/Lava.luau +0 -9
  532. package/examples/game/libs/EzVisualz/Presets/LavaStroke.luau +0 -13
  533. package/examples/game/libs/EzVisualz/Presets/Matrix.luau +0 -21
  534. package/examples/game/libs/EzVisualz/Presets/NeonStroke.luau +0 -30
  535. package/examples/game/libs/EzVisualz/Presets/OceanicStroke.luau +0 -15
  536. package/examples/game/libs/EzVisualz/Presets/Rainbow.luau +0 -9
  537. package/examples/game/libs/EzVisualz/Presets/RainbowOutline.luau +0 -23
  538. package/examples/game/libs/EzVisualz/Presets/RainbowStroke.luau +0 -13
  539. package/examples/game/libs/EzVisualz/Presets/Shine.luau +0 -48
  540. package/examples/game/libs/EzVisualz/Presets/ShineOutline.luau +0 -66
  541. package/examples/game/libs/EzVisualz/Presets/Silver.luau +0 -10
  542. package/examples/game/libs/EzVisualz/Presets/SilverStroke.luau +0 -15
  543. package/examples/game/libs/EzVisualz/Presets/SunsetStroke.luau +0 -31
  544. package/examples/game/libs/EzVisualz/Presets/WaveStroke.luau +0 -33
  545. package/examples/game/libs/EzVisualz/Presets/Zebra.luau +0 -21
  546. package/examples/game/libs/EzVisualz/Presets/init.luau +0 -9
  547. package/examples/game/libs/EzVisualz/Stroke.luau +0 -167
  548. package/examples/game/libs/EzVisualz/Util.luau +0 -7
  549. package/examples/game/libs/EzVisualz/_impl/Dropshadow.luau +0 -148
  550. package/examples/game/libs/EzVisualz/_impl/Gradient.luau +0 -452
  551. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Bubblegum.luau +0 -16
  552. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Chrome.luau +0 -16
  553. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Death.luau +0 -15
  554. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Electric.luau +0 -14
  555. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Fire.luau +0 -13
  556. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Galaxy.luau +0 -11
  557. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Ghost.luau +0 -16
  558. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Gold.luau +0 -14
  559. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Green.luau +0 -14
  560. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Ice.luau +0 -14
  561. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Lava.luau +0 -15
  562. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Matrix.luau +0 -19
  563. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Neon.luau +0 -12
  564. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Oceanic.luau +0 -15
  565. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Rainbow.luau +0 -13
  566. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Silver.luau +0 -12
  567. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Sunset.luau +0 -11
  568. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Zebra.luau +0 -18
  569. package/examples/game/libs/EzVisualz/_impl/GradientTemplates/init.luau +0 -9
  570. package/examples/game/libs/EzVisualz/_impl/LICENSE.md +0 -21
  571. package/examples/game/libs/EzVisualz/_impl/Presets/Bubblegum.luau +0 -36
  572. package/examples/game/libs/EzVisualz/_impl/Presets/ChromeStroke.luau +0 -15
  573. package/examples/game/libs/EzVisualz/_impl/Presets/DeathStroke.luau +0 -15
  574. package/examples/game/libs/EzVisualz/_impl/Presets/ElectricStroke.luau +0 -54
  575. package/examples/game/libs/EzVisualz/_impl/Presets/FireStroke.luau +0 -29
  576. package/examples/game/libs/EzVisualz/_impl/Presets/GalaxyStroke.luau +0 -31
  577. package/examples/game/libs/EzVisualz/_impl/Presets/Ghost.luau +0 -10
  578. package/examples/game/libs/EzVisualz/_impl/Presets/GhostStroke.luau +0 -15
  579. package/examples/game/libs/EzVisualz/_impl/Presets/Gold.luau +0 -10
  580. package/examples/game/libs/EzVisualz/_impl/Presets/GoldStroke.luau +0 -15
  581. package/examples/game/libs/EzVisualz/_impl/Presets/GreenOutline.luau +0 -23
  582. package/examples/game/libs/EzVisualz/_impl/Presets/IceStroke.luau +0 -15
  583. package/examples/game/libs/EzVisualz/_impl/Presets/Lava.luau +0 -9
  584. package/examples/game/libs/EzVisualz/_impl/Presets/LavaStroke.luau +0 -13
  585. package/examples/game/libs/EzVisualz/_impl/Presets/Matrix.luau +0 -21
  586. package/examples/game/libs/EzVisualz/_impl/Presets/NeonStroke.luau +0 -30
  587. package/examples/game/libs/EzVisualz/_impl/Presets/OceanicStroke.luau +0 -15
  588. package/examples/game/libs/EzVisualz/_impl/Presets/Rainbow.luau +0 -9
  589. package/examples/game/libs/EzVisualz/_impl/Presets/RainbowOutline.luau +0 -23
  590. package/examples/game/libs/EzVisualz/_impl/Presets/RainbowStroke.luau +0 -13
  591. package/examples/game/libs/EzVisualz/_impl/Presets/Shine.luau +0 -48
  592. package/examples/game/libs/EzVisualz/_impl/Presets/ShineOutline.luau +0 -66
  593. package/examples/game/libs/EzVisualz/_impl/Presets/Silver.luau +0 -10
  594. package/examples/game/libs/EzVisualz/_impl/Presets/SilverStroke.luau +0 -15
  595. package/examples/game/libs/EzVisualz/_impl/Presets/SunsetStroke.luau +0 -31
  596. package/examples/game/libs/EzVisualz/_impl/Presets/WaveStroke.luau +0 -33
  597. package/examples/game/libs/EzVisualz/_impl/Presets/Zebra.luau +0 -21
  598. package/examples/game/libs/EzVisualz/_impl/Presets/init.luau +0 -9
  599. package/examples/game/libs/EzVisualz/_impl/Stroke.luau +0 -167
  600. package/examples/game/libs/EzVisualz/_impl/Util.luau +0 -7
  601. package/examples/game/libs/EzVisualz/_impl/init.luau +0 -319
  602. package/examples/game/libs/EzVisualz/_impl/wally.lock +0 -8
  603. package/examples/game/libs/EzVisualz/_impl/wally.toml +0 -8
  604. package/examples/game/libs/EzVisualz/init.luau +0 -9
  605. package/examples/game/libs/EzVisualz/wally.lock +0 -8
  606. package/examples/game/libs/EzVisualz/wally.toml +0 -8
  607. package/examples/game/libs/FormatNumber/LICENSE.md +0 -25
  608. package/examples/game/libs/FormatNumber/Main/DecimalFormatSymbols.lua +0 -43
  609. package/examples/game/libs/FormatNumber/Main/IntegerWidth.lua +0 -41
  610. package/examples/game/libs/FormatNumber/Main/Notation.lua +0 -116
  611. package/examples/game/libs/FormatNumber/Main/Precision.lua +0 -179
  612. package/examples/game/libs/FormatNumber/Main/init.lua +0 -199
  613. package/examples/game/libs/FormatNumber/Simple/init.lua +0 -76
  614. package/examples/game/libs/FormatNumber/Version.lua +0 -82
  615. package/examples/game/libs/FormatNumber/_impl/LICENSE.md +0 -25
  616. package/examples/game/libs/FormatNumber/_impl/Main/DecimalFormatSymbols.lua +0 -43
  617. package/examples/game/libs/FormatNumber/_impl/Main/IntegerWidth.lua +0 -41
  618. package/examples/game/libs/FormatNumber/_impl/Main/Notation.lua +0 -116
  619. package/examples/game/libs/FormatNumber/_impl/Main/Precision.lua +0 -179
  620. package/examples/game/libs/FormatNumber/_impl/Main/init.lua +0 -199
  621. package/examples/game/libs/FormatNumber/_impl/Simple/init.lua +0 -76
  622. package/examples/game/libs/FormatNumber/_impl/Version.lua +0 -82
  623. package/examples/game/libs/FormatNumber/_impl/_internal/class.lua +0 -204
  624. package/examples/game/libs/FormatNumber/_impl/_internal/decimal_conversion.lua +0 -30
  625. package/examples/game/libs/FormatNumber/_impl/_internal/enums.lua +0 -55
  626. package/examples/game/libs/FormatNumber/_impl/_internal/format.lua +0 -342
  627. package/examples/game/libs/FormatNumber/_impl/_internal/formatter_settings.lua +0 -160
  628. package/examples/game/libs/FormatNumber/_impl/_internal/init.lua +0 -8
  629. package/examples/game/libs/FormatNumber/_impl/_internal/skeleton.lua +0 -541
  630. package/examples/game/libs/FormatNumber/_impl/init.lua +0 -20
  631. package/examples/game/libs/FormatNumber/_internal/class.lua +0 -204
  632. package/examples/game/libs/FormatNumber/_internal/decimal_conversion.lua +0 -30
  633. package/examples/game/libs/FormatNumber/_internal/enums.lua +0 -55
  634. package/examples/game/libs/FormatNumber/_internal/format.lua +0 -342
  635. package/examples/game/libs/FormatNumber/_internal/formatter_settings.lua +0 -160
  636. package/examples/game/libs/FormatNumber/_internal/init.lua +0 -8
  637. package/examples/game/libs/FormatNumber/_internal/skeleton.lua +0 -541
  638. package/examples/game/libs/FormatNumber/init.lua +0 -20
  639. package/examples/game/libs/FormatNumber/init.luau +0 -20
  640. package/examples/game/libs/Fusion/Animation/ExternalTime.luau +0 -84
  641. package/examples/game/libs/Fusion/Animation/Spring.luau +0 -313
  642. package/examples/game/libs/Fusion/Animation/Stopwatch.luau +0 -128
  643. package/examples/game/libs/Fusion/Animation/Tween.luau +0 -178
  644. package/examples/game/libs/Fusion/Animation/getTweenDuration.luau +0 -27
  645. package/examples/game/libs/Fusion/Animation/getTweenRatio.luau +0 -47
  646. package/examples/game/libs/Fusion/Animation/lerpType.luau +0 -164
  647. package/examples/game/libs/Fusion/Animation/packType.luau +0 -100
  648. package/examples/game/libs/Fusion/Animation/springCoefficients.luau +0 -80
  649. package/examples/game/libs/Fusion/Animation/unpackType.luau +0 -103
  650. package/examples/game/libs/Fusion/Colour/Oklab.luau +0 -70
  651. package/examples/game/libs/Fusion/Colour/sRGB.luau +0 -47
  652. package/examples/game/libs/Fusion/External.luau +0 -156
  653. package/examples/game/libs/Fusion/ExternalDebug.luau +0 -70
  654. package/examples/game/libs/Fusion/Graph/Observer.luau +0 -111
  655. package/examples/game/libs/Fusion/Graph/castToGraph.luau +0 -29
  656. package/examples/game/libs/Fusion/Graph/change.luau +0 -81
  657. package/examples/game/libs/Fusion/Graph/depend.luau +0 -33
  658. package/examples/game/libs/Fusion/Graph/evaluate.luau +0 -56
  659. package/examples/game/libs/Fusion/Instances/Attribute.luau +0 -58
  660. package/examples/game/libs/Fusion/Instances/AttributeChange.luau +0 -47
  661. package/examples/game/libs/Fusion/Instances/AttributeOut.luau +0 -63
  662. package/examples/game/libs/Fusion/Instances/Child.luau +0 -21
  663. package/examples/game/libs/Fusion/Instances/Children.luau +0 -148
  664. package/examples/game/libs/Fusion/Instances/Hydrate.luau +0 -29
  665. package/examples/game/libs/Fusion/Instances/New.luau +0 -48
  666. package/examples/game/libs/Fusion/Instances/OnChange.luau +0 -50
  667. package/examples/game/libs/Fusion/Instances/OnEvent.luau +0 -54
  668. package/examples/game/libs/Fusion/Instances/Out.luau +0 -69
  669. package/examples/game/libs/Fusion/Instances/Tag.luau +0 -61
  670. package/examples/game/libs/Fusion/Instances/applyInstanceProps.luau +0 -149
  671. package/examples/game/libs/Fusion/Instances/defaultProps.luau +0 -194
  672. package/examples/game/libs/Fusion/LICENSE +0 -21
  673. package/examples/game/libs/Fusion/Logging/formatError.luau +0 -49
  674. package/examples/game/libs/Fusion/Logging/messages.luau +0 -46
  675. package/examples/game/libs/Fusion/Logging/parseError.luau +0 -25
  676. package/examples/game/libs/Fusion/Memory/checkLifetime.luau +0 -134
  677. package/examples/game/libs/Fusion/Memory/deriveScope.luau +0 -24
  678. package/examples/game/libs/Fusion/Memory/deriveScopeImpl.luau +0 -40
  679. package/examples/game/libs/Fusion/Memory/doCleanup.luau +0 -91
  680. package/examples/game/libs/Fusion/Memory/innerScope.luau +0 -34
  681. package/examples/game/libs/Fusion/Memory/insert.luau +0 -22
  682. package/examples/game/libs/Fusion/Memory/needsDestruction.luau +0 -17
  683. package/examples/game/libs/Fusion/Memory/scoped.luau +0 -24
  684. package/examples/game/libs/Fusion/RobloxExternal.luau +0 -98
  685. package/examples/game/libs/Fusion/State/Computed.luau +0 -122
  686. package/examples/game/libs/Fusion/State/For/Disassembly.luau +0 -207
  687. package/examples/game/libs/Fusion/State/For/ForTypes.luau +0 -30
  688. package/examples/game/libs/Fusion/State/For/init.luau +0 -101
  689. package/examples/game/libs/Fusion/State/ForKeys.luau +0 -88
  690. package/examples/game/libs/Fusion/State/ForPairs.luau +0 -91
  691. package/examples/game/libs/Fusion/State/ForValues.luau +0 -88
  692. package/examples/game/libs/Fusion/State/Value.luau +0 -76
  693. package/examples/game/libs/Fusion/State/castToState.luau +0 -26
  694. package/examples/game/libs/Fusion/State/peek.luau +0 -31
  695. package/examples/game/libs/Fusion/State/updateAll.luau +0 -1
  696. package/examples/game/libs/Fusion/Types.luau +0 -318
  697. package/examples/game/libs/Fusion/Utility/Contextual.luau +0 -91
  698. package/examples/game/libs/Fusion/Utility/Safe.luau +0 -23
  699. package/examples/game/libs/Fusion/Utility/isSimilar.luau +0 -29
  700. package/examples/game/libs/Fusion/Utility/merge.luau +0 -35
  701. package/examples/game/libs/Fusion/Utility/nameOf.luau +0 -35
  702. package/examples/game/libs/Fusion/Utility/never.luau +0 -14
  703. package/examples/game/libs/Fusion/Utility/nicknames.luau +0 -11
  704. package/examples/game/libs/Fusion/Utility/xtypeof.luau +0 -27
  705. package/examples/game/libs/Fusion/_impl/Animation/ExternalTime.luau +0 -84
  706. package/examples/game/libs/Fusion/_impl/Animation/Spring.luau +0 -313
  707. package/examples/game/libs/Fusion/_impl/Animation/Stopwatch.luau +0 -128
  708. package/examples/game/libs/Fusion/_impl/Animation/Tween.luau +0 -178
  709. package/examples/game/libs/Fusion/_impl/Animation/getTweenDuration.luau +0 -27
  710. package/examples/game/libs/Fusion/_impl/Animation/getTweenRatio.luau +0 -47
  711. package/examples/game/libs/Fusion/_impl/Animation/lerpType.luau +0 -164
  712. package/examples/game/libs/Fusion/_impl/Animation/packType.luau +0 -100
  713. package/examples/game/libs/Fusion/_impl/Animation/springCoefficients.luau +0 -80
  714. package/examples/game/libs/Fusion/_impl/Animation/unpackType.luau +0 -103
  715. package/examples/game/libs/Fusion/_impl/Colour/Oklab.luau +0 -70
  716. package/examples/game/libs/Fusion/_impl/Colour/sRGB.luau +0 -47
  717. package/examples/game/libs/Fusion/_impl/External.luau +0 -156
  718. package/examples/game/libs/Fusion/_impl/ExternalDebug.luau +0 -70
  719. package/examples/game/libs/Fusion/_impl/Graph/Observer.luau +0 -111
  720. package/examples/game/libs/Fusion/_impl/Graph/castToGraph.luau +0 -29
  721. package/examples/game/libs/Fusion/_impl/Graph/change.luau +0 -81
  722. package/examples/game/libs/Fusion/_impl/Graph/depend.luau +0 -33
  723. package/examples/game/libs/Fusion/_impl/Graph/evaluate.luau +0 -56
  724. package/examples/game/libs/Fusion/_impl/Instances/Attribute.luau +0 -58
  725. package/examples/game/libs/Fusion/_impl/Instances/AttributeChange.luau +0 -47
  726. package/examples/game/libs/Fusion/_impl/Instances/AttributeOut.luau +0 -63
  727. package/examples/game/libs/Fusion/_impl/Instances/Child.luau +0 -21
  728. package/examples/game/libs/Fusion/_impl/Instances/Children.luau +0 -148
  729. package/examples/game/libs/Fusion/_impl/Instances/Hydrate.luau +0 -29
  730. package/examples/game/libs/Fusion/_impl/Instances/New.luau +0 -48
  731. package/examples/game/libs/Fusion/_impl/Instances/OnChange.luau +0 -50
  732. package/examples/game/libs/Fusion/_impl/Instances/OnEvent.luau +0 -54
  733. package/examples/game/libs/Fusion/_impl/Instances/Out.luau +0 -69
  734. package/examples/game/libs/Fusion/_impl/Instances/Tag.luau +0 -61
  735. package/examples/game/libs/Fusion/_impl/Instances/applyInstanceProps.luau +0 -149
  736. package/examples/game/libs/Fusion/_impl/Instances/defaultProps.luau +0 -194
  737. package/examples/game/libs/Fusion/_impl/LICENSE +0 -21
  738. package/examples/game/libs/Fusion/_impl/Logging/formatError.luau +0 -49
  739. package/examples/game/libs/Fusion/_impl/Logging/messages.luau +0 -46
  740. package/examples/game/libs/Fusion/_impl/Logging/parseError.luau +0 -25
  741. package/examples/game/libs/Fusion/_impl/Memory/checkLifetime.luau +0 -134
  742. package/examples/game/libs/Fusion/_impl/Memory/deriveScope.luau +0 -24
  743. package/examples/game/libs/Fusion/_impl/Memory/deriveScopeImpl.luau +0 -40
  744. package/examples/game/libs/Fusion/_impl/Memory/doCleanup.luau +0 -91
  745. package/examples/game/libs/Fusion/_impl/Memory/innerScope.luau +0 -34
  746. package/examples/game/libs/Fusion/_impl/Memory/insert.luau +0 -22
  747. package/examples/game/libs/Fusion/_impl/Memory/needsDestruction.luau +0 -17
  748. package/examples/game/libs/Fusion/_impl/Memory/scoped.luau +0 -24
  749. package/examples/game/libs/Fusion/_impl/RobloxExternal.luau +0 -98
  750. package/examples/game/libs/Fusion/_impl/State/Computed.luau +0 -122
  751. package/examples/game/libs/Fusion/_impl/State/For/Disassembly.luau +0 -207
  752. package/examples/game/libs/Fusion/_impl/State/For/ForTypes.luau +0 -30
  753. package/examples/game/libs/Fusion/_impl/State/For/init.luau +0 -101
  754. package/examples/game/libs/Fusion/_impl/State/ForKeys.luau +0 -88
  755. package/examples/game/libs/Fusion/_impl/State/ForPairs.luau +0 -91
  756. package/examples/game/libs/Fusion/_impl/State/ForValues.luau +0 -88
  757. package/examples/game/libs/Fusion/_impl/State/Value.luau +0 -76
  758. package/examples/game/libs/Fusion/_impl/State/castToState.luau +0 -26
  759. package/examples/game/libs/Fusion/_impl/State/peek.luau +0 -31
  760. package/examples/game/libs/Fusion/_impl/State/updateAll.luau +0 -1
  761. package/examples/game/libs/Fusion/_impl/Types.luau +0 -318
  762. package/examples/game/libs/Fusion/_impl/Utility/Contextual.luau +0 -91
  763. package/examples/game/libs/Fusion/_impl/Utility/Safe.luau +0 -23
  764. package/examples/game/libs/Fusion/_impl/Utility/isSimilar.luau +0 -29
  765. package/examples/game/libs/Fusion/_impl/Utility/merge.luau +0 -35
  766. package/examples/game/libs/Fusion/_impl/Utility/nameOf.luau +0 -35
  767. package/examples/game/libs/Fusion/_impl/Utility/never.luau +0 -14
  768. package/examples/game/libs/Fusion/_impl/Utility/nicknames.luau +0 -11
  769. package/examples/game/libs/Fusion/_impl/Utility/xtypeof.luau +0 -27
  770. package/examples/game/libs/Fusion/_impl/init.luau +0 -83
  771. package/examples/game/libs/Fusion/init.luau +0 -27
  772. package/examples/game/libs/Iris/API.lua +0 -2085
  773. package/examples/game/libs/Iris/Internal.lua +0 -895
  774. package/examples/game/libs/Iris/LICENSE.txt +0 -21
  775. package/examples/game/libs/Iris/PubTypes.lua +0 -43
  776. package/examples/game/libs/Iris/Types.lua +0 -660
  777. package/examples/game/libs/Iris/WidgetTypes.lua +0 -521
  778. package/examples/game/libs/Iris/_impl/API.lua +0 -2085
  779. package/examples/game/libs/Iris/_impl/Internal.lua +0 -895
  780. package/examples/game/libs/Iris/_impl/LICENSE.txt +0 -21
  781. package/examples/game/libs/Iris/_impl/PubTypes.lua +0 -43
  782. package/examples/game/libs/Iris/_impl/Types.lua +0 -660
  783. package/examples/game/libs/Iris/_impl/WidgetTypes.lua +0 -521
  784. package/examples/game/libs/Iris/_impl/config.lua +0 -305
  785. package/examples/game/libs/Iris/_impl/init.lua +0 -696
  786. package/examples/game/libs/Iris/_impl/widgets/Button.lua +0 -90
  787. package/examples/game/libs/Iris/_impl/widgets/Checkbox.lua +0 -115
  788. package/examples/game/libs/Iris/_impl/widgets/Combo.lua +0 -492
  789. package/examples/game/libs/Iris/_impl/widgets/Format.lua +0 -140
  790. package/examples/game/libs/Iris/_impl/widgets/Image.lua +0 -155
  791. package/examples/game/libs/Iris/_impl/widgets/Input.lua +0 -1232
  792. package/examples/game/libs/Iris/_impl/widgets/Menu.lua +0 -599
  793. package/examples/game/libs/Iris/_impl/widgets/Plot.lua +0 -639
  794. package/examples/game/libs/Iris/_impl/widgets/RadioButton.lua +0 -126
  795. package/examples/game/libs/Iris/_impl/widgets/Root.lua +0 -143
  796. package/examples/game/libs/Iris/_impl/widgets/Tab.lua +0 -333
  797. package/examples/game/libs/Iris/_impl/widgets/Table.lua +0 -635
  798. package/examples/game/libs/Iris/_impl/widgets/Text.lua +0 -132
  799. package/examples/game/libs/Iris/_impl/widgets/Tree.lua +0 -287
  800. package/examples/game/libs/Iris/_impl/widgets/Window.lua +0 -1075
  801. package/examples/game/libs/Iris/_impl/widgets/init.lua +0 -447
  802. package/examples/game/libs/Iris/config.lua +0 -305
  803. package/examples/game/libs/Iris/init.lua +0 -696
  804. package/examples/game/libs/Iris/init.luau +0 -12
  805. package/examples/game/libs/Iris/widgets/Button.lua +0 -90
  806. package/examples/game/libs/Iris/widgets/Checkbox.lua +0 -115
  807. package/examples/game/libs/Iris/widgets/Combo.lua +0 -492
  808. package/examples/game/libs/Iris/widgets/Format.lua +0 -140
  809. package/examples/game/libs/Iris/widgets/Image.lua +0 -155
  810. package/examples/game/libs/Iris/widgets/Input.lua +0 -1232
  811. package/examples/game/libs/Iris/widgets/Menu.lua +0 -599
  812. package/examples/game/libs/Iris/widgets/Plot.lua +0 -639
  813. package/examples/game/libs/Iris/widgets/RadioButton.lua +0 -126
  814. package/examples/game/libs/Iris/widgets/Root.lua +0 -143
  815. package/examples/game/libs/Iris/widgets/Tab.lua +0 -333
  816. package/examples/game/libs/Iris/widgets/Table.lua +0 -635
  817. package/examples/game/libs/Iris/widgets/Text.lua +0 -132
  818. package/examples/game/libs/Iris/widgets/Tree.lua +0 -287
  819. package/examples/game/libs/Iris/widgets/Window.lua +0 -1075
  820. package/examples/game/libs/Iris/widgets/init.lua +0 -447
  821. package/examples/game/libs/Janitor/FastDefer.luau +0 -33
  822. package/examples/game/libs/Janitor/LICENSE +0 -21
  823. package/examples/game/libs/Janitor/_impl/FastDefer.luau +0 -33
  824. package/examples/game/libs/Janitor/_impl/LICENSE +0 -21
  825. package/examples/game/libs/Janitor/_impl/init.luau +0 -999
  826. package/examples/game/libs/Janitor/init.luau +0 -15
  827. package/examples/game/libs/MathUtils/init.luau +0 -100
  828. package/examples/game/libs/Module3D/LICENSE +0 -21
  829. package/examples/game/libs/Module3D/_impl/LICENSE +0 -21
  830. package/examples/game/libs/Module3D/_impl/init.luau +0 -269
  831. package/examples/game/libs/Module3D/init.luau +0 -14
  832. package/examples/game/libs/Net/init.luau +0 -125
  833. package/examples/game/libs/Net/src/codec.luau +0 -153
  834. package/examples/game/libs/Occlude/init.luau +0 -54
  835. package/examples/game/libs/Promise/LICENSE +0 -21
  836. package/examples/game/libs/Promise/_impl/LICENSE +0 -21
  837. package/examples/game/libs/Promise/_impl/init.lua +0 -1991
  838. package/examples/game/libs/Promise/init.lua +0 -1990
  839. package/examples/game/libs/Promise/init.luau +0 -13
  840. package/examples/game/libs/Promise/types.luau +0 -46
  841. package/examples/game/libs/SOURCES.md +0 -22
  842. package/examples/game/libs/Spring/LICENSE +0 -201
  843. package/examples/game/libs/Spring/_impl/LICENSE +0 -201
  844. package/examples/game/libs/Spring/_impl/init.luau +0 -111
  845. package/examples/game/libs/Spring/init.luau +0 -24
  846. package/examples/game/libs/StateMachine/Classes/State.lua +0 -375
  847. package/examples/game/libs/StateMachine/Classes/Transition.lua +0 -336
  848. package/examples/game/libs/StateMachine/Functions/deepCopy.lua +0 -19
  849. package/examples/game/libs/StateMachine/Functions/mergeTables.lua +0 -22
  850. package/examples/game/libs/StateMachine/LICENSE +0 -19
  851. package/examples/game/libs/StateMachine/Vendor/Signal.lua +0 -386
  852. package/examples/game/libs/StateMachine/Vendor/Trove.lua +0 -188
  853. package/examples/game/libs/StateMachine/_impl/Classes/State.lua +0 -375
  854. package/examples/game/libs/StateMachine/_impl/Classes/Transition.lua +0 -336
  855. package/examples/game/libs/StateMachine/_impl/Functions/deepCopy.lua +0 -19
  856. package/examples/game/libs/StateMachine/_impl/Functions/mergeTables.lua +0 -22
  857. package/examples/game/libs/StateMachine/_impl/LICENSE +0 -19
  858. package/examples/game/libs/StateMachine/_impl/Vendor/Signal.lua +0 -386
  859. package/examples/game/libs/StateMachine/_impl/Vendor/Trove.lua +0 -188
  860. package/examples/game/libs/StateMachine/_impl/init.lua +0 -595
  861. package/examples/game/libs/StateMachine/init.lua +0 -595
  862. package/examples/game/libs/StateMachine/init.luau +0 -10
  863. package/examples/game/libs/StickyBillboard/init.luau +0 -167
  864. package/examples/game/libs/TopbarPlus/Attribute.lua +0 -35
  865. package/examples/game/libs/TopbarPlus/Elements/Caption.lua +0 -316
  866. package/examples/game/libs/TopbarPlus/Elements/Container.lua +0 -215
  867. package/examples/game/libs/TopbarPlus/Elements/Dropdown.lua +0 -315
  868. package/examples/game/libs/TopbarPlus/Elements/Indicator.lua +0 -91
  869. package/examples/game/libs/TopbarPlus/Elements/Menu.lua +0 -180
  870. package/examples/game/libs/TopbarPlus/Elements/Notice.lua +0 -113
  871. package/examples/game/libs/TopbarPlus/Elements/Selection.lua +0 -49
  872. package/examples/game/libs/TopbarPlus/Elements/Widget.lua +0 -437
  873. package/examples/game/libs/TopbarPlus/Features/Gamepad.lua +0 -201
  874. package/examples/game/libs/TopbarPlus/Features/Overflow.lua +0 -360
  875. package/examples/game/libs/TopbarPlus/Features/Themes/Classic.lua +0 -27
  876. package/examples/game/libs/TopbarPlus/Features/Themes/Default.lua +0 -75
  877. package/examples/game/libs/TopbarPlus/Features/Themes/init.lua +0 -353
  878. package/examples/game/libs/TopbarPlus/LICENSE +0 -381
  879. package/examples/game/libs/TopbarPlus/Packages/GoodSignal.lua +0 -182
  880. package/examples/game/libs/TopbarPlus/Packages/Janitor.lua +0 -322
  881. package/examples/game/libs/TopbarPlus/Reference.lua +0 -30
  882. package/examples/game/libs/TopbarPlus/Types.lua +0 -477
  883. package/examples/game/libs/TopbarPlus/Utility.lua +0 -462
  884. package/examples/game/libs/TopbarPlus/VERSION.lua +0 -51
  885. package/examples/game/libs/TopbarPlus/_impl/Attribute.lua +0 -35
  886. package/examples/game/libs/TopbarPlus/_impl/Elements/Caption.lua +0 -316
  887. package/examples/game/libs/TopbarPlus/_impl/Elements/Container.lua +0 -215
  888. package/examples/game/libs/TopbarPlus/_impl/Elements/Dropdown.lua +0 -315
  889. package/examples/game/libs/TopbarPlus/_impl/Elements/Indicator.lua +0 -91
  890. package/examples/game/libs/TopbarPlus/_impl/Elements/Menu.lua +0 -180
  891. package/examples/game/libs/TopbarPlus/_impl/Elements/Notice.lua +0 -113
  892. package/examples/game/libs/TopbarPlus/_impl/Elements/Selection.lua +0 -49
  893. package/examples/game/libs/TopbarPlus/_impl/Elements/Widget.lua +0 -437
  894. package/examples/game/libs/TopbarPlus/_impl/Features/Gamepad.lua +0 -201
  895. package/examples/game/libs/TopbarPlus/_impl/Features/Overflow.lua +0 -360
  896. package/examples/game/libs/TopbarPlus/_impl/Features/Themes/Classic.lua +0 -27
  897. package/examples/game/libs/TopbarPlus/_impl/Features/Themes/Default.lua +0 -75
  898. package/examples/game/libs/TopbarPlus/_impl/Features/Themes/init.lua +0 -353
  899. package/examples/game/libs/TopbarPlus/_impl/LICENSE +0 -381
  900. package/examples/game/libs/TopbarPlus/_impl/Packages/GoodSignal.lua +0 -182
  901. package/examples/game/libs/TopbarPlus/_impl/Packages/Janitor.lua +0 -322
  902. package/examples/game/libs/TopbarPlus/_impl/Reference.lua +0 -30
  903. package/examples/game/libs/TopbarPlus/_impl/Types.lua +0 -477
  904. package/examples/game/libs/TopbarPlus/_impl/Utility.lua +0 -462
  905. package/examples/game/libs/TopbarPlus/_impl/VERSION.lua +0 -51
  906. package/examples/game/libs/TopbarPlus/_impl/init.lua +0 -1249
  907. package/examples/game/libs/TopbarPlus/init.lua +0 -1249
  908. package/examples/game/libs/TopbarPlus/init.luau +0 -8
  909. package/examples/game/libs/Twinkle/init.luau +0 -157
  910. package/examples/game/libs/VfxUtil/init.luau +0 -164
  911. package/examples/game/src/client/hud.client.clpp +0 -54
  912. package/examples/game/src/client/init.client.clpp +0 -6
  913. package/examples/game/src/server/combat.server.clpp +0 -85
  914. package/examples/game/src/server/leaderstats.server.clpp +0 -28
  915. package/examples/game/src/shared/PlayerData.clh +0 -20
  916. package/examples/game/src/shared/config.clp +0 -6
  917. package/examples/game/src/shared/features.clp +0 -100
  918. package/include/clpp/libs/chrono.clh +0 -26
  919. package/include/clpp/libs/cmdr.clh +0 -16
  920. package/include/clpp/libs/dataservice.clh +0 -138
  921. package/include/clpp/libs/display.clh +0 -12
  922. package/include/clpp/libs/ezvisual.clh +0 -16
  923. package/include/clpp/libs/formatnumber.clh +0 -14
  924. package/include/clpp/libs/fusion.clh +0 -41
  925. package/include/clpp/libs/iris.clh +0 -40
  926. package/include/clpp/libs/janitor.clh +0 -38
  927. package/include/clpp/libs/math.clh +0 -14
  928. package/include/clpp/libs/module3d.clh +0 -23
  929. package/include/clpp/libs/spring.clh +0 -17
  930. package/include/clpp/libs/statemachine.clh +0 -18
  931. package/include/clpp/libs/stickybillboard.clh +0 -13
  932. package/include/clpp/libs/topbarplus.clh +0 -28
  933. package/include/clpp/libs/twinkle.clh +0 -15
  934. package/include/clpp/libs/vfx.clh +0 -13
  935. package/runtime/Chrono/Client/ClientClock.luau +0 -202
  936. package/runtime/Chrono/Client/InterpolationBuffer.luau +0 -74
  937. package/runtime/Chrono/Client/ModelResolver.luau +0 -53
  938. package/runtime/Chrono/Client/Player.luau +0 -113
  939. package/runtime/Chrono/Client/Receiver.luau +0 -395
  940. package/runtime/Chrono/Client/Replicate.luau +0 -333
  941. package/runtime/Chrono/Client/Sender.luau +0 -205
  942. package/runtime/Chrono/LICENSE +0 -21
  943. package/runtime/Chrono/Server/EntityGrid.luau +0 -299
  944. package/runtime/Chrono/Server/Player.luau +0 -141
  945. package/runtime/Chrono/Server/Receiver.luau +0 -287
  946. package/runtime/Chrono/Server/Replicate.luau +0 -415
  947. package/runtime/Chrono/Server/Sender.luau +0 -306
  948. package/runtime/Chrono/Server/ServerClock.luau +0 -50
  949. package/runtime/Chrono/Shared/ApplyMounts.luau +0 -137
  950. package/runtime/Chrono/Shared/Bin.luau +0 -31
  951. package/runtime/Chrono/Shared/ClockUnwrap.luau +0 -70
  952. package/runtime/Chrono/Shared/Config.luau +0 -264
  953. package/runtime/Chrono/Shared/Entity.luau +0 -1016
  954. package/runtime/Chrono/Shared/Events.luau +0 -39
  955. package/runtime/Chrono/Shared/Holder.luau +0 -210
  956. package/runtime/Chrono/Shared/InterpolationMath.luau +0 -51
  957. package/runtime/Chrono/Shared/ModelHelper.luau +0 -122
  958. package/runtime/Chrono/Shared/Remotes/ClientClockRelay.model.json +0 -3
  959. package/runtime/Chrono/Shared/Remotes/ClientHeartbeat.model.json +0 -3
  960. package/runtime/Chrono/Shared/Remotes/ClientLoaded.model.json +0 -3
  961. package/runtime/Chrono/Shared/Remotes/Death.model.json +0 -3
  962. package/runtime/Chrono/Shared/Remotes/Heartbeat.model.json +0 -3
  963. package/runtime/Chrono/Shared/Remotes/Replicate.model.json +0 -3
  964. package/runtime/Chrono/Shared/Remotes/ReplicateFull.model.json +0 -3
  965. package/runtime/Chrono/Shared/Remotes/SafeReplicate.model.json +0 -3
  966. package/runtime/Chrono/Shared/ReplicationRules.luau +0 -122
  967. package/runtime/Chrono/Shared/Signal.luau +0 -219
  968. package/runtime/Chrono/Shared/Snapshots.luau +0 -218
  969. package/runtime/Chrono/Shared/Stats.luau +0 -204
  970. package/runtime/Chrono/Shared/Ticker.luau +0 -112
  971. package/runtime/Chrono/Shared/Types.luau +0 -247
  972. package/runtime/Chrono/Shared/Warn.luau +0 -33
  973. package/runtime/Chrono/Shared/_CUSTOM_MODEL_REP/init.model.json +0 -3
  974. package/runtime/Chrono/_impl/Client/ClientClock.luau +0 -202
  975. package/runtime/Chrono/_impl/Client/InterpolationBuffer.luau +0 -74
  976. package/runtime/Chrono/_impl/Client/ModelResolver.luau +0 -53
  977. package/runtime/Chrono/_impl/Client/Player.luau +0 -113
  978. package/runtime/Chrono/_impl/Client/Receiver.luau +0 -395
  979. package/runtime/Chrono/_impl/Client/Replicate.luau +0 -333
  980. package/runtime/Chrono/_impl/Client/Sender.luau +0 -205
  981. package/runtime/Chrono/_impl/LICENSE +0 -21
  982. package/runtime/Chrono/_impl/Server/EntityGrid.luau +0 -299
  983. package/runtime/Chrono/_impl/Server/Player.luau +0 -141
  984. package/runtime/Chrono/_impl/Server/Receiver.luau +0 -287
  985. package/runtime/Chrono/_impl/Server/Replicate.luau +0 -415
  986. package/runtime/Chrono/_impl/Server/Sender.luau +0 -306
  987. package/runtime/Chrono/_impl/Server/ServerClock.luau +0 -50
  988. package/runtime/Chrono/_impl/Shared/ApplyMounts.luau +0 -137
  989. package/runtime/Chrono/_impl/Shared/Bin.luau +0 -31
  990. package/runtime/Chrono/_impl/Shared/ClockUnwrap.luau +0 -70
  991. package/runtime/Chrono/_impl/Shared/Config.luau +0 -264
  992. package/runtime/Chrono/_impl/Shared/Entity.luau +0 -1016
  993. package/runtime/Chrono/_impl/Shared/Events.luau +0 -39
  994. package/runtime/Chrono/_impl/Shared/Holder.luau +0 -210
  995. package/runtime/Chrono/_impl/Shared/InterpolationMath.luau +0 -51
  996. package/runtime/Chrono/_impl/Shared/ModelHelper.luau +0 -122
  997. package/runtime/Chrono/_impl/Shared/Remotes/ClientClockRelay.model.json +0 -3
  998. package/runtime/Chrono/_impl/Shared/Remotes/ClientHeartbeat.model.json +0 -3
  999. package/runtime/Chrono/_impl/Shared/Remotes/ClientLoaded.model.json +0 -3
  1000. package/runtime/Chrono/_impl/Shared/Remotes/Death.model.json +0 -3
  1001. package/runtime/Chrono/_impl/Shared/Remotes/Heartbeat.model.json +0 -3
  1002. package/runtime/Chrono/_impl/Shared/Remotes/Replicate.model.json +0 -3
  1003. package/runtime/Chrono/_impl/Shared/Remotes/ReplicateFull.model.json +0 -3
  1004. package/runtime/Chrono/_impl/Shared/Remotes/SafeReplicate.model.json +0 -3
  1005. package/runtime/Chrono/_impl/Shared/ReplicationRules.luau +0 -122
  1006. package/runtime/Chrono/_impl/Shared/Signal.luau +0 -219
  1007. package/runtime/Chrono/_impl/Shared/Snapshots.luau +0 -218
  1008. package/runtime/Chrono/_impl/Shared/Stats.luau +0 -204
  1009. package/runtime/Chrono/_impl/Shared/Ticker.luau +0 -112
  1010. package/runtime/Chrono/_impl/Shared/Types.luau +0 -247
  1011. package/runtime/Chrono/_impl/Shared/Warn.luau +0 -33
  1012. package/runtime/Chrono/_impl/Shared/_CUSTOM_MODEL_REP/init.model.json +0 -3
  1013. package/runtime/Chrono/_impl/init.luau +0 -96
  1014. package/runtime/Chrono/init.luau +0 -14
  1015. package/runtime/Cmdr/BuiltInCommands/Admin/announce.luau +0 -21
  1016. package/runtime/Cmdr/BuiltInCommands/Admin/announceServer.luau +0 -17
  1017. package/runtime/Cmdr/BuiltInCommands/Admin/ban.luau +0 -59
  1018. package/runtime/Cmdr/BuiltInCommands/Admin/banServer.luau +0 -30
  1019. package/runtime/Cmdr/BuiltInCommands/Admin/gotoPlace.luau +0 -35
  1020. package/runtime/Cmdr/BuiltInCommands/Admin/gotoPlaceServer.luau +0 -17
  1021. package/runtime/Cmdr/BuiltInCommands/Admin/kick.luau +0 -19
  1022. package/runtime/Cmdr/BuiltInCommands/Admin/kickServer.luau +0 -27
  1023. package/runtime/Cmdr/BuiltInCommands/Admin/kill.luau +0 -13
  1024. package/runtime/Cmdr/BuiltInCommands/Admin/killServer.luau +0 -13
  1025. package/runtime/Cmdr/BuiltInCommands/Admin/respawn.luau +0 -15
  1026. package/runtime/Cmdr/BuiltInCommands/Admin/respawnServer.luau +0 -7
  1027. package/runtime/Cmdr/BuiltInCommands/Admin/teleport.luau +0 -30
  1028. package/runtime/Cmdr/BuiltInCommands/Admin/teleportServer.luau +0 -26
  1029. package/runtime/Cmdr/BuiltInCommands/Admin/unban.luau +0 -26
  1030. package/runtime/Cmdr/BuiltInCommands/Admin/unbanServer.luau +0 -10
  1031. package/runtime/Cmdr/BuiltInCommands/Debug/blink.luau +0 -35
  1032. package/runtime/Cmdr/BuiltInCommands/Debug/fetch.luau +0 -12
  1033. package/runtime/Cmdr/BuiltInCommands/Debug/fetchServer.luau +0 -7
  1034. package/runtime/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +0 -20
  1035. package/runtime/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +0 -28
  1036. package/runtime/Cmdr/BuiltInCommands/Debug/position.luau +0 -30
  1037. package/runtime/Cmdr/BuiltInCommands/Debug/thru.luau +0 -50
  1038. package/runtime/Cmdr/BuiltInCommands/Debug/uptime.luau +0 -6
  1039. package/runtime/Cmdr/BuiltInCommands/Debug/uptimeServer.luau +0 -12
  1040. package/runtime/Cmdr/BuiltInCommands/Debug/version.luau +0 -12
  1041. package/runtime/Cmdr/BuiltInCommands/Utility/alias.luau +0 -22
  1042. package/runtime/Cmdr/BuiltInCommands/Utility/bind.luau +0 -104
  1043. package/runtime/Cmdr/BuiltInCommands/Utility/clear.luau +0 -20
  1044. package/runtime/Cmdr/BuiltInCommands/Utility/convertTimestamp.luau +0 -18
  1045. package/runtime/Cmdr/BuiltInCommands/Utility/echo.luau +0 -17
  1046. package/runtime/Cmdr/BuiltInCommands/Utility/edit.luau +0 -75
  1047. package/runtime/Cmdr/BuiltInCommands/Utility/exit.luau +0 -11
  1048. package/runtime/Cmdr/BuiltInCommands/Utility/history.luau +0 -27
  1049. package/runtime/Cmdr/BuiltInCommands/Utility/hover.luau +0 -21
  1050. package/runtime/Cmdr/BuiltInCommands/Utility/jsonArrayDecode.luau +0 -25
  1051. package/runtime/Cmdr/BuiltInCommands/Utility/jsonArrayEncode.luau +0 -18
  1052. package/runtime/Cmdr/BuiltInCommands/Utility/len.luau +0 -16
  1053. package/runtime/Cmdr/BuiltInCommands/Utility/math.luau +0 -36
  1054. package/runtime/Cmdr/BuiltInCommands/Utility/pick.luau +0 -21
  1055. package/runtime/Cmdr/BuiltInCommands/Utility/rand.luau +0 -27
  1056. package/runtime/Cmdr/BuiltInCommands/Utility/replace.luau +0 -32
  1057. package/runtime/Cmdr/BuiltInCommands/Utility/resolve.luau +0 -32
  1058. package/runtime/Cmdr/BuiltInCommands/Utility/run.luau +0 -20
  1059. package/runtime/Cmdr/BuiltInCommands/Utility/runLines.luau +0 -34
  1060. package/runtime/Cmdr/BuiltInCommands/Utility/runif.luau +0 -95
  1061. package/runtime/Cmdr/BuiltInCommands/Utility/unbind.luau +0 -27
  1062. package/runtime/Cmdr/BuiltInCommands/Utility/var.luau +0 -29
  1063. package/runtime/Cmdr/BuiltInCommands/Utility/varServer.luau +0 -37
  1064. package/runtime/Cmdr/BuiltInCommands/Utility/varSet.luau +0 -30
  1065. package/runtime/Cmdr/BuiltInCommands/Utility/varSetServer.luau +0 -29
  1066. package/runtime/Cmdr/BuiltInCommands/help.luau +0 -96
  1067. package/runtime/Cmdr/BuiltInTypes/BrickColor.luau +0 -258
  1068. package/runtime/Cmdr/BuiltInTypes/Color3.luau +0 -59
  1069. package/runtime/Cmdr/BuiltInTypes/Command.luau +0 -23
  1070. package/runtime/Cmdr/BuiltInTypes/Duration.luau +0 -111
  1071. package/runtime/Cmdr/BuiltInTypes/JSON.luau +0 -13
  1072. package/runtime/Cmdr/BuiltInTypes/MathOperator.luau +0 -43
  1073. package/runtime/Cmdr/BuiltInTypes/Player.luau +0 -36
  1074. package/runtime/Cmdr/BuiltInTypes/PlayerId.luau +0 -66
  1075. package/runtime/Cmdr/BuiltInTypes/Primitives.luau +0 -145
  1076. package/runtime/Cmdr/BuiltInTypes/StoredKey.luau +0 -33
  1077. package/runtime/Cmdr/BuiltInTypes/Team.luau +0 -49
  1078. package/runtime/Cmdr/BuiltInTypes/Type.luau +0 -23
  1079. package/runtime/Cmdr/BuiltInTypes/URL.luau +0 -18
  1080. package/runtime/Cmdr/BuiltInTypes/UserInput.luau +0 -32
  1081. package/runtime/Cmdr/BuiltInTypes/Vector.luau +0 -58
  1082. package/runtime/Cmdr/CmdrClient/CmdrInterface/AutoComplete.luau +0 -240
  1083. package/runtime/Cmdr/CmdrClient/CmdrInterface/CreateGui.luau +0 -227
  1084. package/runtime/Cmdr/CmdrClient/CmdrInterface/Window.luau +0 -713
  1085. package/runtime/Cmdr/CmdrClient/CmdrInterface/init.luau +0 -18
  1086. package/runtime/Cmdr/CmdrClient/DefaultEventHandlers.luau +0 -18
  1087. package/runtime/Cmdr/CmdrClient/Shared/Argument.luau +0 -395
  1088. package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +0 -39
  1089. package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +0 -36
  1090. package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +0 -10
  1091. package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +0 -10
  1092. package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +0 -10
  1093. package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +0 -8
  1094. package/runtime/Cmdr/CmdrClient/Shared/Command.luau +0 -415
  1095. package/runtime/Cmdr/CmdrClient/Shared/Dispatcher.luau +0 -407
  1096. package/runtime/Cmdr/CmdrClient/Shared/Registry.luau +0 -717
  1097. package/runtime/Cmdr/CmdrClient/Shared/Util.luau +0 -879
  1098. package/runtime/Cmdr/CmdrClient/init.luau +0 -377
  1099. package/runtime/Cmdr/LICENSE +0 -21
  1100. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/announce.luau +0 -21
  1101. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/announceServer.luau +0 -17
  1102. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/ban.luau +0 -59
  1103. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/banServer.luau +0 -30
  1104. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/gotoPlace.luau +0 -35
  1105. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/gotoPlaceServer.luau +0 -17
  1106. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/kick.luau +0 -19
  1107. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/kickServer.luau +0 -27
  1108. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/kill.luau +0 -13
  1109. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/killServer.luau +0 -13
  1110. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/respawn.luau +0 -15
  1111. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/respawnServer.luau +0 -7
  1112. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/teleport.luau +0 -30
  1113. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/teleportServer.luau +0 -26
  1114. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/unban.luau +0 -26
  1115. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/unbanServer.luau +0 -10
  1116. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/blink.luau +0 -35
  1117. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/fetch.luau +0 -12
  1118. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/fetchServer.luau +0 -7
  1119. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +0 -20
  1120. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +0 -28
  1121. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/position.luau +0 -30
  1122. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/thru.luau +0 -50
  1123. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/uptime.luau +0 -6
  1124. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/uptimeServer.luau +0 -12
  1125. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/version.luau +0 -12
  1126. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/alias.luau +0 -22
  1127. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/bind.luau +0 -104
  1128. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/clear.luau +0 -20
  1129. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/convertTimestamp.luau +0 -18
  1130. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/echo.luau +0 -17
  1131. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/edit.luau +0 -75
  1132. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/exit.luau +0 -11
  1133. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/history.luau +0 -27
  1134. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/hover.luau +0 -21
  1135. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayDecode.luau +0 -25
  1136. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayEncode.luau +0 -18
  1137. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/len.luau +0 -16
  1138. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/math.luau +0 -36
  1139. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/pick.luau +0 -21
  1140. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/rand.luau +0 -27
  1141. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/replace.luau +0 -32
  1142. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/resolve.luau +0 -32
  1143. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/run.luau +0 -20
  1144. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/runLines.luau +0 -34
  1145. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/runif.luau +0 -95
  1146. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/unbind.luau +0 -27
  1147. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/var.luau +0 -29
  1148. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/varServer.luau +0 -37
  1149. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/varSet.luau +0 -30
  1150. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/varSetServer.luau +0 -29
  1151. package/runtime/Cmdr/_impl/BuiltInCommands/help.luau +0 -96
  1152. package/runtime/Cmdr/_impl/BuiltInTypes/BrickColor.luau +0 -258
  1153. package/runtime/Cmdr/_impl/BuiltInTypes/Color3.luau +0 -59
  1154. package/runtime/Cmdr/_impl/BuiltInTypes/Command.luau +0 -23
  1155. package/runtime/Cmdr/_impl/BuiltInTypes/Duration.luau +0 -111
  1156. package/runtime/Cmdr/_impl/BuiltInTypes/JSON.luau +0 -13
  1157. package/runtime/Cmdr/_impl/BuiltInTypes/MathOperator.luau +0 -43
  1158. package/runtime/Cmdr/_impl/BuiltInTypes/Player.luau +0 -36
  1159. package/runtime/Cmdr/_impl/BuiltInTypes/PlayerId.luau +0 -66
  1160. package/runtime/Cmdr/_impl/BuiltInTypes/Primitives.luau +0 -145
  1161. package/runtime/Cmdr/_impl/BuiltInTypes/StoredKey.luau +0 -33
  1162. package/runtime/Cmdr/_impl/BuiltInTypes/Team.luau +0 -49
  1163. package/runtime/Cmdr/_impl/BuiltInTypes/Type.luau +0 -23
  1164. package/runtime/Cmdr/_impl/BuiltInTypes/URL.luau +0 -18
  1165. package/runtime/Cmdr/_impl/BuiltInTypes/UserInput.luau +0 -32
  1166. package/runtime/Cmdr/_impl/BuiltInTypes/Vector.luau +0 -58
  1167. package/runtime/Cmdr/_impl/CmdrClient/CmdrInterface/AutoComplete.luau +0 -240
  1168. package/runtime/Cmdr/_impl/CmdrClient/CmdrInterface/CreateGui.luau +0 -227
  1169. package/runtime/Cmdr/_impl/CmdrClient/CmdrInterface/Window.luau +0 -713
  1170. package/runtime/Cmdr/_impl/CmdrClient/CmdrInterface/init.luau +0 -18
  1171. package/runtime/Cmdr/_impl/CmdrClient/DefaultEventHandlers.luau +0 -18
  1172. package/runtime/Cmdr/_impl/CmdrClient/Shared/Argument.luau +0 -395
  1173. package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +0 -39
  1174. package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +0 -36
  1175. package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +0 -10
  1176. package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +0 -10
  1177. package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +0 -10
  1178. package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +0 -8
  1179. package/runtime/Cmdr/_impl/CmdrClient/Shared/Command.luau +0 -415
  1180. package/runtime/Cmdr/_impl/CmdrClient/Shared/Dispatcher.luau +0 -407
  1181. package/runtime/Cmdr/_impl/CmdrClient/Shared/Registry.luau +0 -717
  1182. package/runtime/Cmdr/_impl/CmdrClient/Shared/Util.luau +0 -879
  1183. package/runtime/Cmdr/_impl/CmdrClient/init.luau +0 -377
  1184. package/runtime/Cmdr/_impl/LICENSE +0 -21
  1185. package/runtime/Cmdr/_impl/init.luau +0 -178
  1186. package/runtime/Cmdr/init.luau +0 -8
  1187. package/runtime/DataService/Client.luau +0 -209
  1188. package/runtime/DataService/Data.luau +0 -886
  1189. package/runtime/DataService/Enum.luau +0 -6
  1190. package/runtime/DataService/Enums.luau +0 -10
  1191. package/runtime/DataService/Packages/quicknet/DataTypes.luau +0 -70
  1192. package/runtime/DataService/Packages/quicknet/Enums.luau +0 -85
  1193. package/runtime/DataService/Packages/quicknet/EnumsToNativeTypes.luau +0 -57
  1194. package/runtime/DataService/Packages/quicknet/Parser.luau +0 -355
  1195. package/runtime/DataService/Packages/quicknet/QuickNet.luau +0 -953
  1196. package/runtime/DataService/Packages/quicknet/Serialize.luau +0 -2020
  1197. package/runtime/DataService/Packages/quicknet/Types.luau +0 -72
  1198. package/runtime/DataService/Packages/quicknet/init.luau +0 -1
  1199. package/runtime/DataService/Packages/signal/init.luau +0 -433
  1200. package/runtime/DataService/Path.luau +0 -236
  1201. package/runtime/DataService/ProfileStore.luau +0 -2243
  1202. package/runtime/DataService/Replicator.luau +0 -172
  1203. package/runtime/DataService/Server.luau +0 -412
  1204. package/runtime/DataService/init.luau +0 -204
  1205. package/runtime/Display/LICENSE +0 -201
  1206. package/runtime/Display/_impl/LICENSE +0 -201
  1207. package/runtime/Display/_impl/init.luau +0 -269
  1208. package/runtime/Display/_impl/option.luau +0 -237
  1209. package/runtime/Display/init.luau +0 -10
  1210. package/runtime/Display/option.luau +0 -237
  1211. package/runtime/EzVisualz/Dropshadow.luau +0 -148
  1212. package/runtime/EzVisualz/Gradient.luau +0 -452
  1213. package/runtime/EzVisualz/GradientTemplates/Bubblegum.luau +0 -16
  1214. package/runtime/EzVisualz/GradientTemplates/Chrome.luau +0 -16
  1215. package/runtime/EzVisualz/GradientTemplates/Death.luau +0 -15
  1216. package/runtime/EzVisualz/GradientTemplates/Electric.luau +0 -14
  1217. package/runtime/EzVisualz/GradientTemplates/Fire.luau +0 -13
  1218. package/runtime/EzVisualz/GradientTemplates/Galaxy.luau +0 -11
  1219. package/runtime/EzVisualz/GradientTemplates/Ghost.luau +0 -16
  1220. package/runtime/EzVisualz/GradientTemplates/Gold.luau +0 -14
  1221. package/runtime/EzVisualz/GradientTemplates/Green.luau +0 -14
  1222. package/runtime/EzVisualz/GradientTemplates/Ice.luau +0 -14
  1223. package/runtime/EzVisualz/GradientTemplates/Lava.luau +0 -15
  1224. package/runtime/EzVisualz/GradientTemplates/Matrix.luau +0 -19
  1225. package/runtime/EzVisualz/GradientTemplates/Neon.luau +0 -12
  1226. package/runtime/EzVisualz/GradientTemplates/Oceanic.luau +0 -15
  1227. package/runtime/EzVisualz/GradientTemplates/Rainbow.luau +0 -13
  1228. package/runtime/EzVisualz/GradientTemplates/Silver.luau +0 -12
  1229. package/runtime/EzVisualz/GradientTemplates/Sunset.luau +0 -11
  1230. package/runtime/EzVisualz/GradientTemplates/Zebra.luau +0 -18
  1231. package/runtime/EzVisualz/GradientTemplates/init.luau +0 -9
  1232. package/runtime/EzVisualz/LICENSE.md +0 -21
  1233. package/runtime/EzVisualz/Presets/Bubblegum.luau +0 -36
  1234. package/runtime/EzVisualz/Presets/ChromeStroke.luau +0 -15
  1235. package/runtime/EzVisualz/Presets/DeathStroke.luau +0 -15
  1236. package/runtime/EzVisualz/Presets/ElectricStroke.luau +0 -54
  1237. package/runtime/EzVisualz/Presets/FireStroke.luau +0 -29
  1238. package/runtime/EzVisualz/Presets/GalaxyStroke.luau +0 -31
  1239. package/runtime/EzVisualz/Presets/Ghost.luau +0 -10
  1240. package/runtime/EzVisualz/Presets/GhostStroke.luau +0 -15
  1241. package/runtime/EzVisualz/Presets/Gold.luau +0 -10
  1242. package/runtime/EzVisualz/Presets/GoldStroke.luau +0 -15
  1243. package/runtime/EzVisualz/Presets/GreenOutline.luau +0 -23
  1244. package/runtime/EzVisualz/Presets/IceStroke.luau +0 -15
  1245. package/runtime/EzVisualz/Presets/Lava.luau +0 -9
  1246. package/runtime/EzVisualz/Presets/LavaStroke.luau +0 -13
  1247. package/runtime/EzVisualz/Presets/Matrix.luau +0 -21
  1248. package/runtime/EzVisualz/Presets/NeonStroke.luau +0 -30
  1249. package/runtime/EzVisualz/Presets/OceanicStroke.luau +0 -15
  1250. package/runtime/EzVisualz/Presets/Rainbow.luau +0 -9
  1251. package/runtime/EzVisualz/Presets/RainbowOutline.luau +0 -23
  1252. package/runtime/EzVisualz/Presets/RainbowStroke.luau +0 -13
  1253. package/runtime/EzVisualz/Presets/Shine.luau +0 -48
  1254. package/runtime/EzVisualz/Presets/ShineOutline.luau +0 -66
  1255. package/runtime/EzVisualz/Presets/Silver.luau +0 -10
  1256. package/runtime/EzVisualz/Presets/SilverStroke.luau +0 -15
  1257. package/runtime/EzVisualz/Presets/SunsetStroke.luau +0 -31
  1258. package/runtime/EzVisualz/Presets/WaveStroke.luau +0 -33
  1259. package/runtime/EzVisualz/Presets/Zebra.luau +0 -21
  1260. package/runtime/EzVisualz/Presets/init.luau +0 -9
  1261. package/runtime/EzVisualz/Stroke.luau +0 -167
  1262. package/runtime/EzVisualz/Util.luau +0 -7
  1263. package/runtime/EzVisualz/_impl/Dropshadow.luau +0 -148
  1264. package/runtime/EzVisualz/_impl/Gradient.luau +0 -452
  1265. package/runtime/EzVisualz/_impl/GradientTemplates/Bubblegum.luau +0 -16
  1266. package/runtime/EzVisualz/_impl/GradientTemplates/Chrome.luau +0 -16
  1267. package/runtime/EzVisualz/_impl/GradientTemplates/Death.luau +0 -15
  1268. package/runtime/EzVisualz/_impl/GradientTemplates/Electric.luau +0 -14
  1269. package/runtime/EzVisualz/_impl/GradientTemplates/Fire.luau +0 -13
  1270. package/runtime/EzVisualz/_impl/GradientTemplates/Galaxy.luau +0 -11
  1271. package/runtime/EzVisualz/_impl/GradientTemplates/Ghost.luau +0 -16
  1272. package/runtime/EzVisualz/_impl/GradientTemplates/Gold.luau +0 -14
  1273. package/runtime/EzVisualz/_impl/GradientTemplates/Green.luau +0 -14
  1274. package/runtime/EzVisualz/_impl/GradientTemplates/Ice.luau +0 -14
  1275. package/runtime/EzVisualz/_impl/GradientTemplates/Lava.luau +0 -15
  1276. package/runtime/EzVisualz/_impl/GradientTemplates/Matrix.luau +0 -19
  1277. package/runtime/EzVisualz/_impl/GradientTemplates/Neon.luau +0 -12
  1278. package/runtime/EzVisualz/_impl/GradientTemplates/Oceanic.luau +0 -15
  1279. package/runtime/EzVisualz/_impl/GradientTemplates/Rainbow.luau +0 -13
  1280. package/runtime/EzVisualz/_impl/GradientTemplates/Silver.luau +0 -12
  1281. package/runtime/EzVisualz/_impl/GradientTemplates/Sunset.luau +0 -11
  1282. package/runtime/EzVisualz/_impl/GradientTemplates/Zebra.luau +0 -18
  1283. package/runtime/EzVisualz/_impl/GradientTemplates/init.luau +0 -9
  1284. package/runtime/EzVisualz/_impl/LICENSE.md +0 -21
  1285. package/runtime/EzVisualz/_impl/Presets/Bubblegum.luau +0 -36
  1286. package/runtime/EzVisualz/_impl/Presets/ChromeStroke.luau +0 -15
  1287. package/runtime/EzVisualz/_impl/Presets/DeathStroke.luau +0 -15
  1288. package/runtime/EzVisualz/_impl/Presets/ElectricStroke.luau +0 -54
  1289. package/runtime/EzVisualz/_impl/Presets/FireStroke.luau +0 -29
  1290. package/runtime/EzVisualz/_impl/Presets/GalaxyStroke.luau +0 -31
  1291. package/runtime/EzVisualz/_impl/Presets/Ghost.luau +0 -10
  1292. package/runtime/EzVisualz/_impl/Presets/GhostStroke.luau +0 -15
  1293. package/runtime/EzVisualz/_impl/Presets/Gold.luau +0 -10
  1294. package/runtime/EzVisualz/_impl/Presets/GoldStroke.luau +0 -15
  1295. package/runtime/EzVisualz/_impl/Presets/GreenOutline.luau +0 -23
  1296. package/runtime/EzVisualz/_impl/Presets/IceStroke.luau +0 -15
  1297. package/runtime/EzVisualz/_impl/Presets/Lava.luau +0 -9
  1298. package/runtime/EzVisualz/_impl/Presets/LavaStroke.luau +0 -13
  1299. package/runtime/EzVisualz/_impl/Presets/Matrix.luau +0 -21
  1300. package/runtime/EzVisualz/_impl/Presets/NeonStroke.luau +0 -30
  1301. package/runtime/EzVisualz/_impl/Presets/OceanicStroke.luau +0 -15
  1302. package/runtime/EzVisualz/_impl/Presets/Rainbow.luau +0 -9
  1303. package/runtime/EzVisualz/_impl/Presets/RainbowOutline.luau +0 -23
  1304. package/runtime/EzVisualz/_impl/Presets/RainbowStroke.luau +0 -13
  1305. package/runtime/EzVisualz/_impl/Presets/Shine.luau +0 -48
  1306. package/runtime/EzVisualz/_impl/Presets/ShineOutline.luau +0 -66
  1307. package/runtime/EzVisualz/_impl/Presets/Silver.luau +0 -10
  1308. package/runtime/EzVisualz/_impl/Presets/SilverStroke.luau +0 -15
  1309. package/runtime/EzVisualz/_impl/Presets/SunsetStroke.luau +0 -31
  1310. package/runtime/EzVisualz/_impl/Presets/WaveStroke.luau +0 -33
  1311. package/runtime/EzVisualz/_impl/Presets/Zebra.luau +0 -21
  1312. package/runtime/EzVisualz/_impl/Presets/init.luau +0 -9
  1313. package/runtime/EzVisualz/_impl/Stroke.luau +0 -167
  1314. package/runtime/EzVisualz/_impl/Util.luau +0 -7
  1315. package/runtime/EzVisualz/_impl/init.luau +0 -319
  1316. package/runtime/EzVisualz/_impl/wally.lock +0 -8
  1317. package/runtime/EzVisualz/_impl/wally.toml +0 -8
  1318. package/runtime/EzVisualz/init.luau +0 -9
  1319. package/runtime/EzVisualz/wally.lock +0 -8
  1320. package/runtime/EzVisualz/wally.toml +0 -8
  1321. package/runtime/FormatNumber/LICENSE.md +0 -25
  1322. package/runtime/FormatNumber/Main/DecimalFormatSymbols.lua +0 -43
  1323. package/runtime/FormatNumber/Main/IntegerWidth.lua +0 -41
  1324. package/runtime/FormatNumber/Main/Notation.lua +0 -116
  1325. package/runtime/FormatNumber/Main/Precision.lua +0 -179
  1326. package/runtime/FormatNumber/Main/init.lua +0 -199
  1327. package/runtime/FormatNumber/Simple/init.lua +0 -76
  1328. package/runtime/FormatNumber/Version.lua +0 -82
  1329. package/runtime/FormatNumber/_impl/LICENSE.md +0 -25
  1330. package/runtime/FormatNumber/_impl/Main/DecimalFormatSymbols.lua +0 -43
  1331. package/runtime/FormatNumber/_impl/Main/IntegerWidth.lua +0 -41
  1332. package/runtime/FormatNumber/_impl/Main/Notation.lua +0 -116
  1333. package/runtime/FormatNumber/_impl/Main/Precision.lua +0 -179
  1334. package/runtime/FormatNumber/_impl/Main/init.lua +0 -199
  1335. package/runtime/FormatNumber/_impl/Simple/init.lua +0 -76
  1336. package/runtime/FormatNumber/_impl/Version.lua +0 -82
  1337. package/runtime/FormatNumber/_impl/_internal/class.lua +0 -204
  1338. package/runtime/FormatNumber/_impl/_internal/decimal_conversion.lua +0 -30
  1339. package/runtime/FormatNumber/_impl/_internal/enums.lua +0 -55
  1340. package/runtime/FormatNumber/_impl/_internal/format.lua +0 -342
  1341. package/runtime/FormatNumber/_impl/_internal/formatter_settings.lua +0 -160
  1342. package/runtime/FormatNumber/_impl/_internal/init.lua +0 -8
  1343. package/runtime/FormatNumber/_impl/_internal/skeleton.lua +0 -541
  1344. package/runtime/FormatNumber/_impl/init.lua +0 -20
  1345. package/runtime/FormatNumber/_internal/class.lua +0 -204
  1346. package/runtime/FormatNumber/_internal/decimal_conversion.lua +0 -30
  1347. package/runtime/FormatNumber/_internal/enums.lua +0 -55
  1348. package/runtime/FormatNumber/_internal/format.lua +0 -342
  1349. package/runtime/FormatNumber/_internal/formatter_settings.lua +0 -160
  1350. package/runtime/FormatNumber/_internal/init.lua +0 -8
  1351. package/runtime/FormatNumber/_internal/skeleton.lua +0 -541
  1352. package/runtime/FormatNumber/init.lua +0 -20
  1353. package/runtime/FormatNumber/init.luau +0 -20
  1354. package/runtime/Fusion/Animation/ExternalTime.luau +0 -84
  1355. package/runtime/Fusion/Animation/Spring.luau +0 -313
  1356. package/runtime/Fusion/Animation/Stopwatch.luau +0 -128
  1357. package/runtime/Fusion/Animation/Tween.luau +0 -178
  1358. package/runtime/Fusion/Animation/getTweenDuration.luau +0 -27
  1359. package/runtime/Fusion/Animation/getTweenRatio.luau +0 -47
  1360. package/runtime/Fusion/Animation/lerpType.luau +0 -164
  1361. package/runtime/Fusion/Animation/packType.luau +0 -100
  1362. package/runtime/Fusion/Animation/springCoefficients.luau +0 -80
  1363. package/runtime/Fusion/Animation/unpackType.luau +0 -103
  1364. package/runtime/Fusion/Colour/Oklab.luau +0 -70
  1365. package/runtime/Fusion/Colour/sRGB.luau +0 -47
  1366. package/runtime/Fusion/External.luau +0 -156
  1367. package/runtime/Fusion/ExternalDebug.luau +0 -70
  1368. package/runtime/Fusion/Graph/Observer.luau +0 -111
  1369. package/runtime/Fusion/Graph/castToGraph.luau +0 -29
  1370. package/runtime/Fusion/Graph/change.luau +0 -81
  1371. package/runtime/Fusion/Graph/depend.luau +0 -33
  1372. package/runtime/Fusion/Graph/evaluate.luau +0 -56
  1373. package/runtime/Fusion/Instances/Attribute.luau +0 -58
  1374. package/runtime/Fusion/Instances/AttributeChange.luau +0 -47
  1375. package/runtime/Fusion/Instances/AttributeOut.luau +0 -63
  1376. package/runtime/Fusion/Instances/Child.luau +0 -21
  1377. package/runtime/Fusion/Instances/Children.luau +0 -148
  1378. package/runtime/Fusion/Instances/Hydrate.luau +0 -29
  1379. package/runtime/Fusion/Instances/New.luau +0 -48
  1380. package/runtime/Fusion/Instances/OnChange.luau +0 -50
  1381. package/runtime/Fusion/Instances/OnEvent.luau +0 -54
  1382. package/runtime/Fusion/Instances/Out.luau +0 -69
  1383. package/runtime/Fusion/Instances/Tag.luau +0 -61
  1384. package/runtime/Fusion/Instances/applyInstanceProps.luau +0 -149
  1385. package/runtime/Fusion/Instances/defaultProps.luau +0 -194
  1386. package/runtime/Fusion/LICENSE +0 -21
  1387. package/runtime/Fusion/Logging/formatError.luau +0 -49
  1388. package/runtime/Fusion/Logging/messages.luau +0 -46
  1389. package/runtime/Fusion/Logging/parseError.luau +0 -25
  1390. package/runtime/Fusion/Memory/checkLifetime.luau +0 -134
  1391. package/runtime/Fusion/Memory/deriveScope.luau +0 -24
  1392. package/runtime/Fusion/Memory/deriveScopeImpl.luau +0 -40
  1393. package/runtime/Fusion/Memory/doCleanup.luau +0 -91
  1394. package/runtime/Fusion/Memory/innerScope.luau +0 -34
  1395. package/runtime/Fusion/Memory/insert.luau +0 -22
  1396. package/runtime/Fusion/Memory/needsDestruction.luau +0 -17
  1397. package/runtime/Fusion/Memory/scoped.luau +0 -24
  1398. package/runtime/Fusion/RobloxExternal.luau +0 -98
  1399. package/runtime/Fusion/State/Computed.luau +0 -122
  1400. package/runtime/Fusion/State/For/Disassembly.luau +0 -207
  1401. package/runtime/Fusion/State/For/ForTypes.luau +0 -30
  1402. package/runtime/Fusion/State/For/init.luau +0 -101
  1403. package/runtime/Fusion/State/ForKeys.luau +0 -88
  1404. package/runtime/Fusion/State/ForPairs.luau +0 -91
  1405. package/runtime/Fusion/State/ForValues.luau +0 -88
  1406. package/runtime/Fusion/State/Value.luau +0 -76
  1407. package/runtime/Fusion/State/castToState.luau +0 -26
  1408. package/runtime/Fusion/State/peek.luau +0 -31
  1409. package/runtime/Fusion/State/updateAll.luau +0 -1
  1410. package/runtime/Fusion/Types.luau +0 -318
  1411. package/runtime/Fusion/Utility/Contextual.luau +0 -91
  1412. package/runtime/Fusion/Utility/Safe.luau +0 -23
  1413. package/runtime/Fusion/Utility/isSimilar.luau +0 -29
  1414. package/runtime/Fusion/Utility/merge.luau +0 -35
  1415. package/runtime/Fusion/Utility/nameOf.luau +0 -35
  1416. package/runtime/Fusion/Utility/never.luau +0 -14
  1417. package/runtime/Fusion/Utility/nicknames.luau +0 -11
  1418. package/runtime/Fusion/Utility/xtypeof.luau +0 -27
  1419. package/runtime/Fusion/_impl/Animation/ExternalTime.luau +0 -84
  1420. package/runtime/Fusion/_impl/Animation/Spring.luau +0 -313
  1421. package/runtime/Fusion/_impl/Animation/Stopwatch.luau +0 -128
  1422. package/runtime/Fusion/_impl/Animation/Tween.luau +0 -178
  1423. package/runtime/Fusion/_impl/Animation/getTweenDuration.luau +0 -27
  1424. package/runtime/Fusion/_impl/Animation/getTweenRatio.luau +0 -47
  1425. package/runtime/Fusion/_impl/Animation/lerpType.luau +0 -164
  1426. package/runtime/Fusion/_impl/Animation/packType.luau +0 -100
  1427. package/runtime/Fusion/_impl/Animation/springCoefficients.luau +0 -80
  1428. package/runtime/Fusion/_impl/Animation/unpackType.luau +0 -103
  1429. package/runtime/Fusion/_impl/Colour/Oklab.luau +0 -70
  1430. package/runtime/Fusion/_impl/Colour/sRGB.luau +0 -47
  1431. package/runtime/Fusion/_impl/External.luau +0 -156
  1432. package/runtime/Fusion/_impl/ExternalDebug.luau +0 -70
  1433. package/runtime/Fusion/_impl/Graph/Observer.luau +0 -111
  1434. package/runtime/Fusion/_impl/Graph/castToGraph.luau +0 -29
  1435. package/runtime/Fusion/_impl/Graph/change.luau +0 -81
  1436. package/runtime/Fusion/_impl/Graph/depend.luau +0 -33
  1437. package/runtime/Fusion/_impl/Graph/evaluate.luau +0 -56
  1438. package/runtime/Fusion/_impl/Instances/Attribute.luau +0 -58
  1439. package/runtime/Fusion/_impl/Instances/AttributeChange.luau +0 -47
  1440. package/runtime/Fusion/_impl/Instances/AttributeOut.luau +0 -63
  1441. package/runtime/Fusion/_impl/Instances/Child.luau +0 -21
  1442. package/runtime/Fusion/_impl/Instances/Children.luau +0 -148
  1443. package/runtime/Fusion/_impl/Instances/Hydrate.luau +0 -29
  1444. package/runtime/Fusion/_impl/Instances/New.luau +0 -48
  1445. package/runtime/Fusion/_impl/Instances/OnChange.luau +0 -50
  1446. package/runtime/Fusion/_impl/Instances/OnEvent.luau +0 -54
  1447. package/runtime/Fusion/_impl/Instances/Out.luau +0 -69
  1448. package/runtime/Fusion/_impl/Instances/Tag.luau +0 -61
  1449. package/runtime/Fusion/_impl/Instances/applyInstanceProps.luau +0 -149
  1450. package/runtime/Fusion/_impl/Instances/defaultProps.luau +0 -194
  1451. package/runtime/Fusion/_impl/LICENSE +0 -21
  1452. package/runtime/Fusion/_impl/Logging/formatError.luau +0 -49
  1453. package/runtime/Fusion/_impl/Logging/messages.luau +0 -46
  1454. package/runtime/Fusion/_impl/Logging/parseError.luau +0 -25
  1455. package/runtime/Fusion/_impl/Memory/checkLifetime.luau +0 -134
  1456. package/runtime/Fusion/_impl/Memory/deriveScope.luau +0 -24
  1457. package/runtime/Fusion/_impl/Memory/deriveScopeImpl.luau +0 -40
  1458. package/runtime/Fusion/_impl/Memory/doCleanup.luau +0 -91
  1459. package/runtime/Fusion/_impl/Memory/innerScope.luau +0 -34
  1460. package/runtime/Fusion/_impl/Memory/insert.luau +0 -22
  1461. package/runtime/Fusion/_impl/Memory/needsDestruction.luau +0 -17
  1462. package/runtime/Fusion/_impl/Memory/scoped.luau +0 -24
  1463. package/runtime/Fusion/_impl/RobloxExternal.luau +0 -98
  1464. package/runtime/Fusion/_impl/State/Computed.luau +0 -122
  1465. package/runtime/Fusion/_impl/State/For/Disassembly.luau +0 -207
  1466. package/runtime/Fusion/_impl/State/For/ForTypes.luau +0 -30
  1467. package/runtime/Fusion/_impl/State/For/init.luau +0 -101
  1468. package/runtime/Fusion/_impl/State/ForKeys.luau +0 -88
  1469. package/runtime/Fusion/_impl/State/ForPairs.luau +0 -91
  1470. package/runtime/Fusion/_impl/State/ForValues.luau +0 -88
  1471. package/runtime/Fusion/_impl/State/Value.luau +0 -76
  1472. package/runtime/Fusion/_impl/State/castToState.luau +0 -26
  1473. package/runtime/Fusion/_impl/State/peek.luau +0 -31
  1474. package/runtime/Fusion/_impl/State/updateAll.luau +0 -1
  1475. package/runtime/Fusion/_impl/Types.luau +0 -318
  1476. package/runtime/Fusion/_impl/Utility/Contextual.luau +0 -91
  1477. package/runtime/Fusion/_impl/Utility/Safe.luau +0 -23
  1478. package/runtime/Fusion/_impl/Utility/isSimilar.luau +0 -29
  1479. package/runtime/Fusion/_impl/Utility/merge.luau +0 -35
  1480. package/runtime/Fusion/_impl/Utility/nameOf.luau +0 -35
  1481. package/runtime/Fusion/_impl/Utility/never.luau +0 -14
  1482. package/runtime/Fusion/_impl/Utility/nicknames.luau +0 -11
  1483. package/runtime/Fusion/_impl/Utility/xtypeof.luau +0 -27
  1484. package/runtime/Fusion/_impl/init.luau +0 -83
  1485. package/runtime/Fusion/init.luau +0 -27
  1486. package/runtime/Iris/API.lua +0 -2085
  1487. package/runtime/Iris/Internal.lua +0 -895
  1488. package/runtime/Iris/LICENSE.txt +0 -21
  1489. package/runtime/Iris/PubTypes.lua +0 -43
  1490. package/runtime/Iris/Types.lua +0 -660
  1491. package/runtime/Iris/WidgetTypes.lua +0 -521
  1492. package/runtime/Iris/_impl/API.lua +0 -2085
  1493. package/runtime/Iris/_impl/Internal.lua +0 -895
  1494. package/runtime/Iris/_impl/LICENSE.txt +0 -21
  1495. package/runtime/Iris/_impl/PubTypes.lua +0 -43
  1496. package/runtime/Iris/_impl/Types.lua +0 -660
  1497. package/runtime/Iris/_impl/WidgetTypes.lua +0 -521
  1498. package/runtime/Iris/_impl/config.lua +0 -305
  1499. package/runtime/Iris/_impl/init.lua +0 -696
  1500. package/runtime/Iris/_impl/widgets/Button.lua +0 -90
  1501. package/runtime/Iris/_impl/widgets/Checkbox.lua +0 -115
  1502. package/runtime/Iris/_impl/widgets/Combo.lua +0 -492
  1503. package/runtime/Iris/_impl/widgets/Format.lua +0 -140
  1504. package/runtime/Iris/_impl/widgets/Image.lua +0 -155
  1505. package/runtime/Iris/_impl/widgets/Input.lua +0 -1232
  1506. package/runtime/Iris/_impl/widgets/Menu.lua +0 -599
  1507. package/runtime/Iris/_impl/widgets/Plot.lua +0 -639
  1508. package/runtime/Iris/_impl/widgets/RadioButton.lua +0 -126
  1509. package/runtime/Iris/_impl/widgets/Root.lua +0 -143
  1510. package/runtime/Iris/_impl/widgets/Tab.lua +0 -333
  1511. package/runtime/Iris/_impl/widgets/Table.lua +0 -635
  1512. package/runtime/Iris/_impl/widgets/Text.lua +0 -132
  1513. package/runtime/Iris/_impl/widgets/Tree.lua +0 -287
  1514. package/runtime/Iris/_impl/widgets/Window.lua +0 -1075
  1515. package/runtime/Iris/_impl/widgets/init.lua +0 -447
  1516. package/runtime/Iris/config.lua +0 -305
  1517. package/runtime/Iris/init.lua +0 -696
  1518. package/runtime/Iris/init.luau +0 -12
  1519. package/runtime/Iris/widgets/Button.lua +0 -90
  1520. package/runtime/Iris/widgets/Checkbox.lua +0 -115
  1521. package/runtime/Iris/widgets/Combo.lua +0 -492
  1522. package/runtime/Iris/widgets/Format.lua +0 -140
  1523. package/runtime/Iris/widgets/Image.lua +0 -155
  1524. package/runtime/Iris/widgets/Input.lua +0 -1232
  1525. package/runtime/Iris/widgets/Menu.lua +0 -599
  1526. package/runtime/Iris/widgets/Plot.lua +0 -639
  1527. package/runtime/Iris/widgets/RadioButton.lua +0 -126
  1528. package/runtime/Iris/widgets/Root.lua +0 -143
  1529. package/runtime/Iris/widgets/Tab.lua +0 -333
  1530. package/runtime/Iris/widgets/Table.lua +0 -635
  1531. package/runtime/Iris/widgets/Text.lua +0 -132
  1532. package/runtime/Iris/widgets/Tree.lua +0 -287
  1533. package/runtime/Iris/widgets/Window.lua +0 -1075
  1534. package/runtime/Iris/widgets/init.lua +0 -447
  1535. package/runtime/Janitor/FastDefer.luau +0 -33
  1536. package/runtime/Janitor/LICENSE +0 -21
  1537. package/runtime/Janitor/_impl/FastDefer.luau +0 -33
  1538. package/runtime/Janitor/_impl/LICENSE +0 -21
  1539. package/runtime/Janitor/_impl/init.luau +0 -999
  1540. package/runtime/Janitor/init.luau +0 -15
  1541. package/runtime/MathUtils/init.luau +0 -100
  1542. package/runtime/Module3D/LICENSE +0 -21
  1543. package/runtime/Module3D/_impl/LICENSE +0 -21
  1544. package/runtime/Module3D/_impl/init.luau +0 -269
  1545. package/runtime/Module3D/init.luau +0 -14
  1546. package/runtime/Spring/LICENSE +0 -201
  1547. package/runtime/Spring/_impl/LICENSE +0 -201
  1548. package/runtime/Spring/_impl/init.luau +0 -111
  1549. package/runtime/Spring/init.luau +0 -24
  1550. package/runtime/StateMachine/Classes/State.lua +0 -375
  1551. package/runtime/StateMachine/Classes/Transition.lua +0 -336
  1552. package/runtime/StateMachine/Functions/deepCopy.lua +0 -19
  1553. package/runtime/StateMachine/Functions/mergeTables.lua +0 -22
  1554. package/runtime/StateMachine/LICENSE +0 -19
  1555. package/runtime/StateMachine/Vendor/Signal.lua +0 -386
  1556. package/runtime/StateMachine/Vendor/Trove.lua +0 -188
  1557. package/runtime/StateMachine/_impl/Classes/State.lua +0 -375
  1558. package/runtime/StateMachine/_impl/Classes/Transition.lua +0 -336
  1559. package/runtime/StateMachine/_impl/Functions/deepCopy.lua +0 -19
  1560. package/runtime/StateMachine/_impl/Functions/mergeTables.lua +0 -22
  1561. package/runtime/StateMachine/_impl/LICENSE +0 -19
  1562. package/runtime/StateMachine/_impl/Vendor/Signal.lua +0 -386
  1563. package/runtime/StateMachine/_impl/Vendor/Trove.lua +0 -188
  1564. package/runtime/StateMachine/_impl/init.lua +0 -595
  1565. package/runtime/StateMachine/init.lua +0 -595
  1566. package/runtime/StateMachine/init.luau +0 -10
  1567. package/runtime/StickyBillboard/init.luau +0 -167
  1568. package/runtime/TopbarPlus/Attribute.lua +0 -35
  1569. package/runtime/TopbarPlus/Elements/Caption.lua +0 -316
  1570. package/runtime/TopbarPlus/Elements/Container.lua +0 -215
  1571. package/runtime/TopbarPlus/Elements/Dropdown.lua +0 -315
  1572. package/runtime/TopbarPlus/Elements/Indicator.lua +0 -91
  1573. package/runtime/TopbarPlus/Elements/Menu.lua +0 -180
  1574. package/runtime/TopbarPlus/Elements/Notice.lua +0 -113
  1575. package/runtime/TopbarPlus/Elements/Selection.lua +0 -49
  1576. package/runtime/TopbarPlus/Elements/Widget.lua +0 -437
  1577. package/runtime/TopbarPlus/Features/Gamepad.lua +0 -201
  1578. package/runtime/TopbarPlus/Features/Overflow.lua +0 -360
  1579. package/runtime/TopbarPlus/Features/Themes/Classic.lua +0 -27
  1580. package/runtime/TopbarPlus/Features/Themes/Default.lua +0 -75
  1581. package/runtime/TopbarPlus/Features/Themes/init.lua +0 -353
  1582. package/runtime/TopbarPlus/LICENSE +0 -381
  1583. package/runtime/TopbarPlus/Packages/GoodSignal.lua +0 -182
  1584. package/runtime/TopbarPlus/Packages/Janitor.lua +0 -322
  1585. package/runtime/TopbarPlus/Reference.lua +0 -30
  1586. package/runtime/TopbarPlus/Types.lua +0 -477
  1587. package/runtime/TopbarPlus/Utility.lua +0 -462
  1588. package/runtime/TopbarPlus/VERSION.lua +0 -51
  1589. package/runtime/TopbarPlus/_impl/Attribute.lua +0 -35
  1590. package/runtime/TopbarPlus/_impl/Elements/Caption.lua +0 -316
  1591. package/runtime/TopbarPlus/_impl/Elements/Container.lua +0 -215
  1592. package/runtime/TopbarPlus/_impl/Elements/Dropdown.lua +0 -315
  1593. package/runtime/TopbarPlus/_impl/Elements/Indicator.lua +0 -91
  1594. package/runtime/TopbarPlus/_impl/Elements/Menu.lua +0 -180
  1595. package/runtime/TopbarPlus/_impl/Elements/Notice.lua +0 -113
  1596. package/runtime/TopbarPlus/_impl/Elements/Selection.lua +0 -49
  1597. package/runtime/TopbarPlus/_impl/Elements/Widget.lua +0 -437
  1598. package/runtime/TopbarPlus/_impl/Features/Gamepad.lua +0 -201
  1599. package/runtime/TopbarPlus/_impl/Features/Overflow.lua +0 -360
  1600. package/runtime/TopbarPlus/_impl/Features/Themes/Classic.lua +0 -27
  1601. package/runtime/TopbarPlus/_impl/Features/Themes/Default.lua +0 -75
  1602. package/runtime/TopbarPlus/_impl/Features/Themes/init.lua +0 -353
  1603. package/runtime/TopbarPlus/_impl/LICENSE +0 -381
  1604. package/runtime/TopbarPlus/_impl/Packages/GoodSignal.lua +0 -182
  1605. package/runtime/TopbarPlus/_impl/Packages/Janitor.lua +0 -322
  1606. package/runtime/TopbarPlus/_impl/Reference.lua +0 -30
  1607. package/runtime/TopbarPlus/_impl/Types.lua +0 -477
  1608. package/runtime/TopbarPlus/_impl/Utility.lua +0 -462
  1609. package/runtime/TopbarPlus/_impl/VERSION.lua +0 -51
  1610. package/runtime/TopbarPlus/_impl/init.lua +0 -1249
  1611. package/runtime/TopbarPlus/init.lua +0 -1249
  1612. package/runtime/TopbarPlus/init.luau +0 -8
  1613. package/runtime/Twinkle/init.luau +0 -157
  1614. package/runtime/VfxUtil/init.luau +0 -164
  1615. package/templates/game/include/clpp/libs/chrono.clh +0 -26
  1616. package/templates/game/include/clpp/libs/cmdr.clh +0 -16
  1617. package/templates/game/include/clpp/libs/dataservice.clh +0 -138
  1618. package/templates/game/include/clpp/libs/display.clh +0 -12
  1619. package/templates/game/include/clpp/libs/ezvisual.clh +0 -16
  1620. package/templates/game/include/clpp/libs/formatnumber.clh +0 -14
  1621. package/templates/game/include/clpp/libs/fusion.clh +0 -41
  1622. package/templates/game/include/clpp/libs/iris.clh +0 -40
  1623. package/templates/game/include/clpp/libs/janitor.clh +0 -38
  1624. package/templates/game/include/clpp/libs/math.clh +0 -14
  1625. package/templates/game/include/clpp/libs/module3d.clh +0 -23
  1626. package/templates/game/include/clpp/libs/spring.clh +0 -17
  1627. package/templates/game/include/clpp/libs/statemachine.clh +0 -18
  1628. package/templates/game/include/clpp/libs/stickybillboard.clh +0 -13
  1629. package/templates/game/include/clpp/libs/topbarplus.clh +0 -28
  1630. package/templates/game/include/clpp/libs/twinkle.clh +0 -15
  1631. package/templates/game/include/clpp/libs/vfx.clh +0 -13
  1632. package/templates/game/libs/ArrayIndexer/init.luau +0 -144
  1633. package/templates/game/libs/Chrono/Client/ClientClock.luau +0 -202
  1634. package/templates/game/libs/Chrono/Client/InterpolationBuffer.luau +0 -74
  1635. package/templates/game/libs/Chrono/Client/ModelResolver.luau +0 -53
  1636. package/templates/game/libs/Chrono/Client/Player.luau +0 -113
  1637. package/templates/game/libs/Chrono/Client/Receiver.luau +0 -395
  1638. package/templates/game/libs/Chrono/Client/Replicate.luau +0 -333
  1639. package/templates/game/libs/Chrono/Client/Sender.luau +0 -205
  1640. package/templates/game/libs/Chrono/LICENSE +0 -21
  1641. package/templates/game/libs/Chrono/Server/EntityGrid.luau +0 -299
  1642. package/templates/game/libs/Chrono/Server/Player.luau +0 -141
  1643. package/templates/game/libs/Chrono/Server/Receiver.luau +0 -287
  1644. package/templates/game/libs/Chrono/Server/Replicate.luau +0 -415
  1645. package/templates/game/libs/Chrono/Server/Sender.luau +0 -306
  1646. package/templates/game/libs/Chrono/Server/ServerClock.luau +0 -50
  1647. package/templates/game/libs/Chrono/Shared/ApplyMounts.luau +0 -137
  1648. package/templates/game/libs/Chrono/Shared/Bin.luau +0 -31
  1649. package/templates/game/libs/Chrono/Shared/ClockUnwrap.luau +0 -70
  1650. package/templates/game/libs/Chrono/Shared/Config.luau +0 -264
  1651. package/templates/game/libs/Chrono/Shared/Entity.luau +0 -1016
  1652. package/templates/game/libs/Chrono/Shared/Events.luau +0 -39
  1653. package/templates/game/libs/Chrono/Shared/Holder.luau +0 -210
  1654. package/templates/game/libs/Chrono/Shared/InterpolationMath.luau +0 -51
  1655. package/templates/game/libs/Chrono/Shared/ModelHelper.luau +0 -122
  1656. package/templates/game/libs/Chrono/Shared/Remotes/ClientClockRelay.model.json +0 -3
  1657. package/templates/game/libs/Chrono/Shared/Remotes/ClientHeartbeat.model.json +0 -3
  1658. package/templates/game/libs/Chrono/Shared/Remotes/ClientLoaded.model.json +0 -3
  1659. package/templates/game/libs/Chrono/Shared/Remotes/Death.model.json +0 -3
  1660. package/templates/game/libs/Chrono/Shared/Remotes/Heartbeat.model.json +0 -3
  1661. package/templates/game/libs/Chrono/Shared/Remotes/Replicate.model.json +0 -3
  1662. package/templates/game/libs/Chrono/Shared/Remotes/ReplicateFull.model.json +0 -3
  1663. package/templates/game/libs/Chrono/Shared/Remotes/SafeReplicate.model.json +0 -3
  1664. package/templates/game/libs/Chrono/Shared/ReplicationRules.luau +0 -122
  1665. package/templates/game/libs/Chrono/Shared/Signal.luau +0 -219
  1666. package/templates/game/libs/Chrono/Shared/Snapshots.luau +0 -218
  1667. package/templates/game/libs/Chrono/Shared/Stats.luau +0 -204
  1668. package/templates/game/libs/Chrono/Shared/Ticker.luau +0 -112
  1669. package/templates/game/libs/Chrono/Shared/Types.luau +0 -247
  1670. package/templates/game/libs/Chrono/Shared/Warn.luau +0 -33
  1671. package/templates/game/libs/Chrono/Shared/_CUSTOM_MODEL_REP/init.model.json +0 -3
  1672. package/templates/game/libs/Chrono/_impl/Client/ClientClock.luau +0 -202
  1673. package/templates/game/libs/Chrono/_impl/Client/InterpolationBuffer.luau +0 -74
  1674. package/templates/game/libs/Chrono/_impl/Client/ModelResolver.luau +0 -53
  1675. package/templates/game/libs/Chrono/_impl/Client/Player.luau +0 -113
  1676. package/templates/game/libs/Chrono/_impl/Client/Receiver.luau +0 -395
  1677. package/templates/game/libs/Chrono/_impl/Client/Replicate.luau +0 -333
  1678. package/templates/game/libs/Chrono/_impl/Client/Sender.luau +0 -205
  1679. package/templates/game/libs/Chrono/_impl/LICENSE +0 -21
  1680. package/templates/game/libs/Chrono/_impl/Server/EntityGrid.luau +0 -299
  1681. package/templates/game/libs/Chrono/_impl/Server/Player.luau +0 -141
  1682. package/templates/game/libs/Chrono/_impl/Server/Receiver.luau +0 -287
  1683. package/templates/game/libs/Chrono/_impl/Server/Replicate.luau +0 -415
  1684. package/templates/game/libs/Chrono/_impl/Server/Sender.luau +0 -306
  1685. package/templates/game/libs/Chrono/_impl/Server/ServerClock.luau +0 -50
  1686. package/templates/game/libs/Chrono/_impl/Shared/ApplyMounts.luau +0 -137
  1687. package/templates/game/libs/Chrono/_impl/Shared/Bin.luau +0 -31
  1688. package/templates/game/libs/Chrono/_impl/Shared/ClockUnwrap.luau +0 -70
  1689. package/templates/game/libs/Chrono/_impl/Shared/Config.luau +0 -264
  1690. package/templates/game/libs/Chrono/_impl/Shared/Entity.luau +0 -1016
  1691. package/templates/game/libs/Chrono/_impl/Shared/Events.luau +0 -39
  1692. package/templates/game/libs/Chrono/_impl/Shared/Holder.luau +0 -210
  1693. package/templates/game/libs/Chrono/_impl/Shared/InterpolationMath.luau +0 -51
  1694. package/templates/game/libs/Chrono/_impl/Shared/ModelHelper.luau +0 -122
  1695. package/templates/game/libs/Chrono/_impl/Shared/Remotes/ClientClockRelay.model.json +0 -3
  1696. package/templates/game/libs/Chrono/_impl/Shared/Remotes/ClientHeartbeat.model.json +0 -3
  1697. package/templates/game/libs/Chrono/_impl/Shared/Remotes/ClientLoaded.model.json +0 -3
  1698. package/templates/game/libs/Chrono/_impl/Shared/Remotes/Death.model.json +0 -3
  1699. package/templates/game/libs/Chrono/_impl/Shared/Remotes/Heartbeat.model.json +0 -3
  1700. package/templates/game/libs/Chrono/_impl/Shared/Remotes/Replicate.model.json +0 -3
  1701. package/templates/game/libs/Chrono/_impl/Shared/Remotes/ReplicateFull.model.json +0 -3
  1702. package/templates/game/libs/Chrono/_impl/Shared/Remotes/SafeReplicate.model.json +0 -3
  1703. package/templates/game/libs/Chrono/_impl/Shared/ReplicationRules.luau +0 -122
  1704. package/templates/game/libs/Chrono/_impl/Shared/Signal.luau +0 -219
  1705. package/templates/game/libs/Chrono/_impl/Shared/Snapshots.luau +0 -218
  1706. package/templates/game/libs/Chrono/_impl/Shared/Stats.luau +0 -204
  1707. package/templates/game/libs/Chrono/_impl/Shared/Ticker.luau +0 -112
  1708. package/templates/game/libs/Chrono/_impl/Shared/Types.luau +0 -247
  1709. package/templates/game/libs/Chrono/_impl/Shared/Warn.luau +0 -33
  1710. package/templates/game/libs/Chrono/_impl/Shared/_CUSTOM_MODEL_REP/init.model.json +0 -3
  1711. package/templates/game/libs/Chrono/_impl/init.luau +0 -96
  1712. package/templates/game/libs/Chrono/init.luau +0 -14
  1713. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/announce.luau +0 -21
  1714. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/announceServer.luau +0 -17
  1715. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/ban.luau +0 -59
  1716. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/banServer.luau +0 -30
  1717. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlace.luau +0 -35
  1718. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlaceServer.luau +0 -17
  1719. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/kick.luau +0 -19
  1720. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/kickServer.luau +0 -27
  1721. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/kill.luau +0 -13
  1722. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/killServer.luau +0 -13
  1723. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/respawn.luau +0 -15
  1724. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/respawnServer.luau +0 -7
  1725. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/teleport.luau +0 -30
  1726. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/teleportServer.luau +0 -26
  1727. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/unban.luau +0 -26
  1728. package/templates/game/libs/Cmdr/BuiltInCommands/Admin/unbanServer.luau +0 -10
  1729. package/templates/game/libs/Cmdr/BuiltInCommands/Debug/blink.luau +0 -35
  1730. package/templates/game/libs/Cmdr/BuiltInCommands/Debug/fetch.luau +0 -12
  1731. package/templates/game/libs/Cmdr/BuiltInCommands/Debug/fetchServer.luau +0 -7
  1732. package/templates/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +0 -20
  1733. package/templates/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +0 -28
  1734. package/templates/game/libs/Cmdr/BuiltInCommands/Debug/position.luau +0 -30
  1735. package/templates/game/libs/Cmdr/BuiltInCommands/Debug/thru.luau +0 -50
  1736. package/templates/game/libs/Cmdr/BuiltInCommands/Debug/uptime.luau +0 -6
  1737. package/templates/game/libs/Cmdr/BuiltInCommands/Debug/uptimeServer.luau +0 -12
  1738. package/templates/game/libs/Cmdr/BuiltInCommands/Debug/version.luau +0 -12
  1739. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/alias.luau +0 -22
  1740. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/bind.luau +0 -104
  1741. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/clear.luau +0 -20
  1742. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/convertTimestamp.luau +0 -18
  1743. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/echo.luau +0 -17
  1744. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/edit.luau +0 -75
  1745. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/exit.luau +0 -11
  1746. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/history.luau +0 -27
  1747. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/hover.luau +0 -21
  1748. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayDecode.luau +0 -25
  1749. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayEncode.luau +0 -18
  1750. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/len.luau +0 -16
  1751. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/math.luau +0 -36
  1752. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/pick.luau +0 -21
  1753. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/rand.luau +0 -27
  1754. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/replace.luau +0 -32
  1755. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/resolve.luau +0 -32
  1756. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/run.luau +0 -20
  1757. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/runLines.luau +0 -34
  1758. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/runif.luau +0 -95
  1759. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/unbind.luau +0 -27
  1760. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/var.luau +0 -29
  1761. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/varServer.luau +0 -37
  1762. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/varSet.luau +0 -30
  1763. package/templates/game/libs/Cmdr/BuiltInCommands/Utility/varSetServer.luau +0 -29
  1764. package/templates/game/libs/Cmdr/BuiltInCommands/help.luau +0 -96
  1765. package/templates/game/libs/Cmdr/BuiltInTypes/BrickColor.luau +0 -258
  1766. package/templates/game/libs/Cmdr/BuiltInTypes/Color3.luau +0 -59
  1767. package/templates/game/libs/Cmdr/BuiltInTypes/Command.luau +0 -23
  1768. package/templates/game/libs/Cmdr/BuiltInTypes/Duration.luau +0 -111
  1769. package/templates/game/libs/Cmdr/BuiltInTypes/JSON.luau +0 -13
  1770. package/templates/game/libs/Cmdr/BuiltInTypes/MathOperator.luau +0 -43
  1771. package/templates/game/libs/Cmdr/BuiltInTypes/Player.luau +0 -36
  1772. package/templates/game/libs/Cmdr/BuiltInTypes/PlayerId.luau +0 -66
  1773. package/templates/game/libs/Cmdr/BuiltInTypes/Primitives.luau +0 -145
  1774. package/templates/game/libs/Cmdr/BuiltInTypes/StoredKey.luau +0 -33
  1775. package/templates/game/libs/Cmdr/BuiltInTypes/Team.luau +0 -49
  1776. package/templates/game/libs/Cmdr/BuiltInTypes/Type.luau +0 -23
  1777. package/templates/game/libs/Cmdr/BuiltInTypes/URL.luau +0 -18
  1778. package/templates/game/libs/Cmdr/BuiltInTypes/UserInput.luau +0 -32
  1779. package/templates/game/libs/Cmdr/BuiltInTypes/Vector.luau +0 -58
  1780. package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/AutoComplete.luau +0 -240
  1781. package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/CreateGui.luau +0 -227
  1782. package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/Window.luau +0 -713
  1783. package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/init.luau +0 -18
  1784. package/templates/game/libs/Cmdr/CmdrClient/DefaultEventHandlers.luau +0 -18
  1785. package/templates/game/libs/Cmdr/CmdrClient/Shared/Argument.luau +0 -395
  1786. package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +0 -39
  1787. package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +0 -36
  1788. package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +0 -10
  1789. package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +0 -10
  1790. package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +0 -10
  1791. package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +0 -8
  1792. package/templates/game/libs/Cmdr/CmdrClient/Shared/Command.luau +0 -415
  1793. package/templates/game/libs/Cmdr/CmdrClient/Shared/Dispatcher.luau +0 -407
  1794. package/templates/game/libs/Cmdr/CmdrClient/Shared/Registry.luau +0 -717
  1795. package/templates/game/libs/Cmdr/CmdrClient/Shared/Util.luau +0 -879
  1796. package/templates/game/libs/Cmdr/CmdrClient/init.luau +0 -377
  1797. package/templates/game/libs/Cmdr/LICENSE +0 -21
  1798. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announce.luau +0 -21
  1799. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announceServer.luau +0 -17
  1800. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/ban.luau +0 -59
  1801. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/banServer.luau +0 -30
  1802. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlace.luau +0 -35
  1803. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlaceServer.luau +0 -17
  1804. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kick.luau +0 -19
  1805. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kickServer.luau +0 -27
  1806. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kill.luau +0 -13
  1807. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/killServer.luau +0 -13
  1808. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawn.luau +0 -15
  1809. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawnServer.luau +0 -7
  1810. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleport.luau +0 -30
  1811. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleportServer.luau +0 -26
  1812. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unban.luau +0 -26
  1813. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unbanServer.luau +0 -10
  1814. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/blink.luau +0 -35
  1815. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetch.luau +0 -12
  1816. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetchServer.luau +0 -7
  1817. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +0 -20
  1818. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +0 -28
  1819. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/position.luau +0 -30
  1820. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/thru.luau +0 -50
  1821. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptime.luau +0 -6
  1822. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptimeServer.luau +0 -12
  1823. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/version.luau +0 -12
  1824. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/alias.luau +0 -22
  1825. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/bind.luau +0 -104
  1826. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/clear.luau +0 -20
  1827. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/convertTimestamp.luau +0 -18
  1828. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/echo.luau +0 -17
  1829. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/edit.luau +0 -75
  1830. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/exit.luau +0 -11
  1831. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/history.luau +0 -27
  1832. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/hover.luau +0 -21
  1833. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayDecode.luau +0 -25
  1834. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayEncode.luau +0 -18
  1835. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/len.luau +0 -16
  1836. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/math.luau +0 -36
  1837. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/pick.luau +0 -21
  1838. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/rand.luau +0 -27
  1839. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/replace.luau +0 -32
  1840. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/resolve.luau +0 -32
  1841. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/run.luau +0 -20
  1842. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runLines.luau +0 -34
  1843. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runif.luau +0 -95
  1844. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/unbind.luau +0 -27
  1845. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/var.luau +0 -29
  1846. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varServer.luau +0 -37
  1847. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSet.luau +0 -30
  1848. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSetServer.luau +0 -29
  1849. package/templates/game/libs/Cmdr/_impl/BuiltInCommands/help.luau +0 -96
  1850. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/BrickColor.luau +0 -258
  1851. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Color3.luau +0 -59
  1852. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Command.luau +0 -23
  1853. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Duration.luau +0 -111
  1854. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/JSON.luau +0 -13
  1855. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/MathOperator.luau +0 -43
  1856. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Player.luau +0 -36
  1857. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/PlayerId.luau +0 -66
  1858. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Primitives.luau +0 -145
  1859. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/StoredKey.luau +0 -33
  1860. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Team.luau +0 -49
  1861. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Type.luau +0 -23
  1862. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/URL.luau +0 -18
  1863. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/UserInput.luau +0 -32
  1864. package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Vector.luau +0 -58
  1865. package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/AutoComplete.luau +0 -240
  1866. package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/CreateGui.luau +0 -227
  1867. package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/Window.luau +0 -713
  1868. package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/init.luau +0 -18
  1869. package/templates/game/libs/Cmdr/_impl/CmdrClient/DefaultEventHandlers.luau +0 -18
  1870. package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Argument.luau +0 -395
  1871. package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +0 -39
  1872. package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +0 -36
  1873. package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +0 -10
  1874. package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +0 -10
  1875. package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +0 -10
  1876. package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +0 -8
  1877. package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Command.luau +0 -415
  1878. package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Dispatcher.luau +0 -407
  1879. package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Registry.luau +0 -717
  1880. package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Util.luau +0 -879
  1881. package/templates/game/libs/Cmdr/_impl/CmdrClient/init.luau +0 -377
  1882. package/templates/game/libs/Cmdr/_impl/LICENSE +0 -21
  1883. package/templates/game/libs/Cmdr/_impl/init.luau +0 -178
  1884. package/templates/game/libs/Cmdr/init.luau +0 -8
  1885. package/templates/game/libs/DataService/Client.luau +0 -209
  1886. package/templates/game/libs/DataService/Data.luau +0 -886
  1887. package/templates/game/libs/DataService/Enum.luau +0 -6
  1888. package/templates/game/libs/DataService/Enums.luau +0 -10
  1889. package/templates/game/libs/DataService/Packages/quicknet/DataTypes.luau +0 -70
  1890. package/templates/game/libs/DataService/Packages/quicknet/Enums.luau +0 -85
  1891. package/templates/game/libs/DataService/Packages/quicknet/EnumsToNativeTypes.luau +0 -57
  1892. package/templates/game/libs/DataService/Packages/quicknet/Parser.luau +0 -355
  1893. package/templates/game/libs/DataService/Packages/quicknet/QuickNet.luau +0 -953
  1894. package/templates/game/libs/DataService/Packages/quicknet/Serialize.luau +0 -2020
  1895. package/templates/game/libs/DataService/Packages/quicknet/Types.luau +0 -72
  1896. package/templates/game/libs/DataService/Packages/quicknet/init.luau +0 -1
  1897. package/templates/game/libs/DataService/Packages/signal/init.luau +0 -433
  1898. package/templates/game/libs/DataService/Path.luau +0 -236
  1899. package/templates/game/libs/DataService/ProfileStore.luau +0 -2243
  1900. package/templates/game/libs/DataService/Replicator.luau +0 -172
  1901. package/templates/game/libs/DataService/Server.luau +0 -412
  1902. package/templates/game/libs/DataService/init.luau +0 -204
  1903. package/templates/game/libs/Display/LICENSE +0 -201
  1904. package/templates/game/libs/Display/_impl/LICENSE +0 -201
  1905. package/templates/game/libs/Display/_impl/init.luau +0 -269
  1906. package/templates/game/libs/Display/_impl/option.luau +0 -237
  1907. package/templates/game/libs/Display/init.luau +0 -10
  1908. package/templates/game/libs/Display/option.luau +0 -237
  1909. package/templates/game/libs/EzVisualz/Dropshadow.luau +0 -148
  1910. package/templates/game/libs/EzVisualz/Gradient.luau +0 -452
  1911. package/templates/game/libs/EzVisualz/GradientTemplates/Bubblegum.luau +0 -16
  1912. package/templates/game/libs/EzVisualz/GradientTemplates/Chrome.luau +0 -16
  1913. package/templates/game/libs/EzVisualz/GradientTemplates/Death.luau +0 -15
  1914. package/templates/game/libs/EzVisualz/GradientTemplates/Electric.luau +0 -14
  1915. package/templates/game/libs/EzVisualz/GradientTemplates/Fire.luau +0 -13
  1916. package/templates/game/libs/EzVisualz/GradientTemplates/Galaxy.luau +0 -11
  1917. package/templates/game/libs/EzVisualz/GradientTemplates/Ghost.luau +0 -16
  1918. package/templates/game/libs/EzVisualz/GradientTemplates/Gold.luau +0 -14
  1919. package/templates/game/libs/EzVisualz/GradientTemplates/Green.luau +0 -14
  1920. package/templates/game/libs/EzVisualz/GradientTemplates/Ice.luau +0 -14
  1921. package/templates/game/libs/EzVisualz/GradientTemplates/Lava.luau +0 -15
  1922. package/templates/game/libs/EzVisualz/GradientTemplates/Matrix.luau +0 -19
  1923. package/templates/game/libs/EzVisualz/GradientTemplates/Neon.luau +0 -12
  1924. package/templates/game/libs/EzVisualz/GradientTemplates/Oceanic.luau +0 -15
  1925. package/templates/game/libs/EzVisualz/GradientTemplates/Rainbow.luau +0 -13
  1926. package/templates/game/libs/EzVisualz/GradientTemplates/Silver.luau +0 -12
  1927. package/templates/game/libs/EzVisualz/GradientTemplates/Sunset.luau +0 -11
  1928. package/templates/game/libs/EzVisualz/GradientTemplates/Zebra.luau +0 -18
  1929. package/templates/game/libs/EzVisualz/GradientTemplates/init.luau +0 -9
  1930. package/templates/game/libs/EzVisualz/LICENSE.md +0 -21
  1931. package/templates/game/libs/EzVisualz/Presets/Bubblegum.luau +0 -36
  1932. package/templates/game/libs/EzVisualz/Presets/ChromeStroke.luau +0 -15
  1933. package/templates/game/libs/EzVisualz/Presets/DeathStroke.luau +0 -15
  1934. package/templates/game/libs/EzVisualz/Presets/ElectricStroke.luau +0 -54
  1935. package/templates/game/libs/EzVisualz/Presets/FireStroke.luau +0 -29
  1936. package/templates/game/libs/EzVisualz/Presets/GalaxyStroke.luau +0 -31
  1937. package/templates/game/libs/EzVisualz/Presets/Ghost.luau +0 -10
  1938. package/templates/game/libs/EzVisualz/Presets/GhostStroke.luau +0 -15
  1939. package/templates/game/libs/EzVisualz/Presets/Gold.luau +0 -10
  1940. package/templates/game/libs/EzVisualz/Presets/GoldStroke.luau +0 -15
  1941. package/templates/game/libs/EzVisualz/Presets/GreenOutline.luau +0 -23
  1942. package/templates/game/libs/EzVisualz/Presets/IceStroke.luau +0 -15
  1943. package/templates/game/libs/EzVisualz/Presets/Lava.luau +0 -9
  1944. package/templates/game/libs/EzVisualz/Presets/LavaStroke.luau +0 -13
  1945. package/templates/game/libs/EzVisualz/Presets/Matrix.luau +0 -21
  1946. package/templates/game/libs/EzVisualz/Presets/NeonStroke.luau +0 -30
  1947. package/templates/game/libs/EzVisualz/Presets/OceanicStroke.luau +0 -15
  1948. package/templates/game/libs/EzVisualz/Presets/Rainbow.luau +0 -9
  1949. package/templates/game/libs/EzVisualz/Presets/RainbowOutline.luau +0 -23
  1950. package/templates/game/libs/EzVisualz/Presets/RainbowStroke.luau +0 -13
  1951. package/templates/game/libs/EzVisualz/Presets/Shine.luau +0 -48
  1952. package/templates/game/libs/EzVisualz/Presets/ShineOutline.luau +0 -66
  1953. package/templates/game/libs/EzVisualz/Presets/Silver.luau +0 -10
  1954. package/templates/game/libs/EzVisualz/Presets/SilverStroke.luau +0 -15
  1955. package/templates/game/libs/EzVisualz/Presets/SunsetStroke.luau +0 -31
  1956. package/templates/game/libs/EzVisualz/Presets/WaveStroke.luau +0 -33
  1957. package/templates/game/libs/EzVisualz/Presets/Zebra.luau +0 -21
  1958. package/templates/game/libs/EzVisualz/Presets/init.luau +0 -9
  1959. package/templates/game/libs/EzVisualz/Stroke.luau +0 -167
  1960. package/templates/game/libs/EzVisualz/Util.luau +0 -7
  1961. package/templates/game/libs/EzVisualz/_impl/Dropshadow.luau +0 -148
  1962. package/templates/game/libs/EzVisualz/_impl/Gradient.luau +0 -452
  1963. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Bubblegum.luau +0 -16
  1964. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Chrome.luau +0 -16
  1965. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Death.luau +0 -15
  1966. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Electric.luau +0 -14
  1967. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Fire.luau +0 -13
  1968. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Galaxy.luau +0 -11
  1969. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Ghost.luau +0 -16
  1970. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Gold.luau +0 -14
  1971. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Green.luau +0 -14
  1972. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Ice.luau +0 -14
  1973. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Lava.luau +0 -15
  1974. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Matrix.luau +0 -19
  1975. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Neon.luau +0 -12
  1976. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Oceanic.luau +0 -15
  1977. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Rainbow.luau +0 -13
  1978. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Silver.luau +0 -12
  1979. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Sunset.luau +0 -11
  1980. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Zebra.luau +0 -18
  1981. package/templates/game/libs/EzVisualz/_impl/GradientTemplates/init.luau +0 -9
  1982. package/templates/game/libs/EzVisualz/_impl/LICENSE.md +0 -21
  1983. package/templates/game/libs/EzVisualz/_impl/Presets/Bubblegum.luau +0 -36
  1984. package/templates/game/libs/EzVisualz/_impl/Presets/ChromeStroke.luau +0 -15
  1985. package/templates/game/libs/EzVisualz/_impl/Presets/DeathStroke.luau +0 -15
  1986. package/templates/game/libs/EzVisualz/_impl/Presets/ElectricStroke.luau +0 -54
  1987. package/templates/game/libs/EzVisualz/_impl/Presets/FireStroke.luau +0 -29
  1988. package/templates/game/libs/EzVisualz/_impl/Presets/GalaxyStroke.luau +0 -31
  1989. package/templates/game/libs/EzVisualz/_impl/Presets/Ghost.luau +0 -10
  1990. package/templates/game/libs/EzVisualz/_impl/Presets/GhostStroke.luau +0 -15
  1991. package/templates/game/libs/EzVisualz/_impl/Presets/Gold.luau +0 -10
  1992. package/templates/game/libs/EzVisualz/_impl/Presets/GoldStroke.luau +0 -15
  1993. package/templates/game/libs/EzVisualz/_impl/Presets/GreenOutline.luau +0 -23
  1994. package/templates/game/libs/EzVisualz/_impl/Presets/IceStroke.luau +0 -15
  1995. package/templates/game/libs/EzVisualz/_impl/Presets/Lava.luau +0 -9
  1996. package/templates/game/libs/EzVisualz/_impl/Presets/LavaStroke.luau +0 -13
  1997. package/templates/game/libs/EzVisualz/_impl/Presets/Matrix.luau +0 -21
  1998. package/templates/game/libs/EzVisualz/_impl/Presets/NeonStroke.luau +0 -30
  1999. package/templates/game/libs/EzVisualz/_impl/Presets/OceanicStroke.luau +0 -15
  2000. package/templates/game/libs/EzVisualz/_impl/Presets/Rainbow.luau +0 -9
  2001. package/templates/game/libs/EzVisualz/_impl/Presets/RainbowOutline.luau +0 -23
  2002. package/templates/game/libs/EzVisualz/_impl/Presets/RainbowStroke.luau +0 -13
  2003. package/templates/game/libs/EzVisualz/_impl/Presets/Shine.luau +0 -48
  2004. package/templates/game/libs/EzVisualz/_impl/Presets/ShineOutline.luau +0 -66
  2005. package/templates/game/libs/EzVisualz/_impl/Presets/Silver.luau +0 -10
  2006. package/templates/game/libs/EzVisualz/_impl/Presets/SilverStroke.luau +0 -15
  2007. package/templates/game/libs/EzVisualz/_impl/Presets/SunsetStroke.luau +0 -31
  2008. package/templates/game/libs/EzVisualz/_impl/Presets/WaveStroke.luau +0 -33
  2009. package/templates/game/libs/EzVisualz/_impl/Presets/Zebra.luau +0 -21
  2010. package/templates/game/libs/EzVisualz/_impl/Presets/init.luau +0 -9
  2011. package/templates/game/libs/EzVisualz/_impl/Stroke.luau +0 -167
  2012. package/templates/game/libs/EzVisualz/_impl/Util.luau +0 -7
  2013. package/templates/game/libs/EzVisualz/_impl/init.luau +0 -319
  2014. package/templates/game/libs/EzVisualz/_impl/wally.lock +0 -8
  2015. package/templates/game/libs/EzVisualz/_impl/wally.toml +0 -8
  2016. package/templates/game/libs/EzVisualz/init.luau +0 -9
  2017. package/templates/game/libs/EzVisualz/wally.lock +0 -8
  2018. package/templates/game/libs/EzVisualz/wally.toml +0 -8
  2019. package/templates/game/libs/FormatNumber/LICENSE.md +0 -25
  2020. package/templates/game/libs/FormatNumber/Main/DecimalFormatSymbols.lua +0 -43
  2021. package/templates/game/libs/FormatNumber/Main/IntegerWidth.lua +0 -41
  2022. package/templates/game/libs/FormatNumber/Main/Notation.lua +0 -116
  2023. package/templates/game/libs/FormatNumber/Main/Precision.lua +0 -179
  2024. package/templates/game/libs/FormatNumber/Main/init.lua +0 -199
  2025. package/templates/game/libs/FormatNumber/Simple/init.lua +0 -76
  2026. package/templates/game/libs/FormatNumber/Version.lua +0 -82
  2027. package/templates/game/libs/FormatNumber/_impl/LICENSE.md +0 -25
  2028. package/templates/game/libs/FormatNumber/_impl/Main/DecimalFormatSymbols.lua +0 -43
  2029. package/templates/game/libs/FormatNumber/_impl/Main/IntegerWidth.lua +0 -41
  2030. package/templates/game/libs/FormatNumber/_impl/Main/Notation.lua +0 -116
  2031. package/templates/game/libs/FormatNumber/_impl/Main/Precision.lua +0 -179
  2032. package/templates/game/libs/FormatNumber/_impl/Main/init.lua +0 -199
  2033. package/templates/game/libs/FormatNumber/_impl/Simple/init.lua +0 -76
  2034. package/templates/game/libs/FormatNumber/_impl/Version.lua +0 -82
  2035. package/templates/game/libs/FormatNumber/_impl/_internal/class.lua +0 -204
  2036. package/templates/game/libs/FormatNumber/_impl/_internal/decimal_conversion.lua +0 -30
  2037. package/templates/game/libs/FormatNumber/_impl/_internal/enums.lua +0 -55
  2038. package/templates/game/libs/FormatNumber/_impl/_internal/format.lua +0 -342
  2039. package/templates/game/libs/FormatNumber/_impl/_internal/formatter_settings.lua +0 -160
  2040. package/templates/game/libs/FormatNumber/_impl/_internal/init.lua +0 -8
  2041. package/templates/game/libs/FormatNumber/_impl/_internal/skeleton.lua +0 -541
  2042. package/templates/game/libs/FormatNumber/_impl/init.lua +0 -20
  2043. package/templates/game/libs/FormatNumber/_internal/class.lua +0 -204
  2044. package/templates/game/libs/FormatNumber/_internal/decimal_conversion.lua +0 -30
  2045. package/templates/game/libs/FormatNumber/_internal/enums.lua +0 -55
  2046. package/templates/game/libs/FormatNumber/_internal/format.lua +0 -342
  2047. package/templates/game/libs/FormatNumber/_internal/formatter_settings.lua +0 -160
  2048. package/templates/game/libs/FormatNumber/_internal/init.lua +0 -8
  2049. package/templates/game/libs/FormatNumber/_internal/skeleton.lua +0 -541
  2050. package/templates/game/libs/FormatNumber/init.lua +0 -20
  2051. package/templates/game/libs/FormatNumber/init.luau +0 -20
  2052. package/templates/game/libs/Fusion/Animation/ExternalTime.luau +0 -84
  2053. package/templates/game/libs/Fusion/Animation/Spring.luau +0 -313
  2054. package/templates/game/libs/Fusion/Animation/Stopwatch.luau +0 -128
  2055. package/templates/game/libs/Fusion/Animation/Tween.luau +0 -178
  2056. package/templates/game/libs/Fusion/Animation/getTweenDuration.luau +0 -27
  2057. package/templates/game/libs/Fusion/Animation/getTweenRatio.luau +0 -47
  2058. package/templates/game/libs/Fusion/Animation/lerpType.luau +0 -164
  2059. package/templates/game/libs/Fusion/Animation/packType.luau +0 -100
  2060. package/templates/game/libs/Fusion/Animation/springCoefficients.luau +0 -80
  2061. package/templates/game/libs/Fusion/Animation/unpackType.luau +0 -103
  2062. package/templates/game/libs/Fusion/Colour/Oklab.luau +0 -70
  2063. package/templates/game/libs/Fusion/Colour/sRGB.luau +0 -47
  2064. package/templates/game/libs/Fusion/External.luau +0 -156
  2065. package/templates/game/libs/Fusion/ExternalDebug.luau +0 -70
  2066. package/templates/game/libs/Fusion/Graph/Observer.luau +0 -111
  2067. package/templates/game/libs/Fusion/Graph/castToGraph.luau +0 -29
  2068. package/templates/game/libs/Fusion/Graph/change.luau +0 -81
  2069. package/templates/game/libs/Fusion/Graph/depend.luau +0 -33
  2070. package/templates/game/libs/Fusion/Graph/evaluate.luau +0 -56
  2071. package/templates/game/libs/Fusion/Instances/Attribute.luau +0 -58
  2072. package/templates/game/libs/Fusion/Instances/AttributeChange.luau +0 -47
  2073. package/templates/game/libs/Fusion/Instances/AttributeOut.luau +0 -63
  2074. package/templates/game/libs/Fusion/Instances/Child.luau +0 -21
  2075. package/templates/game/libs/Fusion/Instances/Children.luau +0 -148
  2076. package/templates/game/libs/Fusion/Instances/Hydrate.luau +0 -29
  2077. package/templates/game/libs/Fusion/Instances/New.luau +0 -48
  2078. package/templates/game/libs/Fusion/Instances/OnChange.luau +0 -50
  2079. package/templates/game/libs/Fusion/Instances/OnEvent.luau +0 -54
  2080. package/templates/game/libs/Fusion/Instances/Out.luau +0 -69
  2081. package/templates/game/libs/Fusion/Instances/Tag.luau +0 -61
  2082. package/templates/game/libs/Fusion/Instances/applyInstanceProps.luau +0 -149
  2083. package/templates/game/libs/Fusion/Instances/defaultProps.luau +0 -194
  2084. package/templates/game/libs/Fusion/LICENSE +0 -21
  2085. package/templates/game/libs/Fusion/Logging/formatError.luau +0 -49
  2086. package/templates/game/libs/Fusion/Logging/messages.luau +0 -46
  2087. package/templates/game/libs/Fusion/Logging/parseError.luau +0 -25
  2088. package/templates/game/libs/Fusion/Memory/checkLifetime.luau +0 -134
  2089. package/templates/game/libs/Fusion/Memory/deriveScope.luau +0 -24
  2090. package/templates/game/libs/Fusion/Memory/deriveScopeImpl.luau +0 -40
  2091. package/templates/game/libs/Fusion/Memory/doCleanup.luau +0 -91
  2092. package/templates/game/libs/Fusion/Memory/innerScope.luau +0 -34
  2093. package/templates/game/libs/Fusion/Memory/insert.luau +0 -22
  2094. package/templates/game/libs/Fusion/Memory/needsDestruction.luau +0 -17
  2095. package/templates/game/libs/Fusion/Memory/scoped.luau +0 -24
  2096. package/templates/game/libs/Fusion/RobloxExternal.luau +0 -98
  2097. package/templates/game/libs/Fusion/State/Computed.luau +0 -122
  2098. package/templates/game/libs/Fusion/State/For/Disassembly.luau +0 -207
  2099. package/templates/game/libs/Fusion/State/For/ForTypes.luau +0 -30
  2100. package/templates/game/libs/Fusion/State/For/init.luau +0 -101
  2101. package/templates/game/libs/Fusion/State/ForKeys.luau +0 -88
  2102. package/templates/game/libs/Fusion/State/ForPairs.luau +0 -91
  2103. package/templates/game/libs/Fusion/State/ForValues.luau +0 -88
  2104. package/templates/game/libs/Fusion/State/Value.luau +0 -76
  2105. package/templates/game/libs/Fusion/State/castToState.luau +0 -26
  2106. package/templates/game/libs/Fusion/State/peek.luau +0 -31
  2107. package/templates/game/libs/Fusion/State/updateAll.luau +0 -1
  2108. package/templates/game/libs/Fusion/Types.luau +0 -318
  2109. package/templates/game/libs/Fusion/Utility/Contextual.luau +0 -91
  2110. package/templates/game/libs/Fusion/Utility/Safe.luau +0 -23
  2111. package/templates/game/libs/Fusion/Utility/isSimilar.luau +0 -29
  2112. package/templates/game/libs/Fusion/Utility/merge.luau +0 -35
  2113. package/templates/game/libs/Fusion/Utility/nameOf.luau +0 -35
  2114. package/templates/game/libs/Fusion/Utility/never.luau +0 -14
  2115. package/templates/game/libs/Fusion/Utility/nicknames.luau +0 -11
  2116. package/templates/game/libs/Fusion/Utility/xtypeof.luau +0 -27
  2117. package/templates/game/libs/Fusion/_impl/Animation/ExternalTime.luau +0 -84
  2118. package/templates/game/libs/Fusion/_impl/Animation/Spring.luau +0 -313
  2119. package/templates/game/libs/Fusion/_impl/Animation/Stopwatch.luau +0 -128
  2120. package/templates/game/libs/Fusion/_impl/Animation/Tween.luau +0 -178
  2121. package/templates/game/libs/Fusion/_impl/Animation/getTweenDuration.luau +0 -27
  2122. package/templates/game/libs/Fusion/_impl/Animation/getTweenRatio.luau +0 -47
  2123. package/templates/game/libs/Fusion/_impl/Animation/lerpType.luau +0 -164
  2124. package/templates/game/libs/Fusion/_impl/Animation/packType.luau +0 -100
  2125. package/templates/game/libs/Fusion/_impl/Animation/springCoefficients.luau +0 -80
  2126. package/templates/game/libs/Fusion/_impl/Animation/unpackType.luau +0 -103
  2127. package/templates/game/libs/Fusion/_impl/Colour/Oklab.luau +0 -70
  2128. package/templates/game/libs/Fusion/_impl/Colour/sRGB.luau +0 -47
  2129. package/templates/game/libs/Fusion/_impl/External.luau +0 -156
  2130. package/templates/game/libs/Fusion/_impl/ExternalDebug.luau +0 -70
  2131. package/templates/game/libs/Fusion/_impl/Graph/Observer.luau +0 -111
  2132. package/templates/game/libs/Fusion/_impl/Graph/castToGraph.luau +0 -29
  2133. package/templates/game/libs/Fusion/_impl/Graph/change.luau +0 -81
  2134. package/templates/game/libs/Fusion/_impl/Graph/depend.luau +0 -33
  2135. package/templates/game/libs/Fusion/_impl/Graph/evaluate.luau +0 -56
  2136. package/templates/game/libs/Fusion/_impl/Instances/Attribute.luau +0 -58
  2137. package/templates/game/libs/Fusion/_impl/Instances/AttributeChange.luau +0 -47
  2138. package/templates/game/libs/Fusion/_impl/Instances/AttributeOut.luau +0 -63
  2139. package/templates/game/libs/Fusion/_impl/Instances/Child.luau +0 -21
  2140. package/templates/game/libs/Fusion/_impl/Instances/Children.luau +0 -148
  2141. package/templates/game/libs/Fusion/_impl/Instances/Hydrate.luau +0 -29
  2142. package/templates/game/libs/Fusion/_impl/Instances/New.luau +0 -48
  2143. package/templates/game/libs/Fusion/_impl/Instances/OnChange.luau +0 -50
  2144. package/templates/game/libs/Fusion/_impl/Instances/OnEvent.luau +0 -54
  2145. package/templates/game/libs/Fusion/_impl/Instances/Out.luau +0 -69
  2146. package/templates/game/libs/Fusion/_impl/Instances/Tag.luau +0 -61
  2147. package/templates/game/libs/Fusion/_impl/Instances/applyInstanceProps.luau +0 -149
  2148. package/templates/game/libs/Fusion/_impl/Instances/defaultProps.luau +0 -194
  2149. package/templates/game/libs/Fusion/_impl/LICENSE +0 -21
  2150. package/templates/game/libs/Fusion/_impl/Logging/formatError.luau +0 -49
  2151. package/templates/game/libs/Fusion/_impl/Logging/messages.luau +0 -46
  2152. package/templates/game/libs/Fusion/_impl/Logging/parseError.luau +0 -25
  2153. package/templates/game/libs/Fusion/_impl/Memory/checkLifetime.luau +0 -134
  2154. package/templates/game/libs/Fusion/_impl/Memory/deriveScope.luau +0 -24
  2155. package/templates/game/libs/Fusion/_impl/Memory/deriveScopeImpl.luau +0 -40
  2156. package/templates/game/libs/Fusion/_impl/Memory/doCleanup.luau +0 -91
  2157. package/templates/game/libs/Fusion/_impl/Memory/innerScope.luau +0 -34
  2158. package/templates/game/libs/Fusion/_impl/Memory/insert.luau +0 -22
  2159. package/templates/game/libs/Fusion/_impl/Memory/needsDestruction.luau +0 -17
  2160. package/templates/game/libs/Fusion/_impl/Memory/scoped.luau +0 -24
  2161. package/templates/game/libs/Fusion/_impl/RobloxExternal.luau +0 -98
  2162. package/templates/game/libs/Fusion/_impl/State/Computed.luau +0 -122
  2163. package/templates/game/libs/Fusion/_impl/State/For/Disassembly.luau +0 -207
  2164. package/templates/game/libs/Fusion/_impl/State/For/ForTypes.luau +0 -30
  2165. package/templates/game/libs/Fusion/_impl/State/For/init.luau +0 -101
  2166. package/templates/game/libs/Fusion/_impl/State/ForKeys.luau +0 -88
  2167. package/templates/game/libs/Fusion/_impl/State/ForPairs.luau +0 -91
  2168. package/templates/game/libs/Fusion/_impl/State/ForValues.luau +0 -88
  2169. package/templates/game/libs/Fusion/_impl/State/Value.luau +0 -76
  2170. package/templates/game/libs/Fusion/_impl/State/castToState.luau +0 -26
  2171. package/templates/game/libs/Fusion/_impl/State/peek.luau +0 -31
  2172. package/templates/game/libs/Fusion/_impl/State/updateAll.luau +0 -1
  2173. package/templates/game/libs/Fusion/_impl/Types.luau +0 -318
  2174. package/templates/game/libs/Fusion/_impl/Utility/Contextual.luau +0 -91
  2175. package/templates/game/libs/Fusion/_impl/Utility/Safe.luau +0 -23
  2176. package/templates/game/libs/Fusion/_impl/Utility/isSimilar.luau +0 -29
  2177. package/templates/game/libs/Fusion/_impl/Utility/merge.luau +0 -35
  2178. package/templates/game/libs/Fusion/_impl/Utility/nameOf.luau +0 -35
  2179. package/templates/game/libs/Fusion/_impl/Utility/never.luau +0 -14
  2180. package/templates/game/libs/Fusion/_impl/Utility/nicknames.luau +0 -11
  2181. package/templates/game/libs/Fusion/_impl/Utility/xtypeof.luau +0 -27
  2182. package/templates/game/libs/Fusion/_impl/init.luau +0 -83
  2183. package/templates/game/libs/Fusion/init.luau +0 -27
  2184. package/templates/game/libs/Iris/API.lua +0 -2085
  2185. package/templates/game/libs/Iris/Internal.lua +0 -895
  2186. package/templates/game/libs/Iris/LICENSE.txt +0 -21
  2187. package/templates/game/libs/Iris/PubTypes.lua +0 -43
  2188. package/templates/game/libs/Iris/Types.lua +0 -660
  2189. package/templates/game/libs/Iris/WidgetTypes.lua +0 -521
  2190. package/templates/game/libs/Iris/_impl/API.lua +0 -2085
  2191. package/templates/game/libs/Iris/_impl/Internal.lua +0 -895
  2192. package/templates/game/libs/Iris/_impl/LICENSE.txt +0 -21
  2193. package/templates/game/libs/Iris/_impl/PubTypes.lua +0 -43
  2194. package/templates/game/libs/Iris/_impl/Types.lua +0 -660
  2195. package/templates/game/libs/Iris/_impl/WidgetTypes.lua +0 -521
  2196. package/templates/game/libs/Iris/_impl/config.lua +0 -305
  2197. package/templates/game/libs/Iris/_impl/init.lua +0 -696
  2198. package/templates/game/libs/Iris/_impl/widgets/Button.lua +0 -90
  2199. package/templates/game/libs/Iris/_impl/widgets/Checkbox.lua +0 -115
  2200. package/templates/game/libs/Iris/_impl/widgets/Combo.lua +0 -492
  2201. package/templates/game/libs/Iris/_impl/widgets/Format.lua +0 -140
  2202. package/templates/game/libs/Iris/_impl/widgets/Image.lua +0 -155
  2203. package/templates/game/libs/Iris/_impl/widgets/Input.lua +0 -1232
  2204. package/templates/game/libs/Iris/_impl/widgets/Menu.lua +0 -599
  2205. package/templates/game/libs/Iris/_impl/widgets/Plot.lua +0 -639
  2206. package/templates/game/libs/Iris/_impl/widgets/RadioButton.lua +0 -126
  2207. package/templates/game/libs/Iris/_impl/widgets/Root.lua +0 -143
  2208. package/templates/game/libs/Iris/_impl/widgets/Tab.lua +0 -333
  2209. package/templates/game/libs/Iris/_impl/widgets/Table.lua +0 -635
  2210. package/templates/game/libs/Iris/_impl/widgets/Text.lua +0 -132
  2211. package/templates/game/libs/Iris/_impl/widgets/Tree.lua +0 -287
  2212. package/templates/game/libs/Iris/_impl/widgets/Window.lua +0 -1075
  2213. package/templates/game/libs/Iris/_impl/widgets/init.lua +0 -447
  2214. package/templates/game/libs/Iris/config.lua +0 -305
  2215. package/templates/game/libs/Iris/init.lua +0 -696
  2216. package/templates/game/libs/Iris/init.luau +0 -12
  2217. package/templates/game/libs/Iris/widgets/Button.lua +0 -90
  2218. package/templates/game/libs/Iris/widgets/Checkbox.lua +0 -115
  2219. package/templates/game/libs/Iris/widgets/Combo.lua +0 -492
  2220. package/templates/game/libs/Iris/widgets/Format.lua +0 -140
  2221. package/templates/game/libs/Iris/widgets/Image.lua +0 -155
  2222. package/templates/game/libs/Iris/widgets/Input.lua +0 -1232
  2223. package/templates/game/libs/Iris/widgets/Menu.lua +0 -599
  2224. package/templates/game/libs/Iris/widgets/Plot.lua +0 -639
  2225. package/templates/game/libs/Iris/widgets/RadioButton.lua +0 -126
  2226. package/templates/game/libs/Iris/widgets/Root.lua +0 -143
  2227. package/templates/game/libs/Iris/widgets/Tab.lua +0 -333
  2228. package/templates/game/libs/Iris/widgets/Table.lua +0 -635
  2229. package/templates/game/libs/Iris/widgets/Text.lua +0 -132
  2230. package/templates/game/libs/Iris/widgets/Tree.lua +0 -287
  2231. package/templates/game/libs/Iris/widgets/Window.lua +0 -1075
  2232. package/templates/game/libs/Iris/widgets/init.lua +0 -447
  2233. package/templates/game/libs/Janitor/FastDefer.luau +0 -33
  2234. package/templates/game/libs/Janitor/LICENSE +0 -21
  2235. package/templates/game/libs/Janitor/_impl/FastDefer.luau +0 -33
  2236. package/templates/game/libs/Janitor/_impl/LICENSE +0 -21
  2237. package/templates/game/libs/Janitor/_impl/init.luau +0 -999
  2238. package/templates/game/libs/Janitor/init.luau +0 -15
  2239. package/templates/game/libs/MathUtils/init.luau +0 -100
  2240. package/templates/game/libs/Module3D/LICENSE +0 -21
  2241. package/templates/game/libs/Module3D/_impl/LICENSE +0 -21
  2242. package/templates/game/libs/Module3D/_impl/init.luau +0 -269
  2243. package/templates/game/libs/Module3D/init.luau +0 -14
  2244. package/templates/game/libs/Net/init.luau +0 -125
  2245. package/templates/game/libs/Net/src/codec.luau +0 -153
  2246. package/templates/game/libs/Occlude/init.luau +0 -54
  2247. package/templates/game/libs/Promise/LICENSE +0 -21
  2248. package/templates/game/libs/Promise/_impl/LICENSE +0 -21
  2249. package/templates/game/libs/Promise/_impl/init.lua +0 -1991
  2250. package/templates/game/libs/Promise/init.lua +0 -1990
  2251. package/templates/game/libs/Promise/init.luau +0 -13
  2252. package/templates/game/libs/Promise/types.luau +0 -46
  2253. package/templates/game/libs/SOURCES.md +0 -22
  2254. package/templates/game/libs/Spring/LICENSE +0 -201
  2255. package/templates/game/libs/Spring/_impl/LICENSE +0 -201
  2256. package/templates/game/libs/Spring/_impl/init.luau +0 -111
  2257. package/templates/game/libs/Spring/init.luau +0 -24
  2258. package/templates/game/libs/StateMachine/Classes/State.lua +0 -375
  2259. package/templates/game/libs/StateMachine/Classes/Transition.lua +0 -336
  2260. package/templates/game/libs/StateMachine/Functions/deepCopy.lua +0 -19
  2261. package/templates/game/libs/StateMachine/Functions/mergeTables.lua +0 -22
  2262. package/templates/game/libs/StateMachine/LICENSE +0 -19
  2263. package/templates/game/libs/StateMachine/Vendor/Signal.lua +0 -386
  2264. package/templates/game/libs/StateMachine/Vendor/Trove.lua +0 -188
  2265. package/templates/game/libs/StateMachine/_impl/Classes/State.lua +0 -375
  2266. package/templates/game/libs/StateMachine/_impl/Classes/Transition.lua +0 -336
  2267. package/templates/game/libs/StateMachine/_impl/Functions/deepCopy.lua +0 -19
  2268. package/templates/game/libs/StateMachine/_impl/Functions/mergeTables.lua +0 -22
  2269. package/templates/game/libs/StateMachine/_impl/LICENSE +0 -19
  2270. package/templates/game/libs/StateMachine/_impl/Vendor/Signal.lua +0 -386
  2271. package/templates/game/libs/StateMachine/_impl/Vendor/Trove.lua +0 -188
  2272. package/templates/game/libs/StateMachine/_impl/init.lua +0 -595
  2273. package/templates/game/libs/StateMachine/init.lua +0 -595
  2274. package/templates/game/libs/StateMachine/init.luau +0 -10
  2275. package/templates/game/libs/StickyBillboard/init.luau +0 -167
  2276. package/templates/game/libs/TopbarPlus/Attribute.lua +0 -35
  2277. package/templates/game/libs/TopbarPlus/Elements/Caption.lua +0 -316
  2278. package/templates/game/libs/TopbarPlus/Elements/Container.lua +0 -215
  2279. package/templates/game/libs/TopbarPlus/Elements/Dropdown.lua +0 -315
  2280. package/templates/game/libs/TopbarPlus/Elements/Indicator.lua +0 -91
  2281. package/templates/game/libs/TopbarPlus/Elements/Menu.lua +0 -180
  2282. package/templates/game/libs/TopbarPlus/Elements/Notice.lua +0 -113
  2283. package/templates/game/libs/TopbarPlus/Elements/Selection.lua +0 -49
  2284. package/templates/game/libs/TopbarPlus/Elements/Widget.lua +0 -437
  2285. package/templates/game/libs/TopbarPlus/Features/Gamepad.lua +0 -201
  2286. package/templates/game/libs/TopbarPlus/Features/Overflow.lua +0 -360
  2287. package/templates/game/libs/TopbarPlus/Features/Themes/Classic.lua +0 -27
  2288. package/templates/game/libs/TopbarPlus/Features/Themes/Default.lua +0 -75
  2289. package/templates/game/libs/TopbarPlus/Features/Themes/init.lua +0 -353
  2290. package/templates/game/libs/TopbarPlus/LICENSE +0 -381
  2291. package/templates/game/libs/TopbarPlus/Packages/GoodSignal.lua +0 -182
  2292. package/templates/game/libs/TopbarPlus/Packages/Janitor.lua +0 -322
  2293. package/templates/game/libs/TopbarPlus/Reference.lua +0 -30
  2294. package/templates/game/libs/TopbarPlus/Types.lua +0 -477
  2295. package/templates/game/libs/TopbarPlus/Utility.lua +0 -462
  2296. package/templates/game/libs/TopbarPlus/VERSION.lua +0 -51
  2297. package/templates/game/libs/TopbarPlus/_impl/Attribute.lua +0 -35
  2298. package/templates/game/libs/TopbarPlus/_impl/Elements/Caption.lua +0 -316
  2299. package/templates/game/libs/TopbarPlus/_impl/Elements/Container.lua +0 -215
  2300. package/templates/game/libs/TopbarPlus/_impl/Elements/Dropdown.lua +0 -315
  2301. package/templates/game/libs/TopbarPlus/_impl/Elements/Indicator.lua +0 -91
  2302. package/templates/game/libs/TopbarPlus/_impl/Elements/Menu.lua +0 -180
  2303. package/templates/game/libs/TopbarPlus/_impl/Elements/Notice.lua +0 -113
  2304. package/templates/game/libs/TopbarPlus/_impl/Elements/Selection.lua +0 -49
  2305. package/templates/game/libs/TopbarPlus/_impl/Elements/Widget.lua +0 -437
  2306. package/templates/game/libs/TopbarPlus/_impl/Features/Gamepad.lua +0 -201
  2307. package/templates/game/libs/TopbarPlus/_impl/Features/Overflow.lua +0 -360
  2308. package/templates/game/libs/TopbarPlus/_impl/Features/Themes/Classic.lua +0 -27
  2309. package/templates/game/libs/TopbarPlus/_impl/Features/Themes/Default.lua +0 -75
  2310. package/templates/game/libs/TopbarPlus/_impl/Features/Themes/init.lua +0 -353
  2311. package/templates/game/libs/TopbarPlus/_impl/LICENSE +0 -381
  2312. package/templates/game/libs/TopbarPlus/_impl/Packages/GoodSignal.lua +0 -182
  2313. package/templates/game/libs/TopbarPlus/_impl/Packages/Janitor.lua +0 -322
  2314. package/templates/game/libs/TopbarPlus/_impl/Reference.lua +0 -30
  2315. package/templates/game/libs/TopbarPlus/_impl/Types.lua +0 -477
  2316. package/templates/game/libs/TopbarPlus/_impl/Utility.lua +0 -462
  2317. package/templates/game/libs/TopbarPlus/_impl/VERSION.lua +0 -51
  2318. package/templates/game/libs/TopbarPlus/_impl/init.lua +0 -1249
  2319. package/templates/game/libs/TopbarPlus/init.lua +0 -1249
  2320. package/templates/game/libs/TopbarPlus/init.luau +0 -8
  2321. package/templates/game/libs/Twinkle/init.luau +0 -157
  2322. package/templates/game/libs/VfxUtil/init.luau +0 -164
  2323. package/templates/game/src/client/init.client.clpp +0 -6
  2324. package/templates/game/src/server/leaderstats.server.clpp +0 -29
  2325. package/templates/game/src/shared/config.clp +0 -6
  2326. /package/{examples/game/libs/DataService → runtime/Keep}/Enum.luau +0 -0
  2327. /package/{examples/game/libs/DataService → runtime/Keep}/Enums.luau +0 -0
  2328. /package/{examples/game/libs/DataService → runtime/Keep}/Path.luau +0 -0
@@ -1,1990 +0,0 @@
1
- --[[
2
- An implementation of Promises similar to Promise/A+.
3
- ]]
4
-
5
- local ERROR_NON_PROMISE_IN_LIST = "Non-promise value passed into %s at index %s"
6
- local ERROR_NON_LIST = "Please pass a list of promises to %s"
7
- local ERROR_NON_FUNCTION = "Please pass a handler function to %s!"
8
- local MODE_KEY_METATABLE = { __mode = "k" }
9
-
10
- local function isCallable(value)
11
- if type(value) == "function" then
12
- return true
13
- end
14
-
15
- if type(value) == "table" then
16
- local metatable = getmetatable(value)
17
- if metatable and type(rawget(metatable, "__call")) == "function" then
18
- return true
19
- end
20
- end
21
-
22
- return false
23
- end
24
-
25
- --[[
26
- Creates an enum dictionary with some metamethods to prevent common mistakes.
27
- ]]
28
- local function makeEnum(enumName, members)
29
- local enum = {}
30
-
31
- for _, memberName in ipairs(members) do
32
- enum[memberName] = memberName
33
- end
34
-
35
- return setmetatable(enum, {
36
- __index = function(_, k)
37
- error(string.format("%s is not in %s!", k, enumName), 2)
38
- end,
39
- __newindex = function()
40
- error(string.format("Creating new members in %s is not allowed!", enumName), 2)
41
- end,
42
- })
43
- end
44
-
45
- --[=[
46
- An object to represent runtime errors that occur during execution.
47
- Promises that experience an error like this will be rejected with
48
- an instance of this object.
49
-
50
- @class Error
51
- ]=]
52
- local Error
53
- do
54
- Error = {
55
- Kind = makeEnum("Promise.Error.Kind", {
56
- "ExecutionError",
57
- "AlreadyCancelled",
58
- "NotResolvedInTime",
59
- "TimedOut",
60
- }),
61
- }
62
- Error.__index = Error
63
-
64
- function Error.new(options, parent)
65
- options = options or {}
66
- return setmetatable({
67
- error = tostring(options.error) or "[This error has no error text.]",
68
- trace = options.trace,
69
- context = options.context,
70
- kind = options.kind,
71
- parent = parent,
72
- createdTick = os.clock(),
73
- createdTrace = debug.traceback(),
74
- }, Error)
75
- end
76
-
77
- function Error.is(anything)
78
- if type(anything) == "table" then
79
- local metatable = getmetatable(anything)
80
-
81
- if type(metatable) == "table" then
82
- return rawget(anything, "error") ~= nil and type(rawget(metatable, "extend")) == "function"
83
- end
84
- end
85
-
86
- return false
87
- end
88
-
89
- function Error.isKind(anything, kind)
90
- assert(kind ~= nil, "Argument #2 to Promise.Error.isKind must not be nil")
91
-
92
- return Error.is(anything) and anything.kind == kind
93
- end
94
-
95
- function Error:extend(options)
96
- options = options or {}
97
-
98
- options.kind = options.kind or self.kind
99
-
100
- return Error.new(options, self)
101
- end
102
-
103
- function Error:getErrorChain()
104
- local runtimeErrors = { self }
105
-
106
- while runtimeErrors[#runtimeErrors].parent do
107
- table.insert(runtimeErrors, runtimeErrors[#runtimeErrors].parent)
108
- end
109
-
110
- return runtimeErrors
111
- end
112
-
113
- function Error:__tostring()
114
- local errorStrings = {
115
- string.format("-- Promise.Error(%s) --", self.kind or "?"),
116
- }
117
-
118
- for _, runtimeError in ipairs(self:getErrorChain()) do
119
- table.insert(
120
- errorStrings,
121
- table.concat({
122
- runtimeError.trace or runtimeError.error,
123
- runtimeError.context,
124
- }, "\n")
125
- )
126
- end
127
-
128
- return table.concat(errorStrings, "\n")
129
- end
130
- end
131
-
132
- --[[
133
- Packs a number of arguments into a table and returns its length.
134
-
135
- Used to cajole varargs without dropping sparse values.
136
- ]]
137
- local function pack(...)
138
- return select("#", ...), { ... }
139
- end
140
-
141
- --[[
142
- Returns first value (success), and packs all following values.
143
- ]]
144
- local function packResult(success, ...)
145
- return success, select("#", ...), { ... }
146
- end
147
-
148
- local function makeErrorHandler(traceback)
149
- assert(traceback ~= nil, "traceback is nil")
150
-
151
- return function(err)
152
- -- If the error object is already a table, forward it directly.
153
- -- Should we extend the error here and add our own trace?
154
-
155
- if type(err) == "table" then
156
- return err
157
- end
158
-
159
- return Error.new({
160
- error = err,
161
- kind = Error.Kind.ExecutionError,
162
- trace = debug.traceback(tostring(err), 2),
163
- context = "Promise created at:\n\n" .. traceback,
164
- })
165
- end
166
- end
167
-
168
- --[[
169
- Calls a Promise executor with error handling.
170
- ]]
171
- local function runExecutor(traceback, callback, ...)
172
- return packResult(xpcall(callback, makeErrorHandler(traceback), ...))
173
- end
174
-
175
- --[[
176
- Creates a function that invokes a callback with correct error handling and
177
- resolution mechanisms.
178
- ]]
179
- local function createAdvancer(traceback, callback, resolve, reject)
180
- return function(...)
181
- local ok, resultLength, result = runExecutor(traceback, callback, ...)
182
-
183
- if ok then
184
- resolve(unpack(result, 1, resultLength))
185
- else
186
- reject(result[1])
187
- end
188
- end
189
- end
190
-
191
- local function isEmpty(t)
192
- return next(t) == nil
193
- end
194
-
195
- --[=[
196
- An enum value used to represent the Promise's status.
197
- @interface Status
198
- @tag enum
199
- @within Promise
200
- .Started "Started" -- The Promise is executing, and not settled yet.
201
- .Resolved "Resolved" -- The Promise finished successfully.
202
- .Rejected "Rejected" -- The Promise was rejected.
203
- .Cancelled "Cancelled" -- The Promise was cancelled before it finished.
204
- ]=]
205
- --[=[
206
- @prop Status Status
207
- @within Promise
208
- @readonly
209
- @tag enums
210
- A table containing all members of the `Status` enum, e.g., `Promise.Status.Resolved`.
211
- ]=]
212
- --[=[
213
- A Promise is an object that represents a value that will exist in the future, but doesn't right now.
214
- Promises allow you to then attach callbacks that can run once the value becomes available (known as *resolving*),
215
- or if an error has occurred (known as *rejecting*).
216
-
217
- @class Promise
218
- @__index prototype
219
- ]=]
220
- local Promise = {
221
- Error = Error,
222
- Status = makeEnum("Promise.Status", { "Started", "Resolved", "Rejected", "Cancelled" }),
223
- _getTime = os.clock,
224
- _timeEvent = game:GetService("RunService").Heartbeat,
225
- _unhandledRejectionCallbacks = {},
226
- }
227
- Promise.prototype = {}
228
- Promise.__index = Promise.prototype
229
-
230
- function Promise._new(traceback, callback, parent)
231
- if parent ~= nil and not Promise.is(parent) then
232
- error("Argument #2 to Promise.new must be a promise or nil", 2)
233
- end
234
-
235
- local self = {
236
- -- The executor thread.
237
- _thread = nil,
238
-
239
- -- Used to locate where a promise was created
240
- _source = traceback,
241
-
242
- _status = Promise.Status.Started,
243
-
244
- -- A table containing a list of all results, whether success or failure.
245
- -- Only valid if _status is set to something besides Started
246
- _values = nil,
247
-
248
- -- Lua doesn't like sparse arrays very much, so we explicitly store the
249
- -- length of _values to handle middle nils.
250
- _valuesLength = -1,
251
-
252
- -- Tracks if this Promise has no error observers..
253
- _unhandledRejection = true,
254
-
255
- -- Queues representing functions we should invoke when we update!
256
- _queuedResolve = {},
257
- _queuedReject = {},
258
- _queuedFinally = {},
259
-
260
- -- The function to run when/if this promise is cancelled.
261
- _cancellationHook = nil,
262
-
263
- -- The "parent" of this promise in a promise chain. Required for
264
- -- cancellation propagation upstream.
265
- _parent = parent,
266
-
267
- -- Consumers are Promises that have chained onto this one.
268
- -- We track them for cancellation propagation downstream.
269
- _consumers = setmetatable({}, MODE_KEY_METATABLE),
270
- }
271
-
272
- if parent and parent._status == Promise.Status.Started then
273
- parent._consumers[self] = true
274
- end
275
-
276
- setmetatable(self, Promise)
277
-
278
- local function resolve(...)
279
- self:_resolve(...)
280
- end
281
-
282
- local function reject(...)
283
- self:_reject(...)
284
- end
285
-
286
- local function onCancel(cancellationHook)
287
- if cancellationHook then
288
- if self._status == Promise.Status.Cancelled then
289
- cancellationHook()
290
- else
291
- self._cancellationHook = cancellationHook
292
- end
293
- end
294
-
295
- return self._status == Promise.Status.Cancelled
296
- end
297
-
298
- self._thread = coroutine.create(function()
299
- local ok, _, result = runExecutor(self._source, callback, resolve, reject, onCancel)
300
-
301
- if not ok then
302
- reject(result[1])
303
- end
304
- end)
305
-
306
- task.spawn(self._thread)
307
-
308
- return self
309
- end
310
-
311
- --[=[
312
- Construct a new Promise that will be resolved or rejected with the given callbacks.
313
-
314
- If you `resolve` with a Promise, it will be chained onto.
315
-
316
- You can safely yield within the executor function and it will not block the creating thread.
317
-
318
- ```lua
319
- local myFunction()
320
- return Promise.new(function(resolve, reject, onCancel)
321
- wait(1)
322
- resolve("Hello world!")
323
- end)
324
- end
325
-
326
- myFunction():andThen(print)
327
- ```
328
-
329
- You do not need to use `pcall` within a Promise. Errors that occur during execution will be caught and turned into a rejection automatically. If `error()` is called with a table, that table will be the rejection value. Otherwise, string errors will be converted into `Promise.Error(Promise.Error.Kind.ExecutionError)` objects for tracking debug information.
330
-
331
- You may register an optional cancellation hook by using the `onCancel` argument:
332
-
333
- * This should be used to abort any ongoing operations leading up to the promise being settled.
334
- * Call the `onCancel` function with a function callback as its only argument to set a hook which will in turn be called when/if the promise is cancelled.
335
- * `onCancel` returns `true` if the Promise was already cancelled when you called `onCancel`.
336
- * Calling `onCancel` with no argument will not override a previously set cancellation hook, but it will still return `true` if the Promise is currently cancelled.
337
- * You can set the cancellation hook at any time before resolving.
338
- * When a promise is cancelled, calls to `resolve` or `reject` will be ignored, regardless of if you set a cancellation hook or not.
339
-
340
- :::caution
341
- If the Promise is cancelled, the `executor` thread is closed with `coroutine.close` after the cancellation hook is called.
342
-
343
- You must perform any cleanup code in the cancellation hook: any time your executor yields, it **may never resume**.
344
- :::
345
-
346
- @param executor (resolve: (...: any) -> (), reject: (...: any) -> (), onCancel: (abortHandler?: () -> ()) -> boolean) -> ()
347
- @return Promise
348
- ]=]
349
- function Promise.new(executor)
350
- return Promise._new(debug.traceback(nil, 2), executor)
351
- end
352
-
353
- function Promise:__tostring()
354
- return string.format("Promise(%s)", self._status)
355
- end
356
-
357
- --[=[
358
- The same as [Promise.new](/api/Promise#new), except execution begins after the next `Heartbeat` event.
359
-
360
- This is a spiritual replacement for `spawn`, but it does not suffer from the same [issues](https://eryn.io/gist/3db84579866c099cdd5bb2ff37947cec) as `spawn`.
361
-
362
- ```lua
363
- local function waitForChild(instance, childName, timeout)
364
- return Promise.defer(function(resolve, reject)
365
- local child = instance:WaitForChild(childName, timeout)
366
-
367
- ;(child and resolve or reject)(child)
368
- end)
369
- end
370
- ```
371
-
372
- @param executor (resolve: (...: any) -> (), reject: (...: any) -> (), onCancel: (abortHandler?: () -> ()) -> boolean) -> ()
373
- @return Promise
374
- ]=]
375
- function Promise.defer(executor)
376
- local traceback = debug.traceback(nil, 2)
377
- local promise
378
- promise = Promise._new(traceback, function(resolve, reject, onCancel)
379
- task.defer(function()
380
- local ok, _, result = runExecutor(traceback, executor, resolve, reject, onCancel)
381
-
382
- if not ok then
383
- reject(result[1])
384
- end
385
- end)
386
- end)
387
-
388
- return promise
389
- end
390
-
391
- -- Backwards compatibility
392
- Promise.async = Promise.defer
393
-
394
- --[=[
395
- Creates an immediately resolved Promise with the given value.
396
-
397
- ```lua
398
- -- Example using Promise.resolve to deliver cached values:
399
- function getSomething(name)
400
- if cache[name] then
401
- return Promise.resolve(cache[name])
402
- else
403
- return Promise.new(function(resolve, reject)
404
- local thing = getTheThing()
405
- cache[name] = thing
406
-
407
- resolve(thing)
408
- end)
409
- end
410
- end
411
- ```
412
-
413
- @param ... any
414
- @return Promise<...any>
415
- ]=]
416
- function Promise.resolve(...)
417
- local length, values = pack(...)
418
- return Promise._new(debug.traceback(nil, 2), function(resolve)
419
- resolve(unpack(values, 1, length))
420
- end)
421
- end
422
-
423
- --[=[
424
- Creates an immediately rejected Promise with the given value.
425
-
426
- :::caution
427
- Something needs to consume this rejection (i.e. `:catch()` it), otherwise it will emit an unhandled Promise rejection warning on the next frame. Thus, you should not create and store rejected Promises for later use. Only create them on-demand as needed.
428
- :::
429
-
430
- @param ... any
431
- @return Promise<...any>
432
- ]=]
433
- function Promise.reject(...)
434
- local length, values = pack(...)
435
- return Promise._new(debug.traceback(nil, 2), function(_, reject)
436
- reject(unpack(values, 1, length))
437
- end)
438
- end
439
-
440
- --[[
441
- Runs a non-promise-returning function as a Promise with the
442
- given arguments.
443
- ]]
444
- function Promise._try(traceback, callback, ...)
445
- local valuesLength, values = pack(...)
446
-
447
- return Promise._new(traceback, function(resolve)
448
- resolve(callback(unpack(values, 1, valuesLength)))
449
- end)
450
- end
451
-
452
- --[=[
453
- Begins a Promise chain, calling a function and returning a Promise resolving with its return value. If the function errors, the returned Promise will be rejected with the error. You can safely yield within the Promise.try callback.
454
-
455
- :::info
456
- `Promise.try` is similar to [Promise.promisify](#promisify), except the callback is invoked immediately instead of returning a new function.
457
- :::
458
-
459
- ```lua
460
- Promise.try(function()
461
- return math.random(1, 2) == 1 and "ok" or error("Oh an error!")
462
- end)
463
- :andThen(function(text)
464
- print(text)
465
- end)
466
- :catch(function(err)
467
- warn("Something went wrong")
468
- end)
469
- ```
470
-
471
- @param callback (...: T...) -> ...any
472
- @param ... T... -- Additional arguments passed to `callback`
473
- @return Promise
474
- ]=]
475
- function Promise.try(callback, ...)
476
- return Promise._try(debug.traceback(nil, 2), callback, ...)
477
- end
478
-
479
- --[[
480
- Returns a new promise that:
481
- * is resolved when all input promises resolve
482
- * is rejected if ANY input promises reject
483
- ]]
484
- function Promise._all(traceback, promises, amount)
485
- if type(promises) ~= "table" then
486
- error(string.format(ERROR_NON_LIST, "Promise.all"), 3)
487
- end
488
-
489
- -- We need to check that each value is a promise here so that we can produce
490
- -- a proper error rather than a rejected promise with our error.
491
- for i, promise in pairs(promises) do
492
- if not Promise.is(promise) then
493
- error(string.format(ERROR_NON_PROMISE_IN_LIST, "Promise.all", tostring(i)), 3)
494
- end
495
- end
496
-
497
- -- If there are no values then return an already resolved promise.
498
- if #promises == 0 or amount == 0 then
499
- return Promise.resolve({})
500
- end
501
-
502
- return Promise._new(traceback, function(resolve, reject, onCancel)
503
- -- An array to contain our resolved values from the given promises.
504
- local resolvedValues = {}
505
- local newPromises = {}
506
-
507
- -- Keep a count of resolved promises because just checking the resolved
508
- -- values length wouldn't account for promises that resolve with nil.
509
- local resolvedCount = 0
510
- local rejectedCount = 0
511
- local done = false
512
-
513
- local function cancel()
514
- for _, promise in ipairs(newPromises) do
515
- promise:cancel()
516
- end
517
- end
518
-
519
- -- Called when a single value is resolved and resolves if all are done.
520
- local function resolveOne(i, ...)
521
- if done then
522
- return
523
- end
524
-
525
- resolvedCount = resolvedCount + 1
526
-
527
- if amount == nil then
528
- resolvedValues[i] = ...
529
- else
530
- resolvedValues[resolvedCount] = ...
531
- end
532
-
533
- if resolvedCount >= (amount or #promises) then
534
- done = true
535
- resolve(resolvedValues)
536
- cancel()
537
- end
538
- end
539
-
540
- onCancel(cancel)
541
-
542
- -- We can assume the values inside `promises` are all promises since we
543
- -- checked above.
544
- for i, promise in ipairs(promises) do
545
- newPromises[i] = promise:andThen(function(...)
546
- resolveOne(i, ...)
547
- end, function(...)
548
- rejectedCount = rejectedCount + 1
549
-
550
- if amount == nil or #promises - rejectedCount < amount then
551
- cancel()
552
- done = true
553
-
554
- reject(...)
555
- end
556
- end)
557
- end
558
-
559
- if done then
560
- cancel()
561
- end
562
- end)
563
- end
564
-
565
- --[=[
566
- Accepts an array of Promises and returns a new promise that:
567
- * is resolved after all input promises resolve.
568
- * is rejected if *any* input promises reject.
569
-
570
- :::info
571
- Only the first return value from each promise will be present in the resulting array.
572
- :::
573
-
574
- After any input Promise rejects, all other input Promises that are still pending will be cancelled if they have no other consumers.
575
-
576
- ```lua
577
- local promises = {
578
- returnsAPromise("example 1"),
579
- returnsAPromise("example 2"),
580
- returnsAPromise("example 3"),
581
- }
582
-
583
- return Promise.all(promises)
584
- ```
585
-
586
- @param promises {Promise<T>}
587
- @return Promise<{T}>
588
- ]=]
589
- function Promise.all(promises)
590
- return Promise._all(debug.traceback(nil, 2), promises)
591
- end
592
-
593
- --[=[
594
- Folds an array of values or promises into a single value. The array is traversed sequentially.
595
-
596
- The reducer function can return a promise or value directly. Each iteration receives the resolved value from the previous, and the first receives your defined initial value.
597
-
598
- The folding will stop at the first rejection encountered.
599
- ```lua
600
- local basket = {"blueberry", "melon", "pear", "melon"}
601
- Promise.fold(basket, function(cost, fruit)
602
- if fruit == "blueberry" then
603
- return cost -- blueberries are free!
604
- else
605
- -- call a function that returns a promise with the fruit price
606
- return fetchPrice(fruit):andThen(function(fruitCost)
607
- return cost + fruitCost
608
- end)
609
- end
610
- end, 0)
611
- ```
612
-
613
- @since v3.1.0
614
- @param list {T | Promise<T>}
615
- @param reducer (accumulator: U, value: T, index: number) -> U | Promise<U>
616
- @param initialValue U
617
- ]=]
618
- function Promise.fold(list, reducer, initialValue)
619
- assert(type(list) == "table", "Bad argument #1 to Promise.fold: must be a table")
620
- assert(isCallable(reducer), "Bad argument #2 to Promise.fold: must be a function")
621
-
622
- local accumulator = Promise.resolve(initialValue)
623
- return Promise.each(list, function(resolvedElement, i)
624
- accumulator = accumulator:andThen(function(previousValueResolved)
625
- return reducer(previousValueResolved, resolvedElement, i)
626
- end)
627
- end):andThen(function()
628
- return accumulator
629
- end)
630
- end
631
-
632
- --[=[
633
- Accepts an array of Promises and returns a Promise that is resolved as soon as `count` Promises are resolved from the input array. The resolved array values are in the order that the Promises resolved in. When this Promise resolves, all other pending Promises are cancelled if they have no other consumers.
634
-
635
- `count` 0 results in an empty array. The resultant array will never have more than `count` elements.
636
-
637
- ```lua
638
- local promises = {
639
- returnsAPromise("example 1"),
640
- returnsAPromise("example 2"),
641
- returnsAPromise("example 3"),
642
- }
643
-
644
- return Promise.some(promises, 2) -- Only resolves with first 2 promises to resolve
645
- ```
646
-
647
- @param promises {Promise<T>}
648
- @param count number
649
- @return Promise<{T}>
650
- ]=]
651
- function Promise.some(promises, count)
652
- assert(type(count) == "number", "Bad argument #2 to Promise.some: must be a number")
653
-
654
- return Promise._all(debug.traceback(nil, 2), promises, count)
655
- end
656
-
657
- --[=[
658
- Accepts an array of Promises and returns a Promise that is resolved as soon as *any* of the input Promises resolves. It will reject only if *all* input Promises reject. As soon as one Promises resolves, all other pending Promises are cancelled if they have no other consumers.
659
-
660
- Resolves directly with the value of the first resolved Promise. This is essentially [[Promise.some]] with `1` count, except the Promise resolves with the value directly instead of an array with one element.
661
-
662
- ```lua
663
- local promises = {
664
- returnsAPromise("example 1"),
665
- returnsAPromise("example 2"),
666
- returnsAPromise("example 3"),
667
- }
668
-
669
- return Promise.any(promises) -- Resolves with first value to resolve (only rejects if all 3 rejected)
670
- ```
671
-
672
- @param promises {Promise<T>}
673
- @return Promise<T>
674
- ]=]
675
- function Promise.any(promises)
676
- return Promise._all(debug.traceback(nil, 2), promises, 1):andThen(function(values)
677
- return values[1]
678
- end)
679
- end
680
-
681
- --[=[
682
- Accepts an array of Promises and returns a new Promise that resolves with an array of in-place Statuses when all input Promises have settled. This is equivalent to mapping `promise:finally` over the array of Promises.
683
-
684
- ```lua
685
- local promises = {
686
- returnsAPromise("example 1"),
687
- returnsAPromise("example 2"),
688
- returnsAPromise("example 3"),
689
- }
690
-
691
- return Promise.allSettled(promises)
692
- ```
693
-
694
- @param promises {Promise<T>}
695
- @return Promise<{Status}>
696
- ]=]
697
- function Promise.allSettled(promises)
698
- if type(promises) ~= "table" then
699
- error(string.format(ERROR_NON_LIST, "Promise.allSettled"), 2)
700
- end
701
-
702
- -- We need to check that each value is a promise here so that we can produce
703
- -- a proper error rather than a rejected promise with our error.
704
- for i, promise in pairs(promises) do
705
- if not Promise.is(promise) then
706
- error(string.format(ERROR_NON_PROMISE_IN_LIST, "Promise.allSettled", tostring(i)), 2)
707
- end
708
- end
709
-
710
- -- If there are no values then return an already resolved promise.
711
- if #promises == 0 then
712
- return Promise.resolve({})
713
- end
714
-
715
- return Promise._new(debug.traceback(nil, 2), function(resolve, _, onCancel)
716
- -- An array to contain our resolved values from the given promises.
717
- local fates = {}
718
- local newPromises = {}
719
-
720
- -- Keep a count of resolved promises because just checking the resolved
721
- -- values length wouldn't account for promises that resolve with nil.
722
- local finishedCount = 0
723
-
724
- -- Called when a single value is resolved and resolves if all are done.
725
- local function resolveOne(i, ...)
726
- finishedCount = finishedCount + 1
727
-
728
- fates[i] = ...
729
-
730
- if finishedCount >= #promises then
731
- resolve(fates)
732
- end
733
- end
734
-
735
- onCancel(function()
736
- for _, promise in ipairs(newPromises) do
737
- promise:cancel()
738
- end
739
- end)
740
-
741
- -- We can assume the values inside `promises` are all promises since we
742
- -- checked above.
743
- for i, promise in ipairs(promises) do
744
- newPromises[i] = promise:finally(function(...)
745
- resolveOne(i, ...)
746
- end)
747
- end
748
- end)
749
- end
750
-
751
- --[=[
752
- Accepts an array of Promises and returns a new promise that is resolved or rejected as soon as any Promise in the array resolves or rejects.
753
-
754
- :::warning
755
- If the first Promise to settle from the array settles with a rejection, the resulting Promise from `race` will reject.
756
-
757
- If you instead want to tolerate rejections, and only care about at least one Promise resolving, you should use [Promise.any](#any) or [Promise.some](#some) instead.
758
- :::
759
-
760
- All other Promises that don't win the race will be cancelled if they have no other consumers.
761
-
762
- ```lua
763
- local promises = {
764
- returnsAPromise("example 1"),
765
- returnsAPromise("example 2"),
766
- returnsAPromise("example 3"),
767
- }
768
-
769
- return Promise.race(promises) -- Only returns 1st value to resolve or reject
770
- ```
771
-
772
- @param promises {Promise<T>}
773
- @return Promise<T>
774
- ]=]
775
- function Promise.race(promises)
776
- assert(type(promises) == "table", string.format(ERROR_NON_LIST, "Promise.race"))
777
-
778
- for i, promise in pairs(promises) do
779
- assert(Promise.is(promise), string.format(ERROR_NON_PROMISE_IN_LIST, "Promise.race", tostring(i)))
780
- end
781
-
782
- return Promise._new(debug.traceback(nil, 2), function(resolve, reject, onCancel)
783
- local newPromises = {}
784
- local finished = false
785
-
786
- local function cancel()
787
- for _, promise in ipairs(newPromises) do
788
- promise:cancel()
789
- end
790
- end
791
-
792
- local function finalize(callback)
793
- return function(...)
794
- cancel()
795
- finished = true
796
- return callback(...)
797
- end
798
- end
799
-
800
- if onCancel(finalize(reject)) then
801
- return
802
- end
803
-
804
- for i, promise in ipairs(promises) do
805
- newPromises[i] = promise:andThen(finalize(resolve), finalize(reject))
806
- end
807
-
808
- if finished then
809
- cancel()
810
- end
811
- end)
812
- end
813
-
814
- --[=[
815
- Iterates serially over the given an array of values, calling the predicate callback on each value before continuing.
816
-
817
- If the predicate returns a Promise, we wait for that Promise to resolve before moving on to the next item
818
- in the array.
819
-
820
- :::info
821
- `Promise.each` is similar to `Promise.all`, except the Promises are ran in order instead of all at once.
822
-
823
- But because Promises are eager, by the time they are created, they're already running. Thus, we need a way to defer creation of each Promise until a later time.
824
-
825
- The predicate function exists as a way for us to operate on our data instead of creating a new closure for each Promise. If you would prefer, you can pass in an array of functions, and in the predicate, call the function and return its return value.
826
- :::
827
-
828
- ```lua
829
- Promise.each({
830
- "foo",
831
- "bar",
832
- "baz",
833
- "qux"
834
- }, function(value, index)
835
- return Promise.delay(1):andThen(function()
836
- print(("%d) Got %s!"):format(index, value))
837
- end)
838
- end)
839
-
840
- --[[
841
- (1 second passes)
842
- > 1) Got foo!
843
- (1 second passes)
844
- > 2) Got bar!
845
- (1 second passes)
846
- > 3) Got baz!
847
- (1 second passes)
848
- > 4) Got qux!
849
- ]]
850
- ```
851
-
852
- If the Promise a predicate returns rejects, the Promise from `Promise.each` is also rejected with the same value.
853
-
854
- If the array of values contains a Promise, when we get to that point in the list, we wait for the Promise to resolve before calling the predicate with the value.
855
-
856
- If a Promise in the array of values is already Rejected when `Promise.each` is called, `Promise.each` rejects with that value immediately (the predicate callback will never be called even once). If a Promise in the list is already Cancelled when `Promise.each` is called, `Promise.each` rejects with `Promise.Error(Promise.Error.Kind.AlreadyCancelled`). If a Promise in the array of values is Started at first, but later rejects, `Promise.each` will reject with that value and iteration will not continue once iteration encounters that value.
857
-
858
- Returns a Promise containing an array of the returned/resolved values from the predicate for each item in the array of values.
859
-
860
- If this Promise returned from `Promise.each` rejects or is cancelled for any reason, the following are true:
861
- - Iteration will not continue.
862
- - Any Promises within the array of values will now be cancelled if they have no other consumers.
863
- - The Promise returned from the currently active predicate will be cancelled if it hasn't resolved yet.
864
-
865
- @since 3.0.0
866
- @param list {T | Promise<T>}
867
- @param predicate (value: T, index: number) -> U | Promise<U>
868
- @return Promise<{U}>
869
- ]=]
870
- function Promise.each(list, predicate)
871
- assert(type(list) == "table", string.format(ERROR_NON_LIST, "Promise.each"))
872
- assert(isCallable(predicate), string.format(ERROR_NON_FUNCTION, "Promise.each"))
873
-
874
- return Promise._new(debug.traceback(nil, 2), function(resolve, reject, onCancel)
875
- local results = {}
876
- local promisesToCancel = {}
877
-
878
- local cancelled = false
879
-
880
- local function cancel()
881
- for _, promiseToCancel in ipairs(promisesToCancel) do
882
- promiseToCancel:cancel()
883
- end
884
- end
885
-
886
- onCancel(function()
887
- cancelled = true
888
-
889
- cancel()
890
- end)
891
-
892
- -- We need to preprocess the list of values and look for Promises.
893
- -- If we find some, we must register our andThen calls now, so that those Promises have a consumer
894
- -- from us registered. If we don't do this, those Promises might get cancelled by something else
895
- -- before we get to them in the series because it's not possible to tell that we plan to use it
896
- -- unless we indicate it here.
897
-
898
- local preprocessedList = {}
899
-
900
- for index, value in ipairs(list) do
901
- if Promise.is(value) then
902
- if value:getStatus() == Promise.Status.Cancelled then
903
- cancel()
904
- return reject(Error.new({
905
- error = "Promise is cancelled",
906
- kind = Error.Kind.AlreadyCancelled,
907
- context = string.format(
908
- "The Promise that was part of the array at index %d passed into Promise.each was already cancelled when Promise.each began.\n\nThat Promise was created at:\n\n%s",
909
- index,
910
- value._source
911
- ),
912
- }))
913
- elseif value:getStatus() == Promise.Status.Rejected then
914
- cancel()
915
- return reject(select(2, value:await()))
916
- end
917
-
918
- -- Chain a new Promise from this one so we only cancel ours
919
- local ourPromise = value:andThen(function(...)
920
- return ...
921
- end)
922
-
923
- table.insert(promisesToCancel, ourPromise)
924
- preprocessedList[index] = ourPromise
925
- else
926
- preprocessedList[index] = value
927
- end
928
- end
929
-
930
- for index, value in ipairs(preprocessedList) do
931
- if Promise.is(value) then
932
- local success
933
- success, value = value:await()
934
-
935
- if not success then
936
- cancel()
937
- return reject(value)
938
- end
939
- end
940
-
941
- if cancelled then
942
- return
943
- end
944
-
945
- local predicatePromise = Promise.resolve(predicate(value, index))
946
-
947
- table.insert(promisesToCancel, predicatePromise)
948
-
949
- local success, result = predicatePromise:await()
950
-
951
- if not success then
952
- cancel()
953
- return reject(result)
954
- end
955
-
956
- results[index] = result
957
- end
958
-
959
- resolve(results)
960
- end)
961
- end
962
-
963
- --[=[
964
- Checks whether the given object is a Promise via duck typing. This only checks if the object is a table and has an `andThen` method.
965
-
966
- @param object any
967
- @return boolean -- `true` if the given `object` is a Promise.
968
- ]=]
969
- function Promise.is(object)
970
- if type(object) ~= "table" then
971
- return false
972
- end
973
-
974
- local objectMetatable = getmetatable(object)
975
-
976
- if objectMetatable == Promise then
977
- -- The Promise came from this library.
978
- return true
979
- elseif objectMetatable == nil then
980
- -- No metatable, but we should still chain onto tables with andThen methods
981
- return isCallable(object.andThen)
982
- elseif
983
- type(objectMetatable) == "table"
984
- and type(rawget(objectMetatable, "__index")) == "table"
985
- and isCallable(rawget(rawget(objectMetatable, "__index"), "andThen"))
986
- then
987
- -- Maybe this came from a different or older Promise library.
988
- return true
989
- end
990
-
991
- return false
992
- end
993
-
994
- --[=[
995
- Wraps a function that yields into one that returns a Promise.
996
-
997
- Any errors that occur while executing the function will be turned into rejections.
998
-
999
- :::info
1000
- `Promise.promisify` is similar to [Promise.try](#try), except the callback is returned as a callable function instead of being invoked immediately.
1001
- :::
1002
-
1003
- ```lua
1004
- local sleep = Promise.promisify(wait)
1005
-
1006
- sleep(1):andThen(print)
1007
- ```
1008
-
1009
- ```lua
1010
- local isPlayerInGroup = Promise.promisify(function(player, groupId)
1011
- return player:IsInGroup(groupId)
1012
- end)
1013
- ```
1014
-
1015
- @param callback (...: any) -> ...any
1016
- @return (...: any) -> Promise
1017
- ]=]
1018
- function Promise.promisify(callback)
1019
- return function(...)
1020
- return Promise._try(debug.traceback(nil, 2), callback, ...)
1021
- end
1022
- end
1023
-
1024
- --[=[
1025
- Returns a Promise that resolves after `seconds` seconds have passed. The Promise resolves with the actual amount of time that was waited.
1026
-
1027
- This function is a wrapper around `task.delay`.
1028
-
1029
- :::warning
1030
- Passing NaN, +Infinity, -Infinity, 0, or any other number less than the duration of a Heartbeat will cause the promise to resolve on the very next Heartbeat.
1031
- :::
1032
-
1033
- ```lua
1034
- Promise.delay(5):andThenCall(print, "This prints after 5 seconds")
1035
- ```
1036
-
1037
- @function delay
1038
- @within Promise
1039
- @param seconds number
1040
- @return Promise<number>
1041
- ]=]
1042
- function Promise.delay(seconds)
1043
- assert(type(seconds) == "number", "Bad argument #1 to Promise.delay, must be a number.")
1044
- local startTime = Promise._getTime()
1045
- return Promise._new(debug.traceback(nil, 2), function(resolve)
1046
- task.delay(seconds, function()
1047
- resolve(Promise._getTime() - startTime)
1048
- end)
1049
- end)
1050
- end
1051
-
1052
- --[=[
1053
- Returns a new Promise that resolves if the chained Promise resolves within `seconds` seconds, or rejects if execution time exceeds `seconds`. The chained Promise will be cancelled if the timeout is reached.
1054
-
1055
- Rejects with `rejectionValue` if it is non-nil. If a `rejectionValue` is not given, it will reject with a `Promise.Error(Promise.Error.Kind.TimedOut)`. This can be checked with [[Error.isKind]].
1056
-
1057
- ```lua
1058
- getSomething():timeout(5):andThen(function(something)
1059
- -- got something and it only took at max 5 seconds
1060
- end):catch(function(e)
1061
- -- Either getting something failed or the time was exceeded.
1062
-
1063
- if Promise.Error.isKind(e, Promise.Error.Kind.TimedOut) then
1064
- warn("Operation timed out!")
1065
- else
1066
- warn("Operation encountered an error!")
1067
- end
1068
- end)
1069
- ```
1070
-
1071
- Sugar for:
1072
-
1073
- ```lua
1074
- Promise.race({
1075
- Promise.delay(seconds):andThen(function()
1076
- return Promise.reject(
1077
- rejectionValue == nil
1078
- and Promise.Error.new({ kind = Promise.Error.Kind.TimedOut })
1079
- or rejectionValue
1080
- )
1081
- end),
1082
- promise
1083
- })
1084
- ```
1085
-
1086
- @param seconds number
1087
- @param rejectionValue? any -- The value to reject with if the timeout is reached
1088
- @return Promise
1089
- ]=]
1090
- function Promise.prototype:timeout(seconds, rejectionValue)
1091
- local traceback = debug.traceback(nil, 2)
1092
-
1093
- return Promise.race({
1094
- Promise.delay(seconds):andThen(function()
1095
- return Promise.reject(rejectionValue == nil and Error.new({
1096
- kind = Error.Kind.TimedOut,
1097
- error = "Timed out",
1098
- context = string.format(
1099
- "Timeout of %d seconds exceeded.\n:timeout() called at:\n\n%s",
1100
- seconds,
1101
- traceback
1102
- ),
1103
- }) or rejectionValue)
1104
- end),
1105
- self,
1106
- })
1107
- end
1108
-
1109
- --[=[
1110
- Returns the current Promise status.
1111
-
1112
- @return Status
1113
- ]=]
1114
- function Promise.prototype:getStatus()
1115
- return self._status
1116
- end
1117
-
1118
- --[[
1119
- Creates a new promise that receives the result of this promise.
1120
-
1121
- The given callbacks are invoked depending on that result.
1122
- ]]
1123
- function Promise.prototype:_andThen(traceback, successHandler, failureHandler)
1124
- self._unhandledRejection = false
1125
-
1126
- -- If we are already cancelled, we return a cancelled Promise
1127
- if self._status == Promise.Status.Cancelled then
1128
- local promise = Promise.new(function() end)
1129
- promise:cancel()
1130
-
1131
- return promise
1132
- end
1133
-
1134
- -- Create a new promise to follow this part of the chain
1135
- return Promise._new(traceback, function(resolve, reject, onCancel)
1136
- -- Our default callbacks just pass values onto the next promise.
1137
- -- This lets success and failure cascade correctly!
1138
-
1139
- local successCallback = resolve
1140
- if successHandler then
1141
- successCallback = createAdvancer(traceback, successHandler, resolve, reject)
1142
- end
1143
-
1144
- local failureCallback = reject
1145
- if failureHandler then
1146
- failureCallback = createAdvancer(traceback, failureHandler, resolve, reject)
1147
- end
1148
-
1149
- if self._status == Promise.Status.Started then
1150
- -- If we haven't resolved yet, put ourselves into the queue
1151
- table.insert(self._queuedResolve, successCallback)
1152
- table.insert(self._queuedReject, failureCallback)
1153
-
1154
- onCancel(function()
1155
- -- These are guaranteed to exist because the cancellation handler is guaranteed to only
1156
- -- be called at most once
1157
- if self._status == Promise.Status.Started then
1158
- table.remove(self._queuedResolve, table.find(self._queuedResolve, successCallback))
1159
- table.remove(self._queuedReject, table.find(self._queuedReject, failureCallback))
1160
- end
1161
- end)
1162
- elseif self._status == Promise.Status.Resolved then
1163
- -- This promise has already resolved! Trigger success immediately.
1164
- successCallback(unpack(self._values, 1, self._valuesLength))
1165
- elseif self._status == Promise.Status.Rejected then
1166
- -- This promise died a terrible death! Trigger failure immediately.
1167
- failureCallback(unpack(self._values, 1, self._valuesLength))
1168
- end
1169
- end, self)
1170
- end
1171
-
1172
- --[=[
1173
- Chains onto an existing Promise and returns a new Promise.
1174
-
1175
- :::warning
1176
- Within the failure handler, you should never assume that the rejection value is a string. Some rejections within the Promise library are represented by [[Error]] objects. If you want to treat it as a string for debugging, you should call `tostring` on it first.
1177
- :::
1178
-
1179
- You can return a Promise from the success or failure handler and it will be chained onto.
1180
-
1181
- Calling `andThen` on a cancelled Promise returns a cancelled Promise.
1182
-
1183
- :::tip
1184
- If the Promise returned by `andThen` is cancelled, `successHandler` and `failureHandler` will not run.
1185
-
1186
- To run code no matter what, use [Promise:finally].
1187
- :::
1188
-
1189
- @param successHandler (...: any) -> ...any
1190
- @param failureHandler? (...: any) -> ...any
1191
- @return Promise<...any>
1192
- ]=]
1193
- function Promise.prototype:andThen(successHandler, failureHandler)
1194
- assert(successHandler == nil or isCallable(successHandler), string.format(ERROR_NON_FUNCTION, "Promise:andThen"))
1195
- assert(failureHandler == nil or isCallable(failureHandler), string.format(ERROR_NON_FUNCTION, "Promise:andThen"))
1196
-
1197
- return self:_andThen(debug.traceback(nil, 2), successHandler, failureHandler)
1198
- end
1199
-
1200
- --[=[
1201
- Shorthand for `Promise:andThen(nil, failureHandler)`.
1202
-
1203
- Returns a Promise that resolves if the `failureHandler` worked without encountering an additional error.
1204
-
1205
- :::warning
1206
- Within the failure handler, you should never assume that the rejection value is a string. Some rejections within the Promise library are represented by [[Error]] objects. If you want to treat it as a string for debugging, you should call `tostring` on it first.
1207
- :::
1208
-
1209
- Calling `catch` on a cancelled Promise returns a cancelled Promise.
1210
-
1211
- :::tip
1212
- If the Promise returned by `catch` is cancelled, `failureHandler` will not run.
1213
-
1214
- To run code no matter what, use [Promise:finally].
1215
- :::
1216
-
1217
- @param failureHandler (...: any) -> ...any
1218
- @return Promise<...any>
1219
- ]=]
1220
- function Promise.prototype:catch(failureHandler)
1221
- assert(failureHandler == nil or isCallable(failureHandler), string.format(ERROR_NON_FUNCTION, "Promise:catch"))
1222
- return self:_andThen(debug.traceback(nil, 2), nil, failureHandler)
1223
- end
1224
-
1225
- --[=[
1226
- Similar to [Promise.andThen](#andThen), except the return value is the same as the value passed to the handler. In other words, you can insert a `:tap` into a Promise chain without affecting the value that downstream Promises receive.
1227
-
1228
- ```lua
1229
- getTheValue()
1230
- :tap(print)
1231
- :andThen(function(theValue)
1232
- print("Got", theValue, "even though print returns nil!")
1233
- end)
1234
- ```
1235
-
1236
- If you return a Promise from the tap handler callback, its value will be discarded but `tap` will still wait until it resolves before passing the original value through.
1237
-
1238
- @param tapHandler (...: any) -> ...any
1239
- @return Promise<...any>
1240
- ]=]
1241
- function Promise.prototype:tap(tapHandler)
1242
- assert(isCallable(tapHandler), string.format(ERROR_NON_FUNCTION, "Promise:tap"))
1243
- return self:_andThen(debug.traceback(nil, 2), function(...)
1244
- local callbackReturn = tapHandler(...)
1245
-
1246
- if Promise.is(callbackReturn) then
1247
- local length, values = pack(...)
1248
- return callbackReturn:andThen(function()
1249
- return unpack(values, 1, length)
1250
- end)
1251
- end
1252
-
1253
- return ...
1254
- end)
1255
- end
1256
-
1257
- --[=[
1258
- Attaches an `andThen` handler to this Promise that calls the given callback with the predefined arguments. The resolved value is discarded.
1259
-
1260
- ```lua
1261
- promise:andThenCall(someFunction, "some", "arguments")
1262
- ```
1263
-
1264
- This is sugar for
1265
-
1266
- ```lua
1267
- promise:andThen(function()
1268
- return someFunction("some", "arguments")
1269
- end)
1270
- ```
1271
-
1272
- @param callback (...: any) -> any
1273
- @param ...? any -- Additional arguments which will be passed to `callback`
1274
- @return Promise
1275
- ]=]
1276
- function Promise.prototype:andThenCall(callback, ...)
1277
- assert(isCallable(callback), string.format(ERROR_NON_FUNCTION, "Promise:andThenCall"))
1278
- local length, values = pack(...)
1279
- return self:_andThen(debug.traceback(nil, 2), function()
1280
- return callback(unpack(values, 1, length))
1281
- end)
1282
- end
1283
-
1284
- --[=[
1285
- Attaches an `andThen` handler to this Promise that discards the resolved value and returns the given value from it.
1286
-
1287
- ```lua
1288
- promise:andThenReturn("some", "values")
1289
- ```
1290
-
1291
- This is sugar for
1292
-
1293
- ```lua
1294
- promise:andThen(function()
1295
- return "some", "values"
1296
- end)
1297
- ```
1298
-
1299
- :::caution
1300
- Promises are eager, so if you pass a Promise to `andThenReturn`, it will begin executing before `andThenReturn` is reached in the chain. Likewise, if you pass a Promise created from [[Promise.reject]] into `andThenReturn`, it's possible that this will trigger the unhandled rejection warning. If you need to return a Promise, it's usually best practice to use [[Promise.andThen]].
1301
- :::
1302
-
1303
- @param ... any -- Values to return from the function
1304
- @return Promise
1305
- ]=]
1306
- function Promise.prototype:andThenReturn(...)
1307
- local length, values = pack(...)
1308
- return self:_andThen(debug.traceback(nil, 2), function()
1309
- return unpack(values, 1, length)
1310
- end)
1311
- end
1312
-
1313
- --[=[
1314
- Cancels this promise, preventing the promise from resolving or rejecting. Does not do anything if the promise is already settled.
1315
-
1316
- Cancellations will propagate upwards and downwards through chained promises.
1317
-
1318
- Promises will only be cancelled if all of their consumers are also cancelled. This is to say that if you call `andThen` twice on the same promise, and you cancel only one of the child promises, it will not cancel the parent promise until the other child promise is also cancelled.
1319
-
1320
- ```lua
1321
- promise:cancel()
1322
- ```
1323
- ]=]
1324
- function Promise.prototype:cancel()
1325
- if self._status ~= Promise.Status.Started then
1326
- return
1327
- end
1328
-
1329
- self._status = Promise.Status.Cancelled
1330
-
1331
- if self._cancellationHook then
1332
- self._cancellationHook()
1333
- end
1334
-
1335
- coroutine.close(self._thread)
1336
-
1337
- if self._parent then
1338
- self._parent:_consumerCancelled(self)
1339
- end
1340
-
1341
- for child in pairs(self._consumers) do
1342
- child:cancel()
1343
- end
1344
-
1345
- self:_finalize()
1346
- end
1347
-
1348
- --[[
1349
- Used to decrease the number of consumers by 1, and if there are no more,
1350
- cancel this promise.
1351
- ]]
1352
- function Promise.prototype:_consumerCancelled(consumer)
1353
- if self._status ~= Promise.Status.Started then
1354
- return
1355
- end
1356
-
1357
- self._consumers[consumer] = nil
1358
-
1359
- if next(self._consumers) == nil then
1360
- self:cancel()
1361
- end
1362
- end
1363
-
1364
- --[[
1365
- Used to set a handler for when the promise resolves, rejects, or is
1366
- cancelled.
1367
- ]]
1368
- function Promise.prototype:_finally(traceback, finallyHandler)
1369
- self._unhandledRejection = false
1370
-
1371
- local promise = Promise._new(traceback, function(resolve, reject, onCancel)
1372
- local handlerPromise
1373
-
1374
- onCancel(function()
1375
- -- The finally Promise is not a proper consumer of self. We don't care about the resolved value.
1376
- -- All we care about is running at the end. Therefore, if self has no other consumers, it's safe to
1377
- -- cancel. We don't need to hold out cancelling just because there's a finally handler.
1378
- self:_consumerCancelled(self)
1379
-
1380
- if handlerPromise then
1381
- handlerPromise:cancel()
1382
- end
1383
- end)
1384
-
1385
- local finallyCallback = resolve
1386
- if finallyHandler then
1387
- finallyCallback = function(...)
1388
- local ok, _, resultList = runExecutor(traceback, finallyHandler, ...)
1389
- local result = resultList[1]
1390
- if not ok then
1391
- return reject(result)
1392
- end
1393
-
1394
- if Promise.is(result) then
1395
- handlerPromise = result
1396
-
1397
- result
1398
- :finally(function(status)
1399
- if status ~= Promise.Status.Rejected then
1400
- resolve(self)
1401
- end
1402
- end)
1403
- :catch(function(...)
1404
- reject(...)
1405
- end)
1406
- else
1407
- resolve(self)
1408
- end
1409
- end
1410
- end
1411
-
1412
- if self._status == Promise.Status.Started then
1413
- -- The promise is not settled, so queue this.
1414
- table.insert(self._queuedFinally, finallyCallback)
1415
- else
1416
- -- The promise already settled or was cancelled, run the callback now.
1417
- finallyCallback(self._status)
1418
- end
1419
- end)
1420
-
1421
- return promise
1422
- end
1423
-
1424
- --[=[
1425
- Set a handler that will be called regardless of the promise's fate. The handler is called when the promise is
1426
- resolved, rejected, *or* cancelled.
1427
-
1428
- Returns a new Promise that:
1429
- - resolves with the same values that this Promise resolves with.
1430
- - rejects with the same values that this Promise rejects with.
1431
- - is cancelled if this Promise is cancelled.
1432
-
1433
- If the value you return from the handler is a Promise:
1434
- - We wait for the Promise to resolve, but we ultimately discard the resolved value.
1435
- - If the returned Promise rejects, the Promise returned from `finally` will reject with the rejected value from the
1436
- *returned* promise.
1437
- - If the `finally` Promise is cancelled, and you returned a Promise from the handler, we cancel that Promise too.
1438
-
1439
- Otherwise, the return value from the `finally` handler is entirely discarded.
1440
-
1441
- :::note Cancellation
1442
- As of Promise v4, `Promise:finally` does not count as a consumer of the parent Promise for cancellation purposes.
1443
- This means that if all of a Promise's consumers are cancelled and the only remaining callbacks are finally handlers,
1444
- the Promise is cancelled and the finally callbacks run then and there.
1445
-
1446
- Cancellation still propagates through the `finally` Promise though: if you cancel the `finally` Promise, it can cancel
1447
- its parent Promise if it had no other consumers. Likewise, if the parent Promise is cancelled, the `finally` Promise
1448
- will also be cancelled.
1449
- :::
1450
-
1451
- ```lua
1452
- local thing = createSomething()
1453
-
1454
- doSomethingWith(thing)
1455
- :andThen(function()
1456
- print("It worked!")
1457
- -- do something..
1458
- end)
1459
- :catch(function()
1460
- warn("Oh no it failed!")
1461
- end)
1462
- :finally(function()
1463
- -- either way, destroy thing
1464
-
1465
- thing:Destroy()
1466
- end)
1467
-
1468
- ```
1469
-
1470
- @param finallyHandler (status: Status) -> ...any
1471
- @return Promise<...any>
1472
- ]=]
1473
- function Promise.prototype:finally(finallyHandler)
1474
- assert(finallyHandler == nil or isCallable(finallyHandler), string.format(ERROR_NON_FUNCTION, "Promise:finally"))
1475
- return self:_finally(debug.traceback(nil, 2), finallyHandler)
1476
- end
1477
-
1478
- --[=[
1479
- Same as `andThenCall`, except for `finally`.
1480
-
1481
- Attaches a `finally` handler to this Promise that calls the given callback with the predefined arguments.
1482
-
1483
- @param callback (...: any) -> any
1484
- @param ...? any -- Additional arguments which will be passed to `callback`
1485
- @return Promise
1486
- ]=]
1487
- function Promise.prototype:finallyCall(callback, ...)
1488
- assert(isCallable(callback), string.format(ERROR_NON_FUNCTION, "Promise:finallyCall"))
1489
- local length, values = pack(...)
1490
- return self:_finally(debug.traceback(nil, 2), function()
1491
- return callback(unpack(values, 1, length))
1492
- end)
1493
- end
1494
-
1495
- --[=[
1496
- Attaches a `finally` handler to this Promise that discards the resolved value and returns the given value from it.
1497
-
1498
- ```lua
1499
- promise:finallyReturn("some", "values")
1500
- ```
1501
-
1502
- This is sugar for
1503
-
1504
- ```lua
1505
- promise:finally(function()
1506
- return "some", "values"
1507
- end)
1508
- ```
1509
-
1510
- @param ... any -- Values to return from the function
1511
- @return Promise
1512
- ]=]
1513
- function Promise.prototype:finallyReturn(...)
1514
- local length, values = pack(...)
1515
- return self:_finally(debug.traceback(nil, 2), function()
1516
- return unpack(values, 1, length)
1517
- end)
1518
- end
1519
-
1520
- --[=[
1521
- Yields the current thread until the given Promise completes. Returns the Promise's status, followed by the values that the promise resolved or rejected with.
1522
-
1523
- @yields
1524
- @return Status -- The Status representing the fate of the Promise
1525
- @return ...any -- The values the Promise resolved or rejected with.
1526
- ]=]
1527
- function Promise.prototype:awaitStatus()
1528
- self._unhandledRejection = false
1529
-
1530
- if self._status == Promise.Status.Started then
1531
- local thread = coroutine.running()
1532
-
1533
- self
1534
- :finally(function()
1535
- task.spawn(thread)
1536
- end)
1537
- -- The finally promise can propagate rejections, so we attach a catch handler to prevent the unhandled
1538
- -- rejection warning from appearing
1539
- :catch(
1540
- function() end
1541
- )
1542
-
1543
- coroutine.yield()
1544
- end
1545
-
1546
- if self._status == Promise.Status.Resolved then
1547
- return self._status, unpack(self._values, 1, self._valuesLength)
1548
- elseif self._status == Promise.Status.Rejected then
1549
- return self._status, unpack(self._values, 1, self._valuesLength)
1550
- end
1551
-
1552
- return self._status
1553
- end
1554
-
1555
- local function awaitHelper(status, ...)
1556
- return status == Promise.Status.Resolved, ...
1557
- end
1558
-
1559
- --[=[
1560
- Yields the current thread until the given Promise completes. Returns true if the Promise resolved, followed by the values that the promise resolved or rejected with.
1561
-
1562
- :::caution
1563
- If the Promise gets cancelled, this function will return `false`, which is indistinguishable from a rejection. If you need to differentiate, you should use [[Promise.awaitStatus]] instead.
1564
- :::
1565
-
1566
- ```lua
1567
- local worked, value = getTheValue():await()
1568
-
1569
- if worked then
1570
- print("got", value)
1571
- else
1572
- warn("it failed")
1573
- end
1574
- ```
1575
-
1576
- @yields
1577
- @return boolean -- `true` if the Promise successfully resolved
1578
- @return ...any -- The values the Promise resolved or rejected with.
1579
- ]=]
1580
- function Promise.prototype:await()
1581
- return awaitHelper(self:awaitStatus())
1582
- end
1583
-
1584
- local function expectHelper(status, ...)
1585
- if status ~= Promise.Status.Resolved then
1586
- error((...) == nil and "Expected Promise rejected with no value." or (...), 3)
1587
- end
1588
-
1589
- return ...
1590
- end
1591
-
1592
- --[=[
1593
- Yields the current thread until the given Promise completes. Returns the values that the promise resolved with.
1594
-
1595
- ```lua
1596
- local worked = pcall(function()
1597
- print("got", getTheValue():expect())
1598
- end)
1599
-
1600
- if not worked then
1601
- warn("it failed")
1602
- end
1603
- ```
1604
-
1605
- This is essentially sugar for:
1606
-
1607
- ```lua
1608
- select(2, assert(promise:await()))
1609
- ```
1610
-
1611
- **Errors** if the Promise rejects or gets cancelled.
1612
-
1613
- @error any -- Errors with the rejection value if this Promise rejects or gets cancelled.
1614
- @yields
1615
- @return ...any -- The values the Promise resolved with.
1616
- ]=]
1617
- function Promise.prototype:expect()
1618
- return expectHelper(self:awaitStatus())
1619
- end
1620
-
1621
- -- Backwards compatibility
1622
- Promise.prototype.awaitValue = Promise.prototype.expect
1623
-
1624
- --[[
1625
- Intended for use in tests.
1626
-
1627
- Similar to await(), but instead of yielding if the promise is unresolved,
1628
- _unwrap will throw. This indicates an assumption that a promise has
1629
- resolved.
1630
- ]]
1631
- function Promise.prototype:_unwrap()
1632
- if self._status == Promise.Status.Started then
1633
- error("Promise has not resolved or rejected.", 2)
1634
- end
1635
-
1636
- local success = self._status == Promise.Status.Resolved
1637
-
1638
- return success, unpack(self._values, 1, self._valuesLength)
1639
- end
1640
-
1641
- function Promise.prototype:_resolve(...)
1642
- if self._status ~= Promise.Status.Started then
1643
- if Promise.is((...)) then
1644
- (...):_consumerCancelled(self)
1645
- end
1646
- return
1647
- end
1648
-
1649
- -- If the resolved value was a Promise, we chain onto it!
1650
- if Promise.is((...)) then
1651
- -- Without this warning, arguments sometimes mysteriously disappear
1652
- if select("#", ...) > 1 then
1653
- local message = string.format(
1654
- "When returning a Promise from andThen, extra arguments are " .. "discarded! See:\n\n%s",
1655
- self._source
1656
- )
1657
- warn(message)
1658
- end
1659
-
1660
- local chainedPromise = ...
1661
-
1662
- local promise = chainedPromise:andThen(function(...)
1663
- self:_resolve(...)
1664
- end, function(...)
1665
- local maybeRuntimeError = chainedPromise._values[1]
1666
-
1667
- -- Backwards compatibility < v2
1668
- if chainedPromise._error then
1669
- maybeRuntimeError = Error.new({
1670
- error = chainedPromise._error,
1671
- kind = Error.Kind.ExecutionError,
1672
- context = "[No stack trace available as this Promise originated from an older version of the Promise library (< v2)]",
1673
- })
1674
- end
1675
-
1676
- if Error.isKind(maybeRuntimeError, Error.Kind.ExecutionError) then
1677
- return self:_reject(maybeRuntimeError:extend({
1678
- error = "This Promise was chained to a Promise that errored.",
1679
- trace = "",
1680
- context = string.format(
1681
- "The Promise at:\n\n%s\n...Rejected because it was chained to the following Promise, which encountered an error:\n",
1682
- self._source
1683
- ),
1684
- }))
1685
- end
1686
-
1687
- self:_reject(...)
1688
- end)
1689
-
1690
- if promise._status == Promise.Status.Cancelled then
1691
- self:cancel()
1692
- elseif promise._status == Promise.Status.Started then
1693
- -- Adopt ourselves into promise for cancellation propagation.
1694
- self._parent = promise
1695
- promise._consumers[self] = true
1696
- end
1697
-
1698
- return
1699
- end
1700
-
1701
- self._status = Promise.Status.Resolved
1702
- self._valuesLength, self._values = pack(...)
1703
-
1704
- -- We assume that these callbacks will not throw errors.
1705
- for _, callback in ipairs(self._queuedResolve) do
1706
- coroutine.wrap(callback)(...)
1707
- end
1708
-
1709
- self:_finalize()
1710
- end
1711
-
1712
- function Promise.prototype:_reject(...)
1713
- if self._status ~= Promise.Status.Started then
1714
- return
1715
- end
1716
-
1717
- self._status = Promise.Status.Rejected
1718
- self._valuesLength, self._values = pack(...)
1719
-
1720
- -- If there are any rejection handlers, call those!
1721
- if not isEmpty(self._queuedReject) then
1722
- -- We assume that these callbacks will not throw errors.
1723
- for _, callback in ipairs(self._queuedReject) do
1724
- coroutine.wrap(callback)(...)
1725
- end
1726
- else
1727
- -- At this point, no one was able to observe the error.
1728
- -- An error handler might still be attached if the error occurred
1729
- -- synchronously. We'll wait one tick, and if there are still no
1730
- -- observers, then we should put a message in the console.
1731
-
1732
- local err = tostring((...))
1733
-
1734
- coroutine.wrap(function()
1735
- Promise._timeEvent:Wait()
1736
-
1737
- -- Someone observed the error, hooray!
1738
- if not self._unhandledRejection then
1739
- return
1740
- end
1741
-
1742
- -- Build a reasonable message
1743
- local message = string.format("Unhandled Promise rejection:\n\n%s\n\n%s", err, self._source)
1744
-
1745
- for _, callback in ipairs(Promise._unhandledRejectionCallbacks) do
1746
- task.spawn(callback, self, unpack(self._values, 1, self._valuesLength))
1747
- end
1748
-
1749
- if Promise.TEST then
1750
- -- Don't spam output when we're running tests.
1751
- return
1752
- end
1753
-
1754
- warn(message)
1755
- end)()
1756
- end
1757
-
1758
- self:_finalize()
1759
- end
1760
-
1761
- --[[
1762
- Calls any :finally handlers. We need this to be a separate method and
1763
- queue because we must call all of the finally callbacks upon a success,
1764
- failure, *and* cancellation.
1765
- ]]
1766
- function Promise.prototype:_finalize()
1767
- for _, callback in ipairs(self._queuedFinally) do
1768
- -- Purposefully not passing values to callbacks here, as it could be the
1769
- -- resolved values, or rejected errors. If the developer needs the values,
1770
- -- they should use :andThen or :catch explicitly.
1771
- coroutine.wrap(callback)(self._status)
1772
- end
1773
-
1774
- self._queuedFinally = nil
1775
- self._queuedReject = nil
1776
- self._queuedResolve = nil
1777
-
1778
- -- Clear references to other Promises to allow gc
1779
- if not Promise.TEST then
1780
- self._parent = nil
1781
- self._consumers = nil
1782
- end
1783
-
1784
- task.defer(coroutine.close, self._thread)
1785
- end
1786
-
1787
- --[=[
1788
- Chains a Promise from this one that is resolved if this Promise is already resolved, and rejected if it is not resolved at the time of calling `:now()`. This can be used to ensure your `andThen` handler occurs on the same frame as the root Promise execution.
1789
-
1790
- ```lua
1791
- doSomething()
1792
- :now()
1793
- :andThen(function(value)
1794
- print("Got", value, "synchronously.")
1795
- end)
1796
- ```
1797
-
1798
- If this Promise is still running, Rejected, or Cancelled, the Promise returned from `:now()` will reject with the `rejectionValue` if passed, otherwise with a `Promise.Error(Promise.Error.Kind.NotResolvedInTime)`. This can be checked with [[Error.isKind]].
1799
-
1800
- @param rejectionValue? any -- The value to reject with if the Promise isn't resolved
1801
- @return Promise
1802
- ]=]
1803
- function Promise.prototype:now(rejectionValue)
1804
- local traceback = debug.traceback(nil, 2)
1805
- if self._status == Promise.Status.Resolved then
1806
- return self:_andThen(traceback, function(...)
1807
- return ...
1808
- end)
1809
- else
1810
- return Promise.reject(rejectionValue == nil and Error.new({
1811
- kind = Error.Kind.NotResolvedInTime,
1812
- error = "This Promise was not resolved in time for :now()",
1813
- context = ":now() was called at:\n\n" .. traceback,
1814
- }) or rejectionValue)
1815
- end
1816
- end
1817
-
1818
- --[=[
1819
- Repeatedly calls a Promise-returning function up to `times` number of times, until the returned Promise resolves.
1820
-
1821
- If the amount of retries is exceeded, the function will return the latest rejected Promise.
1822
-
1823
- ```lua
1824
- local function canFail(a, b, c)
1825
- return Promise.new(function(resolve, reject)
1826
- -- do something that can fail
1827
-
1828
- local failed, thing = doSomethingThatCanFail(a, b, c)
1829
-
1830
- if failed then
1831
- reject("it failed")
1832
- else
1833
- resolve(thing)
1834
- end
1835
- end)
1836
- end
1837
-
1838
- local MAX_RETRIES = 10
1839
- local value = Promise.retry(canFail, MAX_RETRIES, "foo", "bar", "baz") -- args to send to canFail
1840
- ```
1841
-
1842
- @since 3.0.0
1843
- @param callback (...: P) -> Promise<T>
1844
- @param times number
1845
- @param ...? P
1846
- @return Promise<T>
1847
- ]=]
1848
- function Promise.retry(callback, times, ...)
1849
- assert(isCallable(callback), "Parameter #1 to Promise.retry must be a function")
1850
- assert(type(times) == "number", "Parameter #2 to Promise.retry must be a number")
1851
-
1852
- local args, length = { ... }, select("#", ...)
1853
-
1854
- return Promise.resolve(callback(...)):catch(function(...)
1855
- if times > 0 then
1856
- return Promise.retry(callback, times - 1, unpack(args, 1, length))
1857
- else
1858
- return Promise.reject(...)
1859
- end
1860
- end)
1861
- end
1862
-
1863
- --[=[
1864
- Repeatedly calls a Promise-returning function up to `times` number of times, waiting `seconds` seconds between each
1865
- retry, until the returned Promise resolves.
1866
-
1867
- If the amount of retries is exceeded, the function will return the latest rejected Promise.
1868
-
1869
- @since v3.2.0
1870
- @param callback (...: P) -> Promise<T>
1871
- @param times number
1872
- @param seconds number
1873
- @param ...? P
1874
- @return Promise<T>
1875
- ]=]
1876
- function Promise.retryWithDelay(callback, times, seconds, ...)
1877
- assert(isCallable(callback), "Parameter #1 to Promise.retry must be a function")
1878
- assert(type(times) == "number", "Parameter #2 (times) to Promise.retry must be a number")
1879
- assert(type(seconds) == "number", "Parameter #3 (seconds) to Promise.retry must be a number")
1880
-
1881
- local args, length = { ... }, select("#", ...)
1882
-
1883
- return Promise.resolve(callback(...)):catch(function(...)
1884
- if times > 0 then
1885
- Promise.delay(seconds):await()
1886
-
1887
- return Promise.retryWithDelay(callback, times - 1, seconds, unpack(args, 1, length))
1888
- else
1889
- return Promise.reject(...)
1890
- end
1891
- end)
1892
- end
1893
-
1894
- --[=[
1895
- Converts an event into a Promise which resolves the next time the event fires.
1896
-
1897
- The optional `predicate` callback, if passed, will receive the event arguments and should return `true` or `false`, based on if this fired event should resolve the Promise or not. If `true`, the Promise resolves. If `false`, nothing happens and the predicate will be rerun the next time the event fires.
1898
-
1899
- The Promise will resolve with the event arguments.
1900
-
1901
- :::tip
1902
- This function will work given any object with a `Connect` method. This includes all Roblox events.
1903
- :::
1904
-
1905
- ```lua
1906
- -- Creates a Promise which only resolves when `somePart` is touched
1907
- -- by a part named `"Something specific"`.
1908
- return Promise.fromEvent(somePart.Touched, function(part)
1909
- return part.Name == "Something specific"
1910
- end)
1911
- ```
1912
-
1913
- @since 3.0.0
1914
- @param event Event -- Any object with a `Connect` method. This includes all Roblox events.
1915
- @param predicate? (...: P) -> boolean -- A function which determines if the Promise should resolve with the given value, or wait for the next event to check again.
1916
- @return Promise<P>
1917
- ]=]
1918
- function Promise.fromEvent(event, predicate)
1919
- predicate = predicate or function()
1920
- return true
1921
- end
1922
-
1923
- return Promise._new(debug.traceback(nil, 2), function(resolve, _, onCancel)
1924
- local connection
1925
- local shouldDisconnect = false
1926
-
1927
- local function disconnect()
1928
- connection:Disconnect()
1929
- connection = nil
1930
- end
1931
-
1932
- -- We use shouldDisconnect because if the callback given to Connect is called before
1933
- -- Connect returns, connection will still be nil. This happens with events that queue up
1934
- -- events when there's nothing connected, such as RemoteEvents
1935
-
1936
- connection = event:Connect(function(...)
1937
- local callbackValue = predicate(...)
1938
-
1939
- if callbackValue == true then
1940
- resolve(...)
1941
-
1942
- if connection then
1943
- disconnect()
1944
- else
1945
- shouldDisconnect = true
1946
- end
1947
- elseif type(callbackValue) ~= "boolean" then
1948
- error("Promise.fromEvent predicate should always return a boolean")
1949
- end
1950
- end)
1951
-
1952
- if shouldDisconnect and connection then
1953
- return disconnect()
1954
- end
1955
-
1956
- onCancel(disconnect)
1957
- end)
1958
- end
1959
-
1960
- --[=[
1961
- Registers a callback that runs when an unhandled rejection happens. An unhandled rejection happens when a Promise
1962
- is rejected, and the rejection is not observed with `:catch`.
1963
-
1964
- The callback is called with the actual promise that rejected, followed by the rejection values.
1965
-
1966
- @since v3.2.0
1967
- @param callback (promise: Promise, ...: any) -- A callback that runs when an unhandled rejection happens.
1968
- @return () -> () -- Function that unregisters the `callback` when called
1969
- ]=]
1970
- function Promise.onUnhandledRejection(callback)
1971
- table.insert(Promise._unhandledRejectionCallbacks, callback)
1972
-
1973
- return function()
1974
- local index = table.find(Promise._unhandledRejectionCallbacks, callback)
1975
-
1976
- if index then
1977
- table.remove(Promise._unhandledRejectionCallbacks, index)
1978
- end
1979
- end
1980
- end
1981
-
1982
-
1983
- -- Cluaupp C++ surface: Then / Catch / Await / Cancel
1984
- Promise.prototype.Then = Promise.prototype.andThen
1985
- Promise.prototype.Catch = Promise.prototype.catch
1986
- Promise.prototype.Finally = Promise.prototype.finally
1987
- Promise.prototype.Await = Promise.prototype.await
1988
- Promise.prototype.Cancel = Promise.prototype.cancel
1989
-
1990
- return Promise