artifacts-api-client 1.5.0 → 1.6.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/README.md +3 -0
- package/dist/api/artifacts-leaderboard.api.d.ts +8 -0
- package/dist/api/artifacts-leaderboard.api.js +16 -0
- package/dist/api/artifacts-my-account.api.d.ts +3 -3
- package/dist/api/artifacts-my-account.api.js +3 -3
- package/dist/api/artifacts-my-characters.api.d.ts +5 -1
- package/dist/api/artifacts-my-characters.api.js +12 -0
- package/dist/api/artifacts.api.d.ts +2 -0
- package/dist/api/artifacts.api.js +3 -0
- package/dist/api/types/api-schema-bindings.types.d.ts +20 -16
- package/dist/api/types/api-schema.types.d.ts +819 -176
- package/package.json +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "artifacts-api-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Api client for https://artifactsmmo.com",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": "https://github.com/siranweb/artifacts-api-client.git",
|
|
@@ -11,10 +11,13 @@
|
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
+
"pre-build": "npm run ts-check && npm run lint && npm run format",
|
|
14
15
|
"ts-check": "tsc --noEmit",
|
|
15
16
|
"lint": "eslint --max-warnings 0 --ext .ts lib",
|
|
16
17
|
"format": "prettier --log-level warn --write lib",
|
|
17
|
-
"
|
|
18
|
+
"update:schema": "npm run generate:schema && npm run format:schema",
|
|
19
|
+
"format:schema": "prettier --log-level warn --write lib/api/types/api-schema.types.ts",
|
|
20
|
+
"generate:schema": "openapi-typescript https://api.artifactsmmo.com/openapi.json -o lib/api/types/api-schema.types.ts"
|
|
18
21
|
},
|
|
19
22
|
"author": "Kirill Gerasimenko <siranweb.public@tuta.io>",
|
|
20
23
|
"license": "MIT",
|