Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
0939b63
rm: lua files
Maximus7474 Jan 22, 2026
bedc630
chore(gitignore): update
Maximus7474 Jan 22, 2026
6f94954
rm: root web directory
Maximus7474 Jan 22, 2026
ea8bbf1
feat(data): config file
Maximus7474 Jan 22, 2026
d9713c6
chore: initialize typescript project
Maximus7474 Jan 22, 2026
b4b5a63
feat: editorconfig
Maximus7474 Jan 22, 2026
f0d03f7
feat: bun.lock
Maximus7474 Jan 22, 2026
e739b82
chore(web): cleanup via prettier
Maximus7474 Jan 22, 2026
8d9f364
refactor(client/utils): serverNUiCallback
Maximus7474 Jan 22, 2026
6f9d73d
feat(typings): mdt types & interfaces
Maximus7474 Jan 22, 2026
3eb96a2
fix(client/utils): added templating to ServerNuiCallback
Maximus7474 Jan 22, 2026
efca6d3
tweak(typings/mdt): added title to Officer type
Maximus7474 Jan 22, 2026
176d097
feat(client): framework helper get officer title
Maximus7474 Jan 22, 2026
a580faa
chore(client): setup all server nui callbacks
Maximus7474 Jan 22, 2026
e82d113
fix(prettierrc): removed tailwind plugin
Maximus7474 Jan 22, 2026
97ac84a
chore: don't track yarn installed
Maximus7474 Jan 22, 2026
7787c08
feat(server): db module
Maximus7474 Jan 22, 2026
a86ffae
feat(server): officer manager class
Maximus7474 Jan 22, 2026
7acaad9
chore: move permissions to data/
Maximus7474 Jan 22, 2026
d888e66
feat(common): permission loader
Maximus7474 Jan 22, 2026
ea48ec1
feat(server/framework): initialize group permissions on resource start
Maximus7474 Jan 22, 2026
f684106
feat(server/framework): added event listeners for ativeGroup, loaded …
Maximus7474 Jan 22, 2026
343bfbe
fix(server/framework): on resource start run addOfficer on all connec…
Maximus7474 Jan 22, 2026
65c1048
feat(server/framework): ace permission check
Maximus7474 Jan 23, 2026
81fcb5f
feat(server/utils): authorized callback check
Maximus7474 Jan 23, 2026
b9b5fc1
chore: prettier clean up
Maximus7474 Jan 23, 2026
fb3960e
fix(typings/mdt): unit type having a number id and not string
Maximus7474 Jan 23, 2026
3002515
fix(typings/mdt): have Units be a record and not an array
Maximus7474 Jan 23, 2026
8a5e02e
feat(server): unit manager class
Maximus7474 Jan 23, 2026
95dce87
feat(server/unitManager): added create & update unit type methods
Maximus7474 Jan 23, 2026
2407263
refactor(server/unitManager): add overloads to allow batch adding of …
Maximus7474 Jan 23, 2026
99050d6
feat(server/unitManager): added get unit methods
Maximus7474 Jan 23, 2026
75a2a47
feat(typings/mdt): helper function to check if unit type is valid
Maximus7474 Jan 23, 2026
f11b5d4
feat(server/callbacks): unit related callbacks
Maximus7474 Jan 23, 2026
786daa8
tweak(server/framework): db query string layout
Maximus7474 Jan 23, 2026
36dd878
refactor(server): created manager directory
Maximus7474 Jan 23, 2026
a27d1d6
feat(server/managers): added getUnit method
Maximus7474 Jan 23, 2026
17d9735
feat(server/managers): call manager
Maximus7474 Jan 23, 2026
3b9a9f6
chore(typings/mdt): improve Call interface
Maximus7474 Jan 23, 2026
db3a4c6
fix(server/managers): added addUnitToCall method
Maximus7474 Jan 23, 2026
720606b
feat(server/callbacks): call related callbacks
Maximus7474 Jan 23, 2026
9714a92
doc(server/managers): Callmanager ToDo
Maximus7474 Jan 23, 2026
d411a26
feat(server/callbacks): charge related callbacks
Maximus7474 Jan 23, 2026
1e7e15f
chore: prettier clean up
Maximus7474 Jan 23, 2026
dfa4121
feat(server/db): add missing announcement queries
Maximus7474 Jan 23, 2026
ab6d044
feat(server/callbacks): annoucement related callbacks
Maximus7474 Jan 23, 2026
902f52e
feat(typings): bolo interfaces
Maximus7474 Jan 24, 2026
e4e1625
feat(server/db): addec crud operations for bolos
Maximus7474 Jan 24, 2026
8058080
feat(server/callbacks): bolo related callabacks
Maximus7474 Jan 24, 2026
5b0cf6b
feat(common): export permission keys type
Maximus7474 Jan 24, 2026
50b77da
refactor(server/utils): use PermissionKeys type for callback
Maximus7474 Jan 24, 2026
6b28697
chore(server/callbacks): removed unused import from announcements
Maximus7474 Jan 24, 2026
9d86829
chore(typings/mdt): added dob to FetchCriminals
Maximus7474 Jan 24, 2026
c74718d
feat(server/db): report related methods
Maximus7474 Jan 24, 2026
6e70d80
feat(server/callbacks): report related callbacks
Maximus7474 Jan 24, 2026
fbc4159
chore(server): load callbacks to runtime
Maximus7474 Jan 24, 2026
11167a0
chore(server): on resource stop clear mdt unitId statebag
Maximus7474 Jan 24, 2026
93c7671
feat(server/utils): profileCards handler
Maximus7474 Jan 25, 2026
591e131
feat(typings): profile card data interface
Maximus7474 Jan 25, 2026
2269c73
feat(server/callbacks): added profilecard callbacks
Maximus7474 Jan 25, 2026
2878626
feat(server/db): added getPastCharges
Maximus7474 Jan 25, 2026
96b1980
feat(server/db): profile fetching queries
Maximus7474 Jan 25, 2026
7102af1
feat(server/callbacks): profile callbacks in reports module
Maximus7474 Jan 25, 2026
78a781b
feat(server/db): added officer adding/removing from reports
Maximus7474 Jan 25, 2026
fd8641d
feat(server/callbacks): added officer add & remove callbacks to reports
Maximus7474 Jan 25, 2026
8f362e7
feat(typings/mdt): warrant type
Maximus7474 Jan 25, 2026
24d80fd
feat(server/db): select warrant method
Maximus7474 Jan 25, 2026
dab1905
feat(server/callbacks): warrants module
Maximus7474 Jan 25, 2026
b31aa50
chore(server/callbacks): move ox_mdt:saveCriminal to warrants as it p…
Maximus7474 Jan 25, 2026
6f04c72
feat(server/db): officer related queries
Maximus7474 Jan 25, 2026
1836efa
feat(server/callbacks): officer related callbacks
Maximus7474 Jan 25, 2026
04f7ec5
chore: prettier cleanup
Maximus7474 Jan 25, 2026
3c004ae
fix(server/callbacks): missing warrants import
Maximus7474 Jan 25, 2026
b8964d7
refactor(server): update DB import paths to streamline framework access
Maximus7474 Jan 25, 2026
8b077bd
feat(server/callbacks): added hire, fire & set grade officer callbacks
Maximus7474 Jan 25, 2026
6192a64
fix(web/state): permissions import for characters
Maximus7474 Jan 25, 2026
9c4a8f0
refactor(client): move all server callbacks to separate file
Maximus7474 Jan 25, 2026
ac7a405
chore(server): move charge types to typings
Maximus7474 Jan 25, 2026
f4e3a87
feat(server/callbacks): added missing openMDT to officers cb module
Maximus7474 Jan 25, 2026
3194151
feat(client/nui): mdt ui state handler
Maximus7474 Jan 25, 2026
1a85cd5
feat(client): animManager
Maximus7474 Jan 25, 2026
250fc7e
refactor(client): framework module to playerManager
Maximus7474 Jan 25, 2026
2d40426
refactor(client/serverCallbacks): use Playermanager to clean up titles
Maximus7474 Jan 25, 2026
826065a
feat(client): keybinds to interact with the script
Maximus7474 Jan 25, 2026
3fbd6c7
fix(server/framework): falsey check on get group to addOfficer
Maximus7474 Jan 25, 2026
58b54af
fix(client/mdtState): not awaiting server response
Maximus7474 Jan 25, 2026
86b09ed
fix(server/db): fetchRoster method
Maximus7474 Jan 25, 2026
a4122a5
fix(client/playerManager): correct grade label generation
Maximus7474 Jan 25, 2026
d2df8cb
feat(server/callbacks): added fetchRoster to officers module
Maximus7474 Jan 25, 2026
81acb4a
fix(server/utils): corrected auth check in callback wrapper
Maximus7474 Jan 25, 2026
b7ae347
fix(server/framework): authorizedCheck not creating the permission st…
Maximus7474 Jan 25, 2026
2381017
tweak(server/utils): added dev log if no permission
Maximus7474 Jan 25, 2026
481db99
feat(client/mdtState): export openMDT
Maximus7474 Jan 25, 2026
ee12b4c
fix(client/mdtState): not hiding ui when ESC is used to close MDT & c…
Maximus7474 Jan 25, 2026
cd28ed1
fix(client/mdtState): private static flage messing with my brain
Maximus7474 Jan 25, 2026
b04545e
fix(client/animManager): guess what requestAnimDict is async like int…
Maximus7474 Jan 25, 2026
432a6eb
fix(web/typings): permissions import path
Maximus7474 Jan 26, 2026
00de4cc
fix(client/playerManager): private static fields messing with my brai…
Maximus7474 Jan 26, 2026
5625c43
fix(server/callbacks): invalid callback check for officer ser rank
Maximus7474 Jan 26, 2026
a14aad6
chore(client/playerManager): removed commented lua code
Maximus7474 Jan 26, 2026
7adb3f6
fix(web/dispatch): create unit button disabled when not in unit & has…
Maximus7474 Jan 26, 2026
7661ea5
fix(server): announcements db querying & pagination
Maximus7474 Jan 26, 2026
d4cc1a6
feat(typings/mdt): added db bolo recap
Maximus7474 Jan 26, 2026
243e664
fix(server): bolo query, pagination and formatting
Maximus7474 Jan 26, 2026
b1d16f4
fix(server/callManager): wrap exports for createCall and updateCallCo…
Maximus7474 Jan 26, 2026
b8a7c3d
fix(client/nui/mdtState): wrap openMdt export in an arrow function
Maximus7474 Jan 26, 2026
ae87575
fix(server/db): missing type import
Maximus7474 Jan 26, 2026
f98f394
fix(server/officerManager): wrap startPositionUpdater in set immediat
Maximus7474 Jan 26, 2026
f6015be
fix(server/callbacks): fix query to fire officer if player is offline
Maximus7474 Jan 26, 2026
14264ff
feat(client/nui): mdt loaded state getter
Maximus7474 Jan 26, 2026
7e20461
feat(client): various onNet and nui handlers that were missing
Maximus7474 Jan 26, 2026
1479ccb
refactor(typings): change Units to array and not record based
Maximus7474 Jan 26, 2026
fe6213b
chore(server/db): removed somehow duplicate/unused query wrappers
Maximus7474 Jan 27, 2026
4ed7857
fix(server/db): improved search queries by formatting search value
Maximus7474 Jan 27, 2026
b9cf46b
chore: prettier cleanup
Maximus7474 Jan 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120

[*.lua]
indent_size = 4
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea
.vscode
node_modules
dist
build
/dist
/fxmanifest.lua
.yarn.installed
3 changes: 2 additions & 1 deletion web/.prettierrc → .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"tabWidth": 2,
"semi": true,
"bracketSpacing": true,
"trailingComma": "es5"
"trailingComma": "es5",
"plugins": []
}
623 changes: 623 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

90 changes: 0 additions & 90 deletions client/framework/ox_core.lua

This file was deleted.

Loading