bloxd.io.d.ts 2.0.0 → 2.1.0
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/LICENSE +21 -0
- package/package.json +29 -29
- package/readme.md +48 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License Copyright (c) 2026 bulebrainbrand
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free
|
|
4
|
+
of charge, to any person obtaining a copy of this software and associated
|
|
5
|
+
documentation files (the "Software"), to deal in the Software without
|
|
6
|
+
restriction, including without limitation the rights to use, copy, modify, merge,
|
|
7
|
+
publish, distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to the
|
|
9
|
+
following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice
|
|
12
|
+
(including the next paragraph) shall be included in all copies or substantial
|
|
13
|
+
portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
16
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
17
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
|
|
18
|
+
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
19
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
20
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "bloxd.io.d.ts",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "yo",
|
|
5
|
-
"main": "",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/bulebrainbrand/bloxd.io.d.ts.git"
|
|
10
|
-
},
|
|
11
|
-
"keywords": [],
|
|
12
|
-
"author": "",
|
|
13
|
-
"license": "
|
|
14
|
-
"type": "module",
|
|
15
|
-
"bugs": {
|
|
16
|
-
"url": "https://github.com/bulebrainbrand/bloxd.io.d.ts/issues"
|
|
17
|
-
},
|
|
18
|
-
"homepage": "https://github.com/bulebrainbrand/bloxd.io.d.ts#readme",
|
|
19
|
-
"files": [
|
|
20
|
-
"dist/"
|
|
21
|
-
],
|
|
22
|
-
"scripts": {
|
|
23
|
-
"build": "tsc && tsc-alias"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"tsc-alias": "^1.8.16",
|
|
27
|
-
"typescript": "^6.0.2"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "bloxd.io.d.ts",
|
|
3
|
+
"version": "2.1.0",
|
|
4
|
+
"description": "yo",
|
|
5
|
+
"main": "",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/bulebrainbrand/bloxd.io.d.ts.git"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [],
|
|
12
|
+
"author": "",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"type": "module",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/bulebrainbrand/bloxd.io.d.ts/issues"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://github.com/bulebrainbrand/bloxd.io.d.ts#readme",
|
|
19
|
+
"files": [
|
|
20
|
+
"dist/"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "tsc && tsc-alias"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"tsc-alias": "^1.8.16",
|
|
27
|
+
"typescript": "^6.0.2"
|
|
28
|
+
}
|
|
29
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,3 +1,50 @@
|
|
|
1
1
|
this project is not offical bloxd.io repo.
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## how to use
|
|
4
|
+
|
|
5
|
+
Use `npm i bloxd.io.d.ts -D` in terminal(need node.js)
|
|
6
|
+
|
|
7
|
+
and add this option in tsconfig.json
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"compileOptions": {
|
|
12
|
+
"types": ["bloxd.io.d.ts"]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## why use this
|
|
18
|
+
|
|
19
|
+
This package include bloxd.io api docment and d.ts.
|
|
20
|
+
It useful typecheck(as typescript),lint and killing typo(most important).
|
|
21
|
+
|
|
22
|
+
## how to contribute
|
|
23
|
+
|
|
24
|
+
- add more api type in src.
|
|
25
|
+
- add more docment.
|
|
26
|
+
- check code.
|
|
27
|
+
- use this package
|
|
28
|
+
|
|
29
|
+
## repo structure
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
src/
|
|
33
|
+
api-type-def/ # api functions type define
|
|
34
|
+
clientOption/ # clientOption apis define
|
|
35
|
+
clientOptions/ # clientOption function overload define(by clientOption name)
|
|
36
|
+
index.ts # marge clientOptions overload
|
|
37
|
+
|
|
38
|
+
entitySetting/ # entitySetting define
|
|
39
|
+
entitySettings/ # entitySetting function overload(by entitySetting name)
|
|
40
|
+
index.ts # marge entitySetting overload
|
|
41
|
+
mobSetting/ # making now...
|
|
42
|
+
|
|
43
|
+
normal/ # define other apis
|
|
44
|
+
|
|
45
|
+
index.ts # marge api
|
|
46
|
+
type/ # use type define e.g.`PlayerId`
|
|
47
|
+
index.ts # top level file
|
|
48
|
+
|
|
49
|
+
dist/ # d.ts result of tsc.npm package install target
|
|
50
|
+
```
|