@scalar/api-reference 1.24.77 → 1.25.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.
Files changed (159) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/browser/standalone.js +5826 -5802
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiClientModal.vue.d.ts +1 -1
  5. package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
  6. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  7. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  8. package/dist/components/ApiReferenceLayout.vue.js +1 -1
  9. package/dist/components/Content/Authentication/Authentication.vue.d.ts +1 -1
  10. package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Authentication/Authentication.vue.js +2 -2
  12. package/dist/components/Content/Content.vue.d.ts +1 -2
  13. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  14. package/dist/components/Content/Content.vue.js +2 -2
  15. package/dist/components/Content/Content.vue2.js +15 -15
  16. package/dist/components/Content/Introduction/Introduction.vue.d.ts +1 -1
  17. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  18. package/dist/components/Content/Introduction/Introduction.vue.js +2 -2
  19. package/dist/components/Content/Lazy/Loading.vue.d.ts +1 -1
  20. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
  21. package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts +1 -1
  22. package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts.map +1 -1
  23. package/dist/components/Content/Operation/ContentTypeSelect.vue.js +2 -2
  24. package/dist/components/Content/Operation/EndpointDetails.vue.d.ts +1 -1
  25. package/dist/components/Content/Operation/EndpointDetails.vue.d.ts.map +1 -1
  26. package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts +1 -1
  27. package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts.map +1 -1
  28. package/dist/components/Content/Operation/EndpointDetailsCard.vue.js +2 -2
  29. package/dist/components/Content/Operation/Operation.vue.d.ts +1 -1
  30. package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
  31. package/dist/components/Content/Operation/Operation.vue.js +2 -2
  32. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts +1 -1
  33. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  34. package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
  35. package/dist/components/Content/Operation/ParameterItem.vue.d.ts +1 -1
  36. package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +1 -1
  37. package/dist/components/Content/Operation/ParameterItem.vue.js +2 -2
  38. package/dist/components/Content/Operation/Parameters.vue.d.ts +1 -1
  39. package/dist/components/Content/Operation/Parameters.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Operation/Parameters.vue.js +3 -3
  41. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts +1 -1
  42. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts.map +1 -1
  43. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +2 -2
  44. package/dist/components/Content/Operation/PathResponses/PathResponses.vue2.js +1 -1
  45. package/dist/components/Content/Operation/RequestBody.vue.d.ts +1 -1
  46. package/dist/components/Content/Operation/RequestBody.vue.d.ts.map +1 -1
  47. package/dist/components/Content/Operation/RequestBody.vue.js +2 -2
  48. package/dist/components/Content/Operation/TestRequestButton.vue.d.ts +1 -1
  49. package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
  50. package/dist/components/Content/Operation/TestRequestButton.vue.js +2 -2
  51. package/dist/components/Content/Operation/TestRequestButton.vue2.js +6 -6
  52. package/dist/components/Content/Tag/Endpoints.vue.d.ts +1 -1
  53. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
  54. package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
  55. package/dist/components/Content/Tag/Tag.vue.d.ts +1 -1
  56. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  57. package/dist/components/Content/Tag/Tag.vue.js +1 -1
  58. package/dist/components/Content/Tag/TagAccordion.vue.d.ts +1 -1
  59. package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +1 -1
  60. package/dist/components/Content/Tag/TagAccordion.vue.js +2 -2
  61. package/dist/components/Content/Webhooks/Webhook.vue.d.ts +1 -1
  62. package/dist/components/Content/Webhooks/Webhook.vue.d.ts.map +1 -1
  63. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts +1 -1
  64. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
  65. package/dist/components/Content/Webhooks/Webhooks.vue.js +2 -2
  66. package/dist/components/Content/Webhooks/Webhooks.vue2.js +11 -11
  67. package/dist/components/Sidebar/Sidebar.vue.d.ts +1 -1
  68. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  69. package/dist/components/Sidebar/Sidebar.vue.js +3 -3
  70. package/dist/components/api-client-bus.d.ts +1 -1
  71. package/dist/components/api-client-bus.d.ts.map +1 -1
  72. package/dist/esm.d.ts +1 -2
  73. package/dist/esm.d.ts.map +1 -1
  74. package/dist/features/BaseUrl/BaseUrl.vue.d.ts +1 -2
  75. package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
  76. package/dist/features/BaseUrl/ServerForm.vue.d.ts +2 -1
  77. package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -1
  78. package/dist/features/BaseUrl/ServerForm.vue.js +1 -1
  79. package/dist/features/BaseUrl/ServerForm.vue2.js +5 -5
  80. package/dist/features/BaseUrl/ServerUrl.vue.d.ts +2 -1
  81. package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -1
  82. package/dist/features/BaseUrl/ServerUrl.vue.js +2 -2
  83. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts +1 -1
  84. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
  85. package/dist/features/BaseUrl/ServerUrlSelect.vue.js +3 -3
  86. package/dist/features/BaseUrl/types.d.ts +0 -1
  87. package/dist/features/BaseUrl/types.d.ts.map +1 -1
  88. package/dist/features/BaseUrl/utils/getServers.d.ts +1 -2
  89. package/dist/features/BaseUrl/utils/getServers.d.ts.map +1 -1
  90. package/dist/features/BaseUrl/utils/getServers.js +7 -5
  91. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +1 -1
  92. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  93. package/dist/features/ExampleRequest/ExampleRequest.vue.js +2 -2
  94. package/dist/features/Search/Search.vue.d.ts +1 -1
  95. package/dist/features/Search/Search.vue.d.ts.map +1 -1
  96. package/dist/features/Search/SearchButton.vue.d.ts +1 -1
  97. package/dist/features/Search/SearchButton.vue.d.ts.map +1 -1
  98. package/dist/features/Search/SearchButton.vue.js +1 -1
  99. package/dist/features/Search/SearchButton.vue2.js +3 -3
  100. package/dist/features/Search/SearchModal.vue.d.ts +1 -1
  101. package/dist/features/Search/SearchModal.vue.d.ts.map +1 -1
  102. package/dist/features/Search/SearchModal.vue.js +2 -2
  103. package/dist/features/Search/SearchModal.vue2.js +1 -1
  104. package/dist/features/Search/useSearchIndex.d.ts +1 -1
  105. package/dist/features/Search/useSearchIndex.d.ts.map +1 -1
  106. package/dist/helpers/createEmptySpecification.d.ts +1 -1
  107. package/dist/helpers/createEmptySpecification.d.ts.map +1 -1
  108. package/dist/helpers/generateParameters.d.ts +1 -1
  109. package/dist/helpers/generateParameters.d.ts.map +1 -1
  110. package/dist/helpers/getApiClientRequest.d.ts +1 -1
  111. package/dist/helpers/getApiClientRequest.d.ts.map +1 -1
  112. package/dist/helpers/getHarRequest.d.ts +1 -1
  113. package/dist/helpers/getHarRequest.d.ts.map +1 -1
  114. package/dist/helpers/getHeadingsFromMarkdown.d.ts +1 -1
  115. package/dist/helpers/getHeadingsFromMarkdown.d.ts.map +1 -1
  116. package/dist/helpers/getLowestHeadingLevel.d.ts +1 -1
  117. package/dist/helpers/getLowestHeadingLevel.d.ts.map +1 -1
  118. package/dist/helpers/getModels.d.ts +1 -1
  119. package/dist/helpers/getModels.d.ts.map +1 -1
  120. package/dist/helpers/hasModels.d.ts +1 -1
  121. package/dist/helpers/hasModels.d.ts.map +1 -1
  122. package/dist/helpers/hasSecuritySchemes.d.ts +1 -1
  123. package/dist/helpers/hasSecuritySchemes.d.ts.map +1 -1
  124. package/dist/helpers/hasWebhooks.d.ts +1 -1
  125. package/dist/helpers/hasWebhooks.d.ts.map +1 -1
  126. package/dist/helpers/openClientFor.d.ts +1 -1
  127. package/dist/helpers/openClientFor.d.ts.map +1 -1
  128. package/dist/helpers/parse.d.ts +1 -1
  129. package/dist/helpers/parse.d.ts.map +1 -1
  130. package/dist/helpers/specHelpers.d.ts +1 -1
  131. package/dist/helpers/specHelpers.d.ts.map +1 -1
  132. package/dist/hooks/useDeprecationWarnings.d.ts +1 -1
  133. package/dist/hooks/useDeprecationWarnings.d.ts.map +1 -1
  134. package/dist/hooks/useNavState.d.ts +1 -1
  135. package/dist/hooks/useNavState.d.ts.map +1 -1
  136. package/dist/hooks/useOperation.d.ts +1 -1
  137. package/dist/hooks/useOperation.d.ts.map +1 -1
  138. package/dist/hooks/useReactiveSpec.d.ts +40 -40
  139. package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
  140. package/dist/hooks/useResponses.d.ts +1 -1
  141. package/dist/hooks/useResponses.d.ts.map +1 -1
  142. package/dist/hooks/useSidebar.d.ts +1 -1
  143. package/dist/hooks/useSidebar.d.ts.map +1 -1
  144. package/dist/index.js +1 -1
  145. package/dist/legacy/helpers/getRequestFromAuthentication.d.ts +1 -1
  146. package/dist/legacy/helpers/getRequestFromAuthentication.d.ts.map +1 -1
  147. package/dist/legacy/helpers/prepareClientRequestConfig.d.ts +1 -1
  148. package/dist/legacy/stores/useAuthenticationStore.d.ts +3 -3
  149. package/dist/legacy/stores/useAuthenticationStore.d.ts.map +1 -1
  150. package/dist/legacy/stores/useOpenApiStore.d.ts +9 -9
  151. package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -1
  152. package/dist/legacy/types.d.ts +1 -1
  153. package/dist/legacy/types.d.ts.map +1 -1
  154. package/dist/stores/useHttpClientStore.d.ts +2 -1
  155. package/dist/stores/useHttpClientStore.d.ts.map +1 -1
  156. package/dist/style.css +1 -1
  157. package/dist/types.d.ts +3 -115
  158. package/dist/types.d.ts.map +1 -1
  159. package/package.json +6 -5
