@open-wa/api 5.9.7 → 5.10.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/dashboard-neo/dist/assets/AgentScalarDrawer.vue-BnDsuf6m.js +25 -0
- package/dashboard-neo/dist/assets/__vite-browser-external-PaJ7c2l8.js +1 -0
- package/dashboard-neo/dist/assets/{browser-BZ15CuJT.js → browser-D8y2XapB.js} +1 -1
- package/dashboard-neo/dist/assets/{browser-C0EiRyFU.js → browser-DfBsyWtF.js} +4 -4
- package/dashboard-neo/dist/assets/ci-info-CDtqIEnS.js +1 -0
- package/dashboard-neo/dist/assets/index-BOp-_zqb.js +2469 -0
- package/dashboard-neo/dist/assets/{index-CCt9xTQn.css → index-u08XsVQ9.css} +1 -1
- package/dashboard-neo/dist/assets/modal-nZ7FbWsp.js +5 -0
- package/dashboard-neo/dist/assets/{parse-html-description-jkhvFhyr.js → parse-html-description-HRIisAnu.js} +1 -1
- package/dashboard-neo/dist/assets/{request-example-BHdxuAFN.js → request-example-_ni4k2bu.js} +1 -1
- package/dashboard-neo/dist/assets/rolldown-runtime-B0Z9INg1.js +1 -0
- package/dashboard-neo/dist/assets/{workspace-events-ChVrGCst.js → workspace-events-BBP1JVYk.js} +5 -5
- package/dashboard-neo/dist/index.html +6 -6
- package/dist/index.cjs +6 -2
- package/package.json +4 -4
- package/src/docs/openapi.ts +1 -1
- package/dashboard-neo/dist/assets/AgentScalarDrawer.vue-BMUZiAhR.js +0 -25
- package/dashboard-neo/dist/assets/__vite-browser-external-2W3EstLn.js +0 -1
- package/dashboard-neo/dist/assets/index-B5hYF1GV.js +0 -2253
- package/dashboard-neo/dist/assets/modal-C1xfqJcy.js +0 -5
- package/dashboard-neo/dist/assets/rolldown-runtime-hePW80VL.js +0 -1
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<title>open-wa Dashboard</title>
|
|
7
7
|
<meta name="description" content="Session management dashboard for open-wa" />
|
|
8
|
-
<script type="module" crossorigin src="/dashboard/assets/index-
|
|
9
|
-
<link rel="modulepreload" crossorigin href="/dashboard/assets/rolldown-runtime-
|
|
8
|
+
<script type="module" crossorigin src="/dashboard/assets/index-BOp-_zqb.js"></script>
|
|
9
|
+
<link rel="modulepreload" crossorigin href="/dashboard/assets/rolldown-runtime-B0Z9INg1.js">
|
|
10
10
|
<link rel="modulepreload" crossorigin href="/dashboard/assets/reactivity.esm-bundler-BNk6Zv_g.js">
|
|
11
|
-
<link rel="modulepreload" crossorigin href="/dashboard/assets/request-example-
|
|
11
|
+
<link rel="modulepreload" crossorigin href="/dashboard/assets/request-example-_ni4k2bu.js">
|
|
12
12
|
<link rel="modulepreload" crossorigin href="/dashboard/assets/runtime-core.esm-bundler-2tpRQTw-.js">
|
|
13
13
|
<link rel="modulepreload" crossorigin href="/dashboard/assets/markdown-BSj1FMVF.js">
|
|
14
|
-
<link rel="modulepreload" crossorigin href="/dashboard/assets/browser-
|
|
15
|
-
<link rel="modulepreload" crossorigin href="/dashboard/assets/workspace-events-
|
|
14
|
+
<link rel="modulepreload" crossorigin href="/dashboard/assets/browser-D8y2XapB.js">
|
|
15
|
+
<link rel="modulepreload" crossorigin href="/dashboard/assets/workspace-events-BBP1JVYk.js">
|
|
16
16
|
<link rel="modulepreload" crossorigin href="/dashboard/assets/preload-helper-4fm5x995.js">
|
|
17
|
-
<link rel="stylesheet" crossorigin href="/dashboard/assets/index-
|
|
17
|
+
<link rel="stylesheet" crossorigin href="/dashboard/assets/index-u08XsVQ9.css">
|
|
18
18
|
</head>
|
|
19
19
|
<body>
|
|
20
20
|
<div id="app"></div>
|
package/dist/index.cjs
CHANGED
|
@@ -217,11 +217,15 @@ function createApiMiddleware(clientSource, options) {
|
|
|
217
217
|
//#endregion
|
|
218
218
|
//#region src/version.ts
|
|
219
219
|
/** Version of the API package running the Easy API server. */
|
|
220
|
-
const API_VERSION = "5.
|
|
220
|
+
const API_VERSION = "5.10.0";
|
|
221
221
|
//#endregion
|
|
222
222
|
//#region src/docs/openapi.ts
|
|
223
223
|
function schemaToOpenApi(schema) {
|
|
224
|
-
if (typeof schema?.toJSONSchema === "function") return schema.toJSONSchema({
|
|
224
|
+
if (typeof schema?.toJSONSchema === "function") return schema.toJSONSchema({
|
|
225
|
+
target: "openapi-3.0",
|
|
226
|
+
io: "input",
|
|
227
|
+
unrepresentable: "any"
|
|
228
|
+
});
|
|
225
229
|
return {
|
|
226
230
|
type: "object",
|
|
227
231
|
additionalProperties: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-wa/api",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.10.0",
|
|
4
4
|
"description": "Reusable Easy API transport and runtime explorer layer for open-wa",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"types": "./dist/index.d.cts",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@elastic/elasticsearch": "^9.5.1",
|
|
21
21
|
"@hono/node-server": "^2.1.1",
|
|
22
|
-
"@open-wa/mcp": "5.
|
|
23
|
-
"@open-wa/schema": "5.
|
|
24
|
-
"@open-wa/screencaster": "5.
|
|
22
|
+
"@open-wa/mcp": "5.10.0",
|
|
23
|
+
"@open-wa/schema": "5.10.0",
|
|
24
|
+
"@open-wa/screencaster": "5.10.0",
|
|
25
25
|
"hono": "^4.13.9",
|
|
26
26
|
"tree-kill": "^1.2.2",
|
|
27
27
|
"ws": "^8.22.0"
|
package/src/docs/openapi.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { API_VERSION } from '../version';
|
|
|
4
4
|
|
|
5
5
|
function schemaToOpenApi(schema: { toJSONSchema?: (params?: unknown) => unknown }) {
|
|
6
6
|
if (typeof schema?.toJSONSchema === 'function') {
|
|
7
|
-
return schema.toJSONSchema({ target: 'openapi-3.0' });
|
|
7
|
+
return schema.toJSONSchema({ target: 'openapi-3.0', io: 'input', unrepresentable: 'any' });
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
return { type: 'object', additionalProperties: true };
|