29 Commits
Author SHA1 Message Date
Luke b2b1a64c8f chore(nui): WIP React rewrite 2021-12-30 20:05:07 +01:00
dunak-debug 0290ea17e3 feat(ui): Client-side wrapper 2021-12-27 12:59:14 +01:00
Luke b0f25778fd fix: Set correct fxmanifest bundle.js path 2021-12-26 20:35:22 +01:00
Luke 5bbf30e4b4 feat: Initial UI files 2021-12-26 15:41:43 +01:00
Linden 36dd8ddd14 refactor: utilise new exports and deprecate old ones
Exports now utilise more accurate names to reflect their behaviour, with less confusion for JS users (await executeSync is no more).

Exports return promises or callback results directly to reduce promise chaining.

Promise exports now fully utilise JS, with Lua being removed from the resource - version checking runs through JS instead.

Various improvements to lib/MySQL as well as introduction of a prepare wrapper.
2021-12-23 14:15:17 +11:00
Linden 9de50f684f refactor(lua): remove file check and move to subdirectory 2021-10-31 06:48:00 +11:00
Linden 4913d6e50a chore: Version bump 2021-10-24 02:15:10 +11:00
Linden f7ed2d5b60 chore: Bump version 2021-10-19 04:41:55 +11:00
Linden abf259543d chore: Update version and dependencies 2021-10-18 02:19:09 +11:00
Linden b1babdbc09 chore: Update version 2021-10-17 02:04:09 +11:00
Linden c1f5bb3375 chore: Version bump 2021-10-16 10:43:27 +11:00
Linden 31959beb85 fix(manifest): Disable server_only
- Until dependencies can be used for server only resources, disable this to prevent clients failing to load.
2021-10-11 03:22:55 +11:00
Linden a06cf65d10 feat(lib): safeArguments function to assert types
- Ensures each argument has the expected type
- Refactor each function for reduced code duplication
- Correctly check Store for number queries (Async functions did not retrieve string)
2021-10-08 05:51:07 +11:00
dunak-debug 6acd0ac352 chore: Bump to 1.5.0 2021-10-06 23:52:38 +02:00
Linden 7e5d4cce06 chore: Version bump and set to production 2021-09-27 10:13:36 +10:00
dunak-debug 372a95632c refactor: Transaction tweaks and version bump 1.4.0 2021-09-20 17:32:58 +02:00
dunak-debug 5e89d62688 chore: Bump version to 1.3.5
- Removed unused ts-loader
2021-09-20 13:45:55 +02:00
BerkieBb 076e327c9a feat: Change game to common to enable support for other game like rdr3 2021-09-19 20:41:30 +02:00
Linden c5f150e003 improvement: Only display warnings if callback is defined
- Non-function callbacks will display a warning.
- This makes the third argument optional for async queries.
2021-09-19 04:25:42 +10:00
dunak-debug 4b2b564591 chore: Bump version to 1.3.2 2021-09-18 12:45:37 +02:00
Linden be221b70d3 feat: Enable JS sync exports if wrapper.lua is not loaded 2021-09-18 10:28:40 +10:00
Linden b01e30d7b1 feat: New js sync exports (disabled by default)
New exports are faster than the lua wrapper and should be used to replace them

- Require a recent non-recommended server artifact
- If enabled, wrapper.lua should be removed

Lua 5.4 is enabled for improved memory and garbage collection when using the old wrapper
2021-09-17 06:30:58 +10:00
dunak-debug e09b3482ba chore: bump version to 1.2.0 2021-09-12 18:09:37 +02:00
dunak-debug 93d86f849a chore: bump version to 1.1.0 2021-09-11 03:40:23 +02:00
darksaid98 8be251382d feat(fxmanifest): set server_only
- Since the script only runs on the server there is no need for clients to be aware of it's existance
2021-09-09 15:28:34 +02:00
dunak-debug ce0d35fcf2 chore(version): setup first release 0.1.0 2021-08-17 16:50:25 +02:00
dunak-debug 8df05c748b refactor: remove typescript and refactor 2021-08-17 02:58:31 +02:00
dunak-debug c242e03baf feat(mysql): setup insert, single, scalar exports
- renamed test.lua to wrapper.lua
- use local function for documentation (maybe?)
- setup sync wrappers
2021-08-16 15:29:00 +02:00
dunak-debug b2ade77589 feat(mysql): setup execute export
- also setup test.lua for testing
2021-08-16 00:12:28 +02:00