@scalar/api-reference 1.25.64 → 1.25.66

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 (38) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/browser/standalone.js +18927 -18927
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  5. package/dist/components/Anchor/Anchor.vue.js +2 -2
  6. package/dist/components/Anchor/Anchor.vue2.js +4 -4
  7. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  8. package/dist/components/ApiReference.vue.js +59 -61
  9. package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
  10. package/dist/components/Content/Operation/OperationAccordion.vue2.js +18 -18
  11. package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts +7 -7
  12. package/dist/features/ApiClientModal/useApiClient.d.ts +634 -302
  13. package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
  14. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
  15. package/dist/features/BaseUrl/ServerUrlSelect.vue.js +4 -4
  16. package/dist/features/BaseUrl/ServerUrlSelect.vue2.js +4 -5
  17. package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts.map +1 -1
  18. package/dist/features/BaseUrl/ServerVariablesSelect.vue.js +4 -4
  19. package/dist/features/BaseUrl/ServerVariablesSelect.vue2.js +9 -10
  20. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  21. package/dist/features/ExampleRequest/ExampleRequest.vue.js +2 -2
  22. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +32 -31
  23. package/dist/features/ExampleResponses/ExampleResponses.vue.js +3 -3
  24. package/dist/features/ExampleResponses/ExampleResponses.vue2.js +14 -14
  25. package/dist/hooks/index.d.ts +0 -2
  26. package/dist/hooks/index.d.ts.map +1 -1
  27. package/dist/hooks/useReactiveSpec.d.ts +7 -7
  28. package/dist/index.js +33 -37
  29. package/dist/legacy/helpers/prepareClientRequestConfig.d.ts +1 -1
  30. package/dist/legacy/stores/useOpenApiStore.d.ts +5 -5
  31. package/dist/style.css +1 -1
  32. package/package.json +8 -7
  33. package/dist/hooks/useClipboard.d.ts +0 -4
  34. package/dist/hooks/useClipboard.d.ts.map +0 -1
  35. package/dist/hooks/useClipboard.js +0 -14
  36. package/dist/hooks/useDarkModeState.d.ts +0 -7
  37. package/dist/hooks/useDarkModeState.d.ts.map +0 -1
  38. package/dist/hooks/useDarkModeState.js +0 -31
@@ -38,11 +38,11 @@ export declare function useReactiveSpec({ specConfig, proxy, }: {
38
38
  default?: any;
39
39
  format?: string | undefined;
40
40
  description?: string | undefined;
41
- properties?: Record<string, import("@scalar/types/legacy").Schema> | undefined;
41
+ properties?: Record<string, import("@scalar/types").Schema> | undefined;
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/types/legacy").RequestBodyMimeTypes | undefined;
45
+ content?: import("@scalar/types").RequestBodyMimeTypes | undefined;
46
46
  headers?: {
47
47
  [key: string]: import("@scalar/openapi-types").OpenAPI.HeaderObject;
48
48
  } | undefined;
@@ -52,7 +52,7 @@ export declare function useReactiveSpec({ specConfig, proxy, }: {
52
52
  requestBody?: {
53
53
  description?: string | undefined;
54
54
  required?: boolean | undefined;
55
- content?: import("@scalar/types/legacy").RequestBodyMimeTypes | undefined;
55
+ content?: import("@scalar/types").RequestBodyMimeTypes | undefined;
56
56
  } | undefined;
57
57
  summary?: string | undefined;
58
58
  tags?: string[] | undefined;
@@ -90,11 +90,11 @@ export declare function useReactiveSpec({ specConfig, proxy, }: {
90
90
  default?: any;
91
91
  format?: string | undefined;
92
92
  description?: string | undefined;
93
- properties?: Record<string, import("@scalar/types/legacy").Schema> | undefined;
93
+ properties?: Record<string, import("@scalar/types").Schema> | undefined;
94
94
  } | undefined;
95
95
  example?: any;
96
96
  examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
97
- content?: import("@scalar/types/legacy").RequestBodyMimeTypes | undefined;
97
+ content?: import("@scalar/types").RequestBodyMimeTypes | undefined;
98
98
  headers?: {
99
99
  [key: string]: import("@scalar/openapi-types").OpenAPI.HeaderObject;
100
100
  } | undefined;
@@ -205,8 +205,8 @@ export declare function useReactiveSpec({ specConfig, proxy, }: {
205
205
  callbacks?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.CallbackObject> | undefined;
206
206
  pathItems?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.PathItemObject> | undefined;
207
207
  } | undefined;
208
- webhooks?: import("@scalar/types/legacy").Webhooks | undefined;
209
- definitions?: import("@scalar/types/legacy").Definitions | undefined;
208
+ webhooks?: import("@scalar/types").Webhooks | undefined;
209
+ definitions?: import("@scalar/types").Definitions | undefined;
210
210
  swagger?: import("@scalar/openapi-types").OpenAPIV2.Document["swagger"];
211
211
  openapi?: import("@scalar/openapi-types").OpenAPIV3.Document["openapi"] | import("@scalar/openapi-types").OpenAPIV3_1.Document["openapi"];
212
212
  'x-tagGroups'?: {