@liaisongroup/assist-api-js-client 1.5.39
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/README.md +51 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +9 -0
- package/dist/openapi.d.ts +5368 -0
- package/dist/openapi.json +13260 -0
- package/dist/openapi.zod.d.ts +145945 -0
- package/dist/openapi.zod.js +1710 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.js +8 -0
- package/dist/zod_template.hbs +9 -0
- package/package.json +76 -0
package/dist/utils.d.ts
ADDED
package/dist/utils.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import hljs from "highlight.js/lib/core";
|
|
2
|
+
import json from "highlight.js/lib/languages/json";
|
|
3
|
+
import "highlight.js/styles/tokyo-night-dark.min.css";
|
|
4
|
+
hljs.registerLanguage("json", json);
|
|
5
|
+
export function highlight(data) {
|
|
6
|
+
const json_string = typeof data === "string" ? data : JSON.stringify(data, null, 2);
|
|
7
|
+
return hljs.highlight(json_string, { language: "json" }).value;
|
|
8
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.5.39",
|
|
3
|
+
"name": "@liaisongroup/assist-api-js-client",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"repository": {
|
|
6
|
+
"url": "git+https://github.com/liaisongroup/assist-api-js-client.git"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "bun ./scripts/dev",
|
|
10
|
+
"generate": "bun ./scripts/generate",
|
|
11
|
+
"build": "vite build && npm run package",
|
|
12
|
+
"preview": "vite preview",
|
|
13
|
+
"package": "bun generate && svelte-kit sync && svelte-package && publint",
|
|
14
|
+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
15
|
+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
16
|
+
"format": "prettier --write .",
|
|
17
|
+
"lint": "prettier --check . && eslint ."
|
|
18
|
+
},
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"svelte": "./dist/index.js",
|
|
23
|
+
"default": {
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"default": "./dist/index.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"./zod": {
|
|
29
|
+
"types": "./dist/openapi.zod.d.ts",
|
|
30
|
+
"svelte": "./dist/openapi.zod.js"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist",
|
|
35
|
+
"!dist/**/*.test.*",
|
|
36
|
+
"!dist/**/*.spec.*"
|
|
37
|
+
],
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"openapi-client-axios": "^7",
|
|
40
|
+
"zod": "^3"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@biomejs/biome": "^1.9.4",
|
|
44
|
+
"@eslint/compat": "^1.2.7",
|
|
45
|
+
"@eslint/js": "^9.22.0",
|
|
46
|
+
"@sveltejs/adapter-auto": "^4.0.0",
|
|
47
|
+
"@sveltejs/kit": "^2.20.1",
|
|
48
|
+
"@sveltejs/package": "^2.3.10",
|
|
49
|
+
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
50
|
+
"@types/bun": "^1.2.5",
|
|
51
|
+
"@types/js-yaml": "^4.0.9",
|
|
52
|
+
"axios": "^1.8.3",
|
|
53
|
+
"bun-plugin-yml": "^0.3.1",
|
|
54
|
+
"eslint": "^9.22.0",
|
|
55
|
+
"eslint-config-prettier": "^10.1.1",
|
|
56
|
+
"eslint-plugin-svelte": "^3.3.2",
|
|
57
|
+
"globals": "^16.0.0",
|
|
58
|
+
"highlight.js": "^11.11.1",
|
|
59
|
+
"js-yaml": "^4.1.0",
|
|
60
|
+
"openapi-zod-client": "^1.18.3",
|
|
61
|
+
"openapicmd": "^2.6.1",
|
|
62
|
+
"prettier": "^3.5.3",
|
|
63
|
+
"prettier-plugin-svelte": "^3.3.3",
|
|
64
|
+
"publint": "^0.3.9",
|
|
65
|
+
"svelte": "^5.23.2",
|
|
66
|
+
"svelte-check": "^4.1.5",
|
|
67
|
+
"tslib": "^2.8.1",
|
|
68
|
+
"typescript": "^5.8.2",
|
|
69
|
+
"typescript-eslint": "^8.26.1",
|
|
70
|
+
"vite": "^6.2.2",
|
|
71
|
+
"zod": "^3.24.2"
|
|
72
|
+
},
|
|
73
|
+
"svelte": "./dist/index.js",
|
|
74
|
+
"types": "./dist/index.d.ts",
|
|
75
|
+
"type": "module"
|
|
76
|
+
}
|