mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
Re-creation of https://github.com/Aurorastation/Aurora.3/pull/21046 to skip merge conflict hell. Brings us modern TGUI. **ALTERNATE TITLE: TGUI HELLSCAPE PR ABANDON ALL HOPE YE WHO ENTER HERE** - [x] Migrate build tools (javascript -> typescript, bun for package management). - [x] Upgrade all TGUI dependencies and associated root files to TG-congruent versions (axios, babel, dompurify, eslint, highlight, marked, prettier, sass, source-map, stacktrace-parser, typescript). - [x] InfernoJS -> React migrations - [x] React cleanup and polish (migrate all remaining .js files to appropriate .ts or .tsx filetype, all remaining hooks, linting, error corrections, etc.) - [ ] Test all remaining TGUI interfaces
DMAPI V5
This DMAPI implements bridge requests using HTTP GET requests to TGS. It has no security restrictions.
- __interop_version.dm contains the version of the API used between the DMAPI and TGS.
- _defines.dm contains constant definitions.
- api.dm contains the bulk of the API code.
- bridge.dm contains functions related to making bridge requests.
- chunking.dm contains common function for splitting large raw data sets into chunks BYOND can natively process.
- commands.dm contains functions relating to
/datum/tgs_chat_commands. - serializers.dm contains function to help convert interop
/datums into a JSON encodablelist()format. - topic.dm contains functions related to processing topic requests.
- undefs.dm Undoes the work of
_defines.dm.