@scalar/api-reference 1.24.77 → 1.25.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/CHANGELOG.md +17 -0
- package/dist/browser/standalone.js +35 -34
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiClientModal.vue.d.ts +1 -1
- package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.d.ts +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.js +2 -2
- package/dist/components/Content/Content.vue.d.ts +1 -2
- 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 +15 -15
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.js +2 -2
- package/dist/components/Content/Lazy/Loading.vue.d.ts +1 -1
- package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts +1 -1
- package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/ContentTypeSelect.vue.js +2 -2
- package/dist/components/Content/Operation/EndpointDetails.vue.d.ts +1 -1
- package/dist/components/Content/Operation/EndpointDetails.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts +1 -1
- package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/EndpointDetailsCard.vue.js +2 -2
- package/dist/components/Content/Operation/Operation.vue.d.ts +1 -1
- package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/Operation.vue.js +2 -2
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts +1 -1
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
- package/dist/components/Content/Operation/ParameterItem.vue.d.ts +1 -1
- package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/ParameterItem.vue.js +2 -2
- package/dist/components/Content/Operation/Parameters.vue.d.ts +1 -1
- package/dist/components/Content/Operation/Parameters.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/Parameters.vue.js +3 -3
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts +1 -1
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +2 -2
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue2.js +1 -1
- package/dist/components/Content/Operation/RequestBody.vue.d.ts +1 -1
- package/dist/components/Content/Operation/RequestBody.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/RequestBody.vue.js +2 -2
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.js +2 -2
- package/dist/components/Content/Operation/TestRequestButton.vue2.js +6 -6
- package/dist/components/Content/Tag/Endpoints.vue.d.ts +1 -1
- 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/Tag.vue.d.ts +1 -1
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Tag.vue.js +1 -1
- package/dist/components/Content/Tag/TagAccordion.vue.d.ts +1 -1
- 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/Webhooks/Webhook.vue.d.ts +1 -1
- package/dist/components/Content/Webhooks/Webhook.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhooks.vue.d.ts +1 -1
- package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhooks.vue.js +2 -2
- package/dist/components/Content/Webhooks/Webhooks.vue2.js +11 -11
- package/dist/components/Sidebar/Sidebar.vue.d.ts +1 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +3 -3
- package/dist/components/api-client-bus.d.ts +1 -1
- package/dist/components/api-client-bus.d.ts.map +1 -1
- package/dist/esm.d.ts +1 -2
- package/dist/esm.d.ts.map +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts +1 -2
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerForm.vue.d.ts +2 -1
- package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerForm.vue.js +1 -1
- package/dist/features/BaseUrl/ServerForm.vue2.js +5 -5
- package/dist/features/BaseUrl/ServerUrl.vue.d.ts +2 -1
- package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerUrl.vue.js +2 -2
- package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts +1 -1
- package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerUrlSelect.vue.js +3 -3
- package/dist/features/BaseUrl/types.d.ts +0 -1
- package/dist/features/BaseUrl/types.d.ts.map +1 -1
- package/dist/features/BaseUrl/utils/getServers.d.ts +1 -2
- package/dist/features/BaseUrl/utils/getServers.d.ts.map +1 -1
- package/dist/features/BaseUrl/utils/getServers.js +7 -5
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.js +2 -2
- package/dist/features/Search/Search.vue.d.ts +1 -1
- package/dist/features/Search/Search.vue.d.ts.map +1 -1
- package/dist/features/Search/SearchButton.vue.d.ts +1 -1
- 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 +3 -3
- package/dist/features/Search/SearchModal.vue.d.ts +1 -1
- package/dist/features/Search/SearchModal.vue.d.ts.map +1 -1
- package/dist/features/Search/SearchModal.vue.js +2 -2
- package/dist/features/Search/SearchModal.vue2.js +1 -1
- package/dist/features/Search/useSearchIndex.d.ts +1 -1
- package/dist/features/Search/useSearchIndex.d.ts.map +1 -1
- package/dist/helpers/createEmptySpecification.d.ts +1 -1
- package/dist/helpers/createEmptySpecification.d.ts.map +1 -1
- package/dist/helpers/generateParameters.d.ts +1 -1
- package/dist/helpers/generateParameters.d.ts.map +1 -1
- package/dist/helpers/getApiClientRequest.d.ts +1 -1
- package/dist/helpers/getApiClientRequest.d.ts.map +1 -1
- package/dist/helpers/getHarRequest.d.ts +1 -1
- package/dist/helpers/getHarRequest.d.ts.map +1 -1
- package/dist/helpers/getHeadingsFromMarkdown.d.ts +1 -1
- package/dist/helpers/getHeadingsFromMarkdown.d.ts.map +1 -1
- package/dist/helpers/getLowestHeadingLevel.d.ts +1 -1
- package/dist/helpers/getLowestHeadingLevel.d.ts.map +1 -1
- package/dist/helpers/getModels.d.ts +1 -1
- package/dist/helpers/getModels.d.ts.map +1 -1
- package/dist/helpers/hasModels.d.ts +1 -1
- package/dist/helpers/hasModels.d.ts.map +1 -1
- package/dist/helpers/hasSecuritySchemes.d.ts +1 -1
- package/dist/helpers/hasSecuritySchemes.d.ts.map +1 -1
- package/dist/helpers/hasWebhooks.d.ts +1 -1
- package/dist/helpers/hasWebhooks.d.ts.map +1 -1
- package/dist/helpers/openClientFor.d.ts +1 -1
- package/dist/helpers/openClientFor.d.ts.map +1 -1
- package/dist/helpers/parse.d.ts +1 -1
- package/dist/helpers/parse.d.ts.map +1 -1
- package/dist/helpers/specHelpers.d.ts +1 -1
- package/dist/helpers/specHelpers.d.ts.map +1 -1
- package/dist/hooks/useDeprecationWarnings.d.ts +1 -1
- package/dist/hooks/useDeprecationWarnings.d.ts.map +1 -1
- package/dist/hooks/useNavState.d.ts +1 -1
- package/dist/hooks/useNavState.d.ts.map +1 -1
- package/dist/hooks/useOperation.d.ts +1 -1
- package/dist/hooks/useOperation.d.ts.map +1 -1
- package/dist/hooks/useReactiveSpec.d.ts +40 -40
- package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
- package/dist/hooks/useResponses.d.ts +1 -1
- package/dist/hooks/useResponses.d.ts.map +1 -1
- package/dist/hooks/useSidebar.d.ts +1 -1
- package/dist/hooks/useSidebar.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/legacy/helpers/getRequestFromAuthentication.d.ts +1 -1
- package/dist/legacy/helpers/getRequestFromAuthentication.d.ts.map +1 -1
- package/dist/legacy/helpers/prepareClientRequestConfig.d.ts +1 -1
- package/dist/legacy/stores/useAuthenticationStore.d.ts +3 -3
- package/dist/legacy/stores/useAuthenticationStore.d.ts.map +1 -1
- package/dist/legacy/stores/useOpenApiStore.d.ts +9 -9
- package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -1
- package/dist/legacy/types.d.ts +1 -1
- package/dist/legacy/types.d.ts.map +1 -1
- package/dist/stores/useHttpClientStore.d.ts +2 -1
- package/dist/stores/useHttpClientStore.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +3 -115
- package/dist/types.d.ts.map +1 -1
- package/package.json +7 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ClientRequestConfig, type ServerState } from '#legacy';
|
|
2
|
-
import type { AuthenticationState, TransformedOperation } from '@scalar/oas-utils';
|
|
3
2
|
import type { OpenAPIV3 } from '@scalar/openapi-parser';
|
|
3
|
+
import type { AuthenticationState, TransformedOperation } from '@scalar/types/legacy';
|
|
4
4
|
/**
|
|
5
5
|
* Generate parameters for the request
|
|
6
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getApiClientRequest.d.ts","sourceRoot":"","sources":["../../src/helpers/getApiClientRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAGjB,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"getApiClientRequest.d.ts","sourceRoot":"","sources":["../../src/helpers/getApiClientRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAGjB,MAAM,SAAS,CAAA;AAKhB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,sBAAsB,CAAA;AAI7B;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,cAAc,GACf,EAAE;IACD,WAAW,EAAE,WAAW,CAAA;IACxB,SAAS,EAAE,oBAAoB,CAAA;IAC/B,mBAAmB,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAA;IAChD,cAAc,CAAC,EAAE,SAAS,CAAC,yBAAyB,EAAE,GAAG,IAAI,CAAA;CAC9D,GAAG,mBAAmB,CAmCtB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HarRequestWithPath } from '@scalar/
|
|
1
|
+
import type { HarRequestWithPath } from '@scalar/types/legacy';
|
|
2
2
|
import type { HarRequest } from 'httpsnippet-lite';
|
|
3
3
|
export declare const getHarRequest: (...requests: Partial<HarRequestWithPath>[]) => HarRequest;
|
|
4
4
|
//# sourceMappingURL=getHarRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getHarRequest.d.ts","sourceRoot":"","sources":["../../src/helpers/getHarRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,kBAAkB,EAGnB,MAAM,
|
|
1
|
+
{"version":3,"file":"getHarRequest.d.ts","sourceRoot":"","sources":["../../src/helpers/getHarRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,kBAAkB,EAGnB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,eAAO,MAAM,aAAa,gBACX,OAAO,CAAC,kBAAkB,CAAC,EAAE,KACzC,UAsDF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getHeadingsFromMarkdown.d.ts","sourceRoot":"","sources":["../../src/helpers/getHeadingsFromMarkdown.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getHeadingsFromMarkdown.d.ts","sourceRoot":"","sources":["../../src/helpers/getHeadingsFromMarkdown.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAWnD;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,EAAE,CAMhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLowestHeadingLevel.d.ts","sourceRoot":"","sources":["../../src/helpers/getLowestHeadingLevel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getLowestHeadingLevel.d.ts","sourceRoot":"","sources":["../../src/helpers/getLowestHeadingLevel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAEnD,MAAM,MAAM,aAAa,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAEjD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,aAAc,OAAO,EAAE,KAAG,aAQ3D,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Spec } from '@scalar/oas-utils';
|
|
2
1
|
import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-parser';
|
|
2
|
+
import type { Spec } from '@scalar/types/legacy';
|
|
3
3
|
/**
|
|
4
4
|
* Returns all models from the specification, no matter if it’s Swagger 2.0 or OpenAPI 3.x.
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getModels.d.ts","sourceRoot":"","sources":["../../src/helpers/getModels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"getModels.d.ts","sourceRoot":"","sources":["../../src/helpers/getModels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAC/E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAEhD;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,CAAC,EAAE,IAAI,mHA6BpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hasModels.d.ts","sourceRoot":"","sources":["../../src/helpers/hasModels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"hasModels.d.ts","sourceRoot":"","sources":["../../src/helpers/hasModels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAIhD,eAAO,MAAM,SAAS,UAAW,IAAI,YAUpC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hasSecuritySchemes.d.ts","sourceRoot":"","sources":["../../src/helpers/hasSecuritySchemes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"hasSecuritySchemes.d.ts","sourceRoot":"","sources":["../../src/helpers/hasSecuritySchemes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAEhD,eAAO,MAAM,kBAAkB,UAAW,IAAI,YAO7C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hasWebhooks.d.ts","sourceRoot":"","sources":["../../src/helpers/hasWebhooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"hasWebhooks.d.ts","sourceRoot":"","sources":["../../src/helpers/hasWebhooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAEhD,eAAO,MAAM,WAAW,UAAW,IAAI,YAUtC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TransformedOperation } from '@scalar/oas-utils';
|
|
2
1
|
import type { OpenAPIV3 } from '@scalar/openapi-parser';
|
|
2
|
+
import type { TransformedOperation } from '@scalar/types/legacy';
|
|
3
3
|
/**
|
|
4
4
|
* Prepares all the data to open the API client for a specific operation.
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openClientFor.d.ts","sourceRoot":"","sources":["../../src/helpers/openClientFor.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"openClientFor.d.ts","sourceRoot":"","sources":["../../src/helpers/openClientFor.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAWhE;;GAEG;AACH,wBAAgB,aAAa,CAC3B,SAAS,EAAE,oBAAoB,EAC/B,cAAc,CAAC,EAAE,SAAS,CAAC,yBAAyB,EAAE,QAuBvD"}
|
package/dist/helpers/parse.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/helpers/parse.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/helpers/parse.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAIhD,eAAO,MAAM,KAAK,kBACD,GAAG,eAGf;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,KACA,OAAO,CAAC,IAAI,CAmDd,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specHelpers.d.ts","sourceRoot":"","sources":["../../src/helpers/specHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"specHelpers.d.ts","sourceRoot":"","sources":["../../src/helpers/specHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAE7C,KAAK,cAAc,GAAG;IACpB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,UAAU,EAAE;QACV,CAAC,GAAG,EAAE,MAAM,GAAG;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,WAAW,CAAC,EAAE,MAAM,CAAA;SACrB,CAAA;KACF,CAAA;CACF,CAAA;AAED,iBAAS,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,cAAc,GAAG,MAAM,CAchE;AAED,iBAAS,eAAe,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,EAAE,CAuBrD;AAED,iBAAS,kBAAkB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,EAAE,GAAG,OAAO,CAapE;AAED,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDeprecationWarnings.d.ts","sourceRoot":"","sources":["../../src/hooks/useDeprecationWarnings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useDeprecationWarnings.d.ts","sourceRoot":"","sources":["../../src/hooks/useDeprecationWarnings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAOlE;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,sBAAsB,QAoC3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNavState.d.ts","sourceRoot":"","sources":["../../src/hooks/useNavState.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useNavState.d.ts","sourceRoot":"","sources":["../../src/hooks/useNavState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAI9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AA2E3C;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;0BArDK,MAAM,aAAa,MAAM;wBAU3B,MAAM;4BAzBF,OAAO;gCAmCH,oBAAoB,aAAa,GAAG;iCA3BnC,MAAM;;yBA8Bd,GAAG;;;;CA0C7B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOperation.d.ts","sourceRoot":"","sources":["../../src/hooks/useOperation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useOperation.d.ts","sourceRoot":"","sources":["../../src/hooks/useOperation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAG5E,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,UAAU,EAAE,CAAA;IAClB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,MAAM,EAAE,UAAU,EAAE,CAAA;IACpB,IAAI,EAAE,UAAU,EAAE,CAAA;IAClB,QAAQ,EAAE,UAAU,EAAE,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,EAAE,oBAAoB,CAAA;CAChC,CAAA;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,cAAc;;EAiDjD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SpecConfiguration } from '@scalar/
|
|
1
|
+
import type { SpecConfiguration } from '@scalar/types/legacy';
|
|
2
2
|
import { type MaybeRefOrGetter } from 'vue';
|
|
3
3
|
/**
|
|
4
4
|
* Keep the raw spec content in a ref and update it when the configuration changes.
|
|
@@ -13,7 +13,7 @@ export declare function useReactiveSpec({ specConfig, proxy, }: {
|
|
|
13
13
|
name: string;
|
|
14
14
|
description: string;
|
|
15
15
|
operations: {
|
|
16
|
-
httpVerb:
|
|
16
|
+
httpVerb: "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "TRACE" | "CONNECT" | "DELETE" | "OPTIONS";
|
|
17
17
|
path: string;
|
|
18
18
|
operationId?: string;
|
|
19
19
|
name?: string;
|
|
@@ -38,18 +38,18 @@ export declare function useReactiveSpec({ specConfig, proxy, }: {
|
|
|
38
38
|
default?: any;
|
|
39
39
|
format?: string;
|
|
40
40
|
description?: string;
|
|
41
|
-
properties?: Record<string, import("@scalar/
|
|
41
|
+
properties?: Record<string, import("@scalar/types/legacy").Schema>;
|
|
42
42
|
} | undefined;
|
|
43
43
|
example?: any;
|
|
44
44
|
examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
|
|
45
|
-
content?: import("@scalar/
|
|
45
|
+
content?: import("@scalar/types/legacy").RequestBodyMimeTypes;
|
|
46
46
|
}[] | undefined;
|
|
47
|
-
responses?: Record<string, import("@scalar/
|
|
48
|
-
security?: import("@scalar/
|
|
47
|
+
responses?: Record<string, import("@scalar/types/legacy").ScalarResponse>;
|
|
48
|
+
security?: import("@scalar/types/legacy").OpenAPIV3.SecurityRequirementObject[];
|
|
49
49
|
requestBody?: {
|
|
50
50
|
description?: string;
|
|
51
51
|
required?: boolean;
|
|
52
|
-
content?: import("@scalar/
|
|
52
|
+
content?: import("@scalar/types/legacy").RequestBodyMimeTypes;
|
|
53
53
|
} | undefined;
|
|
54
54
|
summary?: string;
|
|
55
55
|
tags?: string[];
|
|
@@ -87,11 +87,11 @@ export declare function useReactiveSpec({ specConfig, proxy, }: {
|
|
|
87
87
|
default?: any;
|
|
88
88
|
format?: string;
|
|
89
89
|
description?: string;
|
|
90
|
-
properties?: Record<string, import("@scalar/
|
|
90
|
+
properties?: Record<string, import("@scalar/types/legacy").Schema>;
|
|
91
91
|
} | undefined;
|
|
92
92
|
example?: any;
|
|
93
93
|
examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
|
|
94
|
-
content?: import("@scalar/
|
|
94
|
+
content?: import("@scalar/types/legacy").RequestBodyMimeTypes;
|
|
95
95
|
}[] | undefined;
|
|
96
96
|
}[];
|
|
97
97
|
'x-displayName'?: string;
|
|
@@ -125,8 +125,8 @@ export declare function useReactiveSpec({ specConfig, proxy, }: {
|
|
|
125
125
|
} | undefined;
|
|
126
126
|
version?: string;
|
|
127
127
|
} | {
|
|
128
|
-
description?: string;
|
|
129
128
|
title?: string;
|
|
129
|
+
description?: string;
|
|
130
130
|
termsOfService?: string;
|
|
131
131
|
contact?: {
|
|
132
132
|
name?: string;
|
|
@@ -141,73 +141,73 @@ export declare function useReactiveSpec({ specConfig, proxy, }: {
|
|
|
141
141
|
identifier?: string;
|
|
142
142
|
} | undefined;
|
|
143
143
|
} | undefined;
|
|
144
|
-
host?: import("@scalar/
|
|
145
|
-
basePath?: import("@scalar/
|
|
146
|
-
schemes?: import("@scalar/
|
|
144
|
+
host?: import("@scalar/types/legacy").OpenAPIV2.Document["host"];
|
|
145
|
+
basePath?: import("@scalar/types/legacy").OpenAPIV2.Document["basePath"];
|
|
146
|
+
schemes?: import("@scalar/types/legacy").OpenAPIV2.Document["schemes"];
|
|
147
147
|
externalDocs?: {
|
|
148
148
|
url: string;
|
|
149
|
-
description?: string
|
|
149
|
+
description?: string;
|
|
150
150
|
} | undefined;
|
|
151
151
|
servers?: {
|
|
152
152
|
url?: string;
|
|
153
153
|
description?: string;
|
|
154
|
-
variables?: Record<string, import("@scalar/
|
|
154
|
+
variables?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ServerVariableObject>;
|
|
155
155
|
}[] | {
|
|
156
156
|
url?: string;
|
|
157
157
|
description?: string;
|
|
158
158
|
variables?: {
|
|
159
|
-
[variable: string]: import("@scalar/
|
|
159
|
+
[variable: string]: import("@scalar/types/legacy").OpenAPIV3.ServerVariableObject;
|
|
160
160
|
};
|
|
161
161
|
}[] | undefined;
|
|
162
162
|
components?: {
|
|
163
163
|
schemas?: {
|
|
164
|
-
[key: string]: import("@scalar/
|
|
164
|
+
[key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.SchemaObject;
|
|
165
165
|
};
|
|
166
166
|
responses?: {
|
|
167
|
-
[key: string]: import("@scalar/
|
|
167
|
+
[key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.ResponseObject;
|
|
168
168
|
};
|
|
169
169
|
parameters?: {
|
|
170
|
-
[key: string]: import("@scalar/
|
|
170
|
+
[key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.ParameterObject;
|
|
171
171
|
};
|
|
172
172
|
examples?: {
|
|
173
|
-
[key: string]: import("@scalar/
|
|
173
|
+
[key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.ExampleObject;
|
|
174
174
|
};
|
|
175
175
|
requestBodies?: {
|
|
176
|
-
[key: string]: import("@scalar/
|
|
176
|
+
[key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.RequestBodyObject;
|
|
177
177
|
};
|
|
178
178
|
headers?: {
|
|
179
|
-
[key: string]: import("@scalar/
|
|
179
|
+
[key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.HeaderObject;
|
|
180
180
|
};
|
|
181
181
|
securitySchemes?: {
|
|
182
|
-
[key: string]: import("@scalar/
|
|
182
|
+
[key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.SecuritySchemeObject;
|
|
183
183
|
};
|
|
184
184
|
links?: {
|
|
185
|
-
[key: string]: import("@scalar/
|
|
185
|
+
[key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.LinkObject;
|
|
186
186
|
};
|
|
187
187
|
callbacks?: {
|
|
188
|
-
[key: string]: import("@scalar/
|
|
188
|
+
[key: string]: import("@scalar/types/legacy").OpenAPIV3.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3.CallbackObject;
|
|
189
189
|
};
|
|
190
190
|
} | {
|
|
191
|
-
schemas?: Record<string, import("@scalar/
|
|
192
|
-
responses?: Record<string, import("@scalar/
|
|
193
|
-
parameters?: Record<string, import("@scalar/
|
|
194
|
-
examples?: Record<string, import("@scalar/
|
|
195
|
-
requestBodies?: Record<string, import("@scalar/
|
|
196
|
-
headers?: Record<string, import("@scalar/
|
|
197
|
-
securitySchemes?: Record<string, import("@scalar/
|
|
198
|
-
links?: Record<string, import("@scalar/
|
|
199
|
-
callbacks?: Record<string, import("@scalar/
|
|
200
|
-
pathItems?: Record<string, import("@scalar/
|
|
191
|
+
schemas?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.SchemaObject>;
|
|
192
|
+
responses?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.ResponseObject>;
|
|
193
|
+
parameters?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.ParameterObject>;
|
|
194
|
+
examples?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.ExampleObject>;
|
|
195
|
+
requestBodies?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.RequestBodyObject>;
|
|
196
|
+
headers?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.HeaderObject>;
|
|
197
|
+
securitySchemes?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.SecuritySchemeObject>;
|
|
198
|
+
links?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.LinkObject>;
|
|
199
|
+
callbacks?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.CallbackObject>;
|
|
200
|
+
pathItems?: Record<string, import("@scalar/types/legacy").OpenAPIV3_1.ReferenceObject | import("@scalar/types/legacy").OpenAPIV3_1.PathItemObject>;
|
|
201
201
|
} | undefined;
|
|
202
|
-
webhooks?: import("@scalar/
|
|
203
|
-
definitions?: import("@scalar/
|
|
204
|
-
swagger?: import("@scalar/
|
|
205
|
-
openapi?: import("@scalar/
|
|
202
|
+
webhooks?: import("@scalar/types/legacy").Webhooks;
|
|
203
|
+
definitions?: import("@scalar/types/legacy").Definitions;
|
|
204
|
+
swagger?: import("@scalar/types/legacy").OpenAPIV2.Document["swagger"];
|
|
205
|
+
openapi?: import("@scalar/types/legacy").OpenAPIV3.Document["openapi"] | import("@scalar/types/legacy").OpenAPIV3_1.Document["openapi"];
|
|
206
206
|
'x-tagGroups'?: {
|
|
207
207
|
name: string;
|
|
208
208
|
tags: string[];
|
|
209
209
|
}[] | undefined;
|
|
210
|
-
security?: import("@scalar/
|
|
210
|
+
security?: import("@scalar/types/legacy").OpenAPIV3.SecurityRequirementObject[];
|
|
211
211
|
};
|
|
212
212
|
specErrors: import("vue").Ref<string | null>;
|
|
213
213
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useReactiveSpec.d.ts","sourceRoot":"","sources":["../../src/hooks/useReactiveSpec.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useReactiveSpec.d.ts","sourceRoot":"","sources":["../../src/hooks/useReactiveSpec.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,EAAE,KAAK,gBAAgB,EAAiC,MAAM,KAAK,CAAA;AAmD1E;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,KAAK,GACN,EAAE;IACD,UAAU,CAAC,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,CAAA;IAChD,KAAK,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;CACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RequestBodyMimeTypes, TransformedOperation } from '@scalar/
|
|
1
|
+
import type { RequestBodyMimeTypes, TransformedOperation } from '@scalar/types/legacy';
|
|
2
2
|
/**
|
|
3
3
|
* This hook is used to generate the responses for the request from the parameters in the swagger file
|
|
4
4
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useResponses.d.ts","sourceRoot":"","sources":["../../src/hooks/useResponses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,
|
|
1
|
+
{"version":3,"file":"useResponses.d.ts","sourceRoot":"","sources":["../../src/hooks/useResponses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,sBAAsB,CAAA;AAG7B;;GAEG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,oBAAoB;;cAOhD,MAAM;qBACC,MAAM;iBACV,oBAAoB;;EAiBlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSidebar.d.ts","sourceRoot":"","sources":["../../src/hooks/useSidebar.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSidebar.d.ts","sourceRoot":"","sources":["../../src/hooks/useSidebar.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAwB,MAAM,sBAAsB,CAAA;AAe3E,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;IACb,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAkBD,uDAAuD;AACvD,iBAAS,aAAa,CAAC,IAAI,EAAE,IAAI,QAWhC;AAMD,KAAK,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAMpD,iBAAS,0BAA0B,CAAC,GAAG,EAAE,MAAM,QAE9C;AAED,iBAAS,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,QAE3D;AA2OD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,IAAI,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC,CAAA;CACpD,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,gBAAiB,MAAM,SAepD,CAAA;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,gBAAgB;;;;;;;;;;;;;qCApBzB,MAAM;EAsEpD"}
|