mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +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
14 lines
836 B
Markdown
14 lines
836 B
Markdown
# DMAPI Internals
|
|
|
|
This folder should be placed on its own inside a codebase that wishes to use the TGS DMAPI. Warranty void if modified.
|
|
|
|
- [includes.dm](./includes.dm) is the file that should be included by DM code, it handles including the rest.
|
|
- The [core](./core) folder includes all code not directly part of any API version.
|
|
- The other versioned folders contain code for the different DMAPI versions.
|
|
- [v3210](./v3210) contains the final TGS3 API.
|
|
- [v4](./v4) is the legacy DMAPI 4 (Used in TGS 4.0.X versions).
|
|
- [v5](./v5) is the current DMAPI version used by TGS >=4.1.
|
|
- [LICENSE](./LICENSE) is the MIT license for the DMAPI.
|
|
|
|
APIs communicate with TGS in two ways. All versions implement TGS -> DM communication using /world/Topic. DM -> TGS communication, called the bridge method, is different for each version.
|