@cybermp-community/server-types 1.0.0 → 1.0.3

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.
package/README.md CHANGED
@@ -1,5 +1,4 @@
1
1
  # CyberMP Server Types
2
- > By [CyberMP Community Developers](https://gitlab.com/cybermp).
3
2
 
4
3
  This repository contains the TypeScript type definitions for the **[CyberMP](https://cyber.mp) multiplayer server**, providing comprehensive type safety and IntelliSense support for server-side development.
5
4
 
@@ -39,6 +38,10 @@ bun add -d @cybermp-community/server-types
39
38
  }
40
39
  ```
41
40
 
41
+ ## 📜 Disclaimer
42
+
43
+ This repository is developed by [CyberMP Community Developers](https://gitlab.com/cybermp) and is not directly related to CyberMP (cyber.mp).
44
+
42
45
  ## ⚖️ License
43
46
 
44
47
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
package/package.json CHANGED
@@ -1,9 +1,29 @@
1
1
  {
2
2
  "name": "@cybermp-community/server-types",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "description": "TypeScript type definitions for the CyberMP server-side environment.",
5
5
  "license": "MIT",
6
- "main": "./src/index.d.ts",
6
+ "author": {
7
+ "name": "An1by",
8
+ "url": "https://gitlab.com/an1by"
9
+ },
10
+ "contributors": [
11
+ "terminaate"
12
+ ],
13
+ "repository": {
14
+ "type": "gitlab",
15
+ "url": "https://gitlab.com/cybermp/types/server"
16
+ },
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "types": "./src/index.d.ts",
21
+ "exports": {
22
+ ".": {
23
+ "import": "./src/index.d.ts",
24
+ "types": "./src/index.d.ts"
25
+ }
26
+ },
7
27
  "files": [
8
28
  "src"
9
29
  ],
@@ -19,16 +39,5 @@
19
39
  "server",
20
40
  "cp2077",
21
41
  "types"
22
- ],
23
- "repository": {
24
- "type": "gitlab",
25
- "url": "https://gitlab.com/cybermp/types/server"
26
- },
27
- "author": {
28
- "name": "An1by",
29
- "url": "https://gitlab.com/an1by"
30
- },
31
- "contributors": [
32
- "terminaate"
33
42
  ]
34
43
  }
package/src/mp/index.d.ts CHANGED
@@ -35,6 +35,4 @@ export interface MpServer {
35
35
  config: MpServ.ServerConfig;
36
36
  }
37
37
 
38
- declare global {
39
- var mp: MpServer;
40
- }
38
+ export const mp: MpServer;