@scalar/api-client 2.20.0 → 2.20.1
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/CHANGELOG.md +20 -0
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request.js +32 -31
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +2 -2
- package/dist/v2/blocks/request-block/RequestBlock.vue2.js +34 -33
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +3 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js +28 -28
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +31 -22
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
- package/dist/v2/components/data-table/DataTableCheckbox.vue.js +2 -2
- package/dist/v2/features/operation/Operation.vue.js +1 -1
- package/dist/v2/features/operation/helpers/combine-params.d.ts +2 -2
- package/dist/v2/features/operation/helpers/combine-params.d.ts.map +1 -1
- package/dist/v2/features/operation/helpers/combine-params.js +11 -10
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +12 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combine-params.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/operation/helpers/combine-params.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"combine-params.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/operation/helpers/combine-params.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAA;AAEnH,4FAA4F;AAC5F,eAAO,MAAM,aAAa,GACxB,aAAY,cAAc,CAAC,YAAY,CAAM,EAC7C,kBAAiB,eAAe,CAAC,YAAY,CAAM,KAClD,eAAe,CAAC,YAAY,CAqB9B,CAAA"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { getResolvedRef as n } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
2
|
+
const m = (a = [], r = []) => {
|
|
3
|
+
const o = r.flatMap((t) => {
|
|
4
|
+
const e = n(t);
|
|
5
|
+
return e ? `${e.in}:${e.name}` : [];
|
|
6
|
+
}), s = new Set(o);
|
|
7
|
+
return [...a.filter((t) => {
|
|
8
|
+
const e = n(t);
|
|
9
|
+
return e ? !s.has(`${e.in}:${e.name}`) : !1;
|
|
10
|
+
}), ...r];
|
|
10
11
|
};
|
|
11
12
|
export {
|
|
12
|
-
|
|
13
|
+
m as combineParams
|
|
13
14
|
};
|
|
@@ -33,7 +33,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
33
33
|
}));
|
|
34
34
|
}, f = (u) => {
|
|
35
35
|
u?.createNew && g.name === "request" && p();
|
|
36
|
-
}, v = "2.20.
|
|
36
|
+
}, v = "2.20.1";
|
|
37
37
|
return q(() => a.hotKeys.on(f)), R(() => a.hotKeys.off(f)), (u, e) => (l(), n("div", W, [
|
|
38
38
|
s("div", {
|
|
39
39
|
class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.20.
|
|
21
|
+
"version": "2.20.1",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=20"
|
|
24
24
|
},
|
|
@@ -326,26 +326,26 @@
|
|
|
326
326
|
"whatwg-mimetype": "^4.0.0",
|
|
327
327
|
"yaml": "^2.8.0",
|
|
328
328
|
"zod": "^4.3.5",
|
|
329
|
+
"@scalar/components": "0.16.29",
|
|
329
330
|
"@scalar/analytics-client": "1.0.1",
|
|
330
|
-
"@scalar/
|
|
331
|
-
"@scalar/components": "0.16.28",
|
|
331
|
+
"@scalar/import": "0.4.45",
|
|
332
332
|
"@scalar/helpers": "0.2.8",
|
|
333
|
-
"@scalar/json-magic": "0.9.2",
|
|
334
333
|
"@scalar/icons": "0.5.2",
|
|
335
|
-
"@scalar/
|
|
336
|
-
"@scalar/
|
|
337
|
-
"@scalar/oas-utils": "0.6.
|
|
338
|
-
"@scalar/openapi-types": "0.5.3",
|
|
334
|
+
"@scalar/draggable": "0.3.0",
|
|
335
|
+
"@scalar/json-magic": "0.9.2",
|
|
336
|
+
"@scalar/oas-utils": "0.6.26",
|
|
339
337
|
"@scalar/object-utils": "1.2.22",
|
|
338
|
+
"@scalar/openapi-parser": "0.24.3",
|
|
340
339
|
"@scalar/postman-to-openapi": "0.4.0",
|
|
340
|
+
"@scalar/openapi-types": "0.5.3",
|
|
341
|
+
"@scalar/sidebar": "0.7.19",
|
|
341
342
|
"@scalar/snippetz": "0.6.7",
|
|
342
343
|
"@scalar/themes": "0.13.26",
|
|
343
|
-
"@scalar/sidebar": "0.7.18",
|
|
344
344
|
"@scalar/types": "0.5.9",
|
|
345
|
-
"@scalar/use-
|
|
345
|
+
"@scalar/use-hooks": "0.3.6",
|
|
346
346
|
"@scalar/use-toasts": "0.9.1",
|
|
347
|
-
"@scalar/
|
|
348
|
-
"@scalar/
|
|
347
|
+
"@scalar/use-codemirror": "0.13.23",
|
|
348
|
+
"@scalar/workspace-store": "0.26.1"
|
|
349
349
|
},
|
|
350
350
|
"devDependencies": {
|
|
351
351
|
"@tailwindcss/vite": "^4.1.18",
|