@scalar/api-reference 1.43.3 → 1.43.5
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 +75 -0
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +1 -1
- package/dist/browser/standalone.js +9450 -9448
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +2 -2
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +64 -123
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue2.js +2 -2
- package/dist/components/Content/Schema/helpers/get-compositions-to-render.d.ts +14 -0
- package/dist/components/Content/Schema/helpers/get-compositions-to-render.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/get-compositions-to-render.js +31 -0
- package/dist/components/Content/Schema/helpers/get-enum-values.d.ts +9 -0
- package/dist/components/Content/Schema/helpers/get-enum-values.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/get-enum-values.js +20 -0
- package/dist/components/Content/Schema/helpers/get-property-description.d.ts +9 -0
- package/dist/components/Content/Schema/helpers/get-property-description.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/get-property-description.js +34 -0
- package/dist/components/Content/Schema/helpers/has-complex-array-items.d.ts +10 -0
- package/dist/components/Content/Schema/helpers/has-complex-array-items.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/has-complex-array-items.js +48 -0
- package/dist/components/Content/Schema/helpers/should-display-description.d.ts +10 -0
- package/dist/components/Content/Schema/helpers/should-display-description.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/should-display-description.js +12 -0
- package/dist/components/Content/Schema/helpers/should-display-heading.d.ts +11 -0
- package/dist/components/Content/Schema/helpers/should-display-heading.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/should-display-heading.js +12 -0
- package/dist/components/Content/Schema/helpers/should-render-array-item-composition.d.ts +10 -0
- package/dist/components/Content/Schema/helpers/should-render-array-item-composition.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/should-render-array-item-composition.js +15 -0
- package/dist/components/Content/index.d.ts +1 -0
- package/dist/components/Content/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +18 -16
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js +1 -1
- package/dist/helpers/id-routing.d.ts.map +1 -1
- package/dist/helpers/id-routing.js +7 -1
- package/dist/plugins/hooks/usePluginManager.js +1 -1
- package/dist/style.css +189 -169
- package/package.json +24 -24
- package/dist/features/Operation/helpers/combine-params.d.ts +0 -4
- package/dist/features/Operation/helpers/combine-params.d.ts.map +0 -1
- package/dist/features/Operation/helpers/combine-params.js +0 -14
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"vue",
|
|
21
21
|
"vue3"
|
|
22
22
|
],
|
|
23
|
-
"version": "1.43.
|
|
23
|
+
"version": "1.43.5",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=20"
|
|
26
26
|
},
|
|
@@ -89,47 +89,47 @@
|
|
|
89
89
|
"type-fest": "5.0.0",
|
|
90
90
|
"vue": "^3.5.21",
|
|
91
91
|
"zod": "^4.1.11",
|
|
92
|
-
"@scalar/api-client": "2.
|
|
93
|
-
"@scalar/components": "0.16.18",
|
|
94
|
-
"@scalar/icons": "0.5.2",
|
|
92
|
+
"@scalar/api-client": "2.18.1",
|
|
95
93
|
"@scalar/code-highlight": "0.2.2",
|
|
96
|
-
"@scalar/
|
|
97
|
-
"@scalar/
|
|
98
|
-
"@scalar/
|
|
99
|
-
"@scalar/
|
|
94
|
+
"@scalar/components": "0.16.20",
|
|
95
|
+
"@scalar/helpers": "0.2.7",
|
|
96
|
+
"@scalar/json-magic": "0.9.0",
|
|
97
|
+
"@scalar/openapi-parser": "0.23.13",
|
|
98
|
+
"@scalar/oas-utils": "0.6.17",
|
|
99
|
+
"@scalar/openapi-upgrader": "0.1.7",
|
|
100
100
|
"@scalar/openapi-types": "0.5.3",
|
|
101
|
-
"@scalar/
|
|
102
|
-
"@scalar/
|
|
103
|
-
"@scalar/
|
|
101
|
+
"@scalar/object-utils": "1.2.21",
|
|
102
|
+
"@scalar/sidebar": "0.7.10",
|
|
103
|
+
"@scalar/snippetz": "0.6.4",
|
|
104
104
|
"@scalar/themes": "0.13.26",
|
|
105
|
-
"@scalar/types": "0.5.
|
|
106
|
-
"@scalar/
|
|
105
|
+
"@scalar/types": "0.5.7",
|
|
106
|
+
"@scalar/icons": "0.5.2",
|
|
107
107
|
"@scalar/use-toasts": "0.9.1",
|
|
108
|
-
"@scalar/workspace-store": "0.24.
|
|
109
|
-
"@scalar/use-hooks": "0.3.
|
|
108
|
+
"@scalar/workspace-store": "0.24.7",
|
|
109
|
+
"@scalar/use-hooks": "0.3.6"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@hono/node-server": "1.19.5",
|
|
113
113
|
"@playwright/test": "1.56.0",
|
|
114
|
-
"@tailwindcss/vite": "^4.1.
|
|
115
|
-
"@types/react": "^19.
|
|
116
|
-
"@types/react-dom": "^19.
|
|
114
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
115
|
+
"@types/react": "^19.2.7",
|
|
116
|
+
"@types/react-dom": "^19.2.3",
|
|
117
117
|
"@vitejs/plugin-vue": "6.0.1",
|
|
118
118
|
"@vue/server-renderer": "^3.5.17",
|
|
119
119
|
"@vue/test-utils": "2.4.6",
|
|
120
|
-
"hono": "4.
|
|
120
|
+
"hono": "4.11.4",
|
|
121
121
|
"react": "^19.1.0",
|
|
122
122
|
"react-dom": "^19.1.0",
|
|
123
123
|
"rollup-plugin-webpack-stats": "^0.2.5",
|
|
124
|
-
"tailwindcss": "^4.1.
|
|
125
|
-
"vite": "7.
|
|
124
|
+
"tailwindcss": "^4.1.18",
|
|
125
|
+
"vite": "7.3.0",
|
|
126
126
|
"vite-plugin-banner": "^0.7.1",
|
|
127
127
|
"vite-plugin-css-injected-by-js": "^3.4.0",
|
|
128
128
|
"vitest": "3.2.4",
|
|
129
|
-
"@scalar/
|
|
129
|
+
"@scalar/build-tooling": "0.4.1",
|
|
130
|
+
"@scalar/core": "0.3.31",
|
|
130
131
|
"@scalar/galaxy": "0.5.12",
|
|
131
|
-
"@scalar/react-renderer": "0.3.0"
|
|
132
|
-
"@scalar/build-tooling": "0.4.1"
|
|
132
|
+
"@scalar/react-renderer": "0.3.0"
|
|
133
133
|
},
|
|
134
134
|
"scripts": {
|
|
135
135
|
"build": "pnpm build:default && pnpm build:standalone && pnpm types:build",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { OperationObject, ParameterObject, PathItemObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
2
|
-
/** Combine pathItem and operation parameters into a single, dereferenced parameter array */
|
|
3
|
-
export declare const combineParams: (pathParams?: PathItemObject["parameters"], operationParams?: OperationObject["parameters"]) => ParameterObject[];
|
|
4
|
-
//# sourceMappingURL=combine-params.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"combine-params.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/helpers/combine-params.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,eAAe,EACf,cAAc,EACf,MAAM,8DAA8D,CAAA;AAErE,4FAA4F;AAC5F,eAAO,MAAM,aAAa,GACxB,aAAY,cAAc,CAAC,YAAY,CAAM,EAC7C,kBAAiB,eAAe,CAAC,YAAY,CAAM,KAClD,eAAe,EAgBjB,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { isDefined } from "@scalar/helpers/array/is-defined";
|
|
2
|
-
import { getResolvedRef } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
3
|
-
const combineParams = (pathParams = [], operationParams = []) => {
|
|
4
|
-
const allParams = [...pathParams, ...operationParams].map((param) => getResolvedRef(param)).filter((e) => isDefined(e) && e.name);
|
|
5
|
-
const uniqueParams = /* @__PURE__ */ new Map();
|
|
6
|
-
for (const param of allParams) {
|
|
7
|
-
const key = `${param.in}:${param.name}`;
|
|
8
|
-
uniqueParams.set(key, param);
|
|
9
|
-
}
|
|
10
|
-
return Array.from(uniqueParams.values());
|
|
11
|
-
};
|
|
12
|
-
export {
|
|
13
|
-
combineParams
|
|
14
|
-
};
|