@@ -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;AAChB,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,mBAAmB,CAAA;AAK1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAIvD;;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
+ {"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/oas-utils';
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,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,eAAO,MAAM,aAAa,gBACX,OAAO,CAAC,kBAAkB,CAAC,EAAE,KACzC,UAsDF,CAAA"}
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,4 +1,4 @@
1
- import type { Heading } from '@scalar/oas-utils';
1
+ import type { Heading } from '@scalar/types/legacy';
2
2
  /**
3
3
  * Extracts all headings from a Markdown string.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getHeadingsFromMarkdown.d.ts","sourceRoot":"","sources":["../../src/helpers/getHeadingsFromMarkdown.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAWhD;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,EAAE,CAMhE"}
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,4 +1,4 @@
1
- import type { Heading } from '@scalar/oas-utils';
1
+ import type { Heading } from '@scalar/types/legacy';
2
2
  export type HeadingLevels = 1 | 2 | 3 | 4 | 5 | 6;
3
3
  /**
4
4
  * Returns the lowest heading level from a list of headings.
@@ -1 +1 @@
1
- {"version":3,"file":"getLowestHeadingLevel.d.ts","sourceRoot":"","sources":["../../src/helpers/getLowestHeadingLevel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAEhD,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
+ {"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,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAE/E;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,CAAC,EAAE,IAAI,mHA6BpC"}
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,3 +1,3 @@
1
- import type { Spec } from '@scalar/oas-utils';
1
+ import type { Spec } from '@scalar/types/legacy';
2
2
  export declare const hasModels: (spec?: Spec) => boolean;
3
3
  //# sourceMappingURL=hasModels.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hasModels.d.ts","sourceRoot":"","sources":["../../src/helpers/hasModels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAI7C,eAAO,MAAM,SAAS,UAAW,IAAI,YAUpC,CAAA"}
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,3 +1,3 @@
1
- import type { Spec } from '@scalar/oas-utils';
1
+ import type { Spec } from '@scalar/types/legacy';
2
2
  export declare const hasSecuritySchemes: (spec?: Spec) => boolean;
3
3
  //# sourceMappingURL=hasSecuritySchemes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hasSecuritySchemes.d.ts","sourceRoot":"","sources":["../../src/helpers/hasSecuritySchemes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAE7C,eAAO,MAAM,kBAAkB,UAAW,IAAI,YAO7C,CAAA"}
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,3 +1,3 @@
1
- import type { Spec } from '@scalar/oas-utils';
1
+ import type { Spec } from '@scalar/types/legacy';
2
2
  export declare const hasWebhooks: (spec?: Spec) => boolean;
3
3
  //# sourceMappingURL=hasWebhooks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hasWebhooks.d.ts","sourceRoot":"","sources":["../../src/helpers/hasWebhooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAE7C,eAAO,MAAM,WAAW,UAAW,IAAI,YAUtC,CAAA"}
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,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAWvD;;GAEG;AACH,wBAAgB,aAAa,CAC3B,SAAS,EAAE,oBAAoB,EAC/B,cAAc,CAAC,EAAE,SAAS,CAAC,yBAAyB,EAAE,QAuBvD"}
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"}
@@ -1,4 +1,4 @@
1
- import type { Spec } from '@scalar/oas-utils';
1
+ import type { Spec } from '@scalar/types/legacy';
2
2
  export declare const parse: (specification: any, { proxy, }?: {
3
3
  proxy?: string;
4
4
  }) => Promise<Spec>;
@@ -1 +1 @@
1
- {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/helpers/parse.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAe7C,eAAO,MAAM,KAAK,kBACD,GAAG,eAGf;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,KACA,OAAO,CAAC,IAAI,CAmDd,CAAA"}
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,4 +1,4 @@
1
- import type { Operation } from '@scalar/oas-utils';
1
+ import type { Operation } from '@scalar/types/legacy';
2
2
  import type { ContentSchema } from '../types';
3
3
  type PropertyObject = {
4
4
  required?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"specHelpers.d.ts","sourceRoot":"","sources":["../../src/helpers/specHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAElD,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
+ {"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,4 +1,4 @@
1
- import type { ReferenceConfiguration } from '../types';
1
+ import type { ReferenceConfiguration } from '@scalar/types/legacy';
2
2
  /**
3
3
  * Warns the user about deprecated configurations in the browser console.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"useDeprecationWarnings.d.ts","sourceRoot":"","sources":["../../src/hooks/useDeprecationWarnings.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAMtD;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,sBAAsB,QAoC3E"}
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,4 +1,4 @@
1
- import type { Heading, Tag, TransformedOperation } from '@scalar/oas-utils';
1
+ import type { Heading, Tag, TransformedOperation } from '@scalar/types/legacy';
2
2
  import type { PathRouting } from '../types';
3
3
  /**
4
4
  * Hook which provides reactive hash state from the URL
@@ -1 +1 @@
1
- {"version":3,"file":"useNavState.d.ts","sourceRoot":"","sources":["../../src/hooks/useNavState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAK3E,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
+ {"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,4 +1,4 @@
1
- import type { Parameters, TransformedOperation } from '@scalar/oas-utils';
1
+ import type { Parameters, TransformedOperation } from '@scalar/types/legacy';
2
2
  export type ParamMap = {
3
3
  path: Parameters[];
4
4
  query: Parameters[];
@@ -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,mBAAmB,CAAA;AAGzE,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
+ {"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/oas-utils';
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: import("@scalar/oas-utils/helpers").RequestMethod;
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/oas-utils").Schema>;
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/oas-utils").RequestBodyMimeTypes;
45
+ content?: import("@scalar/types/legacy").RequestBodyMimeTypes;
46
46
  }[] | undefined;
47
- responses?: Record<string, import("@scalar/oas-utils").ScalarResponse>;
48
- security?: import("@scalar/openapi-parser").OpenAPIV3.SecurityRequirementObject[];
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/oas-utils").RequestBodyMimeTypes;
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/oas-utils").Schema>;
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/oas-utils").RequestBodyMimeTypes;
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/openapi-parser").OpenAPIV2.Document["host"];
145
- basePath?: import("@scalar/openapi-parser").OpenAPIV2.Document["basePath"];
146
- schemes?: import("@scalar/openapi-parser").OpenAPIV2.Document["schemes"];
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 | undefined;
149
+ description?: string;
150
150
  } | undefined;
151
151
  servers?: {
152
152
  url?: string;
153
153
  description?: string;
154
- variables?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ServerVariableObject>;
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/openapi-parser").OpenAPIV3.ServerVariableObject;
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/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.SchemaObject;
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/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.ResponseObject;
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/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.ParameterObject;
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/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.ExampleObject;
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/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.RequestBodyObject;
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/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.HeaderObject;
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/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.SecuritySchemeObject;
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/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.LinkObject;
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/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.CallbackObject;
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/openapi-parser").OpenAPIV3_1.SchemaObject>;
192
- responses?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.ResponseObject>;
193
- parameters?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.ParameterObject>;
194
- examples?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.ExampleObject>;
195
- requestBodies?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.RequestBodyObject>;
196
- headers?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.HeaderObject>;
197
- securitySchemes?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.SecuritySchemeObject>;
198
- links?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.LinkObject>;
199
- callbacks?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.CallbackObject>;
200
- pathItems?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.PathItemObject>;
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/oas-utils").Webhooks;
203
- definitions?: import("@scalar/oas-utils").Definitions;
204
- swagger?: import("@scalar/openapi-parser").OpenAPIV2.Document["swagger"];
205
- openapi?: import("@scalar/openapi-parser").OpenAPIV3.Document["openapi"] | import("@scalar/openapi-parser").OpenAPIV3_1.Document["openapi"];
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/openapi-parser").OpenAPIV3.SecurityRequirementObject[];
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":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAM1D,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
+ {"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/oas-utils';
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,mBAAmB,CAAA;AAG1B;;GAEG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,oBAAoB;;cAOhD,MAAM;qBACC,MAAM;iBACV,oBAAoB;;EAiBlC"}
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,4 +1,4 @@
1
- import type { Spec, Tag } from '@scalar/oas-utils';
1
+ import type { Spec, Tag } from '@scalar/types/legacy';
2
2
  export type SidebarEntry = {
3
3
  id: string;
4
4
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"useSidebar.d.ts","sourceRoot":"","sources":["../../src/hooks/useSidebar.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAwB,MAAM,mBAAmB,CAAA;AAiBxE,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"}
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"}