@scalar/api-reference 1.25.122 → 1.25.124
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 +72 -0
- package/dist/blocks/constants.d.ts.map +1 -1
- package/dist/blocks/helpers/getPointer.d.ts.map +1 -1
- package/dist/blocks/hooks/useBlockProps.d.ts.map +1 -1
- package/dist/browser/standalone.js +21533 -21032
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Anchor/Anchor.vue.d.ts +0 -1
- package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
- package/dist/components/Anchor/Anchor.vue.js +2 -2
- package/dist/components/Anchor/Anchor.vue2.js +27 -23
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +135 -128
- package/dist/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/components/Card/Card.vue.js +7 -7
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +1 -1
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +2 -2
- package/dist/components/Content/Content.vue2.js +33 -33
- package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Description.vue.js +2 -2
- package/dist/components/Content/Introduction/Description.vue2.js +7 -7
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.js +1 -1
- package/dist/components/Content/Introduction/Introduction.vue2.js +44 -39
- package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
- package/dist/components/Content/Lazy/Loading.vue.js +65 -59
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.js +2 -2
- package/dist/components/Content/Models/Models.vue2.js +66 -52
- package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModelsAccordion.vue.js +1 -1
- package/dist/components/Content/Models/ModelsAccordion.vue2.js +37 -31
- package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.d.ts.map +1 -1
- package/dist/components/Content/Tag/Endpoints.vue.d.ts +1 -0
- package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
- package/dist/components/Content/Tag/Endpoints.vue2.js +79 -52
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Tag.vue.js +2 -2
- package/dist/components/Content/Tag/Tag.vue2.js +29 -26
- package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagAccordion.vue.js +2 -2
- package/dist/components/Content/Tag/TagAccordion.vue2.js +22 -19
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue.js +2 -2
- package/dist/components/GettingStarted.vue2.js +25 -25
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.js +6 -6
- package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainer.vue.js +1 -1
- package/dist/components/Section/SectionHeader.vue.d.ts +1 -6
- package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionHeader.vue.js +1 -1
- package/dist/components/Section/SectionHeader.vue2.js +12 -16
- package/dist/components/Section/SectionHeaderTag.vue.d.ts +21 -0
- package/dist/components/Section/SectionHeaderTag.vue.d.ts.map +1 -0
- package/dist/components/Section/SectionHeaderTag.vue.js +7 -0
- package/dist/components/Section/SectionHeaderTag.vue2.js +18 -0
- package/dist/components/Section/index.d.ts +1 -0
- package/dist/components/Section/index.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue2.js +14 -14
- package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue.js +2 -2
- package/dist/esm.d.ts.map +1 -1
- package/dist/esm.js +1 -3
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/ApiClientModal/useApiClient.d.ts +414 -510
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.js +20 -21
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.js +1 -1
- package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/ExampleResponses/ExampleResponses.vue.js +2 -2
- package/dist/features/ExampleResponses/ExampleResponses.vue2.js +47 -47
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js +5 -5
- package/dist/features/Operation/Webhooks.vue.d.ts.map +1 -1
- package/dist/features/Operation/Webhooks.vue.js +3 -3
- package/dist/features/Operation/Webhooks.vue2.js +74 -60
- package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.js +2 -2
- package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterHeaders.vue.js +3 -3
- package/dist/features/Operation/components/ParameterHeaders.vue2.js +8 -8
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +3 -3
- package/dist/features/Operation/components/ParameterListItem.vue2.js +16 -16
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +2 -2
- package/dist/features/Operation/components/RequestBody.vue2.js +26 -47
- package/dist/features/Operation/hooks/useResponses.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +11 -11
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +80 -69
- package/dist/features/Search/SearchButton.vue.d.ts.map +1 -1
- package/dist/features/Search/SearchButton.vue.js +1 -1
- package/dist/features/Search/SearchButton.vue2.js +30 -18
- package/dist/features/Search/SearchModal.vue.d.ts.map +1 -1
- package/dist/features/Search/SearchModal.vue.js +1 -1
- package/dist/features/Search/SearchModal.vue2.js +104 -95
- package/dist/features/Search/useSearchIndex.d.ts.map +1 -1
- package/dist/features/Search/useSearchIndex.js +11 -17
- package/dist/features/TestRequestButton/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/features/TestRequestButton/TestRequestButton.vue.js +2 -2
- package/dist/features/TestRequestButton/TestRequestButton.vue2.js +6 -6
- package/dist/helpers/createEmptySpecification.d.ts.map +1 -1
- package/dist/helpers/get-request.d.ts.map +1 -1
- package/dist/helpers/getModels.d.ts.map +1 -1
- package/dist/helpers/isMacOs.d.ts.map +1 -1
- package/dist/helpers/operation.d.ts.map +1 -1
- package/dist/helpers/parse.js +62 -62
- package/dist/helpers/specDownloads.d.ts.map +1 -1
- package/dist/helpers/specHelpers.d.ts.map +1 -1
- package/dist/helpers/waitFor.d.ts.map +1 -1
- package/dist/hooks/useConfig.d.ts.map +1 -1
- package/dist/hooks/useDeprecationWarnings.d.ts.map +1 -1
- package/dist/hooks/useDeprecationWarnings.js +1 -5
- package/dist/hooks/useNavState.d.ts +1 -2
- package/dist/hooks/useNavState.d.ts.map +1 -1
- package/dist/hooks/useNavState.js +3 -10
- package/dist/hooks/useReactiveSpec.d.ts +8 -8
- package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
- package/dist/hooks/useReactiveSpec.js +12 -13
- package/dist/hooks/useSidebar.d.ts.map +1 -1
- package/dist/hooks/useSidebar.js +38 -48
- package/dist/index.js +1 -1
- package/dist/legacy/helpers/normalizeRequestMethod.d.ts.map +1 -1
- package/dist/legacy/helpers/normalizeRequestMethod.js +2 -6
- package/dist/legacy/types.d.ts.map +1 -1
- package/dist/standalone/lib/html-api.d.ts +11 -0
- package/dist/standalone/lib/html-api.d.ts.map +1 -0
- package/dist/standalone/lib/html-rendering.d.ts +51 -0
- package/dist/standalone/lib/html-rendering.d.ts.map +1 -0
- package/dist/standalone/lib/html-rendering.js +54 -0
- package/dist/stores/useHttpClientStore.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +0 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +16 -15
package/dist/types.d.ts
CHANGED
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,sBAAsB,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AACrF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAE/B,YAAY,EAAE,sBAAsB,EAAE,CAAA;AAEtC,MAAM,MAAM,cAA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gB,GAAG,IAAI,CAAA;CAC5B,CAAA"}
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"vue",
|
|
21
21
|
"vue3"
|
|
22
22
|
],
|
|
23
|
-
"version": "1.25.
|
|
23
|
+
"version": "1.25.124",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=18"
|
|
26
26
|
},
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
"exports": {
|
|
31
31
|
".": "./dist/index.js",
|
|
32
32
|
"./style.css": "./dist/style.css",
|
|
33
|
-
"./browser/standalone.js": "./dist/browser/standalone.js"
|
|
33
|
+
"./browser/standalone.js": "./dist/browser/standalone.js",
|
|
34
|
+
"./lib/html-rendering": "./dist/standalone/lib/html-rendering.js"
|
|
34
35
|
},
|
|
35
36
|
"files": [
|
|
36
37
|
"dist",
|
|
@@ -54,17 +55,17 @@
|
|
|
54
55
|
"github-slugger": "^2.0.0",
|
|
55
56
|
"nanoid": "^5.0.9",
|
|
56
57
|
"vue": "^3.5.12",
|
|
57
|
-
"@scalar/
|
|
58
|
-
"@scalar/
|
|
59
|
-
"@scalar/
|
|
60
|
-
"@scalar/oas-utils": "0.2.
|
|
61
|
-
"@scalar/openapi-
|
|
62
|
-
"@scalar/openapi-
|
|
63
|
-
"@scalar/snippetz": "0.2.
|
|
64
|
-
"@scalar/types": "0.0.
|
|
65
|
-
"@scalar/use-hooks": "0.1.
|
|
66
|
-
"@scalar/
|
|
67
|
-
"@scalar/
|
|
58
|
+
"@scalar/api-client": "2.2.53",
|
|
59
|
+
"@scalar/components": "0.13.27",
|
|
60
|
+
"@scalar/code-highlight": "0.0.23",
|
|
61
|
+
"@scalar/oas-utils": "0.2.109",
|
|
62
|
+
"@scalar/openapi-parser": "0.10.9",
|
|
63
|
+
"@scalar/openapi-types": "0.1.9",
|
|
64
|
+
"@scalar/snippetz": "0.2.15",
|
|
65
|
+
"@scalar/types": "0.0.36",
|
|
66
|
+
"@scalar/use-hooks": "0.1.24",
|
|
67
|
+
"@scalar/use-toasts": "0.7.9",
|
|
68
|
+
"@scalar/themes": "0.9.70"
|
|
68
69
|
},
|
|
69
70
|
"devDependencies": {
|
|
70
71
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
@@ -78,8 +79,8 @@
|
|
|
78
79
|
"vite-plugin-banner": "^0.7.1",
|
|
79
80
|
"vite-plugin-css-injected-by-js": "^3.4.0",
|
|
80
81
|
"vitest": "^1.6.0",
|
|
81
|
-
"@scalar/build-tooling": "0.1.
|
|
82
|
-
"@scalar/galaxy": "0.2.
|
|
82
|
+
"@scalar/build-tooling": "0.1.15",
|
|
83
|
+
"@scalar/galaxy": "0.2.22"
|
|
83
84
|
},
|
|
84
85
|
"scripts": {
|
|
85
86
|
"analyze:default": "pnpm dlx vite-bundle-visualizer",
